[go: up one dir, main page]

CN106525024A - Mobile terminal prompting method, device and mobile terminal - Google Patents

Mobile terminal prompting method, device and mobile terminal Download PDF

Info

Publication number
CN106525024A
CN106525024A CN201610956900.2A CN201610956900A CN106525024A CN 106525024 A CN106525024 A CN 106525024A CN 201610956900 A CN201610956900 A CN 201610956900A CN 106525024 A CN106525024 A CN 106525024A
Authority
CN
China
Prior art keywords
mobile terminal
user
target road
road
determined
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610956900.2A
Other languages
Chinese (zh)
Other versions
CN106525024B (en
Inventor
林煜桂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610956900.2A priority Critical patent/CN106525024B/en
Publication of CN106525024A publication Critical patent/CN106525024A/en
Application granted granted Critical
Publication of CN106525024B publication Critical patent/CN106525024B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/005Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 with correlation of navigation data from several sources, e.g. map or contour matching
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/01Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/13Receivers
    • G01S19/14Receivers specially adapted for specific applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Automation & Control Theory (AREA)
  • Telephone Function (AREA)
  • Navigation (AREA)

Abstract

The embodiment of the invention discloses a mobile terminal prompting method, device and mobile terminal. The method comprises the steps that the advancing direction of a user is determined when the user is detected using a mobile terminal under a mobile state of the mobile terminal; the target road in an electronic map corresponding with the mobile terminal is determined; and the mobile terminal is controlled and related safety prompts are carried out, when the intersection angle of the advancing direction and the extension direction of the target road is larger than a preset threshold angle value. The above technical scheme carries out reasonable prompts on safety conditions when detecting the situation that a user might use a mobile terminal while walking, and enriches the prompt functions of the mobile terminal.

Description

一种移动终端的提示方法、装置及移动终端Prompt method and device for mobile terminal and mobile terminal

技术领域technical field

本发明实施例涉及移动终端技术领域,尤其涉及一种移动终端的提示方法、装置及移动终端。The embodiments of the present invention relate to the technical field of mobile terminals, and in particular, to a prompting method and device for a mobile terminal and a mobile terminal.

背景技术Background technique

随着移动终端的普及,智能手机及平板电脑等移动终端已成为人们工作和生活的必备工具。便携性是移动终端的最大特点之一,该特性允许用户可随时随地使用移动终端。With the popularization of mobile terminals, mobile terminals such as smart phones and tablet computers have become necessary tools for people's work and life. Portability is one of the greatest features of a mobile terminal, which allows users to use the mobile terminal anytime and anywhere.

目前,移动终端的配置越来越高级且功能越来越丰富,使得用户使用移动终端的频率和时长也不断增加。许多用户在行走时也会经常低头使用移动终端,如玩游戏、观看视频以及浏览网页等等。使用移动终端时,屏幕内容会极大的分散用户的注意力,使用户非常容易忽略行走道路前方和四周可能出现的危险,尤其在过马路时,车辆较多,若因低头使用移动终端而未及时发现过往车辆,极易发生交通事故。因此,亟需一种方案在用户行走过程中使用移动终端时,对安全情况进行合理提示。At present, the configuration of mobile terminals is becoming more and more advanced and the functions are becoming more and more abundant, so that the frequency and duration of users using mobile terminals are also increasing. Many users also often lower their heads to use mobile terminals while walking, such as playing games, watching videos, browsing web pages, and so on. When using a mobile terminal, the content on the screen will greatly distract the user's attention, making it very easy for the user to ignore the possible dangers in front of and around the road. Especially when crossing the road, there are many vehicles. Timely detection of passing vehicles can easily lead to traffic accidents. Therefore, there is an urgent need for a solution to provide a reasonable reminder of the safety situation when the user uses the mobile terminal while walking.

发明内容Contents of the invention

本发明实施例的目的是提供一种移动终端的提示方法、装置及移动终端,以解决现有移动终端在用户行走过程中使用移动终端的情况下,无法对安全情况进行合理提示的问题。The purpose of the embodiments of the present invention is to provide a prompt method and device for a mobile terminal and a mobile terminal to solve the problem that the existing mobile terminal cannot provide reasonable prompts for safety conditions when the user uses the mobile terminal while walking.

第一方面,本发明实施例提供了一种移动终端的提示方法,包括:In a first aspect, an embodiment of the present invention provides a prompt method for a mobile terminal, including:

检测到用户在移动终端的移动状态下使用所述移动终端时,确定所述用户的行进方向;When detecting that the user is using the mobile terminal in a moving state of the mobile terminal, determining the direction of travel of the user;

在电子地图中确定与所述移动终端对应的目标道路;determining a target road corresponding to the mobile terminal in the electronic map;

当所述行进方向与所述目标道路的延伸方向的夹角大于预设角度阈值时,控制所述移动终端进行相关安全提示。When the included angle between the traveling direction and the extending direction of the target road is greater than a preset angle threshold, the mobile terminal is controlled to give relevant safety prompts.

第二方面,本发明实施例提供了一种移动终端的提示装置,包括:In a second aspect, an embodiment of the present invention provides a prompting device for a mobile terminal, including:

方向确定模块,用于检测到用户在移动终端的移动状态下使用所述移动终端时,确定所述用户的行进方向;A direction determination module, configured to determine the direction of travel of the user when detecting that the user is using the mobile terminal while the mobile terminal is in a moving state;

目标道路确定模块,用于在电子地图中确定与所述移动终端对应的目标道路;a target road determination module, configured to determine a target road corresponding to the mobile terminal in the electronic map;

提示控制模块,用于在所述行进方向与所述目标道路的延伸方向的夹角大于预设角度阈值时,控制所述移动终端进行相关安全提示。A reminder control module, configured to control the mobile terminal to give relevant safety reminders when the included angle between the traveling direction and the extending direction of the target road is greater than a preset angle threshold.

第三方面,本发明实施例提供了一种移动终端,所述移动终端集成了本发明实施例所述的移动终端的提示装置。In a third aspect, an embodiment of the present invention provides a mobile terminal, where the mobile terminal integrates the prompting device for the mobile terminal described in the embodiment of the present invention.

本发明实施例中提供的移动终端的提示方案,检测到用户在移动终端的移动状态下使用移动终端时,确定用户的行进方向,在电子地图中确定与移动终端对应的目标道路,当行进方向与目标道路的延伸方向的夹角大于预设角度阈值时,说明用户的行进方向偏离了目标道路,很可能在使用移动终端的情况下过马路,存在安全隐患,则控制移动终端进行相关安全提示,以对用户进行及时有效的提醒。通过采用上述技术方案,在检测到用户可能在行走过程中使用移动终端的情况下,对安全情况进行合理提示,丰富了移动终端的提示功能。The prompt scheme of the mobile terminal provided in the embodiment of the present invention detects that the user is using the mobile terminal in the moving state of the mobile terminal, determines the user's traveling direction, determines the target road corresponding to the mobile terminal in the electronic map, and when the traveling direction When the included angle with the extension direction of the target road is greater than the preset angle threshold, it means that the user’s traveling direction deviates from the target road, and it is likely to cross the road while using a mobile terminal, which poses a safety hazard, and the mobile terminal is controlled to issue relevant safety reminders , to provide timely and effective reminders to users. By adopting the above technical solution, when it is detected that the user may use the mobile terminal while walking, a reasonable prompt is given for the safety situation, which enriches the prompt function of the mobile terminal.

附图说明Description of drawings

图1为本发明实施例提供的一种移动终端的提示方法的流程示意图;FIG. 1 is a schematic flowchart of a prompt method for a mobile terminal provided by an embodiment of the present invention;

图2为本发明实施例提供的另一种移动终端的提示方法的流程示意图;FIG. 2 is a schematic flowchart of another prompting method for a mobile terminal provided by an embodiment of the present invention;

图3为本发明实施例提供的另一种移动终端的提示方法的流程示意图;FIG. 3 is a schematic flowchart of another prompting method for a mobile terminal provided by an embodiment of the present invention;

图4为本发明实施例提供的另一种移动终端的提示方法的流程示意图;FIG. 4 is a schematic flowchart of another prompting method for a mobile terminal provided by an embodiment of the present invention;

图5为本发明实施例提供的一种移动终端的提示装置的结构框图;FIG. 5 is a structural block diagram of a prompting device for a mobile terminal provided by an embodiment of the present invention;

图6为本发明实施例提供的一种移动终端的结构示意图。FIG. 6 is a schematic structural diagram of a mobile terminal provided by an embodiment of the present invention.

具体实施方式detailed description

下面结合附图并通过具体实施方式来进一步说明本发明的技术方案。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The technical solutions of the present invention will be further described below in conjunction with the accompanying drawings and through specific implementation methods. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings but not all structures.

在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各步骤描述成顺序的处理,但是其中的许多步骤可以被并行地、并发地或者同时实施。此外,各步骤的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe the steps as sequential processing, many of the steps may be performed in parallel, concurrently, or simultaneously. Additionally, the order of steps may be rearranged. The process may be terminated when its operations are complete, but may also have additional steps not included in the figure. The processing may correspond to a method, function, procedure, subroutine, subroutine, or the like.

图1为本发明实施例提供的一种移动终端的提示方法的流程示意图,该方法可以由移动终端的提示装置执行,其中该装置可由软件和/或硬件实现,一般可集成在移动终端中。如图1所示,该方法包括:FIG. 1 is a schematic flowchart of a prompting method for a mobile terminal provided by an embodiment of the present invention. The method can be executed by a prompting device of the mobile terminal, wherein the device can be implemented by software and/or hardware, and generally can be integrated in the mobile terminal. As shown in Figure 1, the method includes:

步骤101、检测到用户在移动终端的移动状态下使用所述移动终端时,确定所述用户的行进方向。Step 101, when it is detected that the user is using the mobile terminal in a moving state, determine the traveling direction of the user.

示例性的,本实施例中的移动终端具体可为手机、智能手表、平板电脑、游戏机、个人数字助理和数字多媒体播放器等设备。Exemplarily, the mobile terminal in this embodiment may specifically be devices such as mobile phones, smart watches, tablet computers, game consoles, personal digital assistants, and digital multimedia players.

本实施例中,可利用移动终端内置的陀螺仪等传感器检测移动终端是否处于移动状态,也可利用移动终端内置的全球定位系统(Global Positioning System,GPS)或网络定位及基站定位等定位技术来检测移动终端是否处于移动状态。优选的,本实施例中的移动状态具体可指自然移动状态,自然移动状态对应于用户的步行或跑步等人体运动状态,而排除因用户乘坐公交车及出租车等交通工具而使移动终端处于的快速移动状态。In this embodiment, the built-in gyroscope and other sensors of the mobile terminal can be used to detect whether the mobile terminal is in a moving state, or the built-in Global Positioning System (Global Positioning System, GPS) or positioning technologies such as network positioning and base station positioning can be used to detect whether the mobile terminal is in a moving state. Detect whether the mobile terminal is in a moving state. Preferably, the moving state in this embodiment may specifically refer to the natural moving state, which corresponds to the user's human body movement state such as walking or running, and excludes that the mobile terminal is in a state of being in a state caused by the user taking a bus or a taxi. fast moving state.

示例性的,本实施例中的使用移动终端具体可包括观看移动终端的屏幕。可通过检测用户是否在观看移动终端的屏幕来判断用户是否在使用移动终端。其中,判断的方式可以有很多种,例如,从屏幕的角度出发,可以通过判断屏幕是否处于显示状态来确定用户是否在观看屏幕;又如,从用户的角度出发,可以通过判断人脸或者人眼是否正对着屏幕来确定用户是否在观看屏幕。因此,检测到用户在移动终端的移动状态下使用移动终端,具体可包括:判断移动终端的屏幕在移动终端的移动状态下是否处于显示状态,若是,则检测到用户在移动终端的移动状态下使用移动终端;或者,在移动终端的移动状态下通过虹膜识别或人脸识别判断移动终端的屏幕前方是否出现人眼或人脸,若出现,则检测到用户在移动终端的移动状态下使用所述移动终端。可以理解的是,判断用户是否在使用移动终端的具体方式还可有很多其他方式,上述几种方式仅作为示意性说明,本实施例并不对此进行限定。为了提高判定的准确度,也可采用两种或两种以上判定方法相结合的方式,例如,判断移动终端的屏幕在移动终端的移动状态下是否处于显示状态,若是,则通过虹膜识别或人脸识别判断移动终端的屏幕前方是否出现人眼或人脸,若出现,则检测到用户在移动终端的移动状态下使用所述移动终端。Exemplarily, using the mobile terminal in this embodiment may specifically include viewing a screen of the mobile terminal. Whether the user is using the mobile terminal can be determined by detecting whether the user is watching the screen of the mobile terminal. Among them, there are many ways to judge. For example, from the perspective of the screen, it can be determined whether the user is watching the screen by judging whether the screen is in the display state; Whether the user is looking at the screen or not is determined by whether the user's eyes are directly facing the screen. Therefore, detecting that the user is using the mobile terminal in the mobile state of the mobile terminal may specifically include: judging whether the screen of the mobile terminal is in the display state in the mobile state of the mobile terminal, and if so, detecting that the user is in the mobile state of the mobile terminal Use a mobile terminal; or, judge whether human eyes or faces appear in front of the screen of the mobile terminal through iris recognition or face recognition in the mobile state of the mobile terminal, and if so, detect that the user is using the mobile terminal in the mobile state. the mobile terminal. It can be understood that there may be many other specific manners for judging whether the user is using the mobile terminal, and the above several manners are only illustrative illustrations, which are not limited in this embodiment. In order to improve the accuracy of the judgment, a combination of two or more judgment methods can also be used, for example, to judge whether the screen of the mobile terminal is in the display state under the mobile state of the mobile terminal, and if so, through iris recognition or human Face recognition determines whether human eyes or faces appear in front of the screen of the mobile terminal, and if so, it is detected that the user is using the mobile terminal while the mobile terminal is moving.

示例性的,可对上述在检测移动终端的移动状态时获取的传感器数据或者定位数据进行分析统计,得出移动终端的移动规律,进而确定出用户的行进方向。Exemplarily, the above-mentioned sensor data or positioning data acquired when detecting the moving state of the mobile terminal can be analyzed and counted to obtain the moving rule of the mobile terminal, and then determine the traveling direction of the user.

优选的,确定用户的行进方向可具体包括:记录移动终端的移动轨迹,根据移动轨迹确定用户的行进方向。例如,在检测到移动终端处于移动状态时,可控制GPS开始记录移动终端的移动轨迹,对该移动轨迹的形状以及走向等进行分析,判断出用户行进的趋势,进而确定出用户的行进方向。Preferably, determining the traveling direction of the user may specifically include: recording a moving track of the mobile terminal, and determining the traveling direction of the user according to the moving track. For example, when the mobile terminal is detected to be in a moving state, the GPS can be controlled to start recording the mobile terminal’s trajectory, analyze the shape and direction of the trajectory, determine the trend of the user’s travel, and then determine the user’s travel direction.

步骤102、在电子地图中确定与移动终端对应的目标道路。Step 102, determining the target road corresponding to the mobile terminal in the electronic map.

示例性的,所述电子地图可以是移动终端中装载的地图应用程序,如百度地图及高德地图等等;也可以是移动终端存储的本地地图;还可以是通过浏览器或其他方式访问的网络地图等。本实施例对电子地图的种类不做具体限定。Exemplarily, the electronic map can be a map application program loaded in a mobile terminal, such as Baidu map and Gaode map, etc.; it can also be a local map stored in the mobile terminal; it can also be accessed through a browser or other methods network map etc. This embodiment does not specifically limit the type of the electronic map.

示例性的,与移动终端对应的目标道路具体可为电子地图中与移动终端所在位置相对应的地图坐标附近的道路。目标道路可以是一条,也可以是多条,具体由移动终端所在位置的道路分布情况来确定。优选的,当移动终端附近存在多条道路时,可设定筛选条件用于筛选出合适的目标道路。例如,本步骤可包括:获取移动终端的当前位置,根据当前位置在电子地图中确定与当前位置相对应的坐标,以该坐标为中心确定相应的预设范围内(如半径10米之内)包含的候选道路,计算该坐标到每条候选道路的垂线段的长度,将垂线段的长度逐渐变短的候选道路确定为目标道路。Exemplarily, the target road corresponding to the mobile terminal may specifically be a road near map coordinates corresponding to the location of the mobile terminal in the electronic map. There may be one or more target roads, which are specifically determined by the distribution of roads at the location of the mobile terminal. Preferably, when there are multiple roads near the mobile terminal, filter conditions can be set to filter out a suitable target road. For example, this step may include: obtaining the current location of the mobile terminal, determining the coordinates corresponding to the current location in the electronic map according to the current location, and determining the corresponding preset range (such as within a radius of 10 meters) with the coordinates as the center. Include candidate roads, calculate the length of the vertical segment from the coordinates to each candidate road, and determine the candidate road whose length of the vertical segment gradually becomes shorter as the target road.

步骤103、当行进方向与目标道路的延伸方向的夹角大于预设角度阈值时,控制移动终端进行相关安全提示。Step 103, when the angle between the traveling direction and the extending direction of the target road is greater than a preset angle threshold, control the mobile terminal to give relevant safety reminders.

示例性的,预设角度阈值可由系统默认设置,也可由用户根据自己的行走或跑步等运动习惯进行设置。例如,预设角度阈值可设置为30度或60度等。Exemplarily, the preset angle threshold can be set by default by the system, or can be set by the user according to his own exercise habits such as walking or running. For example, the preset angle threshold can be set to 30 degrees or 60 degrees or the like.

示例性的,当行进方向与目标道路的延伸方向的夹角大于预设角度阈值时,说明用户的行进方向偏离了目标道路,很可能在过马路,需要对安全情况进行及时有效的提示,提醒用户前方可能存在危险,需要暂停使用移动终端。For example, when the angle between the direction of travel and the extension direction of the target road is greater than the preset angle threshold, it means that the user's travel direction deviates from the target road, and the user is probably crossing the road. Timely and effective reminders and reminders of the safety situation are required. There may be danger ahead of the user, which requires suspension of use of the mobile terminal.

示例性的,进行相关安全提示的方式可以有很多种,本实施例不做具体限定。例如,可控制移动终端播放警示音、播放提示语音、亮起警示灯以及振动等;还可控制移动终端在屏幕上显示提示文字;也可控制移动终端熄灭屏幕,以达到阻止用户继续使用移动终端的目的。Exemplarily, there may be many manners for providing relevant security prompts, which are not specifically limited in this embodiment. For example, the mobile terminal can be controlled to play warning sounds, play prompt voices, light up warning lights and vibrate, etc.; it can also control the mobile terminal to display prompt text on the screen; it can also control the mobile terminal to turn off the screen, so as to prevent users from continuing to use the mobile terminal the goal of.

本发明实施例提供的移动终端的提示方法,检测到用户在移动终端的移动状态下使用移动终端时,确定用户的行进方向,在电子地图中确定与移动终端对应的目标道路,当行进方向与目标道路的延伸方向的夹角大于预设角度阈值时,说明用户的行进方向偏离了目标道路,很可能在使用移动终端的情况下过马路,存在安全隐患,则控制移动终端进行相关安全提示,以对用户进行及时有效的提醒。通过采用上述技术方案,在检测到用户可能在行走过程中使用移动终端的情况下,对安全情况进行合理提示,丰富了移动终端的提示功能。The mobile terminal prompting method provided by the embodiment of the present invention detects that the user is using the mobile terminal while the mobile terminal is moving, determines the user's traveling direction, and determines the target road corresponding to the mobile terminal in the electronic map. When the angle between the extension direction of the target road is greater than the preset angle threshold, it means that the user's traveling direction deviates from the target road, and it is likely to cross the road while using a mobile terminal, which may pose a safety hazard. Then control the mobile terminal to give relevant safety reminders. To provide timely and effective reminders to users. By adopting the above technical solution, when it is detected that the user may use the mobile terminal while walking, a reasonable prompt is given for the safety situation, which enriches the prompt function of the mobile terminal.

图2为本发明实施例提供的另一种移动终端的提示方法的流程示意图,本实施例以上述实施例为基础进行优化,在本实施例中,将步骤“在电子地图中确定与移动终端对应的目标道路”优化为:获取移动终端的当前位置;根据当前位置在电子地图中确定相应预设范围内的目标道路。Fig. 2 is a schematic flowchart of another prompt method for a mobile terminal provided by an embodiment of the present invention. This embodiment is optimized on the basis of the above-mentioned embodiment. The corresponding target road" is optimized as follows: obtain the current location of the mobile terminal; determine the target road within the corresponding preset range in the electronic map according to the current location.

进一步的,根据当前位置在电子地图中确定相应预设范围内的目标道路还可具体包括:根据当前位置在电子地图中确定与当前位置相对应的坐标为圆心,根据圆心和预设半径确定相应预设范围,从所确定的预设范围内确定目标道路。Further, determining the target road within the corresponding preset range in the electronic map according to the current position may also specifically include: determining the coordinates corresponding to the current position in the electronic map as the center of the circle according to the current position, and determining the corresponding road according to the center of the circle and the preset radius. The preset range is used to determine the target road within the determined preset range.

相应的,本实施例的方法包括如下步骤:Correspondingly, the method of this embodiment includes the following steps:

步骤201、检测到用户在移动终端的移动状态下使用移动终端时,确定用户的行进方向。Step 201, when it is detected that the user is using the mobile terminal in a moving state of the mobile terminal, determine the traveling direction of the user.

步骤202、获取移动终端的当前位置。Step 202, acquiring the current location of the mobile terminal.

示例性的,可通过GPS实时获取移动终端的所在位置,将当前时刻获取到的位置作为移动终端的当前位置。Exemplarily, the location of the mobile terminal can be obtained in real time through GPS, and the obtained location at the current moment can be used as the current location of the mobile terminal.

步骤203、根据当前位置在电子地图中确定与当前位置相对应的坐标为圆心。Step 203: Determine the coordinates corresponding to the current position in the electronic map as the center of the circle according to the current position.

步骤204、根据圆心和预设半径确定相应预设范围。Step 204: Determine the corresponding preset range according to the center of the circle and the preset radius.

示例性的,预设半径可由系统设置,或由用根据自己的行走或跑步等运动习惯进行设置。此外,还可根据移动终端的移动速度来确定预设半径,当移动速度较快时,可确定比较大的半径,以使预设范围足够大来覆盖用户附近的道路。可以理解的是,当预设范围中包含某条道路的一部分,则可认为预设范围已覆盖该道路。Exemplarily, the preset radius can be set by the system, or set by the user according to his own exercise habits such as walking or running. In addition, the preset radius can also be determined according to the moving speed of the mobile terminal. When the moving speed is fast, a larger radius can be determined so that the preset range is large enough to cover roads near the user. It can be understood that, when a part of a road is included in the preset range, it can be considered that the preset range has covered the road.

步骤205、从所确定的预设范围内确定目标道路。Step 205, determine the target road from the determined preset range.

示例性的,当预设范围内仅包含一条道路时,将该道路确定为目标道路;当预设范围内包含多条道路时,可将该多条道路记为多条候选道路,分别计算圆心到每条候选道路的垂线段的长度,将所对应的垂线段的长度逐渐变短的候选道路确定为目标道路。可以理解的是,当移动终端的当前位置在电子地图中对应的坐标到某条道路的垂线段的长度随着用户的不断前进而逐渐变短时,说明用户正逐渐接近该道路,很可能即将跨越该道路,所以可将该道路确定为目标道路。Exemplarily, when only one road is included in the preset range, the road is determined as the target road; when multiple roads are included in the preset range, the multiple roads can be recorded as multiple candidate roads, and the center of the circle is calculated separately The length of the vertical line segment to each candidate road, and the candidate road whose length of the corresponding vertical line segment gradually becomes shorter is determined as the target road. It can be understood that when the length of the vertical line segment from the coordinates corresponding to the current position of the mobile terminal in the electronic map to a certain road gradually becomes shorter as the user continues to advance, it means that the user is gradually approaching the road, and it is likely that the user is about to This road is crossed, so this road can be determined as the target road.

步骤206、当行进方向与目标道路的延伸方向的夹角大于预设角度阈值时,控制移动终端进行相关安全提示。Step 206, when the angle between the traveling direction and the extending direction of the target road is greater than a preset angle threshold, control the mobile terminal to give relevant safety reminders.

本发明实施例对确定目标道路的过程进行了细化,能够准确地目标道路,从而更加准确的确定用户是否即将或正在穿越马路,增强安全提示的准确度,防止误提示情况的发生。The embodiment of the present invention refines the process of determining the target road, and can accurately determine the target road, so as to more accurately determine whether the user is about to or is crossing the road, enhance the accuracy of safety prompts, and prevent the occurrence of false prompts.

图3为本发明实施例提供的另一种移动终端的提示方法的流程示意图,本实施例以上述实施例为基础进行优化,在本实施例中,若所确定的目标道路为多条,将步骤“当行进方向与目标道路的延伸方向的夹角大于预设角度阈值时,控制移动终端进行相关安全提示”优化为:确定多条目标道路的交叉点;当移动终端的所在位置与所述交叉点的距离逐渐减小时,确定行进方向与多条目标道路中的每条目标道路的延伸方向的夹角;当任一夹角大于预设角度阈值时,控制移动终端进行相关安全提示。Fig. 3 is a schematic flowchart of another prompting method for a mobile terminal provided by an embodiment of the present invention. This embodiment is optimized on the basis of the above-mentioned embodiment. In this embodiment, if there are multiple target roads, the The step "when the angle between the direction of travel and the extension direction of the target road is greater than the preset angle threshold, control the mobile terminal to give relevant safety reminders" is optimized as follows: determine the intersection of multiple target roads; When the distance of the intersection gradually decreases, determine the included angle between the traveling direction and the extension direction of each of the multiple target roads; when any included angle is greater than a preset angle threshold, control the mobile terminal to give relevant safety reminders.

相应的,本实施例的方法包括如下步骤:Correspondingly, the method of this embodiment includes the following steps:

步骤301、检测到用户在移动终端的移动状态下使用移动终端时,确定用户的行进方向。Step 301, when it is detected that the user is using the mobile terminal in a moving state of the mobile terminal, determine the traveling direction of the user.

步骤302、在电子地图中确定与移动终端对应的多条目标道路。Step 302, determining multiple target roads corresponding to the mobile terminal in the electronic map.

示例性的,在目标道路为多条时,用户很可能在交叉路口处,此时道路走向比较复杂,需要通过后续步骤做进一步的判定。Exemplarily, when there are multiple target roads, the user is likely to be at an intersection. At this time, the direction of the road is relatively complicated, and further determination needs to be made through subsequent steps.

步骤303、确定多条目标道路的交叉点。Step 303, determine the intersection of multiple target roads.

可以理解的是,若多条目标道路没有交叉点,可说明这些道路为平行的道路,可选择其中任意一条道路进行后续的判断;还可能用户距离交叉路口较远,此时,可选择距离用户最近的道路进行后续的判定。It is understandable that if multiple target roads do not have intersections, it can be explained that these roads are parallel roads, and any one of the roads can be selected for subsequent judgments; it is also possible that the user is far away from the intersection. At this time, the distance from the user can be selected The nearest road for follow-up determination.

步骤304、当移动终端的所在位置与交叉点的距离逐渐减小时,确定行进方向与多条目标道路中的每条目标道路的延伸方向的夹角。Step 304, when the distance between the location of the mobile terminal and the intersection gradually decreases, determine the angle between the traveling direction and the extension direction of each of the multiple target roads.

可以理解的是,当移动终端的所在位置与交叉点的距离逐渐减小时,说明用户可能即将或正在穿越某条道路,可确定行进方向与多条目标道路中的每条目标道路的延伸方向的夹角;当移动终端的所在位置与交叉点的距离逐渐增大时,说明用户已走到马路对面,或者沿着某条道路继续前进,此时可无需进行后续的判定。It can be understood that when the distance between the location of the mobile terminal and the intersection gradually decreases, it means that the user may be about to or is crossing a certain road, and the distance between the traveling direction and the extension direction of each of the multiple target roads can be determined. Angle; when the distance between the location of the mobile terminal and the intersection gradually increases, it means that the user has walked to the opposite side of the road, or continues to move along a certain road, and no subsequent judgment is required at this time.

步骤305、当任一夹角大于预设角度阈值时,控制移动终端进行相关安全提示。Step 305, when any included angle is greater than a preset angle threshold, control the mobile terminal to give relevant safety prompts.

本步骤中,可对每个夹角分别进行判定,当某个夹角大于预设角度阈值时,控制移动终端进行相关安全提示。In this step, each included angle can be judged separately, and when a certain included angle is greater than a preset angle threshold, the mobile terminal is controlled to give a relevant safety prompt.

本发明实施例提供的移动终端的提示方法,兼顾到了交叉路口的情况,能够更加准确的确定用户是否即将或正在穿越马路,增强安全提示的准确度,防止误提示情况的发生。The prompting method of the mobile terminal provided by the embodiment of the present invention takes into account the situation of the intersection, can more accurately determine whether the user is about to or is crossing the road, enhances the accuracy of safety prompts, and prevents the occurrence of false prompts.

图4为本发明实施例提供的另一种移动终端的提示方法的流程示意图,如图4所示,该方法包括:FIG. 4 is a schematic flowchart of another prompt method for a mobile terminal provided by an embodiment of the present invention. As shown in FIG. 4, the method includes:

步骤401、检测到移动终端的屏幕处于显示状态。Step 401, detecting that the screen of the mobile terminal is in a display state.

步骤402、通过陀螺仪传感器检测移动终端是否处于移动状态,若是,则执行步骤403;否则,重复执行步骤402。Step 402: Detect whether the mobile terminal is in a moving state through the gyroscope sensor, if yes, execute step 403; otherwise, repeatedly execute step 402.

步骤403、通过GPS传感器记录移动终端的移动轨迹。Step 403, recording the movement track of the mobile terminal through the GPS sensor.

步骤404、根据移动轨迹确定用户的行进方向,并确定行进方向与内置地图中与移动终端位置对应的目标道路的延伸方向的夹角。Step 404: Determine the user's traveling direction according to the movement track, and determine the included angle between the traveling direction and the extending direction of the target road corresponding to the location of the mobile terminal in the built-in map.

步骤405、判断夹角是否大于预设角度阈值,若是,则执行步骤406;否则,返回执行步骤404。Step 405 , judging whether the included angle is greater than the preset angle threshold, if yes, execute step 406 ; otherwise, return to execute step 404 .

可以理解的是,若移动终端处于移动状态,GPS会实时记录移动终端的移动轨迹,再次执行步骤404时,移动轨迹已更新。It can be understood that, if the mobile terminal is in a moving state, the GPS will record the moving track of the mobile terminal in real time, and when step 404 is executed again, the moving track has been updated.

步骤406、判定为用户在穿越马路,控制移动终端的屏幕显示提示文字。Step 406, determine that the user is crossing the road, and control the screen of the mobile terminal to display prompt text.

示例性的,该提示文字可提示用户正在穿越马路,注意车辆安全。Exemplarily, the prompt text may prompt the user to pay attention to vehicle safety while crossing the road.

本发明实施例提供的移动终端的提示方法,在检测到用户可能在行走过程中使用移动终端的情况下,对安全情况进行合理提示,丰富了移动终端的提示功能。The prompting method of the mobile terminal provided by the embodiment of the present invention provides a reasonable prompt for the safety situation when it is detected that the user may use the mobile terminal while walking, which enriches the prompting function of the mobile terminal.

图5为本发明实施例提供的一种移动终端的提示装置的结构框图,该装置可由软件和/或硬件实现,一般集成在移动终端中,可通过执行移动终端的提示方法来控制移动终端进行相关提示。如图5所示,该装置包括方向确定模块501、目标道路确定模块502和提示控制模块503。Fig. 5 is a structural block diagram of a prompting device for a mobile terminal provided by an embodiment of the present invention. The device can be realized by software and/or hardware, and is generally integrated in a mobile terminal. Related tips. As shown in FIG. 5 , the device includes a direction determination module 501 , a target road determination module 502 and a prompt control module 503 .

其中,方向确定模块501,用于检测到用户在移动终端的移动状态下使用所述移动终端时,确定所述用户的行进方向;目标道路确定模块502,用于在电子地图中确定与所述移动终端对应的目标道路;提示控制模块503,用于在所述行进方向与所述目标道路的延伸方向的夹角大于预设角度阈值时,控制所述移动终端进行相关安全提示。Among them, the direction determination module 501 is used to determine the direction of travel of the user when detecting that the user is using the mobile terminal while the mobile terminal is in a moving state; the target road determination module 502 is used to determine in the electronic map the The target road corresponding to the mobile terminal; a reminder control module 503, configured to control the mobile terminal to give relevant safety reminders when the included angle between the traveling direction and the extending direction of the target road is greater than a preset angle threshold.

本发明实施例提供的移动终端的提示装置,在检测到用户可能在行走过程中使用移动终端的情况下,对安全情况进行合理提示,丰富了移动终端的提示功能。The prompting device for the mobile terminal provided by the embodiment of the present invention provides a reasonable prompt for the safety situation when it is detected that the user may use the mobile terminal while walking, which enriches the prompting function of the mobile terminal.

在上述实施例的基础上,检测到用户在移动终端的移动状态下使用所述移动终端,包括:On the basis of the above embodiments, it is detected that the user is using the mobile terminal while the mobile terminal is moving, including:

判断所述移动终端的屏幕在所述移动终端的移动状态下是否处于显示状态,若是,则检测到用户在移动终端的移动状态下使用所述移动终端;Judging whether the screen of the mobile terminal is in a display state in the mobile state of the mobile terminal, if so, detecting that the user is using the mobile terminal in the mobile state of the mobile terminal;

或者,or,

在所述移动终端的移动状态下通过虹膜识别或人脸识别判断所述移动终端的屏幕前方是否出现人眼或人脸,若出现,则检测到用户在移动终端的移动状态下使用所述移动终端。In the moving state of the mobile terminal, judge whether human eyes or faces appear in front of the screen of the mobile terminal through iris recognition or face recognition. If so, it is detected that the user is using the mobile terminal.

在上述实施例的基础上,所述方向确定模块包括轨迹记录单元和方向确定单元。其中,轨迹记录单元,用于检测到用户在移动终端的移动状态下使用所述移动终端时,记录所述移动终端的移动轨迹;方向确定单元,用于根据所述移动轨迹确定用户的行进方向。On the basis of the above embodiments, the direction determining module includes a track recording unit and a direction determining unit. Wherein, the track recording unit is used to record the moving track of the mobile terminal when detecting that the user is using the mobile terminal in the moving state of the mobile terminal; the direction determining unit is used to determine the traveling direction of the user according to the moving track .

在上述实施例的基础上,所述目标道路确定模块包括位置获取单元和目标道路确定单元。其中,位置获取单元,用于获取所述移动终端的当前位置;目标道路确定单元,用于根据所述当前位置在电子地图中确定相应预设范围内的目标道路。On the basis of the above embodiments, the target road determination module includes a position acquisition unit and a target road determination unit. Wherein, the location obtaining unit is used to obtain the current location of the mobile terminal; the target road determination unit is used to determine the target road within the corresponding preset range in the electronic map according to the current location.

在上述实施例的基础上,所述目标道路确定单元包括圆心确定子单元、预设范围确定子单元和目标道路确定子单元。其中,圆心确定子单元,用于根据所述当前位置在电子地图中确定与所述当前位置相对应的坐标为圆心;预设范围确定子单元,用于根据所述圆心和预设半径确定相应预设范围;目标道路确定子单元,用于从所确定的预设范围内确定目标道路。On the basis of the above embodiments, the target road determination unit includes a circle center determination subunit, a preset range determination subunit and a target road determination subunit. Among them, the circle center determination subunit is used to determine the coordinates corresponding to the current position in the electronic map as the circle center according to the current position; the preset range determination subunit is used to determine the corresponding circle center according to the circle center and the preset radius. Preset range; a target road determining subunit, configured to determine the target road within the determined preset range.

在上述实施例的基础上,所述目标道路确定子单元具体用于:当所确定的预设范围内仅包含一条道路时,将该道路确定为目标道路;当所确定的预设范围内包含多条道路时,分别计算所述圆心到每条道路的垂线段的长度,将所对应的垂线段的长度逐渐变短的道路确定为目标道路。On the basis of the above embodiments, the target road determining subunit is specifically configured to: when only one road is included in the determined preset range, determine the road as the target road; For roads, the lengths of the perpendicular segments from the center of the circle to each road are calculated respectively, and the corresponding roads whose lengths of the perpendicular segments gradually become shorter are determined as target roads.

在上述实施例的基础上,所述提示控制模块包括交叉点确定单元、夹角确定单元和提示控制单元。其中,交叉点确定单元,用于在所确定的目标道路为多条时,确定多条目标道路的交叉点;夹角确定单元,用于在所述移动终端的所在位置与所述交叉点的距离逐渐减小时,确定所述行进方向与多条目标道路中的每条目标道路的延伸方向的夹角;提示控制单元,用于在任一夹角大于预设角度阈值时,控制所述移动终端进行相关安全提示。On the basis of the above embodiments, the prompt control module includes an intersection point determination unit, an included angle determination unit and a prompt control unit. Wherein, the intersection determination unit is used to determine the intersection of multiple target roads when there are multiple target roads; the angle determination unit is used to determine the intersection between the location of the mobile terminal and the intersection. When the distance gradually decreases, determine the included angle between the traveling direction and the extension direction of each of the multiple target roads; prompt the control unit, configured to control the mobile terminal when any included angle is greater than a preset angle threshold Carry out relevant safety reminders.

本发明实施例提供了一种移动终端,该移动终端可以包括本发明任意实施例提供的移动终端的提示装置。图6为本发明实施例六提供的一种移动终端的结构示意图,如图6所示,该移动终端可以包括:存储器601、中央处理器(Central Processing Unit,CPU)602、外设接口603、RF(Radio Frequency,射频)电路605、音频电路606、扬声器611、电源管理芯片608、输入/输出(I/O)子系统609、触摸屏612、其他输入/控制设备610以及外部端口604,这些部件通过一个或多个通信总线或信号线607来通信。An embodiment of the present invention provides a mobile terminal, and the mobile terminal may include the mobile terminal prompting device provided in any embodiment of the present invention. FIG. 6 is a schematic structural diagram of a mobile terminal provided in Embodiment 6 of the present invention. As shown in FIG. 6 , the mobile terminal may include: a memory 601, a central processing unit (Central Processing Unit, CPU) 602, a peripheral interface 603, RF (Radio Frequency, radio frequency) circuit 605, audio circuit 606, speaker 611, power management chip 608, input/output (I/O) subsystem 609, touch screen 612, other input/control devices 610 and external port 604, these components Communication is via one or more communication buses or signal lines 607 .

应该理解的是,图示移动终端600仅仅是移动终端的一个范例,并且移动终端600可以具有比图中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。It should be understood that the illustrated mobile terminal 600 is only an example of a mobile terminal, and the mobile terminal 600 may have more or fewer components than those shown in the figure, and two or more components may be combined, Or can have a different component configuration. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and/or application specific integrated circuits.

下面就本实施例提供的用于信息提示的移动终端进行详细的描述,该移动终端以手机为例。The following describes in detail the mobile terminal used for information prompt provided by this embodiment, and the mobile terminal takes a mobile phone as an example.

存储器601,所述存储器601可以被CPU602、外设接口603等访问,所述存储器601可以包括高速随机存取存储器,还可以包括非易失性存储器,例如一个或多个磁盘存储器件、闪存器件、或其他易失性固态存储器件。Memory 601, the memory 601 can be accessed by the CPU 602, the peripheral interface 603, etc., the memory 601 can include a high-speed random access memory, and can also include a non-volatile memory, such as one or more disk storage devices, flash memory devices , or other volatile solid-state storage devices.

外设接口603,所述外设接口603可以将设备的输入和输出外设连接到CPU602和存储器601。Peripheral interface 603 , which can connect the input and output peripherals of the device to CPU 602 and memory 601 .

I/O子系统609,所述I/O子系统609可以将设备上的输入输出外设,例如触摸屏612和其他输入/控制设备610,连接到外设接口603。I/O子系统609可以包括显示控制器6091和用于控制其他输入/控制设备610的一个或多个输入控制器6092。其中,一个或多个输入控制器6092从其他输入/控制设备610接收电信号或者向其他输入/控制设备610发送电信号,其他输入/控制设备610可以包括物理按钮(按压按钮、摇臂按钮等)、拨号盘、滑动开关、操纵杆、点击滚轮。值得说明的是,输入控制器6092可以与以下任一个连接:键盘、红外端口、USB接口以及诸如鼠标的指示设备。The I/O subsystem 609 , the I/O subsystem 609 can connect input and output peripherals on the device, such as a touch screen 612 and other input/control devices 610 , to the peripheral interface 603 . I/O subsystem 609 may include a display controller 6091 and one or more input controllers 6092 for controlling other input/control devices 610 . Among them, one or more input controllers 6092 receive electrical signals from or send electrical signals to other input/control devices 610, which may include physical buttons (push buttons, rocker buttons, etc.) ), dials, slide switches, joysticks, click wheels. It is worth noting that the input controller 6092 can be connected to any of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.

触摸屏612,所述触摸屏612是用户终端与用户之间的输入接口和输出接口,将可视输出显示给用户,可视输出可以包括图形、文本、图标、视频等。A touch screen 612, the touch screen 612 is an input interface and an output interface between the user terminal and the user, and displays visual output to the user. The visual output may include graphics, text, icons, videos, and the like.

I/O子系统609中的显示控制器6091从触摸屏612接收电信号或者向触摸屏612发送电信号。触摸屏612检测触摸屏上的接触,显示控制器6091将检测到的接触转换为与显示在触摸屏612上的用户界面对象的交互,即实现人机交互,显示在触摸屏612上的用户界面对象可以是运行游戏的图标、联网到相应网络的图标等。值得说明的是,设备还可以包括光鼠,光鼠是不显示可视输出的触摸敏感表面,或者是由触摸屏形成的触摸敏感表面的延伸。The display controller 6091 in the I/O subsystem 609 receives electrical signals from the touch screen 612 or sends electrical signals to the touch screen 612 . The touch screen 612 detects the contact on the touch screen, and the display controller 6091 converts the detected contact into an interaction with the user interface object displayed on the touch screen 612, that is, realizes human-computer interaction, and the user interface object displayed on the touch screen 612 can be a running Icons for games, icons for networking to appropriate networks, etc. It is worth noting that the device may also include an optical mouse, which is a touch-sensitive surface that does not display visual output, or that is an extension of a touch-sensitive surface formed by a touch screen.

RF电路605,主要用于建立手机与无线网络(即网络侧)的通信,实现手机与无线网络的数据接收和发送。例如收发短信息、电子邮件等。具体地,RF电路605接收并发送RF信号,RF信号也称为电磁信号,RF电路605将电信号转换为电磁信号或将电磁信号转换为电信号,并且通过该电磁信号与通信网络以及其他设备进行通信。RF电路605可以包括用于执行这些功能的已知电路,其包括但不限于天线系统、RF收发机、一个或多个放大器、调谐器、一个或多个振荡器、数字信号处理器、CODEC(COder-DECoder,编译码器)芯片组、用户标识模块(Subscriber Identity Module,SIM)等等。The RF circuit 605 is mainly used to establish communication between the mobile phone and the wireless network (that is, the network side), and realize data reception and transmission between the mobile phone and the wireless network. Such as sending and receiving short messages, e-mails, etc. Specifically, the RF circuit 605 receives and sends RF signals, which are also called electromagnetic signals, and the RF circuit 605 converts electrical signals into electromagnetic signals or converts electromagnetic signals into electrical signals, and communicates with communication networks and other devices through the electromagnetic signals to communicate. RF circuitry 605 may include known circuitry for performing these functions including, but not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC ( COder-DECoder, Codec) Chipset, Subscriber Identity Module (Subscriber Identity Module, SIM) and so on.

音频电路606,主要用于从外设接口603接收音频数据,将该音频数据转换为电信号,并且将该电信号发送给扬声器611。The audio circuit 606 is mainly used to receive audio data from the peripheral interface 603 , convert the audio data into electrical signals, and send the electrical signals to the speaker 611 .

扬声器611,用于将手机通过RF电路605从无线网络接收的语音信号,还原为声音并向用户播放该声音。The speaker 611 is used to restore the voice signal received by the mobile phone from the wireless network through the RF circuit 605 into sound and play the sound to the user.

电源管理芯片608,用于为CPU602、I/O子系统及外设接口所连接的硬件进行供电及电源管理。The power management chip 608 is used for power supply and power management for the hardware connected to the CPU 602 , the I/O subsystem and the peripheral interface.

本发明实施例提供的CPU602可执行如下操作:The CPU602 provided by the embodiment of the present invention can perform the following operations:

检测到用户在移动终端的移动状态下使用所述移动终端时,确定所述用户的行进方向;When detecting that the user is using the mobile terminal in a moving state of the mobile terminal, determining the direction of travel of the user;

在电子地图中确定与所述移动终端对应的目标道路;determining a target road corresponding to the mobile terminal in the electronic map;

当所述行进方向与所述目标道路的延伸方向的夹角大于预设角度阈值时,控制所述移动终端进行相关安全提示。When the included angle between the traveling direction and the extending direction of the target road is greater than a preset angle threshold, the mobile terminal is controlled to give relevant safety prompts.

上述实施例中提供的移动终端的提示装置及移动终端可执行本发明任意实施例所提供的移动终端的提示方法,具备执行该方法相应的功能模块和有益效果。未在上述实施例中详尽描述的技术细节,可参见本发明任意实施例所提供的移动终端的提示方法。The mobile terminal prompting device and mobile terminal provided in the above embodiments can execute the mobile terminal prompting method provided in any embodiment of the present invention, and have corresponding functional modules and beneficial effects for executing the method. For technical details not exhaustively described in the foregoing embodiments, reference may be made to the prompting method of a mobile terminal provided in any embodiment of the present invention.

注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present invention and applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention, and the present invention The scope is determined by the scope of the appended claims.

Claims (15)

1.一种移动终端的提示方法,其特征在于,包括:1. A prompting method for a mobile terminal, comprising: 检测到用户在移动终端的移动状态下使用所述移动终端时,确定所述用户的行进方向;When detecting that the user is using the mobile terminal in a moving state of the mobile terminal, determining the direction of travel of the user; 在电子地图中确定与所述移动终端对应的目标道路;determining a target road corresponding to the mobile terminal in the electronic map; 当所述行进方向与所述目标道路的延伸方向的夹角大于预设角度阈值时,控制所述移动终端进行相关安全提示。When the included angle between the traveling direction and the extending direction of the target road is greater than a preset angle threshold, the mobile terminal is controlled to give relevant safety prompts. 2.根据权利要求1所述的方法,其特征在于,检测到用户在移动终端的移动状态下使用所述移动终端,包括:2. The method according to claim 1, wherein detecting that the user uses the mobile terminal in a moving state of the mobile terminal comprises: 判断所述移动终端的屏幕在所述移动终端的移动状态下是否处于显示状态,若是,则检测到用户在移动终端的移动状态下使用所述移动终端;Judging whether the screen of the mobile terminal is in a display state in the mobile state of the mobile terminal, if so, detecting that the user is using the mobile terminal in the mobile state of the mobile terminal; 或者,or, 在所述移动终端的移动状态下通过虹膜识别或人脸识别判断所述移动终端的屏幕前方是否出现人眼或人脸,若出现,则检测到用户在移动终端的移动状态下使用所述移动终端。In the moving state of the mobile terminal, judge whether human eyes or faces appear in front of the screen of the mobile terminal through iris recognition or face recognition. If so, it is detected that the user is using the mobile terminal. 3.根据权利要求1所述的方法,其特征在于,所述确定用户的行进方向,包括:3. The method according to claim 1, wherein said determining the direction of travel of the user comprises: 记录所述移动终端的移动轨迹;Recording the movement track of the mobile terminal; 根据所述移动轨迹确定用户的行进方向。The traveling direction of the user is determined according to the movement track. 4.根据权利要求1所述的方法,其特征在于,在电子地图中确定与所述移动终端对应的目标道路,包括:4. The method according to claim 1, wherein determining the target road corresponding to the mobile terminal in the electronic map comprises: 获取所述移动终端的当前位置;obtaining the current location of the mobile terminal; 根据所述当前位置在电子地图中确定相应预设范围内的目标道路。A target road within a corresponding preset range is determined in the electronic map according to the current position. 5.根据权利要求4所述的方法,其特征在于,根据所述当前位置在电子地图中确定相应预设范围内的目标道路,包括:5. The method according to claim 4, wherein determining the target road within the corresponding preset range in the electronic map according to the current position comprises: 根据所述当前位置在电子地图中确定与所述当前位置相对应的坐标为圆心;determining the coordinates corresponding to the current position in the electronic map as the center of the circle according to the current position; 根据所述圆心和预设半径确定相应预设范围;determining a corresponding preset range according to the center of the circle and the preset radius; 从所确定的预设范围内确定目标道路。The target road is determined from within the determined preset range. 6.根据权利要求5所述的方法,其特征在于,从所确定的预设范围内确定目标道路,包括:6. The method according to claim 5, wherein determining the target road from within the determined preset range comprises: 当所确定的预设范围内仅包含一条道路时,将该道路确定为目标道路;When only one road is included in the determined preset range, the road is determined as the target road; 当所确定的预设范围内包含多条道路时,分别计算所述圆心到每条道路的垂线段的长度,将所对应的垂线段的长度逐渐变短的道路确定为目标道路。When the determined preset range contains multiple roads, the lengths of the perpendicular segments from the center of the circle to each road are calculated respectively, and the corresponding roads whose lengths of the perpendicular segments gradually become shorter are determined as target roads. 7.根据权利要求1所述的方法,其特征在于,若所确定的目标道路为多条,当所述行进方向与所述目标道路的延伸方向的夹角大于预设角度阈值时,控制所述移动终端进行相关安全提示,包括:7. The method according to claim 1, wherein if there are multiple determined target roads, when the included angle between the traveling direction and the extending direction of the target road is greater than a preset angle threshold, control the The above-mentioned mobile terminal will provide relevant security reminders, including: 确定多条目标道路的交叉点;Determining intersections of multiple target roads; 当所述移动终端的所在位置与所述交叉点的距离逐渐减小时,确定所述行进方向与多条目标道路中的每条目标道路的延伸方向的夹角;When the distance between the location of the mobile terminal and the intersection gradually decreases, determine the included angle between the traveling direction and the extension direction of each of the multiple target roads; 当任一夹角大于预设角度阈值时,控制所述移动终端进行相关安全提示。When any included angle is greater than a preset angle threshold, the mobile terminal is controlled to give relevant safety prompts. 8.一种移动终端的提示装置,其特征在于,包括:8. A prompting device for a mobile terminal, comprising: 方向确定模块,用于检测到用户在移动终端的移动状态下使用所述移动终端时,确定所述用户的行进方向;A direction determination module, configured to determine the direction of travel of the user when detecting that the user is using the mobile terminal while the mobile terminal is in a moving state; 目标道路确定模块,用于在电子地图中确定与所述移动终端对应的目标道路;a target road determination module, configured to determine a target road corresponding to the mobile terminal in the electronic map; 提示控制模块,用于在所述行进方向与所述目标道路的延伸方向的夹角大于预设角度阈值时,控制所述移动终端进行相关安全提示。A reminder control module, configured to control the mobile terminal to give relevant safety reminders when the included angle between the traveling direction and the extending direction of the target road is greater than a preset angle threshold. 9.根据权利要求8所述的装置,其特征在于,检测到用户在移动终端的移动状态下使用所述移动终端,包括:9. The device according to claim 8, wherein detecting that the user is using the mobile terminal in a moving state of the mobile terminal comprises: 判断所述移动终端的屏幕在所述移动终端的移动状态下是否处于显示状态,若是,则检测到用户在移动终端的移动状态下使用所述移动终端;Judging whether the screen of the mobile terminal is in a display state in the mobile state of the mobile terminal, if so, detecting that the user is using the mobile terminal in the mobile state of the mobile terminal; 或者,or, 在所述移动终端的移动状态下通过虹膜识别或人脸识别判断所述移动终端的屏幕前方是否出现人眼或人脸,若出现,则检测到用户在移动终端的移动状态下使用所述移动终端。In the moving state of the mobile terminal, judge whether human eyes or faces appear in front of the screen of the mobile terminal through iris recognition or face recognition. If so, it is detected that the user is using the mobile terminal. 10.根据权利要求8所述的装置,其特征在于,所述方向确定模块包括:10. The device according to claim 8, wherein the direction determining module comprises: 轨迹记录单元,用于检测到用户在移动终端的移动状态下使用所述移动终端时,记录所述移动终端的移动轨迹;A trajectory recording unit, configured to record the movement trajectory of the mobile terminal when it is detected that the user is using the mobile terminal while the mobile terminal is moving; 方向确定单元,用于根据所述移动轨迹确定用户的行进方向。A direction determining unit, configured to determine the traveling direction of the user according to the movement track. 11.根据权利要求8所述的装置,其特征在于,所述目标道路确定模块包括:11. The device according to claim 8, wherein the target road determination module comprises: 位置获取单元,用于获取所述移动终端的当前位置;a location acquisition unit, configured to acquire the current location of the mobile terminal; 目标道路确定单元,用于根据所述当前位置在电子地图中确定相应预设范围内的目标道路。A target road determining unit, configured to determine a target road within a corresponding preset range in the electronic map according to the current position. 12.根据权利要求11所述的装置,其特征在于,所述目标道路确定单元包括:12. The device according to claim 11, wherein the target road determination unit comprises: 圆心确定子单元,用于根据所述当前位置在电子地图中确定与所述当前位置相对应的坐标为圆心;A circle center determining subunit, configured to determine the coordinates corresponding to the current position in the electronic map as the center of the circle according to the current position; 预设范围确定子单元,用于根据所述圆心和预设半径确定相应预设范围;A preset range determining subunit, configured to determine a corresponding preset range according to the center of the circle and the preset radius; 目标道路确定子单元,用于从所确定的预设范围内确定目标道路。The target road determination subunit is used to determine the target road within the determined preset range. 13.根据权利要求12所述的装置,其特征在于,所述目标道路确定子单元具体用于:13. The device according to claim 12, wherein the target road determination subunit is specifically used for: 当所确定的预设范围内仅包含一条道路时,将该道路确定为目标道路;When only one road is included in the determined preset range, the road is determined as the target road; 当所确定的预设范围内包含多条道路时,分别计算所述圆心到每条道路的垂线段的长度,将所对应的垂线段的长度逐渐变短的道路确定为目标道路。When the determined preset range contains multiple roads, the lengths of the perpendicular segments from the center of the circle to each road are calculated respectively, and the corresponding roads whose lengths of the perpendicular segments gradually become shorter are determined as target roads. 14.根据权利要求8所述的装置,其特征在于,所述提示控制模块包括:14. The device according to claim 8, wherein the prompt control module comprises: 交叉点确定单元,用于在所确定的目标道路为多条时,确定多条目标道路的交叉点;an intersection determining unit, configured to determine intersections of multiple target roads when there are multiple determined target roads; 夹角确定单元,用于在所述移动终端的所在位置与所述交叉点的距离逐渐减小时,确定所述行进方向与多条目标道路中的每条目标道路的延伸方向的夹角;An included angle determining unit, configured to determine an included angle between the traveling direction and the extending direction of each of the plurality of target roads when the distance between the location of the mobile terminal and the intersection gradually decreases; 提示控制单元,用于在任一夹角大于预设角度阈值时,控制所述移动终端进行相关安全提示。A reminder control unit, configured to control the mobile terminal to give relevant safety reminders when any included angle is greater than a preset angle threshold. 15.一种移动终端,其特征在于,所述移动终端集成了如权利要求8-14任意一项所述的移动终端的提示装置。15. A mobile terminal, characterized in that the mobile terminal integrates the prompting device of the mobile terminal according to any one of claims 8-14.
CN201610956900.2A 2016-11-03 2016-11-03 A kind of reminding method of mobile terminal, device and mobile terminal Expired - Fee Related CN106525024B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610956900.2A CN106525024B (en) 2016-11-03 2016-11-03 A kind of reminding method of mobile terminal, device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610956900.2A CN106525024B (en) 2016-11-03 2016-11-03 A kind of reminding method of mobile terminal, device and mobile terminal

Publications (2)

Publication Number Publication Date
CN106525024A true CN106525024A (en) 2017-03-22
CN106525024B CN106525024B (en) 2019-05-21

Family

ID=58325767

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610956900.2A Expired - Fee Related CN106525024B (en) 2016-11-03 2016-11-03 A kind of reminding method of mobile terminal, device and mobile terminal

Country Status (1)

Country Link
CN (1) CN106525024B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107300389A (en) * 2017-06-28 2017-10-27 珠海市魅族科技有限公司 Navigation control method and device, navigation terminal and computer-readable recording medium
CN112541457A (en) * 2020-12-21 2021-03-23 重庆紫光华山智安科技有限公司 Searching method and related device for monitoring node
CN113380421A (en) * 2021-04-29 2021-09-10 青岛海尔科技有限公司 Method, system, device and equipment for epidemic situation reminding
CN114913677A (en) * 2022-06-08 2022-08-16 北京千尧新能源科技开发有限公司 Control method of marine telescopic corridor bridge and related equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008065482A (en) * 2006-09-05 2008-03-21 Mazda Motor Corp Driving support system for vehicle
CN102112348A (en) * 2008-07-30 2011-06-29 日产自动车株式会社 Vehicle controlling device
CN103247144A (en) * 2012-02-07 2013-08-14 宇龙计算机通信科技(深圳)有限公司 Traffic safety prompting method and mobile terminal
CN103685760A (en) * 2013-12-24 2014-03-26 深圳市金立通信设备有限公司 Safety prompting method and mobile terminal
CN103731551A (en) * 2013-12-16 2014-04-16 深圳市金立通信设备有限公司 Method for convoying user and mobile terminal
CN205103563U (en) * 2015-10-09 2016-03-23 深圳市盛思达通讯技术有限公司 Realize intelligent wrist -watch of pronunciation navigation control

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008065482A (en) * 2006-09-05 2008-03-21 Mazda Motor Corp Driving support system for vehicle
CN102112348A (en) * 2008-07-30 2011-06-29 日产自动车株式会社 Vehicle controlling device
CN103247144A (en) * 2012-02-07 2013-08-14 宇龙计算机通信科技(深圳)有限公司 Traffic safety prompting method and mobile terminal
CN103731551A (en) * 2013-12-16 2014-04-16 深圳市金立通信设备有限公司 Method for convoying user and mobile terminal
CN103685760A (en) * 2013-12-24 2014-03-26 深圳市金立通信设备有限公司 Safety prompting method and mobile terminal
CN205103563U (en) * 2015-10-09 2016-03-23 深圳市盛思达通讯技术有限公司 Realize intelligent wrist -watch of pronunciation navigation control

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107300389A (en) * 2017-06-28 2017-10-27 珠海市魅族科技有限公司 Navigation control method and device, navigation terminal and computer-readable recording medium
CN112541457A (en) * 2020-12-21 2021-03-23 重庆紫光华山智安科技有限公司 Searching method and related device for monitoring node
CN113380421A (en) * 2021-04-29 2021-09-10 青岛海尔科技有限公司 Method, system, device and equipment for epidemic situation reminding
CN114913677A (en) * 2022-06-08 2022-08-16 北京千尧新能源科技开发有限公司 Control method of marine telescopic corridor bridge and related equipment

Also Published As

Publication number Publication date
CN106525024B (en) 2019-05-21

Similar Documents

Publication Publication Date Title
CN109166141A (en) Danger reminding method and device, storage medium and mobile terminal
KR101513643B1 (en) Information providing apparatus and method thereof
CN102238282B (en) Mobile terminal capable of providing multiplayer game and operating method thereof
US20130328810A1 (en) Storing trace information
CN110095128B (en) Method, device, equipment and storage medium for acquiring missing road information
KR101696930B1 (en) Method for setting private mode in mobile terminal and mobile terminal using the same
CN106534523A (en) Mobile terminal danger early-warning method, and mobile terminal
EP3137849A1 (en) Automated detection of vehicle parking and location
CN106525024B (en) A kind of reminding method of mobile terminal, device and mobile terminal
CN106254667A (en) A kind of method of prompting and mobile terminal
CN109936664A (en) Message prompt method, device and storage medium
CN114332821A (en) Decision information acquisition method, device, terminal and storage medium
CN108632758A (en) Terminal tracing method, processing unit and terminal and storage medium
CN107846518A (en) A kind of navigational state switching method, mobile terminal and computer-readable recording medium
CN107907886A (en) Driving condition recognition method, device, storage medium and terminal equipment
CN107995367A (en) Arrival reminder method, device, storage medium and mobile terminal
CN118238836A (en) Vehicle interaction method, device, electronic device and readable storage medium
CN109032322B (en) Navigation control method, navigation control device, terminal equipment and storage medium
CN111038497B (en) Automatic driving control method and device, vehicle-mounted terminal and readable storage medium
CN110231049B (en) Navigation route display method, device, terminal and storage medium
CN108597194A (en) alarm method, device, terminal device and storage medium
CN112991790B (en) Method, device, electronic device and medium for prompting user
WO2016179784A1 (en) Warning method and apparatus, and mobile terminal
CN109484480B (en) Automobile control method and device and storage medium
US10536810B2 (en) Electronic apparatus, control method, and non-transitory computer-readable recording medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190521

CF01 Termination of patent right due to non-payment of annual fee