The invention discloses an interface control method, which includes: receiving a return operation performed for the first interface of an application program; obtaining the operation information of the return operation; determining the number of layers corresponding to the operation information according to the operation information and the preset corresponding relation table, and determining the number of target layers. The preset correspondence table includes the correspondence between multiple operation information and multiple layers, and different operation information corresponds to different layers; the target interface is determined according to the first interface and the target layer; and the target interface is displayed. In addition, the invention also discloses a mobile terminal and a computer readable storage medium. In this way, the user can return to the multi-layer interface separated from the current interface only by one operation, which is easy to operate and does not require the user to click the return button many times to return layer by layer, thus reducing the time-consuming of the layer-by-layer display interface and providing convenience to the user.
【技术实现步骤摘要】
一种界面控制方法、移动终端及计算机可读存储介质
本专利技术涉及显示控制
,尤其涉及一种界面控制方法、移动终端及计算机可读存储介质。
技术介绍
随着互联网与电子技术的快速发展,移动终端(例如智能手机、平板电脑等)的功能越来越强大,在人们的工作或者生活中扮演着越来越重要的角色。随着应用程序的功能不断丰富,应用程序包含的层级也越来越多,当用户进入应用程序层级较深的界面时,如果想要回到应用程序首页或者层级较浅的界面时,现有技术中,用户只能在界面上依次点击返回按钮逐层返回。这样一来,当用户想要回到的界面与当前界面相隔的层级较多时,需要通过多次点击返回按钮逐层返回,操作较繁琐,且界面需逐层显示耗时较长。
技术实现思路
有鉴于此,本专利技术提出一种界面控制方法、移动终端及计算机可读存储介质,以解决上述技术问题。首先,为实现上述目的,本专利技术提出一种界面控制方法,应用于移动终端,所述方法包括:接收针对应用程序的第一界面执行的返回操作;获取所述返回操作的操作信息;根据所述操作信息以及预设对应关系表,确定与所述操作信息对应的层数为目标层数,其中,所述预设对应关系表包括多个操作信息与多个层数之间的对应关系,不同的操作信息对应不同的层数;根据所述第一界面以及所述目标层数确定目标界面;显示所述目标界面。可选地,所述操作信息包括操作力度和/或操作时长。可选地,所述操作信息包括操作力度,所述接收针对应用程序的第一界面执行的返回操作,包括:接收在应用程序的第一界面的目标区域执行的返回操作;所述获取所述返回操作的操作信息,包括:获取设置在所述目标区域的所述移动终端的压力传感器检测的压力 ...
【技术保护点】
1.一种界面控制方法,应用于移动终端,其特征在于,所述方法包括:接收针对应用程序的第一界面执行的返回操作;获取所述返回操作的操作信息;根据所述操作信息以及预设对应关系表,确定与所述操作信息对应的层数为目标层数,其中,所述预设对应关系表包括多个操作信息与多个层数之间的对应关系,不同的操作信息对应不同的层数;根据所述第一界面以及所述目标层数确定目标界面;显示所述目标界面。
【技术特征摘要】
1.一种界面控制方法,应用于移动终端,其特征在于,所述方法包括:接收针对应用程序的第一界面执行的返回操作;获取所述返回操作的操作信息;根据所述操作信息以及预设对应关系表,确定与所述操作信息对应的层数为目标层数,其中,所述预设对应关系表包括多个操作信息与多个层数之间的对应关系,不同的操作信息对应不同的层数;根据所述第一界面以及所述目标层数确定目标界面;显示所述目标界面。2.如权利要求1所述的界面控制方法,其特征在于,所述操作信息包括操作力度和/或操作时长。3.如权利要求2所述的界面控制方法,其特征在于,所述操作信息包括操作力度,所述接收针对应用程序的第一界面执行的返回操作,包括:接收在应用程序的第一界面的目标区域执行的返回操作;所述获取所述返回操作的操作信息,包括:获取设置在所述目标区域的所述移动终端的压力传感器检测的压力为所述返回操作的操作力度。4.如权利要求1所述的界面控制方法,其特征在于,所述根据所述第一界面以及所述目标层数确定目标界面,包括:确定所述第一界面向上目标层数的界面为目标界面。5.如权利要求4所述的界面控制方法,其特征在于,所述确定所述第一界面向上目标层数的界面为目标界面之前,所述方法还包括:获取所述第一界面所处的层级;判断所述第一界面所处的层级是否小于所述目标层数;所述确定所述第一界面向上目标层数的界面为目标界面...
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。