CN115571149A - Driving prompting method and device, electronic equipment and storage medium - Google Patents

Driving prompting method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115571149A
CN115571149A CN202110763424.3A CN202110763424A CN115571149A CN 115571149 A CN115571149 A CN 115571149A CN 202110763424 A CN202110763424 A CN 202110763424A CN 115571149 A CN115571149 A CN 115571149A
Authority
CN
China
Prior art keywords
vehicle
state
information
user terminal
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110763424.3A
Other languages
Chinese (zh)
Inventor
丁杨洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110763424.3A priority Critical patent/CN115571149A/en
Publication of CN115571149A publication Critical patent/CN115571149A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W50/00Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
    • B60W50/08Interaction between the driver and the control system
    • B60W50/14Means for informing the driver, warning the driver or prompting a driver intervention
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W2554/00Input parameters relating to objects
    • B60W2554/40Dynamic objects, e.g. animals, windblown objects
    • B60W2554/404Characteristics
    • B60W2554/4045Intention, e.g. lane change or imminent movement
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W2555/00Input parameters relating to exterior conditions, not covered by groups B60W2552/00, B60W2554/00
    • B60W2555/60Traffic rules, e.g. speed limits or right of way

Abstract

The application discloses a driving prompting method and device, electronic equipment and a storage medium, and relates to the technical field of vehicle-machine interaction. The method is applied to the electronic equipment and comprises the following steps: when a first vehicle is in a parking state on a preset driving road, obtaining information of a target object located in front of the first vehicle, wherein the information of the target object comprises a state of a second vehicle, the second vehicle is located on the preset driving road, and when the state of the second vehicle is switched from the parking state to a starting state, outputting first prompt information, wherein the first prompt information is used for prompting the starting of the first vehicle. This application is through the vehicle when predetermineeing and is in parking state on the road of traveling, if should predetermine other vehicles that are located this vehicle the place ahead on the road of traveling when switching into the starting condition from parking state, then output prompt information starts this vehicle in order to indicate to promote the current efficiency on road, effectively avoid the road jam.

Description

