技术领域technical field
本发明涉及电子技术领域,尤其涉及一种屏幕的切换方法及移动终端。The invention relates to the field of electronic technology, in particular to a screen switching method and a mobile terminal.
背景技术Background technique
随着智能手机的不断发展,智能手机已是人们日常生活和工作不可缺少的通信工具,为了提高人们对智能手机的用户体验,现如今智能手机的屏幕越做越大,有些智能手机甚至可以平板手机两用。大屏幕能够给用户提供更好的视觉感受,但是随着屏幕越来越大,单手操作也越来越力不从心。目前,单手模式在每次使用前都需要用户去选择操作的区域,比如,左手操作时,若定义的操作区域处于智能手机屏幕的右侧,则会给用户带来不便,且每次切换定义的操作区域都需用户自行选择,操作较繁琐,进而影响用户的体验。With the continuous development of smart phones, smart phones have become an indispensable communication tool for people's daily life and work. In order to improve people's user experience on smart phones, the screens of smart phones are getting bigger and bigger, and some smart phones can even be used as tablets. Mobile phone dual use. A large screen can provide users with a better visual experience, but as the screen becomes larger and larger, one-handed operation becomes more and more powerless. At present, the one-handed mode requires the user to select the operating area before each use. For example, when operating with the left hand, if the defined operating area is on the right side of the smartphone screen, it will cause inconvenience to the user. The defined operation area needs to be selected by the user, and the operation is cumbersome, which affects the user experience.
发明内容Contents of the invention
本发明实施例提供一种屏幕的切换方法及移动终端,解决了大屏智能终端,用户无法单手操作的困扰。Embodiments of the present invention provide a method for switching screens and a mobile terminal, which solves the problem that a user cannot operate a large-screen smart terminal with one hand.
本发明第一方面提供一种屏幕的切换方法,包括:The first aspect of the present invention provides a screen switching method, including:
当用户手握移动终端时,确定用户的手握状态;When the user holds the mobile terminal, determine the user's hand holding state;
根据所述用户的手握状态确定所述移动终端需要切换的屏幕模式,其中,所述屏幕模式为便于用户单手操控的小屏幕模式;Determine the screen mode that the mobile terminal needs to switch according to the user's grip state, wherein the screen mode is a small screen mode that is convenient for the user to manipulate with one hand;
根据确定的所述移动终端需要切换的屏幕模式切换所述移动终端的屏幕。switching the screen of the mobile terminal according to the determined screen mode to be switched by the mobile terminal.
结合本发明第一方面,在第一方面的第一种可能的是实现方式中,所述确定用户的手握状态,包括:In combination with the first aspect of the present invention, in the first possible implementation manner of the first aspect, the determination of the user's grip state includes:
通过移动终端的手握传感器获取到的数据信息确定用户的手握状态。The user's hand-holding state is determined through the data information acquired by the hand-holding sensor of the mobile terminal.
结合本发明第一方面或第一方面的第一种可能的是实现方式,在第一方面的第二种可能的是实现方式中,所述根据所述用户的手握状态确定所述移动终端需要切换的屏幕模式,包括:In combination with the first aspect of the present invention or the first possible implementation of the first aspect, in the second possible implementation of the first aspect, the determination of the mobile terminal according to the state of the user's hand grip Screen modes that need to be switched, including:
根据预先存储的手握状态与屏幕模式的映射关系确定所述移动终端需要切换的屏幕模式。The screen mode to be switched by the mobile terminal is determined according to the pre-stored mapping relationship between the grip state and the screen mode.
结合本发明第一方面、第一方面的第一种或第二种可能的是实现方式,在第一方面的第三种可能的是实现方式中,所述确定用户的手握状态之前,所述方法还包括:In combination with the first aspect of the present invention, the first or the second possible implementation of the first aspect, in the third possible implementation of the first aspect, before the determination of the user's grip state, the The method also includes:
判断手握传感器智能识别功能是否开启;Determine whether the intelligent recognition function of the hand sensor is turned on;
其中,所述确定用户的手握状态包括,在判定所述手握传感器智能识别功能开启的情况下,确定用户的手握状态。Wherein, the determining the user's hand-holding state includes determining the user's hand-holding state when it is determined that the intelligent recognition function of the hand-holding sensor is turned on.
结合本发明第一方面、第一方面的第一种至第三种任一种可能的是实现方式,在第一方面的第四种可能的是实现方式中,所述根据确定的所述移动终端需要切换的屏幕模式切换所述移动终端的屏幕之前,所述方法还包括:In combination with the first aspect of the present invention and any of the first to third possible implementations of the first aspect, in the fourth possible implementation of the first aspect, the movement determined according to The screen mode that the terminal needs to switch Before switching the screen of the mobile terminal, the method also includes:
获取所述移动终端当前的环境亮度;Acquiring the current ambient brightness of the mobile terminal;
根据所述移动终端当前的环境亮度调整所述移动终端的屏幕亮度。Adjusting the screen brightness of the mobile terminal according to the current ambient brightness of the mobile terminal.
本发明第二方面提供一种移动终端,包括:A second aspect of the present invention provides a mobile terminal, including:
第一确定单元,用于当用户手握移动终端时,确定用户的手握状态;The first determining unit is configured to determine the user's hand-holding state when the user holds the mobile terminal;
第二确定单元,用于根据所述第一确定单元确定得到的所述用户的手握状态确定所述移动终端需要切换的屏幕模式,其中,所述屏幕模式为便于用户操作的单手操控的屏幕模式;The second determining unit is configured to determine the screen mode to be switched by the mobile terminal according to the user's grip state determined by the first determining unit, wherein the screen mode is one-handed for easy user operation screen mode;
切换单元,用于根据所述第二确定单元确定的所述移动终端需要切换的屏幕模式切换所述移动终端的屏幕。A switching unit, configured to switch the screen of the mobile terminal according to the screen mode that the mobile terminal needs to switch determined by the second determining unit.
结合本发明第二方面,在第二方面的第一种可能的实现方式中,所述第一确定单元具体用于:With reference to the second aspect of the present invention, in a first possible implementation manner of the second aspect, the first determining unit is specifically configured to:
通过移动终端的手握传感器获取到的数据信息确定用户的手握状态。The user's hand-holding state is determined through the data information acquired by the hand-holding sensor of the mobile terminal.
结合本发明第二方面或第二方面的第一种可能的实现方式,在第二方面的第二种可能的实现方式中,所述第二确定单元具体用于:With reference to the second aspect of the present invention or the first possible implementation manner of the second aspect, in the second possible implementation manner of the second aspect, the second determination unit is specifically configured to:
根据预先存储的手握状态与屏幕模式的映射关系确定所述移动终端需要切换的屏幕模式。The screen mode to be switched by the mobile terminal is determined according to the pre-stored mapping relationship between the grip state and the screen mode.
结合本发明第二方面、第二方面的第一种或第二种可能的实现方式,在第二方面的第三种可能的实现方式中,所述移动终端还包括:In combination with the second aspect of the present invention, the first or the second possible implementation of the second aspect, in the third possible implementation of the second aspect, the mobile terminal further includes:
判断单元,用于判断手握传感器智能识别功能是否开启;A judging unit, used to judge whether the intelligent recognition function of the hand-held sensor is turned on;
其中,所述第一确定单元具体用于,在判定所述手握传感器智能识别功能开启的情况下,确定用户的手握状态。Wherein, the first determining unit is specifically configured to determine the user's hand-holding state when it is determined that the intelligent recognition function of the hand-holding sensor is turned on.
结合本发明第二方面、第二方面的第一种至第三种任一种可能的实现方式,在第二方面的第三种可能的实现方式中,所述移动终端还包括:In combination with the second aspect of the present invention and any of the first to third possible implementations of the second aspect, in the third possible implementation of the second aspect, the mobile terminal further includes:
获取单元,用于获取所述移动终端当前的环境亮度;an acquisition unit, configured to acquire the current ambient brightness of the mobile terminal;
调整单元,用于根据所述获取单元获取到的所述移动终端当前的环境亮度调整所述移动终端的屏幕亮度。An adjusting unit, configured to adjust the screen brightness of the mobile terminal according to the current ambient brightness of the mobile terminal acquired by the acquiring unit.
实施本发明实施例,具有如下有益效果:Implementing the embodiment of the present invention has the following beneficial effects:
本发明实施例中,由于智能手机的屏幕越做越大,有些智能手机甚至可以平板手机两用。大屏幕能够给用户提供更好的视觉感受,但是随着屏幕越来越大,单手操作也越来越力不从心,因此本发明在用户手握移动终端时,确定用户的手握状态,即确定用户手握终端的相对位置;根据所述用户的手握状态确定所述移动终端需要切换的屏幕模式,其中,所述屏幕模式为便于用户单手操控的小屏幕模式,即根据用户手握终端的相对位置确定便于用户单手操控的小屏幕模式;根据确定的所述移动终端需要切换的屏幕模式切换所述移动终端的屏幕。本发明实施例中,在用户手握移动终端时,通过用户的手握状态确定便于用户单手操控的小屏幕模式,并进行屏幕切换,进而解决了大屏移动终端,用户无法单手操作的困扰,进而提高用户的体验。In the embodiment of the present invention, since the screens of smart phones are getting bigger and bigger, some smart phones can even be used as tablet phones. The large screen can provide users with a better visual experience, but as the screen becomes larger and larger, one-handed operation becomes more and more powerless. Therefore, the present invention determines the user's hand holding state when the user holds the mobile terminal, that is, determines The relative position of the user's hand-held terminal; determine the screen mode that the mobile terminal needs to switch according to the user's hand-held state, wherein the screen mode is a small screen mode that is convenient for the user to manipulate with one hand, that is, according to the user's hand-held terminal Determine the small screen mode that is convenient for the user to manipulate with one hand; switch the screen of the mobile terminal according to the determined screen mode that the mobile terminal needs to switch. In the embodiment of the present invention, when the user holds the mobile terminal, the small screen mode that is convenient for the user to operate with one hand is determined through the user's hand holding state, and the screen is switched, thereby solving the problem that the user cannot operate the large-screen mobile terminal with one hand. troubles, thereby improving the user experience.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1为本发明实施例提供的屏幕的切换方法的第一实施例流程图;FIG. 1 is a flow chart of the first embodiment of the screen switching method provided by the embodiment of the present invention;
图2为本发明实施例提供的屏幕的切换方法的第二实施例流程图;FIG. 2 is a flow chart of the second embodiment of the screen switching method provided by the embodiment of the present invention;
图3为本发明实施例提供的屏幕的切换方法的第三实施例流程图;FIG. 3 is a flowchart of a third embodiment of the screen switching method provided by the embodiment of the present invention;
图4为本发明实施例提供的移动终端的第一实施例结构示意图;FIG. 4 is a schematic structural diagram of a first embodiment of a mobile terminal provided by an embodiment of the present invention;
图5为本发明实施例提供的移动终端的第二实施例结构示意图。FIG. 5 is a schematic structural diagram of a second embodiment of a mobile terminal provided by an embodiment of the present invention.
具体实施方式Detailed ways
本发明实施例提供一种屏幕的切换方法及移动终端,解决了大屏智能终端,用户无法单手操作的困扰。Embodiments of the present invention provide a method for switching screens and a mobile terminal, which solves the problem that a user cannot operate a large-screen smart terminal with one hand.
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.
以下分别进行详细说明。Each will be described in detail below.
本发明的说明书和权利要求书及所述附图中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third" and "fourth" in the description and claims of the present invention and the drawings are used to distinguish different objects, rather than to describe a specific order . Furthermore, the terms "include" and "have", as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally further includes For other steps or units inherent in these processes, methods, products or apparatuses.
本发明屏幕的切换方法的一个实施例。其中,一种屏幕的切换方法:当用户手握移动终端时,确定用户的手握状态;根据所述用户的手握状态确定所述移动终端需要切换的屏幕模式,其中,所述屏幕模式为便于用户操作的单手操控的屏幕模式;根据确定的所述移动终端需要切换的屏幕模式切换所述移动终端的屏幕。An embodiment of the screen switching method of the present invention. Among them, a screen switching method: when the user holds the mobile terminal, determine the user's hand-holding state; determine the screen mode that the mobile terminal needs to switch according to the user's hand-holding state, wherein the screen mode is A screen mode that is convenient for the user to operate with one hand; switch the screen of the mobile terminal according to the determined screen mode that the mobile terminal needs to switch.
首先参见图1,图1为本发明实施例提供的一种屏幕的切换方法的第一实施例流程图。其中,如图1所示,本发明的一个实施例提供的一种屏幕的切换方法可以包括步骤S101~S103:Referring first to FIG. 1 , FIG. 1 is a flowchart of a first embodiment of a screen switching method provided by an embodiment of the present invention. Wherein, as shown in FIG. 1, a screen switching method provided by an embodiment of the present invention may include steps S101-S103:
S101、当用户手握移动终端时,确定用户的手握状态。S101. When the user holds the mobile terminal, determine the state of the user's hand.
本发明实施例中,在用户手握移动终端时,移动终端通过移动终端的手握传感器获取到的数据信息确定用户的手握状态。举例来说,若在移动终端的两侧以及移动终端的背面按照等间距的排列若干个手握传感器,若用户手握移动终端时,若移动终端的左边上方手握传感器的数据为1,以及移动终端背面的左侧上方的某些手握传感器的数据为1,其他的手握传感器的数据为0,则移动终端确定用户的手握状态为左手握于移动终端的左上方。又举例来说,若在移动终端的两侧以及移动终端的背面按照等间距的排列若干个手握传感器,若用户手握移动终端时,若移动终端的左边下方手握传感器的数据为1,以及移动终端背面的左侧下方的某些手握传感器的数据为1,其他的手握传感器的数据为0,则移动终端确定用户的手握状态为左手握于移动终端的左下方。In the embodiment of the present invention, when the user holds the mobile terminal, the mobile terminal determines the user's hand holding state through the data information acquired by the hand holding sensor of the mobile terminal. For example, if a number of grip sensors are arranged at equal intervals on both sides of the mobile terminal and the back of the mobile terminal, if the user holds the mobile terminal, if the data of the grip sensor on the upper left side of the mobile terminal is 1, and The data of some hand grip sensors on the upper left side of the back of the mobile terminal is 1, and the data of other hand grip sensors is 0, then the mobile terminal determines that the user's hand grip state is that the left hand is held on the upper left of the mobile terminal. For another example, if several hand sensors are arranged at equal intervals on both sides of the mobile terminal and the back of the mobile terminal, if the user holds the mobile terminal, if the data of the hand sensor on the lower left side of the mobile terminal is 1, And the data of some hand-held sensors on the lower left side of the back of the mobile terminal is 1, and the data of other hand-held sensors is 0, then the mobile terminal determines that the user's hand-held state is that the left hand is held on the lower left of the mobile terminal.
其中,上述移动终端例如可以是下面中的任何一项或者全部,智能电话、可穿戴设备(个人中枢)、个人或移动多媒体播放器、个人数字助理(PDA)、膝上型计算机、平板电脑、智能本、掌上型计算机以及类似的个人电子设备,上述移动终端可以包括网络接口、处理器、存储器、音频处理电路、麦克风、摄像头、闪光灯,并且包括可以在内部或外部的音频放大器以及包括连接到音频放大器的扬声器单元。Wherein, the above-mentioned mobile terminal can be, for example, any one or all of the following, smart phone, wearable device (personal hub), personal or mobile multimedia player, personal digital assistant (PDA), laptop computer, tablet computer, Smartbooks, palmtop computers, and similar personal electronic devices, the above-mentioned mobile terminals may include network interfaces, processors, memory, audio processing circuits, microphones, cameras, flashlights, and include audio amplifiers that may be internal or external and include connections to Speaker unit for audio amplifier.
S102、根据所述用户的手握状态确定所述移动终端需要切换的屏幕模式,其中,所述屏幕模式为便于用户操作的单手操控的屏幕模式。S102. Determine a screen mode to be switched by the mobile terminal according to the user's grip state, where the screen mode is a screen mode that is convenient for user operation with one hand.
在一发明实施例中,根据所述用户的手握状态确定所述移动终端需要切换的屏幕模式的具体实施方式可以是:移动终端根据预先存储的手握状态与屏幕模式的映射关系确定所述移动终端需要切换的屏幕模式,其中,所述屏幕模式为便于用户单手操控的小屏幕模式。举例来说,若上述步骤S204确定用户的手握状态为左手握于移动终端的左下方,预先存储的与用户的手握状态为左手握于移动终端的左下方对应的屏幕模式为按照一定比例缩小的可操控的左下方的小屏模式。其中,手握状态与屏幕模式的映射关系可存储于移动终端本地,也可以存储于云端服务器。In an embodiment of the invention, the specific implementation manner of determining the screen mode that the mobile terminal needs to switch according to the user's grip state may be: the mobile terminal determines the screen mode according to the pre-stored mapping relationship between the grip state and the screen mode. The mobile terminal needs to switch between screen modes, wherein the screen mode is a small screen mode that is convenient for the user to manipulate with one hand. For example, if the above-mentioned step S204 determines that the user's hand holding state is that the left hand is held at the bottom left of the mobile terminal, the pre-stored screen mode corresponding to the user's hand holding state that the left hand is held at the bottom left of the mobile terminal is a certain ratio. Small screen mode on the bottom left of the zoomed out controllable. Wherein, the mapping relationship between the hand-held state and the screen mode can be stored locally in the mobile terminal, or can be stored in a cloud server.
在另一发明实施例中,根据所述用户的手握状态确定所述移动终端需要切换的屏幕模式的具体实施方式也可以是:移动终端可根据用户的手握状态以及移动终端的手握传感器获取到的数据信息确定移动终端需要切换的屏幕模式,举例来说,若用户的手握终端为左手握于移动终端的左上方,移动终端确定移动终端需要切换的屏幕模式为可操作的屏幕的长为移动终端背面手握传感器数据为1距离移动终端左侧最远距离的传感器距离移动终端左侧的距离,屏幕的宽为移动终端左侧手握传感器数据为1的距离移动终端左上方最远距离的传感器距离移动终端左上方的距离。In another embodiment of the invention, the specific implementation manner of determining the screen mode to be switched by the mobile terminal according to the user's hand-holding state may also be: the mobile terminal may The obtained data information determines the screen mode that the mobile terminal needs to switch. For example, if the user holds the terminal with his left hand on the upper left of the mobile terminal, the mobile terminal determines that the screen mode that the mobile terminal needs to switch is an operable screen. The length is the distance from the sensor with data of 1 on the back of the mobile terminal to the left side of the mobile terminal, and the width of the screen is the distance from the sensor with the data of 1 on the left side of the mobile terminal to the upper left of the mobile terminal. The distance between the long-distance sensor and the upper left of the mobile terminal.
S103、根据确定的所述移动终端需要切换的屏幕模式切换所述移动终端的屏幕。S103. Switch the screen of the mobile terminal according to the determined screen mode that the mobile terminal needs to switch.
本发明实施例中,移动终端将移动终端当前的屏幕模式,切换至确定的移动终端需要切换的屏幕模式。举例来说,若移动终端当前的屏幕模式为全屏模式,则需要切换的屏幕模式为左上方的单手操控的小屏模式,则移动终端将移动终端当前的全屏模式,切换至左上方的单手操控的小屏模式。In the embodiment of the present invention, the mobile terminal switches the current screen mode of the mobile terminal to the determined screen mode to be switched by the mobile terminal. For example, if the current screen mode of the mobile terminal is full screen mode, the screen mode to be switched is the small screen mode controlled by one hand at the upper left, then the mobile terminal switches the current full screen mode of the mobile terminal to the single screen mode at the upper left. Small screen mode for hand control.
本发明实施例中,由于智能手机的屏幕越做越大,有些智能手机甚至可以平板手机两用。大屏幕能够给用户提供更好的视觉感受,但是随着屏幕越来越大,单手操作也越来越力不从心,因此本发明在用户手握移动终端时,确定用户的手握状态,即确定用户手握终端的相对位置;根据所述用户的手握状态确定所述移动终端需要切换的屏幕模式,其中,所述屏幕模式为便于用户单手操控的小屏幕模式,即根据用户手握终端的相对位置确定便于用户单手操控的小屏幕模式;根据确定的所述移动终端需要切换的屏幕模式切换所述移动终端的屏幕。本发明实施例中,在用户手握移动终端时,通过用户的手握状态确定便于用户单手操控的小屏幕模式,并进行屏幕切换,进而解决了大屏移动终端,用户无法单手操作的困扰,进而提高用户的体验。In the embodiment of the present invention, since the screens of smart phones are getting bigger and bigger, some smart phones can even be used as tablet phones. The large screen can provide users with a better visual experience, but as the screen becomes larger and larger, one-handed operation becomes more and more powerless. Therefore, the present invention determines the user's hand holding state when the user holds the mobile terminal, that is, determines The relative position of the user's hand-held terminal; determine the screen mode that the mobile terminal needs to switch according to the user's hand-held state, wherein the screen mode is a small screen mode that is convenient for the user to manipulate with one hand, that is, according to the user's hand-held terminal Determine the small screen mode that is convenient for the user to manipulate with one hand; switch the screen of the mobile terminal according to the determined screen mode that the mobile terminal needs to switch. In the embodiment of the present invention, when the user holds the mobile terminal, the small screen mode that is convenient for the user to operate with one hand is determined through the user's hand holding state, and the screen is switched, thereby solving the problem that the user cannot operate the large-screen mobile terminal with one hand. troubles, thereby improving the user experience.
可选的,在确定用户的手握状态之前,如图1所述的屏幕的切换方法还包括:判断手握传感器智能识别功能是否开启;其中,所述确定用户的手握状态包括,在判定所述手握传感器智能识别功能开启的情况下,确定用户的手握状态。Optionally, before determining the user’s hand-holding state, the method for switching screens as described in FIG. 1 further includes: judging whether the intelligent recognition function of the hand-holding sensor is turned on; wherein, determining the user’s hand-holding state includes, When the intelligent recognition function of the hand-held sensor is turned on, the user's hand-held state is determined.
可选的,根据确定的所述移动终端需要切换的屏幕模式切换所述移动终端的屏幕之后,如图1所述的屏幕的切换方法还包括:获取所述移动终端当前的环境亮度;根据所述移动终端当前的环境亮度调整所述移动终端的屏幕亮度。Optionally, after switching the screen of the mobile terminal according to the determined screen mode that the mobile terminal needs to switch, the screen switching method as described in FIG. 1 further includes: acquiring the current ambient brightness of the mobile terminal; Adjust the screen brightness of the mobile terminal according to the current ambient brightness of the mobile terminal.
请参见图2,图2为本发明实施例提供的一种屏幕的切换方法的第二实施例流程图。其中,如图2所示,本发明的一个实施例提供的一种屏幕的切换方法可以包括步骤S201~S205:Please refer to FIG. 2 . FIG. 2 is a flowchart of a second embodiment of a screen switching method provided by an embodiment of the present invention. Wherein, as shown in FIG. 2, a screen switching method provided by an embodiment of the present invention may include steps S201-S205:
S201、当用户手握移动终端时,判断手握传感器智能识别功能是否开启。S201. When the user holds the mobile terminal, determine whether the intelligent identification function of the hand-held sensor is turned on.
若是,则执行步骤S203。If yes, execute step S203.
若否,则执行步骤S202。If not, execute step S202.
本发明实施例中,当用户手握移动终端时,移动终端判断移动终端的手握传感器智能识别功能是否开启,若是则执行步骤S203;若否则执行步骤S202。In the embodiment of the present invention, when the user holds the mobile terminal, the mobile terminal judges whether the intelligent identification function of the hand-held sensor of the mobile terminal is enabled, and if so, executes step S203; otherwise, executes step S202.
其中,上述移动终端例如可以是下面中的任何一项或者全部,智能电话、可穿戴设备(个人中枢)、个人或移动多媒体播放器、个人数字助理(PDA)、膝上型计算机、平板电脑、智能本、掌上型计算机以及类似的个人电子设备,上述移动终端可以包括网络接口、处理器、存储器、音频处理电路、麦克风、摄像头、闪光灯,并且包括可以在内部或外部的音频放大器以及包括连接到音频放大器的扬声器单元。Wherein, the above-mentioned mobile terminal can be, for example, any one or all of the following, smart phone, wearable device (personal hub), personal or mobile multimedia player, personal digital assistant (PDA), laptop computer, tablet computer, Smartbooks, palmtop computers, and similar personal electronic devices, the above-mentioned mobile terminals may include network interfaces, processors, memory, audio processing circuits, microphones, cameras, flashlights, and include audio amplifiers that may be internal or external and include connections to Speaker unit for audio amplifier.
S202、开启手握传感器智能识别功能。S202. Turn on the intelligent identification function of the hand sensor.
本发明实施例中,若上述步骤S201判断手握传感器智能识别功能未开启,则移动终端开启手握传感器智能识别功能。In the embodiment of the present invention, if the above step S201 judges that the smart recognition function of the hand sensor is not enabled, the mobile terminal turns on the smart recognition function of the hand sensor.
S203、在判定所述手握传感器智能识别功能开启的情况下,通过移动终端的手握传感器获取到的数据信息确定用户的手握状态。S203. When it is determined that the intelligent recognition function of the hand-hold sensor is turned on, determine the user's hand-hold state through the data information acquired by the hand-hold sensor of the mobile terminal.
本发明实施例中,若上述步骤S201判断手握传感器智能识别功能已开启,则移动终端通过移动终端的手握传感器获取到的数据信息确定用户的手握状态。举例来说,若在移动终端的两侧以及移动终端的背面按照等间距的排列若干个手握传感器,若用户手握移动终端时,若移动终端的左边上方手握传感器的数据为1,以及移动终端背面的左侧上方的某些手握传感器的数据为1,其他的手握传感器的数据为0,则移动终端确定用户的手握状态为左手握于移动终端的左上方。又举例来说,若在移动终端的两侧以及移动终端的背面按照等间距的排列若干个手握传感器,若用户手握移动终端时,若移动终端的左边下方手握传感器的数据为1,以及移动终端背面的左侧下方的某些手握传感器的数据为1,其他的手握传感器的数据为0,则移动终端确定用户的手握状态为左手握于移动终端的左下方。In the embodiment of the present invention, if the above step S201 judges that the intelligent recognition function of the grip sensor is turned on, the mobile terminal determines the user's grip status through the data information obtained by the grip sensor of the mobile terminal. For example, if a number of grip sensors are arranged at equal intervals on both sides of the mobile terminal and the back of the mobile terminal, if the user holds the mobile terminal, if the data of the grip sensor on the upper left side of the mobile terminal is 1, and The data of some hand grip sensors on the upper left side of the back of the mobile terminal is 1, and the data of other hand grip sensors is 0, then the mobile terminal determines that the user's hand grip state is that the left hand is held on the upper left of the mobile terminal. For another example, if several hand sensors are arranged at equal intervals on both sides of the mobile terminal and the back of the mobile terminal, if the user holds the mobile terminal, if the data of the hand sensor on the lower left side of the mobile terminal is 1, And the data of some hand-held sensors on the lower left side of the back of the mobile terminal is 1, and the data of other hand-held sensors is 0, then the mobile terminal determines that the user's hand-held state is that the left hand is held on the lower left of the mobile terminal.
S204、根据预先存储的手握状态与屏幕模式的映射关系确定所述移动终端需要切换的屏幕模式。S204. Determine the screen mode to be switched by the mobile terminal according to the pre-stored mapping relationship between the grip state and the screen mode.
本发明实施例中,移动终端根据预先存储的手握状态与屏幕模式的映射关系确定所述移动终端需要切换的屏幕模式,其中,所述屏幕模式为便于用户单手操控的小屏幕模式。举例来说,若上述步骤S204确定用户的手握状态为左手握于移动终端的左下方,预先存储的与用户的手握状态为左手握于移动终端的左下方对应的屏幕模式为按照一定比例缩小的可操控的左下方的小屏模式。其中,手握状态与屏幕模式的映射关系可存储于移动终端本地,也可以存储于云端服务器。In the embodiment of the present invention, the mobile terminal determines the screen mode to be switched by the mobile terminal according to the pre-stored mapping relationship between the hand holding state and the screen mode, wherein the screen mode is a small screen mode that is convenient for the user to manipulate with one hand. For example, if the above-mentioned step S204 determines that the user's hand holding state is that the left hand is held at the bottom left of the mobile terminal, the pre-stored screen mode corresponding to the user's hand holding state that the left hand is held at the bottom left of the mobile terminal is a certain ratio. Small screen mode on the bottom left of the zoomed out controllable. Wherein, the mapping relationship between the hand-held state and the screen mode can be stored locally in the mobile terminal, or can be stored in a cloud server.
S205、根据确定的所述移动终端需要切换的屏幕模式切换所述移动终端的屏幕。S205. Switch the screen of the mobile terminal according to the determined screen mode that the mobile terminal needs to switch.
本发明实施例中,移动终端将移动终端当前的屏幕模式,切换至确定的移动终端需要切换的屏幕模式。举例来说,若移动终端当前的屏幕模式为全屏模式,则需要切换的屏幕模式为左上方的单手操控的小屏模式,则移动终端将移动终端当前的全屏模式,切换至左上方的单手操控的小屏模式。In the embodiment of the present invention, the mobile terminal switches the current screen mode of the mobile terminal to the determined screen mode to be switched by the mobile terminal. For example, if the current screen mode of the mobile terminal is full screen mode, the screen mode to be switched is the small screen mode controlled by one hand at the upper left, then the mobile terminal switches the current full screen mode of the mobile terminal to the single screen mode at the upper left. Small screen mode for hand control.
本发明实施例中,由于智能手机的屏幕越做越大,有些智能手机甚至可以平板手机两用。大屏幕能够给用户提供更好的视觉感受,但是随着屏幕越来越大,单手操作也越来越力不从心,因此本发明在用户手握移动终端时,判断手握传感器智能识别功能是否开启,若是,通过移动终端的手握传感器获取到的数据信息确定用户的手握状态,若否,则开启手握传感器智能识别功能后,才通过移动终端的手握传感器获取到的数据信息确定用户的手握状态,即确定用户手握终端的相对位置;根据预先存储的手握状态与屏幕模式的映射关系确定所述移动终端需要切换的屏幕模式,其中,所述屏幕模式为便于用户单手操控的小屏幕模式,即根据用户手握终端的相对位置确定便于用户单手操控的小屏幕模式;根据确定的所述移动终端需要切换的屏幕模式切换所述移动终端的屏幕。本发明实施例中,在用户手握移动终端时,通过用户的手握状态确定便于用户单手操控的小屏幕模式,并进行屏幕切换,进而解决了大屏移动终端,用户无法单手操作的困扰,进而提高用户的体验。In the embodiment of the present invention, since the screens of smart phones are getting bigger and bigger, some smart phones can even be used as tablet phones. The large screen can provide users with a better visual experience, but as the screen becomes larger and larger, one-handed operation becomes more and more powerless, so the present invention judges whether the intelligent recognition function of the hand-held sensor is turned on when the user holds the mobile terminal , if so, determine the user's hand-holding state through the data information obtained by the hand-holding sensor of the mobile terminal, if not, after the intelligent recognition function of the hand-holding sensor is turned on, the user's hand-holding state is determined through the data information obtained by the hand-holding sensor of the mobile terminal The holding state of the mobile terminal is to determine the relative position of the user holding the terminal; according to the pre-stored mapping relationship between the holding state and the screen mode, the screen mode to be switched by the mobile terminal is determined, wherein the screen mode is convenient for the user to use with one hand. The small screen mode for manipulation, that is, according to the relative position of the user's hand holding the terminal, determine the small screen mode that is convenient for the user to manipulate with one hand; switch the screen of the mobile terminal according to the determined screen mode that the mobile terminal needs to switch. In the embodiment of the present invention, when the user holds the mobile terminal, the small screen mode that is convenient for the user to operate with one hand is determined through the user's hand holding state, and the screen is switched, thereby solving the problem that the user cannot operate the large-screen mobile terminal with one hand. troubles, thereby improving the user experience.
请参见图3,图3为本发明实施例提供的一种屏幕的切换方法的第三实施例流程图。其中,如图3所示,本发明的一个实施例提供的一种屏幕的切换方法可以包括步骤S301~S305:Please refer to FIG. 3 . FIG. 3 is a flowchart of a third embodiment of a screen switching method provided by an embodiment of the present invention. Wherein, as shown in FIG. 3 , a screen switching method provided by an embodiment of the present invention may include steps S301-S305:
S301、当用户手握移动终端时,判断手握传感器智能识别功能是否开启。S301. When the user holds the mobile terminal, determine whether the intelligent recognition function of the hand-held sensor is turned on.
若是,则执行步骤S303。If yes, execute step S303.
若否,则执行步骤S302。If not, execute step S302.
本发明实施例中,当用户手握移动终端时,移动终端判断移动终端的手握传感器智能识别功能是否开启,若是则执行步骤S203;若否则执行步骤S202。In the embodiment of the present invention, when the user holds the mobile terminal, the mobile terminal judges whether the intelligent identification function of the hand-held sensor of the mobile terminal is enabled, and if so, executes step S203; otherwise, executes step S202.
其中,上述移动终端例如可以是下面中的任何一项或者全部,智能电话、可穿戴设备(个人中枢)、个人或移动多媒体播放器、个人数字助理(PDA)、膝上型计算机、平板电脑、智能本、掌上型计算机以及类似的个人电子设备,上述移动终端可以包括网络接口、处理器、存储器、音频处理电路、麦克风、摄像头、闪光灯,并且包括可以在内部或外部的音频放大器以及包括连接到音频放大器的扬声器单元。Wherein, the above-mentioned mobile terminal can be, for example, any one or all of the following, smart phone, wearable device (personal hub), personal or mobile multimedia player, personal digital assistant (PDA), laptop computer, tablet computer, Smartbooks, palmtop computers, and similar personal electronic devices, the above-mentioned mobile terminals may include network interfaces, processors, memory, audio processing circuits, microphones, cameras, flashlights, and include audio amplifiers that may be internal or external and include connections to Speaker unit for audio amplifier.
S302、开启手握传感器智能识别功能。S302. Turn on the intelligent recognition function of the hand-held sensor.
本发明实施例中,若上述步骤S201判断手握传感器智能识别功能未开启,则移动终端开启手握传感器智能识别功能。In the embodiment of the present invention, if the above step S201 judges that the smart recognition function of the hand sensor is not enabled, the mobile terminal turns on the smart recognition function of the hand sensor.
S303、在判定所述手握传感器智能识别功能开启的情况下,通过移动终端的手握传感器获取到的数据信息确定用户的手握状态。S303. When it is determined that the intelligent recognition function of the hand-hold sensor is turned on, determine the user's hand-hold state through the data information acquired by the hand-hold sensor of the mobile terminal.
本发明实施例中,若上述步骤S301判断手握传感器智能识别功能已开启,则移动终端通过移动终端的手握传感器获取到的数据信息确定用户的手握状态。举例来说,若在移动终端的两侧以及移动终端的背面按照等间距的排列若干个手握传感器,若用户手握移动终端时,若移动终端的左边上方手握传感器的数据为1,以及移动终端背面的左侧上方的某些手握传感器的数据为1,其他的手握传感器的数据为0,则移动终端确定用户的手握状态为左手握于移动终端的左上方。又举例来说,若在移动终端的两侧以及移动终端的背面按照等间距的排列若干个手握传感器,若用户手握移动终端时,若移动终端的左边下方手握传感器的数据为1,以及移动终端背面的左侧下方的某些手握传感器的数据为1,其他的手握传感器的数据为0,则移动终端确定用户的手握状态为左手握于移动终端的左下方。In the embodiment of the present invention, if the above step S301 judges that the intelligent recognition function of the grip sensor is turned on, the mobile terminal determines the user's grip status through the data information obtained by the grip sensor of the mobile terminal. For example, if a number of grip sensors are arranged at equal intervals on both sides of the mobile terminal and the back of the mobile terminal, if the user holds the mobile terminal, if the data of the grip sensor on the upper left side of the mobile terminal is 1, and The data of some hand grip sensors on the upper left side of the back of the mobile terminal is 1, and the data of other hand grip sensors is 0, then the mobile terminal determines that the user's hand grip state is that the left hand is held on the upper left of the mobile terminal. For another example, if several hand sensors are arranged at equal intervals on both sides of the mobile terminal and the back of the mobile terminal, if the user holds the mobile terminal, if the data of the hand sensor on the lower left side of the mobile terminal is 1, And the data of some hand-held sensors on the lower left side of the back of the mobile terminal is 1, and the data of other hand-held sensors is 0, then the mobile terminal determines that the user's hand-held state is that the left hand is held on the lower left of the mobile terminal.
S304、根据预先存储的手握状态与屏幕模式的映射关系确定所述移动终端需要切换的屏幕模式。S304. Determine the screen mode to be switched by the mobile terminal according to the pre-stored mapping relationship between the grip state and the screen mode.
本发明实施例中,移动终端根据预先存储的手握状态与屏幕模式的映射关系确定所述移动终端需要切换的屏幕模式,其中,所述屏幕模式为便于用户单手操控的小屏幕模式。举例来说,若上述步骤S304确定用户的手握状态为左手握于移动终端的左下方,预先存储的与用户的手握状态为左手握于移动终端的左下方对应的屏幕模式为按照一定比例缩小的可操控的左下方的小屏模式。其中,手握状态与屏幕模式的映射关系可存储于移动终端本地,也可以存储于云端服务器。In the embodiment of the present invention, the mobile terminal determines the screen mode to be switched by the mobile terminal according to the pre-stored mapping relationship between the hand holding state and the screen mode, wherein the screen mode is a small screen mode that is convenient for the user to manipulate with one hand. For example, if the above-mentioned step S304 determines that the user's hand-holding state is that the left hand is held at the bottom left of the mobile terminal, the pre-stored screen mode corresponding to the user's hand-holding state that the left hand is held at the bottom left of the mobile terminal is based on a certain ratio. Small screen mode on the bottom left of the zoomed out controllable. Wherein, the mapping relationship between the hand-held state and the screen mode can be stored locally in the mobile terminal, or can be stored in a cloud server.
S305、根据确定的所述移动终端需要切换的屏幕模式切换所述移动终端的屏幕。S305. Switch the screen of the mobile terminal according to the determined screen mode that the mobile terminal needs to switch.
S306、获取所述移动终端当前的环境亮度。S306. Acquire the current ambient brightness of the mobile terminal.
S307、根据所述移动终端当前的环境亮度调整所述移动终端的屏幕亮度。S307. Adjust the screen brightness of the mobile terminal according to the current ambient brightness of the mobile terminal.
为了避免因屏幕亮度过亮或过暗而伤害用户的眼睛,因此智能的调整移动终端的屏幕亮度是很有必要的。在本发明实施例中,调整移动终端的屏幕亮度的具体实施方式可以是通过移动终端的光传感器获取所述移动终端当前的环境亮度;根据所述移动终端当前的环境亮度以及预先存储的环境亮度与屏幕亮度的映射关系调整所述移动终端的屏幕亮度,比如当前环境亮度较亮,可适当的将屏幕亮度调亮点,以便于用户可看清屏幕中的图像或字体,当前环境亮度较暗,可适当的将屏幕亮度调暗点,以便于用户可看清屏幕中的图像或字体。In order to avoid damage to the user's eyes due to too bright or too dark screen brightness, it is necessary to intelligently adjust the screen brightness of the mobile terminal. In the embodiment of the present invention, the specific implementation manner of adjusting the screen brightness of the mobile terminal may be to obtain the current ambient brightness of the mobile terminal through the light sensor of the mobile terminal; according to the current ambient brightness of the mobile terminal and the pre-stored ambient brightness The mapping relationship with the screen brightness adjusts the screen brightness of the mobile terminal. For example, the current environment brightness is relatively bright, and the screen brightness can be adjusted to a brighter point so that the user can clearly see the images or fonts on the screen. The current environment brightness is relatively dark. The brightness of the screen can be appropriately dimmed so that the user can clearly see the images or fonts on the screen.
在另一发明实施例中,调整移动终端的屏幕亮度的具体实施方式也可以是:获取上述移动终端当前的环境亮度信息;根据移动终端当前的环境亮度信息确定目标屏幕亮度,然后根据目标屏幕亮度调整移动终端的屏幕亮度;其中,上述目标屏幕亮度绑定的历史调整记录信息包括上述目标屏幕亮度调整时的历史环境亮度信息,并且上述目标屏幕亮度调整时的历史环境亮度信息与移动终端当前环境亮度信息匹配。In another embodiment of the invention, the specific implementation manner of adjusting the screen brightness of the mobile terminal may also be: obtaining the current ambient brightness information of the mobile terminal; determining the target screen brightness according to the current ambient brightness information of the mobile terminal, and then determining the target screen brightness according to the target screen brightness. Adjust the screen brightness of the mobile terminal; wherein, the history adjustment record information bound to the above-mentioned target screen brightness includes the historical environment brightness information when the above-mentioned target screen brightness is adjusted, and the historical environment brightness information when the above-mentioned target screen brightness is adjusted is consistent with the current environment of the mobile terminal Brightness information matches.
进一步的,若获取的目标屏幕亮的数量为至少两个,则获取每个目标屏幕亮被使用的次数,将上述目标屏幕亮中被使用次数最多的目标屏幕亮度作为本次调整移动终端的屏幕亮度的目标屏幕亮度。其中,上述目标屏幕亮度调整时的历史环境亮度信息与移动终端当前环境亮度信息匹配具体实施方式为:上述目标屏幕亮度调整时的历史环境亮度信息包括的历史调整起始时间与上述移动终端当前环境亮度信息包括的当前时间匹配;和/或,上述目标屏幕亮度调整时的历史环境亮度信息包括的当前环境亮度与上述移动终端当前环境亮度信息包括的当前环境亮度匹配。Further, if the number of acquired target screen lights is at least two, then obtain the number of times each target screen light is used, and use the target screen brightness that is used the most times among the above-mentioned target screen lights as the screen for adjusting the mobile terminal this time. The target screen brightness for brightness. Wherein, the historical environment brightness information when the target screen brightness is adjusted is matched with the current environment brightness information of the mobile terminal. The current time included in the brightness information matches; and/or, the current ambient brightness included in the historical ambient brightness information when the target screen brightness is adjusted matches the current ambient brightness included in the current ambient brightness information of the mobile terminal.
进一步的,当某一个屏幕亮度被调整的次数超过设定值时,将上述某一个屏幕亮度作为历史屏幕亮度进行存储,以及将上述某一个屏幕亮度调整时的环境亮度信息作为历史环境亮度信息添加至上述历史屏幕亮度文件绑定的历史调整记录信息中。Further, when the number of times a certain screen brightness is adjusted exceeds the set value, the above-mentioned certain screen brightness is stored as the historical screen brightness, and the ambient brightness information when the above-mentioned certain screen brightness is adjusted is added as the historical environmental brightness information To the historical adjustment record information bound to the above historical screen brightness file.
本发明实施例中,由于智能手机的屏幕越做越大,有些智能手机甚至可以平板手机两用。大屏幕能够给用户提供更好的视觉感受,但是随着屏幕越来越大,单手操作也越来越力不从心,因此本发明在用户手握移动终端时,判断手握传感器智能识别功能是否开启,若是,通过移动终端的手握传感器获取到的数据信息确定用户的手握状态,若否,则开启手握传感器智能识别功能后,才通过移动终端的手握传感器获取到的数据信息确定用户的手握状态,即确定用户手握终端的相对位置;根据预先存储的手握状态与屏幕模式的映射关系确定上述移动终端需要切换的屏幕模式,其中,上述屏幕模式为便于用户单手操控的小屏幕模式,即根据用户手握终端的相对位置确定便于用户单手操控的小屏幕模式;根据确定的上述移动终端需要切换的屏幕模式切换上述移动终端的屏幕。本发明实施例中,在用户手握移动终端时,通过用户的手握状态确定便于用户单手操控的小屏幕模式,并进行屏幕切换,进而解决了大屏移动终端,用户无法单手操作的困扰,进而提高用户的体验。In the embodiment of the present invention, since the screens of smart phones are getting bigger and bigger, some smart phones can even be used as tablet phones. The large screen can provide users with a better visual experience, but as the screen becomes larger and larger, one-handed operation becomes more and more powerless, so the present invention judges whether the intelligent recognition function of the hand-held sensor is turned on when the user holds the mobile terminal , if so, determine the user's hand-holding state through the data information obtained by the hand-holding sensor of the mobile terminal, if not, after the intelligent recognition function of the hand-holding sensor is turned on, the user's hand-holding state is determined through the data information obtained by the hand-holding sensor of the mobile terminal The holding state of the mobile terminal is to determine the relative position of the user holding the terminal; according to the pre-stored mapping relationship between the holding state and the screen mode, determine the screen mode that the mobile terminal needs to switch, wherein the above screen mode is convenient for the user to operate with one hand Small screen mode, that is, determine the small screen mode that is convenient for the user to manipulate with one hand according to the relative position of the user's hand holding the terminal; switch the screen of the mobile terminal according to the determined screen mode that the mobile terminal needs to switch. In the embodiment of the present invention, when the user holds the mobile terminal, the small screen mode that is convenient for the user to operate with one hand is determined through the user's hand holding state, and the screen is switched, thereby solving the problem that the user cannot operate the large-screen mobile terminal with one hand. troubles, thereby improving the user experience.
此外,为了避免因屏幕亮度过亮或过暗而伤害用户的眼睛,因此需要智能的调整移动终端的屏幕亮度是很有必要的。In addition, in order to avoid damage to the user's eyes due to too bright or too dark screen brightness, it is necessary to intelligently adjust the screen brightness of the mobile terminal.
请参见图4,图4为本发明实施例提供的一种移动终端400的结构示意图,该移动终端包括:Please refer to FIG. 4. FIG. 4 is a schematic structural diagram of a mobile terminal 400 provided by an embodiment of the present invention. The mobile terminal includes:
第一确定单元401,用于当用户手握移动终端时,确定用户的手握状态。The first determining unit 401 is configured to determine the state of the user's hand when the user holds the mobile terminal.
其中,上述第一确定单元具体用于:Wherein, the above-mentioned first determining unit is specifically used for:
通过移动终端的手握传感器获取到的数据信息确定用户的手握状态。The user's hand-holding state is determined through the data information acquired by the hand-holding sensor of the mobile terminal.
第二确定单元402,用于根据上述第一确定单元确定得到的上述用户的手握状态确定上述移动终端需要切换的屏幕模式,其中,上述屏幕模式为便于用户单手操控的小屏幕模式。The second determining unit 402 is configured to determine the screen mode to be switched by the mobile terminal according to the user's grip state determined by the first determining unit, wherein the screen mode is a small screen mode that is convenient for the user to manipulate with one hand.
其中,上述第二确定单元具体用于:Wherein, the above-mentioned second determining unit is specifically used for:
根据预先存储的手握状态与屏幕模式的映射关系确定上述移动终端需要切换的屏幕模式。The screen mode to be switched by the mobile terminal is determined according to the pre-stored mapping relationship between the grip state and the screen mode.
切换单元403,用于根据上述第二确定单元确定的上述移动终端需要切换的屏幕模式切换上述移动终端的屏幕。The switching unit 403 is configured to switch the screen of the mobile terminal according to the screen mode that the mobile terminal needs to switch determined by the second determining unit.
可选的,在上述第一确定单元确定用户的手握状态之前,上述移动终端还包括:Optionally, before the first determination unit determines the user's grip state, the mobile terminal further includes:
判断单元,用于判断手握传感器智能识别功能是否开启;A judging unit, used to judge whether the intelligent recognition function of the hand-held sensor is turned on;
其中,上述第一确定单元具体用于,在判定上述手握传感器智能识别功能开启的情况下,确定用户的手握状态。Wherein, the above-mentioned first determining unit is specifically configured to determine the user's hand-holding state when it is determined that the above-mentioned intelligent recognition function of the hand-holding sensor is turned on.
可选的,在切换单元403根据上述第二确定单元确定的上述移动终端需要切换的屏幕模式切换上述移动终端的屏幕之后,上述移动终端还包括:Optionally, after the switching unit 403 switches the screen of the mobile terminal according to the screen mode that the mobile terminal needs to switch determined by the second determining unit, the mobile terminal further includes:
获取单元,用于获取上述移动终端当前的环境亮度;an acquisition unit, configured to acquire the current ambient brightness of the mobile terminal;
调整单元,用于根据上述获取单元获取到的上述移动终端当前的环境亮度调整上述移动终端的屏幕亮度。An adjusting unit, configured to adjust the screen brightness of the mobile terminal according to the current ambient brightness of the mobile terminal acquired by the acquiring unit.
可以理解的是,本实施例的移动终端400的各功能模块的功能可根据上述方法实施例中的方法具体实现,其具体实现过程可以参照上述方法实施例的相关描述,此处不再赘述。It can be understood that the functions of the functional modules of the mobile terminal 400 in this embodiment can be specifically implemented according to the method in the above method embodiment, and the specific implementation process can refer to the relevant description of the above method embodiment, and will not be repeated here.
本发明实施例中,由于智能手机的屏幕越做越大,有些智能手机甚至可以平板手机两用。大屏幕能够给用户提供更好的视觉感受,但是随着屏幕越来越大,单手操作也越来越力不从心,因此本发明在用户手握移动终端时,第一确定单元401确定用户的手握状态,即确定用户手握终端的相对位置;第二确定单元402根据上述用户的手握状态确定上述移动终端需要切换的屏幕模式,其中,上述屏幕模式为便于用户单手操控的小屏幕模式,即根据用户手握终端的相对位置确定便于用户单手操控的小屏幕模式;切换单元403根据确定的上述移动终端需要切换的屏幕模式切换上述移动终端的屏幕。本发明实施例中,在用户手握移动终端时,通过用户的手握状态确定便于用户单手操控的小屏幕模式,并进行屏幕切换,进而解决了大屏移动终端,用户无法单手操作的困扰,进而提高用户的体验。In the embodiment of the present invention, since the screens of smart phones are getting bigger and bigger, some smart phones can even be used as tablet phones. The large screen can provide the user with a better visual experience, but as the screen becomes larger and larger, one-handed operation becomes more and more difficult. Therefore, in the present invention, when the user holds the mobile terminal, the first determination unit 401 determines the user's hand Grip state, that is, to determine the relative position of the user’s hand holding the terminal; the second determination unit 402 determines the screen mode that the mobile terminal needs to switch according to the user’s hand hold state, wherein the above screen mode is a small screen mode that is convenient for the user to operate with one hand That is, according to the relative position of the user's hand holding the terminal, a small screen mode that is convenient for the user to manipulate with one hand is determined; the switching unit 403 switches the screen of the mobile terminal according to the determined screen mode that the mobile terminal needs to switch. In the embodiment of the present invention, when the user holds the mobile terminal, the small screen mode that is convenient for the user to operate with one hand is determined through the user's hand holding state, and the screen is switched, thereby solving the problem that the user cannot operate the large-screen mobile terminal with one hand. troubles, thereby improving the user experience.
请参见图5,图5为本发明实施例提供的一种移动终端500的结构示意图,该移动终端包括:至少一个输入设备501;至少一个输出设备502;至少一个处理器503,例如CPU;和存储器504,上述输入设备501、输出设备502、处理器503和存储器504通过总线505连接。Please refer to FIG. 5. FIG. 5 is a schematic structural diagram of a mobile terminal 500 provided by an embodiment of the present invention, the mobile terminal includes: at least one input device 501; at least one output device 502; at least one processor 503, such as a CPU; and The memory 504 , the aforementioned input device 501 , output device 502 , processor 503 and memory 504 are connected through a bus 505 .
其中,上述输入设备501具体可为移动终端的触控面板,包括触摸屏和触控屏,用于检测终端触控面板上的操作指令。Wherein, the above-mentioned input device 501 may specifically be a touch panel of a mobile terminal, including a touch screen and a touch screen, and is used for detecting operation instructions on the touch panel of the terminal.
上述输出设备502具体可为移动终端的显示屏,用于输出、显示信息。The above-mentioned output device 502 may specifically be a display screen of a mobile terminal for outputting and displaying information.
上述存储器504可以是高速RAM存储器,也可为非不稳定的存储器(non-volatilememory),例如磁盘存储器。上述存储器504用于存储一组程序代码,上述输入设备501、输出设备502和处理器503用于调用存储器504中存储的程序代码,执行如下操作:The above-mentioned memory 504 may be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as a disk memory. The above-mentioned memory 504 is used to store a set of program codes, and the above-mentioned input device 501, output device 502 and processor 503 are used to call the program codes stored in the memory 504, and perform the following operations:
处理器503,用于当用户手握移动终端时,确定用户的手握状态;根据上述用户的手握状态确定上述移动终端需要切换的屏幕模式,其中,上述屏幕模式为便于用户单手操控的小屏幕模式;根据确定的上述移动终端需要切换的屏幕模式切换上述移动终端的屏幕。The processor 503 is configured to determine the user's hand-holding state when the user holds the mobile terminal; determine the screen mode to be switched by the above-mentioned mobile terminal according to the above-mentioned user's hand-holding state, wherein the above-mentioned screen mode is convenient for the user to operate with one hand Small screen mode: switch the screen of the mobile terminal according to the determined screen mode to be switched by the mobile terminal.
在一些可选的实施例中,上述处理器503还具体用于:In some optional embodiments, the processor 503 is further specifically configured to:
通过移动终端的手握传感器获取到的数据信息确定用户的手握状态。The user's hand-holding state is determined through the data information acquired by the hand-holding sensor of the mobile terminal.
在一些可选的实施例中,上述处理器503还具体用于:In some optional embodiments, the processor 503 is further specifically configured to:
根据预先存储的手握状态与屏幕模式的映射关系确定上述移动终端需要切换的屏幕模式。The screen mode to be switched by the mobile terminal is determined according to the pre-stored mapping relationship between the grip state and the screen mode.
在一些可选的实施例中,在上述处理器503确定用户的手握状态之前,上述处理器503还具体用于:In some optional embodiments, before the processor 503 determines the user's hand grip state, the processor 503 is further specifically configured to:
判断手握传感器智能识别功能是否开启;Determine whether the intelligent recognition function of the hand sensor is turned on;
其中,上述处理器503还具体用于,在判定上述手握传感器智能识别功能开启的情况下,确定用户的手握状态。Wherein, the above-mentioned processor 503 is also specifically configured to determine the user's hand-holding state when it is determined that the above-mentioned hand-holding sensor intelligent recognition function is turned on.
在一些可选的实施例中,在上述处理器503根据确定的上述移动终端需要切换的屏幕模式切换上述移动终端的屏幕之后,上述处理器503还具体用于:In some optional embodiments, after the processor 503 switches the screen of the mobile terminal according to the determined screen mode that the mobile terminal needs to switch, the processor 503 is further specifically configured to:
获取上述移动终端当前的环境亮度;Acquiring the current ambient brightness of the above mobile terminal;
根据上述移动终端当前的环境亮度调整上述移动终端的屏幕亮度。The screen brightness of the mobile terminal is adjusted according to the current ambient brightness of the mobile terminal.
具体实现中,本发明实施例中所描述的输入设备501、输出设备502和处理器503可执行本发明实施例提供的屏幕的切换方法的各实施例中所描述的实现方式,也可执行本发明实施例提供的移动终端的第一实施例中所描述的终端的实现方式,在此不再赘述。In specific implementation, the input device 501, output device 502, and processor 503 described in the embodiment of the present invention can execute the implementation methods described in the embodiments of the screen switching method provided in the embodiment of the present invention, and can also execute this The implementation of the terminal described in the first embodiment of the mobile terminal provided by the embodiment of the invention will not be repeated here.
本发明所有实施例中的单元,可以通过通用集成电路,例如CPU(CentralProcessing Unit,中央处理器),或通过ASIC(Application Specific IntegratedCircuit,专用集成电路)来实现。The units in all the embodiments of the present invention may be implemented by a general-purpose integrated circuit, such as a CPU (Central Processing Unit, central processing unit), or an ASIC (Application Specific Integrated Circuit, application specific integrated circuit).
本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。The steps in the methods of the embodiments of the present invention can be adjusted, combined and deleted according to actual needs.
本发明实施例装置中的模块或单元可以根据实际需要进行合并、划分和删减。The modules or units in the device of the embodiment of the present invention can be combined, divided and deleted according to actual needs.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,上述的程序可存储于—计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,上述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random AccessMemory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the method of the above-mentioned embodiments can be completed by instructing related hardware through a computer program. The above-mentioned program can be stored in a computer-readable storage medium, and the program is in During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the above-mentioned 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).
以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。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.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510349935.5ACN104980582B (en) | 2015-06-23 | 2015-06-23 | The switching method and mobile terminal of a kind of screen |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510349935.5ACN104980582B (en) | 2015-06-23 | 2015-06-23 | The switching method and mobile terminal of a kind of screen |
| Publication Number | Publication Date |
|---|---|
| CN104980582A CN104980582A (en) | 2015-10-14 |
| CN104980582Btrue CN104980582B (en) | 2018-01-23 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510349935.5AExpired - Fee RelatedCN104980582B (en) | 2015-06-23 | 2015-06-23 | The switching method and mobile terminal of a kind of screen |
| Country | Link |
|---|---|
| CN (1) | CN104980582B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106210286B (en)* | 2016-06-30 | 2020-08-21 | 契科基纳(南京)科技有限公司 | Parameter adjusting method and device for double-screen mobile terminal |
| CN108574763A (en)* | 2017-03-07 | 2018-09-25 | 上海传英信息技术有限公司 | A kind of method of communication terminal one-handed performance |
| CN108810264A (en)* | 2018-05-29 | 2018-11-13 | 努比亚技术有限公司 | A kind of brightness adjusting method and terminal, computer readable storage medium |
| CN110035176B (en)* | 2019-03-25 | 2021-01-01 | 努比亚技术有限公司 | Brightness adjusting method of mobile terminal, mobile terminal and storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103281436A (en)* | 2013-04-27 | 2013-09-04 | 深圳市金立通信设备有限公司 | Method for adjusting brightness of mobile terminal screen and mobile terminal |
| CN103677266A (en)* | 2013-12-09 | 2014-03-26 | 联想(北京)有限公司 | Electronic equipment and display control method and system thereof |
| CN104252292A (en)* | 2014-08-29 | 2014-12-31 | 惠州Tcl移动通信有限公司 | Display method and mobile terminal |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2014047922A1 (en)* | 2012-09-29 | 2014-04-03 | 华为终端有限公司 | Electronic device and method for controlling zooming of display object |
| CN104298392A (en)* | 2014-08-11 | 2015-01-21 | 上海华豚科技有限公司 | Method for judging strong hand for holding according to touch position |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103281436A (en)* | 2013-04-27 | 2013-09-04 | 深圳市金立通信设备有限公司 | Method for adjusting brightness of mobile terminal screen and mobile terminal |
| CN103677266A (en)* | 2013-12-09 | 2014-03-26 | 联想(北京)有限公司 | Electronic equipment and display control method and system thereof |
| CN104252292A (en)* | 2014-08-29 | 2014-12-31 | 惠州Tcl移动通信有限公司 | Display method and mobile terminal |
| Publication number | Publication date |
|---|---|
| CN104980582A (en) | 2015-10-14 |
| Publication | Publication Date | Title |
|---|---|---|
| CN111782102B (en) | Window display method and related device | |
| US20190354332A1 (en) | Method and apparatus for outputting contents using a plurality of displays | |
| RU2677595C2 (en) | Application interface presentation method and apparatus and electronic device | |
| CN107484231B (en) | Screen parameter adjusting method, device, terminal and computer readable storage medium | |
| TWI521420B (en) | Mobile terminal device capable of automatically switching operation mode | |
| CN112950525B (en) | Image detection method and device and electronic equipment | |
| CN106357925B (en) | Switching method, device and terminal for screen brightness adjustment mode | |
| WO2017032007A1 (en) | Screen brightness adjusting method and mobile terminal | |
| CN106484283A (en) | A display control method and mobile terminal | |
| CN103955339A (en) | Terminal operation method and terminal equipment | |
| US11231842B2 (en) | Method for changing the size of the content displayed on display and electronic device thereof | |
| KR102734793B1 (en) | Electronic device for displaying message and operating method thereof | |
| CN104980582B (en) | The switching method and mobile terminal of a kind of screen | |
| WO2020007114A1 (en) | Method and apparatus for switching split-screen application, storage medium, and electronic device | |
| KR20160053641A (en) | Method for controlling multi displays and electronic apparatus thereof | |
| CN108646970A (en) | Display control method and related product | |
| CN108763317A (en) | A kind of auxiliary chooses the method and terminal device of picture | |
| KR20130082352A (en) | Apparatus and method for zooming touch screen in electronic device | |
| CN108958841A (en) | A kind of setting method and mobile terminal of desktop pendant | |
| CN107256122B (en) | screen brightness adjusting method, device, terminal and computer readable storage medium | |
| WO2024245158A1 (en) | Charging method, charging apparatus, electronic device, and readable storage medium | |
| CN110851107B (en) | A control method for electronic equipment and electronic equipment | |
| CN112424744B (en) | Electronic device and volume adjustment method of electronic device | |
| CN111343321A (en) | Backlight brightness adjustment method and related products | |
| CN115527501A (en) | Method for adjusting backlight value, processor, display terminal and storage medium |
| 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:20180123 | |
| CF01 | Termination of patent right due to non-payment of annual fee |