[go: up one dir, main page]

CN111625297A - Application program display method, terminal and computer readable storage medium - Google Patents

Application program display method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN111625297A
CN111625297A CN202010468763.4A CN202010468763A CN111625297A CN 111625297 A CN111625297 A CN 111625297A CN 202010468763 A CN202010468763 A CN 202010468763A CN 111625297 A CN111625297 A CN 111625297A
Authority
CN
China
Prior art keywords
application
touch object
displayed
touch
display screen
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.)
Pending
Application number
CN202010468763.4A
Other languages
Chinese (zh)
Inventor
彭冬炜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010468763.4A priority Critical patent/CN111625297A/en
Publication of CN111625297A publication Critical patent/CN111625297A/en
Priority to PCT/CN2021/095523 priority patent/WO2021238866A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/017Gesture based interaction, e.g. based on a set of recognized hand gestures
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction 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
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请实施例公开了一种应用程序的显示方法、终端和计算机可读存储介质,终端捕捉触控物体的移动信息;触控物体用于对终端的显示屏上的应用进行触控以实现对应用的操作;基于移动信息,获取触控物体的运动轨迹;根据运动轨迹,确定触控物体在显示屏上的目标触控位置;启动目标触控位置对应的待显示应用的进程,并加载待显示应用的资源;若接收到触控物体对待显示应用的启动指令,则响应启动指令,通过待显示应用的进程,调用待显示应用的资源,显示待显示应用。

Figure 202010468763

The embodiments of the present application disclose an application display method, a terminal, and a computer-readable storage medium. The terminal captures movement information of a touch object; the touch object is used to touch an application on a display screen of the terminal to realize The operation of the application; based on the movement information, the motion trajectory of the touch object is obtained; according to the motion trajectory, the target touch position of the touch object on the display screen is determined; the process of the application to be displayed corresponding to the target touch position is started, and the target touch position is loaded. Displaying the resources of the application; if receiving a start command of the application to be displayed by the touch object, responding to the start command, through the process of the application to be displayed, the resource of the application to be displayed is called to display the application to be displayed.

Figure 202010468763

Description

一种应用程序的显示方法、终端和计算机可读存储介质Application display method, terminal and computer-readable storage medium

技术领域technical field

本申请涉及计算机技术领域,尤其涉及一种应用程序的显示方法。The present application relates to the field of computer technology, and in particular, to a method for displaying application programs.

背景技术Background technique

目前,通过点击应用图标打开应用程序,使应用程序显示在显示屏上,通常是在应用图标被触发后,先启动该应用程序的进程,再加载该应用程序的资源,在资源加载完成后显示该应用程序的操作界面。也就是说,应用图标被触发后,至显示应用程序的操作界面之间存在延时,这影响了应用程序的显示速度。At present, the application is opened by clicking the application icon, so that the application is displayed on the display screen, usually after the application icon is triggered, the process of the application is started first, then the resources of the application are loaded, and the display is displayed after the resource is loaded. The user interface of the application. That is, after the application icon is triggered, there is a delay between displaying the operation interface of the application, which affects the display speed of the application.

发明内容SUMMARY OF THE INVENTION

本申请实施例提供一种应用程序的显示方法、终端和计算机可读存储介质,提高了应用程序的显示速度。Embodiments of the present application provide a method for displaying an application program, a terminal and a computer-readable storage medium, which improve the display speed of the application program.

本申请的技术方案是这样实现的:The technical solution of the present application is realized as follows:

本申请实施例提供了一种应用程序的显示方法,所述方法包括:捕捉触控物体的移动信息;所述触控物体用于对所述终端的显示屏上的应用进行触控以实现对所述应用的操作;基于所述移动信息,获取触控物体的运动轨迹;根据所述运动轨迹,确定所述触控物体在所述显示屏上的目标触控位置;启动所述目标触控位置对应的待显示应用的进程,并加载所述待显示应用的资源;若接收到所述触控物体对所述待显示应用的启动指令,则响应所述启动指令,通过所述待显示应用的进程,调用所述待显示应用的资源,显示所述待显示应用。An embodiment of the present application provides a method for displaying an application, the method comprising: capturing movement information of a touch object; the touch object is used to touch an application on a display screen of the terminal to realize the operation of the application; obtaining the motion track of the touch object based on the movement information; determining the target touch position of the touch object on the display screen according to the motion track; enabling the target touch The process of the application to be displayed corresponding to the location, and the resources of the application to be displayed are loaded; if the start command of the application to be displayed by the touch object is received, the application to be displayed is responded to the start command by the application to be displayed. The process calls the resource of the application to be displayed, and displays the application to be displayed.

本申请实施例提供了一种终端,包括:An embodiment of the present application provides a terminal, including:

捕捉模块,用于捕捉触控物体的移动信息;所述触控物体用于对所述终端的显示屏上的应用进行触控以实现对所述应用的操作;a capture module for capturing movement information of a touch object; the touch object is used to touch an application on the display screen of the terminal to operate the application;

获取模块,用于基于所述移动信息,获取触控物体的运动轨迹;an acquisition module, configured to acquire the motion trajectory of the touch object based on the movement information;

确定模块,用于根据所述运动轨迹,确定所述触控物体在所述显示屏上的目标触控位置;a determining module, configured to determine the target touch position of the touch object on the display screen according to the motion trajectory;

启动模块,用于启动所述目标触控位置对应的待显示应用的进程,并加载所述待显示应用的资源;a startup module, configured to start the process of the application to be displayed corresponding to the target touch position, and load the resources of the application to be displayed;

显示模块,用于若接收到所述触控物体对所述待显示应用的启动指令,则响应所述启动指令,通过所述待显示应用的进程,调用所述待显示应用的资源,显示所述待显示应用。A display module, configured to respond to the start-up instruction, call the resource of the application to be displayed through the process of the application to be displayed, and display the Describe the application to be displayed.

本申请实施例提供了一种终端,所述终端包括:处理器和用于存储能够在处理器上运行的计算机程序的存储器,An embodiment of the present application provides a terminal, where the terminal includes: a processor and a memory for storing a computer program that can run on the processor,

其中,所述处理器用于运行所述计算机程序时,执行上述应用程序的显示方法。Wherein, the processor is configured to execute the display method of the above application program when running the computer program.

本申请实施例提供了一种计算机可读存储介质,存储有计算机程序,当所述计算机程序被一个或多个处理器执行的时候,所述处理器执行上述应用程序的显示方法。An embodiment of the present application provides a computer-readable storage medium storing a computer program. When the computer program is executed by one or more processors, the processor executes the above-mentioned display method of the application program.

本申请实施例所提供的一种应用程序的显示方法、终端和计算机可读存储介质,终端捕捉触控物体的移动信息,触控物体用于对终端的显示屏上的应用进行触控以实现对应用的操作;基于移动信息,获取触控物体的运动轨迹,根据运动轨迹,确定触控物体在显示屏上的目标触控位置,启动目标触控位置对应的待显示应用的进程,并加载待显示应用的资源,若接收到触控物体对待显示应用的启动指令,则响应启动指令,通过待显示应用的进程,调用待显示应用的资源,显示待显示应用,也就是说,终端在接收到触控物体对待显示应用的启动指令之前,根据触控物体的运动轨迹预测出用户希望启动的待显示应用后,对待显示应用进行程序启动和资源加载,这样,减少了终端从接收应用程序的启动指令到显示该应用程序的界面之间的延迟时间,提高了应用程序的显示的速度。A method for displaying an application program, a terminal, and a computer-readable storage medium provided by the embodiments of the present application. The terminal captures movement information of a touch object, and the touch object is used to touch an application on a display screen of the terminal to realize Operation on the application; based on the movement information, obtain the motion trajectory of the touch object, determine the target touch position of the touch object on the display screen according to the motion trajectory, start the process of the application to be displayed corresponding to the target touch position, and load it The resource of the application to be displayed, if it receives the start command of the application to be displayed by the touch object, it responds to the start command, calls the resource of the application to be displayed through the process of the application to be displayed, and displays the application to be displayed, that is, the terminal is receiving Before the start command of the application to be displayed by the touch object, after the application to be displayed that the user wishes to start is predicted according to the motion trajectory of the touch object, the application to be displayed is started and the resources are loaded, which reduces the time for the terminal to receive the application program. The delay time between the launch command and the display of the interface of the application increases the display speed of the application.

附图说明Description of drawings

图1为本申请实施例提供的一种显示应用程序的系统结构图;FIG. 1 is a system structure diagram of a display application program provided by an embodiment of the present application;

图2为本申请实施例提供的一种应用程序的显示流程示意图一;FIG. 2 is a schematic diagram 1 of a display flow of an application provided by an embodiment of the present application;

图3为本申请实施例提供的一种应用程序的显示流程示意图二;FIG. 3 is a second schematic diagram of a display flow of an application provided by an embodiment of the present application;

图4为本申请实施例提供的一种手指对手机进行触控操作的示意图;FIG. 4 is a schematic diagram of a finger touch operation on a mobile phone according to an embodiment of the present application;

图5为本申请实施例提供的一种应用程序的显示流程示意图三;FIG. 5 is a schematic diagram 3 of a display flow of an application provided by an embodiment of the present application;

图6为本申请实施例提供的一种应用程序的显示流程示意图四;FIG. 6 is a fourth schematic diagram of a display flow of an application provided by an embodiment of the present application;

图7为本申请实施例提供的一种示例性的预测触控物体的触控位置的示意图;FIG. 7 is a schematic diagram of an exemplary predicted touch position of a touch object according to an embodiment of the present application;

图8为本申请实施例提供的一种应用程序的显示流程示意图五;FIG. 8 is a schematic diagram 5 of a display flow of an application provided by an embodiment of the present application;

图9为本申请实施例提供的一种示例性的确定待显示应用的示意图;FIG. 9 is a schematic diagram of an exemplary determination of an application to be displayed provided by an embodiment of the present application;

图10为本申请实施例提供的一种终端的结构组成示意图一;FIG. 10 is a schematic structural diagram 1 of a terminal according to an embodiment of the present application;

图11为本申请实施例提供的一种终端的结构组成示意图二。FIG. 11 is a second schematic structural diagram of a terminal according to an embodiment of the present application.

具体实施方式Detailed ways

为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.

现有的应用程序启动,是基于触控物体对终端的显示屏上的应用图标的触控操作来进行的,这里,终端的显示屏为触控显示屏。终端接收到触控物体对应用图标的点击后,启动该应用的进程,加载该应用的资源,之后才能在终端的显示屏上显示该应用的操作界面,也就是说,用户在点击需要打开应用的图标后,不能立即显示该应用的操作界面,影响应用的响应速度。The existing application program is started based on the touch operation of the touch object on the application icon on the display screen of the terminal. Here, the display screen of the terminal is a touch display screen. After the terminal receives the click of the touch object on the application icon, it starts the process of the application, loads the resources of the application, and then displays the operation interface of the application on the display screen of the terminal. That is to say, the user needs to open the application after clicking. After the icon is displayed, the operation interface of the application cannot be displayed immediately, which affects the response speed of the application.

本申请提供一种终端显示应用程序的系统结构图,如图1所示,终端100与服务器200之间连接,终端100之间通过服务器200连接,终端100用于接收应用程序的启动指令以启动应用程序,服务器200用于为终端100提供应用服务。The present application provides a system structure diagram of a terminal displaying an application program. As shown in FIG. 1 , a terminal 100 is connected to a server 200, and the terminal 100 is connected through the server 200, and the terminal 100 is used to receive an application startup instruction to start the application. Application program, the server 200 is used to provide application services for the terminal 100 .

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application.

本申请实施例提供一种应用程序的显示方法,如图2所示,该方法包括:An embodiment of the present application provides a method for displaying an application, as shown in FIG. 2 , the method includes:

S201、捕捉触控物体的移动信息;触控物体用于对终端的显示屏上的应用进行触控以实现对应用的操作;S201. Capture movement information of a touch object; the touch object is used to touch an application on a display screen of a terminal to implement an operation on the application;

在本申请实施例中,触控物体发生移动时,才可能对显示屏进行触控操作,因此,终端可以捕捉触控物体的移动信息,基于移动信息确定触控物体的运动轨迹,进而确认触控物体将要对终端的显示屏上的应用的触控操作。In the embodiment of the present application, the touch operation on the display screen is only possible when the touch object moves. Therefore, the terminal can capture the movement information of the touch object, determine the movement trajectory of the touch object based on the movement information, and then confirm the touch The control object will perform the touch operation on the application on the display screen of the terminal.

其中,触控物体可以是触控笔,也可以是手指等任何终端支持的,可以用来对终端的显示屏进行触控操作的物体。The touch object may be a stylus, or any object supported by the terminal, such as a finger, and can be used to perform touch operations on the display screen of the terminal.

需要说明的是,当终端的显示屏所显示的界面为桌面应用界面时,显示屏上包括终端支持的应用程序的应用图标,例如、微信、记事本、邮箱、新闻APP等,本申请实施例不作限制。It should be noted that when the interface displayed on the display screen of the terminal is a desktop application interface, the display screen includes application icons of applications supported by the terminal, such as WeChat, Notepad, mailbox, news APP, etc., the embodiment of the present application No restrictions apply.

在本申请实施例中,如果触控物体发生移动后,在显示屏上有落点,并且落点上有对应的应用程序图标,终端可以判断通过触控物体的触控操作的目的是为了启动这个应用程序。In this embodiment of the present application, if the touch object moves, there is a landing point on the display screen, and there is a corresponding application icon on the landing point, the terminal can determine that the purpose of the touch operation through the touch object is to start this application.

在本申请实施例中,触控物体的移动信息是用于表示触控物体位置的变化的信息。移动信息包括:触控物体的视频帧序列或传感信息,其中,触控物体的视频帧序列包括触控物体的图像随时间视频帧中的变化,传感信息包括触控物体感应出的与显示屏之间的相对位置信息。In the embodiment of the present application, the movement information of the touch object is information used to represent the change of the position of the touch object. The movement information includes: video frame sequence or sensing information of the touch object, wherein the video frame sequence of the touch object includes the change of the image of the touch object over time in the video frame, and the sensor information includes the difference between the touch object and the touch object. Relative position information between displays.

在本申请实施例中,触控物体的视频帧序列可以通过摄像头录制的视频中获取,其中,摄像头为可以拍摄到触控物体需要对显示屏进行触控操作时,向显示屏移动的过程的摄像头,例如手机前置摄像头、终端外置摄像头等;传感信息可以通过设置在触控物体上的传感器感应来得到。In this embodiment of the present application, the video frame sequence of the touch object can be obtained from a video recorded by a camera, wherein the camera can capture the process of moving the touch object to the display screen when the touch object needs to perform a touch operation on the display screen. Cameras, such as the front camera of a mobile phone, an external camera of a terminal, etc.; the sensing information can be obtained by sensing the sensor arranged on the touch object.

在一些实施例中,终端可以对显示屏上当前显示的界面上是否有应用程序图标进行检测,如果当前显示的界面有应用程序图标,才开始通过摄像头进行视频录制。In some embodiments, the terminal may detect whether there is an application icon on the interface currently displayed on the display screen, and start video recording through the camera only if the currently displayed interface has an application icon.

示例性地,当前显示的界面为桌面应用界面时,若终端检测到当前桌面应用界面上包含应用程序图标,则通过摄像头进行视频录制;或者,当前显示的界面为应用程序的操作界面时,若终端检测到该应用程序的操作界面上包含该应用程序内的小程序的应用程序图标,则通过摄像头进行视频录制。Exemplarily, when the currently displayed interface is a desktop application interface, if the terminal detects that the current desktop application interface contains an application icon, video recording is performed through the camera; or, when the currently displayed interface is the operation interface of the application, if When the terminal detects that the operation interface of the application contains the application icon of the applet in the application, it records the video through the camera.

可以理解的是,如果当前显示的界面没有应用程序图标时,触控物体无法通过触控操作对应用程序进行启动,此时,可以不开启摄像头进行视频录制,减少终端资源不必要的消耗。It is understandable that if the currently displayed interface does not have an application icon, the touch object cannot start the application through the touch operation. In this case, the camera may not be turned on for video recording to reduce unnecessary consumption of terminal resources.

在本申请实施例中,传感器可以为微机电(MEMS,Micro-Electro-MechanicalSystem)传感器、也可以是三维加速度传感器,还可以是矢量传感器等任意一种可以获取触控物体和显示屏相对位置的传感器,对此,本申请实施例不作限制。In this embodiment of the present application, the sensor may be a Micro-Electro-Mechanical System (MEMS, Micro-Electro-Mechanical System) sensor, a three-dimensional acceleration sensor, or a vector sensor or any other device that can obtain the relative position of the touch object and the display screen. sensor, this is not limited in this embodiment of the present application.

S202、基于移动信息,获取触控物体的运动轨迹;S202, based on the movement information, obtain the motion trajectory of the touch object;

在本申请实施例中,终端获取的触控物体的运动轨迹表示触控物体的移动路径,基于移动信息,终端可以确定触控物体的运动轨迹。In this embodiment of the present application, the movement trajectory of the touch object acquired by the terminal represents the movement path of the touch object, and based on the movement information, the terminal can determine the movement trajectory of the touch object.

在本申请实施例中,终端可以依据移动信息,识别或者重建触控物体的运动轨迹;例如,当移动信息包括:触控物体的视频帧序列,终端可以基于物体的视频帧序列进行三维模型重建,模拟触控物体在显示屏附近移动的场景,从而得到触控物体在三维模型中的运动轨迹;当移动信息包括:传感信息,终端可以根据传感信息中包括的一系列触控物体和显示屏之间的相对位置信息,进行三维模型重建,确定得到运动轨迹。In this embodiment of the present application, the terminal may identify or reconstruct the motion trajectory of the touch object according to the movement information; for example, when the movement information includes: the video frame sequence of the touch object, the terminal may reconstruct the 3D model based on the video frame sequence of the object , simulate the scene where the touch object moves near the display screen, so as to obtain the motion trajectory of the touch object in the 3D model; when the movement information includes: sensing information, the terminal can The relative position information between the display screens is used to reconstruct the 3D model to determine the motion trajectory.

这里,三维重建的方式,可以是基于变分模型的方式,也可以是基于SFM(Structure from Motion)的方式,还可以是基于光流-场景流的方式等,对此,本申请实施例不作限制。Here, the method of 3D reconstruction may be a method based on a variational model, or a method based on SFM (Structure from Motion), or a method based on optical flow-scene flow, etc. This is not the case in the embodiments of this application. limit.

在本申请实施例中,终端得到的运动轨迹可以采用不同的表现形式,例如,终端可以生成运动轨迹线或运动图谱等。In this embodiment of the present application, the motion trajectory obtained by the terminal may adopt different representation forms, for example, the terminal may generate a motion trajectory line or a motion map, and the like.

需要说明的是,触控物体移动的路径可能是直线,也可能是曲线,其中,直线可能包括各种运动方向,曲线也可能包括各种曲率等,本申请实施例对触控物体的运动轨迹的表现形式不作限定。It should be noted that the moving path of the touch object may be a straight line or a curved line, wherein the straight line may include various motion directions, and the curve may also include various curvatures. The form of expression is not limited.

举例来说,当终端是手机,用户通过手指对手机显示屏进行触控操作时,如果用户使用右手握持手机,并通过右手拇指进行触控操作时,右手拇指点击到距离手掌位置较远的显示屏位置时,右手手拇指运动轨迹为曲线,并且距离越远,曲线的曲率越小。For example, when the terminal is a mobile phone and the user touches the display screen of the mobile phone with his fingers, if the user holds the mobile phone with his right hand and performs the touch operation with the right thumb, the right thumb clicks on the screen that is far away from the palm. When the display screen is in the position, the motion trajectory of the thumb of the right hand is a curve, and the farther the distance is, the smaller the curvature of the curve.

S203、根据运动轨迹,确定触控物体在显示屏上的目标触控位置;S203, determining the target touch position of the touch object on the display screen according to the motion trajectory;

在本申请实施例中,由于终端获取了触控物体的运动轨迹,就获知了触控物体的运动趋势或运动方向,基于运动方向等信息,就可以获知触控物体是远离终端的显示屏,还是靠近终端的显示屏。当终端判断出触控物体靠近显示屏时,该终端可以基于运动轨迹确定该触控物体在显示屏上的落点,该落点即为触控物体在显示屏上的目标触控位置。In the embodiment of the present application, since the terminal obtains the movement track of the touch object, it can know the movement trend or movement direction of the touch object, and based on the movement direction and other information, it can know that the touch object is far from the display screen of the terminal. Still close to the terminal's display. When the terminal determines that the touch object is close to the display screen, the terminal can determine the landing point of the touch object on the display screen based on the motion trajectory, and the landing point is the target touch position of the touch object on the display screen.

在一些实施例中,终端可以基于深度学习来预测目标触控位置,经过触控物体对显示屏的多次触控操作,终端可以获取到触控物体的历史运动轨迹和与该历史运动轨迹对应的实际的历史触控位置。基于历史运动轨迹和实际的历史触控位置,进行触控位置预测模型的训练。这样,终端在获取到的运动轨迹后,根据触控位置预测模型,就可以预测出目标触控位置了。In some embodiments, the terminal can predict the target touch position based on deep learning, and after multiple touch operations of the touch object on the display screen, the terminal can obtain the historical motion trajectory of the touch object and the corresponding historical motion trajectory the actual historical touch position. Based on the historical motion trajectory and the actual historical touch position, the training of the touch position prediction model is performed. In this way, the terminal can predict the target touch position according to the touch position prediction model after acquiring the motion trajectory.

在一些实施例中,终端还可以根据运动轨迹,预测触控物体后续的运动路径,基于预测出的后续的运动路径,确定该触控物体按照预测出的后续的运动路径移动后,最终落在显示屏上的目标触控位置。In some embodiments, the terminal may also predict the subsequent motion path of the touch object according to the motion trajectory, and based on the predicted subsequent motion path, determine that the touch object moves according to the predicted subsequent motion path, and finally falls in The target touch location on the display.

需要说明的是,终端发生移动后,其移动的方向可能指向显示屏,也可能远离显示屏,如果触控物体的移动方向是指向显示屏的,触控物体才可能接触显示屏,对显示屏进行触控操作,也就是说,只有基于指向显示屏方向的运动轨迹,才存在可确定的目标触控位置。It should be noted that, after the terminal moves, its moving direction may point to the display screen, or it may be far away from the display screen. If the moving direction of the touch object points to the display screen, the touch object may touch the display screen, and the display screen will not be affected. To perform a touch operation, that is to say, only based on the motion trajectory pointing to the direction of the display screen, there is a determinable target touch position.

在本申请实施例中,如果基于运动轨迹,确定出触控物体在显示屏上不存在落点,可以重新捕捉触控物体的移动信息,基于新的移动信息,确定目标触控位置。In the embodiment of the present application, if it is determined that the touch object does not have a landing point on the display screen based on the motion trajectory, the movement information of the touch object can be recaptured, and the target touch position can be determined based on the new movement information.

S204、启动目标触控位置对应的待显示应用的进程,并加载待显示应用的资源;S204. Start the process of the application to be displayed corresponding to the target touch position, and load the resources of the application to be displayed;

在本申请实施例中,终端在确定出触控物体的目标触控位置后,直接启动目标触控位置对应的待显示应用程序的进程,并加载待显示应用的结果,也就是说,终端在没有接收到对待显示应用的启动指令时,先启动待显示应用的进程并加载待显示应用的资源。In this embodiment of the present application, after determining the target touch position of the touch object, the terminal directly starts the process of the application to be displayed corresponding to the target touch position, and loads the result of the application to be displayed. When the startup instruction of the application to be displayed is not received, the process of the application to be displayed is started first and the resources of the application to be displayed are loaded.

其中,待显示应用的资源可以包括该应用所需的运行环境的资源,如指令集,还可以包括需显示的页面资源,如页面代码、文字、图像等。The resources of the application to be displayed may include resources of the running environment required by the application, such as an instruction set, and may also include page resources to be displayed, such as page code, text, and images.

需要说明的是,终端在确定出目标触控位置后,可以将目标触控位置上的应用程序确定为待显示应用,还可以给目标触控位置设置一个对应的显示屏区域,将对应的显示屏区域内的应用程序都作为待显示应用,对于待显示应用的确定方式本申请实施例不作限制。It should be noted that, after determining the target touch position, the terminal can determine the application on the target touch position as the application to be displayed, and can also set a corresponding display area for the target touch position, and display the corresponding display area. The applications in the screen area are all applications to be displayed, and the manner of determining the applications to be displayed is not limited in this embodiment of the present application.

在本申请实施例中,如果不存在目标触控位置对应的待显示应用,例如,目标触控位置上没有应用图标,或者目标触控位置附近没有应用图标,终端可以基于触控物体的运动轨迹重新目标触控位置,或重新获取捕捉触控物体的移动信息来确定新的运动轨迹,再根据新的运动轨迹预测虚拟运动轨迹,进而重新确定目标触控位置。In this embodiment of the present application, if there is no application to be displayed corresponding to the target touch position, for example, there is no application icon on the target touch position, or there is no application icon near the target touch position, the terminal can be based on the movement trajectory of the touch object. Re-target the touch position, or re-acquire the movement information of the captured touch object to determine a new motion trajectory, and then predict the virtual motion trajectory according to the new motion trajectory, and then re-determine the target touch position.

S205、若接收到触控物体对待显示应用的启动指令,则响应启动指令,通过待显示应用的进程,调用待显示应用的资源,显示待显示应用。S205. If a start instruction of the application to be displayed by the touch object is received, in response to the start instruction, through the process of the application to be displayed, the resource of the application to be displayed is called to display the application to be displayed.

在本申请实施例中,由于终端已经启动了待显示应用的进程并加载了待显示应用的资源,在此之后,如果接收到对待显示应用的启动指令,终端只需继续完成对待显示应用的进程启动和资源加载,在资源加载完成后,基于加载的资源显示待显示应用;如果终端在接收到待显示应用的启动指令时,已经完成了对待显示应用的进程启动和资源加载,则可以直接显示待显示应用。In this embodiment of the present application, since the terminal has already started the process of the application to be displayed and loaded the resources of the application to be displayed, after that, if it receives an instruction to start the application to be displayed, the terminal only needs to continue to complete the process of the application to be displayed Startup and resource loading. After the resource loading is completed, the application to be displayed is displayed based on the loaded resources; if the terminal has completed the process startup and resource loading of the application to be displayed when receiving the startup instruction of the application to be displayed, it can be displayed directly. Application to be displayed.

这里,待显示应用的启动指令可以为单击应用程序的图标、双击应用程序的图标,或者长按应用程序的图标等,对此,本申请实施例不作限制。Here, the startup instruction of the application to be displayed may be clicking the icon of the application program, double-clicking the icon of the application program, or long-pressing the icon of the application program, etc., which is not limited in this embodiment of the present application.

本申请实施例所提供的一种应用程序的显示方法,终端捕捉触控物体的移动信息,触控物体用于对终端的显示屏上的应用进行触控以实现对应用的操作;基于移动信息,获取触控物体的运动轨迹,根据运动轨迹,确定触控物体在显示屏上的目标触控位置,启动目标触控位置对应的待显示应用的进程,并加载待显示应用的资源,若接收到触控物体对待显示应用的启动指令,则响应启动指令,通过待显示应用的进程,调用待显示应用的资源,显示待显示应用,也就是说,终端在接收到触控物体对待显示应用的启动指令之前,根据触控物体的运动轨迹预测出用户希望启动的待显示应用后,对待显示应用进行程序启动和资源加载,这样,减少了终端从接收到应用程序的启动指令到显示该应用程序的界面之间的延迟时间,提高应用程序显示的速度。In an application display method provided by an embodiment of the present application, a terminal captures movement information of a touch object, and the touch object is used to touch an application on a display screen of the terminal to implement an operation on the application; based on the movement information , obtain the motion trajectory of the touch object, determine the target touch position of the touch object on the display screen according to the motion trajectory, start the process of the application to be displayed corresponding to the target touch position, and load the resources of the application to be displayed. To the start command of the application to be displayed by the touch object, it responds to the start command, and through the process of the application to be displayed, calls the resources of the application to be displayed, and displays the application to be displayed. Before starting the instruction, after predicting the application to be displayed that the user wants to start according to the motion trajectory of the touch object, the application to be displayed is started and the resources are loaded, which reduces the time from the terminal receiving the application starting instruction to displaying the application. The delay time between interfaces, improving the speed at which the application is displayed.

在本申请的一些实施例中,移动信息包括触控物体的视频帧序列,S201中捕捉触控物体的移动信息的实现,如图3所示,该方法可以包括:S301-S302。如下:In some embodiments of the present application, the movement information includes a video frame sequence of the touch object, and the implementation of capturing the movement information of the touch object in S201 , as shown in FIG. 3 , the method may include: S301 - S302 . as follows:

S301、通过设置的摄像头进行视频录制,得到原始视频帧序列;摄像头相对于显示屏的位置相对固定;S301. Perform video recording through a set camera to obtain an original video frame sequence; the position of the camera relative to the display screen is relatively fixed;

本申请实施例中,终端开启摄像头进行视频录制后,得到的视频帧序列为原始视频帧序列,则终端可以对原始视频帧序列进行触控该物体的识别,得到识别出包含触控物体的视频帧序列,即触控物体的视频帧序列,从而确定触控物体的运动轨迹。In the embodiment of the present application, after the terminal turns on the camera for video recording, and the obtained video frame sequence is the original video frame sequence, the terminal can identify the object that touches the original video frame sequence, and obtain a video that identifies the touch object. The frame sequence is the video frame sequence of the touch object, so as to determine the motion trajectory of the touch object.

需要说明的是,终端开始录制视频后,可能只是在某个时间段,对显示屏进行了触控操作,因此,原始视频帧序列中只有部分视频帧包括触控物体,终端需要根据图像识别算法依次对原始视频帧序列中每一帧进行识别,确定已经识别的视频帧是否包括触控物体,基于包括触控物体的视频帧才能确定触控物体的移动信息。It should be noted that after the terminal starts recording video, it may only touch the display screen in a certain period of time. Therefore, only some video frames in the original video frame sequence include touch objects, and the terminal needs to recognize the algorithm according to the image. Each frame in the original video frame sequence is identified in turn to determine whether the identified video frame includes a touch object, and movement information of the touch object can be determined based on the video frame including the touch object.

这里,图像识别算法可以采用深度学习的方法,深度学习的方法可以包括R-FCN(Object Detection via Region-based Fully Convolutional Networks)、基于区域的卷积神经网络(R-CNN,Region-based Convolutional Neural Networks)、空间金字塔池化(SPP Net,Spatial Pyramid Pooling Layer Net)等算法的任意一种,对此,本申请实施例不作限制。Here, the image recognition algorithm can use the deep learning method, and the deep learning method can include R-FCN (Object Detection via Region-based Fully Convolutional Networks), Region-based Convolutional Neural Network (R-CNN, Region-based Convolutional Neural Networks) Networks), Spatial Pyramid Pooling Layer Net (SPP Net, Spatial Pyramid Pooling Layer Net) and other algorithms, which are not limited in this embodiment of the present application.

其中,摄像头相对于显示屏的位置相对固定,当视频帧中触控物体的位置发生变化时,可以表明触控物体发生了移动,并且可能正在向显示屏移动以进行触控操作。The position of the camera relative to the display screen is relatively fixed, and when the position of the touch object in the video frame changes, it can indicate that the touch object has moved and may be moving toward the display screen for touch operation.

在一些实施例中,触控物体对显示屏的触控操作可能只在视频帧中的预设区域内体现,其中,预设区域与摄像头和显示屏之间的相对位置相关,基于此,终端可以只对原始视频帧中的预设区域进行触控物体的识别,确定预设区域中是否包括触控物体,由此,减少终端识别触控物体的工作量,减少终端资源消耗。In some embodiments, the touch operation of the touch object on the display screen may only be reflected in a preset area in the video frame, where the preset area is related to the relative position between the camera and the display screen. Based on this, the terminal Only a preset area in the original video frame can be identified for the touch object, and it is determined whether the preset area includes the touch object, thereby reducing the workload of the terminal for identifying the touch object and reducing the resource consumption of the terminal.

这里,摄像头可以为终端自带的摄像头,也可以是终端外部摄像头,本申请实施例不作限制。图4给出了通过手指对手机进行触控操作的示意图,如图4所示,手机自带的前置摄像头的位置对显示屏来说是固定的,手机可以通过前置摄像头获取手指的视频帧序列,进而确定出手指的运动轨迹是从左侧指向显示屏。Here, the camera may be a camera built-in to the terminal, or may be an external camera of the terminal, which is not limited in this embodiment of the present application. Figure 4 shows a schematic diagram of the touch operation of the mobile phone through the finger. As shown in Figure 4, the position of the front camera that comes with the mobile phone is fixed for the display screen, and the mobile phone can obtain the video of the finger through the front camera frame sequence, and then determine that the movement trajectory of the finger is pointing from the left to the display screen.

S302、当从原始视频帧序列的第i个视频帧中识别出触控物体时,将第i个视频帧至第i+M个视频帧作为触控物体的视频帧序列;i为大于等于1的整数;M为大于等于1的整数。S302. When the touch object is identified from the ith video frame of the original video frame sequence, use the ith video frame to the i+M th video frame as the video frame sequence of the touch object; i is greater than or equal to 1 An integer of ; M is an integer greater than or equal to 1.

在本申请实施例中,终端依次对原始视频帧序列中的每一帧进行识别时,一旦在某一帧识别出触控物体,可以确定在这一视频帧后续的一些视频帧必然包括触控物体,因此,当第i个视频帧中识别出触控物体时,可以从第i个视频帧开始,选择预设数目的视频帧作为触控物体的视频帧序列,其中,预设数目可以用M表示,M为大于等于1的整数。In this embodiment of the present application, when the terminal sequentially identifies each frame in the original video frame sequence, once a touch object is identified in a certain frame, it can be determined that some video frames following this video frame must contain touch Therefore, when a touch object is identified in the ith video frame, starting from the ith video frame, a preset number of video frames can be selected as the video frame sequence of the touch object, where the preset number can be used M represents that M is an integer greater than or equal to 1.

需要说明的是,终端在摄像头开始录制视频时,就开始获取视频帧,并对视频帧依次进行识别,从而即使确定出触控物体的运动轨迹,进而预测目标触控位置。It should be noted that when the camera starts recording video, the terminal starts to acquire video frames, and recognizes the video frames in sequence, so as to determine the motion trajectory of the touch object, and then predict the target touch position.

在本申请的一些实施例中,终端基于移动信息,获取触控物体的运动轨迹的实现,可以包括:基于触控物体的视频帧序列,以显示屏的中心为原点,对触控物体进行三维模型重建,得到所述触控物体的运动轨迹。In some embodiments of the present application, the realization that the terminal obtains the motion trajectory of the touch object based on the movement information may include: based on the video frame sequence of the touch object, taking the center of the display screen as the origin, performing a three-dimensional image of the touch object The model is reconstructed to obtain the motion trajectory of the touch object.

在本申请实施例中,终端在显示屏所在的平面上建立x轴和y轴,以显示屏的中心为原点,以与显示屏垂直的轴作为z轴,建立三维空间坐标系,根据触控物体的视频帧序列,在三维空间坐标系中对触控物体进行三维重建,得到触控物体在三维空间坐标系中的三维模型,根据触控物体在三维空间坐标系中的移动过程,确定触控物体的运动轨迹,此时,触控物体的运动轨迹可以体现为触控物体在三维空间坐标系的坐标值序列。In the embodiment of the present application, the terminal establishes an x-axis and a y-axis on the plane where the display screen is located, takes the center of the display screen as the origin, and uses the axis perpendicular to the display screen as the z-axis to establish a three-dimensional space coordinate system. The video frame sequence of the object, the three-dimensional reconstruction of the touch object in the three-dimensional space coordinate system, and the three-dimensional model of the touch object in the three-dimensional space coordinate system is obtained. According to the movement process of the touch object in the three-dimensional space coordinate system, the touch In this case, the motion trajectory of the touch object may be embodied as a sequence of coordinate values of the touch object in the three-dimensional space coordinate system.

在本申请的一些实施例中,S202中基于移动信息,获取触控物体的运动轨迹的实现,如图5所示,该方法包括:S501-S503。如下:In some embodiments of the present application, in S202, based on the movement information, the movement trajectory of the touch object is obtained. As shown in FIG. 5, the method includes: S501-S503. as follows:

S501、基于对视频帧序列中的每个视频帧的识别,确定每个视频帧中触控物体的图像信息;S501, based on the identification of each video frame in the video frame sequence, determine the image information of the touch object in each video frame;

S502、基于图像信息,确定触控物体与显示屏的相对位置;S502, determining the relative position of the touch object and the display screen based on the image information;

在本申请实施例中,终端根据图像识别算法对视频帧序列中每个视频帧进行识别,确定每个视频帧中是否包括触控物体,从包括触控物体的视频帧中提取触控物体的图像信息,根据图像信息在视频帧序列中的变化规律,确定触控物体与显示屏的相对位置。In the embodiment of the present application, the terminal identifies each video frame in the video frame sequence according to an image recognition algorithm, determines whether each video frame includes a touch object, and extracts the touch object from the video frame including the touch object. Image information, according to the change rule of the image information in the video frame sequence, to determine the relative position of the touch object and the display screen.

在一种可能的实现方式中,图像信息为触控物体在视频帧中所占的像素的多少,在视频帧序列中,如果触控物体在视频帧中所占的像素越来越多,触控物体与显示屏之间的相对位置越来越近,即触控物体向显示屏移动,如果触控物体在视频帧中所占的像素越来越少,触控物体与显示屏之间的相对位置越来越远,即触控物体远离显示屏。In a possible implementation manner, the image information is the number of pixels occupied by the touch object in the video frame. In the video frame sequence, if the touch object occupies more and more pixels in the video frame, the touch object will The relative position between the control object and the display screen is getting closer and closer, that is, the touch object moves towards the display screen. The relative position is getting farther and farther, that is, the touch object is far away from the display screen.

需要说明的是,当终端在第i帧识别出触控物体时,将会确定第i帧和第i+1帧中触控物体所占的像素,并进行像素比较,若第i+1帧中触控物体所占的像素高于第i帧中触控物体所占的像素,继续确定第i+2帧中触控物体所占的像素,当触控物体所占的像素持续升高的视频帧的数目超过预设数目时,表示触控物体向显示屏移动。It should be noted that when the terminal recognizes the touch object in the i-th frame, it will determine the pixels occupied by the touch-sensitive object in the i-th frame and the i+1-th frame, and compare the pixels. The pixels occupied by the touch object are higher than the pixels occupied by the touch object in the ith frame, continue to determine the pixels occupied by the touch object in the i+2th frame, and when the pixels occupied by the touch object continue to increase, the When the number of video frames exceeds the preset number, it means that the touch object moves towards the display screen.

在另一种可能的实现方式中,图像信息可以包括触控物体的景深信息,终端根据景深信息确定触控物体与摄像头之间的距离,再根据摄像头与显示屏之间的相对位置确定触控物体和显示屏之间的距离,例如,终端为手机,手机通过前置摄像头录制视频,在视频帧序列中,如果触控物体的景深越来越大,表示触控物体和摄像头之间距离越来越远,即触控物体远离显示屏;如果触控物体的景深越来越小,表示触控物体和摄像头之间的距离越来越近,即触控物体向显示屏移动。In another possible implementation manner, the image information may include depth of field information of the touch object, the terminal determines the distance between the touch object and the camera according to the depth of field information, and then determines the touch according to the relative position between the camera and the display screen. The distance between the object and the display screen. For example, the terminal is a mobile phone, and the mobile phone records video through the front camera. In the video frame sequence, if the depth of field of the touch object increases, it means that the distance between the touch object and the camera increases. If the depth of field of the touch object is getting smaller and smaller, it means that the distance between the touch object and the camera is getting closer and closer, that is, the touch object moves towards the display screen.

S503、当相对位置表征触控物体向显示屏移动时,基于视频帧序列,以显示屏的中心为原点,对触控物体进行三维模型重建,得到触控物体的运动轨迹。S503 , when the relative position indicates that the touch object moves toward the display screen, based on the video frame sequence, taking the center of the display screen as the origin, reconstruct the three-dimensional model of the touch object, and obtain the motion trajectory of the touch object.

在本申请实施例中,终端基于图像信息确定出相对位置后,如果相位位置表征触控物体向显示屏移动时,表明终端可能会对显示屏进行触控操作,此时,终端才会基于视频帧序列,对触控物体进行三维模型重建,从而得到触控物体的运动轨迹。In this embodiment of the present application, after the terminal determines the relative position based on the image information, if the phase position indicates that the touch object moves toward the display screen, it indicates that the terminal may touch the display screen. The frame sequence is used to reconstruct the 3D model of the touch object, so as to obtain the motion trajectory of the touch object.

需要说明的是,如果触控物体发生了移动,但是方向是远离显示屏时,则触控物体不会对显示屏进行触控操作,此时,终端可以不获取运动轨迹,以减少终端资源消耗,终端将继续识别视频帧,获取图像信息,直到确定出触控物体向显示屏移动时,对触控物体进行三维模型重建,得到触控物体的运动轨迹。It should be noted that if the touch object moves, but the direction is away from the display screen, the touch object will not touch the display screen. At this time, the terminal may not obtain the motion trajectory to reduce terminal resource consumption. , the terminal will continue to identify video frames and obtain image information, until it is determined that the touch object moves toward the display screen, reconstruct the 3D model of the touch object, and obtain the motion trajectory of the touch object.

在本申请的一些实施例中,移动信息包括:传感信息,终端捕捉触控物体的移动信息的实现,包括:基于触控物体上设置的传感设备,获取触控物体与终端之间的传感信息;传感设备与终端通信。In some embodiments of the present application, the movement information includes: sensing information, and the realization that the terminal captures the movement information of the touch object includes: based on a sensing device set on the touch object, acquiring the information between the touch object and the terminal. Sensing information; the sensing device communicates with the terminal.

在本申请实施例中,终端是通过与传感设备之间的通信来获取传感信息的,传感信息是由传感设备对触控物体和终端之间进行感应得到的,用于表征触控物体和显示屏之间的位置关系。In this embodiment of the present application, the terminal acquires sensing information through communication with the sensing device, and the sensing information is obtained by sensing between the touch object and the terminal by the sensing device, and is used to represent the touch The positional relationship between the control object and the display screen.

这里,传感设备可以是直接植入触控物体中的传感器,也可以是通过佩戴的方式设置在触控物体上的穿戴式设备,对此,本申请实施例不作限制。Here, the sensing device may be a sensor directly implanted in the touch object, or may be a wearable device disposed on the touch object by wearing, which is not limited in this embodiment of the present application.

在本申请的一些实施例中,终端基于移动信息,获取触控物体的运动轨迹的实现,包括:基于传感信息,确定触控物体与终端的显示屏之间的距离序列;基于距离序列,以显示屏的中心为原点,对触控物体进行三维模型重建,得到触控物体的运动轨迹。In some embodiments of the present application, the realization that the terminal obtains the motion trajectory of the touch object based on the movement information includes: determining the distance sequence between the touch object and the display screen of the terminal based on the sensing information; based on the distance sequence, Taking the center of the display screen as the origin, the three-dimensional model of the touch object is reconstructed, and the motion trajectory of the touch object is obtained.

在本申请实施例中,终端基于传感信息,可以确定出触控物体和终端的显示屏之间的距离值,终端连续获取传感信息后可以得到距离序列,当距离序列中的距离值没有发生变化时,表示触控物体没有移动当距离序列中的距离值越来越大时,表示触控物体正在远离显示屏,在以上两种情况下,终端对此距离序列不做进一步处理,此时,终端需要继续获取传感信息,确定新的距离序列;当距离序列中的距离值越来越小时,表示触控物体向显示屏方向移动,此时,终端可以根据距离序列,以显示屏中心为原点,进行三维模型重建,得到触控物体的运动轨迹。In the embodiment of the present application, the terminal can determine the distance value between the touch object and the display screen of the terminal based on the sensing information, and the terminal can obtain the distance sequence after continuously acquiring the sensing information. When it changes, it means that the touch object is not moving. When the distance value in the distance sequence is getting larger and larger, it means that the touch object is moving away from the display screen. In the above two cases, the terminal does not further process the distance sequence. At this time, the terminal needs to continue to obtain sensing information to determine a new distance sequence; when the distance value in the distance sequence is getting smaller and smaller, it means that the touch object is moving towards the display screen. The center is the origin, and the 3D model is reconstructed to obtain the motion trajectory of the touch object.

在本申请的一些实施例中,S203中根据运动轨迹,确定触控物体在显示屏上的目标触控位置的实现,如图6所示,该方法可以包括:S601-S602。如下:In some embodiments of the present application, in S203, the target touch position of the touch object on the display screen is determined according to the motion trajectory. As shown in FIG. 6, the method may include: S601-S602. as follows:

S601、根据运动轨迹,预测出触控物体的虚拟运动轨迹;虚拟运动轨迹表示触控物体预测出来的运动路径;S601. Predict the virtual motion trajectory of the touch object according to the motion trajectory; the virtual motion trajectory represents the motion path predicted by the touch object;

在本申请实施例中,终端确定了触控物体的运动轨迹,就可以将运动轨迹的方向确定为触控物体即将要进行移动的方向,沿着运动轨迹的方向预测触控物体的运动路径。In the embodiment of the present application, after the terminal has determined the motion trajectory of the touch object, the direction of the motion trajectory can be determined as the direction in which the touch object is about to move, and the motion path of the touch object can be predicted along the direction of the motion trajectory.

需要说明的是,终端预测虚拟运动轨迹的方法,可以是沿着运动轨迹的方向延长触控物体的运动轨迹,延长的运动轨迹即为预测出的触控物体的虚拟运动轨迹;也可以基于传统数学统计学方法,如马尔可夫模型、朴素贝叶斯模型、高斯过程模型等方法,还可以为机器学习法,如神经网络、支持向量机(Support Vector Machine,SVM)等,对此,本申请实施例不作限制。It should be noted that the method for the terminal to predict the virtual motion trajectory may be to extend the motion trajectory of the touch object along the direction of the motion trajectory, and the extended motion trajectory is the predicted virtual motion trajectory of the touch object; Mathematical statistics methods, such as Markov model, Naive Bayes model, Gaussian process model, etc., can also be machine learning methods, such as neural network, Support Vector Machine (SVM), etc. The application examples are not limited.

S602、确定虚拟运动轨迹在显示屏上的触控位置,将触控位置作为目标触控位置。S602: Determine the touch position of the virtual motion track on the display screen, and use the touch position as the target touch position.

在本申请实施例中,终端在预测出虚拟运动轨迹后,可以确定触控物体沿着虚拟运动轨迹运动时,在显示屏上的触控位置,将此触控位置作为目标触控位置。In this embodiment of the present application, after predicting the virtual motion trajectory, the terminal may determine the touch position on the display screen when the touch object moves along the virtual motion trajectory, and use the touch position as the target touch position.

在本申请的一些实施例中,终端启动目标触控位置对应的待显示应用的进程,并加载待显示应用的资源的实现,可以包括:当目标触控位置处存在应用图标时,启动与应用图标对应的待显示应用的进程,并加载待显示应用的资源。In some embodiments of the present application, the realization that the terminal starts the process of the application to be displayed corresponding to the target touch position, and loads the resources of the application to be displayed, may include: when there is an application icon at the target touch position, starting the application with the application The process of the application to be displayed corresponding to the icon, and the resources of the application to be displayed are loaded.

图7给出了一种示例性的预测触控物体的触控位置的示意图,如图7所示,以显示屏中心为原点,在手机显示屏所在平面建立x轴和y轴,以显示屏所在平面垂直的方向建立z轴,进行三维重建,预测出手指的虚拟运动轨迹如图中虚线71所示,进而确定手指在显示屏上的目标触控位置,目标触控位置上的应用图标即为待显示应用的应用图标。Fig. 7 is an exemplary schematic diagram of predicting the touch position of the touch object. As shown in Fig. 7, the center of the display screen is taken as the origin, and the x-axis and the y-axis are established on the plane where the display screen of the mobile phone is located. The z-axis is established in the direction perpendicular to the plane where it is located, and three-dimensional reconstruction is performed to predict the virtual motion trajectory of the finger as shown by the dotted line 71 in the figure, and then determine the target touch position of the finger on the display screen. The application icon on the target touch position is The application icon of the application to be displayed.

在本申请的一些实施例中,S204中启动目标触控位置对应的待显示应用的进程,并加载待显示应用的资源的实现,如图8所示,该方法可以包括:S801-S803。如下:In some embodiments of the present application, in S204, the process of starting the application to be displayed corresponding to the target touch position, and loading the resources of the application to be displayed is realized. As shown in FIG. 8, the method may include: S801-S803. as follows:

S801、根据目标触控位置,确定显示屏上对应的目标区域;S801. Determine a corresponding target area on the display screen according to the target touch position;

S802、将目标区域内的应用确定为待显示应用;S802, determining the application in the target area as the application to be displayed;

在本申请实施例中,终端可以设置预设规则,将目标触控位置和目标区域相对应起来,这样终端在确定目标触控位置之后,可以将目标区域内的应用作为待显示应用。In this embodiment of the present application, the terminal may set a preset rule to associate the target touch position with the target area, so that after determining the target touch position, the terminal can use the application in the target area as the application to be displayed.

在本申请实施例中,终端在确定目标触控位置之后,可以以目标触控位置为圆心,取预设半径的圆形面积内的应用程序为待显示应用,或者以目标触控位置为中心,预设边长的正方形面积内的应用程序为待显示应用,终端还可以预先将显示屏分为多个显示区域,在确定出目标触控位置后,将目标触控位置所在的显示区域内的应用程序确定为待显示应用,对此,本申请实施例不作限制。In this embodiment of the present application, after determining the target touch position, the terminal may take the target touch position as the center of the circle, and take the application within the circular area of the preset radius as the application to be displayed, or take the target touch position as the center , the application program within the square area of the preset side length is the application to be displayed. The terminal can also divide the display screen into multiple display areas in advance. After the target touch position is determined, the target touch position is located in the display area The application program is determined as the application to be displayed, which is not limited in this embodiment of the present application.