Driving prompting method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of vehicle-mounted device interaction technologies, and in particular, to a driving prompting method and apparatus, an electronic device, and a storage medium.
Background
With the continuous development of vehicle technology, vehicles gradually become main vehicles for people to go out, and the requirements of users on the vehicles are higher and higher. At present, in the process that a vehicle is parked and waited for passing, a driver often checks the mobile terminal to eliminate the wear time, but checks the mobile terminal, so that the driver is distracted easily and cannot start the vehicle in time, and therefore the rear vehicle cannot move ahead, the passing efficiency of a road is low, and the road is blocked.
Disclosure of Invention
In view of the above problems, the present application provides a driving prompting method, a driving prompting device, an electronic device, and a storage medium to solve the above problems.
In a first aspect, an embodiment of the present application provides a driving prompting method, which is applied to an electronic device, and the method includes: when a first vehicle is in a parking state on a preset running road, acquiring information of a target object positioned in front of the first vehicle, wherein the information of the target object comprises a state of a second vehicle, and the second vehicle is positioned on the preset running road;
and when the state of the second vehicle is switched from the parking state to the starting state, outputting first prompt information, wherein the first prompt information is used for prompting the starting of the first vehicle.
In a second aspect, an embodiment of the present application provides a driving prompt device, which is applied to an electronic device, and the device includes: the information acquisition module is used for acquiring information of a target object positioned in front of a first vehicle when the first vehicle is in a parking state on a preset running road, wherein the information of the target object comprises the state of a second vehicle positioned on the preset running road; and the prompt output module is used for outputting first prompt information when the state of the second vehicle is switched from the parking state to the starting state, wherein the first prompt information is used for prompting the starting of the first vehicle.
In a third aspect, an embodiment of the present application provides an electronic device, including a memory and a processor, the memory being coupled to the processor, the memory storing instructions, and the processor performing the above method when the instructions are executed by the processor.
In a fourth aspect, the present application provides a computer-readable storage medium, in which a program code is stored, and the program code can be called by a processor to execute the above method.
According to the driving prompting method, the driving prompting device, the electronic equipment and the storage medium, when the vehicle is in a parking state on the preset driving road, the states of other vehicles in front of the vehicle on the preset driving road are obtained, and when the states of the other vehicles are switched from the parking state to the starting state, the prompting information is output to prompt the starting of the vehicle, so that the passing efficiency of the road is improved, and road blockage is effectively avoided.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of an application environment that can be used in a driving prompt method provided by an embodiment of the present application;
fig. 2 is a schematic diagram of another application environment that can be used in the driving prompt method provided by the embodiment of the present application;
fig. 3 is a schematic flow chart illustrating a driving prompt method according to an embodiment of the present application;
FIG. 4 is a schematic diagram illustrating a first preset driving road provided by an embodiment of the application;
FIG. 5 is a schematic view illustrating a first interface of an electronic device according to an embodiment of the present disclosure;
fig. 6 is a flowchart illustrating a driving prompt method according to another embodiment of the present application;
FIG. 7 is a schematic diagram illustrating a second preset driving road according to an embodiment of the present application;
fig. 8 is a schematic flow chart illustrating a driving prompt method according to still another embodiment of the present application;
fig. 9 is a flowchart illustrating step S310 of the driving prompting method illustrated in fig. 8 of the present application;
fig. 10 is a schematic flow chart illustrating a driving prompt method according to still another embodiment of the present application;
fig. 11 is a schematic flowchart illustrating a driving prompt method according to another embodiment of the present application;
FIG. 12 is a schematic view illustrating a third preset driving road provided by the embodiment of the present application;
FIG. 13 is a diagram illustrating a fourth preset driving road provided by the embodiment of the application;
fig. 14 is a schematic view illustrating a second interface of an electronic device according to an embodiment of the present application;
fig. 15 is a schematic flow chart illustrating a driving prompt method according to yet another embodiment of the present application;
fig. 16 shows a block diagram of a driving prompt device provided in an embodiment of the present application;
fig. 17 is a block diagram illustrating an electronic device for executing a driving prompt method according to an embodiment of the present application;
fig. 18 shows a storage unit for storing or carrying program codes for implementing the driving prompt method according to the embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
At present, in the process that a vehicle is parked and waited for passing, a driver often checks the mobile terminal to eliminate the wear time, but checks the mobile terminal, so that the driver is distracted easily and cannot start the vehicle in time, and therefore the rear vehicle cannot move ahead, the passing efficiency of a road is low, and the road is blocked. For example, when a driver drives a vehicle to pass through a road junction, if the driver encounters a red light and lights, the vehicle needs to stop and the like, the vehicle waits for the red light, the driver often watches the mobile phone to eliminate the time, but watches the mobile phone to easily distract the driver, when the green light lights, the vehicle can pass through the road junction, the driver cannot know that the green light lights due to the fact that the driver watches the mobile phone to be forgotten, at the moment, if the driver still enthusiastically watches the mobile phone without starting the vehicle, the rear vehicle cannot move forward, the passing efficiency of the road is low, and the road is blocked.
In view of the above problems, the inventor finds and provides a driving prompting method, a driving prompting device, an electronic device, and a storage medium provided in the embodiments of the present application through a long-term research, and when a vehicle is in a parking state on a preset driving road, and if other vehicles located in front of the vehicle on the preset driving road are switched from the parking state to a starting state, a prompting message is output to prompt the start of a first vehicle, so that the traffic efficiency of the road is improved, and road congestion is effectively avoided. The specific driving prompting method is explained in detail in the following embodiments.
The following description is directed to an application environment that can be used in the driving prompting method provided in the embodiment of the present application.
Referring to fig. 1, fig. 1 is a schematic diagram illustrating an application environment that can be used in the driving prompt method provided in the embodiment of the present application. As shown in fig. 1, the application environment includes a user terminal 100 and a vehicle-mounted terminal (the vehicle-mounted terminal is illustrated as a vehicle) 200, wherein the user terminal 100 can be connected with the vehicle-mounted terminal 200 to implement data interaction between the user terminal 100 and the vehicle-mounted terminal 200. In one embodiment, the user terminal 100 and the vehicle-mounted terminal 200 may be connected via bluetooth, or may be linked via a Universal Serial Bus (USB), and the like, which is not limited herein.
Referring to fig. 2, fig. 2 is a schematic diagram illustrating another application environment that can be used for the driving prompting method provided by the embodiment of the present application. As shown in fig. 2, the application environment includes a user terminal 100 and a vehicle-mounted terminal (illustrated by the vehicle-mounted terminal being a vehicle) 200. As one way, the in-vehicle terminal 200 may transmit a WLAN broadcast message, a bluetooth broadcast message, etc., and may receive the WLAN broadcast message, the bluetooth broadcast message, etc., transmitted from the in-vehicle terminal 200 when the user terminal 100 is located within a broadcast range of the in-vehicle terminal 200 (a dotted frame shown in fig. 2).
The number of the user terminals 100 may be one or multiple, and the number of the in-vehicle terminals 200 may be one or multiple, which is not limited herein.
The user terminal 100 may include a smart phone, a tablet computer, a wearable electronic device, and the like, and the vehicle-mounted terminal 200 may include a smart phone, a vehicle-mounted device, and the like, which are not limited herein.
Referring to fig. 3, fig. 3 is a schematic flow chart illustrating a driving prompting method according to an embodiment of the present application. The driving prompting method is used for outputting prompting information to prompt starting of a first vehicle when other vehicles in front of the vehicle on a preset driving road are switched from a parking state to a starting state when the vehicle is in the parking state on the preset driving road, so that the passing efficiency of the road is improved, and road blockage is effectively avoided. In a specific embodiment, the driving prompting method is applied to the driving prompting device 300 and the electronic device 400 configured with the driving prompting device 300 as shown in fig. 8, where the electronic device 400 may include the user terminal 100 or the vehicle-mounted terminal 200, which is not limited herein. As will be explained in detail with respect to the flow shown in fig. 3, the driving prompting method may specifically include the following steps:
step S110: when a first vehicle is in a parking state on a preset running road, acquiring information of a target object positioned in front of the first vehicle, wherein the information of the target object comprises a state of a second vehicle, and the second vehicle is positioned on the preset running road.
In some embodiments, the electronic device may be a user terminal or a vehicle-mounted terminal, which is not limited herein.
As one mode, the electronic device may preset and store a preset driving road, where the preset driving road may include an intermediate lane of an expressway, a non-emergency lane in the expressway, an intermediate lane in a road, a non-parking space lane in the road, an intersection road, a traffic light intersection road, and the like, which are not limited herein.
In this embodiment, it may be detected whether the first vehicle is in a stopped state on the preset running road. When it is detected that the first vehicle is in a parking state on the preset driving road, information of a target object located in front of the first vehicle on the preset driving road may be acquired.
In some embodiments, the information of the target object may include a state where the second vehicle is located, and may also include an indication signal of a target traffic light among traffic lights disposed on the preset road, the target traffic light being a traffic light related to a lane where the first vehicle is located. Therefore, when it is detected that the first vehicle is in a parking state on the preset running road, it is possible to acquire a state in which a second vehicle located ahead of the first vehicle is located; when the first vehicle is detected to be in a parking state on the preset driving road, an indicating signal of a target traffic signal lamp positioned in front of the first vehicle can be acquired; when it is detected that the first vehicle is in a parking state on the preset driving road, the state of a second vehicle located in front of the first vehicle and the indication signal of the target traffic signal lamp may be obtained at the same time, which is not limited herein.
Wherein, the second vehicle located in front of the first vehicle on the preset traveling road may include: a second vehicle located right ahead of the first vehicle on the preset traveling road, namely a second vehicle located on the same lane as the first vehicle on the preset traveling road; a second vehicle located obliquely ahead of the first vehicle on the preset traveling road, that is, a second vehicle located in another lane (for example, an adjacent lane) ahead of the first vehicle on the preset traveling road; and a second vehicle which is positioned right ahead and obliquely ahead of the first vehicle on the preset running road, namely a second vehicle which is positioned in the same lane with the first vehicle and in other lanes on the preset running road.
The number of the second vehicles may be one or more, and is not limited herein.
Referring to fig. 4, fig. 4 is a schematic diagram illustrating a first preset driving road according to an embodiment of the present disclosure. As shown in fig. 4, the preset running road includes a first vehicle a, and a second vehicle B is included ahead of the first vehicle a.
As one mode, the detecting whether the first vehicle is in a stopped state on the preset running road may include: when the first vehicle is on the preset driving road, detecting the advancing distance of the first vehicle within the preset time length, wherein when the advancing distance of the first vehicle within the preset time length is smaller than the preset advancing distance, determining that the first vehicle is in a parking state on the preset driving road; when it is detected that the advance distance of the first vehicle within the preset time period is not less than the preset advance distance, it may be determined that the first vehicle is not in a stopped state on the preset travel road.
As still another mode, the detecting whether the first vehicle is in a stopped state on the preset running road may include: when the first vehicle is on the preset driving road, whether the first vehicle stalls or not can be detected, when the first vehicle stalls is detected, the first vehicle can be determined to be in a parking state on the preset driving road, and when the first vehicle is not stalled, the first vehicle can be determined to be not in a parking state on the preset driving road.
As one approach, acquiring information of a target object located in front of the first vehicle may include: the first vehicle comprises a camera, when the first vehicle is in a parking state on a preset running road, the camera of the first vehicle can be controlled to acquire an image of a target object located in front of the first vehicle, and information of the target object located in front of the first vehicle can be acquired from the image.
In some embodiments, when the electronic device is an in-vehicle terminal, the in-vehicle terminal may control a camera of the first vehicle to acquire an image of a target object located in front of the first vehicle, and from the image, information of the target object located in front of the first vehicle may be acquired. When the electronic device is a user terminal, the user terminal can be connected with a vehicle-mounted terminal of the first vehicle, the user terminal can control a camera of the first vehicle to acquire an image of a target object located in front of the first vehicle through the vehicle-mounted terminal, the vehicle-mounted terminal acquires the image acquired by the camera and then sends the image to the user terminal, and the user terminal can acquire information of the target object from the received image.
As yet another way, obtaining information of me and a target object in front of the first vehicle may include: the target object located in front of the first vehicle on the preset driving road may send a broadcast message, where the broadcast message may carry information of the target object, and the electronic device may receive the broadcast message and obtain the information of the target object from the received broadcast message.
Taking the target object as the second vehicle as an example, the state of the second vehicle may include: the state of parking, the state of driving, the state of switching from parking to starting, the state of switching from starting to parking, and the like, and the present invention is not limited thereto.
Step S120: and when the state of the second vehicle is switched from the parking state to the starting state, outputting first prompt information, wherein the first prompt information is used for prompting the starting of the first vehicle.
In this embodiment, when it is determined that the second vehicle is in the state switched from the parking state to the starting state, it may be determined that the second vehicle located in front of the first vehicle on the preset running road is ready to start to move forward, and therefore, first prompt information for prompting to start the first vehicle may be output to prompt to start the first vehicle as soon as possible and control the first vehicle to move forward, so as to improve the traffic efficiency of the road and avoid road congestion.
In some embodiments, when it is determined that the indication signal of the target traffic signal lamp is a traffic indication signal (e.g., a green light), it may be determined that the first vehicle may start to travel on the preset travel road, and therefore, a first prompt message for prompting to start the first vehicle may be output to prompt to start the first vehicle as soon as possible and control the first vehicle to travel forward, so as to improve traffic efficiency of the road and avoid road congestion.
In some embodiments, when it is determined that the second vehicle is in the state of being switched from the parking state to the starting state and the indication signal of the target traffic signal is a traffic indication signal (for example, a green light), it may be determined that the first vehicle may start to travel on the preset travel road, and therefore, a first prompt message for prompting the starting of the first vehicle may be output to prompt the starting of the first vehicle as soon as possible and control the first vehicle to travel forward, so as to improve the traffic efficiency of the road and avoid road congestion.
In some embodiments, when it is detected that the second vehicle is switched from a key-off state to an ignition state, it may be determined that the second vehicle is in a state switched from a parking state to a starting state; when it is detected that the second vehicle starts to coast, it may be determined that the state in which the second vehicle is in is switched from the parking state to the starting state, and the like, which is not limited herein.
In some embodiments, the first prompt message may include, but is not limited to: one or a combination of several of text prompt information, audio prompt information and vibration prompt information.
Referring to fig. 5, fig. 5 is a schematic diagram illustrating a first interface of an electronic device according to an embodiment of the present disclosure. As shown in fig. 5, the electronic device may be the user terminal 100, and the user terminal 100 may display a first prompt message, for example, display "start".
According to the driving prompting method provided by one embodiment of the application, when a first vehicle is in a parking state on a preset driving road, information of a target object located in front of the first vehicle is acquired, wherein the information of the target object comprises a state where a second vehicle is located, the second vehicle is located on the preset driving road, and when the state where the second vehicle is located is switched from the parking state to a starting state, first prompting information is output, wherein the first prompting information is used for prompting starting of the first vehicle, so that when the vehicle is in the parking state on the preset driving road, if other vehicles located in front of the vehicle on the preset driving road are switched from the parking state to the starting state, the prompting information is output to prompt starting of the vehicle, so that the traffic efficiency of the road is improved, and road congestion is effectively avoided.
Referring to fig. 6, fig. 6 is a schematic flow chart illustrating a driving prompt method according to another embodiment of the present application. The method is applied to the electronic device, in this embodiment, a traffic signal lamp is disposed on the preset driving road, and as will be described in detail with reference to the flow shown in fig. 6, the driving prompting method may specifically include the following steps:
step S210: when a first vehicle is in a parking state on a preset driving road, acquiring information of a target object positioned in front of the first vehicle, wherein the information of the target object comprises a state of a second vehicle and an indication signal of a target traffic signal lamp, the second vehicle is positioned on the preset driving road, and the target traffic signal lamp is a traffic signal lamp related to a lane where the first vehicle is positioned.
In the present embodiment, a traffic signal lamp is disposed on the preset traveling road. For example, the predetermined driving road may include an intersection provided with a traffic signal light, wherein the traffic signal light may include a traffic light, and the intersection may be provided with a traffic light.
In some embodiments, the number of the traffic signal lamps may be plural, and each of the plural traffic signal lamps corresponds to a different lane on the preset driving road, for example, the preset driving road includes a first lane, a second lane and a third lane, and the traffic signal lamp includes a first traffic signal lamp, a second traffic signal lamp and a third traffic signal lamp, wherein the first traffic signal lamp is used for indicating the first lane, the second traffic signal lamp is used for indicating the second lane, and the third traffic signal lamp is used for indicating the third lane. Therefore, when the first vehicle is located on a first lane of the preset driving lanes, the first traffic signal lamp may be determined as the target traffic signal lamp; when the first vehicle is located in a third lane of the saint john driving road, the third traffic light may be determined as the target traffic light, which is not described herein again.
As one mode, the indication signal of the target traffic light ahead of the first vehicle may be acquired from a server on the network side, and specifically, the server on the network side may store a control flow of each traffic light in advance, where the control flow includes a time corresponding to each indication signal of each traffic light, and therefore, the indication signal of the target traffic light ahead of the first vehicle at the current time may be directly acquired from the server on the network side.
As still another way, the indication signal of the target traffic signal in front of the first vehicle may be acquired from an on-site monitoring device that presets the traveling road, specifically, the monitoring device may have a camera function, and then the monitoring device may transmit the indication signal of the target traffic signal acquired by shooting to the electronic device, or the monitoring device may be connected to the traffic signal, and the monitoring device may acquire the indication signal of the target traffic signal based on the link and transmit the indication signal to the electronic device.
As another mode, the first vehicle may include a camera, and the camera may collect an indication signal of the target traffic signal lamp and send the collected indication signal of the target traffic signal lamp to the electronic device.
The indication signal of the target traffic signal lamp may include, but is not limited to: a pass indication signal, a wait indication signal, and a no pass indication signal. In some embodiments, when the traffic signal is a red-green signal, the indication signal of the traffic signal may include a green light indication signal (a pass indication signal), a yellow light indication signal (a wait indication signal), and a red light indication signal (a no pass indication signal).
Referring to fig. 7, fig. 7 is a schematic view illustrating a second preset driving route according to an embodiment of the present application. As shown in fig. 7, the preset running road includes a first vehicle a, a second vehicle B is included in front of the first vehicle a, and a traffic signal lamp C is further included in front of the first vehicle a.
Step S220: and when the state of the second vehicle is switched from the parking state to the starting state and the indication signal is a passing indication signal, outputting the first prompt information, wherein the first prompt information is used for prompting the starting of the first vehicle.
In this embodiment, when it is determined that the state of the second vehicle is switched from the parking state to the starting state and the indication signal of the target traffic signal lamp in front of the first vehicle is the traffic indication signal, it may be determined that the second vehicle in front of the first vehicle on the preset running road is ready to start to move ahead, and the movement does not violate the traffic rules at this time, so that a first prompt message for prompting to start the first vehicle may be output to prompt to start the first vehicle as soon as possible and control the first vehicle to move ahead, so as to improve the traffic efficiency of the road and avoid road congestion.
In another embodiment of the present application, when a first vehicle is in a parking state on a preset driving road, information of a target object located in front of the first vehicle on the preset driving road is obtained, where the information of the target object includes a state where a second vehicle is located and an indication signal of a target traffic signal lamp, the second vehicle is located on the preset driving road, the target traffic signal lamp is a traffic signal lamp related to a lane where the first vehicle is located, and when the state where the second vehicle is located is switched from the parking state to a starting state and the indication signal is a traffic indication signal, first prompt information for prompting to start the first vehicle is output. Compared with the driving prompting method shown in fig. 3, the embodiment also outputs the prompting information to prompt the vehicle to start when the indication signal of the traffic signal lamp of the lane where the vehicle is located indicates passing, so as to prevent the vehicle from violating the traffic rules.
Referring to fig. 8, fig. 8 is a schematic flow chart illustrating a driving prompting method according to still another embodiment of the present application. The method is applied to the electronic device, in this embodiment, the first vehicle includes a camera, and as will be described in detail with reference to the flow shown in fig. 8, the driving prompting method may specifically include the following steps:
step S310: when a first vehicle is in a parking state on a preset driving road, acquiring an image in front of the first vehicle, wherein the image is acquired through the camera.
In this embodiment, the first vehicle includes a camera for capturing images forward of the first vehicle. For example, the camera may be disposed at a front side of the first vehicle to collect an image in front of the first vehicle, where the camera may be a general camera, or may also be a wide-angle camera, and the like, which is not limited herein.
In some embodiments, when the first vehicle is in a parking state on the preset driving road, the camera of the first vehicle may be controlled to acquire an image located in front of the first vehicle.
As one mode, when the electronic device is an in-vehicle terminal of a first vehicle, the in-vehicle terminal of the first vehicle may be connected to the camera, and when the first vehicle is in a parking state on a preset driving road, the in-vehicle terminal may control the camera of the first vehicle to collect an image located in front of the first vehicle and acquire the image collected by the camera, where after the in-vehicle terminal acquires the image collected by the camera, the in-vehicle terminal may acquire information of a target object located in front of the first vehicle from the image by using an image recognition algorithm.
Referring to fig. 9, fig. 9 is a schematic flowchart illustrating step S310 of the driving prompting method illustrated in fig. 8 of the present application. In this embodiment, the electronic device is a user terminal, the first vehicle further includes a vehicle-mounted terminal, and the vehicle-mounted terminal is respectively connected to the user terminal and the camera, and the method may specifically include the following steps:
step S311: and controlling the camera to acquire an image in front of the first vehicle through the vehicle-mounted terminal.
In this embodiment, the electronic device is a user terminal, the user terminal is connected to a vehicle-mounted terminal of the first vehicle, and the vehicle-mounted terminal is connected to the user terminal and the camera, respectively. The vehicle-mounted terminal can be connected with the user terminal through Bluetooth or USB, and the vehicle-mounted terminal can be connected with the camera through a bus without limitation.
Step S312: and acquiring the image sent by the vehicle-mounted terminal.
In some embodiments, when the first vehicle is in a parking state on the preset driving road, the terminal sends instruction information to the vehicle-mounted terminal, the vehicle-mounted terminal controls the camera to collect an image in front of the first vehicle in response to the instruction information and transmits the collected image back to the vehicle-mounted terminal, the vehicle-mounted terminal sends the image to the user terminal, and accordingly, the user terminal can obtain the image sent by the vehicle-mounted terminal.
Step S320: and acquiring information of the target object positioned in front of the first vehicle from the image, wherein the information of the target object comprises the state of a second vehicle.
In some embodiments, after acquiring the image transmitted by the vehicle-mounted terminal, the user terminal may acquire information of a target object located in front of the first vehicle from the image by using an image recognition algorithm.
In some embodiments, when the target object is a second vehicle, an image of a second vehicle located in front of the first vehicle may be acquired from the image, and it may be determined whether the second vehicle is switched from a parking state to a starting state according to the image of the second vehicle. As a practical manner, when it is determined that the second vehicle turns on the left turn signal based on the image of the second vehicle, it may be determined that the second vehicle is switched from the parking state to the starting state.
Step S330: and when the state of the second vehicle is switched from the parking state to the starting state, outputting first prompt information, wherein the first prompt information is used for prompting the starting of the first vehicle.
For details of step S330, refer to step S120, and are not described herein again.
In another embodiment of the driving prompting method provided by the present application, when a first vehicle is in a parking state on a preset driving road, an image in front of the first vehicle collected by a camera is obtained, and information of a target object located in front of the first vehicle is obtained from the image, where the information of the target object includes a state where a second vehicle is located, and when the state where the second vehicle is located is switched from the parking state to a starting state, first prompting information for prompting to start the first vehicle is output. Compared with the driving prompting method shown in fig. 3, the present embodiment further collects the front image through the camera of the vehicle, and performs the state detection of other vehicles based on the collected image, thereby improving the accuracy of the state detection.
Referring to fig. 10, fig. 10 is a schematic flow chart illustrating a driving prompting method according to still another embodiment of the present application. The method is applied to the electronic device, in this embodiment, the electronic device is a user terminal, and the following will describe in detail with respect to the flow shown in fig. 10, where the driving prompting method specifically includes the following steps:
step S410: and when the user terminal is in the state of being watched, acquiring the information of the target object positioned in front of the first vehicle.
In some embodiments, the electronic device is a user terminal. The method includes the steps that whether a user terminal is watched or not can be detected, when the user terminal is watched, the content of the user terminal can be checked by a representation user, the user can possibly not start a first vehicle in time at the moment, information of a target object located in front of the first vehicle can be obtained, when the user terminal is not watched, the content of the user terminal can not be checked by the representation user, the user can start the first vehicle in time at the moment, and information of the target object located in front of the first vehicle can not be obtained. As one manner, the user terminal may include a front camera, and a face image (perspective image) of the user may be collected through the front camera of the user terminal, and it is determined whether the user terminal is gazed at based on the face image (perspective image) of the user.
In some embodiments, the electronic device is a user terminal. The method includes the steps that whether a user terminal is in a holding state or is placed on an equipment support can be detected, when the user terminal is detected to be in the holding state or placed on the equipment support, the content of the user terminal can be checked by a representation user, the user can possibly not start a first vehicle in time at the moment, information of a target object located in front of the first vehicle can be obtained, when the user terminal is detected to be in a standing state (such as a horizontal placement state), the content of the user terminal cannot be checked by the representation user, the user can start the first vehicle in time at the moment, and information of the target object located in front of the first vehicle can not be obtained. As one way, the user terminal may include a pressure sensor for detecting pressure applied to the user terminal. Wherein, it can be understood that, when the user terminal is in a horizontal placement state, then the pressure sensor detects that the pressure acting on the user terminal may be 0; when the user terminal is in a holding state or is clamped by the equipment bracket, the pressure sensor detects that the pressure acting on the user terminal may be a value other than 0, and therefore, whether the user terminal is in the holding state or is placed on the equipment bracket can be judged through the pressure value detected by the pressure sensor. As another way, the user terminal may include a contact sensor, and it may be determined whether the user terminal is in a held state or placed on the device holder by a contact area and/or a contact point detected by the contact sensor, which is not described herein again.
Step S420: and when the state of the second vehicle is switched from the parking state to the starting state, outputting first prompt information, wherein the first prompt information is used for prompting the starting of the first vehicle.
For detailed description of step S420, please refer to step S120, which is not described herein.
Step S430: and when the user terminal is in a bright screen state, controlling the user terminal to be switched from the bright screen state to a screen-off state.
In some embodiments, after outputting the first prompt, the user may or may not continue to maintain the first vehicle in a stopped state in response to the first prompt. By one approach, when it is detected that the first vehicle is started in response to the first prompt message, then the subsequent steps may not be performed. As another mode, when it is detected that the first vehicle does not continue to maintain the first vehicle in the parking state in response to the first prompt message within the preset time period, state information of the user terminal may be detected, where the state information includes a screen-on state and a screen-off state.
In some embodiments, detecting the state information of the user terminal may include: the method includes the steps of detecting screen brightness of a user terminal, determining that state information of the user terminal is in a screen-on state when the screen brightness of the user terminal is detected to be 0, and determining that the state information of the user terminal is in a screen-on state when the screen brightness of the user terminal is detected to be larger than 0.
In some embodiments, when it is detected that the state information of the user terminal is in a bright screen state, it indicates that there may be a situation where a user (driver) browses the content displayed by the user terminal, and in this case, it may cause a situation where the first vehicle remains in a parking state on the preset driving road for a long time, resulting in an increased probability of road congestion. Therefore, in this embodiment, when it is detected that the state information of the user terminal is in the bright screen state, the user terminal may be controlled to switch from the bright screen state to the dark screen state, so as to prompt a user corresponding to the user terminal to quickly start the first vehicle, and avoid road congestion caused by the first vehicle remaining in a parking state for a long time on the preset driving road.
In some embodiments, when it is detected that the state information of the user terminal is in a bright screen state, an application running in a foreground of the user terminal may be acquired. For example, the user terminal may determine the application Running in the foreground through its Running Task, running Process, activity Lifecycle calls, usage states Manager, android self-contained barrier-free function, or Process information stored in a directory in the Linux system kernel.
The method includes the steps that whether an application program runs in the foreground of a user terminal or not is judged through Running tasks of the user terminal, when the application program runs in the foreground, the application program can be located at the stack top of the stack of the Running tasks, so that a Task process at the stack top of the Running tasks can be taken out, whether the Task process is the same as the package name of the application program or not is checked, it can be understood that when the package name of the Task process at the stack top is the same as the package name of the application program, the application program can be represented to run in the foreground of the user terminal, and when the package name of the Task process at the stack top is different from the package name of the application program, the application program can be represented to not run in the foreground of the user terminal.
In some embodiments, the user terminal may preset and store a preset white list, where the preset white list is used as a determination basis for an application program running in a foreground, where the application program included in the preset white list may be automatically set by the user terminal or manually set by a user, and is not limited herein, for example, the preset white list may include a video communication application program. Therefore, in this embodiment, after obtaining the application program run in the foreground of the user terminal, the application program may be compared with the application programs included in the preset white list to determine whether the preset white list includes the application program consistent with the application program run in the foreground. When the preset white list comprises the application program consistent with the application program operated in the foreground, the bright screen state of the user terminal can be kept; when it is determined that the preset white list does not include the application program consistent with the application program operated in the foreground, the user terminal can be controlled to be switched from the bright screen state to the screen-off state.
According to the driving prompting method provided by the further embodiment of the application, when the user terminal is in a holding state or placed on the equipment support, information of a target object located in front of the first vehicle is obtained, wherein the information of the target object comprises a state where the second vehicle is located, when the state where the second vehicle is located is switched from a parking state to a starting state, first prompting information used for prompting starting of the first vehicle is output, and when the user terminal is in a screen lightening state, the user terminal is controlled to be switched from the screen lightening state to the screen lightening state. Compared with the driving prompting method shown in fig. 3, the embodiment further executes subsequent detection and prompting operations when the user checks the user terminal according to the holding state, so that the rationality of detection and prompting is improved, and the power consumption of the electronic device is reduced.
Referring to fig. 11, fig. 11 is a schematic flow chart illustrating a driving prompting method according to another embodiment of the present application. The method is applied to the electronic device, in this embodiment, lanes where the first vehicle and the second vehicle are located are the same, and the following will explain in detail with respect to the flow shown in fig. 11, where the driving prompting method may specifically include the following steps:
step S510: when a first vehicle is in a parking state on a preset running road, acquiring information of a target object positioned in front of the first vehicle, wherein the information of the target object comprises a state of a second vehicle, and the second vehicle is positioned on the preset running road.
Step S520: and when the state of the second vehicle is switched from the parking state to the starting state, outputting first prompt information, wherein the first prompt information is used for prompting the starting of the first vehicle.
For the detailed description of steps S510 to S520, refer to steps S110 to S120, which are not described herein again.
Step S530: and acquiring the state of a third vehicle in front of the first vehicle, wherein the lanes of the first vehicle and the third vehicle are different.
In this embodiment, the first vehicle, the second vehicle and the third vehicle are all located on the preset driving road, lanes where the first vehicle and the second vehicle are located are the same, and lanes where the first vehicle and the third vehicle are located are different. For example, the first vehicle is in the same lane as the second vehicle, and the third vehicle is in a lane adjacent to the lane in which the first vehicle and the second vehicle are located.
As one manner, acquiring that the third vehicle located ahead of the first vehicle is in the state may include: the first vehicle comprises a camera, when the first vehicle is in a parking state on a preset running road, the camera of the first vehicle can be controlled to acquire an image of a third vehicle in front of the first vehicle, and the state of the third vehicle in front of the first vehicle can be acquired from the image.
In some embodiments, when the electronic device is an in-vehicle terminal, the in-vehicle terminal may control a camera of the first vehicle to acquire an image of a third vehicle located in front of the first vehicle, and from the image, a state in which the third vehicle located in front of the first vehicle is located may be acquired. When the electronic device is a user terminal, the user terminal can be connected with a vehicle-mounted terminal of the first vehicle, the user terminal can control a camera of the first vehicle to acquire an image of a third vehicle located in front of the first vehicle through the vehicle-mounted terminal, the vehicle-mounted terminal sends the acquired image to the user terminal after acquiring the image acquired by the camera, and the user terminal can acquire the state of the third vehicle from the received image.
As still another way, acquiring the state where i am in contact with a third vehicle in front of the first vehicle may include: a third vehicle located in front of the first vehicle on the preset driving road may send a broadcast message, where the broadcast message may carry a state where the third vehicle is located, and the electronic device may receive the broadcast message and obtain the state where the third vehicle is located from the received broadcast message.
Wherein the third vehicle may be in a state including: the state of parking, the state of driving, the state of switching from parking to starting, the state of switching from starting to parking, and the like, and the present invention is not limited thereto.
Referring to fig. 12, fig. 12 is a schematic view illustrating a third preset driving road according to an embodiment of the present application. As shown in fig. 12, the preset traveling road includes a first vehicle a, and a second vehicle B and a third vehicle D are included in front of the first vehicle a, wherein the lane where the first vehicle a is located is the same as the lane where the second vehicle B is located, and the lane where the first vehicle a is located is different from the lane where the third vehicle D is located.
Referring to fig. 13, fig. 13 is a schematic diagram illustrating a fourth preset driving road according to an embodiment of the present disclosure. As shown in fig. 13, the preset driving road includes a first vehicle a, and a second vehicle B, a third vehicle D and a traffic signal light C are provided in front of the first vehicle a, wherein the lane where the first vehicle a is located is the same as the lane where the second vehicle B is located, and the lane where the first vehicle a is located is different from the lane where the third vehicle D is located.
Step S540: and outputting second prompt information when the time length for which the second vehicle is kept in the parking state is longer than a first preset time length and the state of the third vehicle is a driving state, wherein the second prompt information is used for prompting the lane switching driving.
In this embodiment, when it is determined that the time period during which the second vehicle remains in the parking state is longer than the first preset time period and the state in which the third vehicle is located is the driving state, it may be determined that the second vehicle in the same lane as the first vehicle may not move forward due to a fault, and the third vehicle in a different lane from the first vehicle moves forward smoothly, and therefore, second prompt information for prompting to control the first vehicle to switch lane driving may be output, that is, prompting to switch the first vehicle from being located in the same lane as the second vehicle to being located in the same lane as the third vehicle, so as to improve the passing efficiency of the first vehicle and avoid road congestion.
In some embodiments, when the duration that the second vehicle remains in the parking state is longer than the first preset duration and the state that the third vehicle is in is the driving state, a navigation route corresponding to a navigation application program operated by the electronic device may be acquired, and it may be determined whether the navigation route includes a route corresponding to a lane where the third vehicle is located, where when the determination result indicates that the navigation route includes a route corresponding to a lane where the third vehicle is located, the second prompt information may be output, and when the determination result indicates that the navigation route does not include a route corresponding to a lane where the third vehicle is located, the second prompt information may not be output.
In some embodiments, the second prompting message may include, but is not limited to: one or a combination of several of text prompt information, audio prompt information and vibration prompt information.
Referring to fig. 14, fig. 14 is a schematic view illustrating a second interface of an electronic device according to an embodiment of the present disclosure. As shown in fig. 14, the electronic device may be the user terminal 100, and the user terminal 100 may display a second prompt message, for example, displaying "change lane".
The driving prompting method provided by another embodiment of the present application includes obtaining information of a target object that is the same as a first vehicle lane and is located in front of the first vehicle when the first vehicle is in a parking state on a preset driving road, where the information of the target object includes a state where a second vehicle is located, outputting first prompting information for prompting to start the first vehicle when the state where the second vehicle is located is switched from the parking state to a starting state, obtaining a state where a third vehicle that is different from the first vehicle lane and is located in front of the first vehicle is located, and outputting second prompting information for prompting to switch lanes to drive when a duration that the second vehicle is kept in the parking state is longer than a first preset duration and the state where the third vehicle is located is the driving state. Compared with the driving prompting method shown in fig. 3, the embodiment also prompts lane switching to drive when the vehicle in front of the same lane is not started and the vehicle in front of the other lane is started, so that the passing efficiency of the vehicle is improved, and the jam time of the vehicle is reduced.
Referring to fig. 15, fig. 15 is a schematic flow chart illustrating a driving prompting method according to yet another embodiment of the present application. The method is applied to the electronic device, and will be described in detail with respect to the flow shown in fig. 15, where the driving prompting method specifically includes the following steps:
step S610: when a first vehicle is in a parking state on a preset driving road, acquiring information of a target object located in front of the first vehicle, wherein the information of the target object comprises a state of a second vehicle located on the preset driving road.
Step S620: and when the state of the second vehicle is switched from the parking state to the starting state, displaying first prompt information, wherein the first prompt information is used for prompting the starting of the first vehicle.
For the detailed description of step S610 to step S620, refer to step S110 to step S120, which are not described herein again.
Step S630: and deleting the first prompt message when the touch operation for indicating to close the first prompt message is detected.
In some embodiments, in the process of displaying the first prompt information, the electronic device may detect an operation for the first prompt information, delete the first prompt information at the electronic device when a touch operation for instructing to close the first prompt information is detected, and keep displaying the first prompt information at the electronic device until a touch operation for instructing to close the first prompt information is detected when a touch operation for instructing to close the first prompt information is not detected. The touch operation includes but is not limited to: single-finger click operation, multi-finger click operation, single-finger press operation, multi-finger press operation, single-finger slide operation, multi-finger slide operation, single-finger long-press operation, multi-finger long-press operation.
Step S640: and deleting the first prompt message when the display duration of the first prompt message reaches a second preset duration.
In some embodiments, the electronic device may preset and store a second preset time period, where the second preset time period is used as a criterion for determining the display time period of the first prompt message, for example, the second preset time period may include 3 seconds, 5 seconds, 10 seconds, and the like, and is not limited herein. Based on this, in this embodiment, when the electronic device starts to display the first prompt message, the electronic device may time the display duration of the first prompt message to obtain the display duration of the first prompt message, and compare the display duration of the first prompt message with a second preset duration to determine whether the display duration of the first prompt message reaches the second preset duration, where when the display duration of the first prompt message reaches the second preset duration, the electronic device may delete the first prompt message, and when the display duration of the first prompt message does not reach the second preset duration, the electronic device may keep displaying the first prompt message until the display duration of the first prompt message reaches the second preset duration.
In another embodiment of the present application, when a first vehicle is in a parking state on a preset driving road, information of a target object that is the same as a lane of the first vehicle and is located in front of the first vehicle is acquired, where the information of the target object includes a state where a second vehicle is located, when the state where the second vehicle is located is switched from the parking state to a starting state, first prompt information for prompting to start the first vehicle is output, and when a touch operation for instructing to close the first prompt information is detected, the first prompt information is deleted, or when a display duration of the first prompt information reaches a second preset duration, the first prompt information is deleted. Compared with the driving prompting method shown in fig. 3, the embodiment also deletes the first prompting information when the preset condition is met, so as to reduce disturbance to the user and improve the experience of the user.
Referring to fig. 16, fig. 16 shows a block diagram of a driving prompt device according to an embodiment of the present application. The driving prompting device 300 is applied to the electronic device, and will be explained with reference to the block diagram shown in fig. 16, where the driving prompting device 300 includes: an information acquisition module 310 and a prompt output module 320, wherein:
the information obtaining module 310 is configured to obtain information of a target object located in front of a first vehicle when the first vehicle is in a parking state on a preset driving road, where the information of the target object includes a state where a second vehicle is located, and the second vehicle is located on the preset driving road.
Further, the first vehicle includes a camera, and the information obtaining module 310 includes: an image acquisition sub-module and a first status acquisition sub-module, wherein:
and the image acquisition submodule is used for acquiring an image in front of the first vehicle, which is acquired by the camera.
Further, the electronic device is a user terminal, the first vehicle further includes a vehicle-mounted terminal, the vehicle-mounted terminal is respectively connected with the user terminal and the camera, and the image acquisition sub-module includes: collection control unit and image acquisition unit, wherein:
and the acquisition control unit is used for controlling the camera to acquire the image in front of the first vehicle through the vehicle-mounted terminal.
And the image acquisition unit is used for acquiring the image sent by the vehicle-mounted terminal.
A first state acquisition sub-module configured to acquire, from the image, information of the target object located in front of the first vehicle.
Further, the electronic device is a user terminal, and the information obtaining module 310 includes: a second state acquisition submodule, wherein:
and the second state acquisition submodule is used for acquiring the information of the target object positioned in front of the first vehicle when the user terminal is in the gazing state.
The prompt output module 320 is configured to output first prompt information when the state of the second vehicle is switched from the parking state to the starting state, where the first prompt information is used to prompt the first vehicle to start.
Further, a traffic signal lamp is disposed on the preset driving road, the information of the target object further includes an indication signal of the target traffic signal lamp, wherein the target traffic signal lamp is a traffic signal lamp related to a lane where the first vehicle is located, and the prompt output module 320 includes: instruction signal acquisition submodule and suggestion output submodule, wherein:
and the prompt output submodule is used for outputting the first prompt information when the state of the second vehicle is switched from the parking state to the starting state and the indication signal is a traffic indication signal.
Further, the driving prompt device 300 further includes: a screen state switching module, wherein:
and the screen state switching module is used for controlling the user terminal to be switched from the screen-on state to the screen-off state when the user terminal is in the screen-on state.
Further, the screen status switching module includes: a screen state switching sub-module, wherein:
and the screen installation switching submodule is used for controlling the user terminal to be switched from a bright screen state to a screen off state when the application program operated by the foreground of the user terminal does not meet a preset white list.
Further, the lanes where the first vehicle and the second vehicle are located are the same, and the driving prompt apparatus 300 further includes: the state reacquires module and suggestion module of exporting again, wherein:
the state reacquisition module is used for acquiring the state of a third vehicle located in front of the first vehicle, wherein lanes where the first vehicle and the third vehicle are located are different.
And the prompt re-output module is used for outputting second prompt information when the time length for keeping the second vehicle in the parking state is longer than the first preset time length and the state of the third vehicle is the driving state, wherein the second prompt information is used for prompting the lane switching driving.
Further, outputting the first prompt message includes displaying the first prompt message, and the driving prompt device 300 further includes: a first deletion module and a second deletion module, wherein:
the first deleting module is used for deleting the first prompt message when the touch operation for indicating to close the first prompt message is detected.
And the second deleting module is used for deleting the first prompt message when the display duration of the first prompt message reaches a second preset duration.
It can be clearly understood by those skilled in the art that, for convenience and simplicity of description, the specific working processes of the above-described devices and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, the coupling between the modules may be electrical, mechanical or other type of coupling.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
Referring to fig. 17, a block diagram of an electronic device 400 according to an embodiment of the present disclosure is shown. The electronic device 400 may include the user terminal 100, and may also include the vehicle-mounted terminal 200, which is not limited herein. The electronic device 400 in the present application may include one or more of the following components: a processor 410, a memory 420, and one or more applications, wherein the one or more applications may be stored in the memory 420 and configured to be executed by the one or more processors 410, the one or more programs configured to perform a method as described in the aforementioned method embodiments.
Processor 410 may include one or more processing cores, among others. The processor 410 interfaces with various components throughout the electronic device 400 using various interfaces and circuitry to perform various functions of the electronic device 400 and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 420 and invoking data stored in the memory 420. Alternatively, the processor 410 may be implemented in hardware using at least one of Digital Signal Processing (DSP), field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 410 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content to be displayed; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 410, but may be implemented by a communication chip.
The Memory 420 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 420 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 420 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like. The memory data area may also store data created during use by the electronic device 400 (e.g., phone books, audiovisual data, chat log data), etc.
Referring to fig. 18, a block diagram of a computer-readable storage medium according to an embodiment of the present application is shown. The computer readable medium 500 has stored therein a program code that can be called by a processor to execute the method described in the above method embodiments.
The computer-readable storage medium 500 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium 500 includes a non-volatile computer-readable medium. The computer readable storage medium 500 has storage space for program code 510 for performing any of the method steps of the method described above. The program code can be read from and written to one or more computer program products. The program code 510 may be compressed, for example, in a suitable form.
To sum up, according to the driving prompting method, the driving prompting device, the electronic device and the storage medium provided by the embodiment of the application, when the vehicle is in the parking state on the preset driving road, the state of another vehicle in front of the vehicle on the preset driving road is obtained, and when the state of another vehicle is switched from the parking state to the starting state, the prompting information is output to prompt the starting of the vehicle, so that the traffic efficiency of the road is improved, and the road blockage is effectively avoided.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (12)

1. A driving prompting method is applied to electronic equipment, and the method comprises the following steps:
when a first vehicle is in a parking state on a preset driving road, acquiring information of a target object in front of the first vehicle, wherein the information of the target object comprises a state of a second vehicle, and the second vehicle is located on the preset driving road;
and when the state of the second vehicle is switched from the parking state to the starting state, outputting first prompt information, wherein the first prompt information is used for prompting the starting of the first vehicle.
2. The method according to claim 1, wherein a traffic light is disposed on the preset driving road, the information on the target object further includes an indication signal of the target traffic light, wherein the target traffic light is a traffic light related to a lane in which the first vehicle is located, and the outputting the first prompt information includes:
and when the state of the second vehicle is switched from the parking state to the starting state and the indication signal is a passing indication signal, outputting the first prompt message.
3. The method of claim 1, wherein the first vehicle includes a camera, and the obtaining information of a target object located in front of the first vehicle includes:
acquiring an image in front of the first vehicle, which is acquired by the camera;
from the image, information of the target object located in front of the first vehicle is acquired.
4. The method according to claim 3, wherein the electronic device is a user terminal, the first vehicle further comprises an in-vehicle terminal, the in-vehicle terminal is respectively connected to the user terminal and the camera, and the acquiring the image in front of the first vehicle captured by the camera comprises:
controlling the camera to acquire an image in front of the first vehicle through the vehicle-mounted terminal;
and acquiring the image sent by the vehicle-mounted terminal.
5. The method according to any one of claims 1-4, wherein the electronic device is a user terminal, and the obtaining information of the target object located in front of the first vehicle comprises:
and when the user terminal is in the state of being watched, acquiring the information of the target object positioned in front of the first vehicle.
6. The method of claim 5, further comprising, after outputting the first prompt message:
and when the user terminal is in a bright screen state, controlling the user terminal to be switched from the bright screen state to a screen-off state.
7. The method according to claim 6, wherein the controlling the user terminal to switch from a bright screen state to a dark screen state comprises:
and when the foreground running application program of the user terminal does not meet a preset white list, controlling the user terminal to be switched from a bright screen state to a dark screen state.
8. The method of any of claims 1-4, wherein the first vehicle and the second vehicle are in the same lane, the method further comprising:
acquiring the state of a third vehicle positioned in front of the first vehicle, wherein lanes in which the first vehicle and the third vehicle are positioned are different;
and outputting second prompt information when the time length for which the second vehicle is kept in the parking state is longer than a first preset time length and the state of the third vehicle is a driving state, wherein the second prompt information is used for prompting the lane switching driving.
9. The method of any of claims 1-4, wherein outputting the first prompt message includes displaying the first prompt message, and further comprising, after displaying the first prompt message:
deleting the first prompt message when touch operation for indicating to close the first prompt message is detected; or
And when the display duration of the first prompt message reaches a second preset duration, deleting the first prompt message.
10. The utility model provides a driving suggestion device which characterized in that is applied to electronic equipment, the device includes:
the information acquisition module is used for acquiring information of a target object positioned in front of a first vehicle when the first vehicle is in a parking state on a preset running road, wherein the information of the target object comprises the state of a second vehicle positioned on the preset running road;
and the prompt output module is used for outputting first prompt information when the state of the second vehicle is switched from the parking state to the starting state, wherein the first prompt information is used for prompting the starting of the first vehicle.
11. An electronic device comprising a memory and a processor, the memory coupled to the processor, the memory storing instructions that, when executed by the processor, the processor performs the method of any of claims 1-9.
12. A computer-readable storage medium, characterized in that a program code is stored in the computer-readable storage medium, which program code can be called by a processor to execute the method according to any of claims 1-9.
CN202110763424.3A 2021-07-06 2021-07-06 Driving prompting method and device, electronic equipment and storage medium Pending CN115571149A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110763424.3A CN115571149A (en) 2021-07-06 2021-07-06 Driving prompting method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110763424.3A CN115571149A (en) 2021-07-06 2021-07-06 Driving prompting method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115571149A true CN115571149A (en) 2023-01-06

