CN111754761A - Traffic safety alarm prompting method and electronic equipment - Google Patents

Traffic safety alarm prompting method and electronic equipment Download PDF

Info

Publication number
CN111754761A
CN111754761A CN201910700418.6A CN201910700418A CN111754761A CN 111754761 A CN111754761 A CN 111754761A CN 201910700418 A CN201910700418 A CN 201910700418A CN 111754761 A CN111754761 A CN 111754761A
Authority
CN
China
Prior art keywords
electronic device
user
electronic equipment
information
traffic
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
CN201910700418.6A
Other languages
Chinese (zh)
Other versions
CN111754761B (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 Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co 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 Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201910700418.6A priority Critical patent/CN111754761B/en
Publication of CN111754761A publication Critical patent/CN111754761A/en
Application granted granted Critical
Publication of CN111754761B publication Critical patent/CN111754761B/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/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • G08G1/0125Traffic data processing
    • G08G1/0129Traffic data processing for creating historical data or processing based on historical data
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • G08B21/24Reminder alarms, e.g. anti-loss alarms
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/005Traffic control systems for road vehicles including pedestrian guidance indicator
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services

Abstract

The embodiment of the invention relates to the technical field of positioning, and discloses a traffic safety alarm prompting method and electronic equipment, wherein the method comprises the following steps: acquiring current three-dimensional positioning information of electronic equipment and a route plan corresponding to the three-dimensional positioning information; acquiring a normal path corresponding to the three-dimensional positioning information and conforming to traffic rules according to the three-dimensional positioning information and the route planning; acquiring a current actual path of the electronic equipment; judging whether the actual path is consistent with the normal path; if not, determining that the actual path does not accord with the traffic rule, and outputting first alarm prompt information. According to the embodiment of the invention, the accuracy of traffic safety alarm prompt can be improved.

Description

Traffic safety alarm prompting method and electronic equipment
Technical Field
The invention relates to the technical field of positioning, in particular to a traffic safety alarm prompting method and electronic equipment.
Background
With the continuous development of scientific technology, electronic equipment applied to road traffic is more and more popular. Most of the electronic devices applied to road traffic in the market today alarm and remind traffic safety through the state information of traffic indicator lamps. However, in practice, it is found that the influence and interference caused by the overpass are not considered in the electronic devices applied to road traffic in the market, and thus the situation of traffic safety reminding and misinformation often occurs.
Disclosure of Invention
The embodiment of the invention discloses a traffic safety alarm prompting method and electronic equipment, which can improve the accuracy of traffic safety alarm prompting.
The first aspect of the embodiment of the invention discloses a traffic safety alarm prompting method, which comprises the following steps:
acquiring current three-dimensional positioning information of electronic equipment and a route plan corresponding to the three-dimensional positioning information;
acquiring a normal path corresponding to the three-dimensional positioning information and conforming to traffic rules according to the three-dimensional positioning information and the route planning;
acquiring a current actual path of the electronic equipment;
judging whether the actual path is consistent with the normal path; if not, determining that the actual path does not accord with the traffic rule, and outputting first alarm prompt information.
A second aspect of an embodiment of the present invention discloses an electronic device, including:
the system comprises a first acquisition unit, a second acquisition unit and a route planning unit, wherein the first acquisition unit is used for acquiring current three-dimensional positioning information of electronic equipment and a route plan corresponding to the three-dimensional positioning information;
the second acquisition unit is used for acquiring a normal path which corresponds to the three-dimensional positioning information and accords with traffic rules according to the three-dimensional positioning information and the route planning;
the first obtaining unit is further configured to obtain a current actual path of the electronic device;
a judging unit configured to judge whether the actual path coincides with the normal path;
and the first determining unit is used for determining that the actual path does not accord with the traffic rule and outputting first alarm prompt information when the judging unit judges that the actual path does not accord with the normal path.
A third aspect of an embodiment of the present invention discloses an electronic device, including:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute the traffic safety alarm prompting method disclosed by the first aspect of the embodiment of the invention.
A fourth aspect of the embodiments of the present invention discloses a computer-readable storage medium storing a computer program, where the computer program enables a computer to execute the traffic safety warning prompting method disclosed in the first aspect of the embodiments of the present invention.
A fifth aspect of embodiments of the present invention discloses a computer program product, which, when run on a computer, causes the computer to perform some or all of the steps of any one of the methods of the first aspect.
A sixth aspect of the present embodiment discloses an application publishing platform, where the application publishing platform is configured to publish a computer program product, where the computer program product is configured to, when running on a computer, cause the computer to perform part or all of the steps of any one of the methods in the first aspect.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, the electronic equipment can acquire the current three-dimensional positioning information of the electronic equipment and the route plan corresponding to the three-dimensional positioning information, and can acquire the normal route corresponding to the three-dimensional positioning information and conforming to the traffic rule according to the three-dimensional positioning information and the route plan. Therefore, the accuracy of the safety alarm prompt can be improved by implementing the embodiment of the invention.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a flow chart of a traffic safety warning method according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating another traffic safety warning method disclosed in the embodiment of the present invention;
FIG. 3 is a flow chart illustrating another traffic safety warning method according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure;
FIG. 5 is a schematic structural diagram of another electronic device disclosed in the embodiments of the present invention;
FIG. 6 is a schematic structural diagram of another electronic device disclosed in the embodiments of the present invention;
fig. 7 is a schematic structural diagram of another electronic device disclosed in the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first", "second", "third", "fourth", and the like in the description and the claims of the present invention are used for distinguishing different objects, and are not used for describing a specific order. The terms "comprises," "comprising," and any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The embodiment of the invention discloses a traffic safety alarm prompting method and electronic equipment, which can improve the accuracy of traffic safety alarm prompting. The following detailed description is made with reference to the accompanying drawings.
Example one
Referring to fig. 1, fig. 1 is a schematic flow chart of a traffic safety warning method according to an embodiment of the present invention. As shown in fig. 1, the traffic safety warning prompting method may include the following steps.
101. The electronic equipment acquires the current three-dimensional positioning information of the electronic equipment and the route planning corresponding to the three-dimensional positioning information.
In the embodiment of the present invention, the electronic device may include an electronic device with a positioning function, such as a mobile phone, a tablet computer, a bracelet, a watch, and smart glasses, which is not limited in the embodiment of the present invention.
As an optional implementation manner, in the embodiment of the present invention, the current stereoscopic positioning information of the electronic device may be obtained by periodically obtaining current geographic location information of the user through a positioning module, where the positioning module may receive positioning information sent by a satellite positioning system, such as but not limited to a GPS positioning system, and may also calculate and obtain real-time geographic location information of the user by connecting to a wireless network and using a location of a base station and a relative distance between the base station and the base station.
For example, the electronic device may perform positioning by using a positioning module arranged in the electronic device, or after obtaining current stereotaxic information of the user by using a mobile terminal (e.g., a mobile phone) connected to the electronic device, the mobile terminal may send the stereotaxic information to the electronic device, so that the electronic device can obtain real-time stereotaxic information of the user.
As an optional implementation manner, in the embodiment of the present invention, when the traffic safety alarm prompting function of the electronic device is turned on, the electronic device may perform corresponding traffic safety reminding alarm, and when the traffic safety alarm prompting function of the electronic device is turned off, the electronic device may not perform the positioning and/or alarm process, so that the traffic safety alarm prompting function is selectable, and the user experience is improved.
102. And the electronic equipment acquires a normal path which corresponds to the three-dimensional positioning information and accords with the traffic rule according to the three-dimensional positioning information and the route planning.
As an optional implementation manner, in the embodiment of the present invention, the purpose of acquiring, by the electronic device, the normal path corresponding to the stereoscopic positioning information and meeting the traffic rule according to the stereoscopic positioning information and the route planning is that the electronic device can determine a geographic position where the user is located in real time to monitor whether the user has reached the intersection, the pedestrian overpass, the pedestrian underpass, and the like, and whether the user has passed the intersection, the pedestrian overpass, the pedestrian underpass, and the like, so as to accurately determine the start time and the end time of the traffic safety alarm prompt, and achieve an effect of automatically alerting pedestrians to comply with the traffic safety rule.
103. The electronic equipment acquires the current actual path of the electronic equipment.
As an optional implementation manner, in the embodiment of the present invention, the electronic device may indicate the direction through an electronic compass disposed in the electronic device, and the electronic device may detect the current orientation of the user according to the relative orientation with the front of the human body, so as to obtain the orientation information of the user. The orientation information may preferably be orientation information of the front of the user;
the electronic equipment can determine that the road intersection opposite to the user is the target road intersection according to the orientation information of the user;
and after the electronic equipment determines the target road intersection, the electronic equipment can be networked with urban traffic to acquire the state information of the target road intersection in real time.
104. The electronic device determines whether the actual path matches the normal path, if not, step 105 is executed, and if so, the process is ended.
As an optional implementation manner, in the embodiment of the present invention, when the electronic device detects that the actual path of the user is about to pass through the intersection, the pedestrian overpass, the pedestrian underpass, and other positions, the traffic safety warning function is turned on;
and when the electronic device detects that the actual path of the user is about to pass through the intersection, the electronic device can judge whether the user needs to pass through the intersection through roads such as a pedestrian overpass and a pedestrian underpass at present, if so, the electronic device can judge whether the actual path of the user passes through roads such as a pedestrian overpass and a pedestrian underpass, and if not, the electronic device can execute the step 105;
and when the electronic equipment judges that the user does not need to pass through the intersection through roads such as pedestrian overpasses, pedestrian underpasses and the like, the electronic equipment can judge whether the intersection through which the user passes can pass or not so as to determine whether traffic safety alarm prompt needs to be carried out on the user or not, and the automatic alarm process is realized.
105. The electronic equipment determines that the actual path does not accord with the traffic rule, and outputs first alarm prompt information.
As an optional implementation manner, in an embodiment of the present invention, the first alarm notification information output by the electronic device includes:
the electronic equipment can control a display screen of the electronic equipment to output and display first alarm prompt information;
and/or the electronic equipment can control the first alarm prompt message sent by a loudspeaker of the electronic equipment.
As an optional implementation manner, in the embodiment of the present invention, when the electronic device detects that the normal route has multiple selectable routes, the user selects one of the multiple selectable routes, and the electronic device may determine that the current actual route of the user meets the traffic rule, so that the user does not give an alarm during crossing. For example, as the user passes by an intersection location, the electronic device may detect that the current user may pass through the intersection by walking a pedestrian overpass, and/or that the user may pass through the intersection by walking a pedestrian underpass, and/or may pass through the intersection by way of a traffic light at the intersection.
As an optional implementation manner, in the embodiment of the present invention, before the electronic device obtains the current stereotactic information of the electronic device and the route plan corresponding to the stereotactic information, the electronic device may determine whether the electronic device is currently located in an outdoor environment, and if so, the electronic device may start a traffic safety alarm prompt function;
and when the electronic equipment detects that the current electronic equipment is converted from the outdoor environment to the indoor environment, the electronic equipment can close the traffic safety alarm prompt function.
Therefore, the accuracy of the traffic safety alarm prompting can be improved by implementing the traffic safety alarm prompting method described in the figure 1.
In addition, the implementation of the traffic safety alarm prompting method described in fig. 1 can reduce the power consumption of the electronic device, and reduce unnecessary power consumption when the traffic safety alarm prompting function is not required to be turned on.
In addition, the traffic safety alarm prompting method described in fig. 1 can save manpower and material resources and realize effective supervision, thereby promoting people to improve traffic safety awareness by automatically supervising pedestrians.
In addition, the traffic safety warning prompting method described in fig. 1 is implemented, so that the traffic safety warning prompting function can be selected, and the user experience is improved.
Example two
Referring to fig. 2, fig. 2 is a schematic flow chart of another traffic safety warning method according to an embodiment of the present invention. As shown in fig. 2, the traffic safety warning prompting method may include the following steps.
201. The electronic equipment acquires the current three-dimensional positioning information of the electronic equipment and the route planning corresponding to the three-dimensional positioning information.
202. And the electronic equipment acquires a normal path which corresponds to the three-dimensional positioning information and accords with the traffic rule according to the three-dimensional positioning information and the route planning.
203. The electronic equipment acquires the current actual path of the electronic equipment.
204. The electronic equipment controls a front camera of the electronic equipment to shoot so as to obtain the facial image information containing the user.
As an optional implementation manner, in an embodiment of the present invention, the electronic device may acquire the facial image information of the user once every preset time to reduce power consumption of the electronic device, for example, the electronic device may acquire the facial image information once every 10 seconds or once every 15 seconds, which is not specifically limited in the embodiment of the present invention.
As an optional implementation manner, in the embodiment of the present invention, the electronic device may further control a rear camera of the electronic device to shoot, so as to obtain a front environment image of the electronic device, where the front environment image obtained by the electronic device may be a static image, a dynamic image, or a combined image of a static state and a dynamic state, and the embodiment of the present invention is not limited;
after the electronic equipment obtains the front environment image of the electronic equipment, the electronic equipment can also analyze the facial image information of the user so as to obtain the current emotion type of the user;
and after the electronic equipment obtains the current emotion type of the user, the electronic equipment can judge whether the current emotion type is the low-falling emotion, if so, the electronic equipment can recognize whether the front environment is suitable for exercise (such as walking) for improving the low-falling emotion according to the front environment image, and if so, reminding information of the exercise suitable for improving the low-falling emotion in the front environment is output to a display screen, so that the user can perform the exercise for improving the low-falling emotion in the front environment, and the low-falling emotion is improved. Or after the electronic equipment judges that the current emotion type is the low-falling emotion, the electronic equipment can identify whether a place (such as a song bar) for improving the low-falling emotion exists in the front environment according to the front environment image, and if the place exists, the electronic equipment outputs reminding information of the place (such as the song bar) suitable for the place (such as the song bar) for improving the low-falling emotion in the front environment to a display screen so that a user can improve the low-falling emotion in the place (such as the song bar) for improving the low-falling emotion in the front environment.
205. The electronic equipment identifies whether the time that the eyes of the user stay on the display screen exceeds a preset time length or not according to the facial image information of the user, if so, the step 206-the step 207 are executed, and if not, the step 207 is executed.
As an optional implementation manner, in the embodiment of the present invention, after the electronic device starts the front-facing camera of the electronic device, the electronic device may execute a facial recognition algorithm to obtain a duration of the user watching the mobile terminal, and may determine whether the duration exceeds a preset duration, if so, the electronic device may execute step 206 to step 207.
206. And the electronic equipment outputs second alarm prompt information.
As an optional implementation manner, in an embodiment of the present invention, the second alarm notification information output by the electronic device includes: voice alarm, vibration alarm and/or display high-risk picture alarm.
As an optional implementation manner, in the embodiment of the present invention, the electronic device monitors the behavior of the user who improperly uses the electronic device on the road, and warns in time when necessary, so as to greatly reduce the probability of accidents caused by the behavior, cultivate the safety awareness of pedestrians who correctly use the electronic device on the road, and follow the pedestrian traffic rules.
207. The electronic device determines whether the actual path matches the normal path, if not, executes steps 208-209, and if so, ends the process.
208. The electronic equipment determines that the actual path does not accord with the traffic rule, and outputs first alarm prompt information.
209. The electronic device detects whether the walking speed of the user exceeds a first specified threshold, if so, the steps 210 to 212 are executed, and if not, the process is ended.
As an optional implementation manner, in the embodiment of the present invention, the electronic device may collect signals of an acceleration sensor on the mobile phone in real time within a period, and may determine whether the action mode is walking or non-walking according to a change of the collected signals of the acceleration sensor, where a principle of the determination is based on a difference between an acceleration change rule during walking and an acceleration change rule during non-walking.
As an optional implementation manner, in the embodiment of the present invention, when the electronic device detects that the user is currently in a riding state, the electronic device may turn off the traffic safety warning function.
210. The electronic device determines that the user is currently in a running state.
As an optional implementation manner, in the embodiment of the present invention, after the electronic device determines that the user is currently in the running state, the electronic device may further analyze the facial image information of the user, so as to obtain whether the user is currently in a cheering state, and if so, the electronic device may control a speaker of the electronic device to send out third alarm prompt information.
211. And the electronic equipment controls a loudspeaker of the electronic equipment to send out third alarm prompt information.
As an optional implementation manner, in the embodiment of the present invention, the electronic device may further detect whether the electronic device is currently located on a pedestrian road (e.g., a sidewalk, a pedestrian overpass, and a pedestrian underpass) or an intersection, and if so, the electronic device may control a speaker of the electronic device to send out a third warning prompt message.
212. The electronic device detects whether the walking speed of the user is reduced to be below a first specified threshold value within a first specified duration, if so, step 213 is executed, and if not, the process is ended.
As an optional implementation manner, in the embodiment of the present invention, when the electronic device detects that the walking speed of the user is not reduced below the first specified threshold within the first specified duration, the electronic device may continuously control the speaker of the electronic device to send out the third alarm prompt information, and release the low-frequency current at the position where the electronic device contacts with the human body, which may cause physiological stimulation of the human body, and the like, which is not specifically limited in the embodiment of the present invention;
the low-frequency current can be a current within a safe current value which can be borne by a human body, and the low-frequency current can be used for stimulating pain nerves of the human body so as to remind a user of traffic safety;
and when the electronic equipment detects that the walking speed of the user is reduced to be below the first specified threshold, the electronic equipment can control the loudspeaker of the electronic equipment to stop sending out the third alarm prompt message and stop releasing the low-frequency current.
213. And the electronic equipment controls the loudspeaker of the electronic equipment to stop sending the third alarm prompt message.
As an optional implementation manner, in the embodiment of the present invention, after the electronic device controls the speaker of the electronic device to stop sending the third warning prompt message, the electronic device may output, to the display screen of the electronic device, a high-risk picture generated when the user continues to be in a running state, so that the probability of causing an accident can be greatly reduced, and a safety awareness that pedestrians correctly use the electronic device on a road is developed, so as to comply with the pedestrian traffic rules.
As an optional implementation manner, in the embodiment of the present invention, the electronic device may further establish a connection with the mobile internet and the vehicle-mounted network through the server, so that the electronic device may obtain changes of vehicles and pedestrians on a road where the current electronic device is located;
and by establishing connection with the mobile internet and the vehicle-mounted network, the pedestrian behaviors, the vehicle behaviors and the surrounding environment change under the effective monitoring of the traffic server, and the pedestrian safety is further improved by timely warning if necessary.
Therefore, the accuracy of the traffic safety alarm prompting can be improved by implementing the traffic safety alarm prompting method described in fig. 2.
In addition, the traffic safety alarm prompting method described in fig. 2 can effectively avoid traffic accidents caused by improper use of electronic equipment by users, avoid life risks and property losses to users, and improve user experience.
In addition, the traffic safety alarm prompting method described in fig. 2 can greatly reduce the probability of accidents caused by the accidents, cultivate the safety awareness that pedestrians correctly use electronic equipment on roads, and follow the pedestrian traffic rules.
In addition, the traffic safety alarm prompting method described in fig. 2 is implemented, so that the user can conveniently exercise in the front environment to improve the low-falling mood; or, the user is facilitated to improve the low-falling feeling in a place (such as a song bar) where the low-falling feeling is improved in the front environment.
EXAMPLE III
Referring to fig. 3, fig. 3 is a schematic flow chart of another traffic safety warning method according to an embodiment of the present invention. As shown in fig. 3, the traffic safety warning prompting method may include the following steps.
301. The electronic equipment acquires the current three-dimensional positioning information of the electronic equipment and the route planning corresponding to the three-dimensional positioning information.
302. And the electronic equipment acquires a normal path which corresponds to the three-dimensional positioning information and accords with the traffic rule according to the three-dimensional positioning information and the route planning.
303. The electronic equipment acquires the current actual path of the electronic equipment.
304. The electronic equipment controls a front camera of the electronic equipment to shoot so as to obtain the facial image information containing the user.
305. The electronic equipment identifies whether the time that the eyes of the user stay on the display screen exceeds a preset time length or not according to the facial image information of the user, if so, the steps 306 to 307 are executed, and if not, the step 307 is executed.
306. And the electronic equipment outputs second alarm prompt information.
307. The electronic device determines whether the actual path matches the normal path, if not, executes steps 308-309, and if so, ends the process.
308. The electronic equipment determines that the actual path does not accord with the traffic rule, and outputs first alarm prompt information.
309. The electronic device detects whether the walking speed of the user exceeds a first designated threshold, if so, the steps 310 to 312 are executed, and if not, the process is ended.
310. The electronic device determines that the user is currently in a running state.
311. And the electronic equipment controls a loudspeaker of the electronic equipment to send out third alarm prompt information.
312. The electronic device detects whether the walking speed of the user is reduced to be below a first specified threshold value within a first specified time, if so, the steps 313 to 314 are executed, and if not, the process is ended.
313. And the electronic equipment controls the loudspeaker of the electronic equipment to stop sending the third alarm prompt message.
314. The electronic device detects whether the stay time of the user on the specified walking road exceeds a second specified threshold, if so, the steps 315 to 316 are executed, and if not, the process is ended.
As an optional implementation manner, in an embodiment of the present invention, when the electronic device detects that the staying time of the user on the specified walking road exceeds a second specified threshold, the electronic device may further control a rear camera of the electronic device to perform shooting to obtain a front environment image of the electronic device, where the front environment image acquired by the electronic device may be a static image, a dynamic image, or a combined image of a static state and a dynamic state, and the embodiment of the present invention is not limited;
after the electronic equipment obtains the front environment image of the electronic equipment, the electronic equipment can also detect whether the reason that the stay time of the user on the specified walking road currently exceeds a second specified threshold value is because the flow of people on the specified walking road is large in the front environment image, so that the user is restricted;
if the reason that the electronic device detects that the stay time of the user on the specified walking road currently exceeds the second specified threshold is because the flow of people on the specified walking road is large, the electronic device may acquire the front environment image once every preset time to reduce the power consumption of the electronic device, for example, the electronic device may acquire the front environment image once every 10 seconds or once every 15 seconds, which is not specifically limited in the embodiment of the present invention;
and the electronic device may analyze the acquired front environment image, and if the electronic device detects that the traffic on the specified walking road is small, the electronic device may further detect whether the staying time of the user on the specified walking road exceeds a second specified threshold, and if so, the electronic device may perform steps 315 to 316.
315. And the electronic equipment controls a loudspeaker of the electronic equipment to send out fourth alarm prompt information.
As an optional implementation manner, in an embodiment of the present invention, before the electronic device controls the speaker of the electronic device to issue the fourth warning prompt message, the electronic device may further detect whether the specified pedestrian road is currently at a time that the parking is allowed, and if not, the electronic device may control the speaker of the electronic device to issue the fourth warning prompt message.
For example, when the electronic device detects that the user is currently on the specified pedestrian road (pedestrian overpass/pedestrian underpass), the electronic device may detect whether the specified pedestrian road is currently in a traffic peak period, if so, the electronic device may control a speaker of the electronic device to send out fourth warning prompt information, and if not, the electronic device may not make any prompt information.
316. The electronic device detects whether the user leaves the specified walking road within a second specified time, if so, the steps 317 to 318 are executed, and if not, the process is ended.
As an optional implementation manner, in the embodiment of the present invention, when the electronic device detects whether the user leaves the designated walking road within the second designated duration, the electronic device may continuously control the speaker of the electronic device to send out the fourth warning prompt information, and release the low-frequency current and other manners that can cause physiological stimulation of the human body at the position where the electronic device is in contact with the human body, which is not specifically limited in the embodiment of the present invention;
the low-frequency current can be a current within a safe current value which can be borne by a human body, and the low-frequency current can be used for stimulating pain nerves of the human body so as to remind a user of traffic safety;
and when the electronic device detects that the user has left the specified walking road, the electronic device may control the speaker of the electronic device to stop issuing the fourth warning notice information and stop the release of the low-frequency current.
317. And the electronic equipment controls the loudspeaker of the electronic equipment to stop sending out the fourth alarm prompt message.
As an optional implementation manner, in the embodiment of the present invention, after the electronic device controls the speaker of the electronic device to stop sending the fourth warning prompt message, the electronic device may output, to the display screen of the electronic device, a high-risk picture generated when the user continues to be on the specified walking road, so that the probability of causing an accident can be greatly reduced, and a safety awareness that a pedestrian correctly uses the electronic device on the road is developed, so as to comply with the pedestrian traffic rule.
318. The electronic device detects whether a traffic danger area with a distance between the electronic device and the electronic device within a second specified threshold exists, if so, the steps 319 to 320 are executed, and if not, the process is ended.
As an optional implementation manner, in the embodiment of the present invention, the electronic device may further establish a connection with the mobile internet and the vehicle-mounted network through the server, so that the electronic device may obtain changes of vehicles and pedestrians on a road where the current electronic device is located;
and after the electronic equipment obtains the changes of the vehicles and the pedestrians on the road where the current electronic equipment is located, the electronic equipment can combine the loaded map in the electronic equipment and the predicted data such as the user movement path, and further obtain the traffic danger area of which the distance from the electronic equipment is within the second specified threshold.
For example, the electronic device may locally load offline map data and offline danger area data, and when a network is available, obtain data of vehicle behavior, pedestrian behavior, environmental change, and the like of an area where the electronic device is currently located, the electronic device may update the obtained data into the loaded offline map data and offline danger area data to generate an area map, and then the electronic device may predict a movement path of the user in combination with the current location information, the area map, and the user's whereabouts to obtain a traffic danger area where a distance between the electronic device and the user is within a second specified threshold.
319. The electronic equipment acquires detailed information of the traffic danger area, wherein the detailed information at least comprises geographical position information of the traffic danger area.
As an optional implementation manner, in the embodiment of the present invention, the electronic device may further obtain a staying time of the electronic device in the traffic hazard area, information of a person in charge of the traffic hazard area, and an emergency contact and address of the traffic hazard area, for example, an emergency contact and address of a hospital closest to the building, and an emergency contact and address of a police station closest to the building;
and the electronic device can output the stay time of the electronic device in the traffic danger area, the information of the person in charge of the traffic danger area, and the emergency contact way and address of the traffic danger area, such as the emergency contact way and address of the hospital closest to the building and the emergency contact way and address of the police station closest to the building, to a display screen of the electronic device, so that the user can be rescued in time when encountering an emergency.
320. And the electronic equipment outputs fifth alarm prompt information and outputs the geographical position information to a display screen of the electronic equipment.
As an optional implementation manner, in an embodiment of the present invention, the fifth alarm prompt information output by the electronic device includes: voice alarm, vibration alarm and/or display high-risk picture alarm.
As an alternative implementation manner, in the embodiment of the present invention, when the electronic device detects that the user is currently located at the intersection, but there is no traffic light at the intersection, and there is no pedestrian overpass or pedestrian underpass at the intersection, the electronic device may obtain data such as the vehicle behavior, the pedestrian behavior, and the environmental change at the intersection through the server, and further output the indication information through the data, so as to indicate how the user should pass through the intersection.
Therefore, the accuracy of the traffic safety alarm prompt described in fig. 3 can be improved by implementing the traffic safety alarm prompt method.
In addition, the traffic safety alarm prompting method described in fig. 3 can effectively avoid traffic accidents caused by improper use of electronic equipment by users, avoid life risks and property losses to the users, and improve user experience.
In addition, by implementing the traffic safety alarm prompting method described in fig. 3, the user can obtain the emergency contact information and the address of the location area, so that the user can be rescued in time when encountering an emergency.
In addition, the traffic safety alarm prompting method described in fig. 3 can greatly reduce the probability of accidents caused by the accidents, cultivate the safety awareness that pedestrians correctly use electronic equipment on roads, and follow the pedestrian traffic rules.
Example four
Referring to fig. 4, fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure. As shown in fig. 4, the electronic device may include:
a first obtaining unit 401, configured to obtain current stereotactic information of an electronic device and a route plan corresponding to the stereotactic information.
A second obtaining unit 402, configured to obtain, according to the stereotactic information and the route planning, a normal route corresponding to the stereotactic information and meeting the traffic rules.
Accordingly, in the electronic device shown in fig. 4, the first obtaining unit 401 is further configured to obtain the current actual path of the electronic device.
A judging unit 403 for judging whether the actual path coincides with the normal path.
A first determining unit 404, configured to determine that the actual route does not conform to the traffic rules and output a first warning prompt message when the determining unit 403 determines that the actual route does not conform to the normal route.
In the embodiment of the present invention, the electronic device may include an electronic device with a positioning function, such as a mobile phone, a tablet computer, a bracelet, a watch, and smart glasses, which is not limited in the embodiment of the present invention.
As an optional implementation manner, in the embodiment of the present invention, the current stereoscopic positioning information of the electronic device may be obtained by periodically obtaining current geographic location information of the user through a positioning module, where the positioning module may receive positioning information sent by a satellite positioning system, such as but not limited to a GPS positioning system, and may also calculate and obtain real-time geographic location information of the user by connecting to a wireless network and using a location of a base station and a relative distance between the base station and the base station.
For example, the electronic device may perform positioning by using a positioning module arranged in the electronic device, or after obtaining current stereotaxic information of the user by using a mobile terminal (e.g., a mobile phone) connected to the electronic device, the mobile terminal may send the stereotaxic information to the electronic device, so that the electronic device can obtain real-time stereotaxic information of the user.
As an optional implementation manner, in the embodiment of the present invention, when the traffic safety alarm prompting function of the electronic device is turned on, the electronic device may perform corresponding traffic safety reminding alarm, and when the traffic safety alarm prompting function of the electronic device is turned off, the electronic device may not perform the positioning and/or alarm process, so that the traffic safety alarm prompting function is selectable, and the user experience is improved.
As an optional implementation manner, in the embodiment of the present invention, the purpose of acquiring the normal path corresponding to the traffic rule and corresponding to the three-dimensional positioning information by the second acquiring unit 402 according to the three-dimensional positioning information and the route planning is that the electronic device can determine a geographic position where the user is located in real time, so as to monitor whether the user has reached positions such as an intersection, a pedestrian overpass, a pedestrian underpass, and the like, and whether the user has passed positions such as an intersection, a pedestrian overpass, a pedestrian underpass, and the like, thereby accurately determining the start time and the end time of the traffic safety alarm prompt, and achieving an effect of automatically alerting pedestrians to comply with the traffic safety rule.
As an alternative implementation manner, in the embodiment of the present invention, the electronic device may indicate the direction through an electronic compass provided in the electronic device, and the first obtaining unit 401 may detect the current orientation of the user according to the relative orientation with respect to the front side of the human body, so as to obtain the orientation information of the user. The orientation information may preferably be orientation information of the front of the user;
the electronic equipment can determine that the road intersection opposite to the user is the target road intersection according to the orientation information of the user;
and after the electronic equipment determines the target road intersection, the electronic equipment can be networked with urban traffic to acquire the state information of the target road intersection in real time.
As an optional implementation manner, in the embodiment of the present invention, when the electronic device detects that the actual path of the user is about to pass through the intersection, the pedestrian overpass, the pedestrian underpass, and other positions, the traffic safety warning function is turned on;
and when the electronic device detects that the actual path of the user is about to pass through the intersection, the determining unit 403 may determine whether the user needs to pass through the intersection via roads such as pedestrian overpasses and pedestrian underpasses, if so, the determining unit 403 may determine whether the actual path of the user passes through roads such as pedestrian overpasses and pedestrian underpasses, and if not, the electronic device may perform step 105;
and when the determining unit 403 determines that the user does not need to pass through the intersection via the pedestrian overpass, the pedestrian underpass, and other roads, the determining unit 403 may determine whether the intersection through which the user will pass is passable, so as to determine whether to perform the traffic safety alarm prompt on the user, thereby implementing the automatic alarm process.
As an optional implementation manner, in an embodiment of the present invention, the first alarm notification information output by the first determining unit 404 includes:
the first determining unit 404 may control a display screen of the electronic device to output and display the first alarm prompt information;
and/or the first determining unit 404 may control the first alarm prompt message emitted by a speaker of the electronic device.
As an optional implementation manner, in the embodiment of the present invention, when the electronic device detects that the normal route has multiple selectable routes, the user selects one of the multiple selectable routes, and the electronic device may determine that the current actual route of the user meets the traffic rule, so that the user does not give an alarm during crossing. For example, as the user passes by an intersection location, the electronic device may detect that the current user may pass through the intersection by walking a pedestrian overpass, and/or that the user may pass through the intersection by walking a pedestrian underpass, and/or may pass through the intersection by way of a traffic light at the intersection.
As an optional implementation manner, in the embodiment of the present invention, before the first obtaining unit 401 obtains the current stereotactic information of the electronic device and the route plan corresponding to the stereotactic information, the electronic device may determine whether the electronic device is currently located in an outdoor environment, and if so, the electronic device may start a traffic safety alarm prompt function;
and when the electronic equipment detects that the current electronic equipment is converted from the outdoor environment to the indoor environment, the electronic equipment can close the traffic safety alarm prompt function.
Therefore, the electronic equipment described in fig. 4 can improve the accuracy of the safety alarm prompt.
In addition, the electronic device described in fig. 4 can reduce the power consumption of the electronic device, and reduce unnecessary power consumption when the traffic safety warning prompt function is not required to be turned on.
In addition, the electronic device described in fig. 4 can save manpower and material resources and realize effective supervision, thereby promoting people to improve traffic safety awareness by automatically supervising pedestrians.
In addition, the electronic device described in fig. 4 is implemented, so that the traffic safety warning prompt function is optional, and the user experience is improved.
EXAMPLE five
Referring to fig. 5, fig. 5 is a schematic structural diagram of another electronic device according to an embodiment of the disclosure. The electronic device shown in fig. 5 is optimized from the electronic device shown in fig. 4. Compared to the electronic device shown in fig. 4, the electronic device shown in fig. 5 may further include:
a first control unit 405, configured to control the front camera of the electronic device to perform shooting to obtain the face image information containing the user after the first obtaining unit 401 obtains the current actual path of the electronic device and before the determining unit 403 determines whether the actual path coincides with the normal path.
As an alternative implementation manner, in an embodiment of the present invention, the first control unit 405 may acquire the facial image information of the user once every preset time to reduce power consumption of the electronic device, for example, the electronic device may acquire the facial image information once every 10 seconds or once every 15 seconds, which is not specifically limited in the embodiment of the present invention.
As an optional implementation manner, in an embodiment of the present invention, the first control unit 405 may further control a rear camera of the electronic device to perform shooting to obtain a front environment image of the electronic device, where the front environment image obtained by the electronic device may be a static image, a dynamic image, or a combined image of a static state and a dynamic state, and the embodiment of the present invention is not limited;
after the electronic equipment obtains the front environment image of the electronic equipment, the electronic equipment can also analyze the facial image information of the user so as to obtain the current emotion type of the user;
and after the electronic equipment obtains the current emotion type of the user, the electronic equipment can judge whether the current emotion type is the low-falling emotion, if so, the electronic equipment can recognize whether the front environment is suitable for exercise (such as walking) for improving the low-falling emotion according to the front environment image, and if so, reminding information of the exercise suitable for improving the low-falling emotion in the front environment is output to a display screen, so that the user can perform the exercise for improving the low-falling emotion in the front environment, and the low-falling emotion is improved. Or after the electronic equipment judges that the current emotion type is the low-falling emotion, the electronic equipment can identify whether a place (such as a song bar) for improving the low-falling emotion exists in the front environment according to the front environment image, and if the place exists, the electronic equipment outputs reminding information of the place (such as the song bar) suitable for the place (such as the song bar) for improving the low-falling emotion in the front environment to a display screen so that a user can improve the low-falling emotion in the place (such as the song bar) for improving the low-falling emotion in the front environment.
And the identifying unit 406 is used for identifying whether the time that the eyes of the user stay on the display screen exceeds a preset time length according to the facial image information of the user.
As an alternative implementation manner, in the embodiment of the present invention, after the electronic device starts the front-facing camera of the electronic device, the identifying unit 406 may execute a facial recognition algorithm to obtain a duration of time for the user to watch the mobile terminal, and may determine whether the duration of time exceeds a preset time length.
A first output unit 407, configured to output a second alarm prompt message when the recognition unit 406 recognizes that the time when the eyes of the user stay on the display screen exceeds a preset time.
As an optional implementation manner, in an embodiment of the present invention, the second alarm notification information output by the first output unit 407 includes: voice alarm, vibration alarm and/or display high-risk picture alarm.
As an optional implementation manner, in the embodiment of the present invention, the electronic device monitors the behavior of the user who improperly uses the electronic device on the road, and warns in time when necessary, so as to greatly reduce the probability of accidents caused by the behavior, cultivate the safety awareness of pedestrians who correctly use the electronic device on the road, and follow the pedestrian traffic rules.
Accordingly, compared to the electronic device shown in fig. 4, the electronic device shown in fig. 5 further includes:
the second detecting unit 408 is configured to detect whether the walking speed of the user exceeds a first specified threshold after the first determining unit 404 determines that the actual path does not conform to the traffic rule and outputs the first warning prompt message.
As an optional implementation manner, in an embodiment of the present invention, the electronic device may collect signals of an acceleration sensor on the mobile phone in real time within a period, and the second detection unit 408 may determine whether the action mode is walking or non-walking according to a change of the collected signals of the acceleration sensor, where the determination principle is based on a difference between an acceleration change rule during walking and an acceleration change rule during non-walking.
As an optional implementation manner, in the embodiment of the present invention, when the second detecting unit 408 detects that the user is currently in a riding state, the electronic device may turn off the traffic safety warning function.
A second determining unit 409, configured to determine that the user is currently in a running state when the second detecting unit 408 detects that the walking speed of the user exceeds the first specified threshold.
As an optional implementation manner, in the embodiment of the present invention, after the second determining unit 409 determines that the user is currently in the running state, the electronic device may further analyze the facial image information of the user, so as to obtain whether the user is currently in a cheering state, and if so, the second controlling unit 410 may control a speaker of the electronic device to send out third alarm prompt information.
And a second control unit 410, configured to control a speaker of the electronic device to emit a third warning prompt message.
As an optional implementation manner, in an embodiment of the present invention, the electronic device may further detect whether the electronic device is currently located on a pedestrian road (e.g., a sidewalk, a pedestrian overpass, and a pedestrian underpass) or an intersection, and if so, the second control unit 410 may control a speaker of the electronic device to emit a third warning prompt message.
Accordingly, in the electronic device shown in fig. 5, the second detecting unit 408 is further configured to detect whether the walking speed of the user decreases below the first specified threshold within the first specified time period.
As an optional implementation manner, in the embodiment of the present invention, when the second detecting unit 408 detects that the walking speed of the user is not reduced below the first specified threshold within the first specified duration, the second controlling unit 410 may continuously control the speaker of the electronic device to send out the third warning prompt message, and release the low-frequency current and other modes that can cause physiological stimulation of the human body at the position where the electronic device contacts the human body, which is not specifically limited in the embodiment of the present invention;
the low-frequency current can be a current within a safe current value which can be borne by a human body, and the low-frequency current can be used for stimulating pain nerves of the human body so as to remind a user of traffic safety;
and when the second detection unit 408 detects that the walking speed of the user has decreased below the first specified threshold, the second control unit 410 may control the speaker of the electronic device to stop issuing the third warning notice message and stop releasing the low-frequency current.
Correspondingly, in the electronic device shown in fig. 5, the second control unit 410 is further configured to control the speaker of the electronic device to stop sending the third warning prompt message when the second detection unit 408 detects that the walking speed of the user decreases below the first specified threshold value within the first specified time period.
As an optional implementation manner, in the embodiment of the present invention, after the second control unit 410 controls the speaker of the electronic device to stop sending the third warning prompt message, the electronic device may output, to the display screen of the electronic device, a high-risk picture generated when the user continues to run, so that the probability of accidents caused by the high-risk picture can be greatly reduced, and a safety awareness that pedestrians correctly use the electronic device on a road is developed, so as to comply with the pedestrian traffic regulations.
As an optional implementation manner, in the embodiment of the present invention, the electronic device may further establish a connection with the mobile internet and the vehicle-mounted network through the server, so that the electronic device may obtain changes of vehicles and pedestrians on a road where the current electronic device is located;
and by establishing connection with the mobile internet and the vehicle-mounted network, the pedestrian behaviors, the vehicle behaviors and the surrounding environment change under the effective monitoring of the traffic server, and the pedestrian safety is further improved by timely warning if necessary.
It can be seen that the accuracy of the security alarm prompt can be improved by implementing another electronic device as described in fig. 5.
In addition, the implementation of another electronic device described in fig. 5 can effectively avoid traffic accidents caused by improper use of the electronic device by the user, avoid life risks and property losses for the user, and improve user experience.
In addition, the implementation of another electronic device depicted in fig. 5 can greatly reduce the probability of accidents caused by the electronic device, foster the safety awareness of pedestrians correctly using the electronic device on roads and follow the pedestrian traffic rules.
In addition, with the electronic device described in fig. 5, the user can perform exercise for improving the low-falling feeling in the front environment, so that the low-falling feeling can be improved; or, the user is facilitated to improve the low-falling feeling in a place (such as a song bar) where the low-falling feeling is improved in the front environment.
EXAMPLE six
Referring to fig. 6, fig. 6 is a schematic structural diagram of another electronic device according to an embodiment of the present disclosure. The electronic device shown in fig. 6 is optimized from the electronic device shown in fig. 5. Compared to the electronic device shown in fig. 5, the electronic device shown in fig. 6 may further include:
a third detecting unit 411, configured to detect whether the staying time of the user on the specified walking road exceeds a second specified threshold after the second controlling unit 410 controls the speaker of the electronic device to stop issuing the third warning prompt message.
As an optional implementation manner, in an embodiment of the present invention, when the third detecting unit 411 detects that the staying time of the user on the specified walking road exceeds a second specified threshold, the electronic device may further control a rear camera of the electronic device to perform shooting to obtain a front environment image of the electronic device, where the front environment image acquired by the electronic device may be a static image, a dynamic image, or a combined image of a static state and a static state, and the embodiment of the present invention is not limited;
after the electronic device obtains the front environment image of the electronic device, the third detecting unit 411 may further detect whether the reason that the staying time of the user on the specified walking road currently exceeds the second specified threshold in the front environment image is due to a large pedestrian volume on the specified walking road, so that the user is restricted;
and if the third detecting unit 411 detects that the reason that the staying time of the user on the specified walking road currently exceeds the second specified threshold is because the flow of people on the specified walking road is large, the electronic device may acquire the front environment image once every preset time to reduce the power consumption of the electronic device, for example, the electronic device may acquire the image once every 10s or once every 15s, which is not specifically limited in the embodiment of the present invention;
and the electronic equipment can analyze the acquired front environment image, and if the electronic equipment detects that the traffic on the specified walking road is small, the electronic equipment can also detect whether the staying time of the user on the specified walking road exceeds a second specified threshold.
And a third control unit 412, configured to control a speaker of the electronic device to emit a fourth warning prompt message when the third detection unit 411 detects that the staying time of the user on the specified walking road exceeds a second specified threshold.
As an optional implementation manner, in an embodiment of the present invention, before the third control unit 412 controls the speaker of the electronic device to issue the fourth warning prompt message, the electronic device may further detect whether the specified walking road is currently at a time that allows parking, and if not, the third control unit 412 may control the speaker of the electronic device to issue the fourth warning prompt message.
For example, when the third detecting unit 411 detects that the user is currently on the specified pedestrian road (pedestrian overpass/pedestrian underpass), the electronic device may detect whether the specified pedestrian road is currently in a traffic peak period, if so, the third controlling unit 412 may control a speaker of the electronic device to emit fourth warning prompt information, and if not, the electronic device may not make any prompt information.
Accordingly, in the electronic apparatus shown in fig. 6, the third detecting unit 411 is also used to detect whether the user leaves the specified walking road within the second specified time length.
As an optional implementation manner, in the embodiment of the present invention, when the third detecting unit 411 detects whether the user leaves the specified walking road within the second specified time period, the third controlling unit 412 may continuously control the speaker of the electronic device to send out the fourth warning prompt information, and release the low-frequency current at the position where the electronic device contacts the human body, which may cause the physiological stimulation of the human body, and the embodiment of the present invention is not particularly limited;
the low-frequency current can be a current within a safe current value which can be borne by a human body, and the low-frequency current can be used for stimulating pain nerves of the human body so as to remind a user of traffic safety;
and, when the third detecting unit 411 detects that the user has left the specified walking road, the third controlling unit 412 may control the speaker of the electronic device to stop issuing the fourth warning notice information and stop the release of the low frequency current.
Accordingly, in the electronic device shown in fig. 6, the third control unit 412 is further configured to control the speaker of the electronic device to stop sending the fourth warning message when the third detection unit 411 detects that the user leaves the specified walking road within the second specified time length.
As an optional implementation manner, in an embodiment of the present invention, after the third control unit 412 controls the speaker of the electronic device to stop sending the fourth warning prompt message, the electronic device may output, to a display screen of the electronic device, a high-risk picture generated when the user continues to be on the specified pedestrian road, so that the probability of an accident caused thereby can be greatly reduced, and a safety awareness that pedestrians correctly use the electronic device on the road is developed, so as to comply with the pedestrian traffic regulations.
Accordingly, compared to the electronic device shown in fig. 5, the electronic device shown in fig. 6 further includes:
and a fourth detecting unit 413, configured to detect whether there is a traffic hazard zone whose distance from the electronic device is within a second specified threshold after the third controlling unit 412 controls the speaker of the electronic device to stop issuing the fourth warning prompt message.
As an optional implementation manner, in the embodiment of the present invention, the electronic device may further establish a connection with the mobile internet and the vehicle-mounted network through the server, so that the electronic device may obtain changes of vehicles and pedestrians on a road where the current electronic device is located;
and after the electronic equipment obtains the changes of the vehicles and the pedestrians on the road where the current electronic equipment is located, the electronic equipment can combine the loaded map in the electronic equipment and the predicted data such as the user movement path, and further obtain the traffic danger area of which the distance from the electronic equipment is within the second specified threshold.
For example, the electronic device may locally load offline map data and offline danger area data, and when a network is available, obtain data of vehicle behavior, pedestrian behavior, environmental change, and the like of an area where the electronic device is currently located, the electronic device may update the obtained data into the loaded offline map data and offline danger area data to generate an area map, and then the electronic device may predict a movement path of the user in combination with the current location information, the area map, and the user's whereabouts to obtain a traffic danger area where a distance between the electronic device and the user is within a second specified threshold.
A third obtaining unit 414, configured to obtain detailed information of the traffic hazard zone when the fourth detecting unit 413 detects that there is a traffic hazard zone whose distance from the electronic device is within a second specified threshold, where the detailed information at least includes geographical location information of the traffic hazard zone.
As an optional implementation manner, in an embodiment of the present invention, the third obtaining unit 414 may further obtain a staying time of the electronic device in the traffic hazard area, information of a person in charge of the traffic hazard area, and an emergency contact and address of the traffic hazard area, for example, an emergency contact and address of a hospital closest to the building, and an emergency contact and address of a police station closest to the building;
and the electronic device can output the stay time of the electronic device in the traffic danger area, the information of the person in charge of the traffic danger area, and the emergency contact way and address of the traffic danger area, such as the emergency contact way and address of the hospital closest to the building and the emergency contact way and address of the police station closest to the building, to a display screen of the electronic device, so that the user can be rescued in time when encountering an emergency.
And a second output unit 415, configured to output the fifth warning prompt message and output the geographical location information to a display screen of the electronic device.
As an optional implementation manner, in an embodiment of the present invention, the fifth warning prompt information output by the second output unit 415 includes: voice alarm, vibration alarm and/or display high-risk picture alarm.
As an alternative implementation manner, in the embodiment of the present invention, when the electronic device detects that the user is currently located at the intersection, but there is no traffic light at the intersection, and there is no pedestrian overpass or pedestrian underpass at the intersection, the electronic device may obtain data of the vehicle behavior, the pedestrian behavior, and the environmental change at the intersection through the server, and then the second output unit 415 outputs the indication information through the data to indicate how the user should pass through the intersection.
It can be seen that implementing another electronic device as described in fig. 6 can improve the accuracy of the security alarm prompt.
In addition, the implementation of another electronic device described in fig. 6 can effectively avoid traffic accidents caused by improper use of the electronic device by the user, avoid life risks and property losses for the user, and improve user experience.
In addition, the implementation of another electronic device described in fig. 6 enables the user to know the emergency contact information and the address of the location area, so that the user can be rescued in time when encountering an emergency.
In addition, the implementation of another electronic device described in fig. 6 can greatly reduce the probability of accidents caused by the electronic device, foster the safety awareness of pedestrians correctly using the electronic device on roads and follow the pedestrian traffic rules.
EXAMPLE seven
Referring to fig. 7, fig. 7 is a schematic structural diagram of another electronic device according to an embodiment of the disclosure. As shown in fig. 7, the electronic device may include:
a memory 701 in which executable program code is stored;
a processor 702 coupled to the memory 701;
the processor 702 calls the executable program code stored in the memory 701 to execute any one of the traffic safety warning prompting methods in fig. 1 to 3.
The embodiment of the invention discloses a computer-readable storage medium which stores a computer program, wherein the computer program enables a computer to execute any one of traffic safety alarm prompting methods in figures 1-3.
Embodiments of the present invention also disclose a computer program product, wherein, when the computer program product is run on a computer, the computer is caused to execute part or all of the steps of the method as in the above method embodiments.
It will be understood by those skilled in the art that all or part of the steps in the methods of the embodiments described above may be implemented by instructions associated with hardware via a program, and the program may be stored in a computer-readable storage medium, where the storage medium includes Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), compact disc-Read-Only Memory (CD-ROM), or other Memory, magnetic disk, magnetic tape, or magnetic tape, Or any other medium which can be used to carry or store data and which can be read by a computer.
The traffic safety alarm prompting method and the electronic device disclosed by the embodiment of the invention are introduced in detail, a specific example is applied in the text to explain the principle and the implementation mode of the invention, and the description of the embodiment is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A traffic safety alarm prompting method is characterized by comprising the following steps:
acquiring current three-dimensional positioning information of electronic equipment and a route plan corresponding to the three-dimensional positioning information;
acquiring a normal path corresponding to the three-dimensional positioning information and conforming to traffic rules according to the three-dimensional positioning information and the route planning;
acquiring a current actual path of the electronic equipment;
judging whether the actual path is consistent with the normal path; if not, determining that the actual path does not accord with the traffic rule, and outputting first alarm prompt information.
2. The traffic safety warning prompting method according to claim 1, wherein after acquiring the current actual path of the electronic device and before determining whether the actual path is in accordance with the normal path, the method further comprises:
controlling a front camera of the electronic equipment to shoot so as to obtain facial image information containing a user;
identifying whether the time that the eyes of the user stay on the display screen exceeds a preset time length or not according to the facial image information of the user; and if so, outputting second alarm prompt information.
3. The traffic safety warning prompting method according to claim 1 or 2, wherein after determining that the actual route does not comply with a traffic rule and outputting first warning prompting information, the method further comprises:
detecting whether the walking speed of the user exceeds a first specified threshold value; if yes, determining that the user is currently in a running state;
controlling a loudspeaker of the electronic equipment to send out third alarm prompt information;
detecting whether the walking speed of the user is reduced below the first specified threshold value within a first specified time period; and if so, controlling a loudspeaker of the electronic equipment to stop sending the third alarm prompt message.
4. The traffic safety warning prompting method according to claim 3, wherein after controlling the speaker of the electronic device to stop issuing the third warning prompting message, the method further comprises:
detecting whether the user's stay on a specified pedestrian road exceeds a second specified threshold; if yes, controlling a loudspeaker of the electronic equipment to send out fourth alarm prompt information;
detecting whether the user leaves the specified walking road within a second specified time length; and if so, controlling a loudspeaker of the electronic equipment to stop sending the fourth alarm prompt message.
5. The traffic safety warning prompting method according to claim 4, wherein after controlling the speaker of the electronic device to stop issuing the fourth warning prompting message, the method further comprises:
detecting whether there is a traffic hazard zone having a distance to the electronic device within a second specified threshold; if so, acquiring detailed information of the traffic danger area, wherein the detailed information at least comprises the geographical position information of the traffic danger area;
and outputting fifth alarm prompt information and outputting the geographical position information to a display screen of the electronic equipment.
6. An electronic device, characterized in that the electronic device comprises:
the system comprises a first acquisition unit, a second acquisition unit and a route planning unit, wherein the first acquisition unit is used for acquiring current three-dimensional positioning information of electronic equipment and a route plan corresponding to the three-dimensional positioning information;
the second acquisition unit is used for acquiring a normal path which corresponds to the three-dimensional positioning information and accords with traffic rules according to the three-dimensional positioning information and the route planning;
the first obtaining unit is further configured to obtain a current actual path of the electronic device;
a judging unit configured to judge whether the actual path coincides with the normal path;
and the first determining unit is used for determining that the actual path does not accord with the traffic rule and outputting first alarm prompt information when the judging unit judges that the actual path does not accord with the normal path.
7. The electronic device of claim 6, further comprising:
the first control unit is used for controlling a front camera of the electronic equipment to shoot after the first acquisition unit acquires the current actual path of the electronic equipment and before the judgment unit judges whether the actual path is consistent with the normal path or not so as to acquire facial image information containing a user;
the identification unit is used for identifying whether the time that the eyes of the user stay on the display screen exceeds the preset time length or not according to the facial image information of the user;
and the first output unit is used for outputting second alarm prompt information when the identification unit identifies that the time that the eyes of the user stay on the display screen exceeds the preset time length.
8. The electronic device of claim 6 or 7, further comprising:
the second detection unit is used for detecting whether the walking speed of the user exceeds a first specified threshold value or not after the first determination unit determines that the actual path does not accord with the traffic rule and outputs first alarm prompt information;
the second determining unit is used for determining that the user is currently in a running state when the second detecting unit detects that the walking speed of the user exceeds a first specified threshold;
the second control unit is used for controlling a loudspeaker of the electronic equipment to send out third alarm prompt information;
the second detection unit is further configured to detect whether the walking speed of the user is reduced to be below the first specified threshold within a first specified duration;
the second control unit is further configured to control a speaker of the electronic device to stop sending a third warning prompt message when the second detection unit detects that the walking speed of the user is reduced to be below the first specified threshold value within a first specified duration.
9. An electronic device, comprising:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute the traffic safety warning prompting method of any one of claims 1-5.
10. A computer-readable storage medium storing a computer program, wherein the computer program causes a computer to execute the traffic safety warning prompting method according to any one of claims 1 to 5.
CN201910700418.6A 2019-07-31 2019-07-31 Traffic safety alarm prompting method and electronic equipment Active CN111754761B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910700418.6A CN111754761B (en) 2019-07-31 2019-07-31 Traffic safety alarm prompting method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910700418.6A CN111754761B (en) 2019-07-31 2019-07-31 Traffic safety alarm prompting method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111754761A true CN111754761A (en) 2020-10-09
CN111754761B CN111754761B (en) 2022-09-20

