CN110232174A - A kind of content chooses method and terminal device - Google Patents
A kind of content chooses method and terminal device Download PDFInfo
- Publication number
- CN110232174A CN110232174A CN201910323232.3A CN201910323232A CN110232174A CN 110232174 A CN110232174 A CN 110232174A CN 201910323232 A CN201910323232 A CN 201910323232A CN 110232174 A CN110232174 A CN 110232174A
- Authority
- CN
- China
- Prior art keywords
- content
- input
- target
- terminal device
- option
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04886—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/20—Image preprocessing
- G06V10/22—Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Multimedia (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本发明实施例公开了一种内容选中方法及终端设备,涉及通信技术领域,以解决逐句逐字选中每个页面中的内容并重复页面切换过程,导致选中内容的过程较为繁琐且耗时的问题。该方法包括:在终端设备显示第一内容的情况下,接收第一输入,该第一内容为第二内容中的部分内容;响应于该第一输入,选中第一目标内容,该第一目标内容为第二内容或第三内容;其中,该第三内容为该第二内容中除该第一内容之外的内容,该第二内容和该第三内容为通过预设输入选择的内容。该方法可以应用于从较多内容中选择全部内容或部分内容的场景中。
The embodiment of the present invention discloses a content selection method and a terminal device, which relate to the field of communication technology and solve the problem of selecting the content in each page sentence by sentence and repeating the page switching process, resulting in a cumbersome and time-consuming process of selecting content question. The method includes: when the terminal device displays the first content, receiving a first input, the first content is part of the second content; in response to the first input, selecting the first target content, the first target The content is the second content or the third content; wherein, the third content is the content in the second content except the first content, and the second content and the third content are selected through preset input. This method can be applied to a scenario where all or part of content is selected from more content.
Description
技术领域technical field
本发明实施例涉及通信技术领域,尤其涉及一种内容选中方法及终端设备。The embodiments of the present invention relate to the field of communication technologies, and in particular, to a method for selecting content and a terminal device.
背景技术Background technique
光学字符识别(Optical Character Recognition,OCR)技术是指利用终端设备(例如手机)对获取的图片进行扫描、缩放、旋转、版面划分和文字识别等,以获取图片中的文本内容的技术。Optical Character Recognition (OCR) technology refers to the technology of using terminal devices (such as mobile phones) to scan, zoom, rotate, layout, and character recognition the acquired pictures to obtain the text content in the pictures.
目前,在终端设备利用OCR技术获取到的文本内容较多的情况下,终端设备可以分页显示文本内容,即在每页分别显示部分文本内容。然而,如果用户想要对文本内容进行操作,例如将所有文本内容分享至用户好友,或者对所有文本内容中的某几个页面的文本内容进行翻译,那么用户可以在当前页面的文本内容所在区域中进行滑动输入,以逐句逐字选中当前页面上显示的文本内容,然后再触发终端设备将当前页面切换为其他页面,并在其他页面的文本内容所在区域中进行滑动输入,以逐句逐字选中其他页面上显示的文本内容。At present, when the terminal device acquires a lot of text content by using the OCR technology, the terminal device can display the text content in pages, that is, display part of the text content on each page. However, if the user wants to operate on the text content, such as sharing all the text content with the user's friends, or translating the text content of some pages in all the text content, then the user can Slide input in the text content of the current page to select the text displayed on the current page sentence by word, and then trigger the terminal device to switch the current page to other pages, and slide input in the area where the text content of other pages is located to sentence by sentence Word selects the text content displayed on other pages.
如此,终端设备需要逐句逐字选中每个页面中的内容,并且可能需要重复上述页面切换过程,从而导致选中内容的过程较为繁琐且耗时。In this way, the terminal device needs to select the content in each page sentence by word, and may need to repeat the above page switching process, which makes the process of selecting content cumbersome and time-consuming.
发明内容Contents of the invention
本发明实施例提供一种内容选中方法及终端设备,以解决终端设备逐句逐字选中每个页面中的内容,并重复页面切换过程,导致选中内容的过程较为繁琐且耗时的问题。Embodiments of the present invention provide a content selection method and a terminal device to solve the problem that the terminal device selects content in each page sentence by sentence and repeats the page switching process, resulting in a cumbersome and time-consuming process of selecting content.
为了解决上述技术问题,本发明实施例是这样实现的:In order to solve the above-mentioned technical problems, the embodiment of the present invention is implemented as follows:
第一方面,本发明实施例提供了一种内容选中方法。该方法可以应用于终端设备。该方法可以包括:在终端设备显示第一内容的情况下,接收第一输入,该第一内容为第二内容中的部分内容;响应于该第一输入,选中第一目标内容,该第一目标内容为该第二内容或第三内容;其中,该第三内容为该第二内容中除该第一内容之外的内容,该第二内容和该第三内容为通过预设输入选择的内容。In a first aspect, an embodiment of the present invention provides a content selection method. This method can be applied to terminal equipment. The method may include: when the terminal device displays the first content, receiving a first input, the first content is part of the second content; in response to the first input, selecting the first target content, the first The target content is the second content or the third content; wherein, the third content is the content in the second content except the first content, and the second content and the third content are selected through preset input content.
第二方面,本发明实施例提供了一种终端设备。该终端设备可以包括接收模块、处理模块和显示模块。接收模块,用于在显示模块显示第一内容的情况下,接收第一输入,该第一内容为第二内容中的部分内容;处理模块,用于响应于接收模块接收的该第一输入,选中第一目标内容,该第一目标内容为第二内容或第三内容;其中,该第三内容为该第二内容中除该第一内容之外的内容,该第二内容和该第三内容为通过预设输入选择的内容。In a second aspect, an embodiment of the present invention provides a terminal device. The terminal device may include a receiving module, a processing module and a display module. The receiving module is configured to receive a first input when the display module displays the first content, and the first content is part of the second content; the processing module is configured to respond to the first input received by the receiving module, Select the first target content, the first target content is the second content or the third content; wherein, the third content is the content in the second content except the first content, the second content and the third content The content is the content selected by preset input.
第三方面,本发明实施例提供了一种终端设备,包括处理器、存储器及存储在该存储器上并可在该处理器上运行的计算机程序,该计算机程序被该处理器执行时实现第一方面提供的内容选中方法的步骤。In a third aspect, an embodiment of the present invention provides a terminal device, including a processor, a memory, and a computer program stored on the memory and operable on the processor. When the computer program is executed by the processor, the first Steps in the content selection method provided by the aspect.
第四方面,本发明实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现第一方面提供的内容选中方法的步骤。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the content selection method provided in the first aspect are implemented.
在本发明实施例中,可以在终端设备显示第一内容(该第一内容为第二内容中的部分内容)的情况下,接收第一输入;并响应于该第一输入,选中第一目标内容,该第一目标内容为第二内容或第三内容(该第三内容为该第二内容中除该第一内容之外的内容,该第二内容和该第三内容为通过预设输入选择的内容)。通过该方案,由于在终端设备中的内容(例如对目标图片识别后获取的文本内容)较多的情况下,用户可以通过预设的第一输入,触发终端设备选中全部内容(即第二内容),或者选中全部内容中除当前页面显示的内容外的内容(即第三内容),即用户无需触发终端设备切换显示内容的页面,而可以通过第一输入从全部内容中选中内容,因此可以简化选中内容的过程,并节省用户时间。In the embodiment of the present invention, when the terminal device displays the first content (the first content is part of the second content), the first input is received; and in response to the first input, the first target is selected content, the first target content is the second content or the third content (the third content is the content in the second content other than the first content, and the second content and the third content are input by preset selected content). Through this solution, since there are many contents in the terminal device (such as the text content obtained after recognizing the target picture), the user can trigger the terminal device to select all the content (that is, the second content) through the preset first input. ), or select all content except the content displayed on the current page (that is, the third content), that is, the user does not need to trigger the terminal device to switch the page displaying the content, but can select the content from all the content through the first input, so it can Simplify the selection process and save users time.
附图说明Description of drawings
图1为本发明实施例提供的一种安卓操作系统的架构示意图;Fig. 1 is a schematic diagram of the architecture of an Android operating system provided by an embodiment of the present invention;
图2为本发明实施例提供的一种内容选中方法的示意图之一;FIG. 2 is one of the schematic diagrams of a content selection method provided by an embodiment of the present invention;
图3为本发明实施例提供的一种终端设备显示第一内容的示意图;FIG. 3 is a schematic diagram of a terminal device displaying first content according to an embodiment of the present invention;
图4为本发明实施例提供的一种终端设备显示的界面的操作示意图之一;Fig. 4 is one of the operation schematic diagrams of an interface displayed by a terminal device according to an embodiment of the present invention;
图5为本发明实施例提供的一种终端设备显示的界面的操作示意图之二;FIG. 5 is the second schematic diagram of the operation of an interface displayed by a terminal device according to an embodiment of the present invention;
图6为本发明实施例提供的一种终端设备显示的界面的操作示意图之三;FIG. 6 is the third schematic diagram of the operation of an interface displayed by a terminal device according to an embodiment of the present invention;
图7为本发明实施例提供的一种内容选中方法的示意图之二;FIG. 7 is the second schematic diagram of a content selection method provided by an embodiment of the present invention;
图8为本发明实施例提供的一种终端设备显示的界面的操作示意图之四;FIG. 8 is a fourth schematic diagram of operations of an interface displayed by a terminal device according to an embodiment of the present invention;
图9为本发明实施例提供的一种内容选中方法的示意图之三;FIG. 9 is the third schematic diagram of a content selection method provided by an embodiment of the present invention;
图10为本发明实施例提供的一种内容选中方法的示意图之四;FIG. 10 is a fourth schematic diagram of a content selection method provided by an embodiment of the present invention;
图11为本发明实施例提供的一种终端设备显示的界面的操作示意图之五;Fig. 11 is a fifth schematic diagram of the operation of an interface displayed by a terminal device according to an embodiment of the present invention;
图12为本发明实施例提供的终端设备的结构示意图;FIG. 12 is a schematic structural diagram of a terminal device provided by an embodiment of the present invention;
图13为本发明实施例提供的终端设备的硬件示意图。FIG. 13 is a schematic diagram of hardware of a terminal device provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
本文中术语“和/或”,是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。本文中符号“/”表示关联对象是或者的关系,例如A/B表示A或者B。The term "and/or" in this article is an association relationship describing associated objects, which means that there can be three relationships, for example, A and/or B can mean: A exists alone, A and B exist simultaneously, and B exists alone These three situations. The symbol "/" in this document indicates that the associated object is an or relationship, for example, A/B indicates A or B.
本发明的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一输入和第二输入等是用于区别不同的输入。The terms "first" and "second" in the specification and claims of the present invention are used to distinguish different objects, rather than to describe a specific order of objects. For example, the first input and the second input are used to distinguish different inputs.
在本发明实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本发明实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。In the embodiments of the present invention, words such as "exemplary" or "for example" are used as examples, illustrations or illustrations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present invention shall not be construed as being more preferred or more advantageous than other embodiments or design solutions.
在本发明实施例的描述中,除非另有说明,“多个”的含义是指两个或者两个以上,例如,多个元件是指两个或者两个以上的元件等。In the description of the embodiments of the present invention, unless otherwise specified, "plurality" means two or more, for example, a plurality of elements refers to two or more elements.
下面对本发明实施例中涉及的一些术语/名词进行解释说明。Some terms/nouns involved in the embodiments of the present invention are explained below.
选中:是指终端设备根据用户对内容(例如文本内容)的选择输入,触发终端设备将页面中的内容由非选中状态切换为选中状态,从而用户可以对选中的内容进行翻译、复制、删除和转发等操作。Selected: It means that the terminal device triggers the terminal device to switch the content on the page from the non-selected state to the selected state according to the user's selection and input of the content (such as text content), so that the user can translate, copy, delete and edit the selected content. Forwarding and other operations.
本发明实施例提供一种内容选中方法及终端设备,可以在终端设备显示第一内容(该第一内容为第二内容中的部分内容)的情况下,接收第一输入;并响应于该第一输入,选中第一目标内容,该第一目标内容为第二内容或第三内容(该第三内容为该第二内容中除该第一内容之外的内容,该第二内容和该第三内容为通过预设输入选择的内容)。通过该方案,由于在终端设备中的内容(例如对目标图片识别后获取的文本内容)较多的情况下,用户可以通过预设的第一输入,触发终端设备选中全部内容(即第二内容),或者选中全部内容中除当前页面显示的内容外的内容(即第三内容),即用户无需触发终端设备切换显示内容的页面,而可以通过第一输入从全部内容中选中内容,因此可以简化选中内容的过程,并节省用户时间。Embodiments of the present invention provide a content selection method and a terminal device, which can receive a first input when the terminal device displays the first content (the first content is part of the second content); and respond to the first content One input, select the first target content, the first target content is the second content or the third content (the third content is the content in the second content except the first content, the second content and the first content The third content is the content selected by preset input). Through this solution, since there are many contents in the terminal device (such as the text content obtained after recognizing the target picture), the user can trigger the terminal device to select all the content (that is, the second content) through the preset first input. ), or select all content except the content displayed on the current page (that is, the third content), that is, the user does not need to trigger the terminal device to switch the page displaying the content, but can select the content from all the content through the first input, so it can Simplify the selection process and save users time.
本发明实施例中的终端设备可以为具有操作系统的终端设备。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本发明实施例不作具体限定。The terminal device in this embodiment of the present invention may be a terminal device with an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present invention.
以安卓操作系统为例,介绍一下本发明实施例提供的内容选中方法所应用的软件环境。Taking the Android operating system as an example, the software environment to which the content selection method provided by the embodiment of the present invention is applied is introduced.
如图1所示,为本发明实施例提供的一种安卓操作系统的架构示意图。在图1中,安卓操作系统的架构包括4层,分别为:应用程序层、应用程序框架层、系统运行库层和内核层(具体可以为Linux内核层)。As shown in FIG. 1 , it is a schematic diagram of the architecture of an Android operating system provided by an embodiment of the present invention. In FIG. 1 , the architecture of the Android operating system includes four layers, namely: an application layer, an application framework layer, a system runtime layer and a kernel layer (specifically, the Linux kernel layer).
其中,应用程序层包括安卓操作系统中的各个应用程序(包括系统应用程序和第三方应用程序)。Wherein, the application program layer includes various application programs (including system application programs and third-party application programs) in the Android operating system.
应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。The application program framework layer is the application program framework, and developers can develop some applications based on the application program framework layer while complying with the development principles of the application program framework layer.
系统运行库层包括库(也称为系统库)和安卓操作系统运行环境。库主要为安卓操作系统提供其所需的各类资源。安卓操作系统运行环境用于为安卓操作系统提供软件环境。The system runtime layer includes libraries (also called system libraries) and the Android operating system runtime environment. The library mainly provides various resources required by the Android operating system. The Android operating system operating environment is used to provide a software environment for the Android operating system.
内核层是安卓操作系统的操作系统层,属于安卓操作系统软件层次的最底层。内核层基于Linux内核为安卓操作系统提供核心系统服务和与硬件相关的驱动程序。The kernel layer is the operating system layer of the Android operating system and belongs to the bottom layer of the Android operating system software layer. The kernel layer provides core system services and hardware-related drivers for the Android operating system based on the Linux kernel.
以安卓操作系统为例,本发明实施例中,开发人员可以基于上述如图1所示的安卓操作系统的系统架构,开发实现本发明实施例提供的内容选中方法的软件程序,从而使得该内容选中方法可以基于如图1所示的安卓操作系统运行。即处理器或者终端设备可以通过在安卓操作系统中运行该软件程序实现本发明实施例提供的内容选中方法。Taking the Android operating system as an example, in the embodiment of the present invention, developers can develop a software program that implements the content selection method provided in the embodiment of the present invention based on the system architecture of the Android operating system shown in Figure 1 above, so that the content The selection method can be run based on the Android operating system as shown in FIG. 1 . That is, the processor or the terminal device can implement the content selection method provided by the embodiment of the present invention by running the software program in the Android operating system.
本发明实施例中的终端设备可以为移动终端设备,也可以为非移动终端设备。示例性的,移动终端设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动终端设备可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本发明实施例不作具体限定。The terminal device in the embodiment of the present invention may be a mobile terminal device, or may be a non-mobile terminal device. Exemplarily, the mobile terminal device may be a mobile phone, tablet computer, notebook computer, palmtop computer, vehicle terminal device, wearable device, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook or personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile terminal device may be a personal computer (personal computer, PC), a television (television, TV), a teller machine, or a self-service machine, etc., which are not specifically limited in this embodiment of the present invention.
本发明实施例提供的内容选中方法的执行主体可以为上述的终端设备,也可以为该终端设备中能够实现该内容选中方法的功能模块和/或功能实体,具体可以根据实际使用需求确定,本发明实施例不作限定。下面以终端设备为例,对本发明实施例提供的内容选中方法进行示例性的说明。The execution subject of the content selection method provided by the embodiment of the present invention may be the above-mentioned terminal device, or may be a functional module and/or a functional entity in the terminal device that can implement the content selection method, which may be determined according to actual usage requirements. The embodiments of the invention are not limited. The following uses a terminal device as an example to illustrate the content selection method provided by the embodiment of the present invention.
本发明实施例中,在终端设备利用OCR技术获取到的内容较多的情况下,终端设备可以分页显示获取到的内容,即在每页分别显示部分内容,例如在当前页显示全部内容(以下称为第二内容)中的第一内容。如果用户想要对某些内容进行操作,那么用户可以先通过第一输入,触发终端设备选中第二内容或选中第二内容中除第一内容之外的内容(以下称为第三内容),然后用户可以再对选中的内容进行具体操作,例如将第二内容分享至用户好友或者对第三内容进行翻译等。In the embodiment of the present invention, when the terminal device obtains a lot of content using OCR technology, the terminal device can display the obtained content in pages, that is, display part of the content on each page, for example, display all the content on the current page (hereinafter referred to as the first content in the second content). If the user wants to operate some content, the user can trigger the terminal device to select the second content or select content other than the first content in the second content (hereinafter referred to as the third content) through the first input, Then the user can perform specific operations on the selected content, such as sharing the second content with friends of the user or translating the third content.
如图2所示,本发明实施例提供一种内容选中方法。该方法可以应用于终端设备。该方法可以包括下述的S101和S102。As shown in FIG. 2 , an embodiment of the present invention provides a content selection method. This method can be applied to terminal equipment. The method may include the following S101 and S102.
S101、在终端设备显示第一内容的情况下,终端设备接收第一输入。S101. In a case where the terminal device displays first content, the terminal device receives a first input.
其中,上述第一内容可以为第二内容中的部分内容。Wherein, the above-mentioned first content may be part of the second content.
可选的,本发明实施中,上述第二内容可以为对目标图片识别后获取的全部内容。Optionally, in the implementation of the present invention, the above-mentioned second content may be all content acquired after the target picture is identified.
进一步的,上述目标图片可以为通过终端设备的摄像头拍摄的图片,或者为终端设备从网络侧设备(例如服务器)下载的图片,或者为终端设备通过截屏操作得到的图片等。具体可以根据实际使用需求确定,本发明实施例不作限定。Further, the above-mentioned target picture may be a picture taken by the camera of the terminal device, or a picture downloaded by the terminal device from a network side device (such as a server), or a picture obtained by the terminal device through a screenshot operation, etc. Specifically, it may be determined according to actual usage requirements, and is not limited in this embodiment of the present invention.
进一步的,上述第二内容具体可以为对目标图片识别后获取的全部文本内容。其中,该全部文本内容中可以包括文字和符号等。Further, the above-mentioned second content may specifically be all text content acquired after the target picture is identified. Wherein, the entire text content may include characters and symbols.
进一步的,在上述第二内容较多的情况下,终端设备可以分页显示文本内容,即在每页分别显示第二内容中的部分文本内容。例如,终端设备可以在终端设备的当前页面显示第二内容中的第一内容。Further, in the case where the above-mentioned second content is large, the terminal device may display the text content in pages, that is, display part of the text content in the second content on each page. For example, the terminal device may display the first content in the second content on the current page of the terminal device.
示例性的,如图3所示,在获取目标图片01之后,终端设备可以利用OCR技术对该目标图片01进行扫描、缩放、旋转、版面划分和文字识别等,从而可以获取该目标图片01中的全部文本内容(即第二内容)。由于获取的全部文本内容较多,因此终端设备可以分页显示文本内容,例如,终端设备可以在当前页面显示目标图片01、全部文本内容中的第一内容02、以及“翻译”、“复制”、“分享”和“删除”等功能控件03,其中,第一内容02可以由“诺”、“贝”、“尔”等多个字符块组成。如果用户想要从全部文本内容中选中某些文本内容,那么用户可以通过第一输入,触发终端设备选中这些文本内容。Exemplarily, as shown in FIG. 3 , after acquiring the target picture 01, the terminal device can use OCR technology to scan, zoom, rotate, layout and character recognize the target picture 01, so as to obtain the target picture 01. The entire text content of (ie the second content). Since there are many acquired text contents, the terminal device can display the text contents in pages. For example, the terminal device can display the target picture 01, the first content 02 in all text contents, and "translate", "copy", Functional controls 03 such as "Share" and "Delete", wherein the first content 02 may be composed of multiple character blocks such as "Nuo", "Bei" and "Er". If the user wants to select some text content from all the text content, the user can trigger the terminal device to select these text content through the first input.
可选的,本发明实施例中,上述第一输入可以为触控输入、语音输入、手势输入或重力输入等。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the above-mentioned first input may be touch input, voice input, gesture input, or gravity input. Specifically, it may be determined according to actual usage requirements, and is not limited in this embodiment of the present invention.
下面以方式一和方式二为例,对第一输入进行示例性地说明:The first input is exemplarily described below by taking mode 1 and mode 2 as examples:
方式一、第一输入可以为用户的手指或手掌在第一区域中沿一个方向的滑动输入。其中,该第一区域为终端设备的屏幕中第一内容所在的区域。Manner 1. The first input may be a user's finger or palm sliding input along one direction in the first area. Wherein, the first area is an area where the first content is located on the screen of the terminal device.
示例性的,如图4中的(a)所示,第一区域可以包括点A、点B、点C和点D这四个顶点。如果用户在该第一区域中沿着点A到点D的方向滑动手指或手掌,那么终端设备可以接收到用户的手指或手掌在第一区域中沿着点A到点D的方向的滑动输入(第一输入)。如此,在接收到用户的第一输入之后,终端设备可以选中第一目标内容,并显示如图4中的(b)所示的提示信息“提示信息:已全选所有文本内容”04。Exemplarily, as shown in (a) in FIG. 4 , the first area may include four vertices of point A, point B, point C and point D. If the user slides his finger or palm in the direction from point A to point D in the first area, then the terminal device may receive a sliding input of the user's finger or palm in the direction from point A to point D in the first area (first input). In this way, after receiving the user's first input, the terminal device can select the first target content, and display the prompt message "prompt message: all text content has been selected" 04 as shown in (b) in FIG. 4 .
需要说明的是,上述实施例是以第一输入为用户的手指或手掌在第一区域中沿着点A到点D的方向的滑动输入为例进行示例性说明的,其并不对本发明实施例形成任何限定。可以理解,第一输入还可以为用户的手指或手掌在第一区域中沿着其他任意可能的方向的滑动输入。示例性的,仍以图4中的(a)为例进行说明,第一输入还可以为用户的手指或手掌在第一区域中沿着点A到点B的方向的滑动输入,或者第一输入还可以为用户的手指或手掌在第一区域中沿着点C到点D的方向的滑动输入等,具体可以根据实际使用需求确定。It should be noted that, the above-mentioned embodiment is illustrated by taking the first input as the user's finger or palm sliding input along the direction from point A to point D in the first area as an example, which does not implement the present invention. Examples form any limitations. It can be understood that the first input may also be a sliding input of the user's finger or palm in any other possible direction in the first area. Exemplarily, still taking (a) in FIG. The input can also be a sliding input of the user's finger or palm along the direction from point C to point D in the first area, which can be determined according to actual usage requirements.
方式二、第一输入可以为用户的手指或手掌在第一平面上沿第二方向的输入。其中,该第一平面与终端设备的屏幕所在平面之间的距离小于或等于预设距离。Mode 2. The first input may be an input of the user's finger or palm along the second direction on the first plane. Wherein, the distance between the first plane and the plane where the screen of the terminal device is located is less than or equal to a preset distance.
可选的,本发明实施例中,在第一输入为方式二中的输入的情况下,第一目标内容具体可以为第二内容或第三内容。当然,该第一目标内容还可以为其他内容,具体可以根据实际使用需求确定。Optionally, in this embodiment of the present invention, in a case where the first input is the input in mode 2, the first target content may specifically be the second content or the third content. Certainly, the first target content may also be other content, which may be specifically determined according to actual usage requirements.
可选的,本发明实施例中,终端设备可以利用隔空操作技术,接收用户的第一输入。例如,终端设备的屏幕下方可以内置超声波传感器,该超声波传感器可以包括多个超声波感应单元。终端设备可以周期性地对各个超声波感应单元进行扫描,并获取用户的手指或手掌在屏幕上的投影图像,通过对投影图像处理,可以使得用户可以在屏幕上方非接触地操作终端设备,即可以实现隔空操作功能。Optionally, in this embodiment of the present invention, the terminal device may use the air operation technology to receive the first input from the user. For example, an ultrasonic sensor may be built under the screen of the terminal device, and the ultrasonic sensor may include multiple ultrasonic sensing units. The terminal device can periodically scan each ultrasonic sensing unit, and obtain the projected image of the user's finger or palm on the screen. By processing the projected image, the user can operate the terminal device on the screen without contact, that is, Realize the remote operation function.
示例性的,假设第二方向为由终端设备的顶部E到终端设备的底部F的方向。如图5中的(a)所示,为本发明实施例提供的用户的手掌在第一平面上沿第二方向的滑动输入的俯视图。如图5中的(b)所示,为本发明实施例提供的用户的手掌在第一平面上沿第二方向的滑动输入的剖面图,其中,第一平面P1到终端设备的屏幕P2所在平面之间的距离为d2,且距离d2可以小于或等于预设距离d1。如此,在终端设备接收到用户的第一输入之后,终端设备可以选中第一目标内容(例如选中第二内容),并显示如图5中的(c)所示的提示信息“提示信息:已全选所有文本内容”04。Exemplarily, it is assumed that the second direction is a direction from the top E of the terminal device to the bottom F of the terminal device. As shown in (a) of FIG. 5 , the embodiment of the present invention provides a top view of sliding input of the user's palm on the first plane along the second direction. As shown in (b) in FIG. 5 , a cross-sectional view of sliding input of the user's palm on the first plane along the second direction provided by the embodiment of the present invention, wherein the first plane P1 to the screen P2 of the terminal device is located The distance between the planes is d2, and the distance d2 may be less than or equal to the preset distance d1. In this way, after the terminal device receives the user's first input, the terminal device can select the first target content (for example, select the second content), and display the prompt message "Prompt message: Already Select all text content" 04.
需要说明的是,上述实施例是以第二方向为终端设备的顶部E到终端设备的底部F的方向为例进行示例性说明的,其并不对本发明实施例形成任何限定。可以理解,第一方向还可以为其他任意可能的方向。It should be noted that, the above embodiment is illustrated by taking the second direction from the top E of the terminal device to the bottom F of the terminal device as an example, which does not limit the embodiment of the present invention in any way. It can be understood that the first direction may also be any other possible direction.
S102、终端设备响应于该第一输入,选中第一目标内容,该第一目标内容为第二内容或第三内容。S102. The terminal device selects the first target content in response to the first input, where the first target content is the second content or the third content.
其中,上述第三内容可以为第二内容中除第一内容之外的内容。该第二内容和该第三内容为通过预设输入选择的内容。Wherein, the above-mentioned third content may be content other than the first content in the second content. The second content and the third content are content selected through preset input.
可选的,本发明实施例中,第一目标内容还可以为第一内容或第四内容,该第四内容为用户从该第二内容中随机选择的任意内容。Optionally, in this embodiment of the present invention, the first target content may also be the first content or the fourth content, and the fourth content is any content randomly selected by the user from the second content.
本发明实施例中,不同的第一输入可以用于触发选中不同的第一目标内容。In this embodiment of the present invention, different first inputs may be used to trigger selection of different first target content.
(1)、下面以第二内容包括第1页文本内容(即当前页面的文本内容)、第2页文本内容、……、以及第9页文本内容,且预设输入(即第一输入)为用户的手指或手掌在第一区域中沿一个预设方向的滑动输入为例,对终端设备响应于第一输入选中第一目标内容进行示例性说明:(1), the following second content includes the text content of the first page (that is, the text content of the current page), the text content of the second page, ..., and the text content of the ninth page, and the preset input (that is, the first input) Taking the sliding input of the user's finger or palm along a preset direction in the first area as an example, an exemplary description is given of selecting the first target content by the terminal device in response to the first input:
示例性的,假设在预设输入为用户的手指或手掌在如图4中的(a)所示的第一区域中沿着点A到点B的方向的滑动输入的情况下,该预设输入用于触发选中第一内容。如果终端设备接收到用户的手指或手掌在第一区域中沿着点A到点B的方向的滑动输入(即第一输入),那么终端设备可以响应于该第一输入,选中第1页文本内容,即在第一输入为预设输入的情况下,终端设备可以选中即第一内容。Exemplarily, assuming that the preset input is a sliding input of the user's finger or palm in the first area as shown in (a) in FIG. 4 along the direction from point A to point B, the preset The input is used to trigger selecting the first content. If the terminal device receives a sliding input of the user's finger or palm along the direction from point A to point B in the first area (that is, the first input), then the terminal device can select the text on page 1 in response to the first input. Content, that is, when the first input is a preset input, the terminal device may select the first content.
示例性的,假设在预设输入为用户的手指或手掌在如图4中的(a)所示的第一区域中沿着点A到点D的方向的滑动输入的情况下,该预设输入用于触发选中第二内容。如果终端设备接收到用户的手指或手掌在第一区域中沿着点A到点D的方向的滑动输入(即第一输入),那么终端设备可以响应于该第一输入,选中第1页文本内容、第2页文本内容、……、以及第9页文本内容,即在第一输入为预设输入的情况下,终端设备可以选中第二内容。Exemplarily, assuming that the preset input is a sliding input of the user's finger or palm in the first area as shown in (a) in FIG. 4 along the direction from point A to point D, the preset The input is used to trigger selection of the second content. If the terminal device receives a sliding input of the user's finger or palm along the direction from point A to point D in the first area (that is, the first input), then the terminal device may select the text on page 1 in response to the first input. The content, the text content of the second page, ..., and the text content of the ninth page, that is, when the first input is a preset input, the terminal device can select the second content.
示例性的,假设在预设输入为用户的手指或手掌在如图4中的(a)所示的第一区域中沿着点A到点C的方向的滑动输入的情况下,该预设输入用于触发选中第三内容。如果终端设备接收到用户的手指或手掌在第一区域中沿着点A到点C的方向的滑动输入(即第一输入),那么终端设备可以响应于该第一输入,选中第2页文本内容、……、第9页文本内容,即在第一输入为预设输入的情况下,终端设备可以选中第三内容。Exemplarily, assuming that the preset input is a sliding input of the user's finger or palm in the first area as shown in (a) in FIG. 4 along the direction from point A to point C, the preset The input is used to trigger selection of the third content. If the terminal device receives a sliding input of the user's finger or palm along the direction from point A to point C in the first area (that is, the first input), then the terminal device can select the text on page 2 in response to the first input. Content, ..., the text content on page 9, that is, when the first input is a preset input, the terminal device can select the third content.
(2)、下面仍以第二内容包括第1页文本内容(即当前页面的文本内容)、第2页文本内容、……、以及第9页文本内容,且第一输入为对多个子选项的选择输入为例,对终端设备响应于第一输入,选中第一目标内容进行示例性说明:(2), the second content still includes the text content of the first page (that is, the text content of the current page), the text content of the second page, ..., and the text content of the ninth page, and the first input is for multiple sub-options As an example, the terminal device selects the first target content in response to the first input as an example:
示例性的,如果用户在终端设备的屏幕中沿着预设方向滑动手指或按压屏幕等,那么终端设备可以显示如图6中的(a)所示的第一界面05,该第一界面05可以包括9个子选项,每个子选项可以用于选中一个页面中的文本内容。如图6中的(b)所示,如果用户点击第一界面05中第2页文本内容对应的子选项“2”、第4页文本内容对应的子选项“4”、第9页文本内容对应的子选项“9”,那么终端设备可以响应于接收到的用户对这三个子选项的输入(即第一输入),选中用户从全部文本内容中随机选择(自定义选择)的文本内容(即第四内容),并显示如图6中的(c)所示的提示信息“提示信息:已选中第2页、第4页和第9页的文本内容”06。Exemplarily, if the user slides a finger or presses the screen in a preset direction on the screen of the terminal device, the terminal device may display a first interface 05 as shown in (a) in FIG. 6 , the first interface 05 It can include 9 sub-options, and each sub-option can be used to select text content in a page. As shown in (b) in Figure 6, if the user clicks the sub-option "2" corresponding to the text content on page 2 in the first interface 05, the sub-option "4" corresponding to the text content on page 4, and the text content on page 9 The corresponding sub-option "9", then the terminal device can select the text content ( That is, the fourth content), and display the prompt message "prompt message: the text content of the 2nd page, the 4th page and the 9th page have been selected" 06 as shown in (c) in FIG. 6 .
可选的,本发明实施例中,在选中第一目标内容之后,用户可以对第一目标内容进行目标操作,其中目标操作可以包括翻译操作、复制操作、分享操作和删除操作等。Optionally, in this embodiment of the present invention, after selecting the first target content, the user may perform target operations on the first target content, where the target operations may include translation operations, copy operations, share operations, and delete operations.
示例性的,用户可以通过对翻译控件的输入,触发终端设备对第一目标内容进行翻译,例如将第一目标内容由中文翻译为英文;或者,用户可以通过对复制控件的输入,触发终端设备复制第一目标内容;或者,用户可以通过对分享控件的输入,触发终端设备将第一目标内容分享至用户好友;或者,用户可以通过对删除控件的输入,触发终端设备从终端设备中删除第一目标内容。当然,用户还可以对第一目标内容进行其他任意可能的操作,具体可以根据实际使用需求确定,本发明实施例不作限定。Exemplarily, the user can trigger the terminal device to translate the first target content by inputting the translation control, for example, translate the first target content from Chinese to English; or, the user can trigger the terminal device to translate the first target content by inputting the copy control Copy the first target content; or, the user can trigger the terminal device to share the first target content with the user's friends by inputting the share control; or, the user can trigger the terminal device to delete the first target content from the terminal device by inputting the delete control. A target content. Of course, the user can also perform any other possible operations on the first target content, which can be determined according to actual usage requirements, and are not limited in this embodiment of the present invention.
本发明实施例提供一种内容选中方法,由于在终端设备中的内容(例如对目标图片识别后获取的文本内容)较多的情况下,用户可以通过预设的第一输入,触发终端设备选中全部内容(即第二内容),或者选中全部内容中除当前页面显示的内容外的内容(即第三内容),即用户无需触发终端设备切换显示内容的页面,而可以通过第一输入从全部内容中选中内容,因此可以简化选中内容的过程,并节省用户时间。The embodiment of the present invention provides a content selection method. Since there are many contents in the terminal device (for example, the text content obtained after identifying the target picture), the user can trigger the terminal device to select the content through the preset first input. All content (that is, the second content), or select all content except the content displayed on the current page (that is, the third content), that is, the user does not need to trigger the terminal device to switch the page that displays the content, but can use the first input from all Select content within content, thus simplifying the process of selecting content and saving users time.
可选的,结合图2,如图7所示,在上述S101中的“终端设备接收第一输入”之前,本发明实施例提供的内容选中方法还可以包括下述的S103和S104。相应的,上述S101中的“终端设备接收第一输入”具体可以通过下述的S101A实现,并且,上述S102具体可以通过下述的S102A或S102B实现。Optionally, referring to FIG. 2 , as shown in FIG. 7 , before the "terminal device receives the first input" in the above S101, the content selection method provided by the embodiment of the present invention may further include the following S103 and S104. Correspondingly, "the terminal device receives the first input" in the above S101 can be specifically implemented through the following S101A, and the above S102 can be specifically implemented through the following S102A or S102B.
S103、在终端设备显示第一内容的情况下,终端设备接收第二输入。S103. When the terminal device displays the first content, the terminal device receives a second input.
可选的,本发明实施例中,上述第二输入可以为触控输入、语音输入、手势输入或重力输入等。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in the embodiment of the present invention, the above-mentioned second input may be touch input, voice input, gesture input, or gravity input. Specifically, it may be determined according to actual usage requirements, and is not limited in this embodiment of the present invention.
可选的,本发明实施例中,S103具体可以包括:终端设备接收用户的手指或手掌在第一区域中沿第一方向的滑动输入。其中,该第一区域为终端设备的屏幕中第一内容所在的区域。Optionally, in this embodiment of the present invention, S103 may specifically include: the terminal device receiving a sliding input of the user's finger or palm in the first area along the first direction. Wherein, the first area is an area where the first content is located on the screen of the terminal device.
需要说明的是,本发明实施例对第一方向不作具体限定,具体可以根据实际使用需求确定。示例性的,仍以图4中的(a)所示的第一区域为例进行示例性说明,第一方向可以为由点A到点D的方向,或为由点B到点C的方向,或为由点A到点B的方向,或为由点D到点B的方向。It should be noted that the embodiment of the present invention does not specifically limit the first direction, which may be determined according to actual usage requirements. Exemplarily, the first area shown in (a) in FIG. 4 is still taken as an example for illustration, and the first direction may be the direction from point A to point D, or the direction from point B to point C , or the direction from point A to point B, or the direction from point D to point B.
可选的,终端设备接收用户的手指或手掌在第一区域中沿第一方向的滑动输入过程中,选中第五内容,第五内容为第一内容中的部分内容或者全部内容,将第五内容包含的字符数与预设阈值比较,在第五内容包含的字符数大于或者等于预设阈值时,触发执行步骤S104。Optionally, the terminal device selects the fifth content during the process of receiving the sliding input of the user's finger or palm along the first direction in the first area. The fifth content is part or all of the first content, and the fifth content is selected. The number of characters included in the content is compared with a preset threshold, and when the number of characters included in the fifth content is greater than or equal to the preset threshold, execution of step S104 is triggered.
S104、终端设备响应于该第二输入,显示目标选项,该目标选项包括第一选项和第二选项。S104. The terminal device displays target options in response to the second input, where the target options include a first option and a second option.
其中,上述第一选项可以用于选中第二内容,上述第二选项可以用于选中第三内容。Wherein, the above-mentioned first option may be used to select the second content, and the above-mentioned second option may be used to select the third content.
S101A、终端设备接收针对目标选项中的一个选项的第一输入。S101A. The terminal device receives a first input for one of the target options.
S102A、在该一个选项为第一选项的情况下,终端设备选中第二内容。S102A. When the one option is the first option, the terminal device selects the second content.
S102B、在该一个选项为第二选项的情况下,终端设备选中第三内容。S102B. When the one option is the second option, the terminal device selects the third content.
需要说明的是,上述实施例是以目标选项包括第一选项和第二选项为例进行示例性说明的,其并不对本发明实施例形成任何限定。可以理解,实际实现时,目标选项还可以包括其他可能的选项,具体可以根据实际使用需求确定。例如,目标选项还可以包括第三选项和第四选项,该第三选项可以用于选中第一内容,第四选项可以用于选中第四内容。It should be noted that, the foregoing embodiment is exemplified by taking the target option including the first option and the second option as an example, which does not limit the embodiment of the present invention in any way. It can be understood that in actual implementation, the target option may also include other possible options, which may be specifically determined according to actual usage requirements. For example, the target option may also include a third option and a fourth option, the third option may be used to select the first content, and the fourth option may be used to select the fourth content.
本发明实施例中,若第一输入为用户对第一选项的输入,则第一目标内容为第二内容;若第一输入为用户对第二选项的输入,则第一目标内容为第三内容;若第一输入为用户对第三选项的输入,则第一目标内容为第一内容;若第一输入为用户对第四选项的输入,则第一目标内容为第四内容。In the embodiment of the present invention, if the first input is the user's input on the first option, then the first target content is the second content; if the first input is the user's input on the second option, then the first target content is the third Content; if the first input is the user's input on the third option, then the first target content is the first content; if the first input is the user's input on the fourth option, then the first target content is the fourth content.
可选的,本发明实施例中,终端设备可以在终端设备的屏幕的预设区域中以预设透明度显示目标选项。例如,终端设备可以以预设透明度为30%,显示目标选项。Optionally, in this embodiment of the present invention, the terminal device may display target options with preset transparency in a preset area of the screen of the terminal device. For example, the terminal device may display target options with a preset transparency of 30%.
进一步的,本发明实施例中,用户可以在终端设备的屏幕中拖动目标选项,以触发终端设备更改目标选项在屏幕中的显示位置,即更改目标选项的显示区域。Further, in the embodiment of the present invention, the user can drag the target option on the screen of the terminal device to trigger the terminal device to change the display position of the target option on the screen, that is, to change the display area of the target option.
可选的,本发明实施例中,上述第四选项可以包括多个子选项,第四内容可以包括多个子内容。其中,每个子选项可以用于选中第四内容中的不同子内容。Optionally, in this embodiment of the present invention, the fourth option may include multiple sub-options, and the fourth content may include multiple sub-contents. Wherein, each sub-option can be used to select a different sub-content in the fourth content.
示例性的,图8中的(a)为本发明实施例提供的终端设备显示目标选项的示意图,图8中的(b)为对图8中的(a)中的目标选项的放大图。假设第二输入为在终端设备的屏幕的第一区域(该第一区域为终端设备的屏幕中第一内容所在的区域)中沿第一方向的滑动输入。如果终端设备接收到用户在屏幕中沿第一方向的滑动输入(即第二输入),那么终端设备可以响应于该第二输入,显示如图8中的(a)所示的目标选项07,该目标选项07可以包括第一选项071、第二选项072、第三选项073、第四选项074。如果用户点击第一选项071(或第二选项072、或第三选项073),那么终端设备可以选中第二内容(或第三内容、或第一内容);而如果用户点击第四选项074,那么终端设备可以将如图8中的(a)所示的界面切换为如图6中的(a)所示的第一界面05,且该第一界面05可以包括多个子选项。Exemplarily, (a) in FIG. 8 is a schematic diagram of target options displayed by a terminal device provided by an embodiment of the present invention, and (b) in FIG. 8 is an enlarged view of the target options in (a) in FIG. 8 . It is assumed that the second input is a sliding input along the first direction in the first area of the screen of the terminal device (the first area is the area of the screen of the terminal device where the first content is located). If the terminal device receives the user's sliding input (ie, the second input) along the first direction on the screen, the terminal device may respond to the second input and display the target option 07 as shown in (a) in FIG. 8 , The target option 07 may include a first option 071 , a second option 072 , a third option 073 , and a fourth option 074 . If the user clicks on the first option 071 (or the second option 072, or the third option 073), the terminal device can select the second content (or the third content, or the first content); and if the user clicks on the fourth option 074, Then the terminal device may switch the interface shown in (a) in FIG. 8 to the first interface 05 shown in (a) in FIG. 6 , and the first interface 05 may include multiple sub-options.
需要说明的是,对于用户选择多个子选项,以触发终端设备选中第四内容的具体描述,可以参照上述实施例中S102的相关描述,此处不再赘述。It should be noted that, for a specific description of the user selecting multiple sub-options to trigger the terminal device to select the fourth content, reference may be made to the relevant description of S102 in the foregoing embodiment, and details are not repeated here.
本发明实施例提供的内容选中方法,通过在终端设备的屏幕上显示不同的选项,可以使得用户通过对不同选项的输入(即通过不同的预设输入)选中不同的文本内容,从而提高了用户选择文本内容的灵活性和多样性。The content selection method provided by the embodiment of the present invention can enable the user to select different text content through the input of different options (that is, through different preset inputs) by displaying different options on the screen of the terminal device, thereby improving the user experience. Flexibility and variety in choosing text content.
可选的,结合图7,如图9所示,在上述S104之后,本发明实施例提供的内容选中方法还可以包括下述的S105和S106。并且,上述S101A可以通过下述的S101A1实现。Optionally, referring to FIG. 7, as shown in FIG. 9, after the above S104, the method for selecting content provided by the embodiment of the present invention may further include the following S105 and S106. Also, the above S101A can be realized by the following S101A1.
S105、在显示目标选项后,终端设备开始计时。S105. After the target option is displayed, the terminal device starts timing.
S106、若在该显示目标选项后的第一时长内未接收到针对该目标选项的输入,则终端设备在第一时长后执行以下任一项:选中第一内容、选中第二内容、选中第三内容。S106. If no input for the target option is received within the first time period after the target option is displayed, the terminal device performs any of the following items after the first time period: select the first content, select the second content, select the second content Three content.
S101A1、在显示该目标选项后的第一时长内,终端设备接收针对该目标选项中的一个选项的第一输入。S101A1. Within a first time period after the target option is displayed, the terminal device receives a first input for one of the target options.
需要说明的是,本发明实施例中,上述S106和S101A1择一执行。It should be noted that, in the embodiment of the present invention, one of the above S106 and S101A1 is executed.
对于目标选项的具体描述,可以参见上述实施例中的S104的相关描述,此处不再赘述。For a specific description of the target option, reference may be made to the relevant description of S104 in the foregoing embodiment, and details are not repeated here.
可选的,本发明实施例中,上述第一时长可以为5秒、10秒、60秒等。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the first duration may be 5 seconds, 10 seconds, 60 seconds, and so on. Specifically, it may be determined according to actual usage requirements, and is not limited in this embodiment of the present invention.
示例性的,以第一时长为10秒为例进行示例性说明。在终端设备显示目标选项后,终端设备可以开启计时器,并开始计时。如果在计时时长达到10秒之前,终端设备未接收到用户对目标选项中任一选项的输入,那么终端设备可以执行默认操作,例如该默认操作可以为选中第一内容、选中第二内容、选中第三内容;而如果在计时时长达到10秒之前,终端设备接收到用户对目标选项中的一个选项的输入,那么终端设备可以选中与该一个选项对应的文本内容,例如终端设备接收到用户对第一选项的输入,那么终端设备可以选中全部文本内容(即第二内容)。Exemplarily, the first duration is 10 seconds as an example for illustration. After the terminal device displays the target options, the terminal device can start the timer and start timing. If the terminal device does not receive any input from the user on any of the target options before the timing reaches 10 seconds, the terminal device can perform a default operation. For example, the default operation can be selecting the first content, selecting the second content, selecting The third content; and if the terminal device receives the user's input of one of the target options before the timing reaches 10 seconds, then the terminal device can select the text content corresponding to the one option, for example, the terminal device receives the user's input of an option input of the first option, then the terminal device can select all text content (that is, the second content).
本发明实施例提供的内容选中方法,由于在显示目标选项后的第一时长内未接收到对目标选项的输入的情况下,终端设备可以执行默认操作,自动选中某些文本内容,因此提高了终端设备选中文本内容的灵活性。In the content selection method provided by the embodiment of the present invention, since the terminal device can perform a default operation and automatically select some text content when no input to the target option is received within the first time period after the target option is displayed, it improves the efficiency of the content selection method. The flexibility with which text content can be selected by the end device.
可选的,结合图7,如图10所示,在上述S101A之后,本发明实施例提供的内容选中方法还可以包括下述的S107和S108,或者可以包括下述的S107和S109。Optionally, referring to FIG. 7 , as shown in FIG. 10 , after the above S101A, the content selection method provided by the embodiment of the present invention may further include the following S107 and S108, or may include the following S107 and S109.
S107、在接收到第一输入后,终端设备开始计时。S107. After receiving the first input, the terminal device starts timing.
本发明实施例中,在接收到第一输入后,终端设备可以开启计时器,并开始计时,并在第二时长内保持显示目标选项。In the embodiment of the present invention, after receiving the first input, the terminal device may start the timer, start timing, and keep displaying the target option within the second duration.
S108、若在接收到第一输入后的第二时长内,接收到针对目标选项中的另一个选项的第三输入,则终端设备响应于该第三输入,取消选中第一目标内容,并选中第二目标内容。S108. If within the second time period after receiving the first input, a third input for another option among the target options is received, the terminal device unselects the first target content in response to the third input, and selects Second target content.
其中,上述第二目标内容可以为第二内容中的内容。Wherein, the above-mentioned second target content may be the content in the second content.
本发明实施例中,上述第三输入可以为对目标选项中的另一个选项的输入。In this embodiment of the present invention, the above-mentioned third input may be an input to another option in the target option.
可选的,本发明实施例中,上述第二目标内容与第一目标内容可以不同。Optionally, in this embodiment of the present invention, the foregoing second target content may be different from the first target content.
示例性的,若第一输入为对目标选项中的第一选项的输入,且第三输入为对目标选项中的第二选项的输入,则终端设备可以响应于该第三输入,取消选中第二内容(即第一目标内容),并选中第三内容(即第二目标内容),以及重新开始计时。Exemplarily, if the first input is an input to the first option in the target options, and the third input is an input to the second option in the target options, the terminal device may respond to the third input by deselecting the first option. The second content (i.e. the first target content), and the third content (i.e. the second target content) is selected, and the timing is restarted.
示例性的,若第一输入为对目标选项中的第二选项的输入,且第三输入为对目标选项中的第一选项的输入,则终端设备可以响应于该第三输入,取消选中第三内容(即第一目标内容),并选中第二内容(即第二目标内容),以及重新开始计时。Exemplarily, if the first input is an input to the second option in the target options, and the third input is an input to the first option in the target options, the terminal device may respond to the third input by canceling the selection of the second option. Three contents (ie, the first target content), and select the second content (ie, the second target content), and start timing again.
示例性的,若第一输入为对目标选项中的第一选项的输入,且第三输入为对目标选项中的第三选项的输入,则终端设备可以响应于该第三输入,取消选中第二内容(即第一目标内容),并选中第一内容(即第二目标内容),以及重新开始计时。Exemplarily, if the first input is an input to the first option in the target options, and the third input is an input to the third option in the target options, the terminal device may respond to the third input by canceling the selection of the first option. Second content (ie the first target content), and select the first content (ie the second target content), and start timing again.
示例性的,若第一输入为对目标选项中的第二选项的输入,且第三输入为对目标选项中的第三选项的输入,则终端设备可以响应于该第三输入,取消选中第三内容(即第一目标内容),并选中第一内容(即第二目标内容),以及重新开始计时。Exemplarily, if the first input is an input to the second option in the target options, and the third input is an input to the third option in the target options, then the terminal device may respond to the third input by deselecting the second option. Three contents (ie, the first target content), and select the first content (ie, the second target content), and start timing again.
可选的,本发明实施例中,第二时长可以为10秒、20秒、30秒等。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in this embodiment of the present invention, the second duration may be 10 seconds, 20 seconds, 30 seconds, and so on. Specifically, it may be determined according to actual usage requirements, and is not limited in this embodiment of the present invention.
S109、若在接收到第一输入后的第二时长内,未接收到针对目标选项中的另一个选项的第三输入,则终端设备在该第二时长之后,取消显示目标选项。S109. If a third input for another option in the target options is not received within a second time period after receiving the first input, the terminal device cancels displaying the target option after the second time period.
对于第三输入的具体描述,可以参见上述实施例中S108的相关描述,此处不再赘述。For a specific description of the third input, reference may be made to the relevant description of S108 in the foregoing embodiment, and details are not repeated here.
示例性的,在接收到第一输入后,终端设备可以开始计时器,并开始计时。如果在第二时长内未接收到用户的第三输入,那么在计时时长达到该第二时长之后,终端设备可以取消显示目标选项。Exemplarily, after receiving the first input, the terminal device may start a timer and start timing. If the third input from the user is not received within the second time period, the terminal device may cancel the display of the target option after the timing period reaches the second time period.
需要说明的是,本发明实施例上述图10是以终端设备先执行S102A(或S102B),再执行S107为例进行示例性说明的,其并不对本发明实施例形成任何限定。可以理解,实际实现时,终端设备也可以同时执行S102A(或S102B)、S107;或者还可以先执行S107,再执行S102A(或S102B),具体可以根据实际使用需求确定。It should be noted that, the above-mentioned FIG. 10 of the embodiment of the present invention is an example in which the terminal device executes S102A (or S102B) first, and then executes S107 as an example, which does not form any limitation to the embodiment of the present invention. It can be understood that in actual implementation, the terminal device can also execute S102A (or S102B) and S107 at the same time; or it can also execute S107 first, and then execute S102A (or S102B), which can be determined according to actual usage requirements.
本发明实施例提供的内容选中方法,由于在接收到第一输入后的第二时长内,终端设备可以保持显示目标选项,因此使得用户可以根据需求确定是否重新选择文本内容,从而可以提高用户的体验感。In the content selection method provided by the embodiment of the present invention, since the terminal device can keep displaying the target option within the second period of time after receiving the first input, the user can determine whether to reselect the text content according to the requirement, thereby improving the user's sense of experience.
可选的,本发明实施例中,在第一输入为用户的手指或手掌在第一平面上沿第二方向的输入的情况下,第一目标内容可以为第二内容。相应的,本发明实施例提供的内容选中方法还可以包括下述的S110和S111。Optionally, in this embodiment of the present invention, in a case where the first input is an input of the user's finger or palm along the second direction on the first plane, the first target content may be the second content. Correspondingly, the content selection method provided by the embodiment of the present invention may also include the following S110 and S111.
S110、终端设备接收用户的第四输入。S110. The terminal device receives a fourth input from the user.
S111、终端设备响应于该第四输入,取消选中第二内容。S111. The terminal device unselects the second content in response to the fourth input.
其中,上述第四输入可以为用户的手指或手掌在第一平面上沿第三方向的输入。该第三方向与第二方向不同。Wherein, the above-mentioned fourth input may be an input along the third direction on the first plane by the user's finger or palm. The third direction is different from the second direction.
示例性的,以第二方向为如图5中的(a)和如图5中的(b)所示的由终端设备的顶部E到终端设备的底部F的方向,第三方向为如图11中的(a)和如图11中的(b)所示的由终端设备的底部F到终端设备的顶部E的方向,且该第二方向与该第三方向相反为例进行示例性说明:Exemplarily, the second direction is the direction from the top E of the terminal device to the bottom F of the terminal device as shown in (a) in FIG. 5 and (b) in FIG. 5 , and the third direction is as shown in FIG. (a) in 11 and the direction from the bottom F of the terminal device to the top E of the terminal device as shown in (b) in Figure 11, and the second direction is opposite to the third direction as an example for illustration :
如图5中的(a)和如图5中的(b)所示,用户的手指或手掌可以在第一平面上沿着由终端设备的顶部E到终端设备的底部F的方向运动,如果终端设备接收到用户在第一平面上沿着由终端设备的顶部E到终端设备的底部F的方向的滑动输入(即第一输入),那么终端设备可以响应于该第一输入,选中第二内容,并显示如图5中的(c)所示的提示信息“提示信息:已全选所有文本内容”04。As shown in (a) in FIG. 5 and (b) in FIG. 5 , the user's finger or palm can move along the direction from the top E of the terminal device to the bottom F of the terminal device on the first plane, if The terminal device receives the user's sliding input (that is, the first input) along the direction from the top E of the terminal device to the bottom F of the terminal device on the first plane, then the terminal device can select the second input in response to the first input. content, and display the prompt message "Prompt message: All text content has been selected" 04 as shown in (c) in FIG. 5 .
如图11中的(a)和如图11中的(b)所示,用户的手指或手掌可以在第一平面上沿着由终端设备的底部F到终端设备的顶部E的方向运动。如果终端设备接收到用户在第一平面上沿着由终端设备的底部F到终端设备的顶部E的方向的滑动输入(即第四输入),那么终端设备可以响应于该第四输入,取消选中第二内容,并显示如图11中的(c)所示的提示信息“提示信息:已取消全选所有文本内容”08。As shown in (a) in FIG. 11 and (b) in FIG. 11 , the user's finger or palm can move along the direction from the bottom F of the terminal device to the top E of the terminal device on the first plane. If the terminal device receives the user's sliding input (that is, the fourth input) along the direction from the bottom F of the terminal device to the top E of the terminal device on the first plane, the terminal device may respond to the fourth input by unselecting The second content, and display the prompt message "Prompt message: All text content has been unselected" 08 as shown in (c) in FIG. 11 .
本发明实施例提供的内容选中方法,在用户的指或手掌与屏幕在一定距离内的情况下,由于用户可以通过不接触屏幕而控制终端设备选中文本内容或取消选中文本内容,因此可以避免用户手上有水或脏物等而不便直接触摸屏幕,从而可以提高用户的体验感。In the content selection method provided by the embodiment of the present invention, when the user's finger or palm is within a certain distance from the screen, since the user can control the terminal device to select or unselect the text content without touching the screen, it can prevent the user from It is inconvenient to directly touch the screen if there is water or dirt on the hand, which can improve the user experience.
如图12所示,本发明实施例提供一种终端设备1200。该终端设备可以包括接收模块1201、处理模块1202和显示模块1203。其中,接收模块1201,可以用于在显示模块1203显示第一内容的情况下,接收第一输入,该第一内容可以为第二内容中的部分内容;处理模块1202,可以用于响应于接收模块1201接收的该第一输入,选中第一目标内容,该第一目标内容可以为第二内容或第三内容。其中,该第三内容可以为该第二内容中除该第一内容之外的内容,该第二内容和该第三内容可以为通过预设输入选择的内容。As shown in FIG. 12 , an embodiment of the present invention provides a terminal device 1200 . The terminal device may include a receiving module 1201 , a processing module 1202 and a display module 1203 . Wherein, the receiving module 1201 may be configured to receive the first input when the display module 1203 displays the first content, and the first content may be part of the second content; the processing module 1202 may be configured to respond to receiving The first input received by module 1201 selects the first target content, and the first target content may be the second content or the third content. Wherein, the third content may be content other than the first content in the second content, and the second content and the third content may be content selected through preset input.
可选的,本发明实施例中,接收模块1201,还可以用于在接收第一输入之前,接收第二输入。显示模块1203,还可以用于响应于接收模块1201接收的该第二输入,显示目标选项,该目标选项可以包括第一选项和第二选项。接收模块1201,具体可以用于接收针对该目标选项中的一个选项的第一输入。处理模块1202,具体可以用于:在该一个选项为第一选项的情况下,选中第二内容;或者,在该一个选项为第二选项的情况下,选中第三内容。Optionally, in this embodiment of the present invention, the receiving module 1201 may also be configured to receive a second input before receiving the first input. The display module 1203 may also be configured to display target options in response to the second input received by the receiving module 1201, where the target options may include a first option and a second option. The receiving module 1201 may be specifically configured to receive a first input for one of the target options. The processing module 1202 may specifically be configured to: select the second content when the one option is the first option; or select the third content when the one option is the second option.
可选的,本发明实施例中,接收模块1201,具体可以用于接收用户的手指或手掌在第一区域中沿第一方向的滑动输入,该第一区域可以为终端设备的屏幕中第一内容所在的区域。Optionally, in this embodiment of the present invention, the receiving module 1201 may be specifically configured to receive a sliding input of the user's finger or palm along the first direction in the first area, and the first area may be the first area on the screen of the terminal device. The region where the content resides.
可选的,本发明实施例中,接收模块1201,具体可以用于在显示模块1203显示目标选项后的第一时长内,接收针对一个选项的第一输入。处理模块1202,还可以用于若接收模块1201在显示模块1203显示该目标选项后的第一时长内未接收到针对该目标选项的输入,则在第一时长后执行以下任一项:选中第一内容、选中第二内容、选中第三内容。Optionally, in this embodiment of the present invention, the receiving module 1201 may specifically be configured to receive a first input for an option within a first time period after the display module 1203 displays the target option. The processing module 1202 may also be configured to perform any of the following items after the first time period after the display module 1203 displays the target option if the receiving module 1201 does not receive an input for the target option within the first time period after the display module 1203 displays the target option: One content, select the second content, select the third content.
可选的,本发明实施例中,处理模块1202,还可以用于:若在接收模块1201接收到第一输入后的第二时长内,接收到针对目标选项中的另一个选项的第三输入,则响应于该第三输入,取消选中第一目标内容,并选中第二目标内容,该第二目标内容可以为第二内容中的内容;或者,若在接收模块1201接收到第一输入后的第二时长内,未接收到第三输入,则在第二时长之后,取消显示目标选项。Optionally, in this embodiment of the present invention, the processing module 1202 may also be configured to: if within the second time period after the receiving module 1201 receives the first input, a third input for another option among the target options is received , then in response to the third input, uncheck the first target content and select the second target content, the second target content may be the content in the second content; or, if the receiving module 1201 receives the first input If the third input is not received within the second time period, the display of the target option is canceled after the second time period.
可选的,本发明实施例中,上述第一输入可以为用户的手指或手掌在第一平面上沿第二方向的输入,该第一平面与终端设备的屏幕所在平面之间的距离小于或等于预设距离。第一目标内容可以为第二内容。Optionally, in this embodiment of the present invention, the above-mentioned first input may be an input of the user's finger or palm along the second direction on the first plane, and the distance between the first plane and the plane where the screen of the terminal device is located is less than or equal to the preset distance. The first target content may be the second content.
可选的,本发明实施例中,接收模块1201,还可以用于在处理模块1202选中第一目标内容之后,接收第四输入。处理模块1202,还可以用于响应于接收模块1201接收的该第四输入,取消选中第二内容。其中,该第四输入可以为用户的手指或手掌在第一平面上沿第三方向的输入,第三方向与第二方向不同。Optionally, in this embodiment of the present invention, the receiving module 1201 may also be configured to receive a fourth input after the processing module 1202 selects the first target content. The processing module 1202 may also be configured to unselect the second content in response to the fourth input received by the receiving module 1201 . Wherein, the fourth input may be an input of the user's finger or palm on the first plane along a third direction, and the third direction is different from the second direction.
可选的,本发明实施例中,第二内容可以为对目标图片识别后获取的全部内容。Optionally, in this embodiment of the present invention, the second content may be all content acquired after the target picture is identified.
本发明实施例提供的终端设备能够实现上述方法实施例中终端设备实现的各个过程,为避免重复,这里不再赘述。The terminal device provided by the embodiment of the present invention can implement various processes implemented by the terminal device in the foregoing method embodiments, and to avoid repetition, details are not repeated here.
本发明实施例提供一种终端设备,由于在终端设备中的内容(例如对目标图片识别后获取的内容)较多的情况下,终端设备可以响应于用户的第一输入,选中全部内容(即第二内容),或者选中全部内容中除当前页面显示的内容外的内容(即第三内容),即用户无需触发终端设备切换显示内容的页面,而可以通过第一输入从全部内容中选中内容,因此本发明实施例提供的终端设备可以简化选中内容的过程,并节省用户时间。An embodiment of the present invention provides a terminal device. Since there are many contents in the terminal device (for example, the content acquired after identifying the target picture), the terminal device can select all the contents in response to the user's first input (that is, the second content), or select all content except the content displayed on the current page (that is, the third content), that is, the user does not need to trigger the terminal device to switch the page displaying the content, but can select the content from all the content through the first input , so the terminal device provided in the embodiment of the present invention can simplify the process of selecting content and save user time.
图13为实现本发明各个实施例的一种终端设备的硬件结构示意图。如图13所示,该终端设备200包括但不限于:射频单元201、网络模块202、音频输出单元203、输入单元204、传感器205、显示单元206、用户输入单元207、接口单元208、存储器209、处理器210、以及电源211等部件。本领域技术人员可以理解,图13中示出的终端设备结构并不构成对终端设备的限定,终端设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,终端设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端设备、可穿戴设备、以及计步器等。Fig. 13 is a schematic diagram of a hardware structure of a terminal device implementing various embodiments of the present invention. As shown in Figure 13, the terminal device 200 includes, but is not limited to: a radio frequency unit 201, a network module 202, an audio output unit 203, an input unit 204, a sensor 205, a display unit 206, a user input unit 207, an interface unit 208, and a memory 209 , processor 210, and power supply 211 and other components. Those skilled in the art can understand that the terminal device structure shown in Figure 13 does not constitute a limitation on the terminal device, and the terminal device may include more or less components than shown in the figure, or combine some components, or different components layout. In the embodiment of the present invention, the terminal devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminal devices, wearable devices, and pedometers.
其中,用户输入单元207,可以用于在显示单元206显示第一内容的情况下,接收第一输入,该第一内容可以为第二内容中的部分内容;处理器210,可以用于响应于用户输入单元207接收的该第一输入,选中第一目标内容,该第一目标内容可以为第二内容或第三内容。该第三内容可以为该第二内容中除该第一内容之外的内容,该第二内容和该第三内容可以为通过预设输入选择的内容。Wherein, the user input unit 207 may be configured to receive a first input when the display unit 206 displays the first content, and the first content may be part of the second content; the processor 210 may be configured to respond to The first input received by the user input unit 207 selects the first target content, and the first target content may be the second content or the third content. The third content may be content other than the first content in the second content, and the second content and the third content may be content selected through preset input.
本发明实施例提供一种终端设备,由于在终端设备中的内容(例如对目标图片识别后获取的内容)较多的情况下,终端设备可以响应于用户的第一输入,选中全部内容(即第二内容),或者选中全部内容中除当前页面显示的内容外的内容(即第三内容),即用户无需触发终端设备切换显示内容的页面,而可以通过第一输入从全部内容中选中内容,因此本发明实施例提供的终端设备可以简化选中内容的过程,并节省用户时间。An embodiment of the present invention provides a terminal device. Since there are many contents in the terminal device (for example, the content acquired after identifying the target picture), the terminal device can select all the contents in response to the user's first input (that is, the second content), or select all content except the content displayed on the current page (that is, the third content), that is, the user does not need to trigger the terminal device to switch the page displaying the content, but can select the content from all the content through the first input , so the terminal device provided in the embodiment of the present invention can simplify the process of selecting content and save user time.
应理解的是,本发明实施例中,射频单元201可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器210处理;另外,将上行的数据发送给基站。通常,射频单元201包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元201还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 201 can be used for receiving and sending signals during sending and receiving information or during a call. Specifically, the downlink data from the base station is received and processed by the processor 210; Uplink data is sent to the base station. Generally, the radio frequency unit 201 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 201 can also communicate with the network and other devices through a wireless communication system.
终端设备通过网络模块202为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The terminal device provides users with wireless broadband Internet access through the network module 202, such as helping users send and receive emails, browse web pages, and access streaming media.
音频输出单元203可以将射频单元201或网络模块202接收的或者在存储器209中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元203还可以提供与终端设备200执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元203包括扬声器、蜂鸣器以及受话器等。The audio output unit 203 may convert audio data received by the radio frequency unit 201 or the network module 202 or stored in the memory 209 into an audio signal and output as sound. Also, the audio output unit 203 may also provide audio output related to a specific function performed by the terminal device 200 (eg, call signal reception sound, message reception sound, etc.). The audio output unit 203 includes a speaker, a buzzer, a receiver and the like.
输入单元204用于接收音频或视频信号。输入单元204可以包括图形处理器(GraphicsProcessing Unit,GPU)2041和麦克风2042,图形处理器2041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元206上。经图形处理器2041处理后的图像帧可以存储在存储器209(或其它存储介质)中或者经由射频单元201或网络模块202进行发送。麦克风2042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元201发送到移动通信基站的格式输出。The input unit 204 is used for receiving audio or video signals. The input unit 204 may include a graphics processing unit (Graphics Processing Unit, GPU) 2041 and a microphone 2042, and the graphics processing unit 2041 is used for image data of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. to process. The processed image frames may be displayed on the display unit 206 . The image frames processed by the graphics processor 2041 may be stored in the memory 209 (or other storage media) or sent via the radio frequency unit 201 or the network module 202 . The microphone 2042 can receive sound, and can process such sound 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 201 for output in the case of a phone call mode.
终端设备200还包括至少一种传感器205,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板2061的亮度,接近传感器可在终端设备200移动到耳边时,关闭显示面板2061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器205还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The terminal device 200 also includes at least one sensor 205, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 2061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 2061 and the / or backlighting. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the posture of terminal equipment (such as horizontal and vertical screen switching, related games) , magnetometer attitude calibration), vibration recognition-related functions (such as pedometer, knocking), etc.; the sensor 205 can also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, Infrared sensors, etc., will not be repeated here.
显示单元206用于显示由用户输入的信息或提供给用户的信息。显示单元206可包括显示面板2061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板2061。The display unit 206 is used to display information input by the user or information provided to the user. The display unit 206 may include a display panel 2061, and the display panel 2061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.
用户输入单元207可用于接收输入的数字或字符信息,以及产生与终端设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元207包括触控面板2071以及其他输入设备2072。触控面板2071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板2071上或在触控面板2071附近的操作)。触控面板2071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器210,接收处理器210发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板2071。除了触控面板2071,用户输入单元207还可以包括其他输入设备2072。具体地,其他输入设备2072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 207 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the terminal device. Specifically, the user input unit 207 includes a touch panel 2071 and other input devices 2072 . The touch panel 2071, also referred to as a touch screen, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 2071 or near the touch panel 2071). operate). The touch panel 2071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and 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 coordinates, and sends it to the For the processor 210, receive the command sent by the processor 210 and execute it. In addition, the touch panel 2071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 2071 , the user input unit 207 may also include other input devices 2072 . Specifically, other input devices 2072 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 repeated here.
进一步的,触控面板2071可覆盖在显示面板2061上,当触控面板2071检测到在其上或附近的触摸操作后,传送给处理器210以确定触摸事件的类型,随后处理器210根据触摸事件的类型在显示面板2061上提供相应的视觉输出。虽然在图13中,触控面板2071与显示面板2061是作为两个独立的部件来实现终端设备的输入和输出功能,但是在某些实施例中,可以将触控面板2071与显示面板2061集成而实现终端设备的输入和输出功能,具体此处不做限定。Furthermore, the touch panel 2071 can be covered on the display panel 2061, and when the touch panel 2071 detects a touch operation on or near it, it will be sent to the processor 210 to determine the type of the touch event, and then the processor 210 will The type of event provides a corresponding visual output on the display panel 2061 . Although in FIG. 13, the touch panel 2071 and the display panel 2061 are used as two independent components to realize the input and output functions of the terminal device, in some embodiments, the touch panel 2071 and the display panel 2061 can be integrated. The implementation of the input and output functions of the terminal device is not specifically limited here.
接口单元208为外部装置与终端设备200连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元208可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端设备200内的一个或多个元件或者可以用于在终端设备200和外部装置之间传输数据。The interface unit 208 is an interface for connecting an external device to the terminal device 200 . For example, an external device may include a wired or wireless headset 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) ports, video I/O ports, headphone ports, and more. The interface unit 208 can be used to receive input from an external device (for example, data information, power, etc.) transfer data between devices.
存储器209可用于存储软件程序以及各种数据。存储器209可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器209可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 209 can be used to store software programs as well as various data. The memory 209 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); Data created by the use of mobile phones (such as audio data, phonebook, etc.), etc. In addition, the memory 209 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.
处理器210是终端设备的控制中心,利用各种接口和线路连接整个终端设备的各个部分,通过运行或执行存储在存储器209内的软件程序和/或模块,以及调用存储在存储器209内的数据,执行终端设备的各种功能和处理数据,从而对终端设备进行整体监控。处理器210可包括一个或多个处理单元;可选的,处理器210可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器210中。The processor 210 is the control center of the terminal equipment, and uses various interfaces and lines to connect various parts of the entire terminal equipment, by running or executing software programs and/or modules stored in the memory 209, and calling data stored in the memory 209 , execute various functions of the terminal equipment and process data, so as to monitor the terminal equipment as a whole. The processor 210 may include one or more processing units; optionally, the processor 210 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem The tuner processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 210 .
终端设备200还可以包括给各个部件供电的电源211(比如电池),可选的,电源211可以通过电源管理系统与处理器210逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The terminal device 200 may also include a power supply 211 (such as a battery) for supplying power to various components. Optionally, the power supply 211 may be logically connected to the processor 210 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
另外,终端设备200包括一些未示出的功能模块,在此不再赘述。In addition, the terminal device 200 includes some functional modules not shown, which will not be repeated here.
可选的,本发明实施例还提供一种终端设备,包括如图13所示的处理器210,存储器209,存储在存储器209上并可在处理器210上运行的计算机程序,该计算机程序被处理器210执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, this embodiment of the present invention also provides a terminal device, including a processor 210 as shown in FIG. When executed by the processor 210, various processes of the foregoing method embodiments can be achieved, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, each process of the above-mentioned method embodiment can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here. Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例描述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to enable a terminal device (which may 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.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。Embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementations, and the above-mentioned specific implementations are only illustrative, rather than restrictive, and those of ordinary skill in the art will Under the enlightenment of the present invention, without departing from the gist of the present invention and the protection scope of the claims, many forms can also be made, all of which belong to the protection of the present invention.
Claims (18)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910323232.3A CN110232174A (en) | 2019-04-22 | 2019-04-22 | A kind of content chooses method and terminal device |
PCT/CN2020/081209 WO2020215967A1 (en) | 2019-04-22 | 2020-03-25 | Content selection method and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910323232.3A CN110232174A (en) | 2019-04-22 | 2019-04-22 | A kind of content chooses method and terminal device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110232174A true CN110232174A (en) | 2019-09-13 |
Family
ID=67860194
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910323232.3A Pending CN110232174A (en) | 2019-04-22 | 2019-04-22 | A kind of content chooses method and terminal device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110232174A (en) |
WO (1) | WO2020215967A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111752461A (en) * | 2020-06-18 | 2020-10-09 | Oppo广东移动通信有限公司 | Content display method and device, electronic equipment and storage medium |
WO2020215967A1 (en) * | 2019-04-22 | 2020-10-29 | 维沃移动通信有限公司 | Content selection method and terminal device |
CN112445403A (en) * | 2020-11-30 | 2021-03-05 | 北京搜狗科技发展有限公司 | Text processing method and device and text processing device |
CN114706507A (en) * | 2022-04-27 | 2022-07-05 | 北京达佳互联信息技术有限公司 | Content display method, device, electronic device, and storage medium |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1929488A (en) * | 2006-10-08 | 2007-03-14 | 华为技术有限公司 | Method and device for operation in multiple pages based on server paging |
CN102236854A (en) * | 2010-05-07 | 2011-11-09 | 阿里巴巴集团控股有限公司 | Method of processing user selection information and apparatus thereof |
CN103064626A (en) * | 2012-12-31 | 2013-04-24 | 中兴通讯股份有限公司 | Touch screen terminal and method for achieving check function thereof |
CN103941969A (en) * | 2014-03-27 | 2014-07-23 | 小米科技有限责任公司 | Menu display method and device |
CN104142789A (en) * | 2013-05-07 | 2014-11-12 | 腾讯科技(深圳)有限公司 | Content selection method, content selection device and terminal |
CN106066760A (en) * | 2016-05-26 | 2016-11-02 | 北京金山安全软件有限公司 | Word processing method and device |
CN106371731A (en) * | 2016-09-26 | 2017-02-01 | 宇龙计算机通信科技(深圳)有限公司 | Page edition function realizing method and terminal |
CN107632773A (en) * | 2017-10-17 | 2018-01-26 | 北京百度网讯科技有限公司 | For obtaining the method and device of information |
CN108874279A (en) * | 2018-05-04 | 2018-11-23 | 珠海格力电器股份有限公司 | Selection method and device, terminal equipment and readable storage medium |
CN108874260A (en) * | 2018-05-30 | 2018-11-23 | 维沃移动通信有限公司 | A kind of text handling method and terminal device |
CN109144361A (en) * | 2018-07-09 | 2019-01-04 | 维沃移动通信有限公司 | A kind of image processing method and terminal device |
CN109460177A (en) * | 2018-09-27 | 2019-03-12 | 维沃移动通信有限公司 | A kind of image processing method and terminal device |
CN109491952A (en) * | 2018-11-27 | 2019-03-19 | 掌阅科技股份有限公司 | Cross-page selection text method, electronic equipment and computer storage medium |
CN110096188A (en) * | 2019-03-29 | 2019-08-06 | 北京点众科技股份有限公司 | A kind of method and device for choosing content of pages in ocr software |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102866827B (en) * | 2012-08-21 | 2016-03-23 | 刘炳林 | The document edit method of a kind of human-computer interaction device and device |
CN102880418A (en) * | 2012-09-14 | 2013-01-16 | 广州市动景计算机科技有限公司 | Method and device for selecting text based on touch screen type mobile terminal |
CN109634494A (en) * | 2018-11-12 | 2019-04-16 | 维沃移动通信有限公司 | A kind of image processing method and terminal device |
CN109614061B (en) * | 2018-11-27 | 2022-05-17 | 维沃移动通信有限公司 | Display method and terminal |
CN110232174A (en) * | 2019-04-22 | 2019-09-13 | 维沃移动通信有限公司 | A kind of content chooses method and terminal device |
-
2019
- 2019-04-22 CN CN201910323232.3A patent/CN110232174A/en active Pending
-
2020
- 2020-03-25 WO PCT/CN2020/081209 patent/WO2020215967A1/en active Application Filing
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1929488A (en) * | 2006-10-08 | 2007-03-14 | 华为技术有限公司 | Method and device for operation in multiple pages based on server paging |
CN102236854A (en) * | 2010-05-07 | 2011-11-09 | 阿里巴巴集团控股有限公司 | Method of processing user selection information and apparatus thereof |
CN103064626A (en) * | 2012-12-31 | 2013-04-24 | 中兴通讯股份有限公司 | Touch screen terminal and method for achieving check function thereof |
CN104142789A (en) * | 2013-05-07 | 2014-11-12 | 腾讯科技(深圳)有限公司 | Content selection method, content selection device and terminal |
CN103941969A (en) * | 2014-03-27 | 2014-07-23 | 小米科技有限责任公司 | Menu display method and device |
CN106066760A (en) * | 2016-05-26 | 2016-11-02 | 北京金山安全软件有限公司 | Word processing method and device |
CN106371731A (en) * | 2016-09-26 | 2017-02-01 | 宇龙计算机通信科技(深圳)有限公司 | Page edition function realizing method and terminal |
CN107632773A (en) * | 2017-10-17 | 2018-01-26 | 北京百度网讯科技有限公司 | For obtaining the method and device of information |
CN108874279A (en) * | 2018-05-04 | 2018-11-23 | 珠海格力电器股份有限公司 | Selection method and device, terminal equipment and readable storage medium |
CN108874260A (en) * | 2018-05-30 | 2018-11-23 | 维沃移动通信有限公司 | A kind of text handling method and terminal device |
CN109144361A (en) * | 2018-07-09 | 2019-01-04 | 维沃移动通信有限公司 | A kind of image processing method and terminal device |
CN109460177A (en) * | 2018-09-27 | 2019-03-12 | 维沃移动通信有限公司 | A kind of image processing method and terminal device |
CN109491952A (en) * | 2018-11-27 | 2019-03-19 | 掌阅科技股份有限公司 | Cross-page selection text method, electronic equipment and computer storage medium |
CN110096188A (en) * | 2019-03-29 | 2019-08-06 | 北京点众科技股份有限公司 | A kind of method and device for choosing content of pages in ocr software |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020215967A1 (en) * | 2019-04-22 | 2020-10-29 | 维沃移动通信有限公司 | Content selection method and terminal device |
CN111752461A (en) * | 2020-06-18 | 2020-10-09 | Oppo广东移动通信有限公司 | Content display method and device, electronic equipment and storage medium |
CN112445403A (en) * | 2020-11-30 | 2021-03-05 | 北京搜狗科技发展有限公司 | Text processing method and device and text processing device |
CN114706507A (en) * | 2022-04-27 | 2022-07-05 | 北京达佳互联信息技术有限公司 | Content display method, device, electronic device, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2020215967A1 (en) | 2020-10-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021218902A1 (en) | Display control method and apparatus, and electronic device | |
WO2020258929A1 (en) | Folder interface switching method and terminal device | |
WO2021083132A1 (en) | Icon moving method and electronic device | |
CN108595237A (en) | A kind of method and terminal of display content | |
CN108471498A (en) | A kind of shooting preview method and terminal | |
WO2020215967A1 (en) | Content selection method and terminal device | |
CN108881624A (en) | A kind of message display method and terminal device | |
WO2021169954A1 (en) | Search method and electronic device | |
WO2021129536A1 (en) | Icon moving method and electronic device | |
CN111026350A (en) | Display control method and electronic equipment | |
US20220043564A1 (en) | Method for inputting content and terminal device | |
CN108733282A (en) | A kind of page moving method and terminal device | |
CN108763541A (en) | A kind of page display method and terminal | |
WO2021017738A1 (en) | Interface display method and electronic device | |
CN108897473A (en) | A kind of interface display method and terminal | |
CN110099296A (en) | A kind of information display method and terminal device | |
WO2021057301A1 (en) | File control method and electronic device | |
CN109901761A (en) | A content display method and mobile terminal | |
CN107728923A (en) | The processing method and mobile terminal of a kind of operation | |
CN110012151A (en) | A kind of information display method and terminal device | |
US12028476B2 (en) | Conversation creating method and terminal device | |
WO2020168882A1 (en) | Interface display method and terminal device | |
CN108469968A (en) | A kind of applied program processing method and mobile terminal | |
CN109976611A (en) | The control method and terminal device of terminal device | |
CN108874906A (en) | A kind of information recommendation method and terminal |
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 |