WO2023241562A1 - Vehicle control method and apparatus, vehicle, and storage medium - Google Patents

Vehicle control method and apparatus, vehicle, and storage medium Download PDF

Info

Publication number
WO2023241562A1
WO2023241562A1 PCT/CN2023/099885 CN2023099885W WO2023241562A1 WO 2023241562 A1 WO2023241562 A1 WO 2023241562A1 CN 2023099885 W CN2023099885 W CN 2023099885W WO 2023241562 A1 WO2023241562 A1 WO 2023241562A1
Authority
WO
WIPO (PCT)
Prior art keywords
path
vehicle
driving
historical
return
Prior art date
Application number
PCT/CN2023/099885
Other languages
French (fr)
Chinese (zh)
Inventor
杜建宇
李超
王恒凯
曹天书
王皓南
黄显晴
李佳骏
吴岗岗
宋新丽
刘清宇
Original Assignee
中国第一汽车股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中国第一汽车股份有限公司 filed Critical 中国第一汽车股份有限公司
Publication of WO2023241562A1 publication Critical patent/WO2023241562A1/en

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course or altitude of land, water, air, or space vehicles, e.g. automatic pilot
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0231Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means
    • G05D1/0246Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means using a video camera in combination with image processing means
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course or altitude of land, water, air, or space vehicles, e.g. automatic pilot
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0212Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory
    • G05D1/0214Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory in accordance with safety or protection criteria, e.g. avoiding hazardous areas