Family

ID=72672773

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910700418.6A Active CN111754761B (en) 2019-07-31 2019-07-31 Traffic safety alarm prompting method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111754761B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112885087A (en) * 2021-01-22 2021-06-01 北京嘀嘀无限科技发展有限公司 Method, apparatus, device and medium for determining road condition information and program product

Citations (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003136451A (en) * 2001-11-05 2003-05-14 Sony Corp Robot device and control method thereof
JP2007232686A (en) * 2006-03-03 2007-09-13 Nec Corp Traffic guide device, system, and method, mobile terminal equipment, display method, and program
US20120124456A1 (en) * 2010-11-12 2012-05-17 Microsoft Corporation Audience-based presentation and customization of content
CN103578288A (en) * 2013-11-13 2014-02-12 惠州Tcl移动通信有限公司 Traffic safety reminding method, mobile terminal and traffic safety reminding system
CN104038836A (en) * 2014-06-03 2014-09-10 四川长虹电器股份有限公司 Television program intelligent pushing method
CN104287747A (en) * 2014-10-24 2015-01-21 南京邮电大学 Exercise rehabilitation robot interactive control method based on emotion perception
CN104700613A (en) * 2015-02-27 2015-06-10 惠州Tcl移动通信有限公司 Method for leading blind man across road, mobile terminal and road indication device
CN104732718A (en) * 2013-12-23 2015-06-24 西安易朴通讯技术有限公司 Method for giving alarm prompts
CN104905803A (en) * 2015-07-01 2015-09-16 京东方科技集团股份有限公司 Wearable electronic device and emotion monitoring method thereof
CN105448085A (en) * 2015-12-17 2016-03-30 小米科技有限责任公司 Road crossing prompting method, device, and terminal device
CN105551238A (en) * 2016-02-25 2016-05-04 上海斐讯数据通信技术有限公司 Method for safely crossing road by intelligently detecting traffic lights and mobile terminal
CN105894728A (en) * 2016-05-05 2016-08-24 广东欧珀移动通信有限公司 Danger alarm method and mobile equipment
CN106250149A (en) * 2016-07-29 2016-12-21 乐视控股(北京)有限公司 A kind of based reminding method and terminal
CN106250293A (en) * 2016-08-16 2016-12-21 广东小天才科技有限公司 A kind of dangerous based reminding method based on mobile terminal and device, mobile terminal
US20160381534A1 (en) * 2015-06-29 2016-12-29 Lg Electronics Inc. Mobile terminal
CN106303041A (en) * 2016-08-17 2017-01-04 珠海格力电器股份有限公司 A kind of generation method of early warning information and a kind of mobile terminal
CN107633679A (en) * 2017-09-25 2018-01-26 广东小天才科技有限公司 Traffic safety prompting method, device, wearable device and storage medium
CN107705808A (en) * 2017-11-20 2018-02-16 合光正锦(盘锦)机器人技术有限公司 A kind of Emotion identification method based on facial characteristics and phonetic feature
CN107705550A (en) * 2017-10-24 2018-02-16 努比亚技术有限公司 Traffic security early warning method of traffic control, mobile terminal and computer-readable recording medium
US20180114435A1 (en) * 2016-10-26 2018-04-26 Microsoft Technology Licensing, Llc Pedestrian alerts for mobile devices
CN108174026A (en) * 2017-12-25 2018-06-15 珠海格力电器股份有限公司 The safety prompt function method, apparatus and electronic equipment of a kind of mobile terminal

Patent Citations (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003136451A (en) * 2001-11-05 2003-05-14 Sony Corp Robot device and control method thereof
JP2007232686A (en) * 2006-03-03 2007-09-13 Nec Corp Traffic guide device, system, and method, mobile terminal equipment, display method, and program
US20120124456A1 (en) * 2010-11-12 2012-05-17 Microsoft Corporation Audience-based presentation and customization of content
CN103578288A (en) * 2013-11-13 2014-02-12 惠州Tcl移动通信有限公司 Traffic safety reminding method, mobile terminal and traffic safety reminding system
CN104732718A (en) * 2013-12-23 2015-06-24 西安易朴通讯技术有限公司 Method for giving alarm prompts
CN104038836A (en) * 2014-06-03 2014-09-10 四川长虹电器股份有限公司 Television program intelligent pushing method
CN104287747A (en) * 2014-10-24 2015-01-21 南京邮电大学 Exercise rehabilitation robot interactive control method based on emotion perception
CN104700613A (en) * 2015-02-27 2015-06-10 惠州Tcl移动通信有限公司 Method for leading blind man across road, mobile terminal and road indication device
US20160381534A1 (en) * 2015-06-29 2016-12-29 Lg Electronics Inc. Mobile terminal
CN104905803A (en) * 2015-07-01 2015-09-16 京东方科技集团股份有限公司 Wearable electronic device and emotion monitoring method thereof
CN105448085A (en) * 2015-12-17 2016-03-30 小米科技有限责任公司 Road crossing prompting method, device, and terminal device
CN105551238A (en) * 2016-02-25 2016-05-04 上海斐讯数据通信技术有限公司 Method for safely crossing road by intelligently detecting traffic lights and mobile terminal
CN105894728A (en) * 2016-05-05 2016-08-24 广东欧珀移动通信有限公司 Danger alarm method and mobile equipment
CN106250149A (en) * 2016-07-29 2016-12-21 乐视控股(北京)有限公司 A kind of based reminding method and terminal
CN106250293A (en) * 2016-08-16 2016-12-21 广东小天才科技有限公司 A kind of dangerous based reminding method based on mobile terminal and device, mobile terminal
CN106303041A (en) * 2016-08-17 2017-01-04 珠海格力电器股份有限公司 A kind of generation method of early warning information and a kind of mobile terminal
US20180114435A1 (en) * 2016-10-26 2018-04-26 Microsoft Technology Licensing, Llc Pedestrian alerts for mobile devices
CN107633679A (en) * 2017-09-25 2018-01-26 广东小天才科技有限公司 Traffic safety prompting method, device, wearable device and storage medium
CN107705550A (en) * 2017-10-24 2018-02-16 努比亚技术有限公司 Traffic security early warning method of traffic control, mobile terminal and computer-readable recording medium
CN107705808A (en) * 2017-11-20 2018-02-16 合光正锦(盘锦)机器人技术有限公司 A kind of Emotion identification method based on facial characteristics and phonetic feature
CN108174026A (en) * 2017-12-25 2018-06-15 珠海格力电器股份有限公司 The safety prompt function method, apparatus and electronic equipment of a kind of mobile terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112885087A (en) * 2021-01-22 2021-06-01 北京嘀嘀无限科技发展有限公司 Method, apparatus, device and medium for determining road condition information and program product

Also Published As

Publication number Publication date
CN111754761B (en) 2022-09-20

Similar Documents

Publication Publication Date Title
KR101566184B1 (en) Navigation system for generating a safety route
CN109389824B (en) Driving risk assessment method and device
CN106816035B (en) Pedestrian-oriented warning method and device
CN106463054B (en) The adaptive alarm management of advanced driving assistance system (ADAS)
CN104854638B (en) System is supported in visuognosis degree estimation unit and safe driving
KR101339736B1 (en) System for warning traffic safety
KR101671703B1 (en) A multi-function signal lamp device and a method for operating thereof
JP6638608B2 (en) Driving support system
CN110522617A (en) Blind person's wisdom glasses
CN111132000B (en) Method and system for sharing positions
JP2003157984A (en) Street lamp control system communicating with position information terminal
CN108282744B (en) Intelligent traffic system based on intelligent lamp post
CN112288601A (en) Scenic spot management method, scenic spot management device and storage medium
CN109451385A (en) A kind of based reminding method and device based on when using earphone
CN110766908A (en) Alarm method, alarm device, electronic equipment and computer readable storage medium
CN113781813A (en) Early warning method, system, device and electronic equipment
CN105078717A (en) Intelligent blind guiding method and equipment
CN111754761B (en) Traffic safety alarm prompting method and electronic equipment
CN110838219A (en) Danger prediction alarm method and device
CN113352989B (en) Intelligent driving safety auxiliary method, product, equipment and medium
CN105547283A (en) Itinerary safety monitoring method and system
CN113516848B (en) Directional tweeter control method and system applied to expressway
CN116312045A (en) Vehicle danger early warning method and device
CN111750848B (en) Building positioning method and electronic equipment
CN111754730B (en) Alarm method caused by dangerous water area and wearable equipment

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