CN113421417A - Alarm prompting method and device, electronic equipment and storage medium - Google Patents

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

Info

Publication number
CN113421417A
CN113421417A CN202110614371.9A CN202110614371A CN113421417A CN 113421417 A CN113421417 A CN 113421417A CN 202110614371 A CN202110614371 A CN 202110614371A CN 113421417 A CN113421417 A CN 113421417A
Authority
CN
China
Prior art keywords
user terminal
vehicle
information
navigation information
navigation
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.)
Granted
Application number
CN202110614371.9A
Other languages
Chinese (zh)
Other versions
CN113421417B (en
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 CN202110614371.9A priority Critical patent/CN113421417B/en
Publication of CN113421417A publication Critical patent/CN113421417A/en
Application granted granted Critical
Publication of CN113421417B publication Critical patent/CN113421417B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/005Traffic control systems for road vehicles including pedestrian guidance indicator
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/123Traffic control systems for road vehicles indicating the position of vehicles, e.g. scheduled vehicles; Managing passenger vehicles circulating according to a fixed timetable, e.g. buses, trains, trams
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/123Traffic control systems for road vehicles indicating the position of vehicles, e.g. scheduled vehicles; Managing passenger vehicles circulating according to a fixed timetable, e.g. buses, trains, trams
    • G08G1/127Traffic control systems for road vehicles indicating the position of vehicles, e.g. scheduled vehicles; Managing passenger vehicles circulating according to a fixed timetable, e.g. buses, trains, trams to a central station ; Indicators in a central station
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/16Anti-collision systems
    • G08G1/166Anti-collision systems for active traffic, e.g. moving vehicles, pedestrians, bikes

Abstract

The application discloses an alarm prompting method and device, electronic equipment and a storage medium, and relates to the technical field of vehicle-machine interaction. The method comprises the following steps: and when the first position is positioned on a navigation route indicated by the navigation information and the distance between the first position and the second position is less than a preset distance, sending alarm prompt information to the user terminal so as to instruct the user terminal to output the alarm prompt information. According to the method and the device, the user corresponding to the user terminal is warned and prompted according to the relation between the position of the user terminal and the position of the vehicle-mounted terminal and the relation between the position of the user terminal and the navigation route, and therefore safety in the driving process is improved.

Description

Alarm 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 an alarm prompting method and apparatus, an electronic device, and a storage medium.
Background
With the continuous development of automobile technology, automobiles gradually become main vehicles for people to go out, and the requirements of users on automobile driving safety are higher and higher, so that more and more warning prompts are provided in the driving process. For example, the position of a front obstacle object is sensed during driving, the distance between the vehicle and the obstacle object is calculated, and a warning prompt is given to a driver according to the distance. However, the warning prompting mode is poor in improvement of driving safety.
Disclosure of Invention
In view of the above problems, the present application provides an alarm prompting method, an alarm prompting apparatus, an electronic device, and a storage medium to solve the above problems.
In a first aspect, an embodiment of the present application provides an alarm prompting method, which is applied to a server, and the method includes: acquiring the position of a user terminal as a first position; acquiring navigation information of a vehicle-mounted terminal, and acquiring the position of the vehicle-mounted terminal as a second position; and when the first position is positioned on the navigation route indicated by the navigation information and the distance between the first position and the second position is less than the preset distance, sending alarm prompt information to the user terminal so as to indicate the user terminal to output the alarm prompt information.
In a second aspect, an embodiment of the present application provides an alarm prompting method, which is applied to a user terminal, and the method includes: receiving a broadcast message sent by a vehicle-mounted terminal, wherein the broadcast message carries navigation information of the vehicle-mounted terminal; acquiring the position of the user terminal; and outputting alarm prompt information when the position of the user terminal is positioned on the navigation route indicated by the navigation information.
In a third aspect, an embodiment of the present application provides an alarm prompting device, which is applied to a server, and the device includes: a first position obtaining module, configured to obtain a position of a user terminal as a first position; the second position acquisition module is used for acquiring navigation information of the vehicle-mounted terminal and acquiring the position of the vehicle-mounted terminal as a second position; and the warning prompt module is used for sending warning prompt information to the user terminal to indicate the user terminal to output the warning prompt information when the first position is located on the navigation route indicated by the navigation information and the distance between the first position and the second position is less than a preset distance.
In a fourth aspect, an embodiment of the present application provides an alarm prompting device, which is applied to a user terminal, and the method includes: the system comprises a broadcast message receiving module, a navigation information sending module and a navigation information sending module, wherein the broadcast message receiving module is used for receiving a broadcast message sent by a vehicle-mounted terminal, and the broadcast message carries the navigation information of the vehicle-mounted terminal; a position obtaining module, configured to obtain a position of the user terminal; and the warning prompt module is used for outputting warning prompt information when the position of the user terminal is positioned on the navigation route indicated by the navigation information.
In a fifth aspect, embodiments of the present application provide an electronic device, including a memory and a processor, the memory being coupled to the processor, the memory storing instructions, the processor performing the above method when the instructions are executed by the processor.
In a sixth aspect, the present application provides a computer-readable storage medium, where a program code is stored in the computer-readable storage medium, and the program code can be called by a processor to execute the above method.
According to the warning prompting method, the warning prompting device, the electronic equipment and the storage medium, the position of the user terminal is obtained to represent the position of a pedestrian, the position of the vehicle-mounted terminal is obtained to represent the position of a vehicle, and the navigation information of the vehicle-mounted terminal is obtained to determine the navigation route of the vehicle.
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 diagram illustrating an application environment that may be used in the alert prompt method provided by the embodiment of the present application;
FIG. 2 is a schematic diagram of another application environment that may be used in the alert prompt method provided in the embodiment of the present application;
FIG. 3 is a flowchart illustrating an alert prompt method according to an embodiment of the present application;
FIG. 4 is a first schematic diagram of a user terminal and a vehicle-mounted terminal provided by an embodiment of the application;
FIG. 5 is a second schematic diagram of a user terminal and a vehicle-mounted terminal provided by an embodiment of the application;
FIG. 6 is a schematic interface diagram of a user terminal provided in an embodiment of the present application;
FIG. 7 is a flowchart illustrating an alert prompt method according to yet another embodiment of the present application;
FIG. 8 is a flowchart illustrating an alert prompt method according to yet another embodiment of the present application;
FIG. 9 is a schematic interface diagram of a vehicle-mounted terminal provided by an embodiment of the application;
FIG. 10 is a flowchart illustrating step S311 of the alert prompt method illustrated in FIG. 8 of the present application;
FIG. 11 is a flowchart illustrating an alert prompt method according to another embodiment of the present application;
FIG. 12 is a block diagram of an alert prompt apparatus according to an embodiment of the present application;
FIG. 13 is a block diagram of an alert prompt apparatus according to yet another embodiment of the present application;
FIG. 14 is a block diagram of an electronic device for executing an alarm notification method according to an embodiment of the present application;
fig. 15 illustrates a storage unit for storing or carrying program codes for implementing an alarm notification method according to an 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, the position of a front obstacle object is generally sensed in the driving process, then the distance between a vehicle and the obstacle object is calculated, and a driver is warned according to the distance, for example, in some big cities, a pedestrian crossing warning system is used, when a pedestrian crossing a road is detected, a warning prompt appears at the previous intersection in advance to remind the driver of decelerating and driving, however, the warning prompt mode is only for the driver, and the warning prompt is not performed for the pedestrian, so that the driving safety is improved badly.
In view of the above problems, the inventors have found and proposed a warning prompting method, a warning prompting device, an electronic device, and a storage medium according to embodiments of the present application through long-term research, and when the position of a pedestrian is located on a navigation route of a vehicle and a distance between the position of the pedestrian and the position of the vehicle is short, warning prompting information may be output to the pedestrian through a user terminal, so as to improve safety of the vehicle during driving. The specific alarm 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 alert prompting method provided in the embodiments of the present application.
Referring to fig. 1, fig. 1 is a schematic diagram illustrating an application environment that can be used in the alert prompting method provided in the embodiment of the present application. As shown in fig. 1, the application environment includes a server 100, a user terminal 200, and a vehicle-mounted terminal 300, where the server 100 is connected to the user terminal 200 to implement data interaction between the server 100 and the user terminal 200, and the server 100 is connected to the vehicle-mounted terminal 300 to implement data interaction between the server 100 and the vehicle-mounted terminal 300. The user terminal 200 corresponds to a user (e.g., corresponds to a pedestrian), and the vehicle-mounted terminal 300 corresponds to a vehicle, for example, the vehicle-mounted terminal may be a vehicle-mounted device of the vehicle. By one approach, the user terminal 200 may include a smart phone, a tablet computer, a wearable electronic device, and the like, and the in-vehicle terminal 300 may include a smart phone, an in-vehicle device, and the like. The server 100 may include a conventional server, a cloud server, and the like.
Referring to fig. 2, fig. 2 is a schematic diagram illustrating another application environment that can be used in the alert prompting method provided in the embodiment of the present application. As shown in fig. 2, the application environment includes a user terminal 200 and a vehicle-mounted terminal 300, wherein the vehicle-mounted terminal 300 may transmit a WLAN broadcast message, a bluetooth broadcast message, etc., and may receive the WLAN broadcast message, the bluetooth broadcast message, etc., transmitted by the vehicle-mounted terminal 300 when the user terminal 200 is located within a broadcast range of the vehicle-mounted terminal 300 (a dashed box shown in fig. 2).
The number of the user terminals 200 may be one or more, and the number of the in-vehicle terminals 300 may be one or more, for example, the number of the in-vehicle terminals 300 may be one, and the number of the user terminals 200 may be multiple, so that one in-vehicle terminal 300 may give an alarm to a pedestrian corresponding to each of the plurality of user terminals 200 and a driver corresponding to the in-vehicle terminal 300 based on a relationship between the plurality of user terminals 200.
Referring to fig. 3, fig. 3 is a schematic flowchart illustrating an alarm prompting method according to an embodiment of the present application. The alarm prompting method is applied to a server, and will be described in detail with respect to the flow shown in fig. 3, and the alarm prompting method may specifically include the following steps:
step S101: the position of the user terminal is acquired as a first position.
In this embodiment, the server is connected to the user terminal to implement data interaction with the user terminal, and the server is connected to the vehicle-mounted terminal to implement data interaction with the vehicle-mounted terminal.
In some embodiments, the server may obtain the location of the user terminal as the first location. As one mode, the ue may include a positioning module, and the ue may obtain its position through the positioning module and send the position to the server, and accordingly, the server receives the position sent by the ue as the first position. Wherein, the positioning module may include but is not limited to: big dipper positioning module, Global Positioning System (GPS).
In some embodiments, the server may obtain the location of the user terminal in real time, may obtain the location of the user terminal according to a preset time interval, may obtain the location of the user terminal according to a preset time, and may also obtain the location of the user terminal according to other preset rules, which is not limited herein. As an implementable manner, if the current time indicates that the probability of the user outdoors is greater than the preset probability, the position of the user terminal may be obtained in real time, and if the probability of the user outdoors represented by the current time is not greater than the preset probability, the position of the user terminal may be obtained at preset time intervals.
In some embodiments, the server may preset and store a first preset area, where the first preset area is used as a criterion for determining whether to acquire the location of the user terminal as a first location, and the first preset area may be used to represent an area where a vehicle passes through. Therefore, in this embodiment, the location of the user terminal may be obtained, whether the location is located in the first preset region is detected, when the location is located in the first preset region, the location where the user corresponding to the user terminal is located may be characterized as a location where a vehicle passes through, and the location may be regarded as the first location.
In some embodiments, the server may preset and store a second preset area, where the second preset area is used as a criterion for determining whether to acquire the location of the user terminal as the first location, where the second preset area may be used to represent an area where a vehicle passes through, and the speed limit of the area is higher than the preset speed. Therefore, in this embodiment, the location of the user terminal may be obtained, whether the location is located in the second preset area is detected, when the location is located in the second preset area, the location representing the location where the user corresponding to the user terminal is located may have a vehicle passing through and the speed of the vehicle may be higher, the location may be used as the first location, and when the location is not located in the second preset area, the location representing the location where the user corresponding to the user terminal is located may not have a vehicle passing through or the speed of the vehicle passing through may be lower, the location may not be used as the second location.
Step S102: and acquiring navigation information of the vehicle-mounted terminal, and acquiring the position of the vehicle-mounted terminal as a second position.
In some embodiments, the server may obtain navigation information of the vehicle-mounted terminal. As one mode, the vehicle-mounted terminal may be a vehicle-mounted device (vehicle-mounted system), and the vehicle may generate the navigation information through the vehicle-mounted device, and the vehicle may send the navigation information of the vehicle-mounted device to the server, and accordingly, the server receives the navigation information sent by the vehicle-mounted terminal. As another mode, the vehicle-mounted terminal may be a smart phone placed in a vehicle, and the vehicle may generate navigation information through the smart phone, and the vehicle may send the navigation information of the smart phone to the server, and accordingly, the server receives the navigation information sent by the vehicle-mounted terminal.
In some embodiments, the server may acquire the location of the in-vehicle terminal as the second location. As one mode, the vehicle-mounted terminal may include a positioning module, and the vehicle-mounted terminal may obtain a position thereof through the positioning module and send the position thereof to the server, and accordingly, the server receives the position sent by the vehicle-mounted terminal as the second position. Wherein, the positioning module may include but is not limited to: big dipper positioning module, Global Positioning System (GPS).
In some embodiments, the server may obtain the position of the vehicle-mounted terminal in real time, may obtain the position of the vehicle-mounted terminal according to a preset time interval, may obtain the position of the vehicle-mounted terminal according to a preset time, and may also obtain the position of the vehicle-mounted terminal according to other preset rules, which is not limited herein. As an implementable manner, if the probability that the pedestrian exists in the current time and/or the current road section representation vehicle driving road section is greater than the preset probability, the position of the vehicle-mounted terminal can be obtained in real time, and if the probability that the pedestrian exists in the current time and/or the current road section representation vehicle driving road section is not greater than the preset probability, the position of the vehicle-mounted terminal can be obtained according to the preset time interval.
In some embodiments, a third preset area may be preset and stored in the server, where the third preset area is used as a criterion for determining whether to acquire the position of the vehicle-mounted terminal as the second position, and the third preset area may be used to represent an area through which a pedestrian passes. Therefore, in this embodiment, the position of the vehicle-mounted terminal may be obtained, whether the position is located in the third preset area is detected, when the position is located in the third preset area, the position where the vehicle corresponding to the vehicle-mounted terminal is located may be passed by a pedestrian, and the position may be used as the second position, and when the position is not located in the third preset area, the position where the vehicle corresponding to the vehicle-mounted terminal is located may not be passed by a pedestrian, and the position may not be used as the second position.
In some embodiments, a fourth preset area may be preset and stored in the server, where the fourth preset area is used as a criterion for determining whether to acquire the position of the vehicle-mounted terminal as the second position, and the fourth preset area may be used to represent an area through which a pedestrian passes, and the speed limit of the area is higher than the preset speed. Therefore, in this embodiment, the position of the vehicle-mounted terminal may be obtained, whether the position is located in the fourth preset area is detected, when the position is located in the fourth preset area, the position representing the position where the vehicle corresponding to the vehicle-mounted terminal is located may have a pedestrian passing through and the speed of the vehicle may be higher, the position may be regarded as the second position, and when the position is not located in the fourth preset area, the position representing the position where the vehicle corresponding to the vehicle-mounted terminal is located may not have a pedestrian passing through or the speed of the vehicle may be lower, the position may not be regarded as the second position.
Step S103: and when the first position is positioned on the navigation route indicated by the navigation information and the distance between the first position and the second position is less than the preset distance, sending alarm prompt information to the user terminal so as to indicate the user terminal to output the alarm prompt information.
In some embodiments, after acquiring the first location and the navigation information, the server may determine whether the first location is located on the navigation route indicated by the navigation information. As an implementable manner, after obtaining the navigation information, the server may obtain the navigation route indicated by the navigation information, and obtain a plurality of locations on the navigation route, when the plurality of locations include the first location, it may be determined that the first location is located on the navigation route indicated by the navigation information, and when the plurality of locations do not include the first location, it may be determined that the first location is not located on the navigation route indicated by the navigation information.
In some embodiments, the server may preset and store a preset distance, which is used as a criterion for determining the distance between the user terminal (pedestrian) and the vehicle-mounted terminal (vehicle). Therefore, in this embodiment, after acquiring the first position and the second position, the server may calculate a distance between the first position and the second position, and compare the distance between the first position and the second position with a preset distance to determine whether the distance between the first position and the second position is smaller than the preset distance. When the judgment result represents that the distance between the first position and the second position is smaller than the preset distance, the distance between the pedestrian and the vehicle can be determined to be relatively close, and when the judgment result represents that the distance between the first position and the second position is not smaller than the preset distance, the distance between the pedestrian and the vehicle can be determined to be relatively far.
As a manner, after acquiring the first position, the second position and the navigation information, the server may compare the first position with the navigation route indicated by the navigation information, compare the distance between the first position and the second position with the preset distance when the first position is located on the navigation route indicated by the navigation information, and send an alarm prompt message to the user terminal when the distance between the first position and the second position is less than the preset distance; when the first position is not located on the navigation route indicated by the navigation information, the distance between the first position and the second position is not compared with the preset distance, and the warning prompt information is not sent to the user terminal; and when the distance between the first position and the second position is not less than the preset distance, no alarm prompt message is sent to the user terminal.
As another way, after obtaining the first position, the second position and the navigation information, the server may compare the distance between the first position and the second position with a preset distance, compare the first position with the navigation route indicated by the navigation information when the distance between the first position and the second position is less than the preset distance, and send an alarm prompt message to the user terminal when the first position is located on the navigation route indicated by the navigation information; and when the distance between the first position and the second position is not less than the preset distance, the first position is not compared with the navigation route indicated by the navigation information, and the warning prompt message is not sent to the user terminal.
As another way, after obtaining the first position, the second position and the navigation information, the server may simultaneously compare the distance between the first position and the second position with a preset distance and compare the first position with a navigation route indicated by the navigation information, and send an alarm prompt message to the user terminal when the first position is located on the navigation route indicated by the navigation information and the distance between the first position and the second position is less than the preset distance; when the first position is not located on the navigation route indicated by the navigation information and the distance between the first position and the second position is smaller than the preset distance, no alarm prompt information is sent to the user terminal; when the first position is located on the navigation route indicated by the navigation information and the distance between the first position and the second position is not less than the preset distance, no alarm prompt information is sent to the user terminal; and when the first position is not positioned on the navigation route indicated by the navigation information and the distance between the first position and the second position is not less than the preset distance, no alarm prompt information is sent to the user terminal.
In some embodiments, the user terminal outputting the warning prompt message may be used to prompt that there is a vehicle in the vicinity of the pedestrian to pay attention to safety, and the manner of outputting the warning prompt message may include, but is not limited to: displaying an alarm prompt text and outputting an alarm prompt tone.
Referring to fig. 4, fig. 4 is a first schematic diagram of a user terminal and a vehicle-mounted terminal according to an embodiment of the present application. As shown in fig. 4, the navigation route indicated by the navigation information of the vehicle-mounted terminal 300 is forward along a road, and the location of the user terminal 200 is on the roadside, at this time, the user terminal 200 is not on the navigation route indicated by the navigation information of the vehicle-mounted terminal 300, and the server may not send the warning prompt message to the user terminal 200.
Referring to fig. 5, fig. 5 is a second schematic diagram of a user terminal and a vehicle-mounted terminal according to an embodiment of the present application. As shown in fig. 5, the navigation route indicated by the navigation information of the vehicle-mounted terminal 300 is forward along the road, and the location of the user terminal 200 is in the middle of the road, at this time, the service end may send the warning prompt message to the user terminal 200 on the navigation route indicated by the navigation information of the vehicle-mounted terminal 300 by the user terminal 200.
Referring to fig. 6, fig. 6 is a schematic interface diagram of a user terminal according to an embodiment of the present application. As shown in fig. 6, the user terminal 200 receives the warning prompt message sent by the server and displays, for example, "there is a vehicle nearby, and pay attention to safety".
According to the warning prompting method provided by one embodiment of the application, the position of the vehicle-mounted terminal is obtained to represent the position of a pedestrian by obtaining the position of the user terminal, the position of the vehicle-mounted terminal is obtained to represent the position of a vehicle, and the navigation information of the vehicle-mounted terminal is obtained to determine the navigation route of the vehicle.
Referring to fig. 7, fig. 7 is a flowchart illustrating an alert prompting method according to another embodiment of the present application. The method is applied to the server, and will be described in detail with respect to the flow shown in fig. 7, where the alarm prompting method specifically includes the following steps:
step S201: the position of the user terminal is acquired as a first position.
Step S202: and acquiring navigation information of the vehicle-mounted terminal, and acquiring the position of the vehicle-mounted terminal as a second position.
For detailed description of steps S201 to S202, please refer to steps S101 to S102, which are not described herein again.
Step S203: and when the first position is located on a navigation route indicated by the navigation information and the distance between the first position and the second position is smaller than a preset distance, acquiring the moving speed of the vehicle-mounted terminal.
In some embodiments, when it is determined that the first location is located on the navigation route indicated by the navigation information and the distance between the first location and the second location is less than a preset distance, the moving speed of the in-vehicle terminal may be acquired. As one mode, the vehicle-mounted terminal may include a speed sensor, and the vehicle-mounted terminal may acquire a moving speed thereof through the speed sensor and transmit the moving speed to the server, and accordingly, the server acquires the moving speed of the vehicle-mounted terminal.
Step S204: and when the moving speed is greater than the preset speed, sending the alarm prompt information to the user terminal.
In some embodiments, the server may preset and store a preset speed, and the preset speed is used as a basis for determining the moving speed of the vehicle-mounted terminal. Therefore, in the present embodiment, after the moving speed of the in-vehicle terminal is acquired, the moving speed may be compared with a preset speed to determine whether the moving speed is greater than the preset speed. When the moving speed is higher than the preset speed, the problem that the vehicle is easy to collide with the human body and the vehicle when the vehicle brakes at the speed can be considered, so that warning prompt information can be sent to the user terminal to improve the driving safety; when the moving speed is not greater than the preset speed, the vehicle can be considered to brake at the speed so as to avoid the problem of collision between people and the vehicle, and therefore, the warning prompt message can not be sent to the user terminal any more, so that the disturbance to the user is reduced.
In another embodiment of the present application, an alarm prompting method obtains a position of a user terminal as a first position, obtains navigation information of a vehicle-mounted terminal, obtains a position of the vehicle-mounted terminal as a second position, obtains a moving speed of the vehicle-mounted terminal when the first position is located on a navigation route indicated by the navigation information and a distance between the first position and the second position is smaller than a preset distance, and sends an alarm prompting message to the user terminal when the moving speed is greater than the preset speed. Compared with the warning prompting method shown in fig. 3, in this embodiment, when the driving speed indicated by the vehicle-mounted terminal is greater than the preset speed, the warning prompt is sent to the user terminal, so that driving safety is improved, meanwhile, disturbance to driving is reduced, and user experience is improved.
Referring to fig. 8, fig. 8 is a schematic flowchart illustrating an alarm prompting method according to still another embodiment of the present application. The method is applied to the server, and will be described in detail with respect to the flow shown in fig. 8, where the alarm prompting method specifically includes the following steps:
step S301: the position of the user terminal is acquired as a first position.
Step S302: and acquiring navigation information of the vehicle-mounted terminal, and acquiring the position of the vehicle-mounted terminal as a second position.
Step S303: and when the first position is positioned on the navigation route indicated by the navigation information and the distance between the first position and the second position is less than the preset distance, sending alarm prompt information to the user terminal so as to indicate the user terminal to output the alarm prompt information.
For detailed description of steps S301 to S303, refer to steps S101 to S103, which are not described herein again.
Step S304: and when the first position is located on a navigation route indicated by the navigation information and the distance between the first position and the second position is smaller than a preset distance, acquiring the movement direction and the movement speed of the user terminal.
In some embodiments, when it is determined that the first location is located on the navigation route indicated by the navigation information and the distance between the first location and the second location is less than a preset distance, the moving direction and the moving speed of the user terminal may be acquired. As one mode, the user terminal may include a speed sensor, and the user terminal may acquire a movement speed thereof through the speed sensor and send the movement speed to the server, and accordingly, the server acquires the movement speed of the user terminal. As one way, the user terminal may include a compass, and the user terminal may acquire a moving direction thereof through the compass and transmit the moving direction to the server, and accordingly, the server acquires the moving direction of the user terminal.
Step S305: and determining the time when the user terminal leaves the navigation route indicated by the navigation information as the leaving time based on the moving direction and the moving speed.
In some embodiments, after acquiring the first position and the navigation route indicated by the navigation information, if it is determined that the first position is located on the navigation route indicated by the navigation information, the server may determine, as the departure distance, a distance from the first position to each direction away from the navigation route, for example, assuming that the first position is located at a middle position of an intersection and the navigation route indicated by the navigation information is straight passing through the intersection, a distance from the middle position of the intersection to an edge position of each direction at the intersection may be used as the departure distance.
As an implementable manner, after acquiring the movement direction and the movement speed of the user terminal, the server may determine, from each direction away from the predetermined navigation route, a direction matching the movement direction of the user terminal as a target direction, then search for a departure distance corresponding to the target direction as a target departure distance, and then calculate a time obtained based on the movement speed and the target departure distance as a departure time, where a specific calculation manner may include target departure distance/movement speed.
As another practical manner, after acquiring the moving direction and the moving speed of the user terminal, the server may determine a plurality of times based on the predetermined moving distance and the predetermined moving speed corresponding to each direction away from the navigation route, and then determine the longest time from the plurality of times as the leaving time.
Step S306: and sending the leaving time to the vehicle-mounted terminal to indicate the vehicle-mounted terminal to output the leaving time corresponding to the user terminal.
In some embodiments, after determining the departure time of the user terminal, the server may send the departure time to the vehicle-mounted terminal, so as to output, through the vehicle-mounted terminal, the departure time corresponding to the user terminal, so that a driver corresponding to the vehicle-mounted terminal knows the time when a pedestrian corresponding to the user terminal leaves the navigation route, so as to provide a reference for the driver to control the driving parameters.
In some embodiments, the server may further obtain the number of the user terminals located on the navigation route indicated by the navigation information and the respective departure times of the number of the user terminals, and the server may send the number of the user terminals and the respective departure times of the number of the user terminals to the vehicle-mounted terminal, so as to output the number of the user terminals and the respective departure times of the number of the user terminals through the vehicle-mounted terminal, so that a driver corresponding to the vehicle-mounted terminal can know the number of the user terminals on the navigation route and the respective times of pedestrians leaving the navigation route, so as to provide a reference for the driver to control the driving parameters.
In some embodiments, the vehicle-mounted terminal outputting the leaving time can be used for prompting the driver to pay attention to driving safety and controlling driving parameters, and the manner of outputting the leaving time can include but is not limited to: displaying the leaving time text and outputting a leaving time prompt tone.
Referring to fig. 9, fig. 9 is a schematic interface diagram of a vehicle-mounted terminal according to an embodiment of the present application. As shown in fig. 9, the in-vehicle terminal 300 receives the departure time sent by the server, and displays the departure time corresponding to the user terminal.
Step S307: and when the current time reaches the leaving time, acquiring the position of the user terminal as a third position.
In some embodiments, the server may perform timing after determining the departure time of the user terminal, and may acquire the location of the user terminal as the third location when it is determined that the current time reaches the departure time through timing. When the current time reaches the departure time, the server may instruct the user terminal to obtain the location of the user terminal through the location module, and send the location to the server, and accordingly, the server receives the location sent by the user terminal as a third location.
Step S308: and when the third position is located on the navigation path indicated by the navigation information, acquiring the position of the vehicle-mounted terminal as a fourth position.
In some embodiments, after acquiring the third location, the server may determine whether the third location is located on the navigation route indicated by the navigation information. As an implementable manner, after obtaining the third location, the server may obtain the navigation route indicated by the navigation information, and obtain a plurality of locations on the navigation route, when the plurality of locations include the third location, it may be determined that the third location is located on the navigation route indicated by the navigation information, and when the plurality of locations do not include the third location, it may be determined that the third location is not located on the navigation route indicated by the navigation information.
In this embodiment, when the third location is not located on the navigation route indicated by the navigation information, it may be determined that the user terminal (pedestrian) has left the navigation route within the leaving time, that is, the vehicle corresponding to the vehicle-mounted terminal does not collide with the pedestrian at the location, and at this time, the server may send the safety prompt information to the vehicle-mounted terminal, so as to remind the driver of normal driving.
In this embodiment, when the third location is located on the navigation route indicated by the navigation information, it may be determined that the user terminal (pedestrian) does not leave the navigation route within the leaving time, that is, the vehicle corresponding to the vehicle-mounted terminal may collide with the pedestrian at the location, and at this time, the server may acquire the location of the vehicle-mounted terminal as the fourth location. When the third position is determined to be located on the navigation route indicated by the navigation information, the server side can indicate the vehicle-mounted terminal to obtain the position of the vehicle-mounted terminal through the positioning module of the vehicle-mounted terminal, and send the position of the vehicle-mounted terminal to the server side, and accordingly the server side receives the position sent by the vehicle-mounted terminal as the fourth position.
Step S309: and generating substitute navigation information based on the fourth position and the destination position indicated by the navigation information, and sending the substitute navigation information to the vehicle-mounted terminal.
In this embodiment, since the navigation information is a navigation route including a start position and an end position, when the server acquires the navigation information of the in-vehicle terminal, the server may acquire the end position indicated by the navigation information. As an implementable manner, after the server acquires the fourth position of the vehicle-mounted terminal, the server may use the fourth position as a new starting point position, synthesize the destination position indicated by the navigation information, generate the substitute navigation information, and then send the substitute navigation information to the vehicle-mounted terminal.
Step S310: and when receiving instruction information which is sent by the vehicle-mounted terminal and refuses to use the alternative navigation information, detecting the state information of the user terminal, wherein the state information comprises a screen-off state and a screen-on state.
In some embodiments, after the vehicle-mounted terminal outputs the alternative navigation information, the driver can choose to switch from the original navigation information to the alternative navigation information, and can also choose to refuse to use the alternative navigation information and keep using the original navigation information.
When the server receives the instruction information sent by the vehicle-mounted terminal for receiving the alternative navigation information, the server represents that the driver selects to switch the navigation route, and the warning prompt information output at the user terminal can be cancelled if the condition that people and vehicles collide at the position of the user terminal does not occur.
When the service end receives the instruction information of refusing to use the alternative navigation information sent by the vehicle-mounted terminal, the characteristic that a driver refuses to switch the navigation route and keeps the original navigation route to continue driving is represented, and at the moment, the situation of human-vehicle collision may occur at the position of the user terminal. Therefore, in the embodiment, the possibility of human-vehicle collision can be reduced, and the state information of the user terminal can be detected when the instruction information of refusing to use the alternative navigation information, which is sent by the vehicle-mounted terminal, is received, wherein the state information comprises the bright screen state and the screen-off state. As one mode, the screen brightness of the user terminal may be detected, when it is detected that the screen brightness of the user terminal is 0, it may be determined that the state information of the user terminal is in the screen-on state, and when it is detected that the screen brightness of the user terminal is greater than 0, it may be determined that the state information of the user terminal is in the screen-on state.
Step S311: and when detecting that the state information of 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, 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 pedestrian browses content displayed by the user terminal, and at this time, the user may be stationary or slow moving on the navigation route of the vehicle, resulting in an increased probability that a speaker collides with the vehicle. 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 pedestrian corresponding to the user terminal to leave the navigation route quickly, and avoid a problem of a decrease in an observation power of the surrounding environment due to browsing the content of the user terminal.
Referring to fig. 10, fig. 10 is a flowchart illustrating step S311 of the alarm prompting method illustrated in fig. 8 of the present application. As will be explained in detail with respect to the flow shown in fig. 10, the method may specifically include the following steps:
step S3111: and when the state information of the user terminal is detected to be in a bright screen state, acquiring the application program running in the foreground of the user terminal.
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 server may determine the application Running in the foreground at least through Running Task, Running Process, Activity Lifecycle calls, Usage states Manager, Android 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.
Step S3112: and when the application program does not meet a preset white list, controlling the user terminal to be switched from a bright screen state to a screen-off state.
In some embodiments, the server 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 server 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 programs included in the preset white list of the application program may be compared 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 is determined to include the application program consistent with the application program operated in the foreground, the bright screen state of the user terminal can be kept; and when the preset white list does not comprise the application program consistent with the application program operated in the foreground, controlling the user terminal to be switched from the bright screen state to the screen-off state.
In an alarm prompting method provided in another embodiment of the present application, a position of a user terminal is obtained as a first position, navigation information of a vehicle-mounted terminal is obtained, and the position of the vehicle-mounted terminal is obtained as a second position, and when the first position is located on a navigation route indicated by the navigation information and a distance between the first position and the second position is smaller than a preset distance, an alarm prompting message is sent to the user terminal to instruct the user terminal to output the alarm prompting message. When the first position is located on the navigation route indicated by the navigation information and the distance between the first position and the second position is smaller than the preset distance, the movement direction and the movement speed of the user terminal are obtained, the time of the user terminal leaving the navigation route indicated by the navigation information is determined to be used as the leaving time based on the movement direction and the movement speed, the leaving time is sent to the vehicle-mounted terminal, the vehicle-mounted terminal is indicated to output the leaving time corresponding to the user terminal, and therefore a driver is effectively reminded to control the driving parameters. When the current time reaches the departure time, the position of the user terminal is obtained as a third position, when the third position is located on a navigation route indicated by the navigation information, the position of the vehicle-mounted terminal is obtained as a fourth position, the substitute navigation information is generated based on the fourth position and the terminal position indicated by the navigation information, and the substitute navigation information is sent to the vehicle-mounted terminal, so that the possibility of collision between people and a vehicle is reduced by providing a substitute navigation route, and the driving safety is improved. When receiving instruction information of using the substitute navigation information for the distance sent by the vehicle-mounted terminal, detecting the state information of the user terminal, and when detecting that the state information of 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, so that the possibility of collision between people and vehicles is reduced and the driving safety is improved by controlling the screen state of the user terminal.
Referring to fig. 11, fig. 11 is a schematic flowchart illustrating an alarm prompting method according to another embodiment of the present application. The method is applied to the user terminal, and will be described in detail with respect to the flow shown in fig. 11, where the alarm prompting method specifically includes the following steps:
step S401: and receiving a broadcast message sent by a vehicle-mounted terminal, wherein the broadcast message carries navigation information of the vehicle-mounted terminal.
In this embodiment, when the user terminal is located within the broadcast coverage of the in-vehicle terminal, the user terminal may receive the broadcast message sent by the in-vehicle terminal. In some embodiments, the vehicle-mounted terminal may continuously send a broadcast message carrying navigation information thereof during a driving process, and when the user terminal is located within a broadcast range of the vehicle-mounted terminal, the broadcast message sent by the vehicle-mounted terminal may be received. By one way, the broadcast message sent by the vehicle-mounted terminal may include but is not limited to: WLAN broadcast messages, bluetooth broadcast messages.
In this embodiment, in the process of sending the broadcast message, if the ue can receive the broadcast message, the vehicle-mounted terminal (vehicle) may determine that the distance between the vehicle-mounted terminal (vehicle) and the ue (pedestrian) is short, and if the ue cannot receive the broadcast message, the vehicle-mounted terminal (vehicle) may determine that the distance between the vehicle-mounted terminal (vehicle) and the ue (pedestrian) is long.
Step S402: and acquiring the position of the user terminal.
In some embodiments, the user terminal may include a positioning module, and after receiving the broadcast message sent by the in-vehicle terminal, the user terminal may obtain its location through its positioning module. Wherein, the positioning module may include but is not limited to: big dipper orientation module, global positioning system.
Step S403: and outputting alarm prompt information when the position of the user terminal is positioned on the navigation route indicated by the navigation information.
In some embodiments, after acquiring the location of the user terminal and the navigation information of the vehicle-mounted terminal, the user terminal may determine whether the location of the user terminal is located on the navigation route indicated by the navigation information. As an implementable manner, after the user terminal acquires the navigation information, the navigation route indicated by the navigation information may be acquired, and a plurality of positions on the navigation route may be acquired, when the plurality of positions include the position of the user terminal, it may be determined that the position of the user terminal is located on the navigation route indicated by the navigation information, and when the plurality of positions do not include the position of the user terminal, it may be determined that the position of the user terminal is not located on the navigation route indicated by the navigation information.
The user terminal may receive the broadcast message sent by the vehicle-mounted terminal, and then may determine that the distance between the user terminal (pedestrian) and the vehicle-mounted terminal (vehicle) is short, and the location of the user terminal is located on the navigation route indicated by the navigation information, so as to represent a problem that a human-vehicle collision may occur, and therefore, the user terminal may output an alarm prompt message for prompting that a vehicle is safe near the pedestrian, and the manner of outputting the alarm prompt message may include, but is not limited to: displaying an alarm prompt text and outputting an alarm prompt tone.
In some embodiments, the warning prompt message may be output when the position of the user terminal is located on the navigation route indicated by the navigation information and the moving speed of the vehicle-mounted terminal is greater than a preset speed. As one way, when it is determined that the location of the user terminal is located on the navigation route indicated by the navigation information, the moving speed of the in-vehicle terminal may be obtained based on the broadcast message, wherein the in-vehicle terminal may include a speed sensor, and the in-vehicle terminal may obtain the moving speed thereof through the speed sensor and transmit the moving speed to be added to the broadcast message, and accordingly, the user terminal may obtain the moving speed of the in-vehicle terminal through the received broadcast message.
In some embodiments, the user terminal may preset and store a preset speed, and the preset speed is used as a judgment basis for the moving speed of the vehicle-mounted terminal. Therefore, in the present embodiment, after the moving speed of the in-vehicle terminal is acquired, the moving speed may be compared with a preset speed to determine whether the moving speed is greater than the preset speed. When the moving speed is higher than the preset speed, the problem that the vehicle is easy to collide with the human body and the vehicle when the vehicle brakes at the speed can be considered, so that alarm prompt information can be output to improve the driving safety; when the moving speed is not greater than the preset speed, the vehicle can be considered to brake at the speed so as to avoid the problem of collision between people and the vehicle, and therefore, the warning prompt information can not be output any more so as to reduce the disturbance to the user.
The warning prompting method provided by another embodiment of the application receives a broadcast message sent by a vehicle-mounted terminal, wherein the broadcast message carries navigation information of the vehicle-mounted terminal, the position of a user terminal is acquired, and when the position of the user terminal is located on a navigation route indicated by the navigation information, warning prompting information is output, so that when the broadcast message of the vehicle-mounted terminal is received by the user terminal, it is determined that the distance between the position of a pedestrian and the position of a vehicle is relatively short, and at the moment, if the position of the pedestrian is located on the navigation route of the vehicle, the warning prompting information can be output to the pedestrian through the user terminal, so that the safety of the vehicle in the driving process is improved.
Referring to fig. 12, fig. 12 is a block diagram illustrating an alarm notification device according to an embodiment of the present application. The alarm notification device 400 is applied to the above-mentioned service end, and will be explained with reference to the block diagram shown in fig. 12, where the alarm notification device 400 includes: a first position obtaining module 410, a second position obtaining module 420 and an alarm prompting module 430, wherein:
a first location obtaining module 410, configured to obtain a location of the user terminal as a first location.
The second position obtaining module 420 is configured to obtain navigation information of the vehicle-mounted terminal, and obtain a position of the vehicle-mounted terminal as a second position.
And an alarm prompt module 430, configured to send an alarm prompt message to the user terminal to instruct the user terminal to output the alarm prompt message when the first location is located on the navigation route indicated by the navigation message and a distance between the first location and the second location is less than a preset distance.
Further, the alarm prompting module 430 includes: the mobile speed acquisition submodule and the alarm prompt submodule, wherein:
and the moving speed obtaining sub-module is used for obtaining the moving speed of the vehicle-mounted terminal when the first position is located on the navigation route indicated by the navigation information and the distance between the first position and the second position is smaller than a preset distance.
And the alarm prompt submodule is used for sending the alarm prompt information to the user terminal when the moving speed is greater than the preset speed.
Further, the alarm prompting device 400 further includes: the device comprises a motion parameter acquisition module, a leaving time determination module and a leaving time sending module, wherein:
and the motion parameter acquisition module is used for acquiring the motion direction and the motion speed of the user terminal when the first position is positioned on the navigation route indicated by the navigation information and the distance between the first position and the second position is less than a preset distance.
And the leaving time determining module is used for determining the time when the user terminal leaves the navigation route indicated by the navigation information as the leaving time based on the moving direction and the moving speed.
And the leaving time sending module is used for sending the leaving time to the vehicle-mounted terminal so as to indicate the vehicle-mounted terminal to output the leaving time corresponding to the user terminal.
Further, the alarm prompting device 400 further includes: the device comprises a third position acquisition module, a fourth position acquisition module and a substitute navigation information sending module, wherein:
and the third position acquisition module is used for acquiring the position of the user terminal as a third position when the current time reaches the departure time.
And the fourth position acquisition module is used for acquiring the position of the vehicle-mounted terminal as a fourth position when the third position is positioned on the navigation path indicated by the navigation information.
And the substitute navigation information sending module is used for generating substitute navigation information based on the fourth position and the destination position indicated by the navigation information and sending the substitute navigation information to the vehicle-mounted terminal.
Further, the alarm prompting device 400 further includes: state information detection module and state switch module, wherein:
and the state information detection module is used for detecting the state information of the user terminal when receiving the instruction information which is sent by the vehicle-mounted terminal and refuses to use the substitute navigation information, wherein the state information comprises a screen-off state and a screen-on state.
And the 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 state information of the user terminal is detected to be the screen-on state.
Further, the state switching module includes: the application program acquisition submodule and the state switching submodule, wherein:
and the application program acquisition submodule is used for acquiring the application program running in the foreground of the user terminal when the state information of the user terminal is detected to be in a bright screen state.
And the state 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 does not meet the preset white list.
Referring to fig. 13, fig. 13 is a block diagram illustrating an alarm notification device according to another embodiment of the present application. The alarm prompting device 500 is applied to the user terminal, and will be explained with reference to the block diagram shown in fig. 13, where the alarm prompting device 500 includes: a broadcast message receiving module 510, a location obtaining module 520, and an alarm prompting module 530, wherein:
a broadcast message receiving module 510, configured to receive a broadcast message sent by a vehicle-mounted terminal, where the broadcast message carries navigation information of the vehicle-mounted terminal.
A location obtaining module 520, configured to obtain a location of the ue.
And an alarm prompt module 530, configured to output alarm prompt information when the location of the user terminal is located on the navigation route indicated by the navigation information.
Further, the broadcast message also carries a moving speed of the vehicle-mounted terminal, and the alarm prompting module 530 includes: an alarm prompt sub-module, wherein:
and the warning prompt submodule is used for outputting the warning prompt information when the position of the user terminal is positioned on the navigation route indicated by the navigation information and the moving speed is greater than the preset speed.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses 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 of the modules 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. 14, a block diagram of an electronic device 600 according to an embodiment of the present disclosure is shown. The electronic device 600 may include the server 100 and may also include the user terminal 200, which is not limited herein. The electronic device 600 in the present application may include one or more of the following components: a processor 610, a memory 620, and one or more applications, wherein the one or more applications may be stored in the memory 620 and configured to be executed by the one or more processors 610, the one or more programs configured to perform the methods as described in the aforementioned method embodiments.
Processor 610 may include one or more processing cores, among others. The processor 610 interfaces with various components throughout the electronic device 600 using various interfaces and circuitry to perform various functions of the electronic device 600 and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 620 and invoking data stored in the memory 620. Alternatively, the processor 610 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 610 may integrate one or a combination of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, 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 610, but may be implemented by a communication chip.
The Memory 620 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 620 may be used to store instructions, programs, code sets, or instruction sets. The memory 620 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 data storage area may also store data created during use by the electronic device 600 (e.g., phone books, audio-visual data, chat log data), and so forth.
Referring to fig. 15, a block diagram of a computer-readable storage medium according to an embodiment of the present application is shown. The computer-readable medium 700 has stored therein program code that can be called by a processor to perform the methods described in the above-described method embodiments.
The computer-readable storage medium 700 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. Optionally, the computer-readable storage medium 700 includes a non-volatile computer-readable storage medium. The computer readable storage medium 700 has storage space for program code 710 to perform any of the method steps of the method described above. The program code can be read from or written to one or more computer program products. The program code 710 may be compressed, for example, in a suitable form.
In summary, according to the warning prompting method, the warning prompting device, the electronic device and the storage medium provided by the embodiment of the application, the position of the user terminal is obtained to represent the position of the pedestrian, the position of the vehicle-mounted terminal is obtained to represent the position of the vehicle, and the navigation information of the vehicle-mounted terminal is obtained to determine the navigation route of the vehicle.
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. An alarm prompting method is applied to a server side, and the method comprises the following steps:
acquiring the position of a user terminal as a first position;
acquiring navigation information of a vehicle-mounted terminal, and acquiring the position of the vehicle-mounted terminal as a second position;
and when the first position is positioned on the navigation route indicated by the navigation information and the distance between the first position and the second position is less than the preset distance, sending alarm prompt information to the user terminal so as to indicate the user terminal to output the alarm prompt information.
2. The method according to claim 1, wherein the sending an alarm prompt message to the user terminal when the first location is located on a navigation route indicated by the navigation information and a distance between the first location and the second location is less than a preset distance comprises:
when the first position is located on a navigation route indicated by the navigation information and the distance between the first position and the second position is smaller than a preset distance, acquiring the moving speed of the vehicle-mounted terminal;
and when the moving speed is greater than the preset speed, sending the alarm prompt information to the user terminal.
3. The method of claim 1, further comprising:
when the first position is located on a navigation route indicated by the navigation information and the distance between the first position and the second position is smaller than a preset distance, acquiring the movement direction and the movement speed of the user terminal;
determining, as a departure time, a time at which the user terminal departs from a navigation route indicated by the navigation information, based on the movement direction and the movement speed;
and sending the leaving time to the vehicle-mounted terminal to indicate the vehicle-mounted terminal to output the leaving time corresponding to the user terminal.
4. The method of claim 3, further comprising, after sending the departure time to the in-vehicle terminal:
when the current time reaches the leaving time, acquiring the position of the user terminal as a third position;
when the third position is located on the navigation path indicated by the navigation information, the position of the vehicle-mounted terminal is obtained as a fourth position;
and generating substitute navigation information based on the fourth position and the destination position indicated by the navigation information, and sending the substitute navigation information to the vehicle-mounted terminal.
5. The method according to claim 4, wherein after generating the substitute navigation information based on the fourth position and the end position indicated by the navigation information and transmitting the substitute navigation information to the in-vehicle terminal, further comprising:
when receiving instruction information which is sent by the vehicle-mounted terminal and refuses to use the alternative navigation information, detecting state information of the user terminal, wherein the state information comprises a screen-off state and a screen-on state;
and when detecting that the state information of 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.
6. The method according to claim 5, wherein when detecting that the state information of the user terminal is a bright screen state, controlling the user terminal to switch from the bright screen state to a dark screen state comprises:
when detecting that the state information of the user terminal is in a bright screen state, acquiring an application program running in a foreground of the user terminal;
and when the application program does not meet a preset white list, controlling the user terminal to be switched from a bright screen state to a screen-off state.
7. An alarm prompting method is applied to a user terminal, and comprises the following steps:
receiving a broadcast message sent by a vehicle-mounted terminal, wherein the broadcast message carries navigation information of the vehicle-mounted terminal;
acquiring the position of the user terminal;
and outputting alarm prompt information when the position of the user terminal is positioned on the navigation route indicated by the navigation information.
8. The method according to claim 7, wherein the broadcast message further carries a moving speed of the vehicle-mounted terminal, and the outputting an alarm prompt message when the location of the user terminal is located on a navigation route indicated by the navigation information comprises:
and when the position of the user terminal is positioned on the navigation route indicated by the navigation information and the moving speed is greater than the preset speed, outputting the alarm prompt information.
9. An alarm prompting device, which is applied to a server, the device comprises:
a first position obtaining module, configured to obtain a position of a user terminal as a first position;
the second position acquisition module is used for acquiring navigation information of the vehicle-mounted terminal and acquiring the position of the vehicle-mounted terminal as a second position;
and the warning prompt module is used for sending warning prompt information to the user terminal to indicate the user terminal to output the warning prompt information when the first position is located on the navigation route indicated by the navigation information and the distance between the first position and the second position is less than a preset distance.
10. An alarm prompting method is applied to a user terminal, and comprises the following steps:
the system comprises a broadcast message receiving module, a navigation information sending module and a navigation information sending module, wherein the broadcast message receiving module is used for receiving a broadcast message sent by a vehicle-mounted terminal, and the broadcast message carries the navigation information of the vehicle-mounted terminal;
a position obtaining module, configured to obtain a position of the user terminal;
and the warning prompt module is used for outputting warning prompt information when the position of the user terminal is positioned on the navigation route indicated by the navigation information.
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-6 or any of claims 7-8.
12. A computer-readable storage medium, having stored thereon program code that can be invoked by a processor to perform the method according to any one of claims 1 to 6 or according to any one of claims 7 to 8.
CN202110614371.9A 2021-06-02 2021-06-02 Alarm prompting method and device, electronic equipment and storage medium Active CN113421417B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110614371.9A CN113421417B (en) 2021-06-02 2021-06-02 Alarm prompting method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110614371.9A CN113421417B (en) 2021-06-02 2021-06-02 Alarm prompting method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113421417A true CN113421417A (en) 2021-09-21
CN113421417B CN113421417B (en) 2023-01-06

Family

ID=77713604

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110614371.9A Active CN113421417B (en) 2021-06-02 2021-06-02 Alarm prompting method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113421417B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103959356A (en) * 2011-11-29 2014-07-30 三菱电机株式会社 On-board communication device and navigation device equipped with same, pedestrian communication device and navigation device equipped with same, and communication system for communicating between pedestrian and vehicle
CN104933893A (en) * 2013-08-02 2015-09-23 本田技研工业株式会社 Vehicle To Pedestrian Communication System And Method
CN105374231A (en) * 2014-08-27 2016-03-02 中国移动通信集团公司 Early warning method, device and system
CN105976640A (en) * 2015-11-03 2016-09-28 乐卡汽车智能科技(北京)有限公司 Safety caution method, pedestrian shoes device, vehicle platform and system based on V2X communication
CN107481549A (en) * 2017-08-10 2017-12-15 佛山市三水区彦海通信工程有限公司 A kind of traffic prewarning method and system
CN108109434A (en) * 2017-12-21 2018-06-01 湖南工学院 Anti-collision warning method and system based on mobile terminal digital map navigation route planning
CN110060465A (en) * 2019-04-30 2019-07-26 浙江吉利控股集团有限公司 A kind of exchange method and interactive system for traffic interactive system
CN112498359A (en) * 2019-08-26 2021-03-16 通用汽车环球科技运作有限责任公司 Method and apparatus for providing alert notifications for high risk driving areas in networked vehicles
CN112598916A (en) * 2020-12-07 2021-04-02 腾讯科技(深圳)有限公司 Navigation reminding method and device, electronic equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103959356A (en) * 2011-11-29 2014-07-30 三菱电机株式会社 On-board communication device and navigation device equipped with same, pedestrian communication device and navigation device equipped with same, and communication system for communicating between pedestrian and vehicle
CN104933893A (en) * 2013-08-02 2015-09-23 本田技研工业株式会社 Vehicle To Pedestrian Communication System And Method
CN105374231A (en) * 2014-08-27 2016-03-02 中国移动通信集团公司 Early warning method, device and system
CN105976640A (en) * 2015-11-03 2016-09-28 乐卡汽车智能科技(北京)有限公司 Safety caution method, pedestrian shoes device, vehicle platform and system based on V2X communication
CN107481549A (en) * 2017-08-10 2017-12-15 佛山市三水区彦海通信工程有限公司 A kind of traffic prewarning method and system
CN108109434A (en) * 2017-12-21 2018-06-01 湖南工学院 Anti-collision warning method and system based on mobile terminal digital map navigation route planning
CN110060465A (en) * 2019-04-30 2019-07-26 浙江吉利控股集团有限公司 A kind of exchange method and interactive system for traffic interactive system
CN112498359A (en) * 2019-08-26 2021-03-16 通用汽车环球科技运作有限责任公司 Method and apparatus for providing alert notifications for high risk driving areas in networked vehicles
CN112598916A (en) * 2020-12-07 2021-04-02 腾讯科技(深圳)有限公司 Navigation reminding method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113421417B (en) 2023-01-06

Similar Documents

Publication Publication Date Title
CN112141119B (en) Intelligent driving control method and device, vehicle, electronic equipment and storage medium
US20190232976A1 (en) Assisting apparatus, assisting method, and program
JP6494782B2 (en) Notification control device and notification control method
JP4895931B2 (en) Traffic accident prevention system, server device, and traffic accident prevention method
US10852725B2 (en) Activate/deactivate functionality in response to environmental conditions
CN113284339B (en) Vehicle information reminding method, storage medium and vehicle information reminding system
CN108627176B (en) Screen brightness adjusting method and related product
US11295614B2 (en) Method for processing message and electronic device implementing the same
JP2018147450A (en) Mode change control device, mode change control system, mode change control method, and program
CN111186435B (en) Anti-collision method and device for automobile and storage medium
CN111091681A (en) Anti-lost monitoring method and device, storage medium and electronic equipment
CN111071151A (en) Anti-collision method and device for automobile and storage medium
CN113421417B (en) Alarm prompting method and device, electronic equipment and storage medium
CN110833691A (en) Security protection method, system and readable storage medium based on AR game
CN109484480A (en) Control method, device and the storage medium of automobile
CN113053096B (en) Traffic accident early warning method and device, storage medium and intelligent lamp pole
CN110096062B (en) Vehicle control method and device and vehicle
CN117295646A (en) Control method, device and storage medium for vehicle
JP6505199B2 (en) Driving support system, program
CN115507860A (en) Navigation switching method and device, electronic equipment and storage medium
CN112564832A (en) Vehicle early warning message generation method and device, computer equipment and storage medium
CN113263976B (en) Vehicle light control method and device, vehicle terminal and server
CN114598727B (en) Information processing device and method, mobile body, output control device and method, terminal, and storage medium
JP7149528B2 (en) Electronic device, processing method, program
CN115571149A (en) Driving prompting method and device, electronic equipment and 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
GR01 Patent grant
GR01 Patent grant