举例来说,如图9所示,手机显示屏被平均分为6个显示区域,手机根据前置摄像头进行视频录制后,预测出手指的虚拟运动轨迹,进而确定出目标触控位置在第4个显示区域中,那么,就将第4个显示区域内的K应用和L应用作为待显示应用。For example, as shown in Figure 9, the display screen of the mobile phone is divided into 6 display areas on average. After the mobile phone records the video according to the front camera, it predicts the virtual motion trajectory of the finger, and then determines that the target touch position is in the fourth position. In a display area, then, the K application and the L application in the fourth display area are used as the applications to be displayed.

可以理解的是,由于目标触控位置是根据预测出的虚拟运动轨迹确定的,将目标触控位置对应的显示区域内的所有应用图标确定为待显示应用,提前启动并加载这些应用,当待显示应用中的其中任意一个应用接收到启动指令,就可以立即显示该待显示应用,进一步提高了应用程序的响应速度。It can be understood that since the target touch position is determined according to the predicted virtual motion trajectory, all application icons in the display area corresponding to the target touch position are determined as applications to be displayed, and these applications are started and loaded in advance. When any one of the display applications receives the startup instruction, the application to be displayed can be displayed immediately, which further improves the response speed of the application.

S803、启动待显示应用的进程,并加载待显示应用的资源。S803. Start the process of the application to be displayed, and load the resources of the application to be displayed.

在本申请实施例中,终端确定出待显示应用后,将启动待显示应用的进程,并加载待显示应用的资源,从而减少终端在应用程序接收到启动指令后,启动待显示应用的进程以及加载待显示应用的资源的时间,提高应用程序的显示速度。In the embodiment of the present application, after the terminal determines the application to be displayed, it will start the process of the application to be displayed, and load the resources of the application to be displayed, thereby reducing the process of starting the application to be displayed by the terminal after the application program receives the start instruction, and The time to load the resources of the application to be displayed increases the display speed of the application.

在本申请的一些实施例中,终端在启动目标触控位置对应的待显示应用的进程,并加载待显示应用的资源之后,若终端在预设时间段内没有接收到触控物体对待显示应用的启动指令,结束待显示应用的进程,并释放待显示应用的资源。In some embodiments of the present application, after the terminal starts the process of the application to be displayed corresponding to the target touch position and loads the resources of the application to be displayed, if the terminal does not receive the touch object within the preset time period, the application to be displayed is not received The startup command ends the process of the application to be displayed and releases the resources of the application to be displayed.

在本申请实施例中,在预设时间段内,终端没有接收到触控物体对待显示应用的启动指令的情况可以包括:显示屏上所有应用程序均没有接收到触控物体的启动指令,或者接收到触控物体的启动指令的应用程序不是待显示应用,基于此,可以确定出待显示应用不是用户希望打开的应用程序,不用进行显示,因此,需要结束待显示应用的进程,并释放待显示应用的资源,减少终端不必要的资源消耗。In this embodiment of the present application, within a preset time period, the situation that the terminal does not receive a start instruction of the application to be displayed by the touch object may include: all applications on the display screen have not received the start instruction of the touch object, or The application that receives the start instruction of the touch object is not the application to be displayed. Based on this, it can be determined that the application to be displayed is not the application that the user wants to open, and it does not need to be displayed. Therefore, it is necessary to end the process of the application to be displayed and release the application to be displayed. Display the resources of the application to reduce unnecessary resource consumption of the terminal.

本申请实施例提供一种终端,如图10所示,该终端10包括:An embodiment of the present application provides a terminal. As shown in FIG. 10 , the terminal 10 includes:

捕捉模块1001,用于捕捉触控物体的移动信息;所述触控物体用于对所述终端的显示屏上的应用进行触控以实现对所述应用的操作;The capture module 1001 is used to capture the movement information of the touch object; the touch object is used to touch the application on the display screen of the terminal to realize the operation of the application;

获取模块1002,用于基于所述移动信息,获取触控物体的运动轨迹;an obtaining module 1002, configured to obtain the motion trajectory of the touch object based on the movement information;

确定模块1003,用于根据所述运动轨迹,确定所述触控物体在所述显示屏上的目标触控位置;A determination module 1003, configured to determine the target touch position of the touch object on the display screen according to the motion track;

启动模块1004,用于启动所述目标触控位置对应的待显示应用的进程,并加载所述待显示应用的资源;A startup module 1004, configured to start the process of the application to be displayed corresponding to the target touch position, and load the resources of the application to be displayed;

显示模块1005,用于若接收到所述触控物体对所述待显示应用的启动指令,则响应所述启动指令,通过所述待显示应用的进程,调用所述待显示应用的资源,显示所述待显示应用。The display module 1005 is configured to respond to the start-up instruction and call the resources of the application to be displayed through the process of the application to be displayed in response to the start instruction of the application to be displayed by the touch object, and display the application to be displayed.

在一些实施例中,捕捉模块1001,具体用于通过设置的摄像头进行视频录制,得到原始视频帧序列;所述摄像头相对于所述显示屏的位置相对固定;当从所述原始视频帧序列中的第i个视频帧中识别出所述触控物体时,将所述第i个视频帧至所述第i+M个视频帧作为所述触控物体的视频帧序列;所述i为大于等于1的整数;所述M为大于等于1的整数。In some embodiments, the capture module 1001 is specifically configured to perform video recording through a set camera to obtain an original video frame sequence; the position of the camera relative to the display screen is relatively fixed; when the original video frame sequence is obtained from the camera When the touch object is identified in the i-th video frame of , the i-th video frame to the i+M-th video frame is used as the video frame sequence of the touch-control object; the i is greater than An integer equal to 1; the M is an integer greater than or equal to 1.

在一些实施例中,获取模块1002,具体用于基于所述触控物体的视频帧序列,以所述显示屏的中心为原点,对所述触控物体进行三维模型重建,得到所述触控物体的运动轨迹。In some embodiments, the acquiring module 1002 is specifically configured to reconstruct a 3D model of the touch object based on the video frame sequence of the touch object, taking the center of the display screen as the origin, to obtain the touch object The trajectory of the object's motion.

在一些实施例中,获取模块1002,具体用于基于对所述视频帧序列中的每个视频帧的识别,确定每个视频帧中所述触控物体的图像信息;基于所述图像信息,确定所述触控物体与所述显示屏的相对位置;当所述相对位置表征所述触控物体向所述显示屏移动时,基于所述视频帧序列,以所述显示屏的中心为原点,对所述触控物体进行三维模型重建,得到所述触控物体的运动轨迹。In some embodiments, the acquiring module 1002 is specifically configured to determine the image information of the touch object in each video frame based on the identification of each video frame in the video frame sequence; based on the image information, Determine the relative position of the touch object and the display screen; when the relative position represents the movement of the touch object to the display screen, based on the video frame sequence, take the center of the display screen as the origin , reconstructing a three-dimensional model of the touch object to obtain a motion trajectory of the touch object.

在一些实施例中,捕捉模块1001,还用于基于所述触控物体上设置的传感设备,获取所述触控物体与所述终端之间的传感信息;所述传感设备与所述终端通信。In some embodiments, the capture module 1001 is further configured to acquire sensing information between the touch object and the terminal based on the sensing device set on the touch object; the sensing device is connected to the terminal. terminal communication.

在一些实施例中,获取模块1002,具体用于基于所述传感信息,确定所述触控物体与所述终端的显示屏之间的距离序列;基于所述距离序列,以所述显示屏的中心为原点,对所述触控物体进行三维模型重建,得到所述触控物体的运动轨迹。In some embodiments, the acquiring module 1002 is specifically configured to determine, based on the sensing information, a sequence of distances between the touch object and the display screen of the terminal; The center of the touch object is the origin, and the three-dimensional model of the touch object is reconstructed to obtain the motion trajectory of the touch object.

在一些实施例中,确定模块1003,具体用于根据所述运动轨迹,预测出所述触控物体的虚拟运动轨迹;所述虚拟运动轨迹表示所述触控物体预测出来的运动路径;确定所述虚拟运动轨迹在所述显示屏上的触控位置,将所述触控位置作为所述目标触控位置。In some embodiments, the determining module 1003 is specifically configured to predict the virtual motion trajectory of the touch object according to the motion trajectory; the virtual motion trajectory represents the motion path predicted by the touch object; The touch position of the virtual motion track on the display screen, and the touch position is used as the target touch position.

在一些实施例中,启动模块1004,具体用于当所述目标触控位置处存在应用图标时,启动与所述应用图标对应的待显示应用的进程,并加载所述待显示应用的资源。In some embodiments, the starting module 1004 is specifically configured to start the process of the application to be displayed corresponding to the application icon when there is an application icon at the target touch position, and load the resources of the application to be displayed.

在一些实施例中,启动模块1004,具体用于根据所述目标触控位置,确定显示屏上对应的目标区域;将所述目标区域内的应用确定为所述待显示应用;启动所述待显示应用的进程,并加载所述待显示应用的资源。In some embodiments, the startup module 1004 is specifically configured to determine the corresponding target area on the display screen according to the target touch position; determine the application in the target area as the application to be displayed; start the application to be displayed The process of the application is displayed, and the resources of the application to be displayed are loaded.

在一些实施例中,在启动所述目标触控位置对应的待显示应用的进程,并加载所述待显示应用的资源之后,显示模块1005,还用于若在预设时间段内没有接收到所述触控物体对所述待显示应用的启动指令,结束所述待显示应用的进程,并释放所述待显示应用的资源。In some embodiments, after starting the process of the application to be displayed corresponding to the target touch position and loading the resources of the application to be displayed, the display module 1005 is further configured to: The start instruction of the application to be displayed by the touch object ends the process of the application to be displayed, and releases the resources of the application to be displayed.

本申请实施例提供一种终端,如图11所示,该终端11包括:An embodiment of the present application provides a terminal. As shown in FIG. 11 , the terminal 11 includes:

处理器1101、存储器1102和通信总线1103,存储器1102通过通信总线1103与处理器1101进行通信,存储器1102存储处理器1101可执行的一个或者多个程序,当一个或者多个程序被执行时,通过处理器1101执行如前述实施例的任意一种应用程序的显示方法。The processor 1101, the memory 1102 and the communication bus 1103. The memory 1102 communicates with the processor 1101 through the communication bus 1103. The memory 1102 stores one or more programs executable by the processor 1101. The processor 1101 executes any one of the application display methods in the foregoing embodiments.

可以理解,本实施例中的存储器可以是易失性存储器或非易失性存储器,也可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read OnlyMemory,ROM)、可编程只读存储器(Programmable Read-Only Memory,PROM)、可擦除可编程只读存储器(Erasable Programmable Read-Only Memory,EPROM)、电可擦除可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、磁性随机存取存储器(Ferromagnetic Random Access Memory,FRAM)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(Compact Disc Read-Only Memory,CD-ROM);磁表面存储器可以是磁盘存储器或磁带存储器。易失性存储器可以是随机存取存储器(Random AccessMemory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static Random Access Memory,SRAM)、同步静态随机存取存储器(Synchronous Static Random Access Memory,SSRAM)、动态随机存取存储器(DynamicRandom Access Memory,DRAM)、同步动态随机存取存储器(Synchronous Dynamic RandomAccess Memory,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data RateSynchronous Dynamic Random Access Memory,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced Synchronous Dynamic Random Access Memory,ESDRAM)、同步连接动态随机存取存储器(SyncLink Dynamic Random Access Memory,SLDRAM)、直接内存总线随机存取存储器(Direct Rambus Random Access Memory,DRRAM)。本申请实施例描述的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory in this embodiment may be a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memory. The non-volatile memory may be Read Only Memory (ROM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (Erasable Programmable Read-Only Memory, EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Magnetic Random Access Memory (FRAM), Flash Memory, Magnetic Surface Memory, Optical disc, or Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage can be a magnetic disk storage or a magnetic tape storage. Volatile memory may be Random Access Memory (RAM), which acts as an external cache. By way of example and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (SRAM), Memory (DynamicRandom Access Memory, DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (DDRSDRAM) Random Access Memory (Enhanced Synchronous Dynamic Random Access Memory, ESDRAM), Synchronous Link Dynamic Random Access Memory (SyncLink Dynamic Random Access Memory, SLDRAM), Direct Rambus Random Access Memory (Direct Rambus Random Access Memory, DRRAM). The memories described in the embodiments of the present application are intended to include, but not be limited to, these and any other suitable types of memories.

上述本申请实施例揭示的方法可以应用于处理器中,或者由处理器实现。处理器可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是通用处理器、DSP,或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。处理器可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成前述方法的步骤。The methods disclosed in the above embodiments of the present application may be applied to a processor, or implemented by a processor. A processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above-mentioned method can be completed by a hardware integrated logic circuit in a processor or an instruction in the form of software. The above-mentioned processors may be general-purpose processors, DSPs, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. The processor may implement or execute the methods, steps, and logical block diagrams disclosed in the embodiments of this application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, the storage medium is located in a memory, and the processor reads the information in the memory, and completes the steps of the foregoing method in combination with its hardware.

本申请实施例提供了一种计算机可读存储介质,存储计算机程序,当计算机程序被一个或多个处理器1101执行的时候,所述处理器1101执行本申请实施例的应用程序的显示方法。Embodiments of the present application provide a computer-readable storage medium storing a computer program. When the computer program is executed by one or more processors 1101, the processors 1101 execute the application program display method of the embodiments of the present application.

本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by those skilled in the art, the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the application may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media having computer-usable program code embodied therein, including but not limited to disk storage, optical storage, and the like.

本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.

以上所述,仅为本申请的较佳实施例而已,并非用于限定本申请的保护范围。The above descriptions are only preferred embodiments of the present application, and are not intended to limit the protection scope of the present application.

Claims (13)

1.一种应用程序的显示方法,其特征在于,包括:1. a display method of an application program, is characterized in that, comprises: 捕捉触控物体的移动信息;所述触控物体用于对终端的显示屏上的应用进行触控以实现对所述应用的操作;Capturing the movement information of the touch object; the touch object is used to touch the application on the display screen of the terminal to realize the operation of the application; 基于所述移动信息,获取触控物体的运动轨迹;Based on the movement information, obtain the motion trajectory of the touch object; 根据所述运动轨迹,确定所述触控物体在所述显示屏上的目标触控位置;determining the target touch position of the touch object on the display screen according to the motion track; 启动所述目标触控位置对应的待显示应用的进程,并加载所述待显示应用的资源;Start the process of the application to be displayed corresponding to the target touch position, and load the resources of the application to be displayed; 若接收到所述触控物体对所述待显示应用的启动指令,则响应所述启动指令,通过所述待显示应用的进程,调用所述待显示应用的资源,显示所述待显示应用。If an activation instruction of the application to be displayed by the touch object is received, in response to the activation instruction, the resource of the application to be displayed is invoked through the process of the application to be displayed, and the application to be displayed is displayed. 2.根据权利要求1所述的方法,其特征在于,所述移动信息包括:所述触控物体的视频帧序列;所述捕捉触控物体的移动信息,包括:2 . The method according to claim 1 , wherein the movement information comprises: a video frame sequence of the touch object; and the capturing movement information of the touch object comprises: 2 . 通过设置的摄像头进行视频录制,得到原始视频帧序列;所述摄像头相对于所述显示屏的位置相对固定;Perform video recording through the set camera to obtain the original video frame sequence; the position of the camera relative to the display screen is relatively fixed; 当从所述原始视频帧序列中的第i个视频帧中识别出所述触控物体时,将所述第i个视频帧至所述第i+M个视频帧作为所述触控物体的视频帧序列;所述i为大于等于1的整数;所述M为大于等于1的整数。When the touch object is identified from the i-th video frame in the original video frame sequence, the i-th video frame to the i+M-th video frame are used as the touch object's Video frame sequence; the i is an integer greater than or equal to 1; the M is an integer greater than or equal to 1. 3.根据权利要求2所述的方法,其特征在于,所述基于所述移动信息,获取触控物体的运动轨迹,包括:3 . The method according to claim 2 , wherein the acquiring the motion trajectory of the touch object based on the movement information comprises: 3 . 基于所述触控物体的视频帧序列,以所述显示屏的中心为原点,对所述触控物体进行三维模型重建,得到所述触控物体的运动轨迹。Based on the video frame sequence of the touch object, taking the center of the display screen as the origin, a three-dimensional model of the touch object is reconstructed to obtain a motion trajectory of the touch object. 4.根据权利要求3所述的方法,其特征在于,所述基于所述移动信息,获取触控物体的运动轨迹,包括:4 . The method according to claim 3 , wherein the acquiring the motion trajectory of the touch object based on the movement information comprises: 5 . 基于对所述视频帧序列中的每个视频帧的识别,确定每个视频帧中所述触控物体的图像信息;Determine the image information of the touch object in each video frame based on the identification of each video frame in the video frame sequence; 基于所述图像信息,确定所述触控物体与所述显示屏的相对位置;determining the relative position of the touch object and the display screen based on the image information; 当所述相对位置表征所述触控物体向所述显示屏移动时,基于所述视频帧序列,以所述显示屏的中心为原点,对所述触控物体进行三维模型重建,得到所述触控物体的运动轨迹。When the relative position indicates that the touch object moves toward the display screen, based on the video frame sequence, taking the center of the display screen as the origin, reconstruct the three-dimensional model of the touch object, and obtain the The movement track of the touch object. 5.根据权利要求2所述的方法,其特征在于,所述移动信息包括:传感信息;所述捕捉触控物体的移动信息,包括:5. The method according to claim 2, wherein the movement information comprises: sensing information; and the capturing movement information of the touch object comprises: 基于所述触控物体上设置的传感设备,获取所述触控物体与所述终端之间的传感信息;所述传感设备与所述终端通信。Based on the sensing device set on the touch object, the sensing information between the touch object and the terminal is acquired; the sensing device communicates with the terminal. 6.根据权利要求5所述的方法,其特征在于,所述基于所述移动信息,获取触控物体的运动轨迹,包括:6 . The method according to claim 5 , wherein the obtaining the motion trajectory of the touch object based on the movement information comprises: 6 . 基于所述传感信息,确定所述触控物体与所述终端的显示屏之间的距离序列;determining a sequence of distances between the touch object and the display screen of the terminal based on the sensing information; 基于所述距离序列,以所述显示屏的中心为原点,对所述触控物体进行三维模型重建,得到所述触控物体的运动轨迹。Based on the distance sequence, taking the center of the display screen as the origin, the three-dimensional model of the touch object is reconstructed, and the motion trajectory of the touch object is obtained. 7.根据权利要求1至6任一项所述的方法,其特征在于,所述根据所述运动轨迹,确定所述触控物体在所述显示屏上的目标触控位置,包括:7. The method according to any one of claims 1 to 6, wherein the determining a target touch position of the touch object on the display screen according to the motion trajectory comprises: 根据所述运动轨迹,预测出所述触控物体的虚拟运动轨迹;所述虚拟运动轨迹表示所述触控物体预测出来的运动路径;According to the motion trajectory, a virtual motion trajectory of the touch object is predicted; the virtual motion trajectory represents the motion path predicted by the touch object; 确定所述虚拟运动轨迹在所述显示屏上的触控位置,将所述触控位置作为所述目标触控位置。A touch position of the virtual motion track on the display screen is determined, and the touch position is used as the target touch position. 8.根据权利要求1至7任一项所述的方法,其特征在于,所述启动与所述目标触控位置对应的待显示应用的进程,并加载所述待显示应用的资源,包括:8. The method according to any one of claims 1 to 7, wherein the starting a process of the application to be displayed corresponding to the target touch position, and loading the resources of the application to be displayed, comprises: 当所述目标触控位置处存在应用图标时,启动与所述应用图标对应的待显示应用的进程,并加载所述待显示应用的资源。When an application icon exists at the target touch position, the process of the application to be displayed corresponding to the application icon is started, and the resources of the application to be displayed are loaded. 9.根据权利要求1至7任一项所述的方法,其特征在于,所述启动与所述目标触控位置对应的待显示应用的进程,并加载所述待显示应用的资源,包括:9 . The method according to claim 1 , wherein the starting a process of the application to be displayed corresponding to the target touch position and loading the resources of the application to be displayed comprises: 10 . 根据所述目标触控位置,确定显示屏上对应的目标区域;Determine the corresponding target area on the display screen according to the target touch position; 将所述目标区域内的应用确定为所述待显示应用;determining the application in the target area as the application to be displayed; 启动所述待显示应用的进程,并加载所述待显示应用的资源。The process of the application to be displayed is started, and the resources of the application to be displayed are loaded. 10.根据权利要求1所述的方法,其特征在于,所述在启动所述目标触控位置对应的待显示应用的进程,并加载所述待显示应用的资源之后,所述方法还包括:10 . The method according to claim 1 , wherein after starting the process of the application to be displayed corresponding to the target touch position and loading the resources of the application to be displayed, the method further comprises: 10 . 若在预设时间段内未接收到所述触控物体对所述待显示应用的启动指令,则结束所述待显示应用的进程,并释放所述待显示应用的资源。If the start instruction of the application to be displayed by the touch object is not received within a preset time period, the process of the application to be displayed is terminated, and the resources of the application to be displayed are released. 11.一种终端,其特征在于,包括:11. A terminal, characterized in that, comprising: 捕捉模块,用于捕捉触控物体的移动信息;所述触控物体用于对所述终端的显示屏上的应用进行触控以实现对所述应用的操作;a capture module for capturing movement information of a touch object; the touch object is used to touch an application on the display screen of the terminal to operate the application; 获取模块,用于基于所述移动信息,获取触控物体的运动轨迹;an acquisition module, configured to acquire the motion trajectory of the touch object based on the movement information; 确定模块,用于根据所述运动轨迹,确定所述触控物体在所述显示屏上的目标触控位置;a determining module, configured to determine the target touch position of the touch object on the display screen according to the motion trajectory; 启动模块,用于启动所述目标触控位置对应的待显示应用的进程,并加载所述待显示应用的资源;a startup module, configured to start the process of the application to be displayed corresponding to the target touch position, and load the resources of the application to be displayed; 显示模块,用于若接收到所述触控物体对所述待显示应用的启动指令,则响应所述启动指令,通过所述待显示应用的进程,调用所述待显示应用的资源,显示所述待显示应用。A display module, configured to respond to the start-up instruction, call the resource of the application to be displayed through the process of the application to be displayed, and display the Describe the application to be displayed. 12.一种终端,其特征在于,所述终端包括:处理器和用于存储能够在处理器上运行的计算机程序的存储器,12. A terminal, characterized in that the terminal comprises: a processor and a memory for storing a computer program that can be run on the processor, 其中,所述处理器用于运行所述计算机程序时,执行权利要求1至10任一项所述方法的步骤。Wherein, the processor is configured to execute the steps of the method of any one of claims 1 to 10 when running the computer program. 13.一种计算机可读存储介质,其特征在于,存储有计算机程序,当所述计算机程序被一个或多个处理器执行的时候,所述处理器执行所述的权利要求1至10任一项所述方法的步骤。13. A computer-readable storage medium, wherein a computer program is stored, and when the computer program is executed by one or more processors, the processor executes any one of the claims 1 to 10 the steps of the method described in item.
CN202010468763.4A 2020-05-28 2020-05-28 Application program display method, terminal and computer readable storage medium Pending CN111625297A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010468763.4A CN111625297A (en) 2020-05-28 2020-05-28 Application program display method, terminal and computer readable storage medium
PCT/CN2021/095523 WO2021238866A1 (en) 2020-05-28 2021-05-24 Application display method, terminal, and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010468763.4A CN111625297A (en) 2020-05-28 2020-05-28 Application program display method, terminal and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN111625297A true CN111625297A (en) 2020-09-04

Family

ID=72269951

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010468763.4A Pending CN111625297A (en) 2020-05-28 2020-05-28 Application program display method, terminal and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN111625297A (en)
WO (1) WO2021238866A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021238866A1 (en) * 2020-05-28 2021-12-02 Oppo广东移动通信有限公司 Application display method, terminal, and computer readable storage medium
CN115934183A (en) * 2022-11-15 2023-04-07 芜湖雄狮汽车科技有限公司 Method, device and equipment for optimizing cold start speed of android application
CN118567532A (en) * 2024-05-30 2024-08-30 岚图汽车科技有限公司 Automobile central control screen off control method, device, equipment and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114666538A (en) * 2022-03-03 2022-06-24 深圳慧云智联科技有限公司 Intelligent community monitoring method and system

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100005418A1 (en) * 2008-07-04 2010-01-07 Reiko Miyazaki Information display device, information display method, and program
CN101833791A (en) * 2010-05-11 2010-09-15 成都索贝数码科技股份有限公司 A method and system for scene modeling under a single camera
US20120131516A1 (en) * 2010-11-24 2012-05-24 Fuji Xerox Co., Ltd. Method, system and computer readable medium for document visualization with interactive folding gesture technique on a multi-touch display
CN103150020A (en) * 2013-03-14 2013-06-12 上海电机学院 Three-dimensional finger control operation method and system
CN104267812A (en) * 2014-09-22 2015-01-07 联想(北京)有限公司 Information processing method and electronic device
CN104750351A (en) * 2013-12-30 2015-07-01 比亚迪股份有限公司 Mobile terminal and desktop homing method and device thereof
CN106484104A (en) * 2016-09-19 2017-03-08 深圳市金立通信设备有限公司 A kind of operation method of application program and terminal
CN106648381A (en) * 2017-01-25 2017-05-10 上海逗屋网络科技有限公司 Method and device for cancelling pending-to-be executed operation
US20170164171A1 (en) * 2015-12-04 2017-06-08 Lenovo (Singapore) Pte. Ltd. Presentation of information based on whether user is in physical contact with device
CN108447043A (en) * 2018-03-30 2018-08-24 腾讯科技(深圳)有限公司 A kind of image combining method, equipment and computer-readable medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170277379A1 (en) * 2016-03-25 2017-09-28 Le Holdings (Beijing) Co., Ltd. Method and terminal for processing desktop icon
CN106020478B (en) * 2016-05-20 2019-09-13 青岛海信电器股份有限公司 A kind of intelligent terminal control method, device and intelligent terminal
CN108594995A (en) * 2018-04-13 2018-09-28 广东小天才科技有限公司 Electronic equipment operation method based on gesture recognition and electronic equipment
CN108647055B (en) * 2018-05-10 2021-05-04 Oppo广东移动通信有限公司 Application program preloading method and device, storage medium and terminal
CN111625297A (en) * 2020-05-28 2020-09-04 Oppo广东移动通信有限公司 Application program display method, terminal and computer readable storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100005418A1 (en) * 2008-07-04 2010-01-07 Reiko Miyazaki Information display device, information display method, and program
CN101833791A (en) * 2010-05-11 2010-09-15 成都索贝数码科技股份有限公司 A method and system for scene modeling under a single camera
US20120131516A1 (en) * 2010-11-24 2012-05-24 Fuji Xerox Co., Ltd. Method, system and computer readable medium for document visualization with interactive folding gesture technique on a multi-touch display
CN103150020A (en) * 2013-03-14 2013-06-12 上海电机学院 Three-dimensional finger control operation method and system
CN104750351A (en) * 2013-12-30 2015-07-01 比亚迪股份有限公司 Mobile terminal and desktop homing method and device thereof
CN104267812A (en) * 2014-09-22 2015-01-07 联想(北京)有限公司 Information processing method and electronic device
US20170164171A1 (en) * 2015-12-04 2017-06-08 Lenovo (Singapore) Pte. Ltd. Presentation of information based on whether user is in physical contact with device
CN106484104A (en) * 2016-09-19 2017-03-08 深圳市金立通信设备有限公司 A kind of operation method of application program and terminal
CN106648381A (en) * 2017-01-25 2017-05-10 上海逗屋网络科技有限公司 Method and device for cancelling pending-to-be executed operation
CN108447043A (en) * 2018-03-30 2018-08-24 腾讯科技(深圳)有限公司 A kind of image combining method, equipment and computer-readable medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021238866A1 (en) * 2020-05-28 2021-12-02 Oppo广东移动通信有限公司 Application display method, terminal, and computer readable storage medium
CN115934183A (en) * 2022-11-15 2023-04-07 芜湖雄狮汽车科技有限公司 Method, device and equipment for optimizing cold start speed of android application
CN118567532A (en) * 2024-05-30 2024-08-30 岚图汽车科技有限公司 Automobile central control screen off control method, device, equipment and storage medium

Also Published As

Publication number Publication date
WO2021238866A1 (en) 2021-12-02

Similar Documents

Publication Publication Date Title
WO2021238866A1 (en) Application display method, terminal, and computer readable storage medium
EP3491493B1 (en) Gesture based control of autonomous vehicles
US10775997B2 (en) Presentation of a control interface on a touch-enabled device based on a motion or absence thereof
KR102230630B1 (en) Rapid gesture re-engagement
JP6072237B2 (en) Fingertip location for gesture input
KR20200111617A (en) Gesture recognition method, device, electronic device, and storage medium
US20160378193A1 (en) Wearable Device with Gesture Recognition Mechanism
US9886190B2 (en) Gesture discernment and processing system
US11899848B2 (en) Method, mobile device, head-mounted display, and system for estimating hand pose
US20160048215A1 (en) Method and apparatus for processing user input
US10318128B2 (en) Image manipulation based on touch gestures
US20250130651A1 (en) System for Improving User Input Recognition on Touch Surfaces
US20150186026A1 (en) Displaced double tap gesture
CN115390740A (en) Device control method, device, storage medium and electronic device
CN106547339B (en) Control method and device of computer equipment
WO2023026567A1 (en) Information processing device, information processing method, and computer program
KR20140103043A (en) Electronic device, method and computer readable recording medium for operating the electronic device
Shan Gesture control for consumer electronics
CN119065574A (en) Indirect Motion Mapping Pipeline and Pinch Center of Mass
US12189888B1 (en) Speed adapted touch detection
US11340706B2 (en) Gesture recognition based on depth information and computer vision
US11199906B1 (en) Global user input management
Rahman et al. Continuous motion numeral recognition using RNN architecture in air-writing environment
CN113434076B (en) Single-hand control method and device and mobile terminal
CN116402844A (en) Pedestrian tracking method and device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200904

RJ01 Rejection of invention patent application after publication