Movatterモバイル変換


[0]ホーム

URL:


CN110297561B - Control method and terminal - Google Patents

Control method and terminal
Download PDF

Info

Publication number
CN110297561B
CN110297561BCN201910555877.XACN201910555877ACN110297561BCN 110297561 BCN110297561 BCN 110297561BCN 201910555877 ACN201910555877 ACN 201910555877ACN 110297561 BCN110297561 BCN 110297561B
Authority
CN
China
Prior art keywords
opening area
function
camera
terminal
application icon
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.)
Active
Application number
CN201910555877.XA
Other languages
Chinese (zh)
Other versions
CN110297561A (en
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co 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 Vivo Mobile Communication Co LtdfiledCriticalVivo Mobile Communication Co Ltd
Priority to CN201910555877.XApriorityCriticalpatent/CN110297561B/en
Publication of CN110297561ApublicationCriticalpatent/CN110297561A/en
Application grantedgrantedCritical
Publication of CN110297561BpublicationCriticalpatent/CN110297561B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本发明公开了一种控制方法及终端。该控制方法应用于终端,所述终端的屏幕包括第一开孔区域和第二开孔区域,所述方法包括:接收针对所述第一开孔区域和所述第二开孔区域中目标开孔区域的操作;在所述目标开孔区域为所述第一开孔区域的情况下,执行第一功能;在所述目标开孔区域为所述第二开孔区域的情况下,执行第二功能;其中,所述第一功能与所述第二功能互斥。

The invention discloses a control method and terminal. The control method is applied to a terminal, the screen of the terminal includes a first opening area and a second opening area, and the method includes: receiving a target opening in the first opening area and the second opening area. The operation of the hole area; when the target hole area is the first hole area, execute the first function; when the target hole area is the second hole area, execute the third function Two functions; wherein the first function and the second function are mutually exclusive.

Description

Translated fromChinese
控制方法及终端Control method and terminal

技术领域Technical field

本发明实施例涉及触摸屏控制技术领域,尤其涉及控制方法及终端。Embodiments of the present invention relate to the technical field of touch screen control, and in particular, to a control method and terminal.

背景技术Background technique

随着智能手机的快速发展,人们可以通过手机触摸屏操作手机。目前,通过触摸屏的操作主要是将在电脑上的操作复制到手机上,例如,输入字符操作、拖动操作。在现有技术中,没有从手机触摸屏的特点出发,设计更适合触摸屏的操作方式。With the rapid development of smart phones, people can operate their phones through the touch screen of their phones. At present, the operation through the touch screen mainly involves copying the operations on the computer to the mobile phone, such as character input operations and dragging operations. In the existing technology, there is no design of an operation method that is more suitable for the touch screen based on the characteristics of the touch screen of the mobile phone.

此外,相对于电脑,手机触摸屏的空间较小。在用户操作触摸屏时经常会出现误操作的情况。这会严重降低用户的使用体验。In addition, compared to computers, the touch screen space of mobile phones is smaller. Misoperations often occur when users operate touch screens. This will seriously reduce the user experience.

目前,在手机的触摸屏上可以嵌入至少两个摄像头。此外,还出现了刘海屏,其中,在手机屏幕的上方设置“刘海”,可以将摄像头设置在“刘海”中。Currently, at least two cameras can be embedded on the touch screen of a mobile phone. In addition, notch screens have also appeared, in which "notches" are set above the mobile phone screen, and the camera can be set in the "notches".

在现有技术中,在触摸屏上的手势操作是基于滑动方向的。当用户手势的滑动方向发生偏差时,可能产生用户不希望的操作结果。例如,在横向方向表示音量调整并且纵向方向表示亮度调整的情况下,当用户横向滑动手指以调整音量时,由于滑动方向的偏差,终端可能检测到纵向方向的手势操作,从而产生用户不希望的结果。这会给用户带来不良的使用体验。In the prior art, gesture operations on the touch screen are based on the sliding direction. When the sliding direction of the user's gesture deviates, undesirable operation results may occur. For example, in the case where the horizontal direction represents volume adjustment and the vertical direction represents brightness adjustment, when the user slides his finger horizontally to adjust the volume, due to the deviation in the sliding direction, the terminal may detect the gesture operation in the vertical direction, resulting in unintended effects by the user. result. This will bring a bad user experience to the user.

发明内容Contents of the invention

本发明实施例提供一种控制方法及终端,以使得用户的操作更便捷,从而提供一种新的交互方式。Embodiments of the present invention provide a control method and a terminal to make user operations more convenient, thereby providing a new interaction method.

为了解决上述技术问题,本发明是如下这样实现的。In order to solve the above technical problems, the present invention is implemented as follows.

第一方面,本发明实施例提供了一种控制方法,应用于终端,其特征在于,所述终端的屏幕包括第一开孔区域和第二开孔区域,所述方法包括:接收针对所述第一开孔区域和所述第二开孔区域中目标开孔区域的操作;在所述目标开孔区域为所述第一开孔区域的情况下,执行第一功能;在所述目标开孔区域为所述第二开孔区域的情况下,执行第二功能;其中,所述第一功能与所述第二功能互斥。In a first aspect, an embodiment of the present invention provides a control method applied to a terminal, wherein the screen of the terminal includes a first opening area and a second opening area, and the method includes: receiving a response to the The operation of the target opening area in the first opening area and the second opening area; when the target opening area is the first opening area, the first function is performed; when the target opening area When the hole area is the second opening area, the second function is performed; wherein the first function and the second function are mutually exclusive.

第二方面,本发明实施例还提供了一种终端,其特征在于,所述终端的屏幕包括第一开孔区域和第二开孔区域,所述终端还包括:接收模块,用于接收针对所述第一开孔区域和所述第二开孔区域中目标开孔区域的操作;第一功能模块,用于在所述目标开孔区域为所述第一开孔区域的情况下,执行第一功能;第二功能模块,用于在所述目标开孔区域为所述第二开孔区域的情况下,执行第二功能;其中,所述第一功能与所述第二功能互斥。In a second aspect, an embodiment of the present invention further provides a terminal, wherein the screen of the terminal includes a first opening area and a second opening area, and the terminal further includes: a receiving module for receiving The operation of the target opening area in the first opening area and the second opening area; a first functional module for executing when the target opening area is the first opening area. A first function; a second function module, configured to perform a second function when the target opening area is the second opening area; wherein the first function and the second function are mutually exclusive .

第三方面,本发明实施例还提供了一种终端,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现根据本发明实施例的控制方法的步骤。In a third aspect, embodiments of the present invention also provide a terminal, including a processor, a memory, and a computer program stored on the memory and executable on the processor. The computer program is executed by the processor. When implementing the steps of the control method according to the embodiment of the present invention.

第四方面,本发明实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现根据本发明实施例的触摸屏处理方法的步骤。In a fourth aspect, embodiments of the present invention also provide a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, the touch screen processing method according to the embodiment of the present invention is implemented. A step of.

在本发明实施例中,通过触摸屏操作与实际的物理实体位置相关联,可以给用户的操作提供明确的指示,从而用户的操作更加便捷使得。In the embodiment of the present invention, by associating the touch screen operation with the actual physical entity position, clear instructions can be provided for the user's operation, thereby making the user's operation more convenient.

通过以下参照附图对本发明的示例性实施例的详细描述,本发明的其它特征及其优点将会变得清楚。Other features of the invention and its advantages will become apparent from the following detailed description of exemplary embodiments of the invention with reference to the accompanying drawings.

附图说明Description of the drawings

被结合在说明书中并构成说明书的一部分的附图示出了本发明的实施例,并且连同其说明一起用于解释本发明的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description, serve to explain the principles of the invention.

图1示出了根据本发明的一个实施例的控制方法的流程图。Figure 1 shows a flow chart of a control method according to an embodiment of the present invention.

图2示出了根据本发明实施例的触摸屏的一个例子。FIG. 2 shows an example of a touch screen according to an embodiment of the present invention.

图3示出了根据本发明实施例的触摸屏的另一个例子。Figure 3 shows another example of a touch screen according to an embodiment of the present invention.

图4示出了根据本发明的触摸屏操作的一个实施例。Figure 4 illustrates one embodiment of touch screen operation according to the present invention.

图5示出了根据本发明一个实施例的触摸屏操作的流程。FIG. 5 shows the flow of touch screen operation according to one embodiment of the present invention.

图6示出了根据本发明的触摸屏操作的另一个实施例。Figure 6 shows another embodiment of touch screen operation according to the present invention.

图7示出了根据本发明的触摸屏操作的另一个实施例。Figure 7 shows another embodiment of touch screen operation according to the present invention.

图8示出了根据本发明的一个实施例的终端的示意性框图。Figure 8 shows a schematic block diagram of a terminal according to an embodiment of the present invention.

图9示出了实现本发明各个实施例的一种终端的硬件结构示意图。Figure 9 shows a schematic diagram of the hardware structure of a terminal that implements various embodiments of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without making creative efforts fall within the scope of protection of the present invention.

应注意到:除非另外具体说明,否则在这些实施例中阐述的部件和步骤的相对布置、数字表达式和数值不限制本发明的范围。It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values set forth in these examples do not limit the scope of the invention unless otherwise specifically stated.

以下对至少一个示例性实施例的描述实际上仅仅是说明性的,决不作为对本发明及其应用或使用的任何限制。The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application or uses.

对于相关领域普通技术人员已知的技术、方法和设备可能不作详细讨论,但在适当情况下,所述技术、方法和设备应当被视为说明书的一部分。Techniques, methods and devices known to those of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, such techniques, methods and devices should be considered a part of the specification.

在这里示出和讨论的所有例子中,任何具体值应被解释为仅仅是示例性的,而不是作为限制。因此,示例性实施例的其它例子可以具有不同的值。In all examples shown and discussed herein, any specific values are to be construed as illustrative only and not as limiting. Accordingly, other examples of the exemplary embodiments may have different values.

应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步讨论。It should be noted that similar reference numerals and letters refer to similar items in the following figures, so that once an item is defined in one figure, it does not need further discussion in subsequent figures.

图1示出了根据本发明的一个实施例的控制方法的流程图。该控制方法应用于终端。所述终端的屏幕包括第一开孔区域和第二开孔区域。Figure 1 shows a flow chart of a control method according to an embodiment of the present invention. This control method applies to terminals. The screen of the terminal includes a first opening area and a second opening area.

如图1所示,在步骤S1100,接收针对所述第一开孔区域和所述第二开孔区域中目标开孔区域的操作。As shown in FIG. 1 , in step S1100 , an operation for a target opening area in the first opening area and the second opening area is received.

在步骤S1200,在所述目标开孔区域为所述第一开孔区域的情况下,执行第一功能。In step S1200, when the target opening area is the first opening area, a first function is executed.

在步骤S1300,在所述目标开孔区域为所述第二开孔区域的情况下,执行第二功能。In step S1300, when the target opening area is the second opening area, a second function is executed.

在这里,所述第一功能与所述第二功能互斥。Here, the first function and the second function are mutually exclusive.

在现有技术中,当用户在手机的触摸屏上操作时,触摸操作没有与手机屏幕上的物理实体相关联,因此,在很多情况下,用户不确定触摸操作的起始点,因此,经常导致误操作的情况发生。在这个实施例中,通过将触摸屏上的物理实体与触摸操作所要实现的功能相关联,可以为用户的触摸操作提供一个明确的“锚点”,从而减小用户误操作的可能性。In the existing technology, when a user operates on a touch screen of a mobile phone, the touch operation is not associated with a physical entity on the mobile phone screen. Therefore, in many cases, the user is not sure of the starting point of the touch operation, which often leads to errors. An operational situation occurs. In this embodiment, by associating the physical entity on the touch screen with the function to be implemented by the touch operation, a clear "anchor point" can be provided for the user's touch operation, thereby reducing the possibility of user misoperation.

此外,在这个实施例中,将两个互斥的功能与物理实体相关联。这提供了一种新的触摸屏交互方式,并且可以提升用户的使用体验。Furthermore, in this embodiment, two mutually exclusive functions are associated with the physical entity. This provides a new way to interact with touch screens and improves the user experience.

图2和3分别示出了触摸屏上的两种物理实体的例子。Figures 2 and 3 show examples of two physical entities on the touch screen respectively.

图2所示的触摸屏是全面屏2001。在全面屏2001上设置第一摄像头2002和第二摄像头2003。所述第一物理实体位置和第二物理实体位置分别是所述触摸屏2001中的第一摄像头2002和第二摄像头2003的位置。在触摸屏2001上设置有多个应用的图标2004。The touch screen shown in Figure 2 is a full screen 2001. A first camera 2002 and a second camera 2003 are provided on the full screen 2001. The first physical entity position and the second physical entity position are the positions of the first camera 2002 and the second camera 2003 in the touch screen 2001 respectively. Icons 2004 for a plurality of applications are provided on the touch screen 2001.

图3所示的触摸屏是刘海屏3001。所述第一物理实体位置和第二物理实体位置分别是刘海屏3001的刘海的左右顶部的位置3002、3003。在触摸屏3001上设置有多个应用的图标3004。The touch screen shown in Figure 3 is Notch 3001. The first physical entity position and the second physical entity position are respectively the positions 3002 and 3003 of the left and right tops of the bangs of the notch screen 3001. Icons 3004 for a plurality of applications are provided on the touch screen 3001.

下面,以包括至少两个摄像头的触摸屏为例,参照图4-7说明本发明的实施例。Below, taking a touch screen including at least two cameras as an example, embodiments of the present invention will be described with reference to Figures 4-7.

图4示出了根据本发明的触摸屏操作的一个实施例。图5示出了触摸屏操作的示例性流程。Figure 4 illustrates one embodiment of touch screen operation according to the present invention. Figure 5 shows an exemplary flow of touch screen operations.

在这个实施例中,第一功能是对触摸屏上的内容进行加密的加密功能,第二功能是对触摸屏上的内容进行解密的解密功能。当检测到与触摸屏上的内容对应的图标被拖曳到第一物理实体位置时或者或者当检测到同时点击所述图标和第一物理实体位置时,将对所述内容进行加密。当检测到与触摸屏上的内容对应的图标被拖曳到第二物理实体位置时或者当检测到同时点击所述图标和第二物理实体位置时,将对所述内容进行解密。In this embodiment, the first function is an encryption function that encrypts the content on the touch screen, and the second function is a decryption function that decrypts the content on the touch screen. When an icon corresponding to content on the touch screen is detected to be dragged to a first physical entity location or when a simultaneous click on the icon and the first physical entity location is detected, the content will be encrypted. When an icon corresponding to content on the touch screen is detected to be dragged to a second physical entity location or when a simultaneous click on the icon and the second physical entity location is detected, the content will be decrypted.

例如,触摸屏4001可以是双钻孔屏。所述双钻孔屏中的钻孔可以是盲孔,也可以是通孔。在所述钻孔中设置摄像头。在孔的区域内,能响应触摸屏的操作。可以预先将图4中的两个孔分别与加密功能和解密功能相关联。For example, touch screen 4001 may be a dual drilled screen. The drilling holes in the double drilling screen may be blind holes or through holes. Set up a camera in the drill hole. Within the hole area, it can respond to touch screen operations. The two holes in Figure 4 can be associated with the encryption function and the decryption function respectively in advance.

在这里可以通过拖曳和同时点击的方式实现所述第一、第二功能。在图4中以拖曳操作为例,说明本发明的实施例。如图4所示,在触摸屏4001上,当将应用A 4004沿箭头拖曳到第一摄像头4002时,可以对应用A的内容进行加密。当将应用B 4005沿箭头拖曳到第一摄像头4003时,可以对应用B的内容进行解密。Here, the first and second functions can be realized by dragging and clicking simultaneously. In FIG. 4 , the drag operation is taken as an example to illustrate the embodiment of the present invention. As shown in Figure 4, on the touch screen 4001, when application A 4004 is dragged along the arrow to the first camera 4002, the content of application A can be encrypted. When application B 4005 is dragged along the arrow to the first camera 4003, the content of application B can be decrypted.

在拖拽完成后,在触摸屏4001上弹出需要用户输入密码、指纹、或人脸的提示。在根据提示输入正确的内容后,开始执行加密或解密操作。这可以保证用户数据的安全。After the dragging is completed, a prompt requiring the user to enter a password, fingerprint, or face pops up on the touch screen 4001. After entering the correct content according to the prompts, start the encryption or decryption operation. This keeps user data safe.

当用户在电脑上操作时,电脑可以并行运行并显示多个应用、文档、图片等。当执行加密/解密时,用户可以将电脑桌面上的内容拖动到相应加密/解密软件,从而执行相应的操作。然而,与电脑上的操作不同,当用户打开应用时,在手机的屏幕上仅显示当前的应用。这样,用户很难直接通过拖曳的方式执行加密/解密操作。用户往往需要在加密软件中通过文件列表来查找要加密/解密的文件。或者,用户需要先打开要加密/解密的文件,在该文件的菜单中选择加密/解密。这些操作较为复杂,降低了用户的使用体验。When the user operates on the computer, the computer can run and display multiple applications, documents, pictures, etc. in parallel. When performing encryption/decryption, the user can drag the content on the computer desktop to the corresponding encryption/decryption software to perform the corresponding operation. However, unlike the operation on the computer, when the user opens the application, only the current application is displayed on the phone's screen. In this way, it is difficult for users to perform encryption/decryption operations directly by dragging. Users often need to find the files to be encrypted/decrypted through the file list in the encryption software. Alternatively, the user needs to first open the file to be encrypted/decrypted and select encryption/decryption in the menu of the file. These operations are relatively complex and reduce the user experience.

在本发明的实施例中,通过设置额外的物理实体位置,作为一个明显且明确的中间媒介,使得加密/解密操作更加简单、方便。In the embodiment of the present invention, by setting an additional physical entity location as an obvious and clear intermediary, the encryption/decryption operation is made simpler and more convenient.

图5示出了上述加密/解密的操作流程。Figure 5 shows the above encryption/decryption operation flow.

在步骤401,检测到用户在触摸屏4001上长按应用A或B并进行拖拽操作。In step 401, it is detected that the user long presses application A or B on the touch screen 4001 and performs a drag operation.

在步骤402,判断拖曳操作的终点是否为第一摄像头4002或第二摄像头4003的位置。例如,可以使用触摸屏上的坐标来判断。如果是,则执行步骤403,否则执行步骤404。In step 402, it is determined whether the end point of the drag operation is the position of the first camera 4002 or the second camera 4003. For example, you can use the coordinates on the touch screen to determine. If yes, execute step 403, otherwise execute step 404.

在步骤403,移动应用A或B到该位置并结束操作。In step 403, move application A or B to the location and end the operation.

预先定义:第一摄像头4002的位置为加密功能,第二摄像头4003的位置为解密功能。在步骤404,判断移动的终点是否为第一摄像头4002的位置。如果是,则执行步骤405,否则执行步骤409。Predefined: the position of the first camera 4002 is the encryption function, and the position of the second camera 4003 is the decryption function. In step 404, it is determined whether the end point of the movement is the position of the first camera 4002. If yes, execute step 405, otherwise execute step 409.

在步骤405,开始执行加密功能。在步骤406,判断该应用A或B是否已加密。如果是,则执行步骤407;否则,执行步骤408。In step 405, execution of the encryption function begins. In step 406, it is determined whether the application A or B has been encrypted. If yes, perform step 407; otherwise, perform step 408.

在步骤407,提示用户,该应用A或B已加密,不需要再次加密,并结束操作。In step 407, the user is prompted that application A or B has been encrypted and does not need to be encrypted again, and the operation ends.

在步骤408,提示用户输入正确的密码、指纹或验证正确的人脸。然后,对应用A或B执行加密操作。In step 408, the user is prompted to enter a correct password, fingerprint, or verify a correct face. Then, perform encryption operations on application A or B.

在步骤409,开始执行解密功能。在步骤410,判断该应用A或B是否已解密。如果是,则执行步骤411;否则,执行步骤412。In step 409, execution of the decryption function begins. In step 410, it is determined whether the application A or B has been decrypted. If yes, perform step 411; otherwise, perform step 412.

在步骤411,提示用户,该应用A或B已解密,不需要再次解密,并结束操作。In step 411, the user is prompted that application A or B has been decrypted and does not need to be decrypted again, and the operation ends.

在步骤412,提示用户输入正确的密码、指纹或验证正确的人脸。然后,对应用A或B执行解密操作。In step 412, the user is prompted to enter the correct password, fingerprint, or verify the correct face. Then, perform the decryption operation on application A or B.

图6示出了根据本发明的触摸屏操作的另一个实施例。在这个实施例中,第一功能是用于将屏幕上的图标拖曳到终端的上一屏幕显示界面的第一拖曳功能,第二功能是用于将屏幕上的图标拖曳到终端的下一屏幕显示界面的第一拖曳功能。当检测到图标被拖曳到第一物理实体位置时,自动将图标移动到终端的上一屏幕显示界面。当检测到图标被拖曳到第二物理实体位置时,自动将图标移动到终端的下一屏幕显示界面。具体来说,可以接收将显示于第N页桌面页面的第一应用程序图标拖动至所述第一开孔区域的操作,然后,将所述第一应用程序图标显示于第N-1页桌面页面。可选地,还可以接收将显示于第N页桌面页面的第二应用程序图标拖动至所述第二开孔区域的操作,然后,将所述第二应用程序图标显示于第N+1页桌面页面。Figure 6 shows another embodiment of touch screen operation according to the present invention. In this embodiment, the first function is a first drag function for dragging an icon on the screen to a previous screen display interface of the terminal, and the second function is a first drag function for dragging an icon on the screen to a next screen of the terminal. Display the first drag function of the interface. When it is detected that the icon is dragged to the first physical entity position, the icon is automatically moved to the previous screen display interface of the terminal. When it is detected that the icon is dragged to the second physical entity position, the icon is automatically moved to the next screen display interface of the terminal. Specifically, an operation of dragging the first application icon displayed on the Nth desktop page to the first opening area can be received, and then the first application icon is displayed on the N-1th page. Desktop page. Optionally, you may also receive an operation of dragging the second application icon displayed on the Nth desktop page to the second opening area, and then display the second application icon on the N+1th desktop page. page desktop page.

图6示出了具有两个摄像头的双钻孔触摸屏。在图6中,左侧的屏幕5001p表示终端的上一屏幕显示界面;中间的屏幕5001表示当前屏幕;右侧的屏幕5001b表示终端的下一屏幕显示界面。在每个屏幕的上方设置有第一摄像头4002或第二摄像头4003。在触摸屏5001、5001p和5001b中设置有多个应用的图标。Figure 6 shows a dual-drilled touchscreen with two cameras. In Figure 6, the screen 5001p on the left represents the previous screen display interface of the terminal; the screen 5001 in the middle represents the current screen; and the screen 5001b on the right represents the next screen display interface of the terminal. A first camera 4002 or a second camera 4003 is provided above each screen. Icons for a plurality of applications are provided on the touch panels 5001, 5001p, and 5001b.

在图6中,实线箭头表示拖动应用的实际操作路径,虚线箭头表示应用自动移动的路径。In Figure 6, the solid arrow represents the actual operation path of the dragging application, and the dotted arrow represents the path of the automatic movement of the application.

在将应用移动到终端的上一屏幕显示界面的操作中,将应用A拖拽到第一摄像头4002的位置,则应用A将自动移到终端的上一屏幕显示界面5001p的所示空白位置。如果没有终端的上一屏幕显示界面5001p,则移动操作失败并提示用户。如果在屏幕5001p中没有空白位置,则提示是否可以与终端的上一屏幕显示界面5001p中的应用合并到一个文件夹中。In the operation of moving the application to the previous screen display interface of the terminal, drag application A to the position of the first camera 4002, and application A will automatically move to the blank position shown in the previous screen display interface 5001p of the terminal. If there is no previous screen display interface 5001p of the terminal, the move operation fails and the user is prompted. If there is no blank space in the screen 5001p, it is prompted whether the application can be merged into a folder with the application in the previous screen display interface 5001p of the terminal.

在将应用移动到终端的下一屏幕显示界面的操作中,将应用B拖拽到第二摄像头4003的位置,则应用B将自动移到终端的下一屏幕显示界面5001b的所示空白位置。如果没有终端的下一屏幕显示界面5001b,则移动操作失败并提示用户。如果在屏幕5001b中没有空白位置,则提示是否可以与终端的下一屏幕显示界面5001b中的应用合并到一个文件夹中。In the operation of moving the application to the next screen display interface of the terminal, drag application B to the position of the second camera 4003, and application B will automatically move to the blank position shown in the next screen display interface 5001b of the terminal. If there is no next screen display interface 5001b of the terminal, the mobile operation fails and the user is prompted. If there is no blank space in the screen 5001b, it is prompted whether the application can be merged into a folder with the application in the next screen display interface 5001b of the terminal.

通过这个实施例可以以简单、方便的方式实现应用在不同屏之间的移动操作。此外,由于利用了触摸屏上的实际物理实体的位置,因此,可以在一定程度上减小误操作的可能性。Through this embodiment, the mobile operation of applications between different screens can be implemented in a simple and convenient manner. In addition, since the position of the actual physical entity on the touch screen is utilized, the possibility of misoperation can be reduced to a certain extent.

图7示出了根据本发明的触摸屏操作的另一个实施例。Figure 7 shows another embodiment of touch screen operation according to the present invention.

在这个实施例中,第一功能是用于增加音量的音量增加功能,第二功能是用于减小音量的音量减小功能。检测从第一物理实体位置开始的拖曳操作或者对第一物理实体位置的点击,以增加音量;以及检测从第二物理实体位置开始的拖曳操作或者对第二物理实体位置的点击,以减小音量。例如,增加或减小音量的程度与所述拖曳操作的移动距离成比例。In this embodiment, the first function is a volume up function for increasing the volume, and the second function is a volume down function for decreasing the volume. detecting a drag operation starting from a first physical entity position or a click on the first physical entity position to increase the volume; and detecting a drag operation starting from a second physical entity position or a click on the second physical entity position to decrease the volume volume. For example, the degree to which the volume is increased or decreased is proportional to the distance traveled by the drag operation.

这种调节音量的方式操作简单。此外,不需要对终端进行额外的硬件配置。另外,通过这种方式可以省略终端的实体音量按键,这可以减少成本,而且还可以使得终端更加美观。This method of adjusting the volume is simple to operate. Furthermore, no additional hardware configuration of the terminal is required. In addition, in this way, the physical volume buttons of the terminal can be omitted, which can reduce costs and make the terminal more beautiful.

在现有技术中,如果用户通过在触摸屏上滑动来调整音量时,软件应用通常将纵向滑动定义为音量调节,横向滑动定义为进度调节。在很多情况下,用户很难保证滑动是纵向或横向的。因此,经常出现误操作,例如,用户希望调节音量,但是,却调节了进度;或者反之。这给用户的使用带来了许多困扰。通过这个实施例,由于滑动的起点是明确的,因此,操作的结果也是明确的,而不会给用户的使用带来困扰。此外,相对于现有技术的滑动调整方式而言,这里的实施例提供了明确的锚点,这使得程序设计更加简单并且在程序运行时所需的运算量和资源也越少,从而可以提升效率和性能。In the prior art, if the user adjusts the volume by sliding on the touch screen, the software application usually defines the vertical sliding as the volume adjustment and the horizontal sliding as the progress adjustment. In many cases, it is difficult for users to ensure that the slide is vertical or horizontal. Therefore, misoperations often occur. For example, the user wants to adjust the volume, but adjusts the progress instead; or vice versa. This brings a lot of trouble to users. Through this embodiment, since the starting point of the sliding is clear, the result of the operation is also clear, which will not cause trouble to the user. In addition, compared with the sliding adjustment method of the prior art, the embodiment here provides a clear anchor point, which makes the program design simpler and requires less computing power and resources when the program is running, thereby improving the efficiency and performance.

一方面,在现有技术中,由于在终端的触摸屏没有定义操作“锚点”,因此,用户很容易操作失误。另一方面,当终端放置在用户的口袋中时,很容易出现误操作,从而给用户带来烦扰。在下面的实施例中,可以进一步防止这种误操作。On the one hand, in the existing technology, since the operation "anchor point" is not defined on the touch screen of the terminal, it is easy for the user to make operation errors. On the other hand, when the terminal is placed in the user's pocket, misoperation is prone to occur, thereby causing annoyance to the user. In the following embodiments, this misoperation can be further prevented.

在这个实施例中,可以在所述第一开孔区域下方设置有第一摄像头,在所述第二开孔区域下方设置有第二摄像头。当运行终端时,可以启动所述第一摄像头和所述第二摄像头。例如,可以在所述第一摄像头检测到物体靠近,且所述第二摄像头未检测到物体靠近的情况下,确定接收到针对所述第一开孔区域的操作;或者,可以在所述第二摄像头检测到物体靠近,且所述第一摄像头未检测到物体靠近的情况下,确定接收到针对所述第二开孔区域的操作。In this embodiment, a first camera may be provided below the first opening area, and a second camera may be provided below the second opening area. When running the terminal, the first camera and the second camera can be started. For example, it may be determined that the operation for the first opening area is received when the first camera detects the approach of an object and the second camera does not detect the approach of the object; or, it may be determined that the operation on the first opening area is received. When the two cameras detect the approach of an object and the first camera does not detect the approach of the object, it is determined that the operation for the second opening area is received.

具体来说,例如,在检测到第一摄像头和第二摄像头中的一个摄像头被遮蔽而另一个摄像头未被遮蔽的情况下,启动对应的第一功能或第二功能。当第一摄像头和第二摄像都被遮蔽时,这通常表明:终端位于用户的口袋中,或者用户不是有意触摸第一摄像头和第二摄像来触发第一功能或第二功能。在这种判断中,考虑了终端的应用场景情况,利用了第一摄像头和第二摄像头本身能够获取外界信息以摄像的特点,可以一定程度上避免误操作的发生。Specifically, for example, when it is detected that one of the first camera and the second camera is blocked and the other camera is not blocked, the corresponding first function or second function is activated. When both the first camera and the second camera are blocked, this usually indicates that the terminal is in the user's pocket, or the user does not intentionally touch the first camera and the second camera to trigger the first function or the second function. In this judgment, the application scenario of the terminal is taken into consideration, and the characteristics of the first camera and the second camera themselves that can obtain external information to take pictures can be used to avoid misoperation to a certain extent.

可选地,可以在检测到第一摄像头和第二摄像头中的一个摄像头被遮蔽而另一个摄像头能够检测到人脸的情况下,启动对应的第一功能或第二功能。通常来说,用户在使用手机时会观看手机屏幕。因此,在用户实际执行操作时,手机屏幕正方的摄像头应当能够拍摄到用户的图像。这种方式利用了摄像头本身能够获取图像的特点,可以进一步避免误操作的发生。Optionally, when it is detected that one of the first camera and the second camera is blocked and the other camera can detect a human face, the corresponding first function or the second function may be activated. Generally speaking, users look at the mobile phone screen when using their mobile phones. Therefore, when the user actually performs the operation, the camera in the square of the mobile phone screen should be able to capture the user's image. This method takes advantage of the ability of the camera itself to acquire images, which can further avoid misoperation.

可选地,可以在检测到第一摄像头和第二摄像头中的一个摄像头被遮蔽而另一个摄像头检测人眼的视线方向与触摸屏所在方向一致的的情况下,启动对应的第一功能或第二功能。在这里,通过检测用户的视线方向,可以确定用户的操作是有意的,而不是误操作。这种方式利用了摄像头本身能够获取图像的特点,可以进一步避免误操作的发生。Optionally, when it is detected that one of the first camera and the second camera is blocked and the other camera detects that the direction of human eye sight is consistent with the direction of the touch screen, the corresponding first function or the second function can be started. Function. Here, by detecting the direction of the user's gaze, it can be determined that the user's operation is intentional and not a mistaken operation. This method takes advantage of the ability of the camera itself to acquire images, which can further avoid misoperation.

可以这里的三个实施例与上面的实施例结合起来。在用户执行加密/解密操作、在终端的屏幕显示界面之间执行拖曳操作、或增加减小音量的情况下,可以检测到第一摄像头和第二摄像头中的一个摄像头被遮蔽而另一个摄像头未被遮蔽,从而执行相应的功能。可选地,上述情况下,还可以通过检测人脸来确定是否执行相应的功能。可选地,在上述情况下,还可以通过检测用户的视线方向来确定是否执行相应的功能。The three embodiments here can be combined with the above embodiments. When the user performs an encryption/decryption operation, performs a drag operation between the screen display interfaces of the terminal, or increases or decreases the volume, it may be detected that one of the first camera and the second camera is blocked while the other camera is not. be shaded to perform the corresponding function. Optionally, in the above situation, it can also be determined whether to perform the corresponding function by detecting the human face. Optionally, in the above situation, it can also be determined whether to perform the corresponding function by detecting the user's line of sight direction.

此外,例如,还可以通过上述方式来确定是否调整终端的屏幕显示亮度。在检测到终端的第一摄像头被遮蔽而第二摄像头未被遮蔽的情况下,当检测到用户从第一摄像头开始执行滑动操作时,增加屏幕显示亮度;否则,减小屏幕显示亮度。同样地,可以在检测到人脸或用户的视线方向的情况下,执行增加/减小屏幕显示亮度的操作。In addition, for example, whether to adjust the screen display brightness of the terminal can also be determined in the above manner. When it is detected that the first camera of the terminal is blocked and the second camera is not blocked, when it is detected that the user performs a sliding operation from the first camera, the screen display brightness is increased; otherwise, the screen display brightness is decreased. Likewise, the operation of increasing/decreasing screen display brightness can be performed upon detection of a human face or the direction of the user's gaze.

图8示出了根据本发明的一个实施例的终端800的示意性框图。Figure 8 shows a schematic block diagram of a terminal 800 according to one embodiment of the present invention.

如图8所示,终端800包括接收模块801、第一功能模块802和第二功能模块803。As shown in FIG. 8 , the terminal 800 includes a receiving module 801 , a first functional module 802 and a second functional module 803 .

接收模块801用于接收针对所述第一开孔区域和所述第二开孔区域中目标开孔区域的操作。第一功能模块802用于在所述目标开孔区域为所述第一开孔区域的情况下,执行第一功能。第二功能模块803用于在所述目标开孔区域为所述第二开孔区域的情况下,执行第二功能。所述第一功能与所述第二功能互斥。The receiving module 801 is configured to receive an operation for a target opening area in the first opening area and the second opening area. The first function module 802 is configured to perform a first function when the target opening area is the first opening area. The second function module 803 is configured to perform a second function when the target opening area is the second opening area. The first function and the second function are mutually exclusive.

终端800可以用于实现上面所述的实施例中的技术方案。在这里不再重复对于所述方案的描述。The terminal 800 can be used to implement the technical solutions in the above-described embodiments. The description of the solution will not be repeated here.

可以在终端中应用上述实施例中的技术方案。该终端包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现上述实施例的控制方法中的步骤。The technical solutions in the above embodiments can be applied to the terminal. The terminal includes a processor, a memory, and a computer program stored on the memory and executable on the processor. When the computer program is executed by the processor, the steps in the control method of the above embodiment are implemented.

本发明实施例提供的终端能够实现图1-7的方法实施例中终端实现的各个过程,且能达到相同的技术效果。为避免重复,这里不再赘述。The terminal provided by the embodiment of the present invention can implement each process implemented by the terminal in the method embodiment of Figures 1-7, and can achieve the same technical effect. To avoid repetition, they will not be repeated here.

图9为实现本发明各个实施例的一种终端的硬件结构示意图,Figure 9 is a schematic diagram of the hardware structure of a terminal that implements various embodiments of the present invention.

该终端100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器110、以及电源111等部件。本领域技术人员可以理解,图9中示出的终端结构并不构成对终端的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。The terminal 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply. 111 and other parts. Those skilled in the art can understand that the terminal structure shown in FIG. 9 does not constitute a limitation on the terminal, and the terminal may include more or fewer components than shown, or combine certain components, or arrange different components. In the embodiment of the present invention, terminals include but are not limited to mobile phones, tablet computers, notebook computers, PDAs, vehicle-mounted terminals, wearable devices, and pedometers.

存储器109可以存储有能在所述处理器110上运行的计算机程序,所述计算机程序被所述处理器110执行时实现上述实施例的控制方法中的步骤。通过这种方式,可以实现上述实施例中所描述的技术效果。为避免重复,这里不再赘述。The memory 109 may store a computer program that can be run on the processor 110. When the computer program is executed by the processor 110, the steps in the control method of the above embodiment are implemented. In this way, the technical effects described in the above embodiments can be achieved. To avoid repetition, they will not be repeated here.

应理解的是,本发明实施例中,射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器110处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通信系统与网络和其他设备通信。It should be understood that in the embodiment of the present invention, the radio frequency unit 101 can be used to receive and send information or signals during a call. Specifically, after receiving downlink data from the base station, it is processed by the processor 110; in addition, Uplink data is sent to the base station. Generally, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, transceiver, coupler, low noise amplifier, duplexer, etc. In addition, the radio frequency unit 101 can also communicate with networks and other devices through wireless communication systems.

终端通过网络模块102为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The terminal provides users with wireless broadband Internet access through the network module 102, such as helping users send and receive emails, browse web pages, and access streaming media.

音频输出单元103可以将射频单元101或网络模块102接收的或者在存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元103还可以提供与终端100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元103包括扬声器、蜂鸣器以及受话器等。The audio output unit 103 may convert the audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output it as a sound. Furthermore, the audio output unit 103 may also provide audio output related to a specific function performed by the terminal 100 (eg, call signal reception sound, message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.

输入单元104用于接收音频或视频信号。输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器109(或其它存储介质)中或者经由射频单元101或网络模块102进行发送。麦克风1042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元101发送到移动通信基站的格式输出。The input unit 104 is used to receive audio or video signals. The input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042. The graphics processor 1041 processes still pictures or video images obtained by an image capturing device (such as a camera) in a video capture mode or an image capture mode. The data is processed. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage media) or sent via the radio frequency unit 101 or the network module 102. Microphone 1042 can receive sounds and can process such sounds into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 101 for output in a phone call mode.

终端100还包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在终端100移动到耳边时,关闭显示面板1061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器105还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light. The proximity sensor can close the display panel 1061 and/or when the terminal 100 moves to the ear. or backlight. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes). It can detect the magnitude and direction of gravity when stationary, and can be used to identify terminal postures (such as horizontal and vertical screen switching, related games, Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 105 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared ray Sensors, etc. will not be described in detail here.

显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板1061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1061。The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

用户输入单元107可用于接收输入的数字或字符信息,以及产生与终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作)。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器110,接收处理器110发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包括其他输入设备1072。具体地,其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 107 may be used to receive input numeric or character information and generate key signal input related to user settings and function control of the terminal. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072 . The touch panel 1071 , also known as a touch screen, can collect the user's touch operations on or near the touch panel 1071 (for example, the user uses a finger, stylus, or any suitable object or accessory on or near the touch panel 1071 operate). The touch panel 1071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact point coordinates, and then sends it to the touch controller. To the processor 110, receive the command sent by the processor 110 and execute it. In addition, the touch panel 1071 can be implemented using various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may also include other input devices 1072. Specifically, other input devices 1072 may include but are not limited to physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described again here.

进一步的,触控面板1071可覆盖在显示面板1061上,当触控面板1071检测到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型,随后处理器110根据触摸事件的类型在显示面板1061上提供相应的视觉输出。虽然在图9中,触控面板1071与显示面板1061是作为两个独立的部件来实现终端的输入和输出功能,但是在某些实施例中,可以将触控面板1071与显示面板1061集成而实现终端的输入和输出功能,具体此处不做限定。Further, the touch panel 1071 can be covered on the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it is sent to the processor 110 to determine the type of touch event. Then the processor 110 determines the type of touch event according to the touch. The type of event provides corresponding visual output on display panel 1061. Although in Figure 9, the touch panel 1071 and the display panel 1061 are used as two independent components to implement the input and output functions of the terminal, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated. Realize the input and output functions of the terminal, and the details are not limited here.

接口单元108为外部装置与终端100连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元108可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端100内的一个或多个元件或者可以用于在终端100和外部装置之间传输数据。The interface unit 108 is an interface for connecting external devices to the terminal 100 . For example, external devices may include a wired or wireless headphone port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc. The interface unit 108 may be used to receive input (eg, data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal 100 or may be used to provide communication between the terminal 100 and the external device. transfer data between.

存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。Memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the storage data area may store a program according to Data created by the use of mobile phones (such as audio data, phone books, etc.), etc. In addition, memory 109 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.

处理器110是终端的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器109内的软件程序和/或模块,以及调用存储在存储器109内的数据,执行终端的各种功能和处理数据,从而对终端进行整体监控。处理器110可包括一个或多个处理单元;优选的,处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。The processor 110 is the control center of the terminal, using various interfaces and lines to connect various parts of the entire terminal, and executing software programs and/or modules stored in the memory 109 by running or executing them, and calling data stored in the memory 109. Various functions of the terminal and processing data, thereby overall monitoring of the terminal. The processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem processor The processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 110 .

终端100还可以包括给各个部件供电的电源111(比如电池),优选的,电源111可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The terminal 100 may also include a power supply 111 (such as a battery) that supplies power to various components. Preferably, the power supply 111 may be logically connected to the processor 110 through a power management system, thereby managing charging, discharging, and power consumption management through the power management system. Function.

另外,终端100包括一些未示出的功能模块,在此不再赘述。In addition, the terminal 100 includes some not-shown functional modules, which will not be described again here.

<计算机可读介质实施例><Computer-readable medium embodiment>

本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述控制方法实施例的各个过程,且能达到相同的技术效果。为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。Embodiments of the present invention also provide a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above control method embodiment is implemented and the same technical effect can be achieved. . To avoid repetition, they will not be repeated here. Wherein, the computer-readable storage medium is such as read-only memory (ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the terms "comprising", "comprises" or any other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article or device that includes a series of elements not only includes those elements, It also includes other elements not expressly listed or inherent in the process, method, article or apparatus. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of additional identical elements in a process, method, article or apparatus that includes that element.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation. Based on this understanding, the technical solution of the present invention can be embodied in the form of a software product in essence or the part that contributes to the existing technology. The computer software product is stored in a storage medium (such as ROM/RAM, disk, CD), including several instructions to cause a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in various embodiments of the present invention.

上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。The embodiments of the present invention have been described above in conjunction with the accompanying drawings. However, the present invention is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Under the inspiration of the present invention, many forms can be made without departing from the spirit of the present invention and the scope protected by the claims, all of which fall within the protection of the present invention.

Claims (9)

Translated fromChinese
1.一种控制方法,应用于终端,其特征在于,所述终端的屏幕包括第一开孔区域和第二开孔区域,所述方法包括:1. A control method, applied to a terminal, characterized in that the screen of the terminal includes a first opening area and a second opening area, and the method includes:接收针对所述第一开孔区域和所述第二开孔区域中目标开孔区域的操作;receiving an operation for a target opening area in the first opening area and the second opening area;在所述目标开孔区域为所述第一开孔区域的情况下,执行第一功能;When the target opening area is the first opening area, perform the first function;在所述目标开孔区域为所述第二开孔区域的情况下,执行第二功能;When the target opening area is the second opening area, perform the second function;其中,所述第一功能与所述第二功能互斥;Wherein, the first function and the second function are mutually exclusive;所述终端在所述第一开孔区域下方设置有第一摄像头,在所述第二开孔区域下方设置有第二摄像头,所述方法还包括:The terminal is provided with a first camera below the first opening area, and a second camera is provided below the second opening area. The method further includes:启动所述第一摄像头和所述第二摄像头;Activate the first camera and the second camera;所述接收针对所述第一开孔区域和所述第二开孔区域中目标开孔区域的操作,包括:The receiving operation for the target opening area in the first opening area and the second opening area includes:在所述第一摄像头检测到物体靠近,且所述第二摄像头未检测到物体靠近的情况下,确定接收到针对所述第一开孔区域的操作;When the first camera detects the approach of an object and the second camera does not detect the approach of an object, it is determined that an operation for the first opening area is received;或者,在所述第二摄像头检测到物体靠近,且所述第一摄像头未检测到物体靠近的情况下,确定接收到针对所述第二开孔区域的操作。Alternatively, when the second camera detects the approach of an object and the first camera does not detect the approach of an object, it is determined that the operation for the second opening area is received.2.根据权利要求1所述的方法,其特征在于,所述第一功能是加密功能,所述第二功能是解密功能。2. The method of claim 1, wherein the first function is an encryption function and the second function is a decryption function.3.根据权利要求1所述的方法,其特征在于,所述接收针对所述第一开孔区域和所述第二开孔区域中目标开孔区域的操作,包括:3. The method according to claim 1, wherein receiving an operation for a target opening area in the first opening area and the second opening area includes:接收将显示于第N页桌面页面的第一应用程序图标拖动至所述第一开孔区域的操作;Receive an operation of dragging the first application icon displayed on the Nth desktop page to the first opening area;所述执行第一功能,包括:The execution of the first function includes:将所述第一应用程序图标显示于第N-1页桌面页面;Display the first application icon on the N-1 desktop page;所述接收针对所述第一开孔区域和所述第二开孔区域中目标开孔区域的操作,包括:The receiving operation for the target opening area in the first opening area and the second opening area includes:接收将显示于第N页桌面页面的第二应用程序图标拖动至所述第二开孔区域的操作;Receive an operation of dragging the second application icon displayed on the Nth desktop page to the second opening area;所述执行第二功能,包括:The second function includes:将所述第二应用程序图标显示于第N+1页桌面页面。Display the second application icon on the N+1 desktop page.4.根据权利要求1所述的方法,其特征在于,所述第一功能是增加音量功能,所述第二功能是减小音量功能。4. The method of claim 1, wherein the first function is a volume increase function, and the second function is a volume decrease function.5.一种终端,其特征在于,所述终端的屏幕包括第一开孔区域和第二开孔区域,所述终端还包括:5. A terminal, characterized in that the screen of the terminal includes a first opening area and a second opening area, and the terminal further includes:接收模块,用于接收针对所述第一开孔区域和所述第二开孔区域中目标开孔区域的操作;a receiving module, configured to receive operations for the target opening area in the first opening area and the second opening area;第一功能模块,用于在所述目标开孔区域为所述第一开孔区域的情况下,执行第一功能;A first functional module, configured to perform a first function when the target opening area is the first opening area;第二功能模块,用于在所述目标开孔区域为所述第二开孔区域的情况下,执行第二功能;a second functional module, configured to perform a second function when the target opening area is the second opening area;其中,所述第一功能与所述第二功能互斥;Wherein, the first function and the second function are mutually exclusive;所述终端在所述第一开孔区域下方设置的第一摄像头和在所述第二开孔区域下方设置的第二摄像头;The terminal has a first camera provided below the first opening area and a second camera provided below the second opening area;所述终端还用于:The terminal is also used for:在启动所述第一摄像头和所述第二摄像头的情况下,所述接收模块在所述第一摄像头检测到物体靠近,且所述第二摄像头未检测到物体靠近的情况下,确定接收到针对所述第一开孔区域的操作;或者,在所述第二摄像头检测到物体靠近,且所述第一摄像头未检测到物体靠近的情况下,确定接收到针对所述第二开孔区域的操作。When the first camera and the second camera are activated, the receiving module determines that the first camera detects the approach of an object and the second camera does not detect the approach of an object. Operation for the first opening area; or, in the case where the second camera detects the approach of an object and the first camera does not detect the approach of an object, it is determined that the operation for the second opening area is received. operation.6.根据权利要求5所述的终端,其特征在于,所述第一功能是加密功能,所述第二功能是解密功能。6. The terminal according to claim 5, wherein the first function is an encryption function and the second function is a decryption function.7.根据权利要求5所述的终端,其特征在于,所述接收模块接收将显示于第N页桌面页面的第一应用程序图标拖动至所述第一开孔区域的操作,所述第一功能模块将所述第一应用程序图标显示于第N-1页桌面页面;7. The terminal according to claim 5, wherein the receiving module receives an operation of dragging the first application icon displayed on the Nth desktop page to the first opening area, and the first application icon is dragged to the first opening area. A functional module displays the first application icon on the N-1 desktop page;所述接收模块接收将显示于第N页桌面页面的第二应用程序图标拖动至所述第二开孔区域的操作,所述第二功能模块将所述第二应用程序图标显示于第N+1页桌面页面。The receiving module receives the operation of dragging the second application icon displayed on the Nth desktop page to the second opening area, and the second functional module displays the second application icon on the Nth desktop page. +1 page desktop page.8.根据权利要求5所述的终端,其特征在于,所述第一功能是增加音量功能,所述第二功能是减小音量功能。8. The terminal according to claim 5, wherein the first function is a volume increase function, and the second function is a volume decrease function.9.一种终端,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现权利要求1至4中任一项所述的控制方法的步骤。9. A terminal, comprising a processor, a memory and a computer program stored on the memory and executable on the processor. When the computer program is executed by the processor, any one of claims 1 to 4 is implemented. The steps of the control method described in one item.
CN201910555877.XA2019-06-252019-06-25Control method and terminalActiveCN110297561B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201910555877.XACN110297561B (en)2019-06-252019-06-25Control method and terminal

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201910555877.XACN110297561B (en)2019-06-252019-06-25Control method and terminal

Publications (2)

Publication NumberPublication Date
CN110297561A CN110297561A (en)2019-10-01
CN110297561Btrue CN110297561B (en)2023-09-15

Family

ID=68028857

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201910555877.XAActiveCN110297561B (en)2019-06-252019-06-25Control method and terminal

Country Status (1)

CountryLink
CN (1)CN110297561B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2015108981A (en)*2013-12-052015-06-11三菱電機株式会社Display controller, display control method, and image design method
CN105808137A (en)*2015-01-212016-07-27Lg电子株式会社Mobile terminal and method for controlling the same
CN109062465A (en)*2018-06-292018-12-21努比亚技术有限公司A kind of application program launching method, mobile terminal and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2015108981A (en)*2013-12-052015-06-11三菱電機株式会社Display controller, display control method, and image design method
CN105808137A (en)*2015-01-212016-07-27Lg电子株式会社Mobile terminal and method for controlling the same
CN109062465A (en)*2018-06-292018-12-21努比亚技术有限公司A kind of application program launching method, mobile terminal and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于移动终端的屏幕锁定解锁技术概况;周咏;《科学技术创新》;20180715(第20期);全文*

Also Published As

Publication numberPublication date
CN110297561A (en)2019-10-01

Similar Documents

PublicationPublication DateTitle
WO2019174611A1 (en)Application configuration method and mobile terminal
US12061770B2 (en)Application interface display method and mobile terminal
CN108646958B (en) A kind of application program startup method and terminal
WO2020258929A1 (en)Folder interface switching method and terminal device
CN108415641B (en) Icon processing method and mobile terminal
WO2021169959A1 (en)Application starting method and electronic device
CN109032447B (en) Icon processing method and mobile terminal
CN108345425B (en)Application management method and mobile terminal
CN109815676B (en) A privacy space operation method and terminal device
CN110795189A (en)Application starting method and electronic equipment
CN110162241A (en)A kind of message treatment method and terminal
WO2020199783A1 (en)Interface display method and terminal device
WO2019114522A1 (en)Screen control method, screen control apparatus, and mobile terminal
WO2020134743A1 (en)Icon moving method and terminal
WO2020078234A1 (en)Display control method and terminal
WO2021037074A1 (en)Audio output method and electronic apparatus
WO2021057301A1 (en)File control method and electronic device
WO2020211596A1 (en)Control method and terminal device
CN111459358A (en)Application program control method and electronic equipment
CN108984099B (en)Man-machine interaction method and terminal
CN109992941A (en) A rights management method and terminal device
CN110096203A (en)A kind of screenshot method and mobile terminal
CN109981442A (en)Method for sending information and terminal device
CN111027107B (en) Object display control method and electronic device
CN108762648A (en) Screen operation control method and mobile terminal

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
TG01Patent term adjustment
TG01Patent term adjustment

[8]ページ先頭

©2009-2025 Movatter.jp