Family

ID=84578870

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110763424.3A Pending CN115571149A (en) 2021-07-06 2021-07-06 Driving prompting method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115571149A (en)

Similar Documents

Publication Publication Date Title
CN100473152C (en) Image processing camera system and image processing camera controlling method
CN113284339B (en) Vehicle information reminding method, storage medium and vehicle information reminding system
CN112950989A (en) Roadside auxiliary parking method and device and electronic equipment
US20210035438A1 (en) Pedestrian management systems and methods
CN115269097A (en) Navigation interface display method, navigation interface display device, navigation interface display equipment, storage medium and program product
JP2018194976A (en) Message display program, message display device, and message display method
CN115571149A (en) Driving prompting method and device, electronic equipment and storage medium
CN115489536B (en) Driving assistance method, system, equipment and readable storage medium
US20230022123A1 (en) Autonomous driving method and apparatus
CN112435475B (en) Traffic state detection method, device, equipment and storage medium
CN113053096B (en) Traffic accident early warning method and device, storage medium and intelligent lamp pole
CN112644484B (en) Braking method, braking device, electronic equipment and readable storage medium
CN114935905A (en) Parking method, parking device, vehicle and storage medium
CN113823246A (en) Screen brightness adjusting method and device and electronic equipment
CN112061132A (en) Driving assistance method and driving assistance device
CN109582019B (en) Method and device for taking over in case of intelligent automobile lane change failure and storage medium
US20200160247A1 (en) To-do management apparatus, to-do management method, and to-do management program
CN113421417B (en) Alarm prompting method and device, electronic equipment and storage medium
CN112309151A (en) Traffic light state reminding method and device, vehicle machine and vehicle
CN112257588A (en) Method for automatically identifying expression of driver
WO2023241185A1 (en) Human-computer interaction method and apparatus
WO2022262418A1 (en) Image display method and apparatus, and vehicle and storage medium
CN115752504A (en) Navigation prompt broadcasting method, device, equipment and medium
CN117341580A (en) Vehicle-mounted interactive driving assisting method, vehicle-mounted electronic equipment and storage medium
CN115027472A (en) Automatic start-stop control method, system, electronic device, and computer storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination