CN105204052A - User terminal positioning mode switching method and user terminal - Google Patents
User terminal positioning mode switching method and user terminal Download PDFInfo
- Publication number
- CN105204052A CN105204052A CN201510567468.3A CN201510567468A CN105204052A CN 105204052 A CN105204052 A CN 105204052A CN 201510567468 A CN201510567468 A CN 201510567468A CN 105204052 A CN105204052 A CN 105204052A
- Authority
- CN
- China
- Prior art keywords
- user terminal
- event
- positioning mode
- preset
- flick
- 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
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO 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/00—Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
- G01S19/38—Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
- G01S19/39—Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
- G01S19/42—Determining position
- G01S19/48—Determining position by combining or switching between position solutions derived from the satellite radio beacon positioning system and position solutions derived from a further system
Landscapes
- Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
本发明实施例公开了一种用户终端的定位模式切换方法及用户终端。其中,所述用户终端包括第一光线传感器和第二光线传感器,该方法包括:获取第一光线传感器测量的当前环境的第一环境光强度值,以及获取第二光线传感器测量的当前环境的第二环境光强度值;判断所述第一环境光强度值与所述第二环境光强度值之差的绝对值是否大于或等于预设阈值;若是,则确定所述用户终端当前所处的环境为室内环境;将GPS定位模式切换为WIFI定位模式。实施本发明实施例可以提高定位模式切换的效率。
The embodiment of the invention discloses a positioning mode switching method of a user terminal and the user terminal. Wherein, the user terminal includes a first light sensor and a second light sensor, and the method includes: acquiring a first ambient light intensity value of the current environment measured by the first light sensor, and acquiring a first ambient light intensity value of the current environment measured by the second light sensor Two ambient light intensity values; determine whether the absolute value of the difference between the first ambient light intensity value and the second ambient light intensity value is greater than or equal to a preset threshold; if so, determine the environment in which the user terminal is currently located For indoor environment; switch GPS positioning mode to WIFI positioning mode. Implementing the embodiment of the present invention can improve the efficiency of positioning mode switching.
Description
技术领域technical field
本发明涉及通讯技术领域,尤其涉及一种用户终端的定位模式切换方法及用户终端。The present invention relates to the field of communication technology, in particular to a positioning mode switching method of a user terminal and the user terminal.
背景技术Background technique
目前,为了实现精准的定位,在室外时,用户通常使用用户终端(如智能手机、IPAD等)的GPS模式来定位,而在室内时,用户通常使用用户终端的WIFI模式来定位。At present, in order to achieve accurate positioning, the user usually uses the GPS mode of the user terminal (such as a smart phone, IPAD, etc.) to locate when outdoors, and the user usually uses the WIFI mode of the user terminal to locate when indoors.
然而实践中发现,室内外定位模式的切换通常是由用户手动来操作的。举例来说,当用户从室外进入室内时,用户需要进入用户终端的定位模式设置界面,将定位模式设置为WIFI定位模式;当用户从室内进入室外时,用户同样需要进入用户终端的定位模式设置界面,将定位模式设置为GPS定位模式。如果在一段时间内用户频繁在室内和室外之间进出,比如:在景区游玩时,在一天内用户需要在室内景点和室外景点间频繁出入,这种手动设置定位模式的方式将极大降低了定位模式切换的效率。However, it has been found in practice that the switching between the indoor and outdoor positioning modes is usually manually operated by the user. For example, when the user enters the room from the outside, the user needs to enter the positioning mode setting interface of the user terminal, and set the positioning mode to WIFI positioning mode; when the user enters the outdoor from the room, the user also needs to enter the positioning mode setting of the user terminal interface, set the positioning mode to GPS positioning mode. If the user frequently enters and exits between indoors and outdoors for a period of time, for example: when visiting a scenic spot, the user needs to frequently enter and exit between indoor and outdoor scenic spots within a day, this method of manually setting the positioning mode will greatly reduce the Efficiency of positioning mode switching.
发明内容Contents of the invention
本发明实施例提供了一种用户终端的定位模式切换方法及用户终端,可以提高定位模式切换的效率。Embodiments of the present invention provide a positioning mode switching method of a user terminal and the user terminal, which can improve the efficiency of positioning mode switching.
本发明实施例第一方面公开了一种用户终端的定位模式切换方法,所述用户终端包括第一光线传感器和第二光线传感器,所述方法包括:The first aspect of the embodiment of the present invention discloses a positioning mode switching method of a user terminal, where the user terminal includes a first light sensor and a second light sensor, and the method includes:
获取第一光线传感器测量的当前环境的第一环境光强度值,以及获取第二光线传感器测量的当前环境的第二环境光强度值;Obtain a first ambient light intensity value of the current environment measured by the first light sensor, and acquire a second ambient light intensity value of the current environment measured by the second light sensor;
判断所述第一环境光强度值与所述第二环境光强度值之差的绝对值是否大于或等于预设阈值;judging whether the absolute value of the difference between the first ambient light intensity value and the second ambient light intensity value is greater than or equal to a preset threshold;
若是,则确定所述用户终端当前所处的环境为室内环境;If so, then determine that the environment in which the user terminal is currently located is an indoor environment;
将GPS定位模式切换为WIFI定位模式。Switch GPS positioning mode to WIFI positioning mode.
结合第一方面,在第一方面的第一种可能的实施方式中,所述确定所述用户终端当前所处的环境为室内环境之后,所述方法还包括:With reference to the first aspect, in a first possible implementation manner of the first aspect, after determining that the current environment of the user terminal is an indoor environment, the method further includes:
检测所述用户终端以及与所述用户终端绑定的穿戴设备是否均在预设时长内发生同一动作事件;Detecting whether the user terminal and the wearable device bound to the user terminal have the same action event within a preset time period;
若是,则执行所述将GPS定位模式切换为WIFI定位模式的步骤。If yes, execute the step of switching the GPS positioning mode to the WIFI positioning mode.
结合第一方面的第一种可能的实施方式,在第一方面的第二种可能的实施方式中,所述检测所述用户终端以及与所述用户终端绑定的穿戴设备是否均在预设时长内发生同一动作事件,包括:With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the detecting whether the user terminal and the wearable device bound to the user terminal are both in the preset The same action event occurs within the duration, including:
检测所述用户终端是否发生第一甩动作事件,如果所述用户终端发生第一甩动作事件,检测所述用户终端绑定的穿戴设备是否发生第二甩动作事件,如果所述穿戴设备发生第二甩动作事件,判断所述第一甩动作事件和所述第二甩动作事件包括的甩动作方向是否相同,如果甩动作方向相同,判断所述第一甩动作事件和所述第二甩动作事件包括的甩动作起始时间是否均位于预设时长内,以及所述第一甩动作事件和所述第二甩动作事件包括的甩动作持续时长是否均位于所述预设时长内,如果所述第一甩动作事件和所述第二甩动作事件包括的甩动作起始时间均位于预设时长内,以及所述第一甩动作事件和所述第二甩动作事件包括的甩动作持续时长均位于所述预设时长内,判断所述第一甩动作事件与所述第二甩动作事件包括的甩动作起始时间的差值是否小于第一预设阈值,如果所述第一甩动作事件与所述第二甩动作事件包括的甩动作起始时间的差值小于第一预设阈值,判断所述第一甩动作事件与所述第二甩动作事件包括的甩动作持续时长的差值是否小于第二预设阈值,如果所述第一甩动作事件与所述第二甩动作事件包括的甩动作持续时长的差值小于第二预设阈值,确定所述用户终端以及所述穿戴设备均在所述预设时长内发生同一动作事件。Detecting whether the user terminal has a first flick event, if the user terminal has the first flick event, detecting whether the wearable device bound to the user terminal has a second flick event, if the wearable device has the first flick event For the second flicking action event, judge whether the flicking action directions included in the first flicking action event and the second flicking action event are the same, if the flicking action directions are the same, judge the first flicking action event and the second flicking action event Whether the start time of the flick action included in the event is within the preset duration, and whether the duration of the flick action included in the first flick event and the second flick event is within the preset duration, if The starting time of the flicking action included in the first flicking action event and the second flicking action event is within the preset duration, and the duration of the flicking action included in the first flicking action event and the second flicking action event are all within the preset duration, and it is judged whether the difference between the start time of the first flick event and the second flick event is less than the first preset threshold, if the first flick The difference between the start time of the flicking action included in the event and the second flicking action event is less than the first preset threshold, and the difference in the duration of the flicking action included in the first flicking action event and the second flicking action event is judged Whether the value is less than a second preset threshold, if the difference between the duration of the swing action included in the first swing event and the second swing event is less than the second preset threshold, determine that the user terminal and the wearable The same action event occurs on all devices within the preset time period.
结合第一方面的第一种可能的实施方式,在第一方面的第三种可能的实施方式中,在检测所述用户终端以及与所述用户终端绑定的穿戴设备均在预设时长内发生同一动作事件之后,所述方法还包括:With reference to the first possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, after detecting that both the user terminal and the wearable device bound to the user terminal are within a preset time period After the same action event occurs, the method also includes:
检测是否发生针对所述用户终端的触摸屏的触摸操作;Detecting whether a touch operation on the touch screen of the user terminal occurs;
若是,则判断所述触摸操作的触摸力度是否超过预设力度阈值;If so, determine whether the touch force of the touch operation exceeds a preset force threshold;
当所述触摸操作的触摸力度超过预设力度阈值时,执行所述将GPS定位模式切换为WIFI定位模式的步骤。When the touch force of the touch operation exceeds the preset force threshold, the step of switching the GPS positioning mode to the WIFI positioning mode is performed.
结合第一方面或结合第一方面的第一种可能的实施方式或结合第一方面的第二种可能的实施方式或结合第一方面的第三种可能的实施方式,在第一方面的第四种可能的实施方式中,所述将GPS定位模式切换为WIFI定位模式之后,所述方法还包括:In combination with the first aspect or in combination with the first possible implementation manner of the first aspect or in combination with the second possible implementation manner of the first aspect or in combination with the third possible implementation manner of the first aspect, in the first aspect of the first aspect In four possible implementation manners, after the GPS positioning mode is switched to the WIFI positioning mode, the method further includes:
当所述第一环境光强度值与所述第二环境光强度值之差的绝对值小于所述预设阈值时,确定所述用户终端当前所处的环境为室外环境;When the absolute value of the difference between the first ambient light intensity value and the second ambient light intensity value is less than the preset threshold, determine that the current environment of the user terminal is an outdoor environment;
将所述WIFI定位模式切换为所述GPS定位模式。Switch the WIFI positioning mode to the GPS positioning mode.
本发明实施例第二方面公开了一种用户终端,所述用户终端包括第一光线传感器和第二光线传感器,所述用户终端包括:The second aspect of the embodiment of the present invention discloses a user terminal, the user terminal includes a first light sensor and a second light sensor, and the user terminal includes:
获取单元,用于获取第一光线传感器测量的当前环境的第一环境光强度值,以及获取第二光线传感器测量的当前环境的第二环境光强度值;An acquisition unit, configured to acquire a first ambient light intensity value of the current environment measured by the first light sensor, and acquire a second ambient light intensity value of the current environment measured by the second light sensor;
亮度判断单元,用于判断所述第一环境光强度值与所述第二环境光强度值之差的绝对值是否大于或等于预设阈值;A brightness judging unit, configured to judge whether the absolute value of the difference between the first ambient light intensity value and the second ambient light intensity value is greater than or equal to a preset threshold;
确定单元,用于当所述亮度判断单元判断所述第一环境光强度值与所述第二环境光强度值之差的绝对值大于或等于预设阈值时,确定所述用户终端当前所处的环境为室内环境;A determining unit, configured to determine where the user terminal is currently located when the brightness judging unit judges that the absolute value of the difference between the first ambient light intensity value and the second ambient light intensity value is greater than or equal to a preset threshold The environment is an indoor environment;
切换单元,用于将GPS定位模式切换为WIFI定位模式。The switching unit is used to switch the GPS positioning mode to the WIFI positioning mode.
结合第二方面,在第二方面的第一种可能的实施方式中,所述用户终端还包括:With reference to the second aspect, in a first possible implementation manner of the second aspect, the user terminal further includes:
事件检测单元,用于在所述确定单元确定所述用户终端当前所处的环境为室内环境之后,检测所述用户终端以及与所述用户终端绑定的穿戴设备是否均在预设时长内发生同一动作事件;An event detection unit, configured to detect whether the user terminal and the wearable device bound to the user terminal both occur within a preset time period after the determination unit determines that the current environment of the user terminal is an indoor environment the same action event;
所述切换单元,具体用于当所述事件检测单元检测所述用户终端以及与所述用户终端绑定的穿戴设备均在预设时长内发生同一动作事件时,以及确定单元确定所述用户终端当前所处的环境为室内环境时,将GPS定位模式切换为WIFI定位模式。The switching unit is specifically configured to, when the event detection unit detects that the user terminal and the wearable device bound to the user terminal both have the same action event within a preset time period, and the determination unit determines that the user terminal When the current environment is indoor, switch the GPS positioning mode to WIFI positioning mode.
结合第二方面的第一种可能的实施方式,在第二方面的第二种可能的实施方式中,所述事件检测单元检测所述用户终端以及与所述用户终端绑定的穿戴设备是否均在预设时长内发生同一动作事件的具体实施方式为:With reference to the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the event detection unit detects whether the user terminal and the wearable device bound to the user terminal are The specific implementation method for the same action event to occur within a preset duration is as follows:
检测所述用户终端是否发生第一甩动作事件,如果所述用户终端发生第一甩动作事件,检测所述用户终端绑定的穿戴设备是否发生第二甩动作事件,如果所述穿戴设备发生第二甩动作事件,判断所述第一甩动作事件和所述第二甩动作事件包括的甩动作方向是否相同,如果甩动作方向相同,判断所述第一甩动作事件和所述第二甩动作事件包括的甩动作起始时间是否均位于预设时长内,以及所述第一甩动作事件和所述第二甩动作事件包括的甩动作持续时长是否均位于所述预设时长内,如果所述第一甩动作事件和所述第二甩动作事件包括的甩动作起始时间均位于预设时长内,以及所述第一甩动作事件和所述第二甩动作事件包括的甩动作持续时长均位于所述预设时长内,判断所述第一甩动作事件与所述第二甩动作事件包括的甩动作起始时间的差值是否小于第一预设阈值,如果所述第一甩动作事件与所述第二甩动作事件包括的甩动作起始时间的差值小于第一预设阈值,判断所述第一甩动作事件与所述第二甩动作事件包括的甩动作持续时长的差值是否小于第二预设阈值,如果所述第一甩动作事件与所述第二甩动作事件包括的甩动作持续时长的差值小于第二预设阈值,确定所述用户终端以及所述穿戴设备均在所述预设时长内发生同一动作事件。Detecting whether the user terminal has a first flick event, if the user terminal has the first flick event, detecting whether the wearable device bound to the user terminal has a second flick event, if the wearable device has the first flick event For the second flicking action event, judge whether the flicking action directions included in the first flicking action event and the second flicking action event are the same, if the flicking action directions are the same, judge the first flicking action event and the second flicking action event Whether the start time of the flick action included in the event is within the preset duration, and whether the duration of the flick action included in the first flick event and the second flick event is within the preset duration, if The starting time of the flicking action included in the first flicking action event and the second flicking action event is within the preset duration, and the duration of the flicking action included in the first flicking action event and the second flicking action event are all within the preset duration, and it is judged whether the difference between the start time of the first flick event and the second flick event is less than the first preset threshold, if the first flick The difference between the start time of the flicking action included in the event and the second flicking action event is less than the first preset threshold, and the difference in the duration of the flicking action included in the first flicking action event and the second flicking action event is judged Whether the value is less than a second preset threshold, if the difference between the duration of the swing action included in the first swing event and the second swing event is less than the second preset threshold, determine that the user terminal and the wearable The same action event occurs on all devices within the preset time period.
结合第二方面的第一种可能的实施方式,在第二方面的第三种可能的实施方式中,所述用户终端还包括:With reference to the first possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect, the user terminal further includes:
操作检测单元,用于在所述事件检测单元检测所述用户终端以及与所述用户终端绑定的穿戴设备均在预设时长内发生同一动作事件之后,检测是否发生针对所述用户终端的触摸屏的触摸操作;An operation detection unit, configured to detect whether a touch screen for the user terminal occurs after the event detection unit detects that the user terminal and the wearable device bound to the user terminal both have the same action event within a preset period of time touch operation;
力度判断单元,用于当所述操作检测单元检测发生针对所述用户终端的触摸屏的触摸操作时,判断所述触摸操作的触摸力度是否超过预设力度阈值;A strength judging unit, configured to judge whether the touch strength of the touch operation exceeds a preset strength threshold when the operation detection unit detects that a touch operation on the touch screen of the user terminal occurs;
所述切换单元,具体用于当所述事件检测单元检测所述用户终端以及与所述用户终端绑定的穿戴设备均在预设时长内发生同一动作事件时,以及确定单元确定所述用户终端当前所处的环境为室内环境时,以及将GPS定位模式切换为WIFI定位模式。The switching unit is specifically configured to, when the event detection unit detects that the user terminal and the wearable device bound to the user terminal both have the same action event within a preset time period, and the determination unit determines that the user terminal When the current environment is an indoor environment, and switch the GPS positioning mode to the WIFI positioning mode.
结合第二方面或结合第二方面的第一种可能的实施方式或结合第二方面的第二种可能的实施方式或结合第二方面的第三种可能的实施方式,在第二方面的第四种可能的实施方式中,所述确定单元,还用于当所述切换单元将GPS定位模式切换为WIFI定位模式之后,当所述亮度判断单元判断第一环境光强度值与所述第二环境光强度值之差的绝对值小于所述预设阈值时,确定所述用户终端当前所处的环境为室外环境;In combination with the second aspect or in combination with the first possible implementation manner of the second aspect or in combination with the second possible implementation manner of the second aspect or in combination with the third possible implementation manner of the second aspect, in the first possible implementation manner of the second aspect In four possible implementation manners, the determining unit is further configured to, when the switching unit switches the GPS positioning mode to the WIFI positioning mode, when the brightness judging unit judges the difference between the first ambient light intensity value and the second ambient light intensity value. When the absolute value of the difference between ambient light intensity values is less than the preset threshold, it is determined that the current environment of the user terminal is an outdoor environment;
所述切换单元,还用于将所述WIFI定位模式切换为所述GPS定位模式。The switching unit is also used to switch the WIFI positioning mode to the GPS positioning mode.
本发明实施例中,用户终端上设置有第一光线传感器和第二光线传感器,该第一光线传感器用于测量用户终端屏幕正面上的第一环境光强度值,该第二光线传感器用于测量用户终端后盖背面上的第二环境光强度值。用户终端可以获取第一光线传感器测量的当前环境的第一环境光强度值,以及获取第二光线传感器测量的当前环境的第二环境光强度值,并判断所述第一环境光强度值与所述第二环境光强度值之差的绝对值是否大于或等于预设阈值,若是,则用户终端可以确定所述用户终端当前所处的环境为室内环境,并将GPS定位模式切换为WIFI定位模式。可见,通过本发明实施例,用户终端可以根据第一环境光强度值和第二环境光强度值的情况来确定用户终端当前所处的环境是室内环境还是室外环境,进而确定是否切换定位模式,而无需用户手动切换定位模式,从而可以提高定位模式切换的效率。In the embodiment of the present invention, the user terminal is provided with a first light sensor and a second light sensor, the first light sensor is used to measure the first ambient light intensity value on the front of the user terminal screen, and the second light sensor is used to measure The second ambient light intensity value on the back cover of the user terminal. The user terminal may acquire a first ambient light intensity value of the current environment measured by the first light sensor, and acquire a second ambient light intensity value of the current environment measured by the second light sensor, and determine the difference between the first ambient light intensity value and the Whether the absolute value of the difference between the second ambient light intensity values is greater than or equal to the preset threshold, if so, the user terminal can determine that the current environment of the user terminal is an indoor environment, and switch the GPS positioning mode to the WIFI positioning mode . It can be seen that through the embodiment of the present invention, the user terminal can determine whether the current environment of the user terminal is an indoor environment or an outdoor environment according to the situation of the first ambient light intensity value and the second ambient light intensity value, and then determine whether to switch the positioning mode, There is no need for the user to manually switch the positioning mode, so that the efficiency of positioning mode switching can be improved.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without creative effort.
图1是本发明实施例公开的一种用户终端的定位模式切换方法的流程示意图;FIG. 1 is a schematic flowchart of a positioning mode switching method for a user terminal disclosed in an embodiment of the present invention;
图2是本发明实施例公开的另一种用户终端的定位模式切换方法的流程示意图;FIG. 2 is a schematic flowchart of another positioning mode switching method for a user terminal disclosed in an embodiment of the present invention;
图3是本发明实施例公开的一种基于用户终端的定位模式切换系统的架构示意图;FIG. 3 is a schematic structural diagram of a user terminal-based positioning mode switching system disclosed in an embodiment of the present invention;
图4是本发明实施例公开的一种用户终端的结构示意图;FIG. 4 is a schematic structural diagram of a user terminal disclosed in an embodiment of the present invention;
图5是本发明实施例公开的另一种用户终端的结构示意图;FIG. 5 is a schematic structural diagram of another user terminal disclosed in an embodiment of the present invention;
图6是本发明实施例公开的另一种用户终端的结构示意图。Fig. 6 is a schematic structural diagram of another user terminal disclosed in an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
本发明实施例公开了一种用户终端的定位模式切换方法及用户终端,可以提高定位模式切换的效率。以下分别进行详细说明。The embodiment of the invention discloses a positioning mode switching method of a user terminal and the user terminal, which can improve the efficiency of positioning mode switching. Each will be described in detail below.
本发明实施例中,用户终端可以包括但不限于智能手机、笔记本电脑、个人计算机(PersonalComputer,PC)、个人数字助理(PersonalDigitalAssistant,PDA)、移动互联网设备(MobileInternetDevice,MID)、智能穿戴设备(如智能手表、智能手环)等各类用户终端。其中,该用户终端的操作系统可包括但不限于Android操作系统、IOS操作系统、Symbian(塞班)操作系统、BlackBerry(黑莓)操作系统、WindowsPhone8操作系统等等,本发明实施例不做限定。In the embodiment of the present invention, the user terminal may include, but not limited to, a smart phone, a notebook computer, a personal computer (PersonalComputer, PC), a personal digital assistant (PersonalDigitalAssistant, PDA), a mobile Internet device (MobileInternetDevice, MID), a smart wearable device (such as Smart watches, smart bracelets) and other user terminals. Wherein, the operating system of the user terminal may include but not limited to Android operating system, IOS operating system, Symbian (Symbian) operating system, BlackBerry (Blackberry) operating system, WindowsPhone8 operating system, etc., which are not limited in the embodiment of the present invention.
请参见图1,图1是本发明实施例公开的一种用户终端的定位模式切换方法的流程示意图。如图1所示,该方法可以包括以下步骤。Please refer to FIG. 1 . FIG. 1 is a schematic flowchart of a method for switching a positioning mode of a user terminal disclosed in an embodiment of the present invention. As shown in Fig. 1, the method may include the following steps.
S101、获取第一光线传感器测量的当前环境的第一环境光强度值,以及获取第二光线传感器测量的当前环境的第二环境光强度值。S101. Acquire a first ambient light intensity value of the current environment measured by a first light sensor, and acquire a second ambient light intensity value of the current environment measured by a second light sensor.
本发明实施例中,用户终端包括屏幕和后盖,屏幕和后盖相对设置,用户终端内置有两个光线传感器,即第一光线传感器和第二光线传感器,该第一光线传感器和第二光线传感器分别位于用户终端的相对侧,可以理解为靠近屏幕的一侧内置有第一光线传感器,靠近后盖的一侧内置有第二光线传感器。该第一光线传感器用于测量用户终端屏幕一侧的环境光强度值,该第二光线传感器用于测量用户终端后盖一侧的环境光强度值。In the embodiment of the present invention, the user terminal includes a screen and a back cover, and the screen and the back cover are arranged opposite to each other. The user terminal is equipped with two light sensors, that is, a first light sensor and a second light sensor. The first light sensor and the second light sensor The sensors are respectively located on opposite sides of the user terminal, which can be understood as a built-in first light sensor on a side close to the screen, and a built-in second light sensor on a side close to the back cover. The first light sensor is used to measure the ambient light intensity value on the user terminal screen side, and the second light sensor is used to measure the ambient light intensity value on the user terminal rear cover side.
本发明实施例中,用户终端内置的第一光线传感器和第二光线传感器均在实时检测当前环境的环境光强度值,用户终端可以实时获取到第一光线传感器测量的当前环境的第一环境光强度值,以及获取第二光线传感器测量的当前环境的第二环境光强度值。其中,当前环境为用户终端此时所处的光环境。In the embodiment of the present invention, both the first light sensor and the second light sensor built in the user terminal detect the ambient light intensity value of the current environment in real time, and the user terminal can obtain the first ambient light of the current environment measured by the first light sensor in real time. an intensity value, and acquire a second ambient light intensity value of the current environment measured by the second light sensor. Wherein, the current environment is the light environment where the user terminal is located at this time.
S102、判断第一环境光强度值与第二环境光强度值之差的绝对值是否大于或等于预设阈值,若是,执行步骤S103~S104,若否,执行步骤S105~S106。S102. Determine whether the absolute value of the difference between the first ambient light intensity value and the second ambient light intensity value is greater than or equal to a preset threshold value. If yes, execute steps S103-S104; if not, execute steps S105-S106.
本发明实施例中,当用户终端水平放置时,屏幕和后盖的相对位置可以为:屏幕朝上,后盖朝下,或者,屏幕朝下,后盖朝上。In the embodiment of the present invention, when the user terminal is placed horizontally, the relative positions of the screen and the back cover may be: the screen faces up and the back cover faces down, or the screen faces down and the back cover faces up.
由于第一光线传感器测量的是用户终端屏幕一侧的第一环境光强度值,第二光线传感器测量的是用户终端后盖一侧的第二环境光强度值,当用户终端处于室外时,由于地面的反射作用,第一环境光强度值和第二环境光强度值的差异比较小,而当用户终端处于室内时,灯光照到的那面(如屏幕)的环境光强度值与灯光没有照到的那面的环境光强度值的差异就很大。因此,用户终端可以根据两个环境光强度值之间的差异来确定用户终端所处的环境是室内环境还是室外环境。Since the first light sensor measures the first ambient light intensity value on the user terminal screen side, and the second light sensor measures the second ambient light intensity value on the user terminal rear cover side, when the user terminal is outside, due to Due to the reflection effect of the ground, the difference between the first ambient light intensity value and the second ambient light intensity value is relatively small, and when the user terminal is indoors, the ambient light intensity value of the side (such as the screen) illuminated by the light is different from the value of the ambient light intensity that is not illuminated by the light. The difference in the ambient light intensity value on the other side is very large. Therefore, the user terminal can determine whether the environment where the user terminal is located is an indoor environment or an outdoor environment according to the difference between the two ambient light intensity values.
本发明实施例中,用户终端获取到第一光线传感器测量的当前环境的第一环境光强度值,以及获取第二光线传感器测量的当前环境的第二环境光强度值之后,用户终端就可以判断第一环境光强度值与第二环境光强度值之差的绝对值是否大于或等于预设阈值,若是,则可以确定用户终端当前所处的环境为室内环境,若否,则可以确定用户终端当前所处的环境为室外环境。其中,该预设阈值可以为预先通过多次实验获得的用于区分室内环境还是室外环境的光强度临界值。In the embodiment of the present invention, after the user terminal acquires the first ambient light intensity value of the current environment measured by the first light sensor and the second ambient light intensity value of the current environment measured by the second light sensor, the user terminal can determine Whether the absolute value of the difference between the first ambient light intensity value and the second ambient light intensity value is greater than or equal to the preset threshold value, if so, it can be determined that the current environment of the user terminal is an indoor environment, if not, it can be determined that the user terminal The current environment is an outdoor environment. Wherein, the preset threshold may be a light intensity critical value obtained through multiple experiments in advance for distinguishing between an indoor environment and an outdoor environment.
S103、确定用户终端当前所处的环境为室内环境。S103. Determine that the current environment of the user terminal is an indoor environment.
可选的,在步骤S103之后,方法还可以包括以下步骤:Optionally, after step S103, the method may also include the following steps:
判断当前定位模式是否为GPS定位模式,若是,执行步骤S104,若否,结束本流程。It is judged whether the current positioning mode is GPS positioning mode, if yes, execute step S104, if not, end this process.
在该实施例中,用户终端在确定用户终端当前所处的环境为室内环境之后,用户终端可以判断用户终端的当前定位模式是否为GPS定位模式,若是,用户终端再将GPS定位模式切换为WIFI定位模式,若否,则用户终端就没有必要执行切换操作了。In this embodiment, after the user terminal determines that the current environment of the user terminal is an indoor environment, the user terminal can determine whether the current positioning mode of the user terminal is the GPS positioning mode, and if so, the user terminal switches the GPS positioning mode to WIFI positioning mode. positioning mode, if not, then the user terminal does not need to perform switching operations.
可选的,本发明实施例中,用户终端也可以默认使用GPS定位模式。Optionally, in this embodiment of the present invention, the user terminal may also use the GPS positioning mode by default.
S104、将GPS定位模式切换为WIFI定位模式。S104. Switch the GPS positioning mode to the WIFI positioning mode.
本发明实施例中,用户终端定位的模式可以有两种:GPS定位模式和WIFI定位模式,通常,GPS定位模式适用于室外环境,可以对室外的任何事物进行定位,而WIFI定位模式适用于室内环境,可以对室内的任何事物进行精确定位。In the embodiment of the present invention, there are two positioning modes of the user terminal: GPS positioning mode and WIFI positioning mode. Generally, the GPS positioning mode is suitable for outdoor environments and can locate anything outdoors, while the WIFI positioning mode is suitable for indoor Environment, can accurately locate anything in the room.
S105、输出提示信息。S105. Output prompt information.
本发明实施例中,当用户终端判断第一环境光强度值与第二环境光强度值之差的绝对值不大于或等于预设阈值时,用户终端可以输出提示信息,该提示信息用于提示用户是否要将默认使用的GPS定位模式切换为WIFI定位模式。In the embodiment of the present invention, when the user terminal judges that the absolute value of the difference between the first ambient light intensity value and the second ambient light intensity value is not greater than or equal to the preset threshold value, the user terminal may output prompt information, which is used to prompt Whether the user wants to switch the default GPS positioning mode to WIFI positioning mode.
本发明实施例中,当用户没有正常使用用户终端,比如:用户将用户终端直立起来,这样,无论用户终端处于室内环境还是室外环境,第一光线传感器测量的当前环境的第一环境光强度值与第二光线传感器测量的当前环境的第二环境光强度值的差异都会比较小,这样,就很容易出现误差。因此,用户终端在判断第一环境光强度值与第二环境光强度值之差的绝对值小于预设阈值时,可以向用户输出提示信息,以进一步确认是否要执行切换操作。In the embodiment of the present invention, when the user does not use the user terminal normally, for example: the user stands the user terminal upright, so that no matter whether the user terminal is in an indoor environment or an outdoor environment, the first ambient light intensity value of the current environment measured by the first light sensor The difference with the second ambient light intensity value of the current environment measured by the second light sensor is relatively small, so errors are likely to occur. Therefore, when the user terminal determines that the absolute value of the difference between the first ambient light intensity value and the second ambient light intensity value is smaller than the preset threshold, it may output prompt information to the user to further confirm whether to perform the switching operation.
S106、检测在预设时间内是否接收到针对提示信息输入的确认响应,若是,执行步骤S104,若否,结束本流程。S106. Detect whether a confirmation response to the prompt information input is received within a preset time, if yes, perform step S104, if not, end this process.
本发明实施例中,用户终端可以检测在预设时间内是否接收到针对提示信息输入的确认响应,若是,用户终端可以将GPS定位模式切换为WIFI定位模式,若否,用户终端不进行任何操作。In the embodiment of the present invention, the user terminal can detect whether a confirmation response to the prompt information input is received within a preset time, if so, the user terminal can switch the GPS positioning mode to the WIFI positioning mode, if not, the user terminal does not perform any operation .
在图1所描述的方法流程中,用户终端上设置有第一光线传感器和第二光线传感器,当用户终端的屏幕朝着用户时,该第一光线传感器用于测量用户终端屏幕正面上方的第一环境光强度值,该第二光线传感器用于测量用户终端后盖背面下方的第二环境光强度值。用户终端可以获取第一光线传感器测量的当前环境的第一环境光强度值,以及获取第二光线传感器测量的当前环境的第二环境光强度值,并判断第一环境光强度值与第二环境光强度值之差的绝对值是否大于或等于预设阈值,若是,则用户终端可以确定用户终端当前所处的环境为室内环境,并将GPS定位模式切换为WIFI定位模式。可见,通过本发明实施例,用户终端可以根据第一环境光强度值和第二环境光强度值的情况来确定用户终端当前所处的环境是室内环境还是室外环境,进而确定是否切换定位模式,而无需用户手动切换定位模式,从而可以提高定位模式切换的效率。In the method flow described in FIG. 1 , the user terminal is provided with a first light sensor and a second light sensor. When the screen of the user terminal faces the user, the first light sensor is used to measure the first light sensor above the front of the user terminal screen. An ambient light intensity value, the second light sensor is used to measure the second ambient light intensity value under the rear cover of the user terminal. The user terminal may obtain the first ambient light intensity value of the current environment measured by the first light sensor, and obtain the second ambient light intensity value of the current environment measured by the second light sensor, and determine the difference between the first ambient light intensity value and the second environment light intensity value. Whether the absolute value of the light intensity difference is greater than or equal to the preset threshold, if so, the user terminal can determine that the current environment of the user terminal is an indoor environment, and switch the GPS positioning mode to the WIFI positioning mode. It can be seen that through the embodiment of the present invention, the user terminal can determine whether the current environment of the user terminal is an indoor environment or an outdoor environment according to the situation of the first ambient light intensity value and the second ambient light intensity value, and then determine whether to switch the positioning mode, There is no need for the user to manually switch the positioning mode, so that the efficiency of positioning mode switching can be improved.
请参见图2,图2是本发明实施例公开的另一种用户终端的定位模式切换方法的流程示意图。如图2所示,该方法可以包括以下步骤。Please refer to FIG. 2 . FIG. 2 is a schematic flowchart of another method for switching a positioning mode of a user terminal disclosed in an embodiment of the present invention. As shown in Fig. 2, the method may include the following steps.
S201、用户终端获取第一光线传感器测量的当前环境的第一环境光强度值,以及获取第二光线传感器测量的当前环境的第二环境光强度值。S201. The user terminal acquires a first ambient light intensity value of the current environment measured by a first light sensor, and acquires a second ambient light intensity value of the current environment measured by a second light sensor.
S202、用户终端判断第一环境光强度值与第二环境光强度值之差的绝对值是否大于或等于预设阈值,若是,执行步骤S203,若否,结束本流程。S202. The user terminal judges whether the absolute value of the difference between the first ambient light intensity value and the second ambient light intensity value is greater than or equal to a preset threshold value. If yes, execute step S203. If not, end the process.
S203、用户终端确定用户终端当前所处的环境为室内环境。S203. The user terminal determines that the current environment of the user terminal is an indoor environment.
S204、用户终端检测用户终端以及与用户终端绑定的穿戴设备是否均在预设时长内发生同一动作事件,若是,执行步骤S205,若否,结束本流程。S204, the user terminal detects whether the user terminal and the wearable device bound to the user terminal have the same action event within a preset time period, if yes, perform step S205, if not, end this process.
请一并参阅图3,图3是本发明实施例公开的一种基于用户终端的定位模式切换系统的架构示意图。如图3所示,用户终端可以被用户拿在手上,并且用户拿着用户终端的同一只手上还可以携带有穿戴设备(如智能手环、智能手表),并且用户终端和穿戴设备可以通过蓝牙方式进行绑定。在图3所示的架构中,用户可以朝着某一个方向同时甩动用户终端和穿戴设备,相应地,当穿戴设备检测到发生甩动作时,穿戴设备可以发送包括甩动作起始时间和甩动作持续时间的甩动作事件给用户终端,相应地,用户终端在确定用户终端当前所处的环境为室内环境之后,可以检测用户终端是否发生第一甩动作事件,如果用户终端发生第一甩动作事件,检测用户终端绑定的穿戴设备是否发生第二甩动作事件,如果穿戴设备发生第二甩动作事件,判断第一甩动作事件和第二甩动作事件包括的甩动作方向是否相同,如果甩动作方向相同,判断第一甩动作事件和第二甩动作事件包括的甩动作起始时间是否均位于预设时长(如10秒)内,以及第一甩动作事件和第二甩动作事件包括的甩动作持续时长是否均位于预设时长内,如果第一甩动作事件和第二甩动作事件包括的甩动作起始时间均位于预设时长内,以及第一甩动作事件和第二甩动作事件包括的甩动作持续时长均位于预设时长内,判断第一甩动作事件与第二甩动作事件包括的甩动作起始时间的差值是否小于第一预设阈值(如0.03秒),如果第一甩动作事件与第二甩动作事件包括的甩动作起始时间的差值小于第一预设阈值,判断第一甩动作事件与第二甩动作事件包括的甩动作持续时长的差值是否小于第二预设阈值(如0.03秒),如果第一甩动作事件与第二甩动作事件包括的甩动作持续时长的差值小于第二预设阈值,确定用户终端以及穿戴设备均在预设时长内发生同一动作事件。Please also refer to FIG. 3 . FIG. 3 is a schematic structural diagram of a user terminal-based positioning mode switching system disclosed in an embodiment of the present invention. As shown in Figure 3, the user terminal can be held by the user, and the same hand that the user holds the user terminal can also carry a wearable device (such as a smart bracelet, smart watch), and the user terminal and the wearable device can be Bind via bluetooth. In the architecture shown in Figure 3, the user can shake the user terminal and the wearable device in a certain direction at the same time. The action duration is sent to the user terminal. Correspondingly, after the user terminal determines that the environment where the user terminal is currently located is an indoor environment, it can detect whether the user terminal has the first action event. If the user terminal has the first action event event, to detect whether the second flick event occurs on the wearable device bound to the user terminal. If the second flick event occurs on the wearable device, it is judged whether the flick directions included in the first flick event and the second flick event are the same. The action direction is the same, and it is judged whether the start time of the first flick event and the second flick event are all within the preset duration (such as 10 seconds), and whether the first flick event and the second flick event include the Whether the duration of the flick action is within the preset duration, if the start time of the flick action included in the first flick event and the second flick event is within the preset duration, and if the first flick event and the second flick event The included swing action durations are all within the preset duration, and it is judged whether the difference between the first swing action event and the second swing action start time included in the swing action event is less than the first preset threshold (such as 0.03 seconds), if the second The difference between the start time of the first flick event and the second flick event is less than the first preset threshold, and it is judged whether the difference between the flick duration of the first flick event and the second flick event is less than The second preset threshold (such as 0.03 seconds), if the difference between the duration of the first flick event and the second flick event is less than the second preset threshold, it is determined that both the user terminal and the wearable device are within the preset duration. The same action event occurs within.
S205、用户终端检测是否发生针对用户终端的触摸屏的触摸操作,若是,执行步骤S206,若否,结束本流程。S205. The user terminal detects whether a touch operation on the touch screen of the user terminal occurs. If yes, execute step S206. If not, end the process.
本发明实施例中,用户终端在检测用户终端以及与用户终端绑定的穿戴设备均在预设时长内发生同一动作事件之后,进一步地,用户终端可以检测是否发生针对用户终端的触摸屏的触摸操作,其中,该触摸操作可以为点击操作、滑动操作等。In the embodiment of the present invention, after the user terminal detects that both the user terminal and the wearable device bound to the user terminal have the same action event within a preset time period, the user terminal can further detect whether a touch operation on the touch screen of the user terminal occurs , wherein the touch operation may be a click operation, a slide operation, and the like.
S206、用户终端判断触摸操作的触摸力度是否超过预设力度阈值,若是,执行步骤S207,若否,结束本流程。S206. The user terminal determines whether the touch force of the touch operation exceeds a preset force threshold. If yes, execute step S207. If not, end the process.
本发明实施例中,当用户终端检测发生针对用户终端的触摸屏的触摸操作时,用户终端可以继续判断触摸操作的触摸力度是否超过预设力度阈值。其中,该触摸力度可以是用户终端内置的压力传感器测量得到的。In the embodiment of the present invention, when the user terminal detects a touch operation on the touch screen of the user terminal, the user terminal may continue to determine whether the touch force of the touch operation exceeds a preset force threshold. Wherein, the touch strength may be measured by a built-in pressure sensor of the user terminal.
可选的,当触摸操作的触摸力度超过预设力度阈值时,用户终端还可以继续判断触摸操作的触摸时长是否超过预设时长阈值,若是,则执行步骤S207。Optionally, when the touch strength of the touch operation exceeds the preset strength threshold, the user terminal may continue to judge whether the touch duration of the touch operation exceeds the preset duration threshold, and if so, perform step S207.
可选的,当触摸操作的触摸力度超过预设力度阈值时,用户终端还可以继续判断触摸操作的触摸位置是否属于预设触摸区域内,若是,则执行步骤S207。Optionally, when the touch force of the touch operation exceeds the preset force threshold, the user terminal may continue to judge whether the touch position of the touch operation belongs to the preset touch area, and if so, perform step S207.
可选的,当触摸操作的触摸力度超过预设力度阈值时,用户终端还可以继续判断触摸操作的触摸时长是否超过预设时长阈值,以及判断触摸操作的触摸位置是否属于预设触摸区域内,当触摸操作的触摸时长超过预设时长阈值且触摸操作的触摸位置属于预设触摸区域内时,执行步骤S207。Optionally, when the touch force of the touch operation exceeds the preset force threshold, the user terminal may continue to judge whether the touch duration of the touch operation exceeds the preset duration threshold, and determine whether the touch position of the touch operation belongs to the preset touch area, When the touch duration of the touch operation exceeds the preset duration threshold and the touch position of the touch operation belongs to the preset touch area, step S207 is executed.
S207、用户终端将GPS定位模式切换为WIFI定位模式。S207. The user terminal switches the GPS positioning mode to the WIFI positioning mode.
在图2所描述的方法流程中,用户终端在确定用户终端当前所处的环境为室内环境之后,用户终端可以检测用户终端以及与用户终端绑定的穿戴设备是否均在预设时长内发生同一动作事件,若是,用户终端可以检测是否发生针对用户终端的触摸屏的触摸操作,若是,用户终端可以判断触摸操作的触摸力度是否超过预设力度阈值,若是,用户终端可以将GPS定位模式切换为WIFI定位模式。可见,通过本发明实施例,用户终端根据第一环境光强度值和第二环境光强度值确定用户终端当前所处的环境为室内环境之后,用户终端还可以根据用户的操作来进一步确认是否需要将GPS定位模式切换为WIFI定位模式,从而可以避免误切换的情况发生,提高用户体验。In the method flow described in FIG. 2, after the user terminal determines that the environment where the user terminal is currently located is an indoor environment, the user terminal can detect whether the user terminal and the wearable device bound to the user terminal are both within a preset period of time. Action event, if so, the user terminal can detect whether a touch operation on the touch screen of the user terminal occurs, if so, the user terminal can judge whether the touch force of the touch operation exceeds the preset force threshold, if so, the user terminal can switch the GPS positioning mode to WIFI positioning mode. It can be seen that through the embodiment of the present invention, after the user terminal determines that the current environment of the user terminal is an indoor environment according to the first ambient light intensity value and the second ambient light intensity value, the user terminal can further confirm whether it is necessary to Switch the GPS positioning mode to the WIFI positioning mode, so as to avoid accidental switching and improve user experience.
下面为本发明装置实施例,本发明装置实施例用于执行本发明方法实施例中的方法,为了便于说明,仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,请参照本发明上述方法实施例。The following is the embodiment of the device of the present invention, which is used to implement the method in the method embodiment of the present invention. For the convenience of description, only the parts related to the embodiment of the present invention are shown. If the specific technical details are not disclosed, please Refer to the above-mentioned method embodiment of the present invention.
请参见图4,图4是本发明实施例公开的一种用户终端的结构示意图,如图4所示,该用户终端400可以包括:获取单元401、亮度判断单元402、确定单元403以及切换单元404,其中:Please refer to FIG. 4. FIG. 4 is a schematic structural diagram of a user terminal disclosed in an embodiment of the present invention. As shown in FIG. 4, the user terminal 400 may include: an acquiring unit 401, a brightness judging unit 402, a determining unit 403, and a switching unit 404, where:
获取单元401,用于获取第一光线传感器测量的当前环境的第一环境光强度值,以及获取第二光线传感器测量的当前环境的第二环境光强度值。The acquiring unit 401 is configured to acquire a first ambient light intensity value of the current environment measured by the first light sensor, and acquire a second ambient light intensity value of the current environment measured by the second light sensor.
亮度判断单元402,用于判断第一环境光强度值与第二环境光强度值之差的绝对值是否大于或等于预设阈值。The brightness judging unit 402 is configured to judge whether the absolute value of the difference between the first ambient light intensity value and the second ambient light intensity value is greater than or equal to a preset threshold.
确定单元403,用于当亮度判断单元402判断第一环境光强度值与第二环境光强度值之差的绝对值大于或等于预设阈值时,确定用户终端当前所处的环境为室内环境。The determining unit 403 is configured to determine that the current environment of the user terminal is an indoor environment when the brightness judging unit 402 judges that the absolute value of the difference between the first ambient light intensity value and the second ambient light intensity value is greater than or equal to a preset threshold.
切换单元404,用于将GPS定位模式切换为WIFI定位模式。The switching unit 404 is configured to switch the GPS positioning mode to the WIFI positioning mode.
请参见图5,图5是本发明实施例公开的另一种用户终端的结构示意图,其中,图5所示的用户终端是在图4所示的用户终端的基础上进一步优化得到的,与图4所示的用户终端相比,图5所示的用户终端除了包括图4所示的用户终端的所有单元外,还可以包括:Please refer to FIG. 5. FIG. 5 is a schematic structural diagram of another user terminal disclosed in an embodiment of the present invention, wherein the user terminal shown in FIG. 5 is further optimized on the basis of the user terminal shown in FIG. Compared with the user terminal shown in Figure 4, the user terminal shown in Figure 5 may include, in addition to all the units of the user terminal shown in Figure 4:
事件检测单元405,用于在确定单元403确定用户终端当前所处的环境为室内环境之后,检测用户终端以及与用户终端绑定的穿戴设备是否均在预设时长内发生同一动作事件。The event detection unit 405 is configured to detect whether the user terminal and the wearable device bound to the user terminal have the same action event within a preset time period after the determination unit 403 determines that the current environment of the user terminal is an indoor environment.
可选的,事件检测单元405检测用户终端以及与用户终端绑定的穿戴设备是否均在预设时长内发生同一动作事件的具体实施方式可以为:Optionally, the event detection unit 405 detects whether the user terminal and the wearable device bound to the user terminal both have the same action event within a preset period of time. The specific implementation method may be:
检测用户终端是否发生第一甩动作事件,如果用户终端发生第一甩动作事件,检测用户终端绑定的穿戴设备是否发生第二甩动作事件,如果穿戴设备发生第二甩动作事件,判断第一甩动作事件和第二甩动作事件包括的甩动作方向是否相同,如果甩动作方向相同,判断第一甩动作事件和第二甩动作事件包括的甩动作起始时间是否均位于预设时长内,以及第一甩动作事件和第二甩动作事件包括的甩动作持续时长是否均位于预设时长内,如果第一甩动作事件和第二甩动作事件包括的甩动作起始时间均位于预设时长内,以及第一甩动作事件和第二甩动作事件包括的甩动作持续时长均位于预设时长内,判断第一甩动作事件与第二甩动作事件包括的甩动作起始时间的差值是否小于第一预设阈值,如果第一甩动作事件与第二甩动作事件包括的甩动作起始时间的差值小于第一预设阈值,判断第一甩动作事件与第二甩动作事件包括的甩动作持续时长的差值是否小于第二预设阈值,如果第一甩动作事件与第二甩动作事件包括的甩动作持续时长的差值小于第二预设阈值,确定用户终端以及穿戴设备均在预设时长内发生同一动作事件。Detect whether the first swing event occurs on the user terminal. If the first swing event occurs on the user terminal, detect whether the second swing event occurs on the wearable device bound to the user terminal. If the second swing event occurs on the wearable device, determine the first swing event. Whether the swinging action direction included in the swinging action event and the second swinging action event is the same, if the swinging action direction is the same, judge whether the starting time of the swinging action included in the first swinging action event and the second swinging action event is within the preset duration, And whether the duration of the flick action included in the first flick event and the second flick event is within the preset duration, if the flick start time included in the first flick event and the second flick event is within the preset duration and the duration of the flicking action included in the first flicking action event and the second flicking action event are all within the preset duration, judge whether the difference between the flicking action start time included in the first flicking action event and the second flicking action event is Less than the first preset threshold, if the difference between the start time of the first flick event and the second flick event is less than the first preset threshold, it is judged that the first flick event and the second flick event include Whether the difference between the duration of the flicking action is less than the second preset threshold, if the difference between the duration of the flicking action included in the first flicking event and the second flicking event is less than the second preset threshold, it is determined that both the user terminal and the wearable device are The same motion event occurs within a preset duration.
切换单元404,具体用于当事件检测单元405检测用户终端以及与用户终端绑定的穿戴设备均在预设时长内发生同一动作事件时,以及确定单元403确定用户终端当前所处的环境为室内环境时,将GPS定位模式切换为WIFI定位模式。The switching unit 404 is specifically used to determine that the current environment of the user terminal is indoors when the event detection unit 405 detects that the user terminal and the wearable device bound to the user terminal both have the same action event within a preset time length. In the environment, switch the GPS positioning mode to WIFI positioning mode.
可选的,图5所示的用户终端400还可以包括:Optionally, the user terminal 400 shown in FIG. 5 may further include:
操作检测单元406,用于在事件检测单元405检测用户终端以及与用户终端绑定的穿戴设备均在预设时长内发生同一动作事件之后,检测是否发生针对用户终端的触摸屏的触摸操作。The operation detection unit 406 is configured to detect whether a touch operation on the touch screen of the user terminal occurs after the event detection unit 405 detects that the user terminal and the wearable device bound to the user terminal have the same action event within a preset time period.
力度判断单元407,用于当操作检测单元406检测发生针对用户终端的触摸屏的触摸操作时,判断触摸操作的触摸力度是否超过预设力度阈值。The force determination unit 407 is configured to determine whether the touch force of the touch operation exceeds a preset force threshold when the operation detection unit 406 detects a touch operation on the touch screen of the user terminal.
切换单元404,具体用于当事件检测单元405检测用户终端以及与用户终端绑定的穿戴设备均在预设时长内发生同一动作事件时,以及确定单元403确定用户终端当前所处的环境为室内环境时,以及当力度判断单元407判断触摸操作的触摸力度超过预设力度阈值时,将GPS定位模式切换为WIFI定位模式。The switching unit 404 is specifically used to determine that the current environment of the user terminal is indoors when the event detection unit 405 detects that the user terminal and the wearable device bound to the user terminal both have the same action event within a preset time length. environment, and when the strength judging unit 407 judges that the touch strength of the touch operation exceeds the preset strength threshold, switch the GPS positioning mode to the WIFI positioning mode.
可选的,确定单元403,还用于当切换单元404将GPS定位模式切换为WIFI定位模式之后,当亮度判断单元判断第一环境光强度值与第二环境光强度值之差的绝对值小于预设阈值时,确定用户终端当前所处的环境为室外环境。Optionally, the determination unit 403 is also used to determine that the absolute value of the difference between the first ambient light intensity value and the second ambient light intensity value is less than When the threshold is preset, it is determined that the current environment of the user terminal is an outdoor environment.
切换单元404,还用于将WIFI定位模式切换为GPS定位模式。The switching unit 404 is further configured to switch the WIFI positioning mode to the GPS positioning mode.
在图4~图5所描述的用户终端400中,用户终端400上设置有第一光线传感器和第二光线传感器,当用户终端400的屏幕朝着用户时,该第一光线传感器用于测量用户终端屏幕正面上方的第一环境光强度值,该第二光线传感器用于测量用户终端后盖背面下方的第二环境光强度值。获取单元401可以获取第一光线传感器测量的当前环境的第一环境光强度值,以及获取第二光线传感器测量的当前环境的第二环境光强度值,亮度判断单元402判断第一环境光强度值与第二环境光强度值之差的绝对值是否大于或等于预设阈值,若是,则确定单元403可以确定用户终端当前所处的环境为室内环境,切换单元404将GPS定位模式切换为WIFI定位模式。可见,通过本发明实施例,用户终端可以根据第一环境光强度值和第二环境光强度值的情况来确定用户终端当前所处的环境是室内环境还是室外环境,进而确定是否切换定位模式,而无需用户手动切换定位模式,从而可以提高定位模式切换的效率。In the user terminal 400 described in FIGS. 4 to 5 , the user terminal 400 is provided with a first light sensor and a second light sensor. When the screen of the user terminal 400 faces the user, the first light sensor is used to measure the user's The first ambient light intensity value above the front of the terminal screen, and the second light sensor is used to measure the second ambient light intensity value under the rear cover of the user terminal. The acquiring unit 401 can acquire the first ambient light intensity value of the current environment measured by the first light sensor, and the second ambient light intensity value of the current environment measured by the second light sensor, and the brightness judging unit 402 judges the first ambient light intensity value Whether the absolute value of the difference with the second ambient light intensity value is greater than or equal to the preset threshold value, if so, the determining unit 403 may determine that the current environment of the user terminal is an indoor environment, and the switching unit 404 switches the GPS positioning mode to WIFI positioning model. It can be seen that through the embodiment of the present invention, the user terminal can determine whether the current environment of the user terminal is an indoor environment or an outdoor environment according to the situation of the first ambient light intensity value and the second ambient light intensity value, and then determine whether to switch the positioning mode, There is no need for the user to manually switch the positioning mode, so that the efficiency of positioning mode switching can be improved.
请参见图6,图6是本发明实施例公开的另一种用户终端的结构示意图。在图6所描述的用户终端中,该用户终端可以包括处理器601、存储器602、第一光线传感器603、第二光线传感器604、压力传感器605以及通信总线606,其中,用户终端600包括屏幕和后盖,屏幕和后盖相对设置,靠近屏幕的一侧内置有第一光线传感器603,靠近后盖的一侧内置有第二光线传感器604,通信总线606用于实现这些组件之间的通信连接。存储器602可以是高速RAM存储器,也可以是非不稳定的存储器(non-volatilememory),例如至少一个磁盘存储器。可选地,存储器602还可以是至少一个位于远离前述处理器601的存储装置。存储器602中存储一组程序代码,且处理器601调用存储器602中存储的程序代码,用于执行以下操作:Please refer to FIG. 6, which is a schematic structural diagram of another user terminal disclosed in an embodiment of the present invention. In the user terminal described in FIG. 6, the user terminal may include a processor 601, a memory 602, a first light sensor 603, a second light sensor 604, a pressure sensor 605, and a communication bus 606, wherein the user terminal 600 includes a screen and The back cover, the screen and the back cover are set opposite to each other, a first light sensor 603 is built in the side close to the screen, a second light sensor 604 is built in the side close to the back cover, and the communication bus 606 is used to realize the communication connection between these components . The memory 602 may be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as at least one disk memory. Optionally, the memory 602 may also be at least one storage device located away from the aforementioned processor 601 . A set of program codes are stored in the memory 602, and the processor 601 invokes the program codes stored in the memory 602 to perform the following operations:
获取通过第一光线传感器603测量的当前环境的第一环境光强度值,以及获取通过第二光线传感器604测量的当前环境的第二环境光强度值;Obtain a first ambient light intensity value of the current environment measured by the first light sensor 603, and acquire a second ambient light intensity value of the current environment measured by the second light sensor 604;
判断所述第一环境光强度值与所述第二环境光强度值之差的绝对值是否大于或等于预设阈值;judging whether the absolute value of the difference between the first ambient light intensity value and the second ambient light intensity value is greater than or equal to a preset threshold;
若是,则确定所述用户终端当前所处的环境为室内环境;If so, then determine that the environment in which the user terminal is currently located is an indoor environment;
将GPS定位模式切换为WIFI定位模式。Switch GPS positioning mode to WIFI positioning mode.
可选的,处理器601在确定所述用户终端当前所处的环境为室内环境之后,还可以执行以下步骤:Optionally, after the processor 601 determines that the environment where the user terminal is currently located is an indoor environment, it may further perform the following steps:
检测所述用户终端以及与所述用户终端绑定的穿戴设备是否均在预设时长内发生同一动作事件;Detecting whether the user terminal and the wearable device bound to the user terminal have the same action event within a preset time period;
若是,则执行所述将GPS定位模式切换为WIFI定位模式的步骤。If yes, execute the step of switching the GPS positioning mode to the WIFI positioning mode.
可选的,处理器601检测所述用户终端以及与所述用户终端绑定的穿戴设备是否均在预设时长内发生同一动作事件的具体实施方式可以为:Optionally, the specific implementation manner for the processor 601 to detect whether the user terminal and the wearable device bound to the user terminal have the same action event within a preset time period may be as follows:
检测所述用户终端是否发生第一甩动作事件,如果所述用户终端发生第一甩动作事件,检测所述用户终端绑定的穿戴设备是否发生第二甩动作事件,如果所述穿戴设备发生第二甩动作事件,判断所述第一甩动作事件和所述第二甩动作事件包括的甩动作方向是否相同,如果甩动作方向相同,判断所述第一甩动作事件和所述第二甩动作事件包括的甩动作起始时间是否均位于预设时长内,以及所述第一甩动作事件和所述第二甩动作事件包括的甩动作持续时长是否均位于所述预设时长内,如果所述第一甩动作事件和所述第二甩动作事件包括的甩动作起始时间均位于预设时长内,以及所述第一甩动作事件和所述第二甩动作事件包括的甩动作持续时长均位于所述预设时长内,判断所述第一甩动作事件与所述第二甩动作事件包括的甩动作起始时间的差值是否小于第一预设阈值,如果所述第一甩动作事件与所述第二甩动作事件包括的甩动作起始时间的差值小于第一预设阈值,判断所述第一甩动作事件与所述第二甩动作事件包括的甩动作持续时长的差值是否小于第二预设阈值,如果所述第一甩动作事件与所述第二甩动作事件包括的甩动作持续时长的差值小于第二预设阈值,确定所述用户终端以及所述穿戴设备均在所述预设时长内发生同一动作事件。Detecting whether the user terminal has a first flick event, if the user terminal has the first flick event, detecting whether the wearable device bound to the user terminal has a second flick event, if the wearable device has the first flick event For the second flicking action event, judge whether the flicking action directions included in the first flicking action event and the second flicking action event are the same, if the flicking action directions are the same, judge the first flicking action event and the second flicking action event Whether the start time of the flick action included in the event is within the preset duration, and whether the duration of the flick action included in the first flick event and the second flick event is within the preset duration, if The starting time of the flicking action included in the first flicking action event and the second flicking action event is within the preset duration, and the duration of the flicking action included in the first flicking action event and the second flicking action event are all within the preset duration, and it is judged whether the difference between the start time of the first flick event and the second flick event is less than the first preset threshold, if the first flick The difference between the start time of the flicking action included in the event and the second flicking action event is less than the first preset threshold, and the difference in the duration of the flicking action included in the first flicking action event and the second flicking action event is judged Whether the value is less than a second preset threshold, if the difference between the duration of the swing action included in the first swing event and the second swing event is less than the second preset threshold, determine that the user terminal and the wearable The same action event occurs on all devices within the preset time period.
可选的,处理器601在检测所述用户终端以及与所述用户终端绑定的穿戴设备均在预设时长内发生同一动作事件之后,还可以执行以下步骤:Optionally, after the processor 601 detects that both the user terminal and the wearable device bound to the user terminal have the same action event within a preset time period, the following steps may also be performed:
检测是否发生针对所述用户终端的触摸屏的触摸操作;Detecting whether a touch operation on the touch screen of the user terminal occurs;
若是,则判断通过压力传感器605检测的所述触摸操作的触摸力度是否超过预设力度阈值;If so, determine whether the touch force of the touch operation detected by the pressure sensor 605 exceeds a preset force threshold;
当所述触摸操作的触摸力度超过预设力度阈值时,执行所述将GPS定位模式切换为WIFI定位模式的步骤。When the touch force of the touch operation exceeds the preset force threshold, the step of switching the GPS positioning mode to the WIFI positioning mode is performed.
可选的,处理器601在将GPS定位模式切换为WIFI定位模式之后,还可以执行以下步骤:Optionally, after the processor 601 switches the GPS positioning mode to the WIFI positioning mode, the following steps may also be performed:
当所述第一环境光强度值与所述第二环境光强度值之差的绝对值小于所述预设阈值时,确定所述用户终端当前所处的环境为室外环境;When the absolute value of the difference between the first ambient light intensity value and the second ambient light intensity value is less than the preset threshold, determine that the current environment of the user terminal is an outdoor environment;
将所述WIFI定位模式切换为所述GPS定位模式。Switch the WIFI positioning mode to the GPS positioning mode.
在图6所描述的用户终端600中,处理器601可以根据第一环境光强度值和第二环境光强度值的情况来确定用户终端当前所处的环境是室内环境还是室外环境,进而确定是否切换定位模式,而无需用户手动切换定位模式,从而可以提高定位模式切换的效率。In the user terminal 600 described in FIG. 6 , the processor 601 can determine whether the current environment of the user terminal is an indoor environment or an outdoor environment according to the first ambient light intensity value and the second ambient light intensity value, and then determine whether Switching the positioning mode does not require the user to manually switch the positioning mode, so that the efficiency of positioning mode switching can be improved.
需要说明的是,对于前述的各个方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某一些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和单元并不一定是本申请所必须的。It should be noted that, for the sake of simple description, all the aforementioned method embodiments are expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited by the described action sequence. Because according to the application, certain steps may be performed in other order or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions and units involved are not necessarily required by this application.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详细描述的部分,可以参见其他实施例的相关描述。In the foregoing embodiments, the descriptions of each embodiment have their own emphases, and for parts not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-OnlyMemory,ROM)或随机存储记忆体(RandomAccessMemory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM) and the like.
以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。The above disclosures are only preferred embodiments of the present invention, and certainly cannot limit the scope of rights of the present invention. Therefore, equivalent changes made according to the claims of the present invention still fall within the scope of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510567468.3A CN105204052B (en) | 2015-09-07 | 2015-09-07 | The station-keeping mode switching method and user terminal of a kind of user terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510567468.3A CN105204052B (en) | 2015-09-07 | 2015-09-07 | The station-keeping mode switching method and user terminal of a kind of user terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105204052A true CN105204052A (en) | 2015-12-30 |
CN105204052B CN105204052B (en) | 2017-10-24 |
Family
ID=54951828
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510567468.3A Expired - Fee Related CN105204052B (en) | 2015-09-07 | 2015-09-07 | The station-keeping mode switching method and user terminal of a kind of user terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105204052B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105575368A (en) * | 2016-03-16 | 2016-05-11 | 广东欧珀移动通信有限公司 | Method and device for adjusting brightness of display screen |
CN107422358A (en) * | 2017-05-19 | 2017-12-01 | 上海斐讯数据通信技术有限公司 | A kind of whole scene localization method and system |
CN107544085A (en) * | 2016-06-24 | 2018-01-05 | 华为终端(东莞)有限公司 | A kind of localization method and wearable device |
WO2018019144A1 (en) * | 2016-07-29 | 2018-02-01 | 高德信息技术有限公司 | Navigation object determining method and apparatus |
CN108024328A (en) * | 2016-11-04 | 2018-05-11 | 中兴通讯股份有限公司 | A kind of wireless location method, device and base station |
CN109031383A (en) * | 2018-07-23 | 2018-12-18 | 重庆市勘测院 | Indoor and outdoor navigation seamless handover method and control system |
CN110488335A (en) * | 2019-08-13 | 2019-11-22 | Oppo(重庆)智能科技有限公司 | Navigation methods and systems based on visible light communication |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060116175A1 (en) * | 2004-11-29 | 2006-06-01 | Cisco Technology, Inc. | Handheld communications device with automatic alert mode selection |
CN103414825A (en) * | 2013-08-15 | 2013-11-27 | 惠州Tcl移动通信有限公司 | Contextual model switching method based on sensor group and mobile terminal thereof |
CN104092827A (en) * | 2014-07-18 | 2014-10-08 | 百度在线网络技术(北京)有限公司 | Method and device for setting terminal |
CN104392155A (en) * | 2014-09-23 | 2015-03-04 | 深圳市金立通信设备有限公司 | Terminal unlocking method |
CN104580089A (en) * | 2013-10-18 | 2015-04-29 | 深圳市腾讯计算机系统有限公司 | User verification method and mobile terminal |
CN104780320A (en) * | 2014-01-15 | 2015-07-15 | 联想(北京)有限公司 | Ambient light detection method and electronic equipment |
CN104848892A (en) * | 2015-04-02 | 2015-08-19 | 广东小天才科技有限公司 | Method and device for spectrum detection of user environment |
-
2015
- 2015-09-07 CN CN201510567468.3A patent/CN105204052B/en not_active Expired - Fee Related
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060116175A1 (en) * | 2004-11-29 | 2006-06-01 | Cisco Technology, Inc. | Handheld communications device with automatic alert mode selection |
CN103414825A (en) * | 2013-08-15 | 2013-11-27 | 惠州Tcl移动通信有限公司 | Contextual model switching method based on sensor group and mobile terminal thereof |
CN104580089A (en) * | 2013-10-18 | 2015-04-29 | 深圳市腾讯计算机系统有限公司 | User verification method and mobile terminal |
CN104780320A (en) * | 2014-01-15 | 2015-07-15 | 联想(北京)有限公司 | Ambient light detection method and electronic equipment |
CN104092827A (en) * | 2014-07-18 | 2014-10-08 | 百度在线网络技术(北京)有限公司 | Method and device for setting terminal |
CN104392155A (en) * | 2014-09-23 | 2015-03-04 | 深圳市金立通信设备有限公司 | Terminal unlocking method |
CN104848892A (en) * | 2015-04-02 | 2015-08-19 | 广东小天才科技有限公司 | Method and device for spectrum detection of user environment |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105575368A (en) * | 2016-03-16 | 2016-05-11 | 广东欧珀移动通信有限公司 | Method and device for adjusting brightness of display screen |
CN105575368B (en) * | 2016-03-16 | 2018-07-31 | 广东欧珀移动通信有限公司 | Method and device for adjusting brightness of display screen |
CN107544085A (en) * | 2016-06-24 | 2018-01-05 | 华为终端(东莞)有限公司 | A kind of localization method and wearable device |
CN107544085B (en) * | 2016-06-24 | 2021-02-12 | 华为终端有限公司 | Positioning method and wearable device |
WO2018019144A1 (en) * | 2016-07-29 | 2018-02-01 | 高德信息技术有限公司 | Navigation object determining method and apparatus |
CN108024328A (en) * | 2016-11-04 | 2018-05-11 | 中兴通讯股份有限公司 | A kind of wireless location method, device and base station |
CN107422358A (en) * | 2017-05-19 | 2017-12-01 | 上海斐讯数据通信技术有限公司 | A kind of whole scene localization method and system |
CN109031383A (en) * | 2018-07-23 | 2018-12-18 | 重庆市勘测院 | Indoor and outdoor navigation seamless handover method and control system |
CN110488335A (en) * | 2019-08-13 | 2019-11-22 | Oppo(重庆)智能科技有限公司 | Navigation methods and systems based on visible light communication |
CN110488335B (en) * | 2019-08-13 | 2021-11-23 | Oppo(重庆)智能科技有限公司 | Navigation method and system based on visible light communication |
Also Published As
Publication number | Publication date |
---|---|
CN105204052B (en) | 2017-10-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105204052B (en) | The station-keeping mode switching method and user terminal of a kind of user terminal | |
US10394443B2 (en) | Method for viewing message and user terminal | |
CN108710469B (en) | Application program starting method, mobile terminal and medium product | |
US8937556B2 (en) | Indicating the progress of a boot sequence on a communication device | |
CN108664190B (en) | Page display method, device, mobile terminal and storage medium | |
CN104536666B (en) | A method and device for quickly switching application programs and their interfaces | |
US20150277720A1 (en) | Systems and Methods for Managing Operating Modes of an Electronic Device | |
CN104832446A (en) | Method and device for controlling fan | |
CN106951850B (en) | A kind of method and mobile terminal controlling fingerprint recognition mould group | |
CN103513788B (en) | Based on the gesture identification method of gyro sensor, system and mobile terminal | |
US9794385B2 (en) | Mobile communication terminal, recording medium, and incoming call control method | |
US9846529B2 (en) | Method for processing information and electronic device | |
EP3614244B1 (en) | Touch screen adjustment method, touch chip and electronic terminal | |
CN108717343A (en) | Application icon processing method and device and mobile terminal | |
CN105204621A (en) | Information transfer method and smart watch | |
WO2015131590A1 (en) | Method for controlling blank screen gesture processing and terminal | |
CN105068730A (en) | Content switching method and mobile terminal | |
CN105045519B (en) | The screen control method and user terminal of a kind of user terminal | |
CN105511678A (en) | Application interface single-handed control method, device and terminal equipment | |
CN107360375B (en) | Shooting method and mobile terminal | |
CN108683812A (en) | Volume adjustment method, device and mobile terminal | |
EP3035172A1 (en) | Method and device for activating operation state of mobile terminal | |
CN110351418A (en) | Screen control method, device, mobile terminal and computer-readable medium | |
CN105739840A (en) | Terminal and method for starting an application program in the terminal | |
CN108646967A (en) | display switching method, device, mobile terminal 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 | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CP01 | Change in the name or title of a patent holder | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20171024 |
|
CF01 | Termination of patent right due to non-payment of annual fee |