CN109976656B - Page turning control method for browsing webpage and user terminal - Google Patents
Page turning control method for browsing webpage and user terminal Download PDFInfo
- Publication number
- CN109976656B CN109976656B CN201910227713.4A CN201910227713A CN109976656B CN 109976656 B CN109976656 B CN 109976656B CN 201910227713 A CN201910227713 A CN 201910227713A CN 109976656 B CN109976656 B CN 109976656B
- Authority
- CN
- China
- Prior art keywords
- page
- voiceprint information
- user terminal
- pressure
- display sub
- 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.)
- Expired - Fee Related
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
技术领域technical field
本发明涉及通信技术领域,尤其涉及一种浏览网页的翻页控制方法及用户终端。The present invention relates to the field of communication technologies, and in particular, to a page-turning control method for browsing web pages and a user terminal.
背景技术Background technique
目前,应用移动手机、平板电脑等用户终端来浏览网页时,用户有时候对浏览网页进行翻页操作。在实际应用中,用户通常可以在触摸屏上输入滑动手势来控制浏览网页翻页。例如,用户在触摸屏上输入向左滑动手势时,可以控制浏览网页向左翻页;而用户在触摸屏上输入向右滑动手势时,可以控制浏览网页向右翻页。然而在实践中发现,在触摸屏上输入滑动手势来控制浏览网页翻页很容易划伤触摸屏。At present, when a user terminal such as a mobile phone and a tablet computer is used to browse a web page, the user sometimes performs a page turning operation on the browsed web page. In practical applications, the user can usually input sliding gestures on the touch screen to control the browsing of web pages to turn pages. For example, when the user inputs a left swipe gesture on the touch screen, he can control the browsing web page to turn left; and when the user inputs a right swipe gesture on the touch screen, he can control the browsing web page to turn to the right. However, in practice, it is found that it is easy to scratch the touch screen by inputting a sliding gesture on the touch screen to control web page turning.
发明内容SUMMARY OF THE INVENTION
本发明实施例公开了一种浏览网页的翻页控制方法及用户终端,能够避免划伤触摸屏。The embodiment of the present invention discloses a page turning control method and a user terminal for browsing web pages, which can avoid scratching the touch screen.
本发明实施例第一方面公开一种浏览网页的翻页控制方法,所述方法包括:A first aspect of the embodiments of the present invention discloses a page-turning control method for browsing a web page, the method comprising:
检测对浏览网页上的目标显示子区域的触及压力;所述目标显示子区域是所述浏览网页的显示区域划分成的至少二个显示子区域中的任一个显示子区域,并且任意两个所述显示子区域对应的翻页方式互不相同;Detecting the touch pressure on the target display sub-area on the browsing web page; the target display sub-area is any one of the at least two display sub-areas divided into the display area of the browsing web page, and any two display sub-areas are The page turning methods corresponding to the display sub-areas are different from each other;
从预设的压力与翻页速度的对应关系中,查询所述触及压力对应的翻页速度;From the preset correspondence between the pressure and the page turning speed, query the page turning speed corresponding to the touch pressure;
按照所述目标显示子区域对应的翻页方式,并以所述触及压力对应的翻页速度对所述浏览网页进行翻页操作。The page-turning operation is performed on the browsing webpage according to the page-turning mode corresponding to the target display sub-area and at the page-turning speed corresponding to the touch pressure.
在本发明实施例第一方面中,在检测对浏览网页上的目标显示子区域的触及压力之后,所述方法还包括:In the first aspect of the embodiment of the present invention, after detecting the touch pressure on the target display sub-region on the browsing web page, the method further includes:
检测所述浏览网页所在用户终端的加速度是否小于预设阈值,如果是,执行所述的从预设的压力与翻页速度的对应关系中,查询所述触及压力对应的翻页速度的步骤。Detect whether the acceleration of the user terminal where the webpage is browsed is smaller than a preset threshold, and if so, perform the step of querying the page-turning speed corresponding to the touch pressure from the corresponding relationship between the preset pressure and the page-turning speed.
在本发明实施例第一方面中,在检测所述浏览网页所在用户终端的加速度小于预设阈值之后,所述方法还包括:In the first aspect of the embodiment of the present invention, after detecting that the acceleration of the user terminal where the webpage is browsed is less than a preset threshold, the method further includes:
检测所述目标显示子区域的触及时长是否大于预设时长,如果是,执行所述的从预设的压力与翻页速度的对应关系中,查询所述触及压力对应的翻页速度的步骤。Detecting whether the touch duration of the target display sub-area is greater than a preset duration, and if so, performing the step of querying the page turning speed corresponding to the touch pressure from the corresponding relationship between the preset pressure and the page turning speed.
在本发明实施例第一方面中,在检测所述目标显示子区域的触及时长大于预设时长之后,所述方法还包括:In the first aspect of the embodiment of the present invention, after detecting that the touch duration of the target display sub-region is longer than a preset duration, the method further includes:
提示输入待认证声纹信息;Prompt to enter the voiceprint information to be authenticated;
采集输入的待认证声纹信息;Collect the input voiceprint information to be authenticated;
对比所述待认证声纹信息与预设声纹信息是否匹配,如果匹配,执行所述的从预设的压力与翻页速度的对应关系中,查询所述触及压力对应的翻页速度的步骤。Compare whether the voiceprint information to be authenticated matches the preset voiceprint information, and if so, execute the step of querying the page turning speed corresponding to the touch pressure from the corresponding relationship between the preset pressure and the page turning speed .
在本发明实施例第一方面中,在采集输入的待认证声纹信息之后,以及在对比所述待认证声纹信息与预设声纹信息是否匹配之前,所述方法还包括:In the first aspect of the embodiment of the present invention, after collecting the input voiceprint information to be authenticated, and before comparing whether the voiceprint information to be authenticated matches the preset voiceprint information, the method further includes:
向所述用户终端的通讯录中的指定联系人发送参考声纹信息获取请求;向所述用户终端正在运行的社交应用中的指定关系用户发送参考声纹信息获取请求;sending a request for obtaining reference voiceprint information to a designated contact in the address book of the user terminal; sending a request for obtaining reference voiceprint information to a designated relationship user in a social application running on the user terminal;
接收所述指定联系人发送的参考声纹信息,以及接收所述指定关系用户发送的参考声纹信息;Receive the reference voiceprint information sent by the designated contact, and receive the reference voiceprint information sent by the designated relationship user;
判断所述指定联系人发送的参考声纹信息与所述指定关系用户发送的参考声纹信息是否匹配,如果相同,将所述参考声纹信息作为预设声纹信息。It is judged whether the reference voiceprint information sent by the designated contact matches the reference voiceprint information sent by the designated relationship user, and if they are the same, the reference voiceprint information is used as preset voiceprint information.
在本发明实施例第一方面中,在对比所述待认证声纹信息与预设声纹信息匹配之后,所述方法还包括:In the first aspect of the embodiment of the present invention, after comparing the to-be-authenticated voiceprint information and preset voiceprint information for matching, the method further includes:
检测所述用户终端是否发生设定姿态变换事件,所述设定姿态变换事件包括所述用户终端的显示屏所处姿态由垂直姿态变换到水平姿态,或者,所述设定姿态变换事件包括所述用户终端的显示屏所处姿态由水平姿态变换到垂直姿态;Detect whether a set posture transformation event occurs in the user terminal, the set posture transformation event includes that the posture of the display screen of the user terminal is changed from a vertical posture to a horizontal posture, or the set posture transformation event includes all the The posture of the display screen of the user terminal is transformed from a horizontal posture to a vertical posture;
如果发生所述设定姿态变换事件,执行所述的从预设的压力与翻页速度的对应关系中,查询所述触及压力对应的翻页速度的步骤。If the set posture change event occurs, the step of querying the page turning speed corresponding to the touch pressure from the preset correspondence between the pressure and the page turning speed is performed.
本发明实施例第二方面公开一种用户终端,所述用户终端包括:A second aspect of the embodiments of the present invention discloses a user terminal, where the user terminal includes:
压力检测单元,用于检测对浏览网页上的目标显示子区域的触及压力;所述目标显示子区域是所述浏览网页的显示区域划分成的至少二个显示子区域中的任一个显示子区域,并且任意两个所述显示子区域对应的翻页方式互不相同;A pressure detection unit, configured to detect the touch pressure on a target display sub-area on the browsing web page; the target display sub-area is any one of the at least two display sub-areas that the display area of the browsing web page is divided into , and the page turning modes corresponding to any two of the display sub-areas are different from each other;
查询单元,用于从预设的压力与翻页速度的对应关系中,查询所述触及压力对应的翻页速度;a query unit, configured to query the page-turning speed corresponding to the touch pressure from a preset correspondence between the pressure and the page-turning speed;
控制单元,用于按照所述目标显示子区域对应的翻页方式,并以所述触及压力对应的翻页速度对所述浏览网页进行翻页操作。The control unit is configured to perform the page turning operation on the browsing webpage according to the page turning mode corresponding to the target display sub-area and at the page turning speed corresponding to the touch pressure.
在本发明实施例第二方面中,所述用户终端还包括:In the second aspect of the embodiment of the present invention, the user terminal further includes:
加速度检测单元,用于在所述压力检测单元检测对浏览网页上的目标显示子区域的触及压力之后,检测所述用户终端的加速度是否小于预设阈值;an acceleration detection unit, configured to detect whether the acceleration of the user terminal is less than a preset threshold after the pressure detection unit detects the touch pressure on the target display sub-region on the browsing web page;
所述查询单元,具体用于在所述加速度检测单元的检测结果为是时,从预设的压力与翻页速度的对应关系中,查询所述触及压力对应的翻页速度。The query unit is specifically configured to query the page turning speed corresponding to the touch pressure from the preset correspondence between the pressure and the page turning speed when the detection result of the acceleration detection unit is yes.
在本发明实施例第二方面中,所述用户终端还包括:In the second aspect of the embodiment of the present invention, the user terminal further includes:
时长检测单元,用于在所述加速度检测单元的检测结果为是时,检测所述目标显示子区域的触及时长是否大于预设时长;a duration detection unit, configured to detect whether the touch duration of the target display sub-region is greater than a preset duration when the detection result of the acceleration detection unit is yes;
所述查询单元,具体用于在所述加速度检测单元的检测结果为是时以及所述时长检测单元的检测结果也为是时,从预设的压力与翻页速度的对应关系中,查询所述触及压力对应的翻页速度。The query unit is specifically configured to query the preset corresponding relationship between pressure and page turning speed when the detection result of the acceleration detection unit is yes and the detection result of the duration detection unit is also yes. The page turning speed corresponding to the above touch pressure.
在本发明实施例第二方面中,所述用户终端还包括:In the second aspect of the embodiment of the present invention, the user terminal further includes:
本地交互单元,用于在所述时长检测单元的检测结果为是时,提示输入待认证声纹信息,以及采集输入的待认证声纹信息;a local interaction unit, configured to prompt the input of the voiceprint information to be authenticated when the detection result of the duration detection unit is yes, and collect the input voiceprint information to be authenticated;
对比单元,用于对比所述待认证声纹信息与预设声纹信息是否匹配;a comparison unit, configured to compare whether the voiceprint information to be authenticated matches the preset voiceprint information;
所述查询单元,具体用于在所述加速度检测单元的检测结果为是时,以及所述时长检测单元的检测结果为是时,以及所述对比单元的对比结果为匹配时,从预设的压力与翻页速度的对应关系中,查询所述触及压力对应的翻页速度。The query unit is specifically configured to, when the detection result of the acceleration detection unit is yes, and when the detection result of the duration detection unit is yes, and when the comparison result of the comparison unit is a match, from the preset In the correspondence between the pressure and the page turning speed, query the page turning speed corresponding to the touch pressure.
在本发明实施例第二方面中,所述用户终端还包括:In the second aspect of the embodiment of the present invention, the user terminal further includes:
无线交互单元,用于在所述本地交互单元采集输入的待认证声纹信息之后,向所述用户终端的通讯录中的指定联系人发送参考声纹信息获取请求,以及,向所述用户终端正在运行的社交应用中的指定关系用户发送参考声纹信息获取请求,以及,接收所述指定联系人发送的参考声纹信息,以及接收所述指定关系用户发送的参考声纹信息;a wireless interaction unit, configured to send a reference voiceprint information acquisition request to a designated contact in the address book of the user terminal after the local interaction unit collects the input voiceprint information to be authenticated, and send a request to the user terminal A designated relationship user in the running social application sends a reference voiceprint information acquisition request, and receives the reference voiceprint information sent by the designated contact, and receives the reference voiceprint information sent by the designated relationship user;
判断单元,用于判断所述指定联系人发送的参考声纹信息与所述指定关系用户发送的参考声纹信息是否匹配,如果相同,将所述参考声纹信息作为预设声纹信息提供给所述对比单元。The judgment unit is configured to judge whether the reference voiceprint information sent by the designated contact matches the reference voiceprint information sent by the designated relationship user, and if they are the same, provide the reference voiceprint information as preset voiceprint information to the user. the comparison unit.
在本发明实施例第二方面中,所述用户终端还包括:In the second aspect of the embodiment of the present invention, the user terminal further includes:
姿态检测单元,用于在所述对比单元对比所述待认证声纹信息与预设声纹信息匹配之后,检测所述用户终端是否发生设定姿态变换事件,所述设定姿态变换事件包括所述用户终端的显示屏所处姿态由垂直姿态变换到水平姿态,或者,所述设定姿态变换事件包括所述用户终端的显示屏所处姿态由水平姿态变换到垂直姿态;A posture detection unit, configured to detect whether a set posture change event occurs in the user terminal after the comparison unit compares the to-be-authenticated voiceprint information with the preset voiceprint information, where the set posture change event includes all The posture of the display screen of the user terminal is transformed from a vertical posture to a horizontal posture, or the set posture transformation event includes that the posture of the display screen of the user terminal is transformed from a horizontal posture to a vertical posture;
所述查询单元,具体用于在所述加速度检测单元的检测结果为是时,以及所述时长检测单元的检测结果为是时,以及所述对比单元的对比结果为匹配时,以及所述姿态检测单元的检测结果为是时,从预设的压力与翻页速度的对应关系中,查询所述触及压力对应的翻页速度。The query unit is specifically used for when the detection result of the acceleration detection unit is yes, and when the detection result of the duration detection unit is yes, and when the comparison result of the comparison unit is a match, and the posture When the detection result of the detection unit is yes, the page turning speed corresponding to the touch pressure is queried from the preset correspondence between the pressure and the page turning speed.
与现有技术相比,本发明实施例具有以下有益效果:Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
本发明实施例中,浏览网页的显示区域可以划分成的至少二个显示子区域,并且任意两个显示子区域对应的翻页方式互不相同,在此基础上,当检测到对浏览网页上的目标显示子区域(即至少二个显示子区域中的任一显示区域)的触及压力时,可以从预设的压力与翻页速度的对应关系中,查询触及压力对应的翻页速度,并进一步地按照目标显示子区域对应的翻页方式,并以触及压力对应的翻页速度对浏览网页进行翻页操作。可见,实施本发明实施例,用户只需对浏览网页上的任一显示子区域进行一次触及,即可快速控制浏览网页进行相应的翻页操作,而且不需要在触摸屏上输入滑动手势来控制浏览网页翻页,从而可以避免划伤触摸屏。In the embodiment of the present invention, the display area for browsing a webpage can be divided into at least two display sub-areas, and the page turning methods corresponding to any two display sub-areas are different from each other. When the touch pressure of the target display sub-area (that is, any one of the at least two display sub-areas), the page turning speed corresponding to the touch pressure can be queried from the preset correspondence between the pressure and the page turning speed, and Further, according to the page turning mode corresponding to the target display sub-area, and at the page turning speed corresponding to the touch pressure, the page turning operation is performed on the browsing web page. It can be seen that, by implementing the embodiment of the present invention, the user only needs to touch any display sub-area on the browsing webpage once to quickly control the browsing webpage to perform corresponding page turning operations, and does not need to input sliding gestures on the touch screen to control browsing Pages turn pages, so that you can avoid scratching the touch screen.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the drawings required in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without any creative effort.
图1是本发明实施例公开的一种浏览网页的翻页控制方法的流程示意图;1 is a schematic flowchart of a page-turning control method for browsing a webpage disclosed by an embodiment of the present invention;
图2是本发明实施例公开的另一种浏览网页的翻页控制方法的流程示意图;2 is a schematic flowchart of another page-turning control method for browsing a webpage disclosed by an embodiment of the present invention;
图3是本发明实施例公开的另一种浏览网页的翻页控制方法的流程示意图;3 is a schematic flowchart of another page-turning control method for browsing a webpage disclosed by an embodiment of the present invention;
图4是本发明实施例公开的另一种浏览网页的翻页控制方法的流程示意图;4 is a schematic flowchart of another page-turning control method for browsing a webpage disclosed by an embodiment of the present invention;
图5是本发明实施例公开的另一种浏览网页的翻页控制方法的流程示意图;5 is a schematic flowchart of another page-turning control method for browsing a webpage disclosed by an embodiment of the present invention;
图6是本发明实施例公开的一种用户终端的结构示意图;6 is a schematic structural diagram of a user terminal disclosed in an embodiment of the present invention;
图7是本发明实施例公开的另一种用户终端的结构示意图;7 is a schematic structural diagram of another user terminal disclosed in an embodiment of the present invention;
图8是本发明实施例公开的另一种用户终端的结构示意图;8 is a schematic structural diagram of another user terminal disclosed in an embodiment of the present invention;
图9是本发明实施例公开的另一种用户终端的结构示意图。FIG. 9 is a schematic structural diagram of another user terminal disclosed in an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
本发明实施例公开了一种浏览网页的翻页控制方法及用户终端,可以快速控制浏览网页进行相应的翻页操作,避免划伤触摸屏。以下分别进行详细说明。The embodiment of the present invention discloses a page turning control method and a user terminal for browsing web pages, which can quickly control the browsing web pages to perform corresponding page turning operations, and avoid scratching the touch screen. Each of them will be described in detail below.
请参阅图1,图1是本发明实施例公开的一种浏览网页的翻页控制方法的流程图。如图1所示,该浏览网页的翻页控制方法可以包括以下步骤。Please refer to FIG. 1. FIG. 1 is a flowchart of a page turning control method for browsing a webpage disclosed by an embodiment of the present invention. As shown in FIG. 1 , the page turning control method for browsing web pages may include the following steps.
101、用户终端检测对浏览网页上的目标显示子区域的触及压力。101. The user terminal detects the touch pressure on the target display sub-region on the browsing web page.
其中,上述的目标显示子区域是浏览网页的显示区域划分成的至少二个显示子区域中的任一个显示子区域,并且任意两个显示子区域对应的翻页方式互不相同。The above-mentioned target display sub-region is any one of at least two display sub-regions divided into the display region for browsing web pages, and the page turning modes corresponding to any two display sub-regions are different from each other.
举例来说,本发明实施例中,用户终端的浏览网页的显示区域从上到下可以分为大小相同的两个显示子区域,上面的显示子区域对应的翻页方式为向上翻页,下面的显示子区域对应的翻页方式为向下翻页;又举例来说,本发明实施例中,用户终端的浏览网页的显示区域从左到右可以分为大小相同的两个显示子区域,左边的显示子区域对应的翻页方式为向左翻页,右边的显示子区域对应的翻页方式为向右翻页。For example, in this embodiment of the present invention, the display area of the web page browsed by the user terminal can be divided into two display sub-areas of the same size from top to bottom. The page-turning mode corresponding to the display sub-area of the user terminal is to turn the page down; for another example, in the embodiment of the present invention, the display area of the user terminal for browsing the web page can be divided into two display sub-areas of the same size from left to right, The page turning mode corresponding to the display sub-area on the left is page-turning to the left, and the page-turning mode corresponding to the display sub-area on the right is page turning right.
本发明实施例中,用户终端可以包括移动手机、平板电脑、具有显示屏的智能穿戴设备等用户终端,本发明实施例不作限定。In this embodiment of the present invention, the user terminal may include a user terminal such as a mobile phone, a tablet computer, and a smart wearable device with a display screen, which is not limited in the embodiment of the present invention.
本发明实施例中,用户可以通过手指或者触控笔对用户终端的浏览网页上的目标显示子区域进行触及,使得用户终端可以通过压力传感器等压力检测单元来检测对浏览网页上的目标显示子区域的触及压力。In this embodiment of the present invention, the user can touch the target display sub-area on the browsing webpage of the user terminal with a finger or a stylus, so that the user terminal can detect the target display sub-area on the browsing webpage through a pressure detection unit such as a pressure sensor. touch pressure in the area.
102、用户终端从预设的压力与翻页速度的对应关系中,查询触及压力对应的翻页速度。102. The user terminal queries the page turning speed corresponding to the touch pressure from the preset correspondence between the pressure and the page turning speed.
本发明实施例中,用户终端可以预设多个互不交集的压力范围,并且每一个压力范围可以对应一个翻页速度,其中,任意两个压力范围对应的翻页速度可以不相同。在实际应用中,当用户终端检测到对浏览网页上的目标显示子区域的触及压力时,用户终端可以从预设的多个互不交集的压力范围中,查询触及压力所属的压力范围,进而可以将查询到的触及压力所属的压力范围对应的翻页速度作为触及压力对应的翻页速度。In this embodiment of the present invention, the user terminal may preset a plurality of mutually disjoint pressure ranges, and each pressure range may correspond to a page turning speed, wherein the page turning speeds corresponding to any two pressure ranges may be different. In practical applications, when the user terminal detects the touch pressure on the target display sub-region on the browsing web page, the user terminal can query the pressure range to which the touch pressure belongs from a plurality of preset pressure ranges that do not intersect with each other, and then The page turning speed corresponding to the pressure range to which the queried touch pressure belongs may be used as the page turning speed corresponding to the touch pressure.
103、用户终端按照目标显示子区域对应的翻页方式,并以触及压力对应的翻页速度对浏览网页进行翻页操作。103. The user terminal performs a page-turning operation on the browsing webpage according to the page-turning mode corresponding to the target display sub-region and at the page-turning speed corresponding to the touch pressure.
举例来说,若上述目标显示子区域对应的翻页方式为向左翻页,并且触及压力对应的翻页速度为0.1页/秒(即每10秒一页),那么,用户终端可以按照向左翻页的翻页方式,并以0.1页/秒的翻页速度对浏览网页进行向左翻页操作。For example, if the page-turning method corresponding to the above target display sub-area is page-turning to the left, and the page-turning speed corresponding to the touch pressure is 0.1 pages/second (that is, one page per 10 seconds), then the user terminal can follow the direction The page-turning method of page-to-left, and the page-turning operation of browsing web pages is performed at a page-turning speed of 0.1 pages/second.
又举例来说,若上述目标显示子区域对应的翻页方式为向上翻页,并且触及压力对应的翻页速度为0.1页/秒(即每10秒一页),那么,用户终端可以按照向上翻页的翻页方式,并以0.1页/秒的翻页速度对浏览网页进行向上翻页操作。For another example, if the page-turning method corresponding to the above target display sub-area is page-turning upward, and the page-turning speed corresponding to the touch pressure is 0.1 pages/second (that is, one page per 10 seconds), then the user terminal can follow the upward page-turning speed. The page-turning method of page-turning, and the page-turning operation of browsing web pages is performed at a page-turning speed of 0.1 pages/second.
在图1所描述的方法中,浏览网页的显示区域可以划分成的至少二个显示子区域,并且任意两个显示子区域对应的翻页方式互不相同,在此基础上,当检测到对浏览网页上的目标显示子区域(即至少二个显示子区域中的任一显示区域)的触及压力时,可以从预设的压力与翻页速度的对应关系中,查询触及压力对应的翻页速度,并进一步地按照目标显示子区域对应的翻页方式,并以触及压力对应的翻页速度对浏览网页进行翻页操作。可见,实施图1所描述的方法,用户只需对浏览网页上的任一显示子区域进行一次触及,即可快速控制浏览网页进行相应的翻页操作,而且不需要在触摸屏上输入滑动手势来控制浏览网页翻页,从而可以避免划伤触摸屏。In the method described in FIG. 1, the display area for browsing the web page can be divided into at least two display sub-areas, and the page turning modes corresponding to any two display sub-areas are different from each other. When browsing the touch pressure of the target display sub-area (that is, any one of the at least two display sub-areas) on the web page, the page turning corresponding to the touch pressure can be queried from the correspondence between the preset pressure and the page turning speed. and further according to the page turning mode corresponding to the target display sub-area, and the page turning speed corresponding to the touch pressure is used to perform page turning operations on the browsing web page. It can be seen that, by implementing the method described in FIG. 1, the user only needs to touch any display sub-area on the browsing webpage once to quickly control the browsing webpage to perform the corresponding page turning operation, and does not need to input sliding gestures on the touch screen to Control browsing web pages to avoid scratching the touch screen.
请参阅图2,图2是本发明实施例公开的另一种浏览网页的翻页控制方法的流程图。如图2所示,该浏览网页的翻页控制方法可以包括以下步骤。Please refer to FIG. 2 . FIG. 2 is a flowchart of another method for controlling page turning for browsing a webpage disclosed by an embodiment of the present invention. As shown in FIG. 2 , the page turning control method for browsing web pages may include the following steps.
201、用户终端检测对浏览网页上的目标显示子区域的触及压力。201. The user terminal detects the touch pressure on the target display sub-region on the browsing webpage.
202、用户终端检测用户终端的加速度是否小于预设阈值,如果是,执行步骤203;反之,若用户终端检测用户终端的加速度大于或等于预设阈值,提示用户终端的加速度大于或等于预设阈值,并结束本流程。202. The user terminal detects whether the acceleration of the user terminal is less than the preset threshold, and if so, perform
本发明实施例中,当用户终端检测用户终端的加速度大于或等于预设阈值时,说明上述步骤201中检测到的对浏览网页上的目标显示子区域的触及压力可能是由于用户终端处于运动状态下被误触发的触及压力,从而可以提高后续控制浏览网页进行翻页操作的精度。In this embodiment of the present invention, when the user terminal detects that the acceleration of the user terminal is greater than or equal to the preset threshold, it indicates that the touch pressure on the target display sub-region on the browsing webpage detected in the
203、用户终端检测目标显示子区域的触及时长是否大于预设时长,如果是,执行步骤204;反之,若目标显示子区域的触及时长小于或等于预设时长,提示目标显示子区域的触及时长小于或等于预设时长,结束本流程。203. The user terminal detects whether the touch duration of the target display sub-region is greater than the preset duration, and if so, perform step 204; otherwise, if the touch duration of the target display sub-region is less than or equal to the preset duration, prompt the touch duration of the target display sub-region If it is less than or equal to the preset duration, the process ends.
本发明实施例中,当用户终端检测目标显示子区域的触及时长小于或等于预设时长时,说明说明上述步骤201中检测到的目标显示子区域的触及压力可能是快速的误触及压力,从而可以提高后续控制浏览网页进行翻页操作的精度。In this embodiment of the present invention, when the touch duration of the target display sub-region detected by the user terminal is less than or equal to the preset time duration, it is explained that the touch pressure of the target display sub-region detected in the
204、用户终端从预设的压力与翻页速度的对应关系中,查询触及压力对应的翻页速度。204. The user terminal queries the page turning speed corresponding to the touch pressure from the preset correspondence between the pressure and the page turning speed.
本发明实施例中,用户终端可以预设多个互不交集的压力范围,并且每一个压力范围可以对应一个翻页速度,其中,任意两个压力范围对应的翻页速度可以不相同。在实际应用中,当用户终端检测到对浏览网页上的目标显示子区域的触及压力时,用户终端可以从预设的多个互不交集的压力范围中,查询触及压力所属的压力范围,进而可以将查询到的触及压力所属的压力范围对应的翻页速度作为触及压力对应的翻页速度。In this embodiment of the present invention, the user terminal may preset a plurality of mutually disjoint pressure ranges, and each pressure range may correspond to a page turning speed, wherein the page turning speeds corresponding to any two pressure ranges may be different. In practical applications, when the user terminal detects the touch pressure on the target display sub-region on the browsing web page, the user terminal can query the pressure range to which the touch pressure belongs from a plurality of preset pressure ranges that do not intersect with each other, and then The page turning speed corresponding to the pressure range to which the queried touch pressure belongs may be used as the page turning speed corresponding to the touch pressure.
205、用户终端按照目标显示子区域对应的翻页方式,并以触及压力对应的翻页速度对浏览网页进行翻页操作。205. The user terminal performs a page-turning operation on the browsing webpage according to the page-turning mode corresponding to the target display sub-region and at the page-turning speed corresponding to the touch pressure.
举例来说,若上述目标显示子区域对应的翻页方式为向左翻页,并且触及压力对应的翻页速度为0.1页/秒(即每10秒一页),那么,用户终端可以按照向左翻页的翻页方式,并以0.1页/秒的翻页速度对浏览网页进行向左翻页操作。For example, if the page-turning method corresponding to the above target display sub-area is page-turning to the left, and the page-turning speed corresponding to the touch pressure is 0.1 pages/second (that is, one page per 10 seconds), then the user terminal can follow the direction The page-turning method of page-to-left, and the page-turning operation of browsing web pages is performed at a page-turning speed of 0.1 pages/second.
又举例来说,若上述目标显示子区域对应的翻页方式为向上翻页,并且触及压力对应的翻页速度为0.1页/秒(即每10秒一页),那么,用户终端可以按照向上翻页的翻页方式,并以0.1页/秒的翻页速度对浏览网页进行向上翻页操作。For another example, if the page-turning method corresponding to the above target display sub-area is page-turning upward, and the page-turning speed corresponding to the touch pressure is 0.1 pages/second (that is, one page per 10 seconds), then the user terminal can follow the upward page-turning speed. The page-turning method of page-turning, and the page-turning operation of browsing web pages is performed at a page-turning speed of 0.1 pages/second.
可见,实施图2所描述的方法,用户只需对浏览网页上的任一显示子区域进行一次触及,即可快速、精确地控制浏览网页进行相应的翻页操作,而且不需要在触摸屏上输入滑动手势来控制浏览网页翻页,从而可以避免划伤触摸屏。It can be seen that, by implementing the method described in FIG. 2, the user only needs to touch any display sub-area on the browsing webpage once to quickly and accurately control the browsing webpage to perform the corresponding page turning operation, and does not need to input on the touch screen. Swipe gestures to control web page turning, so you can avoid scratching the touch screen.
请参阅图3,图3是本发明实施例公开的另一种浏览网页的翻页控制方法的流程图。如图3所示,该浏览网页的翻页控制方法可以包括以下步骤。Please refer to FIG. 3 . FIG. 3 is a flowchart of another page turning control method for browsing a webpage disclosed by an embodiment of the present invention. As shown in FIG. 3 , the page turning control method for browsing web pages may include the following steps.
301、用户终端检测对浏览网页上的目标显示子区域的触及压力。301. The user terminal detects the touch pressure on the target display sub-region on the browsing webpage.
302、用户终端检测用户终端的加速度是否小于预设阈值,如果是,执行步骤303;反之,若用户终端检测用户终端的加速度大于或等于预设阈值,提示用户终端的加速度大于或等于预设阈值,并结束本流程。302. The user terminal detects whether the acceleration of the user terminal is less than the preset threshold, and if so, perform
本发明实施例中,当用户终端检测用户终端的加速度大于或等于预设阈值时,说明上述步骤301中检测到的对浏览网页上的目标显示子区域的触及压力可能是由于用户终端处于运动状态下被误触发的触及压力,从而可以提高后续控制浏览网页进行翻页操作的精度。In this embodiment of the present invention, when the user terminal detects that the acceleration of the user terminal is greater than or equal to the preset threshold, it indicates that the touch pressure on the target display sub-region on the browsing webpage detected in the
303、用户终端检测目标显示子区域的触及时长是否大于预设时长,如果是,执行步骤304;反之,若目标显示子区域的触及时长小于或等于预设时长,提示目标显示子区域的触及时长小于或等于预设时长,结束本流程。303. The user terminal detects whether the touch duration of the target display sub-region is greater than the preset duration, and if so, execute
本发明实施例中,当用户终端检测目标显示子区域的触及时长小于或等于预设时长时,说明说明上述步骤301中检测到的目标显示子区域的触及压力可能是快速的误触及压力,从而可以提高后续控制浏览网页进行翻页操作的精度。In this embodiment of the present invention, when the touch duration of the target display sub-area detected by the user terminal is less than or equal to the preset duration, it is explained that the touch pressure of the target display sub-area detected in the
304、用户终端提示输入待认证声纹信息,并采集输入的待认证声纹信息。304. The user terminal prompts to input the voiceprint information to be authenticated, and collects the input voiceprint information to be authenticated.
305、用户终端对比待认证声纹信息与预设声纹信息是否匹配,如果匹配,执行步骤306;反之,若用户终端对比待认证声纹信息与预设声纹信息不匹配,提示输入的待认证声纹信息与预设声纹信息不匹配,结束本流程。305. The user terminal compares whether the voiceprint information to be authenticated matches the preset voiceprint information, and if so, go to step 306; otherwise, if the user terminal compares the voiceprint information to be authenticated and the preset voiceprint information does not match, prompts the input pending voiceprint information. If the authentication voiceprint information does not match the preset voiceprint information, the process ends.
本发明实施例中,通过实施上述步骤304~步骤305,可以提高在用户终端上控制浏览网页进行翻页操作的安全性。也即是说,并不是任何人都可以在用户终端上采用本发明实施例公开的方法来控制浏览网页进行翻页操作,有且仅有通过声纹认证的用户才可以在用户终端上采用本发明实施例公开的方法来控制浏览网页进行翻页操作,从而可以提高在用户终端上控制浏览网页进行翻页操作的安全性。In this embodiment of the present invention, by implementing the foregoing
306、用户终端从预设的压力与翻页速度的对应关系中,查询触及压力对应的翻页速度。306. The user terminal queries the page turning speed corresponding to the touch pressure from the preset correspondence between the pressure and the page turning speed.
本发明实施例中,用户终端可以预设多个互不交集的压力范围,并且每一个压力范围可以对应一个翻页速度,其中,任意两个压力范围对应的翻页速度可以不相同。在实际应用中,当用户终端检测到对浏览网页上的目标显示子区域的触及压力时,用户终端可以从预设的多个互不交集的压力范围中,查询触及压力所属的压力范围,进而可以将查询到的触及压力所属的压力范围对应的翻页速度作为触及压力对应的翻页速度。In this embodiment of the present invention, the user terminal may preset a plurality of mutually disjoint pressure ranges, and each pressure range may correspond to a page turning speed, wherein the page turning speeds corresponding to any two pressure ranges may be different. In practical applications, when the user terminal detects the touch pressure on the target display sub-region on the browsing web page, the user terminal can query the pressure range to which the touch pressure belongs from a plurality of preset pressure ranges that do not intersect with each other, and then The page turning speed corresponding to the pressure range to which the queried touch pressure belongs may be used as the page turning speed corresponding to the touch pressure.
307、用户终端按照目标显示子区域对应的翻页方式,并以触及压力对应的翻页速度对浏览网页进行翻页操作。307. The user terminal performs a page-turning operation on the browsing webpage according to the page-turning mode corresponding to the target display sub-area and at the page-turning speed corresponding to the touch pressure.
举例来说,若上述目标显示子区域对应的翻页方式为向左翻页,并且触及压力对应的翻页速度为0.1页/秒(即每10秒一页),那么,用户终端可以按照向左翻页的翻页方式,并以0.1页/秒的翻页速度对浏览网页进行向左翻页操作。For example, if the page-turning method corresponding to the above target display sub-area is page-turning to the left, and the page-turning speed corresponding to the touch pressure is 0.1 pages/second (that is, one page per 10 seconds), then the user terminal can follow the direction The page-turning method of page-to-left, and the page-turning operation of browsing web pages is performed at a page-turning speed of 0.1 pages/second.
又举例来说,若上述目标显示子区域对应的翻页方式为向上翻页,并且触及压力对应的翻页速度为0.1页/秒(即每10秒一页),那么,用户终端可以按照向上翻页的翻页方式,并以0.1页/秒的翻页速度对浏览网页进行向上翻页操作。For another example, if the page-turning method corresponding to the above target display sub-area is page-turning upward, and the page-turning speed corresponding to the touch pressure is 0.1 pages/second (that is, one page per 10 seconds), then the user terminal can follow the upward page-turning speed. The page-turning method of page-turning, and the page-turning operation of browsing web pages is performed at a page-turning speed of 0.1 pages/second.
可见,实施图3所描述的方法,用户只需对浏览网页上的任一显示子区域进行一次触及,即可快速、精确地、安全地控制浏览网页进行相应的翻页操作,而且不需要在触摸屏上输入滑动手势来控制浏览网页翻页,从而可以避免划伤触摸屏。It can be seen that, by implementing the method described in FIG. 3, the user only needs to touch any display sub-area on the browsing webpage once, and can quickly, accurately and safely control the browsing webpage to perform the corresponding page turning operation, and there is no need to Input swipe gestures on the touch screen to control browsing web pages to avoid scratching the touch screen.
请参阅图4,图4是本发明实施例公开的另一种浏览网页的翻页控制方法的流程图。如图4所示,该浏览网页的翻页控制方法可以包括以下步骤。Please refer to FIG. 4 . FIG. 4 is a flowchart of another method for controlling page turning for browsing a webpage disclosed by an embodiment of the present invention. As shown in FIG. 4 , the page turning control method for browsing web pages may include the following steps.
401、用户终端检测对浏览网页上的目标显示子区域的触及压力。401. The user terminal detects the touch pressure on the target display sub-region on the browsing webpage.
402、用户终端检测用户终端的加速度是否小于预设阈值,如果是,执行步骤403;反之,若用户终端检测用户终端的加速度大于或等于预设阈值,提示用户终端的加速度大于或等于预设阈值,并结束本流程。402. The user terminal detects whether the acceleration of the user terminal is less than the preset threshold, and if so, perform
本发明实施例中,当用户终端检测用户终端的加速度大于或等于预设阈值时,说明上述步骤401中检测到的对浏览网页上的目标显示子区域的触及压力可能是由于用户终端处于运动状态下被误触发的触及压力,从而可以提高后续控制浏览网页进行翻页操作的精度。In this embodiment of the present invention, when the user terminal detects that the acceleration of the user terminal is greater than or equal to the preset threshold, it indicates that the touch pressure on the target display sub-area on the browsing webpage detected in the
403、用户终端检测目标显示子区域的触及时长是否大于预设时长,如果是,执行步骤404;反之,若目标显示子区域的触及时长小于或等于预设时长,提示目标显示子区域的触及时长小于或等于预设时长,结束本流程。403. The user terminal detects whether the touch duration of the target display sub-region is greater than the preset duration, and if so, execute
本发明实施例中,当用户终端检测目标显示子区域的触及时长小于或等于预设时长时,说明说明上述步骤401中检测到的目标显示子区域的触及压力可能是快速的误触及压力,从而可以提高后续控制浏览网页进行翻页操作的精度。In this embodiment of the present invention, when the touch duration of the target display sub-region detected by the user terminal is less than or equal to the preset time duration, it is explained that the touch pressure of the target display sub-region detected in the
404、用户终端提示输入待认证声纹信息,并采集输入的待认证声纹信息。404. The user terminal prompts to input the voiceprint information to be authenticated, and collects the input voiceprint information to be authenticated.
405、用户终端向通讯录中的指定联系人发送参考声纹信息获取请求,以及向用户终端正在运行的社交应用中的指定关系用户发送参考声纹信息获取请求。405. The user terminal sends a request for obtaining reference voiceprint information to a designated contact in the address book, and sends a request for obtaining reference voiceprint information to a designated relationship user in a social application running on the user terminal.
406、用户终端接收指定联系人发送的参考声纹信息,以及接收指定关系用户发送的参考声纹信息,以及,用户终端判断指定联系人发送的参考声纹信息与指定关系用户发送的参考声纹信息是否匹配,如果相同,将参考声纹信息作为预设声纹信息。406. The user terminal receives the reference voiceprint information sent by the designated contact, and receives the reference voiceprint information sent by the designated relationship user, and the user terminal determines the reference voiceprint information sent by the designated contact and the reference voiceprint sent by the designated relationship user. Whether the information matches, if they are the same, the reference voiceprint information is used as the preset voiceprint information.
本发明实施例中,如果用户终端判断指定联系人发送的参考声纹信息与指定关系用户发送的参考声纹信息不匹配,提示指定联系人发送的参考声纹信息与指定关系用户发送的参考声纹信息不匹配,并结束本流程。In this embodiment of the present invention, if the user terminal determines that the reference voiceprint information sent by the designated contact does not match the reference voiceprint information sent by the designated relationship user, the user terminal prompts the reference voiceprint information sent by the designated contact to match the reference voiceprint information sent by the designated relationship user. The pattern information does not match, and the process ends.
407、用户终端对比待认证声纹信息与预设声纹信息是否匹配,如果匹配,执行步骤408;反之,若用户终端对比待认证声纹信息与预设声纹信息不匹配,提示输入的待认证声纹信息与预设声纹信息不匹配,结束本流程。407. The user terminal compares whether the voiceprint information to be authenticated matches the preset voiceprint information, and if so, go to step 408; otherwise, if the user terminal compares the voiceprint information to be authenticated and the preset voiceprint information does not match, prompts the input pending voiceprint information. If the authentication voiceprint information does not match the preset voiceprint information, the process ends.
本发明实施例中,通过实施上述步骤404~步骤407,可以提高在用户终端上控制浏览网页进行翻页操作的安全性。也即是说,并不是任何人都可以在用户终端上采用本发明实施例公开的方法来控制浏览网页进行翻页操作,有且仅有通过声纹认证的用户才可以在用户终端上采用本发明实施例公开的方法来控制浏览网页进行翻页操作,从而可以提高在用户终端上控制浏览网页进行翻页操作的安全性。In this embodiment of the present invention, by implementing the
另外,本发明实施例中,通过实施上述步骤405~步骤406,使得用户终端无需预先存储预设声纹信息,从而可以降低对用户终端的存储空间的占用。进一步地,由于通讯录中的指定联系人发送的参考声纹信息以及社交应用中的指定关系用户发送的参考声纹信息均具有随机性,那么要达到待认证声纹信息与预设声纹信息匹配就需要很大的难度,进而使得在用户终端上控制控制浏览网页进行翻页操作的安全性更高、更强。In addition, in this embodiment of the present invention, by implementing the
408、用户终端从预设的压力与翻页速度的对应关系中,查询触及压力对应的翻页速度。408. The user terminal queries the page turning speed corresponding to the touch pressure from the preset correspondence between the pressure and the page turning speed.
本发明实施例中,用户终端可以预设多个互不交集的压力范围,并且每一个压力范围可以对应一个翻页速度,其中,任意两个压力范围对应的翻页速度可以不相同。在实际应用中,当用户终端检测到对浏览网页上的目标显示子区域的触及压力时,用户终端可以从预设的多个互不交集的压力范围中,查询触及压力所属的压力范围,进而可以将查询到的触及压力所属的压力范围对应的翻页速度作为触及压力对应的翻页速度。In this embodiment of the present invention, the user terminal may preset a plurality of mutually disjoint pressure ranges, and each pressure range may correspond to a page turning speed, wherein the page turning speeds corresponding to any two pressure ranges may be different. In practical applications, when the user terminal detects the touch pressure on the target display sub-region on the browsing web page, the user terminal can query the pressure range to which the touch pressure belongs from a plurality of preset pressure ranges that do not intersect with each other, and then The page turning speed corresponding to the pressure range to which the queried touch pressure belongs may be used as the page turning speed corresponding to the touch pressure.
409、用户终端按照目标显示子区域对应的翻页方式,并以触及压力对应的翻页速度对浏览网页进行翻页操作。409. The user terminal performs a page-turning operation on the browsing webpage according to the page-turning mode corresponding to the target display sub-region and at the page-turning speed corresponding to the touch pressure.
举例来说,若上述目标显示子区域对应的翻页方式为向左翻页,并且触及压力对应的翻页速度为0.1页/秒(即每10秒一页),那么,用户终端可以按照向左翻页的翻页方式,并以0.1页/秒的翻页速度对浏览网页进行向左翻页操作。For example, if the page-turning method corresponding to the above target display sub-area is page-turning to the left, and the page-turning speed corresponding to the touch pressure is 0.1 pages/second (that is, one page per 10 seconds), then the user terminal can follow the direction The page-turning method of page-to-left, and the page-turning operation of browsing web pages is performed at a page-turning speed of 0.1 pages/second.
又举例来说,若上述目标显示子区域对应的翻页方式为向上翻页,并且触及压力对应的翻页速度为0.1页/秒(即每10秒一页),那么,用户终端可以按照向上翻页的翻页方式,并以0.1页/秒的翻页速度对浏览网页进行向上翻页操作。For another example, if the page-turning method corresponding to the above target display sub-area is page-turning upward, and the page-turning speed corresponding to the touch pressure is 0.1 pages/second (that is, one page per 10 seconds), then the user terminal can follow the upward page-turning speed. The page-turning method of page-turning, and the page-turning operation of browsing web pages is performed at a page-turning speed of 0.1 pages/second.
可见,实施图4所描述的方法,用户只需对浏览网页上的任一显示子区域进行一次触及,即可快速、精确地、安全地控制浏览网页进行相应的翻页操作,而且不需要在触摸屏上输入滑动手势来控制浏览网页翻页,从而可以避免划伤触摸屏。It can be seen that, by implementing the method described in FIG. 4, the user only needs to touch any display sub-area on the browsing webpage once, and can quickly, accurately and safely control the browsing webpage to perform the corresponding page turning operation, and there is no need to Input swipe gestures on the touch screen to control browsing web pages to avoid scratching the touch screen.
请参阅图5,图5是本发明实施例公开的另一种浏览网页的翻页控制方法的流程图。如图5所示,该浏览网页的翻页控制方法可以包括以下步骤。Please refer to FIG. 5. FIG. 5 is a flowchart of another method for controlling page turning for browsing a webpage disclosed by an embodiment of the present invention. As shown in FIG. 5 , the page turning control method for browsing web pages may include the following steps.
其中,步骤501~步骤506与前面实施例中的步骤401~步骤406相同,此处不作复述。Among them, steps 501 to 506 are the same as
507、用户终端对比待认证声纹信息与预设声纹信息是否匹配,如果匹配,执行步骤508;反之,若用户终端对比待认证声纹信息与预设声纹信息不匹配,提示输入的待认证声纹信息与预设声纹信息不匹配,结束本流程。507. The user terminal compares whether the voiceprint information to be authenticated matches the preset voiceprint information, and if so, go to step 508; otherwise, if the user terminal compares the voiceprint information to be authenticated and the preset voiceprint information does not match, prompts the input pending voiceprint information. If the authentication voiceprint information does not match the preset voiceprint information, the process ends.
本发明实施例中,通过实施上述步骤504~步骤507,可以提高在用户终端上控制浏览网页进行翻页操作的安全性。也即是说,并不是任何人都可以在用户终端上采用本发明实施例公开的方法来控制浏览网页进行翻页操作,有且仅有通过声纹认证的用户才可以在用户终端上采用本发明实施例公开的方法来控制浏览网页进行翻页操作,从而可以提高在用户终端上控制浏览网页进行翻页操作的安全性。In the embodiment of the present invention, by implementing the
另外,本发明实施例中,通过实施上述步骤505~步骤506,使得用户终端无需预先存储预设声纹信息,从而可以降低对用户终端的存储空间的占用。进一步地,由于通讯录中的指定联系人发送的参考声纹信息以及社交应用中的指定关系用户发送的参考声纹信息均具有随机性,那么要达到待认证声纹信息与预设声纹信息匹配就需要很大的难度,进而使得在用户终端上控制控制浏览网页进行翻页操作的安全性更高、更强。In addition, in this embodiment of the present invention, by implementing the
508、用户终端检测用户终端是否发生设定姿态变换事件,如果是,执行步骤509;如果否,提示用户终端未发生设定姿态变换事件,并结束本流程。508. The user terminal detects whether a set posture change event occurs in the user terminal, and if so, executes
本发明实施例中,设定姿态变换事件包括用户终端的显示屏所处姿态由垂直姿态变换到水平姿态,或者,设定姿态变换事件包括用户终端的显示屏所处姿态由水平姿态变换到垂直姿态,本发明实施例不作限定。In this embodiment of the present invention, the set posture transformation event includes that the posture of the display screen of the user terminal is transformed from a vertical posture to a horizontal posture, or the set posture transformation event includes that the posture of the display screen of the user terminal is transformed from a horizontal posture to a vertical posture The posture is not limited in this embodiment of the present invention.
本发明实施例中,当户终端检测用户终端未发生设定姿态变换事件时,说明说明上述步骤501中检测到的目标显示子区域的触及压力可能是误触及压力(例如口袋摩擦导致的目标显示子区域的触及压力),从而可以提高后续控制浏览网页进行翻页操作的精度。In this embodiment of the present invention, when the user terminal detects that the set posture change event does not occur on the user terminal, it is explained that the touch pressure of the target display sub-region detected in the
509、用户终端从预设的压力与翻页速度的对应关系中,查询触及压力对应的翻页速度。509. The user terminal queries the page turning speed corresponding to the touch pressure from the preset correspondence between the pressure and the page turning speed.
本发明实施例中,用户终端可以预设多个互不交集的压力范围,并且每一个压力范围可以对应一个翻页速度,其中,任意两个压力范围对应的翻页速度可以不相同。在实际应用中,当用户终端检测到对浏览网页上的目标显示子区域的触及压力时,用户终端可以从预设的多个互不交集的压力范围中,查询触及压力所属的压力范围,进而可以将查询到的触及压力所属的压力范围对应的翻页速度作为触及压力对应的翻页速度。In this embodiment of the present invention, the user terminal may preset a plurality of mutually disjoint pressure ranges, and each pressure range may correspond to a page turning speed, wherein the page turning speeds corresponding to any two pressure ranges may be different. In practical applications, when the user terminal detects the touch pressure on the target display sub-region on the browsing web page, the user terminal can query the pressure range to which the touch pressure belongs from a plurality of preset pressure ranges that do not intersect with each other, and then The page turning speed corresponding to the pressure range to which the queried touch pressure belongs may be used as the page turning speed corresponding to the touch pressure.
510、用户终端按照目标显示子区域对应的翻页方式,并以触及压力对应的翻页速度对浏览网页进行翻页操作。510. The user terminal performs a page-turning operation on the browsing webpage according to the page-turning mode corresponding to the target display sub-region and at the page-turning speed corresponding to the touch pressure.
举例来说,若上述目标显示子区域对应的翻页方式为向左翻页,并且触及压力对应的翻页速度为0.1页/秒(即每10秒一页),那么,用户终端可以按照向左翻页的翻页方式,并以0.1页/秒的翻页速度对浏览网页进行向左翻页操作。For example, if the page-turning method corresponding to the above target display sub-area is page-turning to the left, and the page-turning speed corresponding to the touch pressure is 0.1 pages/second (that is, one page per 10 seconds), then the user terminal can follow the direction The page-turning method of page-to-left, and the page-turning operation of browsing web pages is performed at a page-turning speed of 0.1 pages/second.
又举例来说,若上述目标显示子区域对应的翻页方式为向上翻页,并且触及压力对应的翻页速度为0.1页/秒(即每10秒一页),那么,用户终端可以按照向上翻页的翻页方式,并以0.1页/秒的翻页速度对浏览网页进行向上翻页操作。For another example, if the page-turning method corresponding to the above target display sub-area is page-turning upward, and the page-turning speed corresponding to the touch pressure is 0.1 pages/second (that is, one page per 10 seconds), then the user terminal can follow the upward page-turning speed. The page-turning method of page-turning, and the page-turning operation of browsing web pages is performed at a page-turning speed of 0.1 pages/second.
可见,实施图5所描述的方法,用户只需对浏览网页上的任一显示子区域进行一次触及,即可快速、精确地、安全地控制浏览网页进行相应的翻页操作,而且不需要在触摸屏上输入滑动手势来控制浏览网页翻页,从而可以避免划伤触摸屏。It can be seen that, by implementing the method described in FIG. 5, the user only needs to touch any display sub-area on the browsing webpage once, and can quickly, accurately and safely control the browsing webpage to perform the corresponding page turning operation, and it is not necessary to Input swipe gestures on the touch screen to control browsing web pages to avoid scratching the touch screen.
请参阅图6,图6是本发明实施例公开的一种用户终端的结构图。如图6所示,该用户终端可以包括:Please refer to FIG. 6. FIG. 6 is a structural diagram of a user terminal disclosed in an embodiment of the present invention. As shown in Figure 6, the user terminal may include:
压力检测单元601,用于检测对浏览网页上的目标显示子区域的触及压力;所述目标显示子区域是所述浏览网页的显示区域划分成的至少二个显示子区域中的任一个显示子区域,并且任意两个所述显示子区域对应的翻页方式互不相同;The
查询单元602,用于从预设的压力与翻页速度的对应关系中,查询所述触及压力对应的翻页速度;A
控制单元603,用于按照所述目标显示子区域对应的翻页方式,并以所述触及压力对应的翻页速度对所述浏览网页进行翻页操作。The
其中,通过实施图6所示的用户终端,用户只需对浏览网页上的任一显示子区域进行一次触及,即可快速控制浏览网页进行相应的翻页操作,而且不需要在触摸屏上输入滑动手势来控制浏览网页翻页,从而可以避免划伤触摸屏。Among them, by implementing the user terminal shown in FIG. 6 , the user only needs to touch any display sub-area on the browsing webpage once, and can quickly control the browsing webpage to perform corresponding page turning operations, and does not need to input sliding on the touch screen. Gestures to control browsing web pages, so as to avoid scratching the touch screen.
请一并参阅图7,图7是本发明实施例公开的另一种用户终端的结构图。其中,图7所示的用户终端是由图6所示的用户终端进行优化得到的。与图6所示的用户终端相比较,图7所示的用户终端还可以包括:Please refer to FIG. 7 together. FIG. 7 is a structural diagram of another user terminal disclosed in an embodiment of the present invention. The user terminal shown in FIG. 7 is obtained by optimizing the user terminal shown in FIG. 6 . Compared with the user terminal shown in FIG. 6 , the user terminal shown in FIG. 7 may further include:
加速度检测单元604,用于在所述压力检测单元601检测对浏览网页上的目标显示子区域的触及压力之后,检测所述用户终端的加速度是否小于预设阈值;an
所述查询单元602,具体用于在所述加速度检测单元604的检测结果为是时,从预设的压力与翻页速度的对应关系中,查询所述触及压力对应的翻页速度。The
其中,通过实施图7所示的用户终端,用户只需对浏览网页上的任一显示子区域进行一次触及,即可快速、精确地控制浏览网页进行相应的翻页操作,而且不需要在触摸屏上输入滑动手势来控制浏览网页翻页,从而可以避免划伤触摸屏。Among them, by implementing the user terminal shown in FIG. 7 , the user only needs to touch any display sub-area on the browsing webpage once, and can quickly and accurately control the browsing webpage to perform corresponding page turning operations, and does not need to touch the touch screen. Enter swipe gestures on the top to control browsing webpages to turn pages, so as to avoid scratching the touch screen.
请一并参阅图8,图8是本发明实施例公开的另一种用户终端的结构图。其中,图8所示的用户终端是由图7所示的用户终端进行优化得到的。与图7所示的用户终端相比较,图8所示的用户终端还可以包括:Please refer to FIG. 8 together. FIG. 8 is a structural diagram of another user terminal disclosed in an embodiment of the present invention. The user terminal shown in FIG. 8 is obtained by optimizing the user terminal shown in FIG. 7 . Compared with the user terminal shown in FIG. 7 , the user terminal shown in FIG. 8 may further include:
时长检测单元605,用于在所述加速度检测单元604的检测结果为是时,检测所述目标显示子区域的触及时长是否大于预设时长;A
所述查询单元602,具体用于在所述加速度检测单元604的检测结果为是时以及所述时长检测单元605的检测结果也为是时,从预设的压力与翻页速度的对应关系中,查询所述触及压力对应的翻页速度。The
其中,通过实施图8所示的用户终端,用户只需对浏览网页上的任一显示子区域进行一次触及,即可快速、更精确地控制浏览网页进行相应的翻页操作,而且不需要在触摸屏上输入滑动手势来控制浏览网页翻页,从而可以避免划伤触摸屏。Among them, by implementing the user terminal shown in FIG. 8 , the user only needs to touch any display sub-area on the browsing webpage once, and can quickly and more accurately control the browsing webpage to perform corresponding page turning operations, and there is no need to browse the webpage. Input swipe gestures on the touch screen to control browsing web pages to avoid scratching the touch screen.
请一并参阅图9,图9是本发明实施例公开的另一种用户终端的结构图。其中,图9所示的用户终端是由图8所示的用户终端进行优化得到的。与图8所示的用户终端相比较,图9所示的用户终端还可以包括:Please refer to FIG. 9 together. FIG. 9 is a structural diagram of another user terminal disclosed in an embodiment of the present invention. The user terminal shown in FIG. 9 is obtained by optimizing the user terminal shown in FIG. 8 . Compared with the user terminal shown in FIG. 8 , the user terminal shown in FIG. 9 may further include:
本地交互单元606,用于在所述时长检测单元605的检测结果为是时,提示输入待认证声纹信息,以及采集输入的待认证声纹信息;The
对比单元607,用于对比所述待认证声纹信息与预设声纹信息是否匹配;A
所述查询单元602,具体用于在所述加速度检测单元604的检测结果为是时,以及所述时长检测单元605的检测结果为是时,以及所述对比单元607的对比结果为匹配时,从预设的压力与翻页速度的对应关系中,查询所述触及压力对应的翻页速度。The
作为一种可选的实施方式,图9所示的用户终端还可以包括:As an optional implementation manner, the user terminal shown in FIG. 9 may further include:
无线交互单元608,用于在所述本地交互单元606采集输入的待认证声纹信息之后,向所述用户终端的通讯录中的指定联系人发送参考声纹信息获取请求,以及,向所述用户终端正在运行的社交应用中的指定关系用户发送参考声纹信息获取请求,以及,接收所述指定联系人发送的参考声纹信息,以及接收所述指定关系用户发送的参考声纹信息;The
判断单元609,用于判断所述指定联系人发送的参考声纹信息与所述指定关系用户发送的参考声纹信息是否匹配,如果相同,将所述参考声纹信息作为预设声纹信息提供给所述对比单元607。The
作为一种可选的实施方式,图9所示的用户终端还可以包括:As an optional implementation manner, the user terminal shown in FIG. 9 may further include:
姿态检测单元610,用于在对比单元607对比所述待认证声纹信息与预设声纹信息匹配之后,检测所述用户终端是否发生设定姿态变换事件,所述设定姿态变换事件包括所述用户终端的显示屏所处姿态由垂直姿态变换到水平姿态,或者,所述设定姿态变换事件包括所述用户终端的显示屏所处姿态由水平姿态变换到垂直姿态;The posture detection unit 610 is configured to detect whether a set posture change event occurs in the user terminal after the
所述查询单元602,具体用于在所述加速度检测单元604的检测结果为是时,以及所述时长检测单元605的检测结果为是时,以及所述对比单元607的对比结果为匹配时,以及所述姿态检测单元610的检测结果为是时,从预设的压力与翻页速度的对应关系中,查询所述触及压力对应的翻页速度。The
其中,通过实施图9所示的用户终端,用户只需对浏览网页上的任一显示子区域进行一次触及,即可快速、更精确地、安全地控制浏览网页进行相应的翻页操作,而且不需要在触摸屏上输入滑动手势来控制浏览网页翻页,从而可以避免划伤触摸屏。Wherein, by implementing the user terminal shown in FIG. 9 , the user only needs to touch any display sub-area on the browsing webpage once, and can quickly, more accurately and safely control the browsing webpage to perform corresponding page turning operations, and There is no need to input swipe gestures on the touch screen to control browsing web pages, so that scratches on the touch screen can be avoided.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质包括只读存储器(Read-Only Memory,ROM)、随机存储器(Random Access Memory,RAM)、可编程只读存储器(Programmable Read-only Memory,PROM)、可擦除可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)、一次可编程只读存储器(One-time Programmable Read-Only Memory,OTPROM)、电子抹除式可复写只读存储器(Electrically-Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(CompactDisc Read-Only Memory,CD-ROM)或其他光盘存储器、磁盘存储器、磁带存储器、或者能够用于携带或存储数据的计算机可读的任何其他介质。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium includes a read-only storage medium. Memory (Read-Only Memory, ROM), Random Access Memory (Random Access Memory, RAM), Programmable Read-only Memory (PROM), Erasable Programmable Read Only Memory (Erasable Programmable Read Only Memory, EPROM), One-time Programmable Read-Only Memory (OTPROM), Electronically-Erasable Programmable Read-Only Memory (EEPROM), CompactDisc Read -Only Memory, CD-ROM) or other optical disk storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.
以上对本发明实施例公开的一种浏览网页的翻页控制方法及用户终端进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。A page-turning control method for browsing web pages and a user terminal disclosed in the embodiments of the present invention have been described above in detail. The principles and implementations of the present invention are described with specific examples in this paper. The descriptions of the above embodiments are only used for Help to understand the method of the present invention and its core idea; at the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation and application scope. In summary, the content of this specification It should not be construed as a limitation of the present invention.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910227713.4A CN109976656B (en) | 2015-08-27 | 2015-08-27 | Page turning control method for browsing webpage and user terminal |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910227713.4A CN109976656B (en) | 2015-08-27 | 2015-08-27 | Page turning control method for browsing webpage and user terminal |
CN201510537132.2A CN105159552B (en) | 2015-08-27 | 2015-08-27 | A page-turning control method for browsing web pages and a user terminal |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510537132.2A Division CN105159552B (en) | 2015-08-27 | 2015-08-27 | A page-turning control method for browsing web pages and a user terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109976656A CN109976656A (en) | 2019-07-05 |
CN109976656B true CN109976656B (en) | 2022-07-26 |
Family
ID=54800428
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910227713.4A Expired - Fee Related CN109976656B (en) | 2015-08-27 | 2015-08-27 | Page turning control method for browsing webpage and user terminal |
CN201510537132.2A Expired - Fee Related CN105159552B (en) | 2015-08-27 | 2015-08-27 | A page-turning control method for browsing web pages and a user terminal |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510537132.2A Expired - Fee Related CN105159552B (en) | 2015-08-27 | 2015-08-27 | A page-turning control method for browsing web pages and a user terminal |
Country Status (2)
Country | Link |
---|---|
CN (2) | CN109976656B (en) |
WO (1) | WO2017032114A1 (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109976656B (en) * | 2015-08-27 | 2022-07-26 | Oppo广东移动通信有限公司 | Page turning control method for browsing webpage and user terminal |
CN106775365A (en) * | 2015-11-20 | 2017-05-31 | 西安中兴新软件有限责任公司 | A kind of page turning method and device |
CN105511762A (en) * | 2015-12-15 | 2016-04-20 | 魅族科技(中国)有限公司 | Page control method and terminal |
CN105718173B (en) * | 2016-01-19 | 2019-12-10 | 宇龙计算机通信科技(深圳)有限公司 | Terminal control method, terminal control device and terminal |
CN106569719A (en) * | 2016-11-05 | 2017-04-19 | 上海创功通讯技术有限公司 | Terminal control method and terminal |
WO2022110063A1 (en) * | 2020-11-27 | 2022-06-02 | 京东方科技集团股份有限公司 | Teleprompter system and operation method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101887647A (en) * | 2009-05-11 | 2010-11-17 | 上海易狄欧电子科技有限公司 | Electronic book reader and page turning method thereof |
CN103218166A (en) * | 2013-04-02 | 2013-07-24 | 深圳Tcl新技术有限公司 | Method and system for flipping over pages of e-book based on pressure contact screen |
CN103546622A (en) * | 2012-07-12 | 2014-01-29 | 百度在线网络技术(北京)有限公司 | Control method, device and system for identifying login on basis of voiceprint |
CN103823620A (en) * | 2014-03-04 | 2014-05-28 | 飞天诚信科技股份有限公司 | Screen adaption method and device |
CN104423676A (en) * | 2013-09-10 | 2015-03-18 | 联想(北京)有限公司 | Information processing method and electronic device |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090267909A1 (en) * | 2008-04-27 | 2009-10-29 | Htc Corporation | Electronic device and user interface display method thereof |
IN2012DN01870A (en) * | 2009-09-02 | 2015-08-21 | Amazon Tech Inc | |
US8451238B2 (en) * | 2009-09-02 | 2013-05-28 | Amazon Technologies, Inc. | Touch-screen user interface |
KR20130090138A (en) * | 2012-02-03 | 2013-08-13 | 삼성전자주식회사 | Operation method for plural touch panel and portable device supporting the same |
KR20130100580A (en) * | 2012-03-02 | 2013-09-11 | 삼성전자주식회사 | Method and apparatus for turning the pages |
US9415621B2 (en) * | 2013-02-19 | 2016-08-16 | Little Magic Books, Llc | Interactive book with integrated electronic device |
CN109976656B (en) * | 2015-08-27 | 2022-07-26 | Oppo广东移动通信有限公司 | Page turning control method for browsing webpage and user terminal |
-
2015
- 2015-08-27 CN CN201910227713.4A patent/CN109976656B/en not_active Expired - Fee Related
- 2015-08-27 CN CN201510537132.2A patent/CN105159552B/en not_active Expired - Fee Related
-
2016
- 2016-05-28 WO PCT/CN2016/083781 patent/WO2017032114A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101887647A (en) * | 2009-05-11 | 2010-11-17 | 上海易狄欧电子科技有限公司 | Electronic book reader and page turning method thereof |
CN103546622A (en) * | 2012-07-12 | 2014-01-29 | 百度在线网络技术(北京)有限公司 | Control method, device and system for identifying login on basis of voiceprint |
CN103218166A (en) * | 2013-04-02 | 2013-07-24 | 深圳Tcl新技术有限公司 | Method and system for flipping over pages of e-book based on pressure contact screen |
CN104423676A (en) * | 2013-09-10 | 2015-03-18 | 联想(北京)有限公司 | Information processing method and electronic device |
CN103823620A (en) * | 2014-03-04 | 2014-05-28 | 飞天诚信科技股份有限公司 | Screen adaption method and device |
Also Published As
Publication number | Publication date |
---|---|
CN109976656A (en) | 2019-07-05 |
WO2017032114A1 (en) | 2017-03-02 |
CN105159552B (en) | 2019-04-23 |
CN105159552A (en) | 2015-12-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109976656B (en) | Page turning control method for browsing webpage and user terminal | |
CN101957694B (en) | Touch device and method ignoring palm touch pressure | |
CN105824559B (en) | False touch recognition and processing method and electronic equipment | |
JP5950597B2 (en) | Information processing apparatus and control method thereof | |
CN105094680B (en) | Display object control method and user terminal for browsing web pages | |
US20150268789A1 (en) | Method for preventing accidentally triggering edge swipe gesture and gesture triggering | |
US9632693B2 (en) | Translation of touch input into local input based on a translation profile for an application | |
CN104978028B (en) | A kind of control method and mobile terminal of mobile terminal | |
CN105005448B (en) | Application program launching method, device and terminal device | |
CN103902222B (en) | Touch screen sliding adjustment method, adjustment device and touch device | |
CN103257826A (en) | Method and system for mobile terminal to realize navigation key function based on fingerprint recognition | |
CN105159547B (en) | A kind of man-machine interaction method and user terminal | |
CN103324410A (en) | Method and apparatus for detecting touch | |
WO2016082251A1 (en) | Touch signal processing method and device | |
CN105677788B (en) | File searching method and user terminal | |
CN107025024B (en) | A kind of method preventing mobile terminal maloperation and mobile terminal | |
TW201443762A (en) | Operation method of multi-touch device | |
CN103605460B (en) | Gesture recognition method and related terminal | |
CN105117148B (en) | The regulation and control method and intelligent watch of a kind of intelligent watch | |
WO2018113638A1 (en) | Portable electronic terminal, and apparatus and method for selecting object to be operated | |
US20150063662A1 (en) | Function execution method based on a user input, and electronic device thereof | |
CN104991729A (en) | Control method for mobile terminal and mobile terminal | |
CN106293431A (en) | Handwriting input recognition methods, system and electronic installation | |
JP2015146090A (en) | Handwritten input device and input control program | |
CN103970463A (en) | Information searching method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20220726 |