Vehicle reverse driving control method, device, electronic device and storage medium
By acquiring and analyzing the driving status information of the vehicle, using pre-trained models and sensors to perform retrograde detection and controlling the vehicle to slow down, it solves the problem of low retrograde control efficiency in the existing technology and realizes real-time monitoring and control of retrograde vehicles. .
Patent Information
- Application Number
- CN201910683884.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-07-26
- Publication Date
- 2024-09-06
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing technology cannot monitor and control the vehicle in real time when it detects that the vehicle is traveling retrograde, resulting in low efficiency of retrograde control.
By obtaining the current driving status information of the target vehicle, the matching deceleration control information is determined, and the vehicle is controlled to decelerate until it stops. The pre-trained retrograde control model and sensors are used for retrograde detection.
Real-time control of retrograde vehicles is achieved, retrograde control efficiency is improved, and road safety is ensured.
Smart Images

Figure CN111857116B
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle control technology, and in particular to a vehicle reverse driving control method, device, electronic device and storage medium. Background Art
[0002] With the development of science and technology and the improvement of people's living standards, more and more users are riding bicycles to travel. With the popularity of shared electric vehicles and shared bicycles, more and more vehicles are appearing on the road. Among them, driving against traffic is a serious behavior, and many traffic accidents occur every year.
[0003] Based on the above problems, when the related technology detects that the vehicle is traveling in the wrong direction, it usually notifies the user who is traveling in the wrong direction by means of a verbal warning. However, this method cannot monitor and control the vehicle in real time, and the efficiency of vehicle reverse control is low. Summary of the invention
[0004] In view of this, the purpose of the present application is to provide a vehicle reverse control method, device, electronic device and storage medium, which can control the vehicle to decelerate until it stops by adopting a deceleration strategy that matches the current reverse vehicle, thereby improving the reverse control efficiency of the vehicle.
[0005] In a first aspect, an embodiment of the present application provides a vehicle reverse driving control method, the method comprising:
[0006] When it is determined that the target vehicle is traveling in the reverse direction, obtaining current driving state information of the target vehicle;
[0007] Based on the current driving state information of the target vehicle, determining target deceleration control information matching the current driving state information;
[0008] Based on the determined target deceleration control information, the target vehicle is controlled to decelerate and travel until it stops.
[0009] In a possible implementation manner, the current driving state information includes the current driving time from the start time point of use of the target vehicle to the current time point; and determining the target deceleration control information matching the current driving state information based on the current driving state information of the target vehicle includes:
[0010] If the current driving time of the target vehicle is less than a set time threshold, deceleration control information matching the set time threshold is obtained as the target deceleration control information.
[0011] In a possible implementation manner, determining, based on the current driving state information of the target vehicle, target deceleration control information matching the current driving state information includes:
[0012] Inputting the current driving state information of the target vehicle into a pre-trained reverse traffic control model, and obtaining a target state score corresponding to the target vehicle output by the reverse traffic control model;
[0013] According to the mapping relationship between the state score and the deceleration control information, the target deceleration control information corresponding to the target state score is selected.
[0014] In a possible implementation manner, controlling the target vehicle to decelerate and travel until it stops based on the determined target deceleration control information includes:
[0015] Based on the determined target deceleration control information, reducing the power of the power control device of the target vehicle until the current driving speed of the target vehicle reaches a set speed threshold;
[0016] Alternatively, based on the determined target deceleration control information, the braking force of the brake control device of the target vehicle is increased until the current driving speed of the target vehicle reaches a set speed threshold;
[0017] Alternatively, based on the determined target deceleration control information, the power output of the power control device of the target vehicle is reduced, and the braking force of the brake control device of the target vehicle is increased, until the current driving speed of the target vehicle reaches a set speed threshold.
[0018] In a possible implementation manner, the controlling the target vehicle to decelerate and travel until it stops based on the determined target deceleration control information further includes:
[0019] reducing the power of the power control device of the target vehicle based on the determined target deceleration control information;
[0020] When it is detected that the power of the power control device of the target vehicle is reduced to a preset power threshold, continue to monitor the current driving state information of the target vehicle;
[0021] If it is determined based on the current driving state information that the target vehicle is traveling in a reverse driving direction and the driving speed is greater than a preset speed threshold, the braking force of the braking control device of the target vehicle is increased.
[0022] In a possible implementation manner, for a case where the power of the power control device of the target vehicle is reduced based on the determined target deceleration control information:
[0023] reducing the power of the power control device of the target vehicle according to the power step length per unit time in the target deceleration control information;
[0024] For a case where the braking force of the braking control device of the target vehicle is increased based on the determined target deceleration control information:
[0025] The braking force of the braking control device of the target vehicle is increased according to the force step length per unit time in the target deceleration control information.
[0026] In a possible implementation manner, in the process of controlling the target vehicle to decelerate and travel until it stops based on the determined target deceleration control information, the method further includes:
[0027] The voice device installed on the target vehicle is controlled to play voice, so as to remind the user through the played voice that the vehicle is currently in a reverse driving state.
[0028] In a possible implementation, a method for detecting a target vehicle driving in the wrong direction includes:
[0029] Acquire the relative speed information of the target vehicle relative to each reference object; wherein the reference object is located in front of the target vehicle;
[0030] Determining the probability of the target vehicle traveling in the wrong direction based on the comparison results of the relative speed information of the target vehicle relative to each reference object and the preset maximum speed;
[0031] If the probability of the target vehicle traveling in the wrong direction is greater than a first preset threshold, starting an image sensor installed on the target vehicle so that the image sensor collects image information corresponding to the current driving direction of the target vehicle;
[0032] Whether the target vehicle is traveling in the wrong direction is determined based on the image information corresponding to the current traveling direction of the target vehicle and the current traveling direction of the target vehicle.
[0033] In a possible implementation manner, determining the probability of the target vehicle traveling in the wrong direction based on the comparison results of the relative speed information of the target vehicle relative to each reference object with the preset maximum speed respectively includes:
[0034] The relative speed information of the target vehicle relative to each reference object is compared with the preset maximum speed, and at least one of the following information is input into the trained reverse driving control model to obtain the reverse driving probability of the target vehicle:
[0035] The current position information and position attribute information of the target vehicle; the comparison result between the current driving speed information of the target vehicle and each of the relative speed information; the distribution of the relative speed information in each monitoring cycle; the total duration information of the relative speed information less than the second preset threshold in each monitoring cycle; the total duration information of the relative speed information greater than the third preset threshold in each monitoring cycle; the current driving direction of the target vehicle; the historical reverse driving probability of the target lane where the target vehicle is located.
[0036] In a possible implementation manner, the comparison result between the current driving speed information of the target vehicle and each of the relative speed information is determined by the following method:
[0037] Obtaining current driving speed information of the target vehicle;
[0038] For any reference object, the current driving speed information of the target vehicle is compared with the relative speed information of the target vehicle relative to the reference object to obtain a comparison result between the current driving speed information of the target vehicle and the relative speed information matching the reference object.
[0039] In a possible implementation manner, obtaining the current driving speed information of the target vehicle includes:
[0040] Acquire motor speed information of the target vehicle read by a Hall sensor installed on the target vehicle;
[0041] The current driving speed information of the target vehicle is determined according to the motor speed information and the tire circumference information of the target vehicle.
[0042] In a second aspect, an embodiment of the present application further provides a vehicle reverse driving control device, the device comprising:
[0043] A first acquisition module, used for acquiring current driving state information of the target vehicle when it is determined that the target vehicle is driving in the reverse direction;
[0044] A first determination module, configured to determine, based on the current driving state information of the target vehicle, target deceleration control information matching the current driving state information;
[0045] The first control module is used to control the target vehicle to decelerate and stop based on the determined target deceleration control information.
[0046] In a possible implementation manner, the current driving state information includes the current driving time from the start time point when the target vehicle is used to the current time point; the first determination module determines the target deceleration control information matching the current driving state information based on the current driving state information of the target vehicle by the following method:
[0047] If the current driving time of the target vehicle is less than a set time threshold, deceleration control information matching the set time threshold is obtained as the target deceleration control information.
[0048] In a possible implementation manner, the first determination module determines the target deceleration control information matching the current driving state information based on the current driving state information of the target vehicle by the following method:
[0049] Inputting the current driving state information of the target vehicle into a pre-trained reverse traffic control model, and obtaining a target state score corresponding to the target vehicle output by the reverse traffic control model;
[0050] According to the mapping relationship between the state score and the deceleration control information, the target deceleration control information corresponding to the target state score is selected.
[0051] In a possible implementation manner, the first control module controls the target vehicle to decelerate and travel until it stops based on the determined target deceleration control information by the following method:
[0052] Based on the determined target deceleration control information, reducing the power of the power control device of the target vehicle until the current driving speed of the target vehicle reaches a set speed threshold;
[0053] Alternatively, based on the determined target deceleration control information, the braking force of the brake control device of the target vehicle is increased until the current driving speed of the target vehicle reaches a set speed threshold;
[0054] Alternatively, based on the determined target deceleration control information, the power output of the power control device of the target vehicle is reduced, and the braking force of the brake control device of the target vehicle is increased, until the current driving speed of the target vehicle reaches a set speed threshold.
[0055] In a possible implementation manner, the first control module controls the target vehicle to decelerate and travel until it stops based on the determined target deceleration control information by the following method:
[0056] reducing the power of the power control device of the target vehicle based on the determined target deceleration control information;
[0057] When it is detected that the power of the power control device of the target vehicle is reduced to a preset power threshold, continue to monitor the current driving state information of the target vehicle;
[0058] If it is determined based on the current driving state information that the target vehicle is traveling in a reverse driving direction and the driving speed is greater than a preset speed threshold, the braking force of the braking control device of the target vehicle is increased.
[0059] In a possible implementation manner, in response to reducing the power of the power control device of the target vehicle based on the determined target deceleration control information, the first control module is configured to:
[0060] reducing the power of the power control device of the target vehicle according to the power step length per unit time in the target deceleration control information;
[0061] In response to the situation where the braking force of the braking control device of the target vehicle is increased based on the determined target deceleration control information, the first control module is used to:
[0062] The braking force of the braking control device of the target vehicle is increased according to the force step length per unit time in the target deceleration control information.
[0063] In a possible implementation manner, the device further includes a second control module;
[0064] The second control module is used to control the voice device installed on the target vehicle to play voice in the process of controlling the target vehicle to decelerate and stop based on the determined target deceleration control information, so as to prompt the user through the played voice that the user is currently in a reverse driving state.
[0065] In a possible implementation, the device further includes:
[0066] A second acquisition module is used to acquire relative speed information of the target vehicle relative to each reference object; wherein the reference object is located in front of the target vehicle;
[0067] A second determination module is used to determine the probability of the target vehicle traveling in the wrong direction based on the comparison results of the relative speed information of the target vehicle relative to each reference object and the preset maximum speed respectively;
[0068] A starting module, configured to start an image sensor installed on the target vehicle if the probability of the target vehicle traveling in the wrong direction is greater than a first preset threshold value, so that the image sensor collects image information corresponding to the current driving direction of the target vehicle;
[0069] The third determination module is used to determine whether the target vehicle is traveling in the wrong direction according to the image information corresponding to the current traveling direction of the target vehicle and the current traveling direction of the target vehicle.
[0070] In a possible implementation manner, the second determination module is executed by the following method to determine the probability of the target vehicle traveling in the wrong direction based on the comparison results of the relative speed information of the target vehicle relative to each reference object and the preset maximum pace respectively:
[0071] The relative speed information of the target vehicle relative to each reference object is compared with the preset maximum speed, and at least one of the following information is input into the trained reverse driving control model to obtain the reverse driving probability of the target vehicle:
[0072] The current position information and position attribute information of the target vehicle; the comparison result between the current driving speed information of the target vehicle and each of the relative speed information; the distribution of the relative speed information in each monitoring cycle; the total duration information of the relative speed information less than the second preset threshold in each monitoring cycle; the total duration information of the relative speed information greater than the third preset threshold in each monitoring cycle; the current driving direction of the target vehicle; the historical reverse driving probability of the target lane where the target vehicle is located.
[0073] In a possible implementation, the device further includes:
[0074] A third acquisition module is used to acquire the current driving speed information of the target vehicle;
[0075] The comparison module is used to compare the current driving speed information of the target vehicle with the relative speed information of the target vehicle relative to the reference object for any reference object, and obtain a comparison result of the current driving speed information of the target vehicle and the relative speed information matching the reference object.
[0076] In a possible implementation manner, the third acquisition module acquires the current driving speed information of the target vehicle by the following method:
[0077] Acquire motor speed information of the target vehicle read by a Hall sensor installed on the target vehicle;
[0078] The current driving speed information of the target vehicle is determined according to the motor speed information and the tire circumference information of the target vehicle.
[0079] In the third aspect, an embodiment of the present application also provides an electronic device, comprising: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium through the bus, and the processor executes the machine-readable instructions to perform the steps of the vehicle reverse control method described in any one of the first aspects.
[0080] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the vehicle reverse control method as described in any one of the first aspects are executed.
[0081] A vehicle reverse control method, device, electronic device and storage medium provided in an embodiment of the present application obtain the current driving state information of the target vehicle when determining that the target vehicle is driving in the reverse direction; based on the current driving state information of the target vehicle, determine the target deceleration control information that matches the current driving state information; based on the determined target deceleration control information, control the target vehicle to decelerate until it stops; in an embodiment of the present application, by adopting a deceleration strategy that matches the current reverse vehicle, the vehicle is controlled to decelerate until it stops, so that the reverse vehicle can be controlled in real time, thereby improving the reverse control efficiency of the vehicle. BRIEF DESCRIPTION OF THE DRAWINGS
[0082] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0083] Figure 1 A schematic diagram of the architecture of a vehicle reverse driving control system provided by an embodiment of the present application is shown;
[0084] Figure 2 A flow chart of a vehicle reverse driving control method provided by an embodiment of the present application is shown;
[0085] Figure 3 A flow chart showing another vehicle reverse driving control method provided by an embodiment of the present application is shown;
[0086] Figure 4 A flow chart showing another vehicle reverse driving control method provided by an embodiment of the present application is shown;
[0087] Figure 5 A flow chart showing another vehicle reverse driving control method provided by an embodiment of the present application is shown;
[0088] Figure 6 A flow chart showing another vehicle reverse driving control method provided by an embodiment of the present application is shown;
[0089] Figure 7 A flow chart showing another vehicle reverse driving control method provided by an embodiment of the present application is shown;
[0090] Figure 8A flow chart showing another vehicle reverse driving control method provided by an embodiment of the present application is shown;
[0091] Fig. 9 A schematic structural diagram of a vehicle reverse driving control device provided in an embodiment of the present application is shown;
[0092] Fig.10 A schematic structural diagram of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0093] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of order, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present application, or remove one or more operations from the flowchart.
[0094] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0095] In order to enable those skilled in the art to use the contents of this application, the following implementation methods are given in conjunction with the specific application scenario of "sharing vehicles". For those skilled in the art, the general principles defined herein can be applied to other embodiments and application scenarios without departing from the spirit and scope of this application. Although this application is mainly described around shared vehicles, it should be understood that this is only an exemplary embodiment, and the application can be applied to various private vehicles without limiting the type of vehicle. For example, the above-mentioned vehicles can be bicycles, electric power-assisted bicycles, electric cars, fuel-assisted bicycles, fuel-powered cars, etc.
[0096] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.
[0097] Figure 1 1 is a schematic diagram of the architecture of a vehicle reverse driving control system 100 provided in an embodiment of the present application. The vehicle reverse driving control system 100 includes a server 110, a network 120, a target vehicle 130 and a database 140; wherein a processor is installed in the target vehicle 130.
[0098] The following is combined with the above Figure 1 The contents described in the vehicle reverse driving control system 100 shown in the figure are used to describe in detail the vehicle reverse driving control method provided by the embodiment of the present application. Figure 2 As shown, it is a flow chart of a vehicle reverse travel control method provided by an embodiment of the present application. The method can be executed by a processor installed on a target vehicle 130 in a vehicle reverse travel control system 100, or by a server 110 in the vehicle reverse travel control system 100. The following takes the execution of the vehicle reverse travel control method by the server 110 as an example for explanation, wherein the specific execution process includes the following steps:
[0099] S201. When it is determined that the target vehicle is traveling in the wrong direction, obtain current driving state information of the target vehicle.
[0100] As an implementation method, the processor on the target vehicle uploads the current driving state information of the target vehicle to the server in real time (for example, every 1 second), and when the server determines that the target vehicle is traveling in the wrong direction, it obtains the current driving state information of the target vehicle at the current moment. The current moment is the moment when the server determines that the target vehicle is traveling in the wrong direction.
[0101] As another implementation, when the server determines that the target vehicle is traveling in the wrong direction, it sends a request message to the processor in the target vehicle, and the request message is used to request the current driving state information of the target vehicle at the current moment. After receiving the request message, the processor in the target vehicle obtains the current driving state information of the target vehicle and sends the obtained current driving state information to the server. The above current moment is the moment when the server determines that the target vehicle is traveling in the wrong direction.
[0102] In an embodiment of the present application, the server can detect whether the target vehicle is traveling in the opposite direction based on the current driving status information of the target vehicle; or, the server receives a detection result of whether the target vehicle is traveling in the opposite direction sent by a processor on the target vehicle.
[0103] Among them, the above-mentioned current driving status information includes at least one of the following information of the target vehicle: current driving speed; current driving time information; current driving time from the starting time point when the target vehicle is used to the current time point; current lane information; current road section information; current area information; point of interest POI category information of the current area; and carrying weight information of the target vehicle.
[0104] For example, the road section information is Suzhou Street in Haidian District, Beijing, the lane information is a south-to-north non-motorized vehicle lane, and the POI category information is finance (specifically, bank); for another example, the road section information is the North Fourth Ring West Road Auxiliary Road in Haidian District, Beijing, the lane information is an east-to-west non-motorized vehicle lane, and the POI category information is transportation (specifically, bus stop).
[0105] In the embodiment of the present application, the above steps may also be performed by a processor on the target vehicle, wherein the processor may detect whether the target vehicle is traveling in the wrong direction, or may receive a detection result of whether the target vehicle is traveling in the wrong direction sent by the server.
[0106] S202: Based on the current driving state information of the target vehicle, determine target deceleration control information that matches the current driving state information.
[0107] Here, different driving state information of the target vehicle matches different deceleration control strategies; wherein different deceleration control strategies include different deceleration control information.
[0108] The server selects a target deceleration control strategy that matches the current driving state information of the target vehicle from a plurality of deceleration control strategies stored in a database, wherein the target deceleration control strategy includes target deceleration control information.
[0109] In an embodiment of the present application, the above-mentioned deceleration control information includes at least one or more of the following information: the power step reduced per unit time, the force step increased per unit time, and the deceleration time.
[0110] For example, when the current driving time information is from 7:30 to 9:00 on weekdays (i.e., the morning rush hour), and the current road section and the current lane are located in the office area, in order to ensure user safety, a deceleration control strategy is adopted with a smaller power reduction step per unit time, a smaller force increase step per unit time, and a longer deceleration time.
[0111] For another example, the current driving time information is from 12:00 to 13:00 on weekends (i.e., the idle period), and the current road section and the current lane are located in the office area. A deceleration control strategy with a larger power reduction step per unit time, a larger force increase step per unit time, and a shorter deceleration time is adopted.
[0112] In an embodiment of the present application, the above steps can also be performed by a processor on the target vehicle. Accordingly, the processor selects a target deceleration control strategy that matches the current driving state information of the target vehicle from the stored multiple deceleration control strategies, and the target deceleration control strategy includes target deceleration control information.
[0113] S203: Based on the determined target deceleration control information, control the target vehicle to decelerate and travel until it stops.
[0114] In an embodiment of the present application, the server sends the target deceleration control information to a processor in the target vehicle, so that the processor controls the target vehicle to decelerate and stop based on the target deceleration control information.
[0115] When the above-mentioned vehicle reverse driving control method is executed by a processor on the target vehicle, the processor controls the target vehicle to decelerate and travel until it stops based on the target deceleration control information.
[0116] A vehicle reverse control method provided in an embodiment of the present application controls the vehicle to decelerate until it stops by adopting a deceleration strategy that matches the current reverse vehicle, thereby being able to control the reverse vehicle in real time and improving the reverse control efficiency of the vehicle.
[0117] The embodiments of the present application provide a variety of methods for determining target deceleration control information that matches the current driving state information of the target vehicle, including:
[0118] First, the current driving state information includes the current driving time from the start time point of use of the target vehicle to the current time point; step 202 determines the target deceleration control information matching the current driving state information based on the current driving state information of the target vehicle, including:
[0119] If the current driving time of the target vehicle is less than a set time threshold, deceleration control information matching the set time threshold is obtained as the target deceleration control information.
[0120] In this manner, the server database pre-stores deceleration control information that matches the set duration threshold. The server calculates the current driving duration of the target vehicle based on the starting time point when the target vehicle is used and the current driving duration at the current time point, and compares the current driving duration of the target vehicle with the set duration threshold. If it is detected that the current driving duration of the target vehicle is less than the set duration threshold, the server obtains the deceleration control information that matches the set duration threshold as the target deceleration control information.
[0121] The above-mentioned set time threshold can be set as needed, for example, set to 1 minute. It should be noted that the embodiment of the present application does not limit the above-mentioned set time threshold.
[0122] The second type, such as Figure 3 As shown, step 202 determines target deceleration control information matching the current driving state information based on the current driving state information of the target vehicle, including:
[0123] S301. Input the current driving state information of the target vehicle into a pre-trained reverse traffic control model, and obtain the target state score corresponding to the target vehicle output by the reverse traffic control model.
[0124] In the embodiment of the present application, the server includes a pre-trained reverse traffic control model. The processor inputs the current driving state information of the target vehicle into the pre-trained reverse traffic control model, and the reverse traffic control model outputs the target state score of the target vehicle.
[0125] As an implementation method, determining the current driving state information of the target vehicle includes at least one of the following information of the target vehicle: current driving speed; current driving time information; current driving time from the starting time point of use of the target vehicle to the current time point; current lane information; current road section information; current area information; POI category information of the current area; and carrying weight information of the target vehicle. Based on the above information, the training process of the retrograde control model in the processor is as follows:
[0126] A plurality of sample data are obtained, wherein the plurality of sample data include deceleration control information corresponding to each driving state; then, each driving state information is used as an explanatory variable, and the state score information of the vehicle is used as an explained variable, a nonlinear model is constructed, and the nonlinear model is trained through the plurality of sample data to obtain a retrograde control model.
[0127] S302: Select target deceleration control information corresponding to the target state score according to a mapping relationship between the state score and the deceleration control information.
[0128] The deceleration control information matching each state score is pre-stored in the database of the server. After determining the target score of the target vehicle, the server searches the database for the target deceleration control information corresponding to the target score.
[0129] In the embodiments of the present application, a variety of methods for controlling the target vehicle to decelerate and stop are provided, including:
[0130] The first method is to control the target vehicle to decelerate and stop based on the determined target deceleration control information, which can be any one of the following three methods:
[0131] (1) based on the determined target deceleration control information, reducing the power of the power control device of the target vehicle until the current driving speed of the target vehicle reaches a set speed threshold;
[0132] Here, when the target deceleration control information includes a power step per unit time, the server reduces the power of the power control device of the target vehicle according to the power step per unit time until the current driving speed of the target vehicle reaches a set speed threshold.
[0133] For example, the power of the target vehicle is reduced by 10W every 30 seconds until the current driving speed of the target vehicle is 0. It should be noted that the above-mentioned unit time, specific power step length and set speed threshold are not limited in the embodiment of the present application.
[0134] (2) increasing the braking force of the braking control device of the target vehicle based on the determined target deceleration control information until the current driving speed of the target vehicle reaches a set speed threshold;
[0135] Here, when the target deceleration control information includes the force step length per unit time, the server increases the braking force of the braking control device of the target vehicle according to the force step length per unit time.
[0136] For example, the braking force on the target vehicle is increased by 15N every 30 seconds until the current speed of the target vehicle is 0. It should be noted that the above-mentioned unit time, specific power step length and set speed threshold are not limited in the embodiment of the present application.
[0137] (3) Based on the determined target deceleration control information, the power of the power control device of the target vehicle is reduced, and at the same time, the braking force of the brake control device of the target vehicle is increased until the current driving speed of the target vehicle reaches a set speed threshold.
[0138] The server can also simultaneously reduce the power of the power control device of the target vehicle according to the power step within the above unit time, and increase the braking force of the braking control device of the target vehicle according to the force step within the above unit time until the current driving speed of the target vehicle reaches the set speed threshold.
[0139] The second type: Figure 4 As shown, the control of the target vehicle to decelerate and travel until it stops based on the determined target deceleration control information further includes:
[0140] S401. Reduce the power of a power control device of the target vehicle based on the determined target deceleration control information.
[0141] S402: When it is detected that the power of the power control device of the target vehicle is reduced to a preset power threshold, continue to monitor the current driving state information of the target vehicle.
[0142] S403: If it is determined based on the current driving state information that the target vehicle is traveling in a reverse driving direction and the driving speed is greater than a preset speed threshold, the braking force of the braking control device of the target vehicle is increased.
[0143] In combination with steps 401 to 403, the server first reduces the power of the power control device of the target vehicle according to the power step within the above-mentioned unit time. When it is detected that the power of the power control device of the target vehicle is reduced to a preset power threshold (the preset power threshold here is, for example, 0), if it is monitored that the target vehicle is traveling in the opposite direction to the reverse driving direction (for an electric vehicle, the user may be riding an electric vehicle at this time), the braking force of the braking control device of the target vehicle is increased according to the force step within the above-mentioned unit time.
[0144] Here, when the server executes the above process, the corresponding data is obtained and the target vehicle is controlled by the processor located on the target vehicle. When the processor located on the target vehicle executes the above process, the processor reports the processing result to the server so that the server records the relevant information of the target vehicle.
[0145] In the vehicle reverse travel control method provided in the embodiment of the present application, in the process of controlling the target vehicle to decelerate and travel until it stops based on the determined target deceleration control information, the method further includes:
[0146] The voice device installed on the target vehicle is controlled to play voice, so as to remind the user through the played voice that the vehicle is currently in a reverse driving state.
[0147] Here, the voice device is used to remind the user, on the one hand, to let the user know that he is currently driving in the wrong direction and to stop driving in the wrong direction as soon as possible; on the other hand, it also allows the user to clearly understand the wrong direction control situation for the target vehicle.
[0148] In the embodiment of the present application, when the server detects that the target vehicle is driving in the reverse direction, the server executes the above-mentioned vehicle reverse driving control method. Figure 5 As shown, in an embodiment of the present application, a method for detecting a target vehicle driving in the wrong direction includes:
[0149] S501. Obtain relative speed information of a target vehicle relative to each reference object; wherein the reference object is located in front of the target vehicle.
[0150] The target vehicle is equipped with a distance measuring sensor and a processor; wherein the distance measuring sensor measures the relative distance information of the target vehicle from a reference object located directly in front of the target vehicle in real time, and sends the measured relative distance information to the processor; the processor calculates the relative speed information of the target vehicle from the reference object directly in front based on the relative distance information. As an embodiment, the distance measuring sensor can be installed at the front position of the target vehicle. wherein the measurement period of the distance measuring sensor can be a unit time, such as 1s, and the embodiment of the present application does not limit the measurement period of the distance measuring sensor.
[0151] When the user rides the target vehicle, the front direction of the target vehicle usually changes. Therefore, the distance sensor measures the relative distance information between the target vehicle and each reference object directly in front of the target vehicle. The processor can calculate the relative speed information between the target vehicle and each reference object directly in front of the target vehicle based on the relative distance information of each reference object.
[0152] S502: Determine a probability of the target vehicle traveling in the wrong direction based on comparison results of the relative speed information of the target vehicle relative to each reference object with a preset maximum speed.
[0153] Here, the preset maximum speed can be set as needed. As an implementation, different lanes have different maximum speed information corresponding to different time periods. Accordingly, the processor obtains the position information of the target vehicle and searches for the maximum speed that matches the position information of the target vehicle. For any reference object, the processor compares the relative speed information matching the reference object with the preset maximum speed, and obtains a comparison result of the relative speed information matching the reference object and the preset maximum speed as a comparison result matching the reference object.
[0154] After obtaining the comparison results matching each reference object, the processor inputs these comparison results into a pre-trained wrong-travel detection model to obtain the wrong-travel probability of the target vehicle.
[0155] S503: If the probability of the target vehicle traveling in the wrong direction is greater than a first preset threshold, start an image sensor installed on the target vehicle so that the image sensor collects image information corresponding to the current driving direction of the target vehicle.
[0156] In the embodiment of the present application, after the processor inputs the comparison results of matching each reference object into the reverse detection model, the reverse detection model outputs the reverse driving probability of the target vehicle. The processor compares the reverse driving probability with the first preset threshold value, and if the reverse driving probability of the target vehicle is greater than the first preset threshold value, the image sensor installed on the target vehicle is activated. After activation, the image sensor collects image information corresponding to the current driving direction of the target vehicle in real time, and sends the collected image information to the processor, so that the processor can accurately detect whether the target vehicle is driving in the reverse direction based on the received image information.
[0157] In the embodiment of the present application, the above-mentioned probability of driving against traffic can be set as needed. For example, the probability of driving against traffic is set to 60%; for another example, the probability of driving against traffic is set to 65%; for another example, the probability of driving against traffic is set to 70%. It should be noted that the specific value of the above-mentioned probability of driving against traffic is not specifically limited in the embodiment of the present application.
[0158] S504: Determine whether the target vehicle is traveling in the wrong direction based on the image information corresponding to the current traveling direction of the target vehicle and the current traveling direction of the target vehicle.
[0159] In an embodiment of the present application, after receiving the image information sent by the image sensor, the processor determines the driving indication direction of the target lane where the target vehicle is located based on the received image information; and determines whether the target vehicle is traveling in the opposite direction based on the driving indication direction of the target lane where the target vehicle is located and the current driving direction of the target vehicle.
[0160] In the embodiment of the present application, the method of determining the probability of the target vehicle traveling in the wrong direction based on the relative speed information of the target vehicle relative to each reference object has low hardware cost. When the probability of the target vehicle traveling in the wrong direction is greater than the first preset threshold, the image sensor located on the target vehicle is activated, and the wrong direction detection method based on the combination of the probability of traveling in the wrong direction and the image sensor is performed, thereby improving the detection accuracy and detection efficiency; at the same time, the image sensor does not need to work in real time, which reduces resource consumption and improves resource utilization.
[0161] In the embodiment of the present application, in order to improve the detection accuracy of the probability of the target vehicle traveling in the wrong direction, the processor jointly determines the probability of the target vehicle traveling in the wrong direction based on the comparison results of matching each reference object and other characteristic information corresponding to the target vehicle. In the embodiment of the present application, based on the comparison results of the relative speed information of the target vehicle relative to each reference object and the preset maximum speed, the probability of the target vehicle traveling in the wrong direction is determined, including:
[0162] The relative speed information of the target vehicle relative to each reference object is compared with the preset maximum speed, and at least one of the following information is input into the trained reverse driving control model to obtain the reverse driving probability of the target vehicle:
[0163] The current position information and position attribute information of the target vehicle; the comparison result between the current driving speed information of the target vehicle and each of the relative speed information; the distribution of the relative speed information in each monitoring cycle; the total duration information of the relative speed information less than the second preset threshold in each monitoring cycle; the total duration information of the relative speed information greater than the third preset threshold in each monitoring cycle; the current driving direction of the target vehicle; the historical reverse driving probability of the target lane where the target vehicle is located.
[0164] In actual scenarios, the probability of a vehicle going in the opposite direction is usually low. If the target vehicle is going in the opposite direction, the number of vehicles driving normally in the target lane where the target vehicle is located is greater than the number of vehicles driving in the opposite direction. Accordingly, the relative speed information between the target vehicle and multiple consecutive reference objects is greater than the preset maximum speed. Therefore, the processor continuously monitors the relative speed information between the target vehicle and multiple consecutive reference objects, and compares the relative speed information of each reference object with the preset maximum speed as feature information for determining the probability of the target vehicle going in the opposite direction.
[0165] In the embodiment of the present application, when the relative speed information between the target vehicle and a plurality of consecutive reference objects is greater than a preset maximum speed, the probability that the target vehicle is traveling in the reverse direction is relatively high.
[0166] In the embodiment of the present application, the processor includes a pre-trained wrong-traffic detection model. The processor inputs the above-mentioned characteristic information of the target vehicle into the pre-trained wrong-traffic detection model, and the wrong-traffic detection model outputs the wrong-traffic probability of the target vehicle.
[0167] As an implementation method, the characteristic information for determining whether a vehicle is traveling in the wrong direction may include one or more of the following information: the current location information and location attribute information of the target vehicle; the comparison result between the current driving speed information of the target vehicle and each relative speed information; the distribution of the relative speed information in each monitoring cycle; the total duration information of the relative speed information less than the second preset threshold in each monitoring cycle; the total duration information of the relative speed information greater than the third preset threshold in each monitoring cycle; the current driving direction of the target vehicle; the historical probability of traveling in the wrong direction in the target lane where the target vehicle is located. Based on the above characteristic information, the training process of the wrong direction detection model in the processor is as follows:
[0168] A plurality of sample data are obtained, the plurality of sample data including: positive sample data of reverse driving and negative sample data of normal driving under various conditions. The above-mentioned normal driving conditions include: normal driving of the vehicle when the road is unobstructed; and normal driving of the vehicle when bypassing the congested area when the road is congested or under construction.
[0169] Then, the wrong-way driving characteristics and normal driving characteristics are used as explanatory variables, the wrong-way driving results and normal driving results are used as explained variables, a nonlinear model is constructed, and the nonlinear model is trained through multiple sample data to obtain a wrong-way detection model.
[0170] The following is a description of each feature information input into the retrograde detection model:
[0171] First, the target vehicle is equipped with a positioning device, which collects the current position information and current driving direction information of the target vehicle in real time and sends the current position information and current driving direction information of the target vehicle to the processor. The current position information may be the current longitude and latitude information.
[0172] The positioning device used in the present application can be a global positioning system (GPS), a global navigation satellite system (GLONASS), a compass navigation system (COMPASS), a Galileo positioning system, a quasi-zenith satellite system (QZSS), wireless fidelity (WiFi), etc., or any combination thereof. One or more of the above positioning devices can be used interchangeably in the embodiments of the present application.
[0173] The location attribute information on the target vehicle includes one or more of the following information: road section information, lane information, and point of interest (POI) category information. For example, the road section information is Suzhou Street, Haidian District, Beijing, the lane information is a south-to-north non-motorized vehicle lane, and the POI category information is finance (specifically, banks); for another example, the road section information is the auxiliary road of North Fourth Ring West Road, Haidian District, Beijing, the lane information is an east-to-west non-motorized vehicle lane, and the POI category information is transportation (specifically, bus stops).
[0174] Second, in the embodiment of the present application, in addition to the relative speed information of the matching reference object, the absolute speed information of the target vehicle (that is, the current driving speed information of the target vehicle) needs to be considered; for example, the reference object of the target vehicle may be a stationary target, and the relative speed information of the matching reference object is larger because the current driving speed information of the target vehicle is larger. Normally, if the target vehicle is traveling in the reverse direction, the relative speed information of the matching reference object is greater than the current driving speed information of the target vehicle. Based on this, in the embodiment of the present application, the comparison result of the current driving speed information of the target object and the relative speed information of the matching reference object is also used as feature information to determine the probability of the target vehicle traveling in the reverse direction.
[0175] like Figure 6 As shown, in the embodiment of the present application, the comparison result between the current driving speed information of the target vehicle and each of the relative speed information is determined by the following method:
[0176] S601. Obtain current driving speed information of the target vehicle.
[0177] In an embodiment of the present application, the processor obtains the motor speed information of the target vehicle read by the Hall sensor installed on the target vehicle, and determines the current driving speed information of the target vehicle based on the motor speed information and the tire circumference information of the target vehicle.
[0178] The target vehicle is also equipped with a Hall sensor, which reads the motor speed information of the target vehicle and sends the motor speed information of the target vehicle to the processor. The processor receives the motor speed information of the target vehicle sent by the Hall sensor, calculates the product of the motor speed information and the tire circumference information of the target vehicle, and determines the product as the current driving speed information of the target vehicle.
[0179] S602: For any reference object, compare the current driving speed information of the target vehicle with the relative speed information of the target vehicle relative to the reference object to obtain a comparison result of the current driving speed information of the target vehicle and the relative speed information matching the reference object.
[0180] Through this step, the processor can obtain the comparison result between the current driving speed information of the target vehicle and the relative speed information of each matching reference object.
[0181] Third, in addition to directly judging whether the target vehicle is traveling in the wrong direction, it is also possible to judge whether the target vehicle is traveling in the wrong direction based on the distribution of the relative speed information between the target vehicle and each reference object during the monitoring period.
[0182] For example, the distribution of the relative speed information of the target vehicle and each reference object during the monitoring period includes: the distribution time of the relative speed information less than the second preset threshold in any monitoring period, the duration information of each occurrence of the relative speed information less than the second preset threshold in any monitoring period, and the duration information of each occurrence of the relative speed information greater than the third preset threshold in any monitoring period.
[0183] For example, the target vehicle is driving normally, and the target vehicle includes vehicle 1a, vehicle 2a, vehicle 3a, vehicle 4a and vehicle 5a in front of it. Normally, the relative speed information between the target vehicle and vehicles 1a to 5a is relatively small. Here, the relative speed information between the target vehicle and vehicles 1a to 5a is less than the second preset threshold. The target vehicle is driving in reverse, and the target vehicle encounters opposite vehicles 1b, vehicle 2b, vehicle 3b, vehicle 4b and vehicle 5b in turn. Normally, the relative speed information between the target vehicle and vehicles 1b to 5b is relatively large. Here, the relative speed between the target vehicle and vehicles 1b to 5b is greater than the third preset threshold.
[0184] The second preset threshold and the third preset threshold may be the same, or the third preset threshold is greater than the second preset threshold. The second preset threshold, the third preset threshold and the monitoring period may be set as required, and the embodiment of the present application does not limit the specific values.
[0185] For example, the monitoring period is 5 minutes, and the distribution time of the relative speed information less than the second preset threshold within the current 5 minutes, the duration information of each occurrence of the relative speed information less than the second preset threshold, and the duration information of each occurrence of the relative speed information greater than the third preset threshold are determined.
[0186] like Figure 7 As shown, in the vehicle reverse driving control method provided in the embodiment of the present application, determining whether the target vehicle is traveling in the reverse direction according to the image information corresponding to the current driving direction of the target vehicle and the current driving direction of the target vehicle includes:
[0187] S701: For each frame of image information collected by the image sensor, extract image features in the image information.
[0188] In an embodiment of the present application, the processor can detect image features of each image sub-block in the image according to a set detection area; wherein the size of each image sub-block is equal to the size of the above-set detection area.
[0189] S702: Identify the road sign image features of the target lane where the target vehicle is currently located from the extracted image features.
[0190] In the embodiment of the present application, a plurality of road sign image features are pre-stored in the processor. For each detected image feature of an image sub-block, the processor calculates the similarity between the image feature and each road sign image feature.
[0191] Based on the similarities between the image features of each image sub-block and the image features of each road sign, each road sign image feature whose similarity is greater than a preset threshold is selected, and from the selected road sign image features, the target road sign image feature with the greatest similarity is selected as the road sign image feature of the target lane where the target vehicle is located.
[0192] S703: If the driving indication direction corresponding to the road sign image feature is consistent with the current driving direction of the target vehicle, it is determined that the target vehicle is driving normally.
[0193] As an implementation mode, if the driving indication direction corresponding to the road sign image feature is from north to south, and the current driving direction of the target vehicle is from north to south, it is determined that the target vehicle is driving normally.
[0194] S704: If the driving indication direction corresponding to the road sign image feature is inconsistent with the current driving direction of the target vehicle, it is determined that the target vehicle is driving in the wrong direction.
[0195] As an implementation mode, if the driving indication direction corresponding to the road sign image feature is from north to south, and the current driving direction of the target vehicle is from south to north, it is determined that the target vehicle is driving in the reverse direction.
[0196] like Figure 8 As shown, the vehicle reverse control method provided by the embodiment of the present application, the obtaining of relative speed information of the target vehicle relative to each reference object includes:
[0197] S801. Obtain the current location information of the target vehicle.
[0198] In the embodiment of the present application, a positioning device installed in the target vehicle locates the current position information of the target vehicle and sends the current position information to the processor.
[0199] S802: Determine the target lane information where the current position information of the target vehicle is located according to the correspondence between the position information and the lane information.
[0200] In an embodiment of the present application, position information and lane information corresponding to the position information are pre-stored in the processor, and the processor searches for the target lane information where the current position information of the target vehicle is located based on the correspondence between the position information and the lane information.
[0201] S803: If the target lane corresponding to the target lane information is a one-way lane, obtain relative speed information of the target vehicle relative to each reference object.
[0202] In the embodiment of the present application, when the processor detects that the target lane is a one-way lane, it executes the vehicle reverse control method in the embodiment of the present application, which can reduce resource consumption and improve resource utilization in one step.
[0203] A vehicle reverse control method provided in an embodiment of the present application controls the vehicle to decelerate until it stops by adopting a deceleration strategy that matches the current reverse vehicle, thereby being able to control the reverse vehicle in real time and improving the reverse control efficiency of the vehicle.
[0204] Fig. 9 is a block diagram showing a vehicle reverse driving control device in some embodiments of the present application. The functions implemented by the vehicle reverse driving control device correspond to the steps performed by the above method. The device can be understood as the above server, or a processor of the server, or can be understood as a component independent of the above server or processor that implements the functions of the present application under the control of the server, such as Fig. 9 As shown, the vehicle reverse control device may include:
[0205] The first acquisition module 901 is used to acquire the current driving state information of the target vehicle when it is determined that the target vehicle is driving in the reverse direction;
[0206] A first determination module 902, configured to determine target deceleration control information matching the current driving state information based on the current driving state information of the target vehicle;
[0207] The first control module 903 is used to control the target vehicle to decelerate and stop based on the determined target deceleration control information.
[0208] In one implementation, the current driving state information includes the current driving time from the start time point when the target vehicle is used to the current time point; the first determination module 902 determines the target deceleration control information matching the current driving state information based on the current driving state information of the target vehicle by the following method:
[0209] If the current driving time of the target vehicle is less than a set time threshold, deceleration control information matching the set time threshold is obtained as the target deceleration control information.
[0210] In one implementation, the first determination module 902 determines the target deceleration control information matching the current driving state information based on the current driving state information of the target vehicle by the following method:
[0211] Inputting the current driving state information of the target vehicle into a pre-trained reverse traffic control model, and obtaining a target state score corresponding to the target vehicle output by the reverse traffic control model;
[0212] According to the mapping relationship between the state score and the deceleration control information, the target deceleration control information corresponding to the target state score is selected.
[0213] In one implementation, the first determination module 902 controls the target vehicle to decelerate and travel until it stops based on the determined target deceleration control information by the following method:
[0214] Based on the determined target deceleration control information, reducing the power of the power control device of the target vehicle until the current driving speed of the target vehicle reaches a set speed threshold;
[0215] Alternatively, based on the determined target deceleration control information, the braking force of the brake control device of the target vehicle is increased until the current driving speed of the target vehicle reaches a set speed threshold;
[0216] Alternatively, based on the determined target deceleration control information, the power output of the power control device of the target vehicle is reduced, and the braking force of the brake control device of the target vehicle is increased, until the current driving speed of the target vehicle reaches a set speed threshold.
[0217] In one implementation, the first determination module 902 controls the target vehicle to decelerate and travel until it stops based on the determined target deceleration control information by the following method:
[0218] reducing the power of the power control device of the target vehicle based on the determined target deceleration control information;
[0219] When it is detected that the power of the power control device of the target vehicle is reduced to a preset power threshold, continue to monitor the current driving state information of the target vehicle;
[0220] If it is determined based on the current driving state information that the target vehicle is traveling in a reverse driving direction and the driving speed is greater than a preset speed threshold, the braking force of the braking control device of the target vehicle is increased.
[0221] In one implementation, in response to reducing the power of the power control device of the target vehicle based on the determined target deceleration control information, the first control module 903 is configured to:
[0222] reducing the power of the power control device of the target vehicle according to the power step length per unit time in the target deceleration control information;
[0223] In response to the situation where the braking force of the braking control device of the target vehicle is increased based on the determined target deceleration control information, the first control module 903 is configured to:
[0224] The braking force of the braking control device of the target vehicle is increased according to the force step length per unit time in the target deceleration control information.
[0225] In one embodiment, the device further comprises a second control module;
[0226] The second control module is used to control the voice device installed on the target vehicle to play voice in the process of controlling the target vehicle to decelerate and stop based on the determined target deceleration control information, so as to prompt the user through the played voice that the user is currently in a reverse driving state.
[0227] In one embodiment, the device further comprises:
[0228] A second acquisition module is used to acquire relative speed information of the target vehicle relative to each reference object; wherein the reference object is located in front of the target vehicle;
[0229] A second determination module is used to determine the probability of the target vehicle traveling in the wrong direction based on the comparison results of the relative speed information of the target vehicle relative to each reference object and the preset maximum speed respectively;
[0230] A starting module, configured to start an image sensor installed on the target vehicle if the probability of the target vehicle traveling in the wrong direction is greater than a first preset threshold value, so that the image sensor collects image information corresponding to the current driving direction of the target vehicle;
[0231] The third determination module is used to determine whether the target vehicle is traveling in the wrong direction according to the image information corresponding to the current traveling direction of the target vehicle and the current traveling direction of the target vehicle.
[0232] In one embodiment, the second determination module is executed by the following method to determine the probability of the target vehicle traveling in the wrong direction based on the comparison results of the relative speed information of the target vehicle relative to each reference object and the preset maximum pace respectively:
[0233] The relative speed information of the target vehicle relative to each reference object is compared with the preset maximum speed, and at least one of the following information is input into the trained reverse driving control model to obtain the reverse driving probability of the target vehicle:
[0234] The current position information and position attribute information of the target vehicle; the comparison result between the current driving speed information of the target vehicle and each of the relative speed information; the distribution of the relative speed information in each monitoring cycle; the total duration information of the relative speed information less than the second preset threshold in each monitoring cycle; the total duration information of the relative speed information greater than the third preset threshold in each monitoring cycle; the current driving direction of the target vehicle; the historical reverse driving probability of the target lane where the target vehicle is located.
[0235] In one embodiment, the device further comprises:
[0236] A third acquisition module is used to acquire the current driving speed information of the target vehicle;
[0237] The comparison module is used to compare the current driving speed information of the target vehicle with the relative speed information of the target vehicle relative to the reference object for any reference object, and obtain a comparison result of the current driving speed information of the target vehicle and the relative speed information matching the reference object.
[0238] In one implementation, the third acquisition module acquires the current driving speed information of the target vehicle by the following method:
[0239] Acquire motor speed information of the target vehicle read by a Hall sensor installed on the target vehicle;
[0240] The current driving speed information of the target vehicle is determined according to the motor speed information and the tire circumference information of the target vehicle.
[0241] A vehicle reverse control device provided in an embodiment of the present application controls the vehicle to decelerate until it stops by adopting a deceleration strategy that matches the current reverse vehicle, and can control the reverse vehicle in real time, thereby improving the reverse control efficiency of the vehicle.
[0242] like Fig.10 As shown, an electronic device 1000 provided in an embodiment of the present application includes: a processor 1001, a memory 1002 and a bus, wherein the memory 1002 stores machine-readable instructions executable by the processor 1001. When the electronic device is running, the processor 1001 communicates with the memory 1002 through the bus, and the processor 1001 executes the machine-readable instructions to perform the steps of the above-mentioned vehicle reverse control method.
[0243] Specifically, the above-mentioned memory 1002 and processor 1001 can be general-purpose memory and processor, which are not specifically limited here. When the processor 1001 runs the computer program stored in the memory 1002, the above-mentioned vehicle reverse control method can be executed.
[0244] Corresponding to the above-mentioned vehicle reverse control method, an embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned vehicle reverse control method are executed.
[0245] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the method embodiment, and will not be repeated in this application. In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0246] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0247] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0248] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks, or optical disks.
[0249] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A vehicle reverse control method, characterized in that: The method comprises: When determining that the target vehicle is traveling in the wrong direction, obtaining the current driving state information of the target vehicle, wherein whether the target vehicle is traveling in the wrong direction is determined at least based on the comparison results of the relative speed information of the target vehicle relative to each reference object and the preset maximum speed, and different lanes have different corresponding maximum speed information at different time periods, and the reference object includes a moving object located in front of the target vehicle; Based on the current driving state information of the target vehicle, target deceleration control information matching the current driving state information is determined, wherein driving state information of different states has different deceleration control information, the current driving state information includes current driving time information, and the current driving state information also includes one or more of current lane, current road section, current area information, and point of interest (POI) category information of the current area; Based on the determined target deceleration control information, the target vehicle is controlled to decelerate and travel until it stops.
2. The vehicle reverse driving control method according to claim 1, characterized in that: The current driving state information includes the current driving time from the starting time point when the target vehicle is used to the current time point; The step of determining target deceleration control information matching the current driving state information based on the current driving state information of the target vehicle comprises: If the current driving time of the target vehicle is less than a set time threshold, deceleration control information matching the set time threshold is obtained as the target deceleration control information.
3. The vehicle reverse driving control method according to claim 1, characterized in that: The step of determining target deceleration control information matching the current driving state information based on the current driving state information of the target vehicle comprises: Inputting the current driving state information of the target vehicle into a pre-trained reverse traffic control model, and obtaining a target state score corresponding to the target vehicle output by the reverse traffic control model; According to the mapping relationship between the state score and the deceleration control information, the target deceleration control information corresponding to the target state score is selected.
4. The vehicle reverse driving control method according to claim 1, characterized in that: The step of controlling the target vehicle to decelerate and stop based on the determined target deceleration control information includes: Based on the determined target deceleration control information, reducing the power of the power control device of the target vehicle until the current driving speed of the target vehicle reaches a set speed threshold; Alternatively, based on the determined target deceleration control information, the braking force of the brake control device of the target vehicle is increased until the current driving speed of the target vehicle reaches a set speed threshold; Alternatively, based on the determined target deceleration control information, the power output of the power control device of the target vehicle is reduced, and the braking force of the brake control device of the target vehicle is increased, until the current driving speed of the target vehicle reaches a set speed threshold.
5. The vehicle reverse driving control method according to claim 1, characterized in that: The method of controlling the target vehicle to decelerate and travel until it stops based on the determined target deceleration control information further includes: reducing the power of the power control device of the target vehicle based on the determined target deceleration control information; When it is detected that the power of the power control device of the target vehicle is reduced to a preset power threshold, continue to monitor the current driving state information of the target vehicle; If it is determined based on the current driving state information that the target vehicle is traveling in a reverse driving direction and the driving speed is greater than a preset speed threshold, the braking force of the braking control device of the target vehicle is increased.
6. The vehicle reverse driving control method according to claim 4 or 5, characterized in that: For a case where the power of the power control device of the target vehicle is reduced based on the determined target deceleration control information: reducing the power of the power control device of the target vehicle according to the power step length per unit time in the target deceleration control information; For a case where the braking force of the braking control device of the target vehicle is increased based on the determined target deceleration control information: The braking force of the braking control device of the target vehicle is increased according to the force step length per unit time in the target deceleration control information.
7. The vehicle reverse driving control method according to claim 4, characterized in that: In the process of controlling the target vehicle to decelerate and travel until it stops based on the determined target deceleration control information, the method further includes: The voice device installed on the target vehicle is controlled to play voice, so as to remind the user through the played voice that the vehicle is currently in a reverse driving state.
8. The vehicle reverse driving control method according to claim 1, characterized in that: The method for detecting a target vehicle driving in the wrong direction comprises: Acquire the relative speed information of the target vehicle relative to each reference object; wherein the reference object is located in front of the target vehicle; Determining the probability of the target vehicle traveling in the wrong direction based on the comparison results of the relative speed information of the target vehicle relative to each reference object and the preset maximum speed; If the probability of the target vehicle traveling in the wrong direction is greater than a first preset threshold, starting an image sensor installed on the target vehicle so that the image sensor collects image information corresponding to the current driving direction of the target vehicle; Whether the target vehicle is traveling in the wrong direction is determined based on the image information corresponding to the current traveling direction of the target vehicle and the current traveling direction of the target vehicle.
9. The vehicle reverse driving control method according to claim 8, characterized in that: The determining of the probability of the target vehicle traveling in the wrong direction based on the comparison results of the relative speed information of the target vehicle relative to each reference object with the preset maximum speed respectively includes: The relative speed information of the target vehicle relative to each reference object is compared with the preset maximum speed, and at least one of the following information is input into the trained reverse driving control model to obtain the reverse driving probability of the target vehicle: The current position information and position attribute information of the target vehicle; the comparison result between the current driving speed information of the target vehicle and each of the relative speed information; the distribution of the relative speed information in each monitoring cycle; the total duration information of the relative speed information less than the second preset threshold in each monitoring cycle; the total duration information of the relative speed information greater than the third preset threshold in each monitoring cycle; the current driving direction of the target vehicle; the historical reverse driving probability of the target lane where the target vehicle is located.
10. The vehicle reverse driving control method according to claim 9, characterized in that: The comparison result between the current driving speed information of the target vehicle and each of the relative speed information is determined by the following method: Obtaining current driving speed information of the target vehicle; For any reference object, the current driving speed information of the target vehicle is compared with the relative speed information of the target vehicle relative to the reference object to obtain a comparison result between the current driving speed information of the target vehicle and the relative speed information matching the reference object.
11. The vehicle reverse driving control method according to claim 10, characterized in that: The obtaining of the current driving speed information of the target vehicle comprises: Acquire motor speed information of the target vehicle read by a Hall sensor installed on the target vehicle; The current driving speed information of the target vehicle is determined according to the motor speed information and the tire circumference information of the target vehicle.
12. A vehicle reverse control device, characterized in that: The device comprises: A first acquisition module is used to acquire current driving state information of the target vehicle when it is determined that the target vehicle is traveling in the wrong direction, the first acquisition module is used to determine whether the target vehicle is traveling in the wrong direction at least based on the comparison results of the relative speed information of the target vehicle relative to each reference object and the preset maximum speed, different lanes have different corresponding maximum speed information at different time periods, and the reference object includes a moving target located in front of the target vehicle; A first determination module is used to determine target deceleration control information matching the current driving state information based on the current driving state information of the target vehicle, wherein driving state information of different states has different deceleration control information, the current driving state information includes current driving time information, and the current driving state information also includes one or more of current lane, current road section, current area information, and point of interest (POI) category information of the current area; The first control module is used to control the target vehicle to decelerate and stop based on the determined target deceleration control information.
13. The vehicle reverse running control device according to claim 12, characterized in that: The current driving state information includes the current driving time from the starting time point when the target vehicle is used to the current time point; the first determination module determines the target deceleration control information matching the current driving state information based on the current driving state information of the target vehicle by the following method: If the current driving time of the target vehicle is less than a set time threshold, deceleration control information matching the set time threshold is obtained as the target deceleration control information.
14. The vehicle reverse running control device according to claim 12, characterized in that: The first determination module determines the target deceleration control information matching the current driving state information based on the current driving state information of the target vehicle by the following method: Inputting the current driving state information of the target vehicle into a pre-trained reverse traffic control model, and obtaining a target state score corresponding to the target vehicle output by the reverse traffic control model; According to the mapping relationship between the state score and the deceleration control information, the target deceleration control information corresponding to the target state score is selected.
15. The vehicle reverse running control device according to claim 12, characterized in that: The first control module controls the target vehicle to decelerate and stop based on the determined target deceleration control information by the following method: Based on the determined target deceleration control information, reducing the power of the power control device of the target vehicle until the current driving speed of the target vehicle reaches a set speed threshold; Alternatively, based on the determined target deceleration control information, the braking force of the brake control device of the target vehicle is increased until the current driving speed of the target vehicle reaches a set speed threshold; Alternatively, based on the determined target deceleration control information, the power output of the power control device of the target vehicle is reduced, and the braking force of the brake control device of the target vehicle is increased, until the current driving speed of the target vehicle reaches a set speed threshold.
16. The vehicle reverse running control device according to claim 12, characterized in that: The first control module controls the target vehicle to decelerate and stop based on the determined target deceleration control information by the following method: reducing the power of the power control device of the target vehicle based on the determined target deceleration control information; When it is detected that the power of the power control device of the target vehicle is reduced to a preset power threshold, continue to monitor the current driving state information of the target vehicle; If it is determined based on the current driving state information that the target vehicle is traveling in a reverse driving direction and the driving speed is greater than a preset speed threshold, the braking force of the braking control device of the target vehicle is increased.
17. The vehicle reverse running control device according to claim 15 or 16, characterized in that: In response to the situation where the power of the power control device of the target vehicle is reduced based on the determined target deceleration control information, the first control module is used to: reducing the power of the power control device of the target vehicle according to the power step length per unit time in the target deceleration control information; In response to the situation where the braking force of the braking control device of the target vehicle is increased based on the determined target deceleration control information, the first control module is used to: The braking force of the braking control device of the target vehicle is increased according to the force step length per unit time in the target deceleration control information.
18. The vehicle reverse running control device according to claim 15, characterized in that: The device also includes a second control module; The second control module is used to control the voice device installed on the target vehicle to play voice in the process of controlling the target vehicle to decelerate and stop based on the determined target deceleration control information, so as to prompt the user through the played voice that the user is currently in a reverse driving state.
19. The vehicle reverse running control device according to claim 12, characterized in that: The device also includes: A second acquisition module is used to acquire relative speed information of the target vehicle relative to each reference object; wherein the reference object is located in front of the target vehicle; A second determination module is used to determine the probability of the target vehicle traveling in the wrong direction based on the comparison results of the relative speed information of the target vehicle relative to each reference object and the preset maximum speed; A starting module, configured to start an image sensor installed on the target vehicle if the probability of the target vehicle traveling in the wrong direction is greater than a first preset threshold value, so that the image sensor collects image information corresponding to the current driving direction of the target vehicle; The third determination module is used to determine whether the target vehicle is traveling in the wrong direction according to the image information corresponding to the current traveling direction of the target vehicle and the current traveling direction of the target vehicle.
20. The vehicle reverse running control device according to claim 19, characterized in that: The second determination module is executed by the following method to determine the probability of the target vehicle traveling in the wrong direction based on the comparison results of the relative speed information of the target vehicle relative to each reference object and the preset maximum speed: The relative speed information of the target vehicle relative to each reference object is compared with the preset maximum speed, and at least one of the following information is input into the trained reverse driving control model to obtain the reverse driving probability of the target vehicle: The current position information and position attribute information of the target vehicle; the comparison result between the current driving speed information of the target vehicle and each of the relative speed information; the distribution of the relative speed information in each monitoring cycle; the total duration information of the relative speed information less than the second preset threshold in each monitoring cycle; the total duration information of the relative speed information greater than the third preset threshold in each monitoring cycle; the current driving direction of the target vehicle; the historical reverse driving probability of the target lane where the target vehicle is located.
21. The vehicle reverse running control device according to claim 20, characterized in that: The device also includes: A third acquisition module is used to acquire the current driving speed information of the target vehicle; The comparison module is used to compare the current driving speed information of the target vehicle with the relative speed information of the target vehicle relative to the reference object for any reference object, and obtain a comparison result of the current driving speed information of the target vehicle and the relative speed information matching the reference object.
22. The vehicle reverse running control device according to claim 21, characterized in that: The third acquisition module acquires the current driving speed information of the target vehicle by the following method: Acquire motor speed information of the target vehicle read by a Hall sensor installed on the target vehicle; The current driving speed information of the target vehicle is determined according to the motor speed information and the tire circumference information of the target vehicle.
23. An electronic device, characterized in that: include: A processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the storage medium communicate via the bus, and the processor executes the machine-readable instructions to perform the steps of the vehicle reverse control method as described in any one of claims 1 to 11.
24. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the vehicle reverse driving control method according to any one of claims 1 to 11 are executed.