Definitions

  • Embodiments of the present application relate to the field of computer technology, such as vehicle control methods, devices, vehicles, and storage media.
  • the L2 level remote parking technology equipped on some vehicles can realize the automatic parking function, but it requires the owner to control the vehicle-related function keys in the cab to realize automatic parking, or to control the mobile terminal near the vehicle to complete the movement of the vehicle.
  • the automatic parking technology in related technologies requires the car owner to be near the vehicle, and after controlling the movement of the vehicle by controlling the vehicle or a mobile terminal, there may be situations where the vehicle needs to be returned to its original position. At this time, the user needs to continue to control the vehicle again. , not easy to operate.
  • Embodiments of the present application provide a vehicle control method, device, vehicle and storage medium, which can perform one-click return for a vehicle that has been moved, so as to improve existing vehicle control solutions.
  • Embodiments of the present application provide a vehicle control method, which includes: sending the historical driving path of the vehicle to a mobile terminal; receiving a target return path sent by the mobile terminal, where the target return path is determined by the mobile terminal according to the historical The return starting point and return end point set on the driving path are created by the vehicle; the vehicle's return journey is controlled according to the target return path.
  • the historical driving path is generated by: obtaining the initial position of the vehicle, where the initial position is the position of the vehicle before traveling at the historical moment; receiving the information sent by the mobile terminal at the historical moment.
  • the end position generate an initial driving path of the vehicle based on the initial position and the end position; and obtain the historical driving path after controlling the vehicle to move based on the initial driving path.
  • obtaining the historical driving path after controlling the vehicle to move based on the initial driving path includes: obtaining a real-time driving path generated by the real-time movement of the vehicle according to the initial driving path; When the curvature radius of the driving path is greater than the preset value, the real-time driving path is marked to obtain path marking points; the historical driving path is obtained according to the positional relationship between the current path marking points and the historical path marking points.
  • the historical path marker points include: a first path marker point and a second path marker point, where the first path marker point is a path marker point recorded in the previous time period of the current path marker point, The second path marker point is a path marker point recorded in a previous time period of the first path marker point; wherein the current path marker point and the first path marker point form a first road segment, and the The first path marker point and the second path marker point form a second road segment; obtaining the historical driving path based on the positional relationship between the current path marker point and the historical path marker point includes: judging the current path marker point and the Whether the distance between the second path marker points is greater than the first road segment; in response to the determination result that the distance between the current path marker point and the second path marker point is not greater than the first road segment, discard all The first road segment is retained, the second road segment is retained, and the historical driving path is obtained; in response to the determination result that the distance between the current path marking point and the second path marking point is greater than the first road segment, retaining The first
  • the historical driving path also includes driving obstacle information
  • the driving obstacle information is obtained by: determining the driving obstacles in the process of controlling the vehicle to move based on the initial driving path; When it is predicted that the distance value between the driving obstacle and the vehicle is less than a preset value at the next moment, the position information of the driving obstacle relative to the vehicle is determined as the driving obstacle information.
  • the prediction that the distance value between the driving obstacle and the vehicle at the next moment is less than a preset value includes: obtaining the speed, driving direction of the vehicle at the current moment, and the steering angle of the steering wheel at the next moment. ; Obtain the distance value between the driving obstacle and the vehicle at the next moment based on the vehicle speed, the driving direction and the steering wheel angle.
  • controlling the vehicle's return journey according to the target return path includes: obtaining the driving obstacle information contained on the target return path; and controlling the driving obstacle information contained on the target return path. Obstacle avoidance processing is performed on the driving obstacles on the target return path to realize the return journey of the vehicle.
  • An embodiment of the present application provides a vehicle control device.
  • the device includes: a sending module configured to send the historical driving path of the vehicle to a mobile terminal; a receiving module configured to receive the target return path sent by the mobile terminal.
  • the target return path is created by the mobile terminal for the vehicle based on the return starting point and return end point set on the historical driving path; the return module is configured to control the vehicle's return trip according to the target return path.
  • An embodiment of the present application also provides a vehicle, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores information that can be executed by the at least one processor.
  • a computer program the computer program is executed by the at least one processor, so that the at least one processor can execute the vehicle control method described in any embodiment of the present application.
  • embodiments of the present application also provide a computer-readable storage medium that stores computer instructions, and the computer instructions are used to implement any of the embodiments of the present application when executed by a processor.
  • the vehicle control method described above is a fourth aspect.
  • Figure 1 is a schematic flow chart of a vehicle control method provided by an embodiment of the present application.
  • Figure 2 is a system architecture diagram of the parking method provided by the embodiment of the present application.
  • FIG. 3 is another schematic flowchart of a vehicle control method provided by an embodiment of the present application.
  • FIG. 4 is another schematic flow chart of the vehicle control method provided by the embodiment of the present application.
  • Figure 5 is a schematic diagram of a vehicle driving path provided by the embodiment of the present application.
  • Figure 6 is a schematic structural diagram of a vehicle control device provided by an embodiment of the present application.
  • Figure 7 is a schematic structural diagram of a vehicle provided by an embodiment of the present application.
  • FIG 1 is a schematic flow chart of a vehicle control method provided by an embodiment of the present application. This embodiment can be applied to the situation where the vehicle needs to be returned through remote control after the mobile terminal remotely controls the vehicle.
  • This method can be performed by the vehicle control device to perform, the vehicle control device may employ hardware and/or Implemented in the form of software, the vehicle control device can be configured in the parking controller of the vehicle. Referring to Figure 1, the method may include the following steps.
  • the historical driving path can be understood as the path that the vehicle traveled during the historical time period.
  • the parking method provided by the embodiment of the present application is mainly used to control the vehicle to perform a one-click return trip.
  • the current historical driving path is the path that the current vehicle traveled at the last moment, that is, the vehicle stops after completing the driving according to the historical driving path at the previous moment. at the current location.
  • the above historical driving route can be generated through the following steps.
  • the mobile terminal Before obtaining the initial position of the vehicle, it is first necessary to obtain the communication request sent by the mobile terminal, and establish a communication connection with the mobile terminal according to the communication request.
  • the connection can be made through communication between the third-party application (Application, App) downloaded on the mobile terminal and the telematics box (T-box) integrated on the vehicle. .
  • FIG 2 is a system architecture diagram of the parking method provided by the embodiment of the present application.
  • the mobile terminal After the mobile terminal establishes a communication connection with the vehicle, the mobile terminal can send the control command to the T-box. After receiving the control command sent by the mobile terminal, the T-box sends the control command to the parking controller.
  • the parking controller Execute the current control command. After the parking controller executes the current control command and obtains the execution result (such as the movement of the vehicle), the execution result can be sent to the mobile terminal by the T-box for remote viewing by the user.
  • the vehicle's initial location acquisition method may be to mark the current location information of the vehicle at a historical moment to obtain the vehicle's initial location.
  • a preset number of visual devices are integrated on the vehicle.
  • the environmental information of the vehicle at historical moments can be obtained through multiple visual devices.
  • the environmental information obtained by the vehicle can be Synchronized to the user's mobile terminal, so that the user can remotely understand the real environment of the vehicle.
  • the user can mark the end position on the visual screen of the mobile terminal based on the environmental information and the initial position displayed by the mobile terminal.
  • the current end position can be understood as the target position where the user wants the vehicle to move at the historical moment (that is, the position where the vehicle stops at the current moment).
  • path planning can be performed based on the initial position and end position to obtain the vehicle's initial driving path.
  • the current initial driving path can be understood as the ideal driving route planned for the vehicle by the vehicle's controller based on the initial position, end position and current environmental information; the historical driving path is the actual driving path that occurred after the completion of driving based on the initial driving path. path of.
  • Controlling the vehicle to move based on the planned initial driving path can obtain the historical driving route, and send the historical driving route to the mobile terminal.
  • the control mode may be parking in, parking out, searching for a parking space, and one-click return.
  • the vehicle's historical driving path is sent to the mobile terminal; or after the communication connection between the vehicle and the mobile terminal is established, the vehicle's historical driving path can be directly sent to the mobile terminal. , save the historical driving route of the vehicle on the mobile terminal so that the user can view the historical driving route.
  • the conditions for sending historical driving routes to the mobile terminal are not limited here.
  • the target return path is created by the mobile terminal for the vehicle based on the return starting point and return end point set on the historical driving path.
  • the vehicle's return starting point and return destination can be set based on the historical driving route.
  • the starting point of the vehicle's return journey is the actual position of the vehicle at the current moment (it can also be understood as the end position where the vehicle stopped at the historical moment).
  • the purpose of the return journey is to enable the vehicle to return based on the historical driving path.
  • the vehicle can Automatic control is performed without the need for remote real-time control by users, making it easy for users to operate.
  • the return destination can be any location on the historical driving route. That is, the user makes a selection based on the actual control requirements for the vehicle.
  • the mobile terminal can generate a target return path based on the historical driving path.
  • the target return path can be understood as the entire path or part of the historical driving path, which is opposite to the driving direction of the historical driving path.
  • the target return route is the entire route or part of the historical driving route is related to the return destination set by the user in the mobile terminal.
  • the target return path is the entire historical driving path; when the return end point is any position in the historical driving path, the target return path is part of the historical driving path.
  • the establishment of the target return route is not restricted here.
  • the vehicle can perform a return operation based on the path information recorded on the target return path, allowing the vehicle to return to the user's desired location with one click.
  • the one-key return control mode when performing the one-key return control mode, it can be applied to the scenario where the user performs remote control based on the mobile terminal, and is also applicable to the scenario where the user is sitting in the car and making the return journey.
  • the scenario for the one-key return mode is here No restrictions.
  • An application example takes the scenario where the user moves the vehicle through remote control based on the mobile terminal. After the user parks the vehicle and leaves and enters the mall, the vehicle may not be parked in a standardized manner, which affects the travel of other vehicles.
  • the user can The vehicle is connected through communication in the mall, and based on the received environmental information of the vehicle, the current parking method of the vehicle is selected as "park out" through the mobile terminal, thereby controlling the vehicle to move from the current location.
  • the vehicle movement is completed, if the vehicle affecting travel has been removed, you can select the one-click return mode to control the vehicle to automatically return to the original position. When the vehicle returns to its initial position, there may still be a problem that the vehicle parking does not meet the specifications.
  • the user can select the "parking" control mode based on the mobile terminal and the received vehicle's environmental information to control the movement of the vehicle to move the vehicle. Park in a regular parking space.
  • Another application scenario takes the user's remote search for a parking space based on a mobile terminal as an example.
  • the suitable parking space may not be found as the vehicle moves.
  • the user may want to drive in the opposite direction. Path to continue searching for parking spaces.
  • you can select the one-click return mode to control the vehicle to drive to the initial position, thereby continuing the task of searching for parking spaces in another direction.
  • the vehicle control method provided by the embodiment of the present application first sends the historical driving path of the vehicle to the mobile terminal; and then receives the target return path sent by the mobile terminal.
  • the target return path is the return starting point and return journey set by the mobile terminal on the historical driving path.
  • the end point is created for the vehicle; finally, the vehicle's return is controlled based on the target return path.
  • FIG. 3 is another schematic flowchart of a vehicle control method provided by an embodiment of the present application.
  • the relationship between this embodiment and the above-mentioned embodiments explains the corresponding features of the above-mentioned embodiments.
  • the method may include the following steps.
  • the initial position is the position of the vehicle before traveling at the historical time.
  • S220 Receive the end position sent by the mobile terminal at the historical moment, and generate the initial driving path of the vehicle based on the initial position and the end position.
  • FIG. 4 is another schematic flowchart of a vehicle control method provided by an embodiment of the present application.
  • the process of obtaining the historical driving path after controlling the vehicle to move based on the initial driving path can be implemented by the following steps.
  • the real-time driving path means that during the actual driving process according to the initial driving path, the actual driving path of the vehicle is not completely consistent with the ideal path in the initial driving path.
  • the user remotely controls the movement of the vehicle on the mobile terminal it may There is a sudden operation, for example, it can be a gear shift operation, a sharp steering operation, or a sudden braking operation, etc.
  • the real-time driving path obtained when the vehicle moves according to the initial driving path will have a certain difference compared with the initial driving path. deviation.
  • steps S320 and subsequent operations can be performed to perform corresponding processing operations on the real-time driving path, so that subsequent steps can control the vehicle to perform a one-click return trip based on the processed driving path.
  • the real-time driving path When the user remotely controls the movement of the vehicle on the mobile terminal, if sudden operations such as shifting gears, turning the steering wheel, or braking suddenly occur, the real-time driving path will save the path based on the sudden operation.
  • the generated path is subsequently used for one-click return based on the historical driving path, when the vehicle returns to a location where sudden operations occur, the system can no longer execute the user's sudden operations. Therefore, the real-time driving path needs to be spliced and smoothed to ensure smooth operation. This allows the vehicle to return in a relatively ideal way when making a one-click return trip.
  • the method of marking the real-time driving path may be to determine whether the curvature radius of the real-time driving path is greater than a preset value. If the curvature radius of the real-time driving path is greater than the preset value, it indicates that the current real-time path has Inflection point, mark the position where the curvature radius of the real-time driving path is greater than the preset value to obtain the path marking point.
  • the path marking points on the real-time driving path obtained may be 0 (that is, the vehicle driving path is a straight line), or there may be multiple paths on the real-time driving path. Marking points are not limited here.
  • the above-mentioned preset value can also be transformed accordingly according to the initial driving path, that is, the complexity of the vehicle's driving path can be obtained according to the initial driving path, and the current preset value is determined according to the initial driving path, so as to measure the real-time The curvature radius of the driving path is compared with the preset value.
  • the setting method of the above preset value is not limited here.
  • FIG. 5 is a schematic diagram of a vehicle driving path provided by an embodiment of the present application.
  • Figure a in Figure 5 can be understood as the path obtained when there is a sudden operation when the vehicle is traveling according to the initial driving path
  • Figure B in Figure 5 can be understood as the path that the vehicle travels in a normal state.
  • the historical path marker points include: the first path marker point N+1 and the second path marker point N.
  • the first path marker point is the path marker point recorded in the previous time period of the current path marker point
  • the second path marker point is the path marker point recorded in the previous time period of the first path marker point.
  • the current path marker point N+2 and the first path marker point N+1 form the first path segment l
  • the first path marker point N+1 and the second path marker point N form the second path segment m.
  • Step S330 Obtain the historical driving route based on the positional relationship between the current route marking point and the historical route marking point, including the following steps.
  • the historical driving route also includes driving obstacle information.
  • Driving obstacle information indicates that during driving based on the initial path information, the ultrasonic radar integrated on the vehicle can detect obstacle information around the vehicle, and display the obstacle information on the vehicle's display screen in combination with the environmental information obtained by the visual device. Or on the visual interface of the user's mobile terminal.
  • the obstacle information may include: the position, direction and distance of the detected obstacle compared to the vehicle.
  • the driving obstacle information is obtained in the following ways: in the process of controlling the vehicle to move based on the initial driving path, the driving obstacle is determined; when the distance value between the driving obstacle and the vehicle is predicted at the next moment When it is less than the preset value, the position information of the driving obstacle relative to the vehicle is determined as the driving obstacle information.
  • the ultrasonic radar detects that the distance between the vehicle and other items is less than the preset distance (for example, 5 meters)
  • the current item can be regarded as an obstacle and the vehicle can be identified through text, sound, or Warning information is generated through screen prompts and other methods, and the warning information is sent to the mobile terminal to remind users of the risk of collision, thereby avoiding collision between vehicles and obstacles.
  • the vehicle control method provided by the embodiment of the present application does not simply rely on the distance between the obstacle and the vehicle for obstacle avoidance processing, but instead combines the vehicle's driving direction, the vehicle's steering wheel angle at the next moment, and the current vehicle speed comprehensively Predict the vehicle's driving path, and then determine whether there is a risk of collision between the vehicle's driving path and the perceived obstacles.
  • the following method is used to predict that the distance between the obstacle and the vehicle at the next moment will be less than the preset value:
  • the vehicle controller determines to drive at the current vehicle speed, driving direction, and steering wheel angle at the next moment, the distance between the vehicle and the perceived obstacle will gradually decrease, and the distance will be less than the preset distance (for example, 3m).
  • the vehicle The controller will perform obstacle avoidance processing in advance; if the distance between the obstacle and the vehicle sensed by the system is less than the preset distance, but the vehicle controller uses the vehicle's current driving direction and speed, the distance between the vehicle and the obstacle will not decrease at the next moment, and the vehicle Steering will occur, and the vehicle controller will not perform obstacle avoidance processing at this time.
  • the historical driving path obtained in the mobile terminal includes the path moving from the initial position to the end position in the historical time period, as well as obstacle information on the driving path.
  • the target return path is created by the mobile terminal for the vehicle based on the return starting point and return end point set on the historical driving path.
  • the obstacle information contained in the historical driving path and the obstacle information on the target return path will not change significantly; After a long one-click return trip, the driving obstacle information contained on the return path will be different from the driving obstacle information contained on the historical driving path.
  • the embodiment of the present application does not use the length of the time interval to determine whether the obstacle information on the return path has changed compared with the obstacle information on the historical driving path. It is based on the actual detection of the vehicle during the return journey. obstacles.
  • one-click return can be performed based on the route used to avoid obstacles on the historical driving path.
  • the vehicle needs to execute "Get the vehicle's speed at the current moment" when an obstacle is detected during the return journey. , driving direction and the steering wheel angle at the next moment; the operation of obtaining the distance value between the driving obstacle and the vehicle at the next moment based on the vehicle speed, driving direction and steering wheel angle.
  • the vehicle is controlled to avoid obstacles. processing to ensure that the vehicle can return safely.
  • the vehicle control method provided by the embodiment of the present application can obtain the vehicle's environmental information through vehicle integrated sensor fusion (surround view camera and ultrasonic radar), and synchronize it to the user's mobile terminal.
  • the user can remotely control the vehicle through the mobile terminal to park, park, and exit the vehicle. Parking operations such as searching for parking spaces, parking, and one-click return can realize remote control of vehicles beyond visual range; automatic obstacle avoidance can be achieved during driving based on the driving path, and the vehicle driving path and obstacle information at the previous moment can always be remembered.
  • the historical driving path will be spliced together to display the historical driving path and obstacle information on the mobile terminal.
  • the user can set the return point at will to achieve a safe and reliable one-click return operation, providing users with great convenience.
  • FIG. 6 is a schematic structural diagram of a vehicle control device provided by an embodiment of the present application.
  • the device is suitable for executing the vehicle control method provided by an embodiment of the present application.
  • the device may include: a sending module 410, a receiving module 420 and a return module 430, wherein: the sending module 410 is configured to send the historical driving path of the vehicle to the mobile terminal; the receiving module 420 is configured to receive all The target return path sent by the mobile terminal, the target return path is created by the mobile terminal for the vehicle according to the return starting point and return end point set on the historical driving path; the return module 430 is configured to according to the The target return path controls the vehicle's return journey.
  • the vehicle control device provided by the embodiment of the present application first sends the historical driving path of the vehicle to the mobile terminal; and then receives the target return path sent by the mobile terminal.
  • the target return path is the return starting point and return journey set by the mobile terminal on the historical driving path.
  • the end point is created for the vehicle; finally, the vehicle's return is controlled based on the target return path.
  • the device includes: an acquisition module, a generation module and a control module, wherein: the acquisition module is configured to acquire the initial position of the vehicle, where the initial position is the position of the vehicle before traveling at a historical moment; The generation module is configured to receive the end position sent by the mobile terminal at the historical moment, and generate the initial driving path of the vehicle based on the initial position and the end position; the control module is configured to control the vehicle based on the After moving the initial driving path, the history is obtained. History driving route.
  • the control module includes: a first acquisition unit, a marking unit and a first acquisition unit, wherein: the first acquisition unit is configured to acquire the real-time driving path generated by the real-time movement of the vehicle according to the initial driving path. ;
  • the marking unit is configured to mark the real-time driving path when the curvature radius of the real-time driving path is greater than a preset value, and obtain path marking points;
  • the first obtaining unit is configured to mark the real-time driving path according to the current path marking point and the historical path.
  • the historical driving route is obtained from the positional relationship of the marked points.
  • the historical path marker points include: a first path marker point and a second path marker point, and the first path marker point is a path marker point recorded in the previous time period of the current path marker point.
  • the second path marker point is a path marker point recorded in the previous time period of the first path marker point; wherein the current path marker point and the first path marker point form a first road segment, so The first path marking point and the second path marking point form a second road segment;
  • the first obtaining unit includes: a judging subunit, a discarding subunit and a retaining subunit, wherein: the judging subunit is configured to judge the current path Whether the distance between the marking point and the second path marking point is greater than the first road segment; if the distance between the current path marking point and the second path marking point is not greater than the first road segment, discard it A subunit configured to discard the first road segment, retain the second road segment, and obtain the historical driving path; if the distance between the current path marking point and the second path marking point is greater than the first Road segment,
  • the historical driving path also includes driving obstacle information
  • the device further includes: a first determination module and a second determination module, wherein: the first determination module is configured to control the vehicle based on the During the movement of the initial driving path, the driving obstacle is determined; the second determination module is used to determine the driving obstacle when the distance between the driving obstacle and the vehicle is predicted to be less than a preset value at the next moment. The position information relative to the vehicle is determined as the driving obstacle information.
  • the second determination module includes: a second acquisition unit and a second acquisition unit, wherein: the second acquisition unit is configured to acquire the speed, driving direction of the vehicle at the current moment and the direction of the steering wheel at the next moment. Turning angle; a second obtaining unit configured to obtain the distance value between the driving obstacle and the vehicle at the next moment based on the vehicle speed, the driving direction and the steering wheel angle.
  • the second obtaining unit includes: an obtaining subunit and a processing subunit, wherein: the obtaining subunit is configured to obtain the driving obstacle information contained on the target return path; and the processing subunit is configured to Obstacle avoidance processing is performed on the driving obstacles on the target return path according to the driving obstacle information contained on the target return path, so as to realize the return journey of the vehicle.
  • An embodiment of the present application also provides a vehicle, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores information that can be executed by the at least one processor.
  • a computer program the computer program is executed by the at least one processor, so that the at least one processor can execute the vehicle control method described in any embodiment of the present application.
  • Embodiments of the present application also provide a computer-readable medium.
  • the computer-readable storage medium stores computer instructions.
  • the computer instructions are used to enable the processor to implement the vehicle control method described in any embodiment of the present application when executed. .
  • FIG. 7 a schematic structural diagram of a vehicle computer system 500 suitable for implementing embodiments of the present application is shown.
  • the vehicle shown in FIG. 7 is only an example and should not impose any restrictions on the functions and scope of use of the embodiments of the present application.
  • the computer system 500 includes a central processing unit (Central Processing Unit, CPU) 501, which can be loaded into a random accessory according to a program stored in a read-only memory (Read-Only Memory, ROM) 502 or from a storage part 508. Access the program in the memory (Random Access Memory, RAM) 503 to perform various appropriate actions and processes. In the RAM 503, various programs and data required for the operation of the system 500 are also stored.
  • CPU 501, ROM 502 and RAM 503 are connected to each other through bus 504.
  • An input/output (I/O) interface 505 is also connected to bus 504.
  • the following components are connected to the I/O interface 505: an input part 506 including a keyboard, a mouse, etc.; an output part 507 including a cathode ray tube (Cathode Ray Tube, CRT), a liquid crystal display (Liquid Crystal Display, LCD), etc., and a speaker, etc. ; a storage part 508 including a hard disk, etc.; and a communication part 509 including a network interface card such as a Local Area Network (LAN) card, a modem, etc.
  • the communication section 509 performs communication processing via a network such as the Internet.
  • Driver 510 is also connected to I/O interface 505 as needed.
  • Removable media 511 such as magnetic disks, optical disks, magneto-optical disks, semiconductor memories, etc., are installed on the drive 510 as needed, so that a computer program read therefrom is installed into the storage portion 508 as needed.
  • the process described above with reference to the flowchart may be implemented as a computer software program.
  • embodiments disclosed in the present application include a computer program product including a computer program carried on a computer-readable medium, the computer program including program code for executing the method shown in the flowchart.
  • the computer program may be downloaded and installed from the network via communication portion 509 and/or installed from removable media 511 .
  • this computer program is executed by the CPU 501, the above functions defined in the system of the present application are executed.
  • the computer-readable medium shown in this application may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two.
  • the computer-readable storage medium may be, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any combination thereof.
  • Examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard drives, RAM, ROM, Erasable Programmable Read-Only Memory (EPROM) ) or flash memory, optical fiber, portable compact disk read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device.
  • the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, in which computer-readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above.
  • a computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device .
  • Program code contained on a computer-readable medium can be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, radio frequency (Radio Frequency, RF), etc., or any suitable combination of the above.
  • each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more logic functions that implement the specified executable instructions.
  • the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown one after another may actually execute substantially in parallel, or they may sometimes execute in the reverse order, depending on the functionality involved.
  • each block in the block diagram or flowchart illustration, and combinations of blocks in the block diagram or flowchart illustration can be implemented by special purpose hardware-based systems that perform the specified functions or operations, or may be implemented by special purpose hardware-based systems that perform the specified functions or operations. Achieved by a combination of specialized hardware and computer instructions.
  • the modules and/or units involved in the embodiments of this application can be implemented in software or hardware.
  • the described modules and/or units may also be provided in a processor.
  • a processor includes a sending module, a receiving module and a return module. Among them, the names of these modules do not constitute a limitation on the module itself.
  • the computer-readable medium may be included in the device described in the above embodiments; it may also exist separately without being assembled into the device.
  • the above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are loaded by a When the device is executed, the device includes: sending the historical driving path of the vehicle to the mobile terminal; receiving a target return path sent by the mobile terminal, where the target return path is set by the mobile terminal on the historical driving path. The return starting point and return end point are created for the vehicle; the vehicle's return is controlled according to the target return path.
  • the vehicle by creating a target return path based on the historical driving route from the mobile terminal, the vehicle can be controlled to perform a one-click return operation, which solves the problem in related technologies that the user needs to perform real-time control when the vehicle has a need to return. problem, which facilitates user operation and improves user experience.

Abstract

Embodiments of the present application relate to the technical field of computers. Disclosed are a vehicle control method and apparatus, a vehicle, and a storage medium. The vehicle control method comprises: sending a historical driving path of the vehicle to a mobile terminal; receiving a target return path sent by the mobile terminal, wherein the target return path is created for the vehicle by the mobile terminal according to a return starting point and a return end point which are set on the historical driving path; and controlling the vehicle to return according to the target return path.

Description

车辆控制方法、装置、车辆及存储介质Vehicle control method, device, vehicle and storage medium
本申请要求在2022年06月15日提交中国专利局、申请号为202210676543.X的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。This application claims priority to the Chinese patent application with application number 202210676543.X, which was submitted to the China Patent Office on June 15, 2022. The entire content of this application is incorporated into this application by reference.
技术领域Technical field
本申请实施例涉及计算机技术领域,例如涉及车辆控制方法、装置、车辆及存储介质。Embodiments of the present application relate to the field of computer technology, such as vehicle control methods, devices, vehicles, and storage media.
背景技术Background technique
随着科技的进步,汽车的智能化得到了持续发展,随着汽车数量的增加,停车成了多数人的烦恼。在车位比较紧张,可行驶区域狭小的环境中,经常会发生停车难、误占用他人车位,或者停靠车辆阻碍其他车辆行驶的情况,一般均需要车主快速返回车辆附近挪车。With the advancement of science and technology, the intelligence of cars has continued to develop. As the number of cars increases, parking has become a worry for most people. In an environment where parking spaces are tight and the driving area is small, it is often difficult to park, accidentally occupying other people's parking spaces, or parked vehicles impede the movement of other vehicles. Generally, car owners are required to quickly return to the vehicle to move the vehicle.
部分车辆装备的L2级别遥控泊车技术可以实现自动泊车的功能,但需要车主在驾驶室内操控车辆相关功能键以实现自动泊车,或者在车辆附近操控移动终端以完成车辆的移动。The L2 level remote parking technology equipped on some vehicles can realize the automatic parking function, but it requires the owner to control the vehicle-related function keys in the cab to realize automatic parking, or to control the mobile terminal near the vehicle to complete the movement of the vehicle.
但是,相关技术中的自动泊车技术需要车主在车辆附近,且在通过操控车辆或者移动终端控制车辆移动后,存在需要将车辆返回至原来位置的情况,此时需用户继续对车辆再次进行控制,不便于操作。However, the automatic parking technology in related technologies requires the car owner to be near the vehicle, and after controlling the movement of the vehicle by controlling the vehicle or a mobile terminal, there may be situations where the vehicle needs to be returned to its original position. At this time, the user needs to continue to control the vehicle again. , not easy to operate.
发明内容Contents of the invention
本申请实施例提供一种车辆控制方法、装置、车辆及存储介质,能够对移动完成的车辆进行一键返程,以改善现有的车辆控制方案。Embodiments of the present application provide a vehicle control method, device, vehicle and storage medium, which can perform one-click return for a vehicle that has been moved, so as to improve existing vehicle control solutions.
本申请实施例提供一种车辆控制方法,包括:将车辆的历史行驶路径发送给移动终端;接收所述移动终端发送的目标返程路径,所述目标返程路径是所述移动终端根据在所述历史行驶路径上设置的返程起点和返程终点为所述车辆创建的;根据所述目标返程路径控制所述车辆返程。Embodiments of the present application provide a vehicle control method, which includes: sending the historical driving path of the vehicle to a mobile terminal; receiving a target return path sent by the mobile terminal, where the target return path is determined by the mobile terminal according to the historical The return starting point and return end point set on the driving path are created by the vehicle; the vehicle's return journey is controlled according to the target return path.
可选地,所述历史行驶路径通过以下方式生成:获取所述车辆的初始位置,所述初始位置为所述车辆在历史时刻行驶前的位置;接收所述移动终端在所述历史时刻发送的终点位置,根据所述初始位置和所述终点位置生成所述车辆的初始行驶路径;控制所述车辆基于所述初始行驶路径进行移动后获得所述历史行驶路径。 Optionally, the historical driving path is generated by: obtaining the initial position of the vehicle, where the initial position is the position of the vehicle before traveling at the historical moment; receiving the information sent by the mobile terminal at the historical moment. The end position: generate an initial driving path of the vehicle based on the initial position and the end position; and obtain the historical driving path after controlling the vehicle to move based on the initial driving path.
可选地,所述控制所述车辆基于所述初始行驶路径进行移动后获得所述历史行驶路径,包括:获取所述车辆根据所述初始行驶路径实时移动产生的实时行驶路径;在所述实时行驶路径的曲率半径大于预设数值的情况下,对所述实时行驶路径进行标记,获得路径标记点;根据当前路径标记点与历史路径标记点的位置关系获得所述历史行驶路径。Optionally, obtaining the historical driving path after controlling the vehicle to move based on the initial driving path includes: obtaining a real-time driving path generated by the real-time movement of the vehicle according to the initial driving path; When the curvature radius of the driving path is greater than the preset value, the real-time driving path is marked to obtain path marking points; the historical driving path is obtained according to the positional relationship between the current path marking points and the historical path marking points.
可选地,所述历史路径标记点包括:第一路径标记点和第二路径标记点,所述第一路径标记点为在所述当前路径标记点的上一时间段记录的路径标记点,所述第二路径标记点为在所述第一路径标记点的上一时间段记录的路径标记点;其中,所述当前路径标记点和所述第一路径标记点形成第一路段,所述第一路径标记点和第二路径标记点形成第二路段;所述根据当前路径标记点与历史路径标记点的位置关系获得所述历史行驶路径,包括:判断所述当前路径标记点和所述第二路径标记点之间的距离是否大于所述第一路段;响应于所述当前路径标记点和所述第二路径标记点之间的距离不大于所述第一路段的确定结果,舍弃所述第一路段,保留所述第二路段,获得所述历史行驶路径;响应于所述当前路径标记点和所述第二路径标记点之间的距离大于所述第一路段的确定结果,保留所述第一路段和所述第二路段,获得所述历史行驶路径。Optionally, the historical path marker points include: a first path marker point and a second path marker point, where the first path marker point is a path marker point recorded in the previous time period of the current path marker point, The second path marker point is a path marker point recorded in a previous time period of the first path marker point; wherein the current path marker point and the first path marker point form a first road segment, and the The first path marker point and the second path marker point form a second road segment; obtaining the historical driving path based on the positional relationship between the current path marker point and the historical path marker point includes: judging the current path marker point and the Whether the distance between the second path marker points is greater than the first road segment; in response to the determination result that the distance between the current path marker point and the second path marker point is not greater than the first road segment, discard all The first road segment is retained, the second road segment is retained, and the historical driving path is obtained; in response to the determination result that the distance between the current path marking point and the second path marking point is greater than the first road segment, retaining The first road segment and the second road segment are used to obtain the historical driving path.
可选地,所述历史行驶路径还包括行车障碍物信息,所述行车障碍物信息通过以下方式得到:在控制所述车辆基于所述初始行驶路径进行移动的过程中,确定行车障碍物;在预测在下一时刻所述行车障碍物与所述车辆的距离值小于预设数值的情况下,将所述行车障碍物相对于所述车辆的位置信息确定为所述行车障碍物信息。Optionally, the historical driving path also includes driving obstacle information, and the driving obstacle information is obtained by: determining the driving obstacles in the process of controlling the vehicle to move based on the initial driving path; When it is predicted that the distance value between the driving obstacle and the vehicle is less than a preset value at the next moment, the position information of the driving obstacle relative to the vehicle is determined as the driving obstacle information.
可选地,所述预测在下一时刻所述行车障碍物与所述车辆的距离值小于预设数值,包括:获取所述车辆在当前时刻的车速、行车方向和所述下一时刻方向盘的转角;根据所述车速、所述行车方向和所述方向盘转角获得在所述下一时刻所述行车障碍物与所述车辆的距离值。Optionally, the prediction that the distance value between the driving obstacle and the vehicle at the next moment is less than a preset value includes: obtaining the speed, driving direction of the vehicle at the current moment, and the steering angle of the steering wheel at the next moment. ; Obtain the distance value between the driving obstacle and the vehicle at the next moment based on the vehicle speed, the driving direction and the steering wheel angle.
可选地,所述根据所述目标返程路径控制所述车辆返程,包括:获取在所述目标返程路径上包含的行车障碍物信息;根据所述目标返程路径上包含的行车障碍物信息对所述目标返程路径上的行车障碍物进行避障处理,以实现所述车辆的返程。Optionally, controlling the vehicle's return journey according to the target return path includes: obtaining the driving obstacle information contained on the target return path; and controlling the driving obstacle information contained on the target return path. Obstacle avoidance processing is performed on the driving obstacles on the target return path to realize the return journey of the vehicle.
本申请实施例提供一种车辆控制装置,所述装置包括:发送模块,设置为将车辆的历史行驶路径发送给移动终端;接收模块,设置为接收所述移动终端发送的目标返程路径,所述目标返程路径是所述移动终端根据在所述历史行驶路径上设置的返程起点和返程终点为所述车辆创建的;返程模块,设置为根据所述目标返程路径控制所述车辆返程。 An embodiment of the present application provides a vehicle control device. The device includes: a sending module configured to send the historical driving path of the vehicle to a mobile terminal; a receiving module configured to receive the target return path sent by the mobile terminal. The target return path is created by the mobile terminal for the vehicle based on the return starting point and return end point set on the historical driving path; the return module is configured to control the vehicle's return trip according to the target return path.
本申请实施例还提供了一种车辆,所述车辆包括:至少一个处理器;以及与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的计算机程序,所述计算机程序被所述至少一个处理器执行,以使所述至少一个处理器能够执行本申请任一实施例所述的车辆控制方法。An embodiment of the present application also provides a vehicle, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores information that can be executed by the at least one processor. A computer program, the computer program is executed by the at least one processor, so that the at least one processor can execute the vehicle control method described in any embodiment of the present application.
第四方面,本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机指令,所述计算机指令用于使处理器执行时实现本申请任一实施例所述的车辆控制方法。In a fourth aspect, embodiments of the present application also provide a computer-readable storage medium that stores computer instructions, and the computer instructions are used to implement any of the embodiments of the present application when executed by a processor. The vehicle control method described above.
附图说明Description of the drawings
下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本申请的一些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。The drawings needed to be used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present application, and therefore should not be regarded as limiting the scope. For ordinary people in the art Technical personnel can also obtain other related drawings based on these drawings without exerting creative work.
图1是本申请实施例提供的车辆控制方法的一个流程示意图;Figure 1 is a schematic flow chart of a vehicle control method provided by an embodiment of the present application;
图2是本申请实施例提供的泊车方法的一个系统架构图;Figure 2 is a system architecture diagram of the parking method provided by the embodiment of the present application;
图3是本申请实施例提供的车辆控制方法的另一流程示意图;Figure 3 is another schematic flowchart of a vehicle control method provided by an embodiment of the present application;
图4是本申请实施例提供的车辆控制方法的又一流程示意图;Figure 4 is another schematic flow chart of the vehicle control method provided by the embodiment of the present application;
图5是本申请实施例提供的车辆行驶路径的一个示意图;Figure 5 is a schematic diagram of a vehicle driving path provided by the embodiment of the present application;
图6是本申请实施例提供的车辆控制装置的一个结构示意图;Figure 6 is a schematic structural diagram of a vehicle control device provided by an embodiment of the present application;
图7是本申请实施例提供的车辆的一个结构示意图。Figure 7 is a schematic structural diagram of a vehicle provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述,显然,所描述的实施例仅仅是本申请一部分的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts should fall within the scope of protection of this application.
下面结合附图和实施例对本申请进行说明。可以理解的是,此处所描述的实施例仅仅用于解释本申请,而非对本申请的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本申请相关的部分结构。The present application will be described below in conjunction with the drawings and embodiments. It can be understood that the embodiments described here are only used to explain the present application, but not to limit the present application. In addition, it should be noted that, for convenience of description, only part of the structure related to the present application is shown in the drawings.
图1为本申请实施例提供的车辆控制方法的一个流程示意图,本实施例可适用于移动终端对车辆进行远程控制后,需要对车辆通过远程控制进行返程的情况,该方法可以由车辆控制装置来执行,该车辆控制装置可以采用硬件和/或 软件的形式实现,该车辆控制装置可配置于车辆的泊车控制器中。参考图1,该方法可以包括如下步骤。Figure 1 is a schematic flow chart of a vehicle control method provided by an embodiment of the present application. This embodiment can be applied to the situation where the vehicle needs to be returned through remote control after the mobile terminal remotely controls the vehicle. This method can be performed by the vehicle control device to perform, the vehicle control device may employ hardware and/or Implemented in the form of software, the vehicle control device can be configured in the parking controller of the vehicle. Referring to Figure 1, the method may include the following steps.
S110、将车辆的历史行驶路径发送给移动终端。S110. Send the historical driving path of the vehicle to the mobile terminal.
历史行驶路径可以理解为车辆在历史时间段内行驶过的路径。本申请实施例提供的泊车方法主要用于控制车辆进行一键返程,当前历史行驶路径为当前车辆在上一时刻行驶的路径,即在上一时刻根据历史行驶路径行驶完成后以使得车辆停留在当前位置。The historical driving path can be understood as the path that the vehicle traveled during the historical time period. The parking method provided by the embodiment of the present application is mainly used to control the vehicle to perform a one-click return trip. The current historical driving path is the path that the current vehicle traveled at the last moment, that is, the vehicle stops after completing the driving according to the historical driving path at the previous moment. at the current location.
一种可选实施例,上述历史行驶路径可通过以下步骤生成。In an optional embodiment, the above historical driving route can be generated through the following steps.
a)获取车辆的初始位置,初始位置为车辆在历史时刻行驶前的位置。a) Obtain the initial position of the vehicle, which is the position of the vehicle before traveling at the historical moment.
在获取车辆的初始位置之前,首先需要获取移动终端发送的通信请求,根据通信请求建立与移动终端的通信连接。在移动终端向车辆发送连接请求时,可通过下载在移动终端上的第三方应用(Application,App)与集成在车辆上的远程信息处理器(Telematics box,T-box)通过通信的方式进行连接。Before obtaining the initial position of the vehicle, it is first necessary to obtain the communication request sent by the mobile terminal, and establish a communication connection with the mobile terminal according to the communication request. When the mobile terminal sends a connection request to the vehicle, the connection can be made through communication between the third-party application (Application, App) downloaded on the mobile terminal and the telematics box (T-box) integrated on the vehicle. .
请参照图2,图2为本申请实施例提供的泊车方法的一个系统架构图。在移动终端与车辆建立通信连接后,移动终端可将控制指令发送至T-box,T-box在接收到移动终端发送的控制指令后,将控制指令发送至泊车控制器,泊车控制器执行当前控制指令。在泊车控制器执行完当前控制指令后,获得执行结果(比如车辆的移动情况),可将执行结果由T-box发送至移动终端,以供用户远程查看。Please refer to Figure 2, which is a system architecture diagram of the parking method provided by the embodiment of the present application. After the mobile terminal establishes a communication connection with the vehicle, the mobile terminal can send the control command to the T-box. After receiving the control command sent by the mobile terminal, the T-box sends the control command to the parking controller. The parking controller Execute the current control command. After the parking controller executes the current control command and obtains the execution result (such as the movement of the vehicle), the execution result can be sent to the mobile terminal by the T-box for remote viewing by the user.
在根据通信请求建立与移动终端的通信连接之后,车辆的初始位置获取方式可以为,对车辆在历史时刻所处的当前位置信息进行标记以获得车辆的初始位置。After establishing a communication connection with the mobile terminal according to the communication request, the vehicle's initial location acquisition method may be to mark the current location information of the vehicle at a historical moment to obtain the vehicle's initial location.
b)接收移动终端在历史时刻发送的终点位置,根据初始位置和终点位置生成车辆的初始行驶路径。b) Receive the end position sent by the mobile terminal at the historical moment, and generate the initial driving path of the vehicle based on the initial position and the end position.
首先在车辆上集成有预设数量的视觉设备,通过多个视觉设备可获得车辆在历史时刻所处的环境信息,并在建立车辆与移动终端的通信连接后,可将车辆获取到的环境信息同步到用户的移动终端上,以便于用户远程了解车辆所处的环境实况。First, a preset number of visual devices are integrated on the vehicle. The environmental information of the vehicle at historical moments can be obtained through multiple visual devices. After establishing a communication connection between the vehicle and the mobile terminal, the environmental information obtained by the vehicle can be Synchronized to the user's mobile terminal, so that the user can remotely understand the real environment of the vehicle.
用户基于移动终端显示的环境信息以及初始位置可在移动终端的可视化画面上标记终点位置,当前终点位置可以理解为用户在历史时刻想要车辆移动的目标位置(即当前时刻车辆停止的位置)。在历史时刻可基于初始位置和终点位置进行路径规划,获得车辆的初始行驶路径。 The user can mark the end position on the visual screen of the mobile terminal based on the environmental information and the initial position displayed by the mobile terminal. The current end position can be understood as the target position where the user wants the vehicle to move at the historical moment (that is, the position where the vehicle stops at the current moment). At historical moments, path planning can be performed based on the initial position and end position to obtain the vehicle's initial driving path.
当前初始行驶路径可以理解为,车辆的控制器基于初始位置、终点位置以及当前所处的环境信息为车辆规划出来的理想行车路线;历史行驶路径为在基于初始行驶路径行驶的完成后,实际产生的路径。The current initial driving path can be understood as the ideal driving route planned for the vehicle by the vehicle's controller based on the initial position, end position and current environmental information; the historical driving path is the actual driving path that occurred after the completion of driving based on the initial driving path. path of.
c)控制车辆基于初始行驶路径进行移动后获得历史行驶路径。c) Control the vehicle to move based on the initial driving path and obtain the historical driving path.
基于规划的初始行驶路径控制车辆进行移动可获得历史行驶路线,将历史行驶路线发送至移动终端。Controlling the vehicle to move based on the planned initial driving path can obtain the historical driving route, and send the historical driving route to the mobile terminal.
可选地,在建立车辆与移动终端的通信连接之后,首先在移动终端上选择车辆的控制模式,示例性地,控制模式可以为泊入、泊出、搜索车位以及一键返程等。在车辆接收到移动终端发送的一键返程模式之后,再将车辆的历史行驶路径发送给移动终端;也可在建立车辆与移动终端的通信连接之后,直接将车辆的历史行驶路径发送给移动终端,在移动终端保存车辆的历史行驶路线,以便于用户对历史行驶路线进行查看。向移动终端发送历史行驶路线的条件在此不作限制。Optionally, after establishing a communication connection between the vehicle and the mobile terminal, first select the control mode of the vehicle on the mobile terminal. For example, the control mode may be parking in, parking out, searching for a parking space, and one-click return. After the vehicle receives the one-key return mode sent by the mobile terminal, the vehicle's historical driving path is sent to the mobile terminal; or after the communication connection between the vehicle and the mobile terminal is established, the vehicle's historical driving path can be directly sent to the mobile terminal. , save the historical driving route of the vehicle on the mobile terminal so that the user can view the historical driving route. The conditions for sending historical driving routes to the mobile terminal are not limited here.
S120、接收移动终端发送的目标返程路径,目标返程路径是移动终端根据在历史行驶路径上设置的返程起点和返程终点为车辆创建的。S120. Receive the target return path sent by the mobile terminal. The target return path is created by the mobile terminal for the vehicle based on the return starting point and return end point set on the historical driving path.
在移动终端接收到历史行驶路径后,可基于历史行驶路径设置车辆的返程起点和返程终点。After the mobile terminal receives the historical driving route, the vehicle's return starting point and return destination can be set based on the historical driving route.
车辆的返程起点为车辆在当前时刻所处的实际位置(也可以理解为车辆在历史时刻停止的终点位置),返程的目的是为了使车辆基于历史行驶路径进行返回,在返回的过程中车辆可进行自动控制,无需用户远程实时控制,便于用户操作。The starting point of the vehicle's return journey is the actual position of the vehicle at the current moment (it can also be understood as the end position where the vehicle stopped at the historical moment). The purpose of the return journey is to enable the vehicle to return based on the historical driving path. During the return process, the vehicle can Automatic control is performed without the need for remote real-time control by users, making it easy for users to operate.
返程终点可以为历史行驶路径上的任一位置。即用户根据对车辆的实际控制需求进行选取。The return destination can be any location on the historical driving route. That is, the user makes a selection based on the actual control requirements for the vehicle.
根据返程起点和用户在移动终端上设置的返程终点,基于历史行驶路径移动终端可生成目标返程路径。目标返程路径可以理解为历史行驶路径中的全部路径或者部分路径,与历史行驶路径的行驶方向相反。According to the return starting point and the return end point set by the user on the mobile terminal, the mobile terminal can generate a target return path based on the historical driving path. The target return path can be understood as the entire path or part of the historical driving path, which is opposite to the driving direction of the historical driving path.
目标返程路径为历史行驶路径的全部路径还是部分路径,与用户在移动终端中设置的返程终点有关。当返程终点为历史行驶路径中的初始位置时,目标返程路径为历史行驶路径的全部路径;当返程终点为历史行驶路径中的任一位置时,目标返程路径为历史行驶路径的部分路径。目标返程路线的建立在此不做限制。Whether the target return route is the entire route or part of the historical driving route is related to the return destination set by the user in the mobile terminal. When the return end point is the initial position in the historical driving path, the target return path is the entire historical driving path; when the return end point is any position in the historical driving path, the target return path is part of the historical driving path. The establishment of the target return route is not restricted here.
S130、根据目标返程路径控制车辆返程。 S130. Control the vehicle's return journey according to the target return path.
在车辆获取到目标返程路径时,车辆可以根据目标返程路径记录的路径信息进行返程操作,从而使得车辆一键返回至用户的期望位置。When the vehicle obtains the target return path, the vehicle can perform a return operation based on the path information recorded on the target return path, allowing the vehicle to return to the user's desired location with one click.
需要说明的是,在进行一键返回控制模式时,可适用于用户基于移动终端进行远程控制的场景,也适用于用户坐在车内进行返程的场景,用于一键返程模式的场景在此不作限制。It should be noted that when performing the one-key return control mode, it can be applied to the scenario where the user performs remote control based on the mobile terminal, and is also applicable to the scenario where the user is sitting in the car and making the return journey. The scenario for the one-key return mode is here No restrictions.
一种应用实例,以用户基于移动终端进行远程控制进行挪车的场景为例,在用户停好车辆离开并且进入商场之后,车辆可能由于停靠不规范,影响了其他车辆的出行,则用户可在商场内对车辆进行通信连接,并基于接收到车辆的环境信息通过移动终端选择车辆的当前泊车方式为“泊出”,从而控制车辆从当前位置进行移动。在车辆移动完成后若影响出行的车辆已经移走,此时可选择一键返程模式,控制车辆自动返程至初始位置。当车辆返程至初始位置时,可能仍旧存在车辆停靠不符合规范的问题,则用户可基于移动终端以及接收到的车辆的环境信息选择“泊入”控制模式,从而控制车辆进行移动,以将车辆停靠在正规的车位上。An application example takes the scenario where the user moves the vehicle through remote control based on the mobile terminal. After the user parks the vehicle and leaves and enters the mall, the vehicle may not be parked in a standardized manner, which affects the travel of other vehicles. The user can The vehicle is connected through communication in the mall, and based on the received environmental information of the vehicle, the current parking method of the vehicle is selected as "park out" through the mobile terminal, thereby controlling the vehicle to move from the current location. After the vehicle movement is completed, if the vehicle affecting travel has been removed, you can select the one-click return mode to control the vehicle to automatically return to the original position. When the vehicle returns to its initial position, there may still be a problem that the vehicle parking does not meet the specifications. The user can select the "parking" control mode based on the mobile terminal and the received vehicle's environmental information to control the movement of the vehicle to move the vehicle. Park in a regular parking space.
另一种应用场景,以用户基于移动终端远程搜索车位为例,在停车场中当用户开启搜索车位模式后,随着车辆的移动可能并未找到合适的车位,此时用户可能想行驶相反的路径以继续搜索车位,当前可选择一键返程模式,控制车辆行驶至初始位置,从而基于另一个方向继续搜索车位的任务,无需控制车辆行驶一大圈进行搜索,节省用户时间。Another application scenario takes the user's remote search for a parking space based on a mobile terminal as an example. When the user turns on the parking space search mode in the parking lot, the suitable parking space may not be found as the vehicle moves. At this time, the user may want to drive in the opposite direction. Path to continue searching for parking spaces. Currently, you can select the one-click return mode to control the vehicle to drive to the initial position, thereby continuing the task of searching for parking spaces in another direction. There is no need to control the vehicle to drive a large circle to search, saving users time.
本申请实施例提供的车辆控制方法,首先将车辆的历史行驶路径发送给移动终端;然后接收移动终端发送的目标返程路径,目标返程路径是移动终端根据在历史行驶路径上设置的返程起点和返程终点为车辆创建的;最后根据目标返程路径控制车辆返程。通过从移动终端根据历史行驶路线创建目标返回路径的方式,可控制车辆进行一键返程操作,解决了相关技术中当车辆有返回需求时需要用户进行实时操控的问题,便于用户操作,提升用户体验。The vehicle control method provided by the embodiment of the present application first sends the historical driving path of the vehicle to the mobile terminal; and then receives the target return path sent by the mobile terminal. The target return path is the return starting point and return journey set by the mobile terminal on the historical driving path. The end point is created for the vehicle; finally, the vehicle's return is controlled based on the target return path. By creating a target return path based on the historical driving route from the mobile terminal, the vehicle can be controlled to perform a one-click return operation, which solves the problem in related technologies that the user needs to perform real-time control when the vehicle needs to return, making it easier for the user to operate and improving the user experience. .
图3是本申请实施例提供的车辆控制方法的另一流程示意图,本实施例与上述实施例之间的关系对上述实施例相应特征的进行说明。如图3所示,该方法可以包括如下步骤。FIG. 3 is another schematic flowchart of a vehicle control method provided by an embodiment of the present application. The relationship between this embodiment and the above-mentioned embodiments explains the corresponding features of the above-mentioned embodiments. As shown in Figure 3, the method may include the following steps.
S210、获取车辆的初始位置,初始位置为车辆在历史时刻行驶前的位置。S210. Obtain the initial position of the vehicle. The initial position is the position of the vehicle before traveling at the historical time.
S220、接收移动终端在历史时刻发送的终点位置,根据初始位置和终点位置生成车辆的初始行驶路径。S220: Receive the end position sent by the mobile terminal at the historical moment, and generate the initial driving path of the vehicle based on the initial position and the end position.
S230、控制车辆基于初始行驶路径进行移动后获得历史行驶路径。S230. Control the vehicle to move based on the initial driving path and obtain the historical driving path.
请参照图4,图4是本申请实施例提供的车辆控制方法的又一流程示意图。 Please refer to FIG. 4 , which is another schematic flowchart of a vehicle control method provided by an embodiment of the present application.
本申请实施例提供的车辆控制方法,在控制车辆基于初始行驶路径进行移动后获得历史行驶路径的过程可由如下步骤实现。In the vehicle control method provided by the embodiment of the present application, the process of obtaining the historical driving path after controlling the vehicle to move based on the initial driving path can be implemented by the following steps.
S310、获取车辆根据初始行驶路径实时移动产生的实时行驶路径。S310. Obtain the real-time driving path generated by the real-time movement of the vehicle according to the initial driving path.
实时行驶路径指在根据初始行驶路径进行实际行驶的过程中,车辆实际行驶的路径并不完全与初始行驶路径中理想状态下的路径完全一致,当用户在移动终端远程控制车辆移动时,可能会存在突发操作,示例性地,可以为换挡操作、猛打方向盘操作,或者急刹车操作等,此时车辆根据初始行驶路径移动时获得的实时行驶路径相比于初始行驶路径会有一定的偏差。The real-time driving path means that during the actual driving process according to the initial driving path, the actual driving path of the vehicle is not completely consistent with the ideal path in the initial driving path. When the user remotely controls the movement of the vehicle on the mobile terminal, it may There is a sudden operation, for example, it can be a gear shift operation, a sharp steering operation, or a sudden braking operation, etc. At this time, the real-time driving path obtained when the vehicle moves according to the initial driving path will have a certain difference compared with the initial driving path. deviation.
在实时行驶路径与初始行驶路径具有一定的偏差时,可执行步骤S320及以后的操作,以对实时行驶路径进行相应处理操作,以便于后续步骤根据处理后的行驶路径控制车辆进行一键返程。When the real-time driving path has a certain deviation from the initial driving path, steps S320 and subsequent operations can be performed to perform corresponding processing operations on the real-time driving path, so that subsequent steps can control the vehicle to perform a one-click return trip based on the processed driving path.
S320、当实时行驶路径的曲率半径大于预设数值时,对实时行驶路径进行标记,获得路径标记点。S320. When the curvature radius of the real-time driving path is greater than the preset value, mark the real-time driving path to obtain path marking points.
当用户在移动终端远程控制车辆移动时,若发生如换挡、猛打方向盘,或者急刹车等突发操作,实时行驶路径上均会保存有根据突发操作行驶的路径,则由于突发操作产生的路径在后续根据历史行驶路径进行一键返程时,当车辆返程至有突发操作的位置,此时系统可不在执行用户的突发操作,因此需要对实时行驶路径进行拼接平滑处理,以使得车辆在进行一键返程时能以相对理想的方式进行返回。When the user remotely controls the movement of the vehicle on the mobile terminal, if sudden operations such as shifting gears, turning the steering wheel, or braking suddenly occur, the real-time driving path will save the path based on the sudden operation. When the generated path is subsequently used for one-click return based on the historical driving path, when the vehicle returns to a location where sudden operations occur, the system can no longer execute the user's sudden operations. Therefore, the real-time driving path needs to be spliced and smoothed to ensure smooth operation. This allows the vehicle to return in a relatively ideal way when making a one-click return trip.
对实时行驶路径进行拼接平滑处理时,可首选对车辆产生的实时行驶路径进行路径标记,以获得路径标记点。When splicing and smoothing the real-time driving path, you can first mark the real-time driving path generated by the vehicle to obtain the path marking points.
在对实时行驶路径进行路径标记的方式可以为,判断实时行驶路径的曲率半径是否大于预设数值,若实时行驶路径的曲率半径大于预设数值,则表明当前实时路径在车辆行驶的过程中有拐点,则对实时行驶路径的曲率半径大于预设数值的位置进行标记,获得路径标记点。The method of marking the real-time driving path may be to determine whether the curvature radius of the real-time driving path is greater than a preset value. If the curvature radius of the real-time driving path is greater than the preset value, it indicates that the current real-time path has Inflection point, mark the position where the curvature radius of the real-time driving path is greater than the preset value to obtain the path marking point.
一般地,在车辆根据初始行驶路径进行移动的过程中,获得的实时路径上的路径标记点可能为0个(即,车辆行驶路径为直线),也可能为多个,实时行驶路径上的路径标记点在此不做限制。Generally, in the process of the vehicle moving according to the initial driving path, the path marking points on the real-time driving path obtained may be 0 (that is, the vehicle driving path is a straight line), or there may be multiple paths on the real-time driving path. Marking points are not limited here.
上述预设数值在此不做限制,以开发人员的实际需求为准。The above preset values are not limited here and are subject to the actual needs of developers.
可选地,上述预设数值还可根据初始行驶路径进行相应变换,即根据初始行驶路径可获得车辆行驶路径的复杂程度,根据初始行驶路径决定当前预设数值为多少,以对测量获得的实时行驶路径的曲率半径与预设数值进行比对,上述预设数值的设置方式在此不做限制。 Optionally, the above-mentioned preset value can also be transformed accordingly according to the initial driving path, that is, the complexity of the vehicle's driving path can be obtained according to the initial driving path, and the current preset value is determined according to the initial driving path, so as to measure the real-time The curvature radius of the driving path is compared with the preset value. The setting method of the above preset value is not limited here.
S330、根据当前路径标记点与历史路径标记点的位置关系获得历史行驶路径。S330. Obtain the historical driving route according to the positional relationship between the current route marking point and the historical route marking point.
在基于初始行驶路径控制车辆移动完成后,获得的实时行驶路径上包含有多个历史标记点。请参照图5,图5是本申请实施例提供的车辆行驶路径的一个示意图。After the vehicle movement is controlled based on the initial driving path, the obtained real-time driving path contains multiple historical mark points. Please refer to FIG. 5 , which is a schematic diagram of a vehicle driving path provided by an embodiment of the present application.
请参照图5中的图a可以理解为在车辆根据初始行驶路径行驶时有突发操作时获得的路径,图5中的图b可以理解为在正常状态下车辆行驶的路径。Please refer to Figure a in Figure 5, which can be understood as the path obtained when there is a sudden operation when the vehicle is traveling according to the initial driving path, and Figure B in Figure 5 can be understood as the path that the vehicle travels in a normal state.
以路径标记点包含有三个点为例,以当前路径标记点为N+2,历史路径标记点包括:第一路径标记点N+1和第二路径标记点N。第一路径标记点为在当前路径标记点的上一时间段记录的路径标记点,第二路径标记点为在第一路径标记点的上一时间段记录的路径标记点。Taking the path marker point including three points as an example, assuming that the current path marker point is N+2, the historical path marker points include: the first path marker point N+1 and the second path marker point N. The first path marker point is the path marker point recorded in the previous time period of the current path marker point, and the second path marker point is the path marker point recorded in the previous time period of the first path marker point.
当前路径标记点N+2和第一路径标记点N+1形成第一路段l,第一路径标记点N+1和第二路径标记N点形成第二路段m。The current path marker point N+2 and the first path marker point N+1 form the first path segment l, and the first path marker point N+1 and the second path marker point N form the second path segment m.
步骤S330,根据当前路径标记点与历史路径标记点的位置关系获得历史行驶路径,包括如下步骤。Step S330: Obtain the historical driving route based on the positional relationship between the current route marking point and the historical route marking point, including the following steps.
判断当前路径标记点和第二路径标记点之间的距离是否大于第一路段。Determine whether the distance between the current path marker point and the second path marker point is greater than the first road segment.
即判断N+2到N的距离是否大于l。若N+2到N的距离不大于l,则舍弃第一路段l,保留第二路段m,获得历史行驶路径。在图a中当前历史行驶路径只判断了N、N+1和N+2三个路径标记点,且在当前标记点中N+2已被舍弃,则对于新的路径标记点N+3,判断N+3、N+1和N之间的位置关系,判断方式与上述相同,在此不做赘述,直至将实时行驶路径上的所有路径标记点判断完成为止,获得完整的历史行驶路径。That is, determine whether the distance from N+2 to N is greater than l. If the distance from N+2 to N is not greater than l, discard the first road segment l, retain the second road segment m, and obtain the historical driving path. In Figure a, the current historical driving path only determines three path marking points N, N+1 and N+2, and N+2 has been discarded in the current marking point, then for the new path marking point N+3, The positional relationship between N+3, N+1 and N is determined in the same way as above, which will not be described in detail here. Until all path marking points on the real-time driving path are judged, a complete historical driving path is obtained.
若N+2到N的距离大于l,则保留第一路段l和第二路段m,获得历史行驶路径(如图b)。If the distance from N+2 to N is greater than l, the first road segment l and the second road segment m are retained to obtain the historical driving path (see Figure b).
一种可选实施例,历史行驶路径还包括行车障碍物信息。行车障碍物信息表示在根据初始路径信息行驶过程中,集成在车辆上的超声波雷达可探测车辆周边的障碍物信息,并将障碍物信息结合视觉设备获得的环境信息显示在车辆的显示屏上,或者用户移动终端的可视化界面上。In an optional embodiment, the historical driving route also includes driving obstacle information. Driving obstacle information indicates that during driving based on the initial path information, the ultrasonic radar integrated on the vehicle can detect obstacle information around the vehicle, and display the obstacle information on the vehicle's display screen in combination with the environmental information obtained by the visual device. Or on the visual interface of the user's mobile terminal.
在可视化界面上显示障碍物信息时,障碍物信息可以包括:检测到的障碍物相比于车辆的位置方向和距离大小。When the obstacle information is displayed on the visual interface, the obstacle information may include: the position, direction and distance of the detected obstacle compared to the vehicle.
行车障碍物信息通过以下方式得到:在控制车辆基于初始行驶路径进行移动的过程中,确定行车障碍物;当预测在下一时刻行车障碍物与车辆的距离值 小于预设数值时,将行车障碍物相对于车辆的位置信息确定为行车障碍物信息。The driving obstacle information is obtained in the following ways: in the process of controlling the vehicle to move based on the initial driving path, the driving obstacle is determined; when the distance value between the driving obstacle and the vehicle is predicted at the next moment When it is less than the preset value, the position information of the driving obstacle relative to the vehicle is determined as the driving obstacle information.
在车辆基于初始行驶路径进行移动的过程中,超声波雷达探测到车辆与其余物品的距离小于预设距离(例如,5米)时,则可将当前物品视为障碍物,并通过文字、声音或者画面提示等方式生成警示信息,并将警示信息发送至移动终端,以达到提醒用户有碰撞风险的目的,从而避免车辆与障碍物发送剐蹭。During the vehicle's movement based on the initial driving path, when the ultrasonic radar detects that the distance between the vehicle and other items is less than the preset distance (for example, 5 meters), the current item can be regarded as an obstacle and the vehicle can be identified through text, sound, or Warning information is generated through screen prompts and other methods, and the warning information is sent to the mobile terminal to remind users of the risk of collision, thereby avoiding collision between vehicles and obstacles.
在获得障碍物信息时,本申请实施例提供的车辆控制方法,并不是简单依靠障碍物与车辆距离远近进行避障处理,而是结合车辆行车方向、车辆在下一时刻的方向盘转角、当前车速综合预判车辆行驶路径,进而判断车辆行驶路径与感知到的障碍物是否有碰撞危险。通过如下方式预测在下一时刻行车障碍物与车辆的距离值小于预设数值:When obtaining obstacle information, the vehicle control method provided by the embodiment of the present application does not simply rely on the distance between the obstacle and the vehicle for obstacle avoidance processing, but instead combines the vehicle's driving direction, the vehicle's steering wheel angle at the next moment, and the current vehicle speed comprehensively Predict the vehicle's driving path, and then determine whether there is a risk of collision between the vehicle's driving path and the perceived obstacles. The following method is used to predict that the distance between the obstacle and the vehicle at the next moment will be less than the preset value:
获取车辆在当前时刻的车速、行车方向和下一时刻方向盘的转角;根据车速、行车方向和方向盘转角获得在下一时刻行车障碍物与车辆的距离值。Obtain the vehicle's speed, driving direction and steering wheel angle at the current moment; obtain the distance value between the driving obstacle and the vehicle at the next moment based on the vehicle speed, driving direction and steering wheel angle.
当车辆控制器判断以当前时刻的车速、行车方向以及下一时刻方向盘的转角行驶,车辆与感知到的障碍物距离会逐渐减小,并且距离小于预设距离(例如,3m),此时车辆控制器会提前进行避障处理;如果系统感知到的障碍物与车辆距离小于预设距离,但是车辆控制器以车辆当前行驶方向和车速,下一时刻车辆与障碍物距离不会减小,车辆会发生转向,此时车辆控制器不会进行避障处理。When the vehicle controller determines to drive at the current vehicle speed, driving direction, and steering wheel angle at the next moment, the distance between the vehicle and the perceived obstacle will gradually decrease, and the distance will be less than the preset distance (for example, 3m). At this time, the vehicle The controller will perform obstacle avoidance processing in advance; if the distance between the obstacle and the vehicle sensed by the system is less than the preset distance, but the vehicle controller uses the vehicle's current driving direction and speed, the distance between the vehicle and the obstacle will not decrease at the next moment, and the vehicle Steering will occur, and the vehicle controller will not perform obstacle avoidance processing at this time.
S240、将车辆的历史行驶路径发送给移动终端。S240. Send the historical driving path of the vehicle to the mobile terminal.
在移动终端中获得的历史行驶路径包括在历史时间段从初始位置移动到终点位置的路径,以及行驶路径上的障碍物信息。The historical driving path obtained in the mobile terminal includes the path moving from the initial position to the end position in the historical time period, as well as obstacle information on the driving path.
S250、接收移动终端发送的目标返程路径,目标返程路径是移动终端根据在历史行驶路径上设置的返程起点和返程终点为车辆创建的。S250. Receive the target return path sent by the mobile terminal. The target return path is created by the mobile terminal for the vehicle based on the return starting point and return end point set on the historical driving path.
S260、获取在目标返程路径上包含的行车障碍物信息。S260. Obtain the driving obstacle information included on the target return path.
一般而言,若在短时间内基于历史行驶路径进行一键返程操作时,历史行驶路径中包含的障碍物信息与目标返程路径上的障碍物信息基本不会发生较大变化;若间隔时间较长进行一键返程后,则返程路径上包含的行车障碍物信息相比与历史行驶路径包含的行车障碍物信息会有一定差别。Generally speaking, if a one-click return operation is performed based on the historical driving path in a short period of time, the obstacle information contained in the historical driving path and the obstacle information on the target return path will not change significantly; After a long one-click return trip, the driving obstacle information contained on the return path will be different from the driving obstacle information contained on the historical driving path.
需要说明的是,本申请实施例不以时间间隔长短判断返程路径上的障碍物信息相比于历史行驶路径上的行车障碍物信息是否有变化为判断依据,以车辆在返程过程中实际检测到的障碍物为准。It should be noted that the embodiment of the present application does not use the length of the time interval to determine whether the obstacle information on the return path has changed compared with the obstacle information on the historical driving path. It is based on the actual detection of the vehicle during the return journey. obstacles.
S270、根据目标返程路径上的行车障碍物信息对目标返程路径上的行车障 碍物进行避障处理,以实现车辆的返程。S270. Based on the traffic obstacle information on the target return path, determine the traffic obstacles on the target return path. Obstacles are dealt with to avoid obstacles to achieve the return journey of the vehicle.
若在历史行驶路径中包含的障碍物信息与目标返程路径上的障碍物信息是一致的,则根据历史行驶路径上对障碍物进行避障时的路线执行一键返程即可。If the obstacle information contained in the historical driving path is consistent with the obstacle information on the target return path, then one-click return can be performed based on the route used to avoid obstacles on the historical driving path.
若目标返程路径上包含的行车障碍物信息相比与历史行驶路径包含的行车障碍物信息有较大变化时,车辆在返程过程中在检测到障碍物时需执行“获取车辆在当前时刻的车速、行车方向和下一时刻方向盘的转角;根据车速、行车方向和方向盘转角获得在下一时刻行车障碍物与车辆的距离值”的操作,在预测距离值小于预设数值时,控制车辆进行避障处理,以确保车辆能够安全返程。If the driving obstacle information contained on the target return path is significantly different from the driving obstacle information contained on the historical driving path, the vehicle needs to execute "Get the vehicle's speed at the current moment" when an obstacle is detected during the return journey. , driving direction and the steering wheel angle at the next moment; the operation of obtaining the distance value between the driving obstacle and the vehicle at the next moment based on the vehicle speed, driving direction and steering wheel angle. When the predicted distance value is less than the preset value, the vehicle is controlled to avoid obstacles. processing to ensure that the vehicle can return safely.
本申请实施例提供的车辆控制方法,通过车辆集成传感器融合(环视摄像头与超声波雷达)能够获取到车辆的环境信息,并同步到用户的移动终端,户可以通过移动终端远程遥控车辆进行泊出、搜索车位、泊入以及一键返程等泊车操作,实现超视距远程控制车辆;在基于行驶路径行驶过程中能够实现自动避障以及能够始终记忆上一时刻的车辆行驶路径及障碍物信息,并会对历史行驶路径进行拼接处理,在移动终端上显示历史行驶路径及障碍物信息,同时用户可以随意设置返回点,以实现安全可靠的一键返程操作,为用户提供极大便利。The vehicle control method provided by the embodiment of the present application can obtain the vehicle's environmental information through vehicle integrated sensor fusion (surround view camera and ultrasonic radar), and synchronize it to the user's mobile terminal. The user can remotely control the vehicle through the mobile terminal to park, park, and exit the vehicle. Parking operations such as searching for parking spaces, parking, and one-click return can realize remote control of vehicles beyond visual range; automatic obstacle avoidance can be achieved during driving based on the driving path, and the vehicle driving path and obstacle information at the previous moment can always be remembered. The historical driving path will be spliced together to display the historical driving path and obstacle information on the mobile terminal. At the same time, the user can set the return point at will to achieve a safe and reliable one-click return operation, providing users with great convenience.
图6是本申请实施例提供的车辆控制装置的一个结构示意图,该装置适用于执行本申请实施例提供的车辆控制方法。如图6所示,该装置可以包括:发送模块410、接收模块420和返程模块430,其中:发送模块410,设置为将车辆的历史行驶路径发送给移动终端;接收模块420,设置为接收所述移动终端发送的目标返程路径,所述目标返程路径是所述移动终端根据在所述历史行驶路径上设置的返程起点和返程终点为所述车辆创建的;返程模块430,设置为根据所述目标返程路径控制所述车辆返程。FIG. 6 is a schematic structural diagram of a vehicle control device provided by an embodiment of the present application. The device is suitable for executing the vehicle control method provided by an embodiment of the present application. As shown in Figure 6, the device may include: a sending module 410, a receiving module 420 and a return module 430, wherein: the sending module 410 is configured to send the historical driving path of the vehicle to the mobile terminal; the receiving module 420 is configured to receive all The target return path sent by the mobile terminal, the target return path is created by the mobile terminal for the vehicle according to the return starting point and return end point set on the historical driving path; the return module 430 is configured to according to the The target return path controls the vehicle's return journey.
本申请实施例提供的车辆控制装置,首先将车辆的历史行驶路径发送给移动终端;然后接收移动终端发送的目标返程路径,目标返程路径是移动终端根据在历史行驶路径上设置的返程起点和返程终点为车辆创建的;最后根据目标返程路径控制车辆返程。通过从移动终端根据历史行驶路线创建目标返回路径的方式,可控制车辆进行一键返程操作,解决了相关技术中当车辆有返回需求时需要用户进行实时操控的问题,便于用户操作,提升了用户体验。The vehicle control device provided by the embodiment of the present application first sends the historical driving path of the vehicle to the mobile terminal; and then receives the target return path sent by the mobile terminal. The target return path is the return starting point and return journey set by the mobile terminal on the historical driving path. The end point is created for the vehicle; finally, the vehicle's return is controlled based on the target return path. By creating a target return path based on the historical driving route from the mobile terminal, the vehicle can be controlled to perform a one-click return operation, which solves the problem in related technologies that the user needs to perform real-time control when the vehicle needs to return, making it easier for the user to operate and improving the user experience. experience.
一实施例中,所述装置包括:获取模块、生成模块和控制模块,其中:获取模块,设置为获取所述车辆的初始位置,所述初始位置为所述车辆在历史时刻行驶前的位置;生成模块,设置为接收所述移动终端在所述历史时刻发送的终点位置,根据所述初始位置和所述终点位置生成所述车辆的初始行驶路径;控制模块,设置为控制所述车辆基于所述初始行驶路径进行移动后获得所述历 史行驶路径。In one embodiment, the device includes: an acquisition module, a generation module and a control module, wherein: the acquisition module is configured to acquire the initial position of the vehicle, where the initial position is the position of the vehicle before traveling at a historical moment; The generation module is configured to receive the end position sent by the mobile terminal at the historical moment, and generate the initial driving path of the vehicle based on the initial position and the end position; the control module is configured to control the vehicle based on the After moving the initial driving path, the history is obtained. History driving route.
一实施例中,所述控制模块包括:第一获取单元、标记单元和第一获得单元,其中:第一获取单元,设置为获取所述车辆根据所述初始行驶路径实时移动产生的实时行驶路径;标记单元,设置为当所述实时行驶路径的曲率半径大于预设数值时,对所述实时行驶路径进行标记,获得路径标记点;第一获得单元,设置为根据当前路径标记点与历史路径标记点的位置关系获得所述历史行驶路径。In one embodiment, the control module includes: a first acquisition unit, a marking unit and a first acquisition unit, wherein: the first acquisition unit is configured to acquire the real-time driving path generated by the real-time movement of the vehicle according to the initial driving path. ; The marking unit is configured to mark the real-time driving path when the curvature radius of the real-time driving path is greater than a preset value, and obtain path marking points; the first obtaining unit is configured to mark the real-time driving path according to the current path marking point and the historical path. The historical driving route is obtained from the positional relationship of the marked points.
一实施例中,所述历史路径标记点包括:第一路径标记点和第二路径标记点,所述第一路径标记点为在所述当前路径标记点的上一时间段记录的路径标记点,所述第二路径标记点为在所述第一路径标记点的上一时间段记录的路径标记点;其中,所述当前路径标记点和所述第一路径标记点形成第一路段,所述第一路径标记点和第二路径标记点形成第二路段;所述第一获得单元包括:判断子单元、舍弃子单元和保留子单元,其中:判断子单元,设置为判断所述当前路径标记点和所述第二路径标记点之间的距离是否大于所述第一路段;若所述当前路径标记点和所述第二路径标记点之间的距离不大于所述第一路段,舍弃子单元,设置为舍弃所述第一路段,保留所述第二路段,获得所述历史行驶路径;若所述当前路径标记点和所述第二路径标记点之间的距离大于所述第一路段,保留子单,设置为保留所述第一路段和所述第二路段,获得所述历史行驶路径。In one embodiment, the historical path marker points include: a first path marker point and a second path marker point, and the first path marker point is a path marker point recorded in the previous time period of the current path marker point. , the second path marker point is a path marker point recorded in the previous time period of the first path marker point; wherein the current path marker point and the first path marker point form a first road segment, so The first path marking point and the second path marking point form a second road segment; the first obtaining unit includes: a judging subunit, a discarding subunit and a retaining subunit, wherein: the judging subunit is configured to judge the current path Whether the distance between the marking point and the second path marking point is greater than the first road segment; if the distance between the current path marking point and the second path marking point is not greater than the first road segment, discard it A subunit configured to discard the first road segment, retain the second road segment, and obtain the historical driving path; if the distance between the current path marking point and the second path marking point is greater than the first Road segment, reserved sub-list, is set to retain the first road segment and the second road segment to obtain the historical driving path.
一实施例中,所述历史行驶路径还包括行车障碍物信息,所述装置还包括:第一确定模块和第二确定模块,其中:第一确定模块,设置为在控制所述车辆基于所述初始行驶路径进行移动的过程中,确定行车障碍物;第二确定模块,用于当预测在下一时刻所述行车障碍物与所述车辆的距离值小于预设数值时,将所述行车障碍物相对于所述车辆的位置信息确定为所述行车障碍物信息。In one embodiment, the historical driving path also includes driving obstacle information, and the device further includes: a first determination module and a second determination module, wherein: the first determination module is configured to control the vehicle based on the During the movement of the initial driving path, the driving obstacle is determined; the second determination module is used to determine the driving obstacle when the distance between the driving obstacle and the vehicle is predicted to be less than a preset value at the next moment. The position information relative to the vehicle is determined as the driving obstacle information.
一实施例中,所述第二确定模块包括:第二获取单元和第二获得单元,其中:第二获取单元,设置为获取所述车辆在当前时刻的车速、行车方向和下一时刻方向盘的转角;第二获得单元,设置为根据所述车速、所述行车方向和所述方向盘转角获得在下一时刻所述行车障碍物与所述车辆的距离值。In one embodiment, the second determination module includes: a second acquisition unit and a second acquisition unit, wherein: the second acquisition unit is configured to acquire the speed, driving direction of the vehicle at the current moment and the direction of the steering wheel at the next moment. Turning angle; a second obtaining unit configured to obtain the distance value between the driving obstacle and the vehicle at the next moment based on the vehicle speed, the driving direction and the steering wheel angle.
一实施例中,所述第二获得单元包括:获取子单元和处理子单元,其中:获取子单元,设置为获取在所述目标返程路径上包含的行车障碍物信息;处理子单元,设置为根据所述目标返程路径上包含的行车障碍物信息对所述目标返程路径上的行车障碍物进行避障处理,以实现所述车辆的返程。In one embodiment, the second obtaining unit includes: an obtaining subunit and a processing subunit, wherein: the obtaining subunit is configured to obtain the driving obstacle information contained on the target return path; and the processing subunit is configured to Obstacle avoidance processing is performed on the driving obstacles on the target return path according to the driving obstacle information contained on the target return path, so as to realize the return journey of the vehicle.
本领域的技术人员可以了解到,为描述的方便和简洁,仅以上述多个功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不 同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述功能模块的工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can understand that for the convenience and simplicity of description, only the division of the above multiple functional modules is used as an example. In practical applications, the above functions can be allocated by different methods according to needs. The same functional modules are completed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. For the working process of the functional module described above, reference may be made to the corresponding process in the foregoing method embodiment, which will not be described again here.
本申请实施例还提供了一种车辆,所述车辆包括:至少一个处理器;以及与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的计算机程序,所述计算机程序被所述至少一个处理器执行,以使所述至少一个处理器能够执行本申请任一实施例所述的车辆控制方法。An embodiment of the present application also provides a vehicle, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores information that can be executed by the at least one processor. A computer program, the computer program is executed by the at least one processor, so that the at least one processor can execute the vehicle control method described in any embodiment of the present application.
本申请实施例还提供了一种计算机可读介质,所述计算机可读存储介质存储有计算机指令,所述计算机指令用于使处理器执行时实现本申请任一实施例所述的车辆控制方法。Embodiments of the present application also provide a computer-readable medium. The computer-readable storage medium stores computer instructions. The computer instructions are used to enable the processor to implement the vehicle control method described in any embodiment of the present application when executed. .
下面参考图7,其示出了适于用来实现本申请实施例的车辆的计算机系统500的结构示意图。图7示出的车辆仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。Referring now to FIG. 7 , a schematic structural diagram of a vehicle computer system 500 suitable for implementing embodiments of the present application is shown. The vehicle shown in FIG. 7 is only an example and should not impose any restrictions on the functions and scope of use of the embodiments of the present application.
如图7所示,计算机系统500包括中央处理单元(Central Processing Unit,CPU)501,其可以根据存储在只读存储器(Read-Only Memory,ROM)502中的程序或者从存储部分508加载到随机访问存储器(Random Access Memory,RAM)503中的程序而执行多种适当的动作和处理。在RAM 503中,还存储有系统500操作所需的多种程序和数据。CPU 501、ROM 502以及RAM 503通过总线504彼此相连。输入/输出(Input/Output,I/O)接口505也连接至总线504。As shown in Figure 7, the computer system 500 includes a central processing unit (Central Processing Unit, CPU) 501, which can be loaded into a random accessory according to a program stored in a read-only memory (Read-Only Memory, ROM) 502 or from a storage part 508. Access the program in the memory (Random Access Memory, RAM) 503 to perform various appropriate actions and processes. In the RAM 503, various programs and data required for the operation of the system 500 are also stored. CPU 501, ROM 502 and RAM 503 are connected to each other through bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
以下部件连接至I/O接口505:包括键盘、鼠标等的输入部分506;包括诸如阴极射线管(Cathode Ray Tube,CRT)、液晶显示器(Liquid Crystal Display,LCD)等以及扬声器等的输出部分507;包括硬盘等的存储部分508;以及包括诸如局域网(Local Area Network,LAN)卡、调制解调器等的网络接口卡的通信部分509。通信部分509经由诸如因特网的网络执行通信处理。驱动器510也根据需要连接至I/O接口505。可拆卸介质511,诸如磁盘、光盘、磁光盘、半导体存储器等,根据需要安装在驱动器510上,以便于从其上读出的计算机程序根据需要被安装入存储部分508。The following components are connected to the I/O interface 505: an input part 506 including a keyboard, a mouse, etc.; an output part 507 including a cathode ray tube (Cathode Ray Tube, CRT), a liquid crystal display (Liquid Crystal Display, LCD), etc., and a speaker, etc. ; a storage part 508 including a hard disk, etc.; and a communication part 509 including a network interface card such as a Local Area Network (LAN) card, a modem, etc. The communication section 509 performs communication processing via a network such as the Internet. Driver 510 is also connected to I/O interface 505 as needed. Removable media 511, such as magnetic disks, optical disks, magneto-optical disks, semiconductor memories, etc., are installed on the drive 510 as needed, so that a computer program read therefrom is installed into the storage portion 508 as needed.
根据本申请公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本申请公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分509从网络上被下载和安装,和/或从可拆卸介质511被安装。在该计算机程序被CPU501执行时,执行本申请的系统中限定的上述功能。 According to embodiments disclosed in the present application, the process described above with reference to the flowchart may be implemented as a computer software program. For example, embodiments disclosed in the present application include a computer program product including a computer program carried on a computer-readable medium, the computer program including program code for executing the method shown in the flowchart. In such embodiments, the computer program may be downloaded and installed from the network via communication portion 509 and/or installed from removable media 511 . When this computer program is executed by the CPU 501, the above functions defined in the system of the present application are executed.
需要说明的是,本申请所示的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、RAM、ROM、可擦式可编程只读存储器(Erasable Programmable Read-Only Memory,EPROM)或闪存、光纤、便携式紧凑磁盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本申请中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本申请中,计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:无线、电线、光缆、射频(Radio Frequency,RF)等,或者上述的任意合适的组合。It should be noted that the computer-readable medium shown in this application may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two. The computer-readable storage medium may be, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any combination thereof. Examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard drives, RAM, ROM, Erasable Programmable Read-Only Memory (EPROM) ) or flash memory, optical fiber, portable compact disk read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. As used herein, a computer-readable storage medium may be any tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, in which computer-readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device . Program code contained on a computer-readable medium can be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, radio frequency (Radio Frequency, RF), etc., or any suitable combination of the above.
附图中的流程图和框图,图示了按照本申请多种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,上述模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图或流程图中的每个方框、以及框图或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functions and operations of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more logic functions that implement the specified executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown one after another may actually execute substantially in parallel, or they may sometimes execute in the reverse order, depending on the functionality involved. It will also be noted that each block in the block diagram or flowchart illustration, and combinations of blocks in the block diagram or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or operations, or may be implemented by special purpose hardware-based systems that perform the specified functions or operations. Achieved by a combination of specialized hardware and computer instructions.
描述于本申请实施例中所涉及到的模块和/或单元可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的模块和/或单元也可以设置在处理器中,例如,可以描述为:一种处理器包括发送模块、接收模块和返程模块。其中,这些模块的名称在一种情况下并不构成对该模块本身的限定。The modules and/or units involved in the embodiments of this application can be implemented in software or hardware. The described modules and/or units may also be provided in a processor. For example, it may be described as follows: a processor includes a sending module, a receiving module and a return module. Among them, the names of these modules do not constitute a limitation on the module itself.
本申请还提供了一种计算机可读介质,该计算机可读介质可以是上述实施例中描述的设备中所包含的;也可以是单独存在,而未装配入该设备中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被一个该 设备执行时,使得该设备包括:将车辆的历史行驶路径发送给移动终端;接收所述移动终端发送的目标返程路径,所述目标返程路径是所述移动终端根据在所述历史行驶路径上设置的返程起点和返程终点为所述车辆创建的;根据所述目标返程路径控制所述车辆返程。This application also provides a computer-readable medium. The computer-readable medium may be included in the device described in the above embodiments; it may also exist separately without being assembled into the device. The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are loaded by a When the device is executed, the device includes: sending the historical driving path of the vehicle to the mobile terminal; receiving a target return path sent by the mobile terminal, where the target return path is set by the mobile terminal on the historical driving path. The return starting point and return end point are created for the vehicle; the vehicle's return is controlled according to the target return path.
根据本申请实施例的技术方案,通过从移动终端根据历史行驶路线创建目标返回路径的方式,可控制车辆进行一键返程操作,解决了相关技术中当车辆有返回需求时需要用户进行实时操控的问题,便于用户操作,提升了用户体验。 According to the technical solution of the embodiment of the present application, by creating a target return path based on the historical driving route from the mobile terminal, the vehicle can be controlled to perform a one-click return operation, which solves the problem in related technologies that the user needs to perform real-time control when the vehicle has a need to return. problem, which facilitates user operation and improves user experience.

Claims (10)

  1. 一种车辆控制方法,包括:A vehicle control method including:
    将车辆的历史行驶路径发送给移动终端;Send the vehicle's historical driving path to the mobile terminal;
    接收所述移动终端发送的目标返程路径,所述目标返程路径是所述移动终端根据在所述历史行驶路径上设置的返程起点和返程终点为所述车辆创建的;Receive the target return path sent by the mobile terminal, the target return path is created by the mobile terminal for the vehicle based on the return starting point and return end point set on the historical driving path;
    根据所述目标返程路径控制所述车辆返程。The vehicle's return journey is controlled according to the target return path.
  2. 根据权利要求1所述的方法,其中,所述历史行驶路径通过以下方式生成:The method according to claim 1, wherein the historical driving route is generated by:
    获取所述车辆的初始位置,所述初始位置为所述车辆在历史时刻行驶前的位置;Obtain the initial position of the vehicle, which is the position of the vehicle before traveling at the historical moment;
    接收所述移动终端在所述历史时刻发送的终点位置,根据所述初始位置和所述终点位置生成所述车辆的初始行驶路径;Receive the end position sent by the mobile terminal at the historical moment, and generate the initial driving path of the vehicle based on the initial position and the end position;
    控制所述车辆基于所述初始行驶路径进行移动后获得所述历史行驶路径。The historical driving path is obtained after controlling the vehicle to move based on the initial driving path.
  3. 根据权利要求2所述的方法,其中,所述控制所述车辆基于所述初始行驶路径进行移动后获得所述历史行驶路径,包括:The method according to claim 2, wherein the controlling the vehicle to move based on the initial driving path to obtain the historical driving path includes:
    获取所述车辆根据所述初始行驶路径实时移动产生的实时行驶路径;Obtain the real-time driving path generated by the real-time movement of the vehicle according to the initial driving path;
    在所述实时行驶路径的曲率半径大于预设数值的情况下,对所述实时行驶路径进行标记,获得路径标记点;When the curvature radius of the real-time driving path is greater than a preset value, mark the real-time driving path to obtain path marking points;
    根据当前路径标记点与历史路径标记点的位置关系获得所述历史行驶路径。The historical driving route is obtained according to the positional relationship between the current route marking point and the historical route marking point.
  4. 根据权利要求3所述的方法,其中,所述历史路径标记点包括:第一路径标记点和第二路径标记点,所述第一路径标记点为在所述当前路径标记点的上一时间段记录的路径标记点,所述第二路径标记点为在所述第一路径标记点的上一时间段记录的路径标记点;The method according to claim 3, wherein the historical path marker point includes: a first path marker point and a second path marker point, and the first path marker point is the previous time of the current path marker point. The path mark point recorded in the segment, the second path mark point is the path mark point recorded in the previous time period of the first path mark point;
    其中,所述当前路径标记点和所述第一路径标记点形成第一路段,所述第一路径标记点和第二路径标记点形成第二路段;Wherein, the current path marking point and the first path marking point form a first road section, and the first path marking point and the second path marking point form a second road section;
    所述根据当前路径标记点与历史路径标记点的位置关系获得所述历史行驶路径,包括:Obtaining the historical driving path based on the positional relationship between the current path marker point and the historical path marker point includes:
    判断所述当前路径标记点和所述第二路径标记点之间的距离是否大于所述第一路段;Determine whether the distance between the current path marking point and the second path marking point is greater than the first road segment;
    响应于所述当前路径标记点和所述第二路径标记点之间的距离不大于所述第一路段的确定结果,舍弃所述第一路段,保留所述第二路段,获得所述历史 行驶路径;In response to the determination result that the distance between the current path marker point and the second path marker point is not greater than the first road segment, the first road segment is discarded, the second road segment is retained, and the history is obtained driving path;
    响应于所述当前路径标记点和所述第二路径标记点之间的距离大于所述第一路段的确定结果,保留所述第一路段和所述第二路段,获得所述历史行驶路径。In response to a determination result that the distance between the current path marker point and the second path marker point is greater than the first road segment, the first road segment and the second road segment are retained, and the historical driving path is obtained.
  5. 根据权利要求2所述的方法,其中,所述历史行驶路径还包括行车障碍物信息,所述行车障碍物信息通过以下方式得到:The method according to claim 2, wherein the historical driving path also includes driving obstacle information, and the driving obstacle information is obtained in the following manner:
    在控制所述车辆基于所述初始行驶路径进行移动的过程中,确定行车障碍物;In the process of controlling the vehicle to move based on the initial driving path, determining driving obstacles;
    在预测在下一时刻所述行车障碍物与所述车辆的距离值小于预设数值的情况下,将所述行车障碍物相对于所述车辆的位置信息确定为所述行车障碍物信息。When it is predicted that the distance value between the driving obstacle and the vehicle at the next moment is less than a preset value, the position information of the driving obstacle relative to the vehicle is determined as the driving obstacle information.
  6. 根据权利要求5所述的方法,其中,所述预测在下一时刻所述行车障碍物与所述车辆的距离值小于预设数值,包括:The method according to claim 5, wherein the prediction that the distance value between the driving obstacle and the vehicle at the next moment is less than a preset value includes:
    获取所述车辆在当前时刻的车速、行车方向和所述下一时刻方向盘的转角;Obtain the speed, driving direction of the vehicle at the current moment and the steering wheel angle at the next moment;
    根据所述车速、所述行车方向和所述方向盘转角获得在所述下一时刻所述行车障碍物与所述车辆的距离值。The distance value between the driving obstacle and the vehicle at the next moment is obtained based on the vehicle speed, the driving direction and the steering wheel angle.
  7. 根据权利要求5所述的方法,其中,所述根据所述目标返程路径控制所述车辆返程,包括:The method according to claim 5, wherein the controlling the vehicle return trip according to the target return path includes:
    获取在所述目标返程路径上包含的行车障碍物信息;Obtain the driving obstacle information contained on the target return path;
    根据所述目标返程路径上包含的行车障碍物信息对所述目标返程路径上的行车障碍物进行避障处理,以实现所述车辆的返程。Obstacle avoidance processing is performed on the driving obstacles on the target return path according to the driving obstacle information contained on the target return path, so as to realize the return journey of the vehicle.
  8. 一种车辆控制装置,包括:A vehicle control device including:
    发送模块,设置为将车辆的历史行驶路径发送给移动终端;A sending module, configured to send the historical driving path of the vehicle to the mobile terminal;
    接收模块,设置为接收所述移动终端发送的目标返程路径,所述目标返程路径是所述移动终端根据在所述历史行驶路径上设置的返程起点和返程终点为所述车辆创建的;A receiving module configured to receive a target return path sent by the mobile terminal, where the target return path is created by the mobile terminal for the vehicle based on the return starting point and return end point set on the historical driving path;
    返程模块,设置为根据所述目标返程路径控制所述车辆返程。A return module is configured to control the vehicle's return according to the target return path.
  9. 一种车辆,包括:A vehicle including:
    至少一个处理器;以及at least one processor; and
    与所述至少一个处理器通信连接的存储器;其中, a memory communicatively connected to the at least one processor; wherein,
    所述存储器存储有可被所述至少一个处理器执行的计算机程序,所述计算机程序被所述至少一个处理器执行,以使所述至少一个处理器能够执行权利要求1-7中任一项所述的车辆控制方法。The memory stores a computer program executable by the at least one processor, the computer program being executed by the at least one processor, so that the at least one processor can execute any one of claims 1-7 The vehicle control method.
  10. 一种计算机可读存储介质,其上存储有计算机程序,其中,该程序被处理器执行时实现如权利要求1-7任一项所述的车辆控制方法。 A computer-readable storage medium on which a computer program is stored, wherein when the program is executed by a processor, the vehicle control method according to any one of claims 1-7 is implemented.
PCT/CN2023/099885 2022-06-15 2023-06-13 Vehicle control method and apparatus, vehicle, and storage medium WO2023241562A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210676543.XA CN114995440A (en) 2022-06-15 2022-06-15 Vehicle control method, vehicle control device, vehicle and storage medium
CN202210676543.X 2022-06-15

Publications (1)

Publication Number Publication Date
WO2023241562A1 true WO2023241562A1 (en) 2023-12-21

Family

ID=83034301

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/099885 WO2023241562A1 (en) 2022-06-15 2023-06-13 Vehicle control method and apparatus, vehicle, and storage medium

Country Status (2)

Country Link
CN (1) CN114995440A (en)
WO (1) WO2023241562A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114995440A (en) * 2022-06-15 2022-09-02 中国第一汽车股份有限公司 Vehicle control method, vehicle control device, vehicle and storage medium
CN114935905A (en) * 2022-06-15 2022-08-23 中国第一汽车股份有限公司 Parking method, parking device, vehicle and storage medium
CN117746640B (en) * 2024-02-20 2024-04-30 云南省公路科学技术研究院 Road traffic flow rolling prediction method, system, terminal and medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016126355A (en) * 2014-12-26 2016-07-11 富士通株式会社 Program, information delivery device, moving body terminal, and method
CN111301409A (en) * 2020-03-11 2020-06-19 中国第一汽车股份有限公司 Parking path planning method and device, vehicle and storage medium
CN111994064A (en) * 2020-08-31 2020-11-27 中国第一汽车股份有限公司 Vehicle control method, device, equipment, system and storage medium
CN113074747A (en) * 2021-03-25 2021-07-06 驭势科技(北京)有限公司 Path planning method, device, equipment and storage medium
CN113720339A (en) * 2020-05-26 2021-11-30 威马智慧出行科技(上海)有限公司 Automatic passenger-replacing parking call vehicle cancellation method, electronic equipment and automobile
CN114387792A (en) * 2022-01-18 2022-04-22 武汉路特斯汽车有限公司 Autonomous passenger-replacing vehicle moving method and system
CN114995440A (en) * 2022-06-15 2022-09-02 中国第一汽车股份有限公司 Vehicle control method, vehicle control device, vehicle and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014059653A (en) * 2012-09-14 2014-04-03 Jvc Kenwood Corp In-vehicle device, method for controlling in-vehicle device and program
CN111674465B (en) * 2020-05-25 2022-01-04 长城汽车股份有限公司 Reversing control method and system and vehicle
CN112549033B (en) * 2020-12-15 2022-12-02 灵动科技(北京)有限公司 Trajectory control method and device, robot and storage medium
CN113734154A (en) * 2021-07-26 2021-12-03 岚图汽车科技有限公司 Automatic reversing method and system
CN113561965B (en) * 2021-08-06 2023-05-12 上汽通用五菱汽车股份有限公司 Vehicle control method, vehicle, and computer-readable storage medium
CN114089677A (en) * 2021-11-19 2022-02-25 阿维塔科技(重庆)有限公司 Vehicle movement control method and device, vehicle and computer readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016126355A (en) * 2014-12-26 2016-07-11 富士通株式会社 Program, information delivery device, moving body terminal, and method
CN111301409A (en) * 2020-03-11 2020-06-19 中国第一汽车股份有限公司 Parking path planning method and device, vehicle and storage medium
CN113720339A (en) * 2020-05-26 2021-11-30 威马智慧出行科技(上海)有限公司 Automatic passenger-replacing parking call vehicle cancellation method, electronic equipment and automobile
CN111994064A (en) * 2020-08-31 2020-11-27 中国第一汽车股份有限公司 Vehicle control method, device, equipment, system and storage medium
CN113074747A (en) * 2021-03-25 2021-07-06 驭势科技(北京)有限公司 Path planning method, device, equipment and storage medium
CN114387792A (en) * 2022-01-18 2022-04-22 武汉路特斯汽车有限公司 Autonomous passenger-replacing vehicle moving method and system
CN114995440A (en) * 2022-06-15 2022-09-02 中国第一汽车股份有限公司 Vehicle control method, vehicle control device, vehicle and storage medium

Also Published As

Publication number Publication date
CN114995440A (en) 2022-09-02

Similar Documents

Publication Publication Date Title
WO2023241562A1 (en) Vehicle control method and apparatus, vehicle, and storage medium
WO2021180035A1 (en) Parking path planning method and apparatus, vehicle, and storage medium
US10459441B2 (en) Method and system for operating autonomous driving vehicles based on motion plans
JP7322201B2 (en) VEHICLE RUNNING CONTROL METHOD AND DEVICE
JP2019206327A (en) Method for generating trajectories for autonomous driving vehicles
US20200001863A1 (en) Planning parking trajectory for self-driving vehicles
CN113071493B (en) Method, apparatus, storage medium and program product for lane change control of vehicle
JP2020032998A (en) Vehicle controlling method and apparatus, computer device, and storage medium
WO2016175190A1 (en) Autonomous driving assistance system, autonomous driving assistance method, and computer program
JP6331984B2 (en) Automatic driving support system, automatic driving support method, and computer program
WO2020147360A1 (en) Driverless vehicle control method and device
JP7429888B2 (en) Parking support device, parking support system, and parking support method
WO2023201964A1 (en) Vehicle following target determination method and apparatus, and device and medium
JP2010237827A (en) Vehicle operation diagnosis device, vehicle operation diagnosis method, and computer program
JP2021195080A (en) On-vehicle device, and control method
WO2023241564A1 (en) Parking method and apparatus, vehicle, and storage medium
KR102359497B1 (en) A vehicle-platoons implementation under autonomous driving system designed for single vehicle
JP4774945B2 (en) Navigation device, navigation method, navigation system, and traffic jam information guide program
JP4844098B2 (en) Navigation device, navigation method, navigation system, and traffic information guide program
CN112235362B (en) Position determination method, device, equipment and storage medium
JP7298699B2 (en) Vehicle remote control method and vehicle remote control device
TWI578284B (en) A parking guidance system, and it's parking method and departure method
JP2019053394A (en) Automatic driving support device and computer program
WO2021196985A1 (en) Automatic driving method and device
CN115372020A (en) Automatic driving vehicle test method, device, electronic equipment and medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23823130

Country of ref document: EP

Kind code of ref document: A1