CN106453857B - Information reminding method and terminal - Google Patents

Information reminding method and terminal Download PDF

Info

Publication number
CN106453857B
CN106453857B CN201610849151.3A CN201610849151A CN106453857B CN 106453857 B CN106453857 B CN 106453857B CN 201610849151 A CN201610849151 A CN 201610849151A CN 106453857 B CN106453857 B CN 106453857B
Authority
CN
China
Prior art keywords
time length
road intersection
terminal
current position
distance
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.)
Active
Application number
CN201610849151.3A
Other languages
Chinese (zh)
Other versions
CN106453857A (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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201610849151.3A priority Critical patent/CN106453857B/en
Publication of CN106453857A publication Critical patent/CN106453857A/en
Application granted granted Critical
Publication of CN106453857B publication Critical patent/CN106453857B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72418User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for supporting emergency services
    • H04M1/72421User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for supporting emergency services with automatic activation of emergency service functions, e.g. upon sensing an alarm
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
    • 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/025Services making use of location information using location based information parameters
    • H04W4/026Services making use of location information using location based information parameters using orientation information, e.g. compass
    • 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/025Services making use of location information using location based information parameters
    • H04W4/027Services making use of location information using location based information parameters using movement velocity, acceleration 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Environmental & Geological Engineering (AREA)
  • Traffic Control Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses an information reminding method and a terminal, which are used for reducing the probability of traffic accidents caused by the fact that people cross a road and a driver uses a mobile phone to drive a vehicle and cross the road. In the embodiment of the invention, the terminal determines the road intersection to pass through according to the current position and the moving direction; the terminal judges whether the alarm condition is met or not according to the position relation between the current position and the determined road intersection; and the terminal performs alarm operation after determining that the alarm condition is met. By adopting the method of the embodiment of the invention, the terminal can remind in time after meeting the alarm condition, the probability that the user sends the traffic accident by using the mobile phone on the road can be reduced, and the reminding is carried out before the accident possibly occurs, thereby ensuring the safety of the user.

Description

Information reminding method and terminal
Technical Field
The present invention relates to the field of wireless communication technologies, and in particular, to a method and a terminal for information reminding.
Background
The popularization of a smart phone tablet brings great convenience to the life of people, along with the development of science and technology, the smart phone has more and more powerful functions, people can browse webpages, read news novels, play games and the like by operating the mobile phone, the tablet is also called a main mode that people have boredom, people can use various functions of the mobile phone or the tablet when people wait for buses and sit on subways, and meanwhile, many negative influences such as 'mobile phone diseases', 'excessive dependence', 'low head' and the like are derived.
People begin to spend more and more time on smart phones or flat panels, so that normal life of people is influenced, people easily lose thinking power and ability by excessively depending on the smart phones, and even people who play the smart phones and the flat panels for a long time can hurt human health. When people cross roads and drivers drive to cross roads, traffic accidents are easily caused by using the mobile phone. At present, a reminding scheme is not provided, so that the occurrence probability of traffic accidents caused by the fact that people cross roads and drivers use mobile phones to drive vehicles and cross roads is reduced.
Disclosure of Invention
The invention provides an information reminding method and a terminal, which are used for reducing the probability of traffic accidents caused by the fact that people cross a road and a driver uses a mobile phone to drive a vehicle and cross the road.
The embodiment of the invention provides an information reminding method, which comprises the following steps:
the terminal determines a road intersection to pass through according to the current position and the moving direction;
the terminal judges whether an alarm condition is met or not according to the position relation between the current position and the determined road intersection;
and the terminal performs alarm operation after determining that the alarm condition is met.
The embodiment of the invention provides a terminal for information reminding, which comprises:
the determining module is used for determining a road intersection required to pass through according to the current position and the moving direction;
the judging module is used for judging whether an alarm condition is met according to the position relation between the current position and the determined road intersection;
and the processing module is used for performing alarm operation after the alarm condition is determined to be met.
In the embodiment of the invention, the terminal determines the road intersection to pass through according to the current position and the moving direction; the terminal judges whether the alarm condition is met or not according to the position relation between the current position and the determined road intersection; and the terminal performs alarm operation after determining that the alarm condition is met. By adopting the method of the embodiment of the invention, the terminal can remind in time after meeting the alarm condition, the probability that the user sends the traffic accident by using the mobile phone on the road can be reduced, and the reminding is carried out before the accident possibly occurs, thereby ensuring the safety of the user.
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 description of the embodiments will be briefly introduced 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 to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a schematic flow chart of a method for information reminding according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an interface displaying a default image according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an interface displaying a default image according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an interface displaying a default image according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of an interface for displaying a reminder message according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of an interface for displaying a reminder message according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of an interface for displaying a reminder message according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of an interface for locking a screen and displaying a reminder message according to an embodiment of the present invention;
FIG. 9 is a schematic diagram of an interface for locking a screen and displaying a reminder message according to an embodiment of the present invention;
FIG. 10 is a flow chart illustrating an information alert that a user is a pedestrian according to an embodiment of the present invention;
FIG. 11 is a flow chart illustrating an information alert that a user is a non-pedestrian according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of a terminal for information reminding according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, 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.
As shown in fig. 1, a method for reminding information in an embodiment of the present invention includes:
step 101: the terminal determines a road intersection to pass through according to the current position and the moving direction;
step 102: the terminal judges whether an alarm condition is met or not according to the position relation between the current position and the determined road intersection;
step 103: and the terminal performs alarm operation after determining that the alarm condition is met.
The terminal determines whether the user type meets the warning condition or not according to the position relation between the current position and the road intersection, and determines the user type according to the current position;
the terminal may also determine whether the current terminal is in a use state when the user type is determined, for example, whether the current terminal is in the use state may be detected according to a brightness condition of a screen or a touch screen, and if the current terminal is in the use state, it is determined whether an alarm condition is satisfied, otherwise, the subsequent steps are not performed. The terminal determines the user type and judges whether the current terminal is in the use state, and the determination can be carried out simultaneously or sequentially.
The user types comprise pedestrians and non-pedestrians, wherein the pedestrians refer to users who walk and have low action speed, and the non-pedestrians refer to people in the vehicle;
in practice, there are many ways to determine the type of user, and the following are some:
the method comprises the steps that firstly, after a current position is determined, the terminal judges the size relation between the vertical distance between the current position and a road intersection needing to pass through in the determined moving direction and a distance threshold value; if the vertical distance is less than the distance threshold, the user type is a person in the vehicle, because the vehicle is walking along the road, and the vertical distance on the road is a small and near zero value; if the vertical distance is not larger than the set threshold, the user type is the pedestrian, wherein the distance threshold can be obtained according to simulation and experience values.
And secondly, after the current position is determined, the terminal determines position information in the preset time, such as a moving track or a moving route of the terminal, if the moving track or the moving route is a route parallel to the road, the user type is a person in the vehicle, and if the moving track or the moving route presents a certain angle with the road, the user type is a pedestrian.
And thirdly, the terminal can acquire the moving speed of the terminal, the user type is judged according to the moving speed, if the moving speed is greater than the set speed, the user type is a person in the vehicle, otherwise, the user type is a pedestrian, and the set speed can be set according to simulation and experience values.
It should be noted that there are many ways to determine the type of user, and the above are only examples. In the implementation, the determination may be performed in a manner of combining the above manners, or may be performed in another manner different from the above manner, but any manner that can determine the type of the user is applicable to the embodiment of the present invention.
And after the user type is determined, the terminal judges whether the alarm condition corresponding to the determined user type is met or not according to the position relation between the current position and the determined road intersection.
If the user type is a pedestrian; the terminal judges whether the alarm condition corresponding to the determined user type is met or not according to the distance between the current position and the road intersection and the time length of the traffic light of the road intersection, wherein the traffic light of the road intersection is the traffic light which needs to pass through in the moving direction;
if the user type is a non-pedestrian; the terminal judges whether the alarm condition corresponding to the determined user type is met or not according to the distance between the current position and the road intersection; or the terminal judges whether the alarm condition corresponding to the determined user type is met or not according to the distance between the current position and the road intersection, the moving speed of the terminal and the time length of the traffic light of the road intersection; the traffic lights at the road intersection are traffic lights which need to pass through in the moving direction.
It should be noted that, the determination of the remaining time duration of the traffic lights may obtain the information of the remaining time duration of the traffic lights of the current traffic bureau through the network.
Wherein, the corresponding alarm condition when the user type is pedestrian includes but is not limited to part or all of the following:
the method comprises the following steps that firstly, the terminal determines that the distance between the current position and the road intersection is smaller than a first distance threshold value, and the red light ending time length of the road intersection is not larger than a third time length;
it should be noted that the distance between the current position and the road intersection may be a vertical distance between the current position and the road center line, or a distance between the current position and a side line of the road intersection close to the current position, or a distance between the current position and a zebra crossing center of the road intersection, and there are many ways to determine the distance, and the above-mentioned way to determine the distance between the current position and the road intersection is only an example, and all the ways to determine the distance are applicable to the embodiments of the present invention.
For example, since the user for which the condition is directed is a pedestrian, the first distance threshold of the distance between the current position and the center of the zebra crossing at the road intersection may be set to be 10 meters, and the third time duration is 15 seconds, and if the distance between the current position of the terminal and the center of the zebra crossing at the road intersection is 7 meters, and the red light end time duration at the road intersection is 12 seconds, it is determined that the first alarm condition is satisfied at this time.
The terminal determines that the distance between the current position and the road intersection is smaller than a first distance threshold value, and the green light ending time length of the road intersection is not longer than a fourth time length;
for example, since the user for which the condition is directed is a pedestrian, the first distance threshold of the distance between the current position and the center of the zebra crossing at the intersection may be set to be 10 meters, and the fourth time duration is 15 seconds, and if the distance between the current position of the terminal and the center of the zebra crossing at the intersection is 7 meters, and the end time duration of the green light at the intersection is 12 seconds, it is determined that the alarm condition two is satisfied at this time.
If the distance between the current position and the road intersection is smaller than a first distance threshold value, the red light ending time length is longer than a third time length and shorter than a first time length;
for example, since the user for which the condition is directed is a pedestrian, the first distance threshold of the distance between the current position and the center of the zebra crossing at the road intersection may be set to be 10 meters, the third time duration is 15 seconds, the first time duration is 20 seconds, and if the distance between the current position of the terminal and the center of the zebra crossing at the road intersection is 7 meters, and the red light end time duration at the road intersection is 18 seconds, it is determined that the alarm condition three is satisfied at this time.
If the distance between the current position and the road intersection is smaller than a first distance threshold value, the green light ending time length is longer than a fourth time length and shorter than a second time length;
for example, since the user for which the condition is directed is a pedestrian, the first distance threshold of the distance between the current position and the center of the zebra crossing at the road intersection may be set to be 10 meters, the fourth time duration is 15 seconds, the second time duration is 25 seconds, and if the distance between the current position of the terminal and the center of the zebra crossing at the road intersection is 7 meters, and the end time duration of the green light at the road intersection is 20 seconds, it is determined that the alarm condition four is satisfied at this time.
Wherein, the corresponding alarm condition when the user type is non-pedestrian includes but is not limited to part or all of the following:
the method comprises the following steps that firstly, the terminal determines that the distance between the current position and the road intersection is larger than a second distance threshold value, and the moving speed of the terminal is smaller than a set safe speed;
it should be noted that the distance between the current position and the road intersection may be a vertical distance between the current position and the road center line, or a distance between the current position and a side line of the road intersection close to the current position, or a distance between the current position and a zebra crossing center of the road intersection, and there are many ways to determine the distance, and the above-mentioned ways to determine the distance between the current position and the road intersection are only examples, and all the ways to determine the distance are applicable to the embodiments of the present invention.
For example, since the user for which the condition is applied is a non-pedestrian, the second distance threshold of the distance between the current position and the center of the zebra crossing at the intersection may be set to be 20 meters, and the set safe speed is 50 kilometers per hour, and if the distance between the current position of the terminal and the center of the zebra crossing at the intersection is 25 meters, and the moving speed of the terminal is 45 kilometers per hour, it is determined that the first alarm condition is satisfied at this time.
The terminal determines that the distance between the current position and the road intersection is larger than a second distance threshold value, and the moving speed of the terminal is not smaller than the set safe speed;
for example, since the user for which the condition is applied is a non-pedestrian, the second distance threshold of the distance between the current position and the center of the zebra crossing at the intersection may be set to be 20 meters, and the set safe speed is 50 kilometers per hour, and if the distance between the current position of the terminal and the center of the zebra crossing at the intersection is 25 meters, and the moving speed of the terminal is 55 kilometers per hour, it is determined that the first alarm condition is satisfied at this time.
The terminal determines that the distance between the current position and the road junction is not greater than a second distance threshold, the moving speed of the terminal is less than the set safe speed, and the red light ending time length of the road junction is greater than a third time length and less than a first time length;
for example, since the user for which the condition is specific is a non-pedestrian, the second distance threshold of the distance between the current position and the center of the zebra crossing at the intersection may be set to be 20 meters, the set safe speed is 50 kilometers per hour, the third time duration is 15 seconds, and the first time duration is 20 seconds, and if the distance between the current position of the terminal and the center of the zebra crossing at the intersection is 18 meters, the moving speed of the terminal is 45 kilometers per hour, and the red light end time duration at the intersection is 18 seconds, it is considered that the third alarm condition is satisfied at this time.
The terminal determines that the distance between the current position and the road intersection is not greater than a second distance threshold, the moving speed of the terminal is less than the set safe speed, and the red light ending duration of the road intersection is not greater than a third duration;
for example, since the user for which the condition is directed is a non-pedestrian, the second distance threshold of the distance between the current position and the center of the zebra crossing at the intersection may be set to be 20 meters, the set safe speed is 50 kilometers per hour, the third time duration is 15 seconds, and if the distance between the current position of the terminal and the center of the zebra crossing at the intersection is 18 meters, the moving speed of the terminal is 45 kilometers per hour, and the red light end time duration at the intersection is 10 seconds, it is considered that the alarm condition four is satisfied at this time.
The terminal determines that the distance between the current position and the road intersection is not greater than a second distance threshold, the moving speed of the terminal is less than the set safe speed, and the green light ending time length of the road intersection is greater than the fourth time length and less than the second time length;
for example, since the user for which the condition is directed is a non-pedestrian, the second distance threshold of the distance between the current position and the center of the zebra crossing at the intersection may be set to be 20 meters, the set safe speed is 50 kilometers per hour, the fourth time duration is 15 seconds, the second time duration is 25 seconds, if the distance between the current position of the terminal and the center of the zebra crossing at the intersection is 18 meters, the moving speed of the terminal is 45 kilometers per hour, and the end time duration of the green light at the intersection is 20 seconds, it is considered that the alarm condition is five at this time.
The terminal determines that the distance between the current position and the road intersection is not greater than a second distance threshold, the moving speed of the terminal is less than the set safe speed, and the green light ending duration of the road intersection is not greater than a fourth duration;
for example, since the user for which the condition is directed is a non-pedestrian, the second distance threshold of the distance between the current position and the center of the zebra crossing at the intersection may be set to be 20 meters, the set safe speed is 50 kilometers per hour, and the fourth time is 15 seconds, if the distance between the current position of the terminal and the center of the zebra crossing at the intersection is 18 meters, the moving speed of the terminal is 45 kilometers per hour, and the end time of the green light at the intersection is 12 seconds, it is considered that the alarm condition six is satisfied at this time.
The terminal determines that the distance between the current position and the road junction is not greater than a second distance threshold, the moving speed of the terminal is not less than the set safe speed, and the red light ending time length of the road junction is greater than a third time length and less than a first time length;
for example, since the user for which the condition is specific is a non-pedestrian, the second distance threshold of the distance between the current position and the center of the zebra crossing at the intersection may be set to be 20 meters, the set safe speed is 50 kilometers per hour, the third time duration is 15 seconds, and the first time duration is 20 seconds, and if the distance between the current position of the terminal and the center of the zebra crossing at the intersection is 18 meters, the moving speed of the terminal is 55 kilometers per hour, and the red light end time duration at the intersection is 18 seconds, it is considered that the alarm condition seven is satisfied at this time.
The terminal determines that the distance between the current position and the road intersection is not greater than a second distance threshold, the moving speed of the terminal is not less than the set safe speed, and the red light ending duration of the road intersection is not greater than a third duration;
for example, since the user for which the condition is directed is a non-pedestrian, the second distance threshold of the distance between the current position and the center of the zebra crossing at the intersection may be set to be 20 meters, the set safe speed is 50 kilometers per hour, the third time duration is 15 seconds, and if the distance between the current position of the terminal and the center of the zebra crossing at the intersection is 18 meters, the moving speed of the terminal is 55 kilometers per hour, and the red light end time duration at the intersection is 10 seconds, it is considered that the alarm condition eight is satisfied at this time.
The terminal determines that the distance between the current position and the road intersection is not greater than a second distance threshold, the moving speed of the terminal is not less than the set safe speed, and the green light ending time length of the road intersection is greater than the fourth time length and less than the second time length;
for example, since the user for which the condition is directed is a non-pedestrian, the second distance threshold of the distance between the current position and the center of the zebra crossing at the intersection may be set to be 20 meters, the set safe speed is 50 kilometers per hour, the fourth time duration is 15 seconds, the second time duration is 25 seconds, and if the distance between the current position of the terminal and the center of the zebra crossing at the intersection is 18 meters, the moving speed of the terminal is 55 kilometers per hour, and the end time duration of the green light at the intersection is 20 seconds, it is considered that the alarm condition nine is satisfied at this time.
If the terminal determines that the distance between the current position and the road intersection is not greater than a second distance threshold, the moving speed of the terminal is not less than the set safe speed, and the green light ending duration of the road intersection is not greater than a fourth duration;
for example, since the user for which the condition is directed is a non-pedestrian, the second distance threshold of the distance between the current position and the center of the zebra crossing at the intersection may be set to be 20 meters, the set safe speed is 50 kilometers per hour, and the fourth time is 15 seconds, if the distance between the current position of the terminal and the center of the zebra crossing at the intersection is 18 meters, the moving speed of the terminal is 55 kilometers per hour, and the end time of the green light at the intersection is 12 seconds, it is considered that the alarm condition is met at this time.
After determining that the alarm condition is satisfied, the alarm operation includes, but is not limited to, some or all of the following:
firstly, a terminal displays a preset image;
it should be noted that the terminal may display the preset image at a certain angle, for example, as shown in fig. 2, the terminal may display the preset image 202 to block only the upper portion of the screen 201, or as shown in fig. 3, the terminal may display the preset image 302 to block only the lower portion of the screen 301, or as shown in fig. 4, the terminal may display the preset image 402 to block four corners of the screen 401, and there are many ways to display the preset image, and all the ways to display the preset image are suitable for the embodiment of the present invention.
For example, when the user is a non-pedestrian, the second distance threshold of the distance between the current position and the center of the zebra crossing at the road intersection is set to be 20 meters, the set safe speed is 50 kilometers per hour, if the distance between the current position of the terminal and the center of the zebra crossing at the road intersection is 25 meters, and the moving speed of the terminal is 45 kilometers per hour, the terminal is considered to meet the alarm condition, and displays the upper part of the preset image shielding screen.
Mode two, the terminal locks the screen;
for example, when the user is a non-pedestrian, the second distance threshold of the distance between the current position and the center of the zebra crossing at the road intersection is set to be 20 meters, the set safe speed is 50 kilometers per hour, if the distance between the current position of the terminal and the center of the zebra crossing at the road intersection is 25 meters, and the moving speed of the terminal is 55 kilometers per hour, it is considered that the alarm condition is met at this time, the terminal locks the screen, and the user cannot operate the terminal.
And thirdly, displaying the reminding information by the terminal:
for example, when the user is a non-pedestrian, the second distance threshold of the distance between the current position and the center of the zebra crossing at the road intersection is set to be 20 meters, the set safety speed is 50 kilometers per hour, if the distance between the current position of the terminal and the center of the zebra crossing at the road intersection is 25 meters, and the moving speed of the terminal is 45 kilometers per hour, the terminal considers that the alarm condition is met at the moment, as shown in fig. 5, the terminal displays a reminding message to prompt that the speed is 45 kilometers per hour at the moment, and the user is reminded to pay attention to safety;
if the user is a pedestrian, the first distance threshold of the distance between the current position and the center of the zebra crossing of the road intersection is 10 meters, the third time duration is 15 seconds, the first time duration is 20 seconds, if the distance between the current position of the terminal and the center of the zebra crossing of the road intersection is 7 meters, and the red light ending time duration of the road intersection is 18 seconds, the warning condition is considered to be met at the moment, as shown in fig. 6, the terminal displays a reminding message to prompt that the remaining time of the red light is 18 seconds, and the user is required to pay attention to safety.
If the user is a pedestrian, the first distance threshold of the distance between the current position and the center of the zebra crossing of the road intersection is 10 meters, the fourth time is 15 seconds, the second time is 25 seconds, if the distance between the current position of the terminal and the center of the zebra crossing of the road intersection is 7 meters, and the end time of the green light of the road intersection is 20 seconds, the warning condition is considered to be met at the moment, as shown in fig. 7, the terminal displays a reminding message to prompt that the remaining time of the green light is 20 seconds, and the user is required to pay attention to safety.
The three modes can be combined in pairs for reminding, a mode of locking a screen and displaying reminding information by a terminal or a mode of displaying a preset image and displaying the reminding information is adopted;
for example, when the user is a non-pedestrian, the second distance threshold of the distance between the current position and the center of the zebra crossing at the road intersection is set to be 20 meters, the set safe speed is 50 kilometers per hour, if the distance between the current position of the terminal and the center of the zebra crossing at the road intersection is 25 meters, and the moving speed of the terminal is 55 kilometers per hour, the terminal considers that the alarm condition is met at the moment, as shown in fig. 8, the terminal locks the screen, the user cannot operate, the terminal displays the reminding information to prompt that the speed is over at the moment, and the user is requested to slow down;
if the user is a pedestrian, the first distance threshold of the distance between the current position and the center of the zebra crossing of the road intersection is 10 meters, the third time duration is 15 seconds, if the distance between the current position of the terminal and the center of the zebra crossing of the road intersection is 7 meters, the red light end time duration of the road intersection is 12 seconds, the alarm condition is considered to be met at the moment, and as shown in fig. 9, the terminal locks the screen, displays a reminding message and prompts to put down the mobile phone temporarily for your safety.
It should be noted that there are many alarm operations, which are not limited to the above three manners, and the terminal may vibrate to alarm, the terminal may ring to alarm, or the voice prompt may be used to alarm, which are all exemplified above, and all the alarm operations are applicable to the embodiment of the present invention.
When the terminal displays the preset image, the preset image can be clicked after a certain time to remove the shielding effect, or the shielding can be automatically removed after the set time, the shielding removing mode is exemplified, and all modes capable of removing the image shielding screen are suitable for the embodiment of the invention.
When the terminal displays the reminding information, the information content can only remind the user of safety, and can also remind the remaining time condition and the speed condition of the traffic light in the corresponding alarm condition; the information of the time condition and the speed condition of the traffic light can be reminded in one interface, and can also be displayed alternately, the information reminding mode and the content are various, and all the reminding modes and the contents are suitable for the embodiment of the invention.
Because there are many alarm conditions and various alarm operations, there are many corresponding relationships between them, and only three of them are listed below, and all combinations of alarm conditions and alarm operations using the embodiments of the present invention all belong to the protection scope of the present invention:
firstly, the user type is pedestrian:
the method comprises the following steps of combining a first mode, namely a pedestrian alarm condition, with an alarm operation mode;
1. combining the first warning condition of the pedestrian with the second warning operation mode and the third warning operation mode;
and if the terminal determines that the distance between the current position and the road intersection is smaller than a first distance threshold value and the red light end time length of the road intersection is not greater than a third time length, the corresponding warning operation is to lock the screen for the terminal and remind the user to put down the mobile phone for safety.
2. Combining the first warning condition of the pedestrian with the third warning operation mode;
and if the terminal determines that the distance between the current position and the road intersection is smaller than a first distance threshold value and the red light end time length of the road intersection is not greater than a third time length, the corresponding alarm operation is to remind the user to put down the mobile phone for safety.
3. Combining the first warning condition of the pedestrian with the second warning operation mode;
and if the terminal determines that the distance between the current position and the road intersection is smaller than a first distance threshold value and the red light ending time length of the road intersection is not greater than a third time length, the corresponding warning operation is to lock the screen for the terminal.
Combining a mode II, a pedestrian alarm condition II and an alarm operation mode;
1. combining the pedestrian alarm condition II with the alarm operation mode II and the alarm operation mode III;
and if the terminal determines that the distance between the current position and the road intersection is smaller than a first distance threshold value and the green light end time length of the road intersection is not longer than a fourth time length, the corresponding alarm operation is to lock the screen for the terminal and remind the user to put down the mobile phone for safety.
2. Combining the pedestrian alarm condition II with the alarm operation mode III;
and if the terminal determines that the distance between the current position and the road intersection is smaller than a first distance threshold value and the green light ending time length of the road intersection is not longer than a fourth time length, the corresponding warning operation is that the terminal reminds the user to put down the mobile phone for safety.
3. Combining the pedestrian alarm condition II with the alarm operation mode II;
and if the terminal determines that the distance between the current position and the road intersection is smaller than a first distance threshold value and the green light ending time length of the road intersection is not greater than a fourth time length, the corresponding warning operation is to lock the screen for the terminal.
Combining a mode III, an alarm condition III of the pedestrian and an alarm operation mode;
1. combining the pedestrian alarm condition III with the alarm operation mode I and the alarm operation mode III;
and if the terminal determines that the distance between the current position and the road intersection is smaller than a first distance threshold value and the red light ending time length is longer than a third time length and shorter than a first time length, the corresponding warning operation is used for displaying a preset image on the terminal, reminding the current red light ending time length and asking the user to pay attention to safety.
2. Combining the third warning condition of the pedestrian with the third warning operation mode;
and if the terminal determines that the distance between the current position and the road intersection is smaller than a first distance threshold value and the red light ending time length is longer than a third time length and shorter than a first time length, the corresponding warning operation is used for reminding the terminal of the current red light ending time length and asking the user to pay attention to safety.
3. Combining the pedestrian alarm condition III with the alarm operation mode I and the alarm operation mode III;
and if the terminal determines that the distance between the current position and the road intersection is smaller than a first distance threshold value and the red light ending time length is longer than a third time length and shorter than a first time length, the corresponding warning operation is used for displaying a preset image on the terminal, reminding the current red light ending time length and asking the user to pay attention to safety.
Combining the mode IV, the pedestrian alarm condition IV and the alarm operation mode;
1. combining the pedestrian alarm condition four with the alarm operation mode one and the alarm operation mode three;
and if the terminal determines that the distance between the current position and the road intersection is less than a first distance threshold value and the green light ending time length is not more than the fourth time length and less than the second time length, the corresponding warning operation is used for displaying a preset image on the terminal, reminding the current green light ending time length and asking the user to pay attention to safety.
2. Combining the pedestrian alarm condition four with the alarm operation mode three;
and if the terminal determines that the distance between the current position and the road intersection is smaller than a first distance threshold value and the green light ending time length is not longer than a fourth time length and is smaller than a second time length, the corresponding warning operation is used for reminding the terminal of the current green light ending time length, and the user is reminded of safety.
3. Combining the pedestrian alarm condition four with the alarm operation in a first mode and a third mode;
and if the terminal determines that the distance between the current position and the road intersection is less than a first distance threshold value and the green light ending time length is not more than the fourth time length and less than the second time length, the corresponding warning operation is used for displaying a preset image on the terminal, reminding the current green light ending time length and asking the user to pay attention to safety.
And secondly, the user type is a non-pedestrian.
Combining a first mode, a first non-pedestrian alarm condition and an alarm operation mode;
1. combining the first warning condition of the non-pedestrian with the first warning operation mode and the third warning operation mode;
and if the terminal determines that the distance between the current position and the road intersection is greater than a second distance threshold value and the moving speed of the terminal is less than the set safety speed, the corresponding alarm operation displays a preset image for the terminal, and reminds the current moving speed to call the user to pay attention to safety.
2. Combining the first warning condition of the non-pedestrian with a third warning operation mode;
and if the terminal determines that the distance between the current position and the road intersection is greater than a second distance threshold value and the moving speed of the terminal is less than the set safe speed, the corresponding alarm operation is that the terminal reminds the current moving speed and asks the user to pay attention to the safety.
3. Combining the first alarm condition of the non-pedestrian with the first alarm operation mode and the third alarm operation mode;
and if the terminal determines that the distance between the current position and the road intersection is greater than a second distance threshold value and the moving speed of the terminal is less than the set safety speed, the corresponding alarm operation displays a preset image for the terminal, and reminds the current moving speed to call the user to pay attention to safety.
Combining a mode II, a non-pedestrian alarm condition II and an alarm operation mode;
1. combining the non-pedestrian alarm condition II with the alarm operation mode II and the alarm operation mode III;
and if the terminal determines that the distance between the current position and the road intersection is greater than a second distance threshold value and the moving speed of the terminal is not less than the set safety speed, the corresponding alarm operation is to lock the screen of the terminal, remind the user of overspeed and call the user to pay attention to safety.
2. Combining the non-pedestrian alarm condition II with the alarm operation mode III;
and if the terminal determines that the distance between the current position and the road intersection is greater than a second distance threshold value and the moving speed of the terminal is not less than the set safety speed, the corresponding warning operation is that the terminal reminds the user of overspeed and asks the user to pay attention to safety.
3. Combining the non-pedestrian alarm condition II with the alarm operation mode II and the alarm operation mode III;
and if the terminal determines that the distance between the current position and the road intersection is greater than a second distance threshold value and the moving speed of the terminal is not less than the set safety speed, the corresponding alarm operation is to lock the screen of the terminal, remind the user of overspeed and call the user to pay attention to safety.
Combining a mode III, a non-pedestrian alarm condition III and an alarm operation mode;
1. combining a non-pedestrian alarm condition III with an alarm operation mode I and a non-pedestrian alarm operation mode III;
and if the terminal determines that the distance between the current position and the road intersection is not greater than a second distance threshold value, the moving speed of the terminal is less than the set safe speed, and the red light ending time length of the road intersection is greater than a third time length and less than a first time length, the corresponding warning operation is that the terminal displays a preset image, and alternately reminds the current moving speed and the red light time length to call the user to pay attention to safety.
2. Combining the third alarm condition of the non-pedestrian with the third alarm operation mode;
if the terminal determines that the distance between the current position and the road intersection is not greater than a second distance threshold value, the moving speed of the terminal is less than the set safe speed, and the red light ending time length of the road intersection is greater than a third time length and less than a first time length, the corresponding alarm operation is that the terminal alternately reminds the current moving speed and the red light time length, and a user is reminded of safety.
3. Combining a non-pedestrian alarm condition III with an alarm operation mode I and a non-pedestrian alarm operation mode III;
and if the terminal determines that the distance between the current position and the road intersection is not greater than a second distance threshold value, the moving speed of the terminal is less than the set safe speed, and the red light ending time length of the road intersection is greater than a third time length and less than a first time length, the corresponding warning operation is to display a preset image for the terminal, remind the current moving speed and the red light time length, and ask the user to pay attention to safety.
Combining the mode IV, the warning condition IV of the non-pedestrian and the warning operation mode;
1. combining the warning condition four of the non-pedestrian with the warning operation mode two and the warning operation mode three;
if the terminal determines that the distance between the current position and the road intersection is not greater than a second distance threshold value, the moving speed of the terminal is less than the set safe speed, and the red light ending duration of the road intersection is not greater than a third duration, the corresponding alarm operation is that the terminal locks the screen, and reminds the user of putting down the mobile phone when the red light ending duration is reached.
2. Combining the warning condition four of the non-pedestrian with a warning operation mode three;
and if the terminal determines that the distance between the current position and the road intersection is not greater than a second distance threshold, the moving speed of the terminal is less than the set safe speed, and the red light ending duration of the road intersection is not greater than a third duration, the corresponding alarm operation is that the terminal reminds the terminal of the red light ending duration, and a user is asked to put down the mobile phone.
3. Combining the warning condition four of the non-pedestrian with the warning operation mode two;
and if the terminal determines that the distance between the current position and the road intersection is not greater than a second distance threshold value, the moving speed of the terminal is less than the set safe speed, and the red light ending time length of the road intersection is not greater than a third time length, the corresponding warning operation is that the screen is locked by the terminal.
Combining a mode five, a non-pedestrian alarm condition five and an alarm operation mode;
1. combining the warning condition five of the non-pedestrian with a warning operation mode I and a warning operation mode III;
and if the terminal determines that the distance between the current position and the road intersection is not greater than a second distance threshold value, the moving speed of the terminal is less than the set safe speed, and the green light ending time length of the road intersection is greater than the fourth time length and less than the second time length, the corresponding warning operation is to display a preset image for the terminal, alternately remind the current moving speed and the green light time length, and ask the user to pay attention to safety.
2. Combining the alarm condition five of the non-pedestrian with an alarm operation mode three;
if the terminal determines that the distance between the current position and the road intersection is not greater than a second distance threshold value, the moving speed of the terminal is less than the set safe speed, and the green light ending duration of the road intersection is greater than a fourth duration and less than a second duration, then the corresponding alarm operation is that the terminal reminds the current moving speed and the green light duration, and the user is reminded of safety.
3. Combining the warning condition five of the non-pedestrian with a warning operation mode I and a warning operation mode III;
and if the terminal determines that the distance between the current position and the road intersection is not greater than a second distance threshold value, the moving speed of the terminal is less than the set safe speed, and the green light ending time length of the road intersection is greater than the fourth time length and less than the second time length, the corresponding warning operation is to display a preset image for the terminal, remind the current moving speed and the green light time length, and ask the user to pay attention to safety.
Combining a mode six, a non-pedestrian alarm condition six and an alarm operation mode;
1. combining the non-pedestrian alarm condition six with the alarm operation mode two and the alarm operation mode three;
if the terminal determines that the distance between the current position and the road intersection is not greater than a second distance threshold value, the moving speed of the terminal is less than the set safe speed, and the green light ending duration of the road intersection is not greater than a fourth duration, the corresponding alarm operation is that the terminal locks the screen, and reminds the user of putting down the mobile phone when the green light ending duration is reached.
2. Combining the warning condition six of the non-pedestrian with a warning operation mode three;
if the terminal determines that the distance between the current position and the road intersection is not greater than a second distance threshold, the moving speed of the terminal is less than the set safe speed, and the green light ending duration of the road intersection is not greater than a fourth duration, the corresponding warning operation is that the terminal reminds the terminal of the green light ending duration, and a user is asked to put down a mobile phone.
3. Combining the warning condition six of the non-pedestrian with the warning operation mode two;
and if the terminal determines that the distance between the current position and the road intersection is not greater than a second distance threshold value, the moving speed of the terminal is less than the set safe speed, and the green light ending time length of the road intersection is not greater than a fourth time length, the corresponding alarm operation is that the screen is locked by the terminal.
The method seven, the non-pedestrian alarm condition seven and the alarm operation are combined;
1. combining the non-pedestrian alarm condition seven with the alarm operation mode two and the alarm operation mode three;
and if the terminal determines that the distance between the current position and the road intersection is not greater than a second distance threshold value, the moving speed of the terminal is not less than the set safe speed, and the red light ending time length of the road intersection is greater than a third time length and less than a first time length, the corresponding alarm operation is to lock the screen for the terminal, remind the user of overspeed and ask the user to pay attention to safety.
2. Combining a non-pedestrian alarm condition seven with an alarm operation mode three;
and if the terminal determines that the distance between the current position and the road intersection is not greater than a second distance threshold value, the moving speed of the terminal is not less than the set safety speed, and the red light ending time length of the road intersection is greater than a third time length and less than a first time length, the corresponding warning operation is that the terminal reminds the user of overspeed and asks the user to pay attention to safety.
3. Combining a non-pedestrian alarm condition seven with an operation mode two;
and if the terminal determines that the distance between the current position and the road intersection is not greater than a second distance threshold value, the moving speed of the terminal is not less than the set safe speed, and the red light ending time length of the road intersection is greater than a third time length and less than a first time length, the corresponding alarm operation is that the screen is locked by the terminal.
Combining the mode eight, the warning condition eight of the non-pedestrian and the warning operation mode;
1. combining the alarm condition eight of the non-pedestrian with the alarm operation mode two and the alarm operation mode three;
if the terminal determines that the distance between the current position and the road intersection is not greater than a second distance threshold value, the moving speed of the terminal is not less than the set safe speed, and the red light ending duration of the road intersection is not greater than a third duration, the corresponding alarm operation is that the screen is locked by the terminal, and the user is alternately reminded of overspeed and red light ending duration, so that the user is reminded of safety.
2. Combining the alarm condition eight of the non-pedestrian with the alarm operation mode three;
if the terminal determines that the distance between the current position and the road intersection is not greater than a second distance threshold value, the moving speed of the terminal is not less than the set safety speed, and the red light ending duration of the road intersection is not greater than a third duration, corresponding warning operation is performed in such a way that the terminal reminds the user of overspeed and the red light ending duration, and the user is reminded of safety.
3. Combining the alarm condition eight of the non-pedestrian with the alarm operation mode two;
and if the terminal determines that the distance between the current position and the road intersection is not greater than a second distance threshold value, the moving speed of the terminal is not less than the set safe speed, and the red light ending time length of the road intersection is not greater than a third time length, the corresponding alarm operation is that the screen is locked by the terminal.
The ninth mode, the ninth alarm condition of the non-pedestrian and the combination of the alarm operation modes;
1. combining the non-pedestrian alarm condition nine with the alarm operation mode two and the alarm operation mode three;
and if the terminal determines that the distance between the current position and the road intersection is not greater than a second distance threshold value, the moving speed of the terminal is not less than the set safe speed, and the green light ending time length of the road intersection is greater than the fourth time length and less than the second time length, the corresponding alarm operation is to lock the screen for the terminal, remind the user of overspeed and ask the user to pay attention to safety.
2. Combining the non-pedestrian alarm condition nine with the alarm operation mode;
and if the terminal determines that the distance between the current position and the road intersection is not greater than a second distance threshold value, the moving speed of the terminal is not less than the set safety speed, and the green light ending time length of the road intersection is greater than the fourth time length and is less than the second time length, the corresponding warning operation is that the terminal reminds the user of overspeed and asks the user to pay attention to safety.
3. Combining the non-pedestrian alarm condition nine with the alarm operation mode two;
and if the terminal determines that the distance between the current position and the road intersection is not greater than a second distance threshold value, the moving speed of the terminal is not less than the set safe speed, and the green light ending time length of the road intersection is greater than the fourth time length and less than the second time length, the corresponding alarm operation is that the screen is locked by the terminal.
Combining a mode ten, a non-pedestrian alarm condition ten and an alarm operation mode;
1. combining the warning condition ten of the non-pedestrian with a warning operation mode two and a warning operation mode three;
if the terminal determines that the distance between the current position and the road intersection is not greater than a second distance threshold value, the moving speed of the terminal is not less than the set safe speed, and the green light ending duration of the road intersection is not greater than a fourth duration, the corresponding alarm operation is that the screen is locked by the terminal, and the user is alternately reminded of overspeed and the green light ending duration, so that the user is reminded of safety.
2. Combining the ten warning conditions of the non-pedestrian with the three warning operation modes;
if the terminal determines that the distance between the current position and the road intersection is not greater than a second distance threshold, the moving speed of the terminal is not less than the set safety speed, and the green light ending duration of the road intersection is not greater than a fourth duration, corresponding warning operation is that the terminal reminds the user of overspeed and the green light ending duration, and the user is reminded of safety.
3. Combining the warning condition ten of the non-pedestrian with a warning operation mode II;
and if the terminal determines that the distance between the current position and the road intersection is not greater than a second distance threshold value, the moving speed of the terminal is not less than the set safe speed, and the green light ending time length of the road intersection is not greater than a fourth time length, the corresponding alarm operation is that the screen is locked by the terminal.
If the terminal locks the screen during the alarm operation, the terminal can unlock according to the following two modes:
in the first mode, after the distance between the current position and the last road intersection passing through in the moving direction is greater than a third distance threshold, the screen is unlocked;
it should be noted that the distance between the current position and the last intersection passing through in the moving direction may be a vertical distance between the current position and a last road center passing through in the moving direction, may also be a distance between the current position and a side line of the last intersection passing through in the moving direction, which is close to the current position, and may also be a distance between the current position and a zebra crossing center of the last intersection passing through in the moving direction.
For example, if the user is a pedestrian, the third threshold of the distance between the current position and the center of the zebra crossing at the road intersection of the previous road intersection passing in the moving direction is 10 meters, and the distance between the current position and the center of the zebra crossing at the road intersection of the previous road intersection passing in the moving direction is 11 meters, the terminal unlocks the screen at this time.
In the second mode, the distance between the current position of the terminal and the last road intersection passing through in the moving direction is greater than a third distance threshold, the moving speed is less than the set safe speed, and if the terminal locks the screen at the moment, the terminal unlocks the screen;
for example, the user is a non-pedestrian, the third threshold of the distance between the current position and the center of the zebra crossing at the road intersection of the previous road intersection passing in the moving direction is 10 meters, the set safe speed is 50 kilometers per hour, if the third threshold of the distance between the current position and the center of the zebra crossing at the road intersection of the previous road intersection passing in the moving direction is 12 meters, the moving speed of the terminal is 45 kilometers per hour, and if the terminal locks the screen at the moment, the terminal unlocks the screen.
The terminal can select different unlocking modes, for example, all unlocking modes are unlocked only by the first mode, and also can be unlocked only by the second mode, or the first mode unlocking corresponding to the pedestrian type and the second mode unlocking corresponding to the non-pedestrian type.
As shown in fig. 10, the information reminding process in the embodiment of the present invention is schematically illustrated by taking a traffic light at a road intersection where the user type is a pedestrian as an example;
step 1001: the terminal determines a road intersection to pass through according to the current position and the moving direction;
step 1002: the terminal determines that the terminal is in use;
step 1003: the terminal judges whether the distance between the current position and the road intersection is smaller than a first distance threshold value, if so, the step is executed, otherwise, the step 1002 is executed;
step 1004: the terminal judges whether the red light ending time length is less than a first time length, if so, step 1005 is executed, otherwise, step 1008 is executed;
step 1005: the terminal judges whether the red light ending time length is greater than a third time length, if so, the step 1006 is executed, otherwise, the step 1007 is executed;
step 1006: the terminal displays a preset image and reminds the information of the duration of the red light ending;
step 1007: the terminal locks the screen and reminds the user of safety;
step 1008: the terminal judges whether the green light ending time length is less than the second time length, if yes, the step is executed, otherwise, the step 1002 is executed;
step 1009: the terminal judges whether the ending time length of the green light is longer than the fourth time length, if so, the step is executed, otherwise, the step 1011 is executed;
step 1010: the terminal displays a preset image and reminds the information of the ending time length of the green light;
step 1011: and the terminal locks the screen and reminds the user of safety.
The process of reminding the traffic light of the pedestrian road intersection as the green light information is similar to the above process, and is not described again here.
As shown in fig. 11, the information reminding process in the embodiment of the present invention is schematically illustrated by taking a traffic light at a road intersection where the user type is non-pedestrian as a red light;
step 1101: the terminal determines a road intersection to pass through according to the current position and the moving direction;
step 1102: the terminal determines that the terminal is in use;
step 1103: the terminal judges whether the distance between the current position and the road intersection is larger than a second distance threshold value, if yes, 1104, the step is executed, and if not, 1107 is executed;
step 1104: the terminal judges that the moving speed is less than the set safe speed, if yes, step 1105 is executed, otherwise step 1106 is executed;
step 1105: the terminal displays a preset image and speed reminding information;
step 1106: the terminal locks the screen and reminds the user of speeding and paying attention to safety;
step 1107: the terminal judges that the moving speed is less than the set safe speed, if yes, step 1108 is executed, otherwise step 1116 is executed;
step 1108: the terminal judges whether the red light ending time length is less than a first time length, if so, the step 1109 is executed, otherwise, the step 1102 is executed;
step 1109: the terminal judges whether the red light ending time length is greater than a third time length, if so, step 1110 is executed, otherwise, step 1111 is executed;
step 1110: the terminal displays a preset image and displays the red light ending time length and speed information;
step 1111: the terminal locks the screen and displays the red light ending time length and speed information to remind a user of safety;
step 1112: the terminal judges whether the red light ending time length is less than a first time length, if so, the step 1113 is executed, otherwise, the step 1102 is executed;
step 1113: the terminal judges whether the red light ending time length is greater than a third time length, if so, the step 1114 is executed, otherwise, the step 1115 is executed;
step 1114: the terminal locks a screen and displays speed information;
step 1115: and the terminal locks the screen and displays the red light ending time length and speed information to remind the user of safety.
The process of reminding the traffic light of the road intersection of which the user type is the non-pedestrian road as the green light information is similar to the process, and is not repeated here;
it should be noted that the determination of the traffic lights at the road intersection is determined according to the traffic light information of the traffic bureau at that time, and after the traffic lights are determined, the corresponding flow can be selected for information reminding.
Based on the same inventive concept, the present discovery embodiment further provides an information processing terminal, because the principle of the terminal for solving the problem is similar to the information processing method in the embodiments of the present invention, the implementation of the device may refer to the implementation of the method, and repeated details are not described again.
As shown in fig. 12, a schematic structural diagram of a terminal for implementing information reminding according to the present invention includes a determining module 1200, a determining module 1201, and a processing module 1202:
the determining module 1200 is configured to determine a road intersection to be passed through according to the current position and the moving direction;
the judging module 1201 is used for judging whether an alarm condition is met according to the position relation between the current position and the determined road intersection;
and the processing module 1202 is configured to perform an alarm operation after determining that the alarm condition is met.
Before the determining module 1200 determines whether the warning condition is met according to the position relationship between the current position and the road intersection, the determining module 1200 determines the user type according to the current position;
the user types comprise pedestrians and non-pedestrians, wherein the pedestrians refer to users who walk and have low action speed, and the non-pedestrians refer to people in the vehicle;
in practice, there are many ways to determine the type of user, and the following are some:
in the first mode, after determining the current position, the determining module 1200 determines the size relationship between the vertical distance between the current position and the road intersection required to pass through in the determined moving direction and the distance threshold; if the vertical distance is less than the distance threshold, the user type is a person in the vehicle, because the vehicle is walking along the road, and the vertical distance on the road is a small and near zero value; if the vertical distance is not larger than the set threshold, the user type is the pedestrian, wherein the distance threshold can be obtained according to simulation and experience values.
In a second mode, after determining the current position, the determining module 1200 determines the position information in the previously set time, such as a moving track or a moving route of the terminal, if the moving track or the moving route is a route parallel to the road, it indicates that the user type is a person in the vehicle, and if the moving track or the moving route presents a certain angle with the road, it indicates that the moving track of the terminal does not always move parallel to the road, and there is an offset from the road direction, it indicates that the user type is a pedestrian.
In a third mode, the determining module 1200 may obtain a moving speed of the terminal, determine the user type according to the moving speed, if the moving speed is greater than a set speed, it indicates that the user type is a person in a vehicle, otherwise, it is a pedestrian, where the set speed may be set according to simulation and experience values.
It should be noted that there are many ways to determine the type of user, and the above are only examples. In the implementation, the determination may be performed in a manner of combining the above manners, or may be performed in another manner different from the above manner, but any manner that can determine the type of the user is applicable to the embodiment of the present invention.
Different user types correspond to different alarm conditions, and after the user type is determined, the judging module 1201 judges whether the alarm conditions corresponding to the determined user type are met or not according to the position relationship between the current position and the determined road intersection.
If the user type is a pedestrian; the judging module 1201 judges whether the determined alarm condition corresponding to the user type is met or not according to the distance between the current position and the road junction and the time length of the traffic light of the road junction, wherein the traffic light of the road junction is the traffic light which needs to pass through in the moving direction;
if the user type is a non-pedestrian; the judging module 1201 judges whether the alarm condition corresponding to the determined user type is met or not according to the distance between the current position and the road intersection; or the judging module 1201 judges whether the determined alarm condition corresponding to the user type is met according to the distance between the current position and the road intersection, the moving speed and the time length of the traffic light of the road intersection; the traffic lights at the road intersection are traffic lights which need to pass through in the moving direction.
Wherein, the corresponding alarm condition when the user type is pedestrian includes but is not limited to part or all of the following:
the method comprises the following steps that firstly, the distance between the current position and the road intersection is determined to be smaller than a first distance threshold, and the red light ending time length of the road intersection is not larger than a third time length;
it should be noted that the distance between the current position and the road intersection may be a vertical distance between the current position and the road center line, or a distance between the current position and a side line of the road intersection close to the current position, or a distance between the current position and a zebra crossing center of the road intersection, and there are many ways to determine the distance, and the above-mentioned way to determine the distance between the current position and the road intersection is only an example, and all the ways to determine the distance are applicable to the embodiments of the present invention.
Determining that the distance between the current position and the road intersection is smaller than a first distance threshold value, and the green light ending time length of the road intersection is not greater than a fourth time length;
determining that the distance between the current position and the road intersection is smaller than a first distance threshold, and the red light ending time length is longer than a third time length and shorter than a first time length;
determining that the distance between the current position and the road intersection is smaller than a first distance threshold, and the green light ending time length is longer than a fourth time length and shorter than a second time length;
wherein, the corresponding alarm condition when the user type is non-pedestrian includes but is not limited to part or all of the following:
determining that the distance between the current position and the road intersection is greater than a second distance threshold value and the moving speed is less than a set safe speed;
it should be noted that the distance between the current position and the road intersection may be a vertical distance between the current position and the road center line, or a distance between the current position and a side line of the road intersection close to the current position, or a distance between the current position and a zebra crossing center of the road intersection, and there are many ways to determine the distance, and the above-mentioned ways to determine the distance between the current position and the road intersection are only examples, and all the ways to determine the distance are applicable to the embodiments of the present invention.
Determining that the distance between the current position and the road intersection is greater than a second distance threshold value, and the moving speed is not less than the set safe speed;
determining that the distance between the current position and the road intersection is not greater than a second distance threshold, the moving speed of the road intersection is less than the set safe speed, and the red light ending time length of the road intersection is greater than a third time length and less than a first time length;
determining that the distance between the current position and the road intersection is not greater than a second distance threshold, the moving speed of the road intersection is less than the set safe speed, and the red light ending duration of the road intersection is not greater than a third duration;
determining that the distance between the current position and the road intersection is not greater than a second distance threshold, the moving speed of the road intersection is less than the set safe speed, and the green light ending time length of the road intersection is greater than a fourth time length and less than a second time length;
determining that the distance between the current position and the road intersection is not greater than a second distance threshold, the moving speed of the road intersection is less than the set safe speed, and the green light ending duration of the road intersection is not greater than a fourth duration;
determining that the distance between the current position and the road intersection is not greater than a second distance threshold, the moving speed is not less than the set safe speed, and the red light ending time length of the road intersection is greater than a third time length and is less than a first time length;
determining that the distance between the current position and the road intersection is not greater than a second distance threshold, the moving speed is not less than the set safe speed, and the red light ending duration of the road intersection is not greater than a third duration;
determining that the distance between the current position and the road intersection is not greater than a second distance threshold, the moving speed is not less than the set safe speed, and the green light ending time length of the road intersection is greater than a fourth time length and less than a second time length;
determining that the distance between the current position and the road intersection is not greater than a second distance threshold, the moving speed is not less than the set safe speed, and the green light ending time length of the road intersection is not greater than a fourth time length;
after determining that the alarm condition is satisfied, the alarm operation includes, but is not limited to, some or all of the following:
in the first mode, the processing module 1202 displays a preset image;
in the second mode, the processing module 1202 locks the screen;
in the third mode, the processing module 1202 displays the reminding information:
the three modes can be combined in pairs for reminding, a mode of locking a screen and displaying reminding information is adopted, or a mode of displaying a preset image and displaying the reminding information is adopted;
it should be noted that there are many alarm operations, which are not limited to the above three manners, and the alarm may be performed automatically, may be performed by ringing, and may also be performed by using voice prompt.
When the processing module 1202 displays the preset image, the preset image may be clicked after a certain time to remove the occlusion effect, or the occlusion may be automatically removed after a certain time, where the above occlusion removing manner is described as an example, and all manners of removing the image occlusion screen are applicable to the embodiment of the present invention.
When the processing module 1202 displays the reminding information, the information content can only remind the user of safety, and can also remind the remaining time condition and the speed condition of the traffic light in the corresponding alarm condition; the information of the time condition and the speed condition of the traffic light can be reminded in one interface, and can also be displayed alternately, the information reminding mode and the content are various, and all the reminding modes and the contents are suitable for the embodiment of the invention.
Because there are many alarm conditions and various alarm operations, there are many corresponding relationships between them, and all combinations using the alarm conditions and alarm operations of the embodiments of the present invention are within the scope of the present invention.
The present application is described above with reference to block diagrams and/or flowchart illustrations of methods, apparatus (systems) and/or computer program products according to embodiments of the application. It will be understood that one block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, and/or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer and/or other programmable data processing apparatus, create means for implementing the functions/acts specified in the block diagrams and/or flowchart block or blocks.
Accordingly, the subject application may also be embodied in hardware and/or in software (including firmware, resident software, micro-code, etc.). Furthermore, the present application may take the form of a computer program product on a computer-usable or computer-readable storage medium having computer-usable or computer-readable program code embodied in the medium for use by or in connection with an instruction execution system. In the context of this application, a computer-usable or computer-readable medium may be any medium that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A method for reminding information, which is characterized in that the method comprises the following steps:
the terminal determines a road intersection to pass through according to the current position and the moving direction;
after the terminal is determined to be in a use state, judging whether an alarm condition is met according to the position relation between the current position and the determined road intersection;
the terminal performs alarm operation after determining that the alarm condition is met;
wherein, the terminal determines whether the warning condition is met according to the position relation between the current position and the road intersection, and the method also comprises the following steps:
the terminal determines the user type according to the current position;
the user type is a pedestrian; the terminal judges whether the alarm condition corresponding to the determined user type is met or not according to the distance between the current position and the road intersection and the time length of the traffic light of the road intersection, wherein the traffic light of the road intersection is the traffic light which needs to pass through in the moving direction; the method comprises the following steps: if the terminal determines that the distance between the current position and the road intersection is smaller than a first distance threshold value, and the red light ending time length of the road intersection is smaller than a first time length or the green light ending time length of the road intersection is smaller than a second time length, determining that the alarm condition corresponding to the determined user type is met; the traffic lights of the road intersection are traffic lights which need to pass through in the moving direction;
if the red light ending time length of the road intersection is longer than a third time length or the green light ending time length of the road intersection is longer than a fourth time length, the terminal displays a preset image and/or reminding information; or if the red light ending time length of the road intersection is not more than the third time length or the green light ending time length of the road intersection is not more than the fourth time length, the terminal locks a screen and/or displays reminding information; wherein the third duration is less than the first duration, and the fourth duration is less than the second duration;
the user type is a non-pedestrian; the terminal judges whether the alarm condition corresponding to the determined user type is met or not according to the distance between the current position and the road junction, wherein the alarm condition corresponding to the determined user type is met if the terminal determines that the distance between the current position and the road junction is larger than a second distance threshold; or
The terminal judges whether the alarm condition corresponding to the determined user type is met or not according to the distance between the current position and the road intersection, the moving speed of the terminal and the time length of a traffic light of the road intersection; the traffic lights of the road intersection are traffic lights which need to pass through in the moving direction;
if the moving speed of the terminal is less than the set safe speed, the terminal displays a preset image and/or displays reminding information; or
And if the moving speed of the terminal is not less than the set safe speed, the terminal locks a screen and/or displays reminding information.
2. The method of claim 1, wherein the determining whether the determined alarm condition corresponding to the user type is met by the terminal according to the distance between the current position and the road junction, the moving speed of the terminal and the time length of the traffic lights at the road junction comprises one of the following two ways:
the first method is as follows: if the terminal determines that the distance between the current position and the road intersection is not greater than a second distance threshold value, the moving speed is less than a set safe speed, the red light ending time length of the road intersection is less than a first time length or the green light ending time length of the road intersection is less than a second time length, determining that the alarm condition corresponding to the determined user type is met; or
The second method comprises the following steps: and if the terminal determines that the distance between the current position and the road intersection is not greater than a second distance threshold value, the moving speed is not less than the set safe speed, and the red light ending time length of the road intersection is less than a first time length or the green light ending time length of the road intersection is less than a second time length, determining that the alarm condition corresponding to the determined user type is met.
3. The method of claim 2, wherein the terminal performs an alarm operation after determining that an alarm condition is satisfied, comprising:
if the first mode is adopted to determine that the alarm condition is met and the red light ending time length of the road intersection is longer than the third time length or the green light ending time length of the road intersection is longer than the fourth time length, the terminal displays a preset image and/or displays reminding information; or
If the first mode is adopted to determine that the alarm condition is met and the red light ending time length of the road intersection is not more than the third time length or the green light ending time length of the road intersection is not more than the fourth time length, the terminal locks a screen and/or displays reminding information; or
And if the alarm condition is met by adopting the second mode, locking the screen and/or displaying the reminding information by the terminal.
4. The method according to any one of claims 1 and 3, wherein after the terminal performs the alarm operation, the method further comprises:
and if the screen is locked when the terminal performs the alarm operation, unlocking the screen after the distance between the current position and the last road intersection passed by the terminal in the moving direction is greater than a third distance threshold.
5. The method according to claim 1 or 3, wherein after the terminal performs the alarm operation, the method further comprises:
and if the screen is locked when the terminal performs the alarm operation, the screen is unlocked after the terminal determines that the distance between the current position and the last road intersection passing through in the moving direction is greater than a third distance threshold and the moving speed is less than the set safe speed.
6. A terminal for information reminding, the terminal comprising:
the determining module is used for determining a road intersection required to pass through according to the current position and the moving direction;
the judging module is used for judging whether an alarm condition is met or not according to the position relation between the current position and the determined road intersection after the road intersection is determined to be in the use state;
the processing module is used for carrying out alarm operation after the alarm condition is determined to be met;
wherein the determining module is further configured to:
determining the type of a user according to the current position;
the judgment module is specifically configured to:
judging whether the alarm condition corresponding to the determined user type is met or not according to the position relation between the current position and the determined road intersection;
the user type is a pedestrian; the judgment module is specifically configured to:
judging whether the determined alarm condition corresponding to the user type is met or not according to the distance between the current position and the road intersection and the time length of the traffic light of the road intersection, wherein the traffic light of the road intersection is the traffic light which needs to pass through in the moving direction;
the judgment module is specifically configured to:
if the distance between the current position and the road intersection is determined to be smaller than a first distance threshold value, and the red light ending time length of the road intersection is smaller than a first time length or the green light ending time length of the road intersection is smaller than a second time length, determining that the alarm condition corresponding to the determined user type is met; the traffic lights of the road intersection are traffic lights which need to pass through in the moving direction;
the processing module is specifically configured to:
if the red light ending time length of the road intersection is longer than a third time length or the green light ending time length of the road intersection is longer than a fourth time length, displaying a preset image and/or reminding information; or
If the red light ending time length of the road intersection is not more than the third time length or the green light ending time length of the road intersection is not more than the fourth time length, locking a screen and/or displaying reminding information; wherein the third duration is less than the first duration, and the fourth duration is less than the second duration;
the user type is a non-pedestrian; the judgment module is specifically configured to:
judging whether the alarm condition corresponding to the determined user type is met or not according to the distance between the current position and the road intersection; or
Judging whether the alarm condition corresponding to the determined user type is met or not according to the distance between the current position and the road intersection, the moving speed of the terminal and the time length of a traffic light of the road intersection;
the traffic lights of the road intersection are traffic lights which need to pass through in the moving direction; the judgment module is specifically configured to:
if the terminal determines that the distance between the current position and the road intersection is greater than a second distance threshold, determining that the alarm condition corresponding to the determined user type is met;
the processing module is specifically configured to:
if the moving speed of the terminal is lower than the set safe speed, displaying a preset image and/or displaying reminding information; or
And if the moving speed of the terminal is not less than the set safe speed, locking the screen and/or displaying the reminding information.
7. The terminal according to claim 6, wherein the determining module is specifically configured to determine whether the alarm condition corresponding to the determined user type is satisfied by using one of the following two manners:
the first method is as follows: if the distance between the current position and the road intersection is determined to be not greater than a second distance threshold, the moving speed is less than the set safe speed, the red light ending time of the road intersection is less than a first time or the green light ending time of the road intersection is less than a second time, determining that the alarm condition corresponding to the determined user type is met; or
The second method comprises the following steps: and if the distance between the current position and the road intersection is not larger than a second distance threshold value, the moving speed is not smaller than the set safe speed, the red light ending time length of the road intersection is smaller than a first time length or the green light ending time length of the road intersection is smaller than a second time length, determining that the alarm condition corresponding to the determined user type is met.
8. The terminal of claim 7, wherein the processing module is specifically configured to:
if the alarm condition is met, and the red light ending time length of the road intersection is longer than a third time length or the green light ending time length of the road intersection is longer than a fourth time length, displaying a preset image and/or displaying a reminding message; or
If the first mode is adopted to determine that the alarm condition is met and the red light ending time length of the road intersection is not more than the third time length or the green light ending time length of the road intersection is not more than the fourth time length, locking a screen and/or displaying reminding information; or
And if the alarm condition is met by adopting the second mode, locking the screen and/or displaying the reminding information.
9. The terminal of any of claims 6 and 8, wherein the processing module is further configured to:
and if the screen is locked during the alarm operation, unlocking the screen after the distance between the current position of the terminal and the last road intersection passing through in the moving direction is greater than a third distance threshold.
10. The terminal of claim 6 or 8, wherein the processing module is further configured to:
and if the screen is locked during the alarm operation, the screen is unlocked after the distance between the current position and the last road intersection passing through in the moving direction is determined to be greater than a third distance threshold value and the moving speed is less than the set safe speed.
CN201610849151.3A 2016-09-23 2016-09-23 Information reminding method and terminal Active CN106453857B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610849151.3A CN106453857B (en) 2016-09-23 2016-09-23 Information reminding method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610849151.3A CN106453857B (en) 2016-09-23 2016-09-23 Information reminding method and terminal

Publications (2)

Publication Number Publication Date
CN106453857A CN106453857A (en) 2017-02-22
CN106453857B true CN106453857B (en) 2020-01-03

Family

ID=58169371

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610849151.3A Active CN106453857B (en) 2016-09-23 2016-09-23 Information reminding method and terminal

Country Status (1)

Country Link
CN (1) CN106453857B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107707730A (en) * 2017-08-14 2018-02-16 深圳天珑无线科技有限公司 Display methods, intelligent terminal and the device with store function of intelligent terminal
CN107545746A (en) * 2017-08-18 2018-01-05 新华三技术有限公司 Traffic alarm method, apparatus, electronic equipment and storage medium
KR101834892B1 (en) * 2017-12-04 2018-04-13 (주)패스넷 Smart pedestrian safety system of crosswalk
CN108650414B (en) * 2018-04-27 2021-03-02 Oppo广东移动通信有限公司 Touch information processing method and device, storage medium and electronic device
CN110324492A (en) * 2019-06-28 2019-10-11 广东天机工业智能***有限公司 Cell phone intelligent system and its intelligent control method, traffic safety intelligence system
CN110717737B (en) * 2019-10-12 2022-08-16 珠海优特物联科技有限公司 Stamp control method and device and stamp
CN111510560B (en) * 2020-05-03 2021-09-03 宋彦震 Automatic screen locking method for crossing road based on satellite positioning system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104183158A (en) * 2014-08-14 2014-12-03 同济大学 Intersection real-time intelligent safety warning system based on intelligent phones and cloud computing and implementation method thereof
CN105070100A (en) * 2015-07-31 2015-11-18 上海斐讯数据通信技术有限公司 Traffic early warning method based on GPS and traffic early warning system based on GPS

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103247144B (en) * 2012-02-07 2015-07-22 宇龙计算机通信科技(深圳)有限公司 Traffic safety prompting method and mobile terminal
CN104252793A (en) * 2013-06-27 2014-12-31 比亚迪股份有限公司 Signal lamp state detecting method, signal lamp state detecting system and vehicle-mounted control device
CN105612791A (en) * 2013-10-09 2016-05-25 高通股份有限公司 Methods and apparatus for controlling the transmission and/or reception of safety messages by portable wireless user devices
CN105118330B (en) * 2015-09-30 2018-11-06 宇龙计算机通信科技(深圳)有限公司 A kind of traffic prewarning method, apparatus and system
CN105096659B (en) * 2015-09-30 2018-06-15 宇龙计算机通信科技(深圳)有限公司 A kind of traffic prewarning method, apparatus and system
CN105841693B (en) * 2016-03-24 2019-07-26 Oppo广东移动通信有限公司 Air navigation aid and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104183158A (en) * 2014-08-14 2014-12-03 同济大学 Intersection real-time intelligent safety warning system based on intelligent phones and cloud computing and implementation method thereof
CN105070100A (en) * 2015-07-31 2015-11-18 上海斐讯数据通信技术有限公司 Traffic early warning method based on GPS and traffic early warning system based on GPS

Also Published As

Publication number Publication date
CN106453857A (en) 2017-02-22

Similar Documents

Publication Publication Date Title
CN106453857B (en) Information reminding method and terminal
CN108891413B (en) Vehicle-mounted fatigue driving prevention system, method, equipment and storage medium
WO2016127386A1 (en) System and method for prompting vehicle driving conditions
CN108025767A (en) System and method for driving auxiliary for offer of overtaking other vehicles safely
CN109615929B (en) Method, device and system for safety early warning of highway construction area
CN109243181A (en) Traffic accident method for early warning, device, terminal device and storage medium
CN109345829A (en) Monitoring method, device, equipment and the storage medium of unmanned vehicle
CN111256720B (en) Navigation method and device
CN111951548B (en) Vehicle driving risk determination method, device, system and medium
Greengard Automotive systems get smarter
CN112818839A (en) Method, device, equipment and medium for identifying violation behaviors of driver
CN114407827B (en) Vehicle door control method, device, equipment, storage medium and automatic driving vehicle
CN107564328A (en) Parking stall for vehicle determines method and apparatus
CN111976875A (en) Control method and device for safely using bicycle, electronic equipment and vehicle system
JP2021071328A (en) Safety driving support server
CN111523388A (en) Method and device for associating non-motor vehicle with person and terminal equipment
WO2017100790A1 (en) Enhanced navigation instruction and user determination
CN111800542A (en) Information prompting method, information prompting platform and terminal
CN110712699B (en) Rear projection method for bicycle and related product
JP2005241516A (en) Display device for vehicle, and method
CN109285327A (en) A kind of processing method using mobile phone for driver in driving conditions
CN113053096B (en) Traffic accident early warning method and device, storage medium and intelligent lamp pole
CN112863243B (en) Road height limit prompting method and device
CN116432911A (en) Data processing method, device and storage medium
CN113128798A (en) Vehicle scheduling method, device, computer device and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant