Movatterモバイル変換


[0]ホーム

URL:


CN111813295A - Content selection method, apparatus, electronic device, and readable storage medium - Google Patents

Content selection method, apparatus, electronic device, and readable storage medium
Download PDF

Info

Publication number
CN111813295A
CN111813295ACN202010457988.XACN202010457988ACN111813295ACN 111813295 ACN111813295 ACN 111813295ACN 202010457988 ACN202010457988 ACN 202010457988ACN 111813295 ACN111813295 ACN 111813295A
Authority
CN
China
Prior art keywords
selection
input
page
content
screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010457988.XA
Other languages
Chinese (zh)
Inventor
马子平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co LtdfiledCriticalVivo Mobile Communication Co Ltd
Priority to CN202010457988.XApriorityCriticalpatent/CN111813295A/en
Publication of CN111813295ApublicationCriticalpatent/CN111813295A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本申请公开了一种内容选择方法、装置、电子设备及可读存储介质,属于数据处理技术领域。所述内容选择方法包括:在接收对第一页面的第一输入的情况下,接收对第二页面的第二输入,其中,所述第一页面为电子设备的第一屏幕中的显示页面,所述第二页面为所述电子设备的第二屏幕中的显示页面;根据所述第一输入和所述第二输入,确定起点位置和终点位置;将所述起点位置和所述终点位置之间的内容确定为选择的目标内容。本申请实施例中,整个选择过程,不需要通过拖动操作进行内容的选择,操作简单。此外,本申请实施例还能够进行跨屏选择,满足了用户跨屏选择的需求。

Figure 202010457988

The present application discloses a content selection method, an apparatus, an electronic device and a readable storage medium, which belong to the technical field of data processing. The content selection method includes: in the case of receiving a first input on a first page, receiving a second input on a second page, wherein the first page is a display page on a first screen of an electronic device, The second page is a display page in the second screen of the electronic device; according to the first input and the second input, the starting point position and the ending point position are determined; the difference between the starting point position and the ending point position is determined; The content in between is determined as the selected target content. In the embodiment of the present application, the entire selection process does not need to perform content selection through a drag operation, and the operation is simple. In addition, the embodiments of the present application can also perform cross-screen selection, which satisfies the user's requirement for cross-screen selection.

Figure 202010457988

Description

Translated fromChinese
内容选择方法、装置、电子设备及可读存储介质Content selection method, apparatus, electronic device, and readable storage medium

技术领域technical field

本申请属于数据处理技术领域,具体涉及一种内容选择方法、装置、电子设备及可读存储介质。The present application belongs to the technical field of data processing, and specifically relates to a content selection method, an apparatus, an electronic device and a readable storage medium.

背景技术Background technique

随着智能终端的推广和普及,小巧轻便的电子设备(如手机、平板电脑等)逐渐成为人们生活、学习、工作的随身装备。而随着智能终端功能的发展,人们的阅读方式也已由传统的纸质读物,逐渐习惯于能够在电子设备上阅读的电子读物(如电子图书、电子文档、电子版新闻资讯信息等)。且随着屏幕技术的发展,电子设备上屏幕的数量也越来越多。对于多屏电子设备,有时可以将电子读物中的内容分别显示于不同屏幕中,以供用户查看。With the promotion and popularization of smart terminals, small and light electronic devices (such as mobile phones, tablet computers, etc.) have gradually become portable equipment for people to live, study and work. With the development of smart terminal functions, people's reading methods have changed from traditional paper books to electronic books that can be read on electronic devices (such as electronic books, electronic documents, electronic news information, etc.). And with the development of screen technology, the number of screens on electronic devices is also increasing. For a multi-screen electronic device, the content in the electronic book can sometimes be displayed on different screens for the user to view.

在电子读物的阅读过程中,可能会有对电子读物中的内容的选择需求,如用户可以对电子图书中感兴趣的语句片段进行选择、复制操作,将该语句片段单独进行存储,以便日后查看。In the process of reading e-books, there may be a need to select the content in the e-book. For example, users can select and copy the sentence fragments of interest in the e-book, and store the sentence fragments separately for future viewing. .

但若用户想要选择的内容跨屏时,用户只能针对不同屏幕通过长按拖动操作分别进行选择,操作不便。且通过长按拖动操作选择时,起始位置和结束位置难以把控,操作困难。However, if the content that the user wants to select spans multiple screens, the user can only select them separately by long-pressing and dragging operations for different screens, which is inconvenient to operate. In addition, when selecting by long-pressing and dragging, the start position and end position are difficult to control, and the operation is difficult.

发明内容SUMMARY OF THE INVENTION

本申请实施例的目的是提供一种内容选择方法、装置、电子设备及可读存储介质,能够在一定程度上解决现有技术中在进行内容选择时存在操作不便和困难的问题。The purpose of the embodiments of the present application is to provide a content selection method, apparatus, electronic device, and readable storage medium, which can solve the problems of inconvenience and difficulty in content selection in the prior art to a certain extent.

为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:

第一方面,本申请实施例提供了一种内容选择方法,所述内容选择方法包括:In a first aspect, an embodiment of the present application provides a content selection method, and the content selection method includes:

在接收对第一页面的第一输入的情况下,接收对第二页面的第二输入,其中,所述第一页面为电子设备的第一屏幕中的显示页面,所述第二页面为所述电子设备的第二屏幕中的显示页面;In the case of receiving a first input on a first page, receiving a second input on a second page, wherein the first page is a display page in the first screen of the electronic device, and the second page is all a display page in the second screen of the electronic device;

根据所述第一输入和所述第二输入,确定起点位置和终点位置;According to the first input and the second input, determine the start position and the end position;

将所述起点位置和所述终点位置之间的内容确定为选择的目标内容。The content between the start position and the end position is determined as the selected target content.

第二方面,本申请实施例提供了一种内容选择装置,所述内容选择装置包括:In a second aspect, an embodiment of the present application provides a content selection apparatus, where the content selection apparatus includes:

第一接收模块,用于在接收对第一页面的第一输入的情况下,接收对第二页面的第二输入,其中,所述第一页面为电子设备的第一屏幕中的显示页面,所述第二页面为所述电子设备的第二屏幕中的显示页面;a first receiving module, configured to receive a second input to a second page in the case of receiving a first input to a first page, wherein the first page is a display page in a first screen of the electronic device, The second page is a display page in the second screen of the electronic device;

第一确定模块,用于根据所述第一接收模块接收到的所述第一输入和所述第二输入,确定起点位置和终点位置;a first determining module, configured to determine a starting point position and an ending point position according to the first input and the second input received by the first receiving module;

第二确定模块,用于将所述第一确定模块确定的所述起点位置和所述终点位置之间的内容确定为选择的目标内容。The second determination module is configured to determine the content between the start point position and the end point position determined by the first determination module as the selected target content.

第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的内容选择方法中的步骤。In a third aspect, embodiments of the present application provide an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor implements the steps in the content selection method described in the first aspect when executed.

第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的内容选择方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the content selection method according to the first aspect is implemented A step of.

第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的内容选择方法。In a fifth aspect, an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, and implement the first aspect The described content selection method.

在本申请实施例中,在进行内容选择时,分别通过对第一屏幕中的第一页面的第一输入和对第二屏幕中的第二页面的第二输入,确定一个起点位置和一个终点位置,然后将起点位置与终点位置之间的内容确定为所要选择的目标内容。本申请实施例中,通过多点触控的方式完成内容的跨屏选择。整个选择过程,不需要通过拖动操作进行,操作简单。且本申请实施例还能够进行跨屏选择,满足了用户的跨屏选择需求,进一步方便了用户对内容的选择。In this embodiment of the present application, when content selection is performed, a starting point position and an ending point are determined respectively through the first input of the first page in the first screen and the second input of the second page in the second screen. position, and then determine the content between the start position and the end position as the target content to be selected. In the embodiment of the present application, the cross-screen selection of content is completed by means of multi-touch. The entire selection process does not need to be carried out by dragging, and the operation is simple. In addition, the embodiment of the present application can also perform cross-screen selection, which satisfies the user's cross-screen selection requirement and further facilitates the user's selection of content.

附图说明Description of drawings

图1是本申请实施例提供的内容选择方法的流程图示意图;1 is a schematic flowchart of a content selection method provided by an embodiment of the present application;

图2是本申请实施例提供的示例的示意图之一;FIG. 2 is one of the schematic diagrams of the examples provided by the embodiments of the present application;

图3是本申请实施例提供的示例的示意图之二;3 is a second schematic diagram of an example provided by an embodiment of the present application;

图4是本申请实施例提供的内容选择装置的示意框图;4 is a schematic block diagram of a content selection apparatus provided by an embodiment of the present application;

图5是本申请实施例提供的电子设备的示意框图之一;FIG. 5 is one of the schematic block diagrams of the electronic device provided by the embodiment of the present application;

图6是本申请实施例提供的电子设备的示意框图之二。FIG. 6 is a second schematic block diagram of an electronic device provided by an embodiment of the present application.

具体实施方式Detailed ways

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

本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between "first", "second", etc. The objects are usually of one type, and the number of objects is not limited. For example, the first object may be one or more than one. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the associated objects are in an "or" relationship.

下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的内容选择方法进行详细地说明。The content selection method provided by the embodiments of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.

图1是本申请实施例提供的一种内容选择方法的流程示意图,该内容选择方法应用于包括至少两个屏幕的电子设备,如设置有折叠屏的电子设备、设置有多面屏(如双面屏)的电子设备。需要说明的是,这里所述的至少两个屏幕是指在物理上分别独立的屏幕。1 is a schematic flowchart of a content selection method provided by an embodiment of the present application. The content selection method is applied to an electronic device including at least two screens, such as an electronic device provided with a folding screen, a multi-sided screen (such as a double-sided screen) screen) electronic equipment. It should be noted that the at least two screens mentioned here refer to physically independent screens.

如图1所示,该内容选择方法包括:As shown in Figure 1, the content selection method includes:

步骤101:在接收对第一页面的第一输入的情况下,接收对第二页面的第二输入。Step 101: In the case of receiving the first input on the first page, receive a second input on the second page.

这里所述的第一页面为电子设备的第一屏幕中的显示页面,这里所述的第二页面为电子设备的第二屏幕中的显示页面。The first page described here is a display page on the first screen of the electronic device, and the second page described here is a display page on the second screen of the electronic device.

本申请实施例中,对第二页面的第二输入是在电子设备接收第一输入的情况下接收到的,也就是说,第一输入与第二输入构成多点触控操作。In the embodiment of the present application, the second input to the second page is received when the electronic device receives the first input, that is, the first input and the second input constitute a multi-touch operation.

步骤102:根据第一输入和第二输入,确定起点位置和终点位置。Step 102: Determine the starting point position and the ending point position according to the first input and the second input.

本申请实施例中,可以分别根据对第一页面的第一输入和对第二页面的第二输入,确定一个起点位置和一个终点位置。在根据第一输入确定的位置为起点位置时,根据第二输入确定的位置为终点位置;在根据第一输入确定的位置为终点位置时,根据第二输入确定的位置为起点位置。In this embodiment of the present application, a start position and an end position may be determined according to the first input on the first page and the second input on the second page, respectively. When the position determined according to the first input is the start position, the position determined according to the second input is the end position; when the position determined according to the first input is the end position, the position determined according to the second input is the start position.

这里所述的起点位置和终点位置可以是以阅读方向为参考的。例如,在阅读方向上,若第一页面中显示的内容在第二页面中显示的内容之前,则可以根据第一输入确定一个起点位置,根据第二输入确定一个终点位置。反之,若第一页面中显示的内容在第二页面中显示的内容之后,则可以根据第一输入确定一个终点位置,根据第二输入确定一个起点位置。The start position and end position described here may refer to the reading direction. For example, in the reading direction, if the content displayed on the first page precedes the content displayed on the second page, a starting position may be determined according to the first input, and an ending position may be determined according to the second input. Conversely, if the content displayed on the first page is after the content displayed on the second page, an end position may be determined according to the first input, and a start position may be determined according to the second input.

步骤103:将起点位置与终点位置之间的内容确定为选择的目标内容。Step 103: Determine the content between the starting point position and the end position as the selected target content.

在完成起点位置和终点位置的确定后,电子设备可以将起点位置与终点位置之间的内容确定为选择的目标内容。After completing the determination of the starting point position and the ending point position, the electronic device may determine the content between the starting point position and the ending point position as the selected target content.

本申请实施例中,通过多点触控的方式完成内容的跨屏选择,整个选择过程,不需要通过拖动操作进行内容的选择,操作简单。In the embodiment of the present application, the cross-screen selection of content is completed by means of multi-touch, and the entire selection process does not require a drag operation to select content, and the operation is simple.

此外,对于物理上独立的两个屏幕,一般条件下两个屏幕之间不是连贯的,例如,对于折叠屏而言,即使折叠屏处于展开状态,但只要展开角度不是180度,折叠的两个屏幕就不是连贯的。对于不连贯的两个屏幕,通过单点触控操作进行选择操作时,在两个屏幕上的滑动操作不是连贯的,现有系统无法将一个屏幕中的选择标识拖动到另一个屏幕中,从而无法进行跨屏选择。而本申请实施例通过多点触控方式,使选择操作在两个屏幕中连贯起来,实现了跨屏选择,满足了用户对跨屏选择的需求,更加方便了用户对内容的选择。In addition, for two screens that are physically independent, the two screens are not coherent under normal conditions. For example, for a folding screen, even if the folding screen is in the unfolded state, as long as the unfolding angle is not 180 degrees, the two folded The screen is not coherent. For two disconnected screens, when a selection operation is performed through a single-touch operation, the sliding operations on the two screens are not continuous, and the existing system cannot drag the selection logo from one screen to the other screen. This makes cross-screen selection impossible. However, in the embodiment of the present application, the selection operations are connected on the two screens through the multi-touch method, so that cross-screen selection is realized, the user's requirement for cross-screen selection is satisfied, and the user's selection of content is more convenient.

可选地,本申请实施例中,第一页面和第二页面可以是电子读物中的内容显示页面。该电子读物可以包括但不限于:电子文档、浏览器等第三方资讯类应用的资讯信息等。其中,电子文档可以包括但不限于:电子图书、电子便签、电子记事本、电子文书、电子信件、电子报表、电子图纸以及纸质文本文档的电子版本等。另外,本申请实施例中所述的目标内容可以是富文本,包括:文本、图片、音频、视频以及表格中的至少一种。Optionally, in this embodiment of the present application, the first page and the second page may be content display pages in an electronic book. The electronic books may include, but are not limited to: electronic documents, information information of third-party information applications such as browsers, and the like. The electronic documents may include, but are not limited to: electronic books, electronic notes, electronic notebooks, electronic documents, electronic letters, electronic reports, electronic drawings, electronic versions of paper text documents, and the like. In addition, the target content described in this embodiment of the present application may be rich text, including at least one of text, pictures, audio, video, and tables.

可选地,第一输入可以是触控操作,包括但不限于:长按触控操作、单击触控操作、双击触控操作等。用户在第一页面进行第一输入时,记录第一输入在第一页面中的触控位置,并将该触控位置记录为所要选择的内容的起点位置。第二输入可以是触控操作,包括但不限于:长按触控操作、单击触控操作、双击触控操作等。用户在第二页面进行第二输入时,记录第二输入在第二页面中的触控位置,并将该触控位置记录为所要选择的内容的终点位置。第二输入与第一输入可以相同或不同。Optionally, the first input may be a touch operation, including but not limited to: a long-press touch operation, a single-click touch operation, a double-click touch operation, and the like. When the user performs the first input on the first page, the touch position of the first input on the first page is recorded, and the touch position is recorded as the starting point position of the content to be selected. The second input may be a touch operation, including but not limited to: a long-press touch operation, a single-click touch operation, a double-click touch operation, and the like. When the user performs the second input on the second page, the touch position of the second input on the second page is recorded, and the touch position is recorded as the end position of the content to be selected. The second input can be the same or different from the first input.

本申请实施例中,用户在第一页面进行第一输入后,继续保持第一输入。例如,在第一输入为长按触控操作的情况下,则保持触控体一直处于长按触控操作,直至完成选择操作。在第一输入为双击触控操作的情况下,则在双击触控操作中的第二次单击操作完成后,保持触控体继续按压在起点位置处,直至完成选择操作。这里所述的触控体可以包括但不限于:手指、触控笔等能够导电的物体。In this embodiment of the present application, after the user performs the first input on the first page, the user continues to maintain the first input. For example, if the first input is a long-press touch operation, the touch body is kept in the long-press touch operation until the selection operation is completed. In the case where the first input is a double-click touch operation, after the second click operation in the double-click touch operation is completed, keep the touch body pressed at the starting point until the selection operation is completed. The touch objects described here may include, but are not limited to, objects that can conduct electricity, such as fingers and stylus pens.

为了更好地理解上述选择过程,下面以一示例进行举例说明。In order to better understand the above selection process, an example is used for illustration below.

例如,如图2所示,电子设备为手机,该手机设置有折叠屏,该折叠屏包括:可以相互折叠的第一屏幕(记为s1)和第二屏幕(记为s1)。在第一屏幕和第二屏幕处于展开状态下时,电子图书A中的第一页(记为page1,对应第一页面),显示于第一屏幕中。电子图书A中的第二页(记为page2,对应第二页面),显示于第二屏幕中。第一输入为长按触控操作,第二输入为单击触控操作。For example, as shown in FIG. 2 , the electronic device is a mobile phone, and the mobile phone is provided with a folding screen, and the folding screen includes: a first screen (denoted as s1 ) and a second screen (denoted as s1 ) that can be folded with each other. When the first screen and the second screen are in the expanded state, the first page (referred to as page1, corresponding to the first page) in the electronic book A is displayed on the first screen. The second page (denoted as page2, corresponding to the second page) in the electronic book A is displayed on the second screen. The first input is a long-press touch operation, and the second input is a single-click touch operation.

假设,用户想要选择的内容为从page1的某一位置(记为q1)开始到page2的某一位置(记为q2)结束,其中,图2中的粗线示意的为q1到q2之间的内容。此种情况下,用户可以通过手指在page1中的p1处进行长按触控操作。手机在检测到用户的长按触控操作的情况下,记录长按触控操作在page1中的触控位置(即q1),并将该触控位置记录为所要选择的内容的起点位置。用户在进行长按触控操作后,保持手指继续按压在q1处,与此同时,用户可以继续通过其他手指在page2中的q2处进行单击触控操作。手机在检测到用户的单击触控操作的情况下,记录单击触控操作在page2中的触控位置(即q2),并将该触控位置记录为所要选择的内容的终点位置。最后,将q1与q2之间的内容确定为所要选择的内容。Suppose, the content that the user wants to select starts from a certain position of page1 (denoted as q1) and ends at a certain position of page2 (denoted as q2), wherein the thick line in Figure 2 indicates the interval between q1 and q2 Content. In this case, the user can perform a long-press touch operation on p1 in page1 with a finger. When detecting the user's long-press touch operation, the mobile phone records the touch position (ie, q1) of the long-press touch operation in page1, and records the touch position as the starting point of the content to be selected. After the user performs a long-pressing touch operation, the user keeps his finger pressed at q1, and at the same time, the user can continue to perform a single-click touch operation at q2 in page2 with other fingers. When the mobile phone detects the user's single touch operation, the mobile phone records the touch position (ie, q2) of the single touch operation in page2, and records the touch position as the end position of the content to be selected. Finally, the content between q1 and q2 is determined as the content to be selected.

可以理解的是,当第一屏幕和第二屏幕中显示的内容分别是同一页的不同内容时,例如,将page1的前半页内容显示于第一屏幕中,将page1的后半页内容显示于第二屏幕中,若用户想要选择的内容横跨两个屏幕,则前述起点位置和终点位置的确定方法在此时同样适用,此处便不再进行赘述。It can be understood that when the contents displayed on the first screen and the second screen are different contents of the same page, for example, the contents of the first half page of page1 are displayed on the first screen, and the contents of the second half page of page1 are displayed on the first screen. In the second screen, if the content that the user wants to select spans two screens, the aforementioned methods for determining the starting point position and the ending point position are also applicable at this time, which will not be repeated here.

需要说明的是,前述示例仅是为了更好地理解本申请实施例提供的技术方案,并非是对本申请实施例的具体限定。It should be noted that the foregoing examples are only for better understanding of the technical solutions provided by the embodiments of the present application, and are not intended to specifically limit the embodiments of the present application.

可选地,本申请实施例中,第一输入存在于整个选择过程中,因此,可以将第一输入设置为用于指示选择过程开始与结束的处理操作,即:电子设备在检测到第一输入的情况下,确定选择操作开始;电子设备在检测到第一输入消失的情况下,确定选择操作结束。这样,只要第一输入存在,则可保证选择操作的连续性,操作简单,易于控制。Optionally, in this embodiment of the present application, the first input exists in the entire selection process. Therefore, the first input may be set as a processing operation used to indicate the start and end of the selection process, that is, when the electronic device detects the first input In the case of input, it is determined that the selection operation is started; in the case of the electronic device detecting that the first input disappears, it is determined that the selection operation ends. In this way, as long as the first input exists, the continuity of the selection operation can be guaranteed, and the operation is simple and easy to control.

可以理解的是,对于选择操作的结束指示,还可以是:用户完成第二输入后,电子设备检测到第一输入和第二输入均消失的情况下,确定选择操作完成;或电子设备检测到第二输入消失的情况下,确定选择操作完成。具体情况,根据实际需求设置即可。It can be understood that, for the end indication of the selection operation, it may also be: after the user completes the second input, the electronic device determines that the selection operation is completed when both the first input and the second input disappear; or the electronic device detects that the selection operation is completed. When the second input disappears, it is determined that the selection operation is completed. The specific situation can be set according to actual needs.

可选地,接收用户对第一页面的第一输入;响应于该第一输入,启动目标选择功能。Optionally, a first input from the user on the first page is received; in response to the first input, a target selection function is activated.

其中,这里所述的目标选择功能用于同时选择至少两个屏幕中显示的内容,即用于进行内容的跨屏选择。Wherein, the target selection function described here is used to select contents displayed in at least two screens at the same time, that is, to perform cross-screen selection of contents.

本申请实施例中,在接收到用户对第一页面的第一输入后,启动目标选择功能的同时,还可以根据第一输入确定起点位置或终点位置,具体是哪种位置可参考前述步骤102中关于起点位置和终点位置的描述。这样,通过一个触控操作,完成两项处理,简化了用户操作,方便了用户的使用。In this embodiment of the present application, after receiving the first input from the user on the first page, while starting the target selection function, the starting point position or the ending point position can also be determined according to the first input. A description of the start and end positions in . In this way, two processes are completed through one touch operation, which simplifies the user's operation and facilitates the user's use.

可选地,本申请实施例中,第二页面可以是第一页面之后的第N个页面,或第一页面之前的第M个页面。其中,N与M均为大于或等于1的整数。Optionally, in this embodiment of the present application, the second page may be the Nth page after the first page, or the Mth page before the first page. Wherein, both N and M are integers greater than or equal to 1.

也就是说,第二页面可以是与第一页面相邻的页面,例如,第二页面是第一页面之前的第一个页面(此时N等于1)或第一页面之后的第一个页面(此时M等于1)。第二页面也可以是与第一页面不相邻的页面,如:第二页面是第一页面之后的第3个页面(此时N等于3)。That is, the second page may be a page adjacent to the first page, for example, the second page is the first page before the first page (where N is equal to 1) or the first page after the first page (M is equal to 1 at this time). The second page may also be a page that is not adjacent to the first page, for example, the second page is the third page after the first page (in this case, N is equal to 3).

在第二页面与第一页面不相邻时,用户可以通过翻页操作,调出第二页面,因此,步骤102:在接收对第二页面的第二输入之前,所述内容选择方法还包括:在接收第一输入的情况下,接收第三输入(即翻页操作);响应于该第三输入,将第二屏幕中的显示页面切换为第二页面。这样则可以在实现跨屏选择的同时,还可以实现同时对更多页面中的内容的选择,丰富了选择方式。When the second page is not adjacent to the first page, the user can call up the second page through a page turning operation. Therefore, step 102: Before receiving the second input on the second page, the content selection method further includes: : In the case of receiving the first input, receive a third input (ie, a page turning operation); in response to the third input, switch the display page in the second screen to the second page. In this way, while realizing cross-screen selection, it can also realize the selection of content in more pages at the same time, which enriches the selection method.

为了更好地理解本申请实施例中的上述选择方式,此处以前述折叠屏手机为例,继续举例说明。In order to better understand the above selection methods in the embodiments of the present application, the aforementioned folding screen mobile phone is taken as an example, and the description is continued.

假设,用户想要选择的内容为从page1的某一位置(记为q1)开始到page4的某一位置(记为q2)结束。此种情况下,用户可以通过手指在page1中的p1处进行长按触控操作。手机在检测到用户的长按触控操作的情况下,记录长按触控操作在page1中的触控位置(即q1),并将该触控位置记录为所要选择的内容的起点位置。用户在进行长按触控操作后,保持手指继续按压在q1处,与此同时,用户可以继续通过其他手指在page2中进行一次左滑操作,手机检测到在第二屏幕中的左滑操作后,执行翻页操作,将第一屏幕中显示的page1切换为page3,将第二屏幕中显示的page2切换为page4。之后,用户可以通过手指在page4的q2处进行单击触控操作。手机在检测到用户的单击触控操作的情况下,记录单击触控操作在page4中的触控位置(即q2),并将该触控位置记录为所要选择的内容的终点位置。It is assumed that the content that the user wants to select starts from a certain position (denoted as q1) of page1 and ends at a certain position (denoted as q2) of page4. In this case, the user can perform a long-press touch operation on p1 in page1 with a finger. When detecting the user's long-press touch operation, the mobile phone records the touch position (ie, q1) of the long-press touch operation in page1, and records the touch position as the starting point of the content to be selected. After the user performs a long-press touch operation, keep his finger on q1. At the same time, the user can continue to perform a left swipe operation on page2 with other fingers. After the mobile phone detects the left swipe operation on the second screen , perform a page turning operation, switch page1 displayed in the first screen to page3, and switch page2 displayed in the second screen to page4. After that, the user can perform a single-click touch operation at q2 of page4 with a finger. In the case of detecting the user's single touch operation, the mobile phone records the touch position (ie, q2) of the single touch operation in page4, and records the touch position as the end position of the content to be selected.

其中,可以设置:在第一屏幕中的右滑操作为向前翻页操作;在第二屏幕中的左滑操作为向后翻页操作,如图3所示。在检测到在第一屏幕中的右滑操作时记为R,则向前翻一页;在检测到在第二屏幕中的左滑操作时记为L,则向后翻一页。此外,向前翻页的页面可以记为Pprevious(Pp0、Pp1、Pp2、...、Ppn),向后翻页的页面可以记为Pnext(Pn0、Pn1、Pn2、...、Pnn),而整个被选中的页面范围可以记为:(Pp0、Pp1、Pp2、...、Ppn,q1;Pn0、Pn1、Pn2、...、Pnn,q2)。Wherein, it can be set that: the right swipe operation in the first screen is a page forward operation; the left swipe operation in the second screen is a backward page operation, as shown in FIG. 3 . When a right swipe operation on the first screen is detected, it is recorded as R, then turn one page forward; when a left swipe operation on the second screen is detected, it is recorded as L, then turn one page back. In addition, a page turned forward can be denoted as Pprevious(Pp0, Pp1, Pp2, ..., Ppn), and a page turned backward can be denoted as Pnext(Pn0, Pn1, Pn2, ..., Pnn), The entire selected page range can be recorded as: (Pp0, Pp1, Pp2, ..., Ppn, q1; Pn0, Pn1, Pn2, ..., Pnn, q2).

需要说明的是,这里所述的“左”和“右”是相对用户而言的,当第一屏幕、第二屏幕与用户面对面设置时,用户的右方向为第一屏幕和第二屏幕的右方向,用户的左方向为第一屏幕和第二屏幕的左方向。It should be noted that the "left" and "right" mentioned here are relative to the user. When the first screen and the second screen are set face to face with the user, the right direction of the user is the direction of the first screen and the second screen. The right direction, the left direction of the user is the left direction of the first screen and the second screen.

可选地,在步骤103:将起点位置与终点位置之间的内容确定为选择的目标内容之后,该内容选择方法还包括:Optionally, after step 103: determining the content between the starting point position and the ending point position as the selected target content, the content selection method further includes:

接收对目标选择标识的第四输入;响应于该第四输入,在目标选择标识为第一选择标识时,调整第一选择标识的位置,并根据第一选择标识的位置更新起点位置;在目标选择标识为第二选择标识时,调整第二选择标识的位置,并根据第二选择标识的位置更新终点位置的位置。Receive a fourth input of the target selection marker; in response to the fourth input, when the target selection marker is the first selection marker, adjust the position of the first selection marker, and update the starting point position according to the position of the first selection marker; When the selection marker is the second selection marker, the position of the second selection marker is adjusted, and the position of the end position is updated according to the position of the second selection marker.

其中,目标选择标识为第一选择标识或第二选择标识。第一选择标识显示于起点位置处,第二选择标识显示于终点位置处。第一选择标识和第二选择标识主要用于对起点位置和终点位置进行微调,因此可以设置:第一选择标识限于在第一页面中移动,第二选择标识限于在第二页面中移动,即:第一选择标识和第二选择标识均限于在各自所在的页面中移动。Wherein, the target selection identifier is the first selection identifier or the second selection identifier. The first selection mark is displayed at the start position, and the second selection mark is displayed at the end position. The first selection mark and the second selection mark are mainly used for fine-tuning the start and end positions, so it can be set that: the first selection mark is limited to moving in the first page, and the second selection mark is limited to moving in the second page, that is: Both the first selection marker and the second selection marker are limited to moving within the respective pages.

本申请实施例中,在完成目标内容的选择后,还可以对已选择的目标内容的起点位置和终点位置进行调整,从而实现对目标内容的微调。例如,想要将page1中q1之前的部分内容设置为选中状态,则可以将显示于q1处的第一选择标识向前移动,以使page1中q1之前的部分内容被选中。若想取消page1中q1之后的部分内容的选中状态,则可以将显示于q1处的第一选择标识向后移动,以使page1中q1之后的部分内容处于未选中状态。这样,既可以满足用户的微调需求,也可以在用户通过第一输入和第二输入定位错误时,进行纠正,从而实现精确选择。In the embodiment of the present application, after the selection of the target content is completed, the starting position and the end position of the selected target content may also be adjusted, so as to realize fine-tuning of the target content. For example, if you want to set the part of the content before q1 in page1 to the selected state, you can move the first selection mark displayed at q1 forward, so that part of the content before q1 in page1 is selected. If you want to cancel the selected state of part of the content after q1 in page1, you can move the first selection mark displayed at q1 backward, so that part of the content after q1 in page1 is in an unselected state. In this way, the user's fine-tuning requirement can be met, and when the user locates the error through the first input and the second input, correction can be performed, thereby realizing precise selection.

当用户完成对目标内容的微调之后,则可以执行复制或剪切操作,将选择的内容粘贴到目标位置(如剪切板或文本应用中等),用于制作书签、摘要或者读书笔记等。After the user completes the fine-tuning of the target content, the user can perform a copy or cut operation, and paste the selected content to the target location (such as the clipboard or text application, etc.) for making bookmarks, summaries, or reading notes.

综上所述,本申请实施例中,在进行内容选择时,分别通过对第一屏幕中的第一页面的第一输入和对第二屏幕中的第二页面的第二输入,确定一个起点位置和一个终点位置,然后将起点位置与终点位置之间的内容确定为所要选择的目标内容。本申请实施例中,通过多点触控的方式完成内容的跨屏选择。整个选择过程,不需要通过拖动操作进行,操作简单。且本申请实施例还能够进行跨屏选择,满足了用户跨屏选择的需求。To sum up, in this embodiment of the present application, when selecting content, a starting point is determined through the first input to the first page in the first screen and the second input to the second page in the second screen, respectively. position and an end position, and then determine the content between the start position and the end position as the target content to be selected. In the embodiment of the present application, the cross-screen selection of content is completed by means of multi-touch. The entire selection process does not need to be carried out by dragging, and the operation is simple. In addition, the embodiment of the present application can also perform cross-screen selection, which meets the user's requirement for cross-screen selection.

需要说明的是,本申请实施例提供的内容选择方法,执行主体可以为内容选择装置,或者内容选择装置中的用于执行内容选择方法的控制模块。本申请实施例中以内容选择装置执行内容选择方法为例,说明本申请实施例提供的内容选择方法的装置。It should be noted that, in the content selection method provided by the embodiments of the present application, the execution subject may be a content selection apparatus, or a control module in the content selection apparatus for executing the content selection method. In this embodiment of the present application, an apparatus for the content selection method provided by the embodiment of the present application is described by taking the content selection apparatus executing the content selection method as an example.

图4是本申请实施例提供的一种内容选择装置的示意框图。FIG. 4 is a schematic block diagram of a content selection apparatus provided by an embodiment of the present application.

如图4所示,所述内容选择装置,包括:As shown in Figure 4, the content selection device includes:

第一接收模块401,用于在接收对第一页面的第一输入的情况下,接收对第二页面的第二输入。Thefirst receiving module 401 is configured to receive a second input to the second page in the case of receiving the first input to the first page.

其中,所述第一页面为电子设备的第一屏幕中的显示页面,所述第二页面为所述电子设备的第二屏幕中的显示页面。The first page is a display page on a first screen of the electronic device, and the second page is a display page on a second screen of the electronic device.

第一确定模块402,用于根据所述第一接收模块接收到的所述第一输入和所述第二输入,确定起点位置和终点位置。A first determiningmodule 402, configured to determine a starting point position and an ending point position according to the first input and the second input received by the first receiving module.

第二确定模块403,用于将所述第一确定模块确定的所述起点位置和所述终点位置之间的内容确定为选择的目标内容。Thesecond determination module 403 is configured to determine the content between the start point position and the end point position determined by the first determination module as the selected target content.

可选地,所述内容选择装置还包括:Optionally, the content selection device further includes:

第二接收模块,用于在接收所述第一输入的情况下,接收第三输入。The second receiving module is configured to receive a third input in the case of receiving the first input.

切换模块,用于响应于所述第二接收模块接收到的所述第三输入,将所述第二屏幕中的显示页面切换为所述第二页面。A switching module, configured to switch the display page in the second screen to the second page in response to the third input received by the second receiving module.

可选地,所述内容选择装置还包括:Optionally, the content selection device further includes:

第三接收模块,用于接收对目标选择标识的第四输入。The third receiving module is configured to receive a fourth input of the target selection identifier.

其中,所述目标选择标识为第一选择标识或第二选择标识,所述第一选择标识显示于所述起点位置处,所述第二选择标识显示于所述终点位置处。Wherein, the target selection marker is a first selection marker or a second selection marker, the first selection marker is displayed at the starting point position, and the second selection marker is displayed at the end point position.

调整模块,用于响应于所述第三接收模块接收到的所述第四输入,在所述目标选择标识为所述第一选择标识时,调整所述第一选择标识的位置,并根据所述第一选择标识的位置更新所述起点位置;在所述目标选择标识为所述第二选择标识时,调整所述第二选择标识的位置,并根据所述第二选择标识的位置更新所述终点位置。an adjustment module, configured to, in response to the fourth input received by the third receiving module, adjust the position of the first selection identifier when the target selection identifier is the first selection identifier, and adjust the position of the first selection identifier according to the The starting point position is updated with the position of the first selection mark; when the target selection mark is the second selection mark, the position of the second selection mark is adjusted, and the position of the second selection mark is updated according to the position of the second selection mark. the end position.

可选地,所述内容选择装置包括:Optionally, the content selection device includes:

第四接收模块,用于接收对所述第一页面的第一输入;a fourth receiving module, configured to receive a first input on the first page;

启动模块,用于响应于所述第四接收模块接收到的所述第一输入,启动目标选择功能。An initiating module for initiating a target selection function in response to the first input received by the fourth receiving module.

其中,所述目标选择功能用于同时选择至少两个屏幕中显示的内容。Wherein, the target selection function is used to select the content displayed in at least two screens at the same time.

本申请实施例中所述的内容选择装置,在进行内容选择时,分别通过对第一屏幕中的第一页面的第一输入和对第二屏幕中的第二页面的第二输入,确定一个起点位置和一个终点位置,然后将起点位置与终点位置之间的内容确定为所要选择的目标内容。本申请实施例中,通过多点触控的方式完成内容的跨屏选择。整个选择过程,不需要通过拖动操作进行,操作简单。且本申请实施例还能够进行跨屏选择,满足了用户跨屏选择的需求。The content selection device described in the embodiment of the present application, when selecting content, determines a The starting point position and an ending position are determined, and then the content between the starting position and the ending position is determined as the target content to be selected. In the embodiment of the present application, the cross-screen selection of content is completed by means of multi-touch. The entire selection process does not need to be carried out by dragging, and the operation is simple. In addition, the embodiment of the present application can also perform cross-screen selection, which meets the user's requirement for cross-screen selection.

本申请实施例中的内容选择装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personaldigital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(NetworkAttached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The content selection apparatus in this embodiment of the present application may be an apparatus, or may be a component, an integrated circuit, or a chip in a terminal. The apparatus may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). , PDA), etc., the non-mobile electronic device may be a server, a network attached storage (NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc. The embodiments of the present application There is no specific limitation.

本申请实施例中的内容选择装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The content selection device in this embodiment of the present application may be a device with an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.

本申请实施例提供的内容选择装置能够实现图1所示的内容选择方法实施例实现的各个过程,为避免重复,这里不再赘述。The content selection apparatus provided in the embodiment of the present application can implement each process implemented by the content selection method embodiment shown in FIG. 1 , and to avoid repetition, details are not described here.

可选的,如图5所示,本申请实施例还提供一种电子设备500,包括处理器501,存储器502,存储在存储器502上并可在所述处理器501上运行的程序或指令,该程序或指令被处理器501执行时实现上述内容选择方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 5 , an embodiment of the present application further provides anelectronic device 500, including aprocessor 501, amemory 502, a program or instruction stored in thememory 502 and executable on theprocessor 501, When the program or instruction is executed by theprocessor 501, each process of the foregoing content selection method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, details are not described here.

需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.

图6为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.

该电子设备600包括但不限于:射频单元601、网络模块602、音频输出单元603、输入单元604、传感器605、显示单元606、用户输入单元607、接口单元608、存储器609、以及处理器610等部件。Theelectronic device 600 includes but is not limited to: aradio frequency unit 601, anetwork module 602, anaudio output unit 603, aninput unit 604, asensor 605, adisplay unit 606, auser input unit 607, aninterface unit 608, amemory 609, and aprocessor 610, etc. part.

本领域技术人员可以理解,电子设备600还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器610逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图6中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that theelectronic device 600 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to theprocessor 610 through a power management system, so as to manage charging, discharging, and power management through the power management system. consumption management and other functions. The structure of the electronic device shown in FIG. 6 does not constitute a limitation on the electronic device, and the electronic device may include more or less components than those shown in the figure, or combine some components, or arrange different components, which will not be repeated here. .

其中,用户输入单元607用于在接收对第一页面的第一输入的情况下,接收对第二页面的第二输入。处理器610,用于根据用户输入单元607接收到的所述第一输入和所述第二输入,确定起点位置和终点位置;并将所述起点位置和所述终点位置之间的内容确定为选择的目标内容。Theuser input unit 607 is configured to receive a second input to the second page in the case of receiving the first input to the first page. Theprocessor 610 is configured to determine the starting point position and the ending point position according to the first input and the second input received by theuser input unit 607; and determine the content between the starting point position and the ending point position as Selected target content.

其中,所述第一页面为电子设备的第一屏幕中的显示页面,所述第二页面为所述电子设备的第二屏幕中的显示页面。The first page is a display page on a first screen of the electronic device, and the second page is a display page on a second screen of the electronic device.

在本申请实施例中,在进行内容选择时,分别通过对第一屏幕中的第一页面的第一输入和对第二屏幕中的第二页面的第二输入,确定一个起点位置和一个终点位置,然后将起点位置与终点位置之间的内容确定为所要选择的目标内容。本申请实施例中,通过多点触控的方式完成内容的跨屏选择。整个选择过程,不需要通过拖动操作进行,操作简单。且本申请实施例还能够进行跨屏选择,满足了用户的跨屏选择需求,进一步方便了用户对内容的选择。In this embodiment of the present application, when content selection is performed, a starting point position and an ending point are determined respectively through the first input of the first page in the first screen and the second input of the second page in the second screen. position, and then determine the content between the start position and the end position as the target content to be selected. In the embodiment of the present application, the cross-screen selection of content is completed by means of multi-touch. The entire selection process does not need to be carried out by dragging, and the operation is simple. In addition, the embodiment of the present application can also perform cross-screen selection, which satisfies the user's cross-screen selection requirement and further facilitates the user's selection of content.

可选的,用户输入单元607还用于在接收所述第一输入的情况下,接收第三输入;处理器610还用于响应于用户输入单元607接收到的所述第三输入,将所述第二屏幕中的显示页面切换为所述第二页面。Optionally, theuser input unit 607 is further configured to receive a third input in the case of receiving the first input; theprocessor 610 is further configured to respond to the third input received by theuser input unit 607, The display page in the second screen is switched to the second page.

本申请实施例中,在第二页面与第一页面不相邻时,用户可以通过翻页操作,调出第二页面,这样则在实现跨屏选择的同时,还可以实现同时对更多页面中的内容的选择,丰富了选择方式。In the embodiment of the present application, when the second page is not adjacent to the first page, the user can call up the second page through a page turning operation, so that while realizing cross-screen selection, it is also possible to simultaneously view more pages The selection of the content in the content enriches the selection method.

可选地,用户输入单元607还用于接收对目标选择标识的第四输入;处理器610还用于响应于用户输入单元607接收到的所述第四输入,在所述目标选择标识为所述第一选择标识时,调整所述第一选择标识的位置,并根据所述第一选择标识的位置更新所述起点位置;在所述目标选择标识为所述第二选择标识时,调整所述第二选择标识的位置,并根据所述第二选择标识的位置更新所述终点位置。Optionally, theuser input unit 607 is further configured to receive a fourth input of the target selection identifier; theprocessor 610 is further configured to respond to the fourth input received by theuser input unit 607, when the target selection identifier is the When the first selection marker is selected, adjust the position of the first selection marker, and update the starting point position according to the position of the first selection marker; when the target selection marker is the second selection marker, adjust the position of the first selection marker. The position of the second selection mark is updated, and the end position is updated according to the position of the second selection mark.

其中,所述目标选择标识为第一选择标识或第二选择标识,所述第一选择标识显示于所述起点位置处,所述第二选择标识显示于所述终点位置处。Wherein, the target selection marker is a first selection marker or a second selection marker, the first selection marker is displayed at the starting point position, and the second selection marker is displayed at the end point position.

本申请实施例中,在完成目标内容的选择后,还可以对已选择的目标内容的起点位置和终点位置进行调整,这样,既可以满足用户的微调需求,也可以在用户通过第一输入和第二输入定位错误时,进行纠正,从而实现精确选择。In this embodiment of the present application, after the selection of the target content is completed, the start and end positions of the selected target content can also be adjusted. In this way, the user's fine-tuning requirements can be met, and the user can also use the first input and When the second input is wrongly positioned, it is corrected so as to achieve precise selection.

可选的,用户输入单元607还用于在接收对所述第一页面的第一输入;处理器610还用于响应于用户输入单元607接收到的第一输入,启动目标选择功能。Optionally, theuser input unit 607 is further configured to receive a first input on the first page; theprocessor 610 is further configured to activate a target selection function in response to the first input received by theuser input unit 607 .

其中,所述目标选择功能用于同时选择至少两个屏幕中显示的内容。Wherein, the target selection function is used to select the content displayed in at least two screens at the same time.

本申请实施例中,在接收到用户对第一页面的第一输入后,启动目标选择功能,同时还可以将第一输入在第一页面中的触控位置确定为起点位置或终点位置,这样,通过一个触控操作,完成两项处理,简化了用户操作,方便了用户的使用。In the embodiment of the present application, after receiving the first input from the user on the first page, the target selection function is activated, and at the same time, the touch position of the first input on the first page may be determined as the starting point position or the ending point position, so that , through one touch operation, two processes are completed, which simplifies the user's operation and facilitates the user's use.

应理解的是,本申请实施例中,输入单元604可以包括图形处理器(GraphicsProcessing Unit,GPU)6041和麦克风6042,图形处理器6041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元606可包括显示面板6061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板6061。用户输入单元607包括触控面板6071以及其他输入设备6072。触控面板6071,也称为触摸屏。触控面板6071可包括触摸检测装置和触摸控制器两个部分。其他输入设备6072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器609可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器610可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器610中。It should be understood that, in this embodiment of the present application, theinput unit 604 may include a graphics processor (Graphics Processing Unit, GPU) 6041 and amicrophone 6042. camera) to process the image data of still pictures or videos. Thedisplay unit 606 may include adisplay panel 6061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. Theuser input unit 607 includes atouch panel 6071 andother input devices 6072 . Thetouch panel 6071 is also called a touch screen. Thetouch panel 6071 may include two parts, a touch detection device and a touch controller.Other input devices 6072 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.Memory 609 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. Theprocessor 610 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the like, and the modem processor mainly processes wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into theprocessor 610.

本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述内容选择方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the foregoing content selection method embodiment can be achieved, and the same can be achieved. In order to avoid repetition, the technical effect will not be repeated here.

其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the foregoing embodiments. The readable storage medium includes a computer-readable storage medium, such as a computer 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.

本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述内容选择方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement the above content selection method embodiment Each process can achieve the same technical effect. In order to avoid repetition, it will not be repeated here.

应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in the reverse order depending on the functions involved. To perform functions, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to some examples may be combined in other examples.

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

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

Claims (10)

CN202010457988.XA2020-05-262020-05-26 Content selection method, apparatus, electronic device, and readable storage mediumPendingCN111813295A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202010457988.XACN111813295A (en)2020-05-262020-05-26 Content selection method, apparatus, electronic device, and readable storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202010457988.XACN111813295A (en)2020-05-262020-05-26 Content selection method, apparatus, electronic device, and readable storage medium

Publications (1)

Publication NumberPublication Date
CN111813295Atrue CN111813295A (en)2020-10-23

Family

ID=72848483

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202010457988.XAPendingCN111813295A (en)2020-05-262020-05-26 Content selection method, apparatus, electronic device, and readable storage medium

Country Status (1)

CountryLink
CN (1)CN111813295A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114035730A (en)*2021-11-232022-02-11北京有竹居网络技术有限公司 A content duplication method, device, device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
EP2595035A1 (en)*2011-11-162013-05-22NAMCO BANDAI Games Inc.Method for controlling computer that is held and operated by user
CN103186345A (en)*2013-02-252013-07-03北京极兴莱博信息科技有限公司Text segment selecting method and field selecting method, device and terminal
CN103440105A (en)*2013-08-262013-12-11珠海金山办公软件有限公司Cross-page text selection method and system for touch screen
CN106201293A (en)*2015-04-292016-12-07中兴通讯股份有限公司Text selection method and apparatus, text handling method and device
CN110865751A (en)*2019-10-092020-03-06上海掌门科技有限公司 A content selection method and electronic device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
EP2595035A1 (en)*2011-11-162013-05-22NAMCO BANDAI Games Inc.Method for controlling computer that is held and operated by user
CN103186345A (en)*2013-02-252013-07-03北京极兴莱博信息科技有限公司Text segment selecting method and field selecting method, device and terminal
CN103440105A (en)*2013-08-262013-12-11珠海金山办公软件有限公司Cross-page text selection method and system for touch screen
CN106201293A (en)*2015-04-292016-12-07中兴通讯股份有限公司Text selection method and apparatus, text handling method and device
CN110865751A (en)*2019-10-092020-03-06上海掌门科技有限公司 A content selection method and electronic device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114035730A (en)*2021-11-232022-02-11北京有竹居网络技术有限公司 A content duplication method, device, device and storage medium

Similar Documents

PublicationPublication DateTitle
US12050857B2 (en)Device, method, and graphical user interface for editing screenshot images
US9436381B2 (en)Device, method, and graphical user interface for navigating and annotating an electronic document
US8638311B2 (en)Display device and data displaying method thereof
US20150347001A1 (en)Electronic device, method and storage medium
CN114690887B (en) A feedback method and related device
CN108710457B (en)Interaction method and terminal equipment
CN114500717A (en) Information display method and device
CN114327726A (en) Display control method, device, electronic device and storage medium
CN102591566A (en)Device and method for searching for an electronic-book in a portable terminal
CN116107531A (en)Interface display method and device
CN112269523B (en)Object editing processing method and device and electronic equipment
CN111665984A (en)Information processing method and device, electronic equipment and readable storage medium
US20140059425A1 (en)Apparatus and method for controlling electronic book in portable terminal
CN114363875A (en)Equipment binding method and device thereof
CN114063841A (en)Text selection method, text selection device and electronic equipment
CN114415886A (en) Application icon management method and electronic device
CN111813295A (en) Content selection method, apparatus, electronic device, and readable storage medium
KR102297903B1 (en)Method for displaying web browser and terminal device using the same
WO2023174328A1 (en)Screen control method and apparatus, electronic device, and storage medium
CN116088744A (en)Application control method and device thereof
CN116027950A (en) Screen capture method and screen capture device
CN115617226A (en) Icon management method and device
WO2022143337A1 (en)Display control method and apparatus, and electronic device and storage medium
CN114943202A (en)Information processing method, information processing apparatus, and electronic device
CN114518929A (en)Application program processing method and device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication

Application publication date:20201023

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp