CN115700452A - Library object selection method and device - Google Patents
Library object selection method and device Download PDFInfo
- Publication number
- CN115700452A CN115700452A CN202110859103.3A CN202110859103A CN115700452A CN 115700452 A CN115700452 A CN 115700452A CN 202110859103 A CN202110859103 A CN 202110859103A CN 115700452 A CN115700452 A CN 115700452A
- Authority
- CN
- China
- Prior art keywords
- selection
- bar
- detected
- interface
- objects
- 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
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
本申请涉及一种图库对象选择方法及装置,该方法包括:在界面中展示图库的部分对象的缩略图,对象包括视频、图片和动态图片中的至少一种;在检测到多选模式被触发的情况下,在界面中展示多选组件;根据检测到的针对多选组件的操作,从图库的多个对象中确定出被选中的目标对象。所提供的图库对象选择方法及装置,可以使用户简单、迅速地实现大量图库中对象的选择。
The present application relates to a method and device for selecting objects in a gallery, the method comprising: displaying thumbnails of some objects in the gallery on the interface, the objects include at least one of videos, pictures, and dynamic pictures; when the multi-selection mode is detected, it is triggered In the case of , the multi-selection component is displayed in the interface; according to the detected operation on the multi-selection component, the selected target object is determined from multiple objects in the gallery. The provided library object selection method and device can enable users to simply and quickly realize the selection of a large number of objects in the library.
Description
技术领域technical field
本申请涉及终端技术领域,尤其涉及一种图库对象选择方法及装置。The present application relates to the technical field of terminals, in particular to a method and device for selecting a gallery object.
背景技术Background technique
手机等电子设备中用户可以通过其中的“图库”等应用程序进行本地存储的图片查看。用户可以根据需要从中选择出多张图片,进行分享、删除、转存等相关操作。然而相关技术中,为选择多张图片尤其是图片数量较大时,用户需要通过复杂、耗时的操作,才能完成图片的选择,无法实现多张图片的快速选择。如何提供一种能够使用户可以简单、快速地完成多张或者说批量图片的选择是亟待解决的技术问题。Users of mobile phones and other electronic devices can view locally stored pictures through applications such as "Gallery". Users can select multiple pictures according to their needs, and perform related operations such as sharing, deleting, and transferring. However, in the related art, in order to select multiple pictures, especially when the number of pictures is large, the user needs to go through complex and time-consuming operations to complete the picture selection, and it is impossible to quickly select multiple pictures. How to provide a method that enables the user to simply and quickly complete the selection of multiple or batch pictures is an urgent technical problem to be solved.
发明内容Contents of the invention
有鉴于此,提出了一种图库对象选择方法及装置。In view of this, a library object selection method and device are proposed.
第一方面,本申请的实施例提供了一种图库对象选择方法,所述方法包括:In a first aspect, an embodiment of the present application provides a method for selecting a gallery object, the method comprising:
在界面中展示图库的部分对象的缩略图,所述对象包括视频、图片和动态图片中的至少一种;Displaying thumbnails of some objects in the gallery in the interface, where the objects include at least one of videos, pictures and dynamic pictures;
在检测到多选模式被触发的情况下,在所述界面中展示多选组件;When it is detected that the multi-select mode is triggered, display a multi-select component in the interface;
根据检测到的针对所述多选组件的操作,从所述图库的多个对象中确定出被选中的目标对象。According to the detected operation on the multi-selection component, the selected target object is determined from the multiple objects in the gallery.
在一种可能的实现方式中,所述多选组件包括增选控件和选择栏,所述选择栏用于提醒用户所述界面中当前展示的、处于所述选择栏的选择区域内的缩略图对应的对象为待选对象,处于所述选择栏的选择区域内的缩略图包括部分或全部区域处于所述选择区域内的缩略图;In a possible implementation manner, the multi-selection component includes an additional selection control and a selection bar, and the selection bar is used to remind the user of the thumbnails currently displayed in the interface and within the selection area of the selection bar The corresponding object is an object to be selected, and the thumbnails in the selection area of the selection column include thumbnails in which part or all of the areas are in the selection area;
根据检测到的针对所述多选组件的操作,从所述图库的多个对象中确定出被选中的目标对象,包括:According to the detected operation on the multi-selection component, the selected target object is determined from the plurality of objects in the gallery, including:
在检测到针对所述增选控件的触发操作的情况下,将所述待选对象确定为目标对象。When a trigger operation on the add-on control is detected, the candidate object is determined as the target object.
在一种可能的实现方式中,根据检测到的针对所述多选组件的操作,从所述图库的多个对象中确定出被选中的目标对象,还包括:In a possible implementation manner, according to the detected operation on the multi-selection component, determining the selected target object from the multiple objects in the gallery further includes:
根据检测到的针对所述增选控件的移动操作,控制所述界面中的所述缩略图进行移动;controlling the thumbnail in the interface to move according to the detected movement operation on the additional control;
将所述缩略图移动的过程中基于所述选择栏确定出的待选对象确定为所述目标对象。The candidate object determined based on the selection bar in the process of moving the thumbnail is determined as the target object.
在一种可能的实现方式中,所述多选组件还包括减选控件,所述方法还包括:In a possible implementation manner, the multi-selection component further includes a deselection control, and the method further includes:
在检测到针对所述减选控件的触发操作的情况下,将所述待选对象中已确定为目标对象的第一对象从所述目标对象中删除。If a trigger operation on the deselection control is detected, the first object determined as the target object among the candidate objects is deleted from the target object.
在一种可能的实现方式中,所述方法还包括:In a possible implementation, the method further includes:
根据检测到的针对所述减选控件的移动操作,控制所述界面中的所述缩略图进行移动;controlling the thumbnails in the interface to move according to the detected movement operation on the deselection control;
将所述缩略图移动的过程中基于所述选择栏确定出的所述待选对象中的第一对象从所述目标对象中删除。The first object among the candidate objects determined based on the selection bar during the moving of the thumbnail is deleted from the target object.
在一种可能的实现方式中,所述方法还包括:In a possible implementation, the method further includes:
对所述界面当前显示的缩略图中对应于所述目标对象的目标缩略图进行突出显示;highlighting the target thumbnail corresponding to the target object among the thumbnails currently displayed on the interface;
其中,所述突出显示包括以下至少一项操作:为所述目标缩略图增加已选中标签、提高所述目标缩略图的亮度、为所述目标缩略图增加边框。Wherein, the highlighting includes at least one of the following operations: adding a selected label to the target thumbnail, increasing the brightness of the target thumbnail, and adding a border to the target thumbnail.
在一种可能的实现方式中,所述方法还包括:In a possible implementation, the method further includes:
根据检测到的针对所述选择栏的尺寸调整操作,调整所述选择栏的选择区域的尺寸。Adjusting the size of the selection area of the selection bar according to the detected size adjustment operation on the selection bar.
在一种可能的实现方式中,所述选择栏包括上边界栏和下边界栏,所述选择栏的选择区域为所述界面中所述上边界栏和所述下边界栏之间的区域;In a possible implementation manner, the selection bar includes an upper border bar and a lower border bar, and a selection area of the selection bar is an area between the upper border bar and the lower border bar in the interface;
其中,根据检测到的针对所述选择栏的尺寸调整操作,调整所述选择栏的选择区域的尺寸,包括以下至少一项操作:Wherein, adjusting the size of the selection area of the selection bar according to the detected size adjustment operation on the selection bar includes at least one of the following operations:
根据检测到的针对所述上边界栏的靠近所述下边界栏的移动操作和/或针对所述下边界栏靠近所述上边界栏的移动操作,缩小所述选择栏的选择区域的尺寸;reducing the size of the selection area of the selection bar according to the detected movement operation of the upper border bar close to the lower border bar and/or the movement operation of the lower border bar close to the upper border bar;
根据检测到的针对所述上边界栏的远离所述下边界栏的移动操作和/或针对所述下边界栏远离所述上边界栏的移动操作,增加所述选择栏的选择区域的尺寸。The size of the selection area of the selection bar is increased according to the detected movement operation of the upper border bar away from the lower border bar and/or the detected movement operation of the lower border bar away from the upper border bar.
在一种可能的实现方式中,所述选择栏包括左边界栏和右边界栏;In a possible implementation manner, the selection bar includes a left border bar and a right border bar;
根据检测到的针对所述选择栏的尺寸调整操作,调整所述选择栏的选择区域的尺寸,包括以下至少一项操作:According to the detected size adjustment operation on the selection bar, adjusting the size of the selection area of the selection bar includes at least one of the following operations:
根据检测到的针对所述左边界栏的靠近所述右边界栏的移动操作和/或针对所述右边界栏靠近所述左边界栏的移动操作,缩小所述选择栏的选择区域的尺寸;reducing the size of the selection area of the selection bar according to the detected movement operation of the left border bar close to the right border bar and/or the movement operation of the right border bar close to the left border bar;
根据检测到的针对所述左边界栏的远离所述右边界栏的移动操作和/或针对所述右边界栏远离所述左边界栏的移动操作,增加所述选择栏的选择区域的尺寸。The size of the selection area of the selection bar is increased according to the detected movement operation of the left border bar away from the right border bar and/or the movement operation of the right border bar away from the left border bar.
在一种可能的实现方式中,所述方法还包括:In a possible implementation, the method further includes:
在所述界面中展示对应于所述多选组件的启动控件,所述启动控件用于响应于检测到的触发操作展示所述多选组件或停止所述多选组件的展示;Displaying a startup control corresponding to the multi-choice component in the interface, the startup control being used to display the multi-choice component or stop displaying the multi-choice component in response to the detected trigger operation;
其中,所述多选模式的触发操作包括:检测到的针对所述启动控件的触发操作且所述界面中未展示有所述多选组件、或检测到的针对所述界面中任意一个缩略图的选择操作。Wherein, the trigger operation of the multi-choice mode includes: a detected trigger operation for the start control and the multi-choice component is not displayed in the interface, or a detected thumbnail for any one of the interface selection operation.
在一种可能的实现方式中,所述方法还包括:In a possible implementation, the method further includes:
在确定满足总览展示条件的情况下,在所述界面中展示总览提示,所述总览提示用于指示所述目标对象与所述图库中所有对象的相对位置关系和/或所述界面中当前展示的缩略图所对应的对象与所述图库中所有对象的相对位置关系;When it is determined that the overview display condition is satisfied, an overview prompt is displayed on the interface, and the overview prompt is used to indicate the relative positional relationship between the target object and all objects in the gallery and/or the current display in the interface The relative positional relationship between the object corresponding to the thumbnail and all the objects in the gallery;
其中,所述总览展示条件包括以下至少一项:当前处于所述多选模式、检测到所述缩略图移动、检测到针对所述增选控件的触发操作、检测到针对所述减选控件的触发操作。Wherein, the overview display condition includes at least one of the following: currently in the multi-selection mode, detection of the movement of the thumbnail, detection of a trigger operation for the additional selection control, detection of a trigger operation for the deselection control Trigger action.
在一种可能的实现方式中,所述总览提示还用于指示所述图库中对象对应的时间信息和/或位置信息。In a possible implementation manner, the overview prompt is further used to indicate time information and/or location information corresponding to objects in the gallery.
在一种可能的实现方式中,所述方法还包括:In a possible implementation, the method further includes:
根据检测到的滑动轨迹,将所述待选对象中对应于所述滑动轨迹的对象确定为所述目标对象;并且/或者According to the detected sliding track, determining an object corresponding to the sliding track among the candidate objects as the target object; and/or
根据检测到的滑动轨迹,将所述待选对象中对应于所述滑动轨迹的第一对象从所述目标对象中删除。According to the detected sliding track, a first object corresponding to the sliding track among the candidate objects is deleted from the target object.
第二方面,本申请的实施例提供了一种图库对象选择装置,包括:In the second aspect, the embodiment of the present application provides a device for selecting a gallery object, including:
缩略图展示模块,用于在界面中展示图库的部分对象的缩略图,所述对象包括视频、图片和动态图片中的至少一种;The thumbnail display module is used to display thumbnails of some objects in the gallery in the interface, and the objects include at least one of videos, pictures and dynamic pictures;
组件展示模块,用于在检测到多选模式被触发的情况下,在所述界面中展示多选组件;A component display module, configured to display a multi-selection component in the interface when it is detected that the multi-selection mode is triggered;
对象确定模块,用于根据检测到的针对所述多选组件的操作,从所述图库的多个对象中确定出被选中的目标对象。The object determination module is configured to determine the selected target object from the plurality of objects in the gallery according to the detected operation on the multi-selection component.
第三方面,本申请的实施例提供了一种电子设备,所述电子设备包括:In a third aspect, an embodiment of the present application provides an electronic device, and the electronic device includes:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器被配置为执行所述指令时实现上述方法。Wherein, the processor is configured to implement the above method when executing the instructions.
第四方面,本申请的实施例提供了一种非易失性计算机可读存储介质,其上存储有计算机程序指令,所述计算机程序指令被处理器执行时实现上述方法。In a fourth aspect, the embodiments of the present application provide a non-volatile computer-readable storage medium, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the foregoing method is implemented.
第五方面,一种计算机程序产品,包括计算机可读代码,或者承载有计算机可读代码的非易失性计算机可读存储介质,当所述计算机可读代码在电子设备中运行时,所述电子设备中的处理器执行上述方法。In a fifth aspect, a computer program product includes computer readable codes, or a non-volatile computer readable storage medium bearing computer readable codes, when the computer readable codes are run in an electronic device, the A processor in the electronic device executes the above method.
本申请的这些和其他方面在以下(多个)实施例的描述中会更加简明易懂。These and other aspects of the present application will be made more apparent in the following description of the embodiment(s).
附图说明Description of drawings
包含在说明书中并且构成说明书的一部分的附图与说明书一起示出了本申请的示例性实施例、特征和方面,并且用于解释本申请的原理。The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate exemplary embodiments, features, and aspects of the application and, together with the specification, serve to explain the principles of the application.
图1示出根据本申请一实施例的图库对象选择方法的流程图。Fig. 1 shows a flowchart of a method for selecting a gallery object according to an embodiment of the present application.
图2A-图2M示出根据本申请一实施例的图库对象选择方法的界面示意图。2A-2M are schematic interface diagrams of a method for selecting a gallery object according to an embodiment of the present application.
图3A、图3B示出根据本申请一实施例的总览提示的示意图。FIG. 3A and FIG. 3B show schematic diagrams of an overview prompt according to an embodiment of the present application.
图4示意了一种电子设备100的结构示意图。FIG. 4 shows a schematic structural diagram of an electronic device 100 .
具体实施方式Detailed ways
以下将参考附图详细说明本申请的各种示例性实施例、特征和方面。附图中相同的附图标记表示功能相同或相似的元件。尽管在附图中示出了实施例的各种方面,但是除非特别指出,不必按比例绘制附图。Various exemplary embodiments, features, and aspects of the present application will be described in detail below with reference to the accompanying drawings. The same reference numbers in the figures indicate functionally identical or similar elements. While various aspects of the embodiments are shown in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
在这里专用的词“示例性”意为“用作例子、实施例或说明性”。这里作为“示例性”所说明的任何实施例不必解释为优于或好于其它实施例。The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration." Any embodiment described herein as "exemplary" is not necessarily to be construed as superior or better than other embodiments.
另外,为了更好的说明本申请,在下文的具体实施方式中给出了众多的具体细节。本领域技术人员应当理解,没有某些具体细节,本申请同样可以实施。在一些实例中,对于本领域技术人员熟知的方法、手段、元件和电路未作详细描述,以便于凸显本申请的主旨。In addition, in order to better illustrate the present application, numerous specific details are given in the following specific implementation manners. It will be understood by those skilled in the art that the present application may be practiced without certain of the specific details. In some instances, methods, means, components and circuits well known to those skilled in the art have not been described in detail in order to highlight the gist of the present application.
为解决上述技术问题,本申请提供一种图库对象选择方法及装置,可以使用户简单、迅速地实现大量图库中对象的选择。图1示出根据本申请一实施例的图库对象选择方法的流程图。图2A-图2M示出根据本申请一实施例的图库对象选择方法的界面示意图。如图1所示,该方法包括步骤S11-步骤S13,可以应用于带有触摸屏的电子设备100(如图4)。以下结合图2A-图2M示出的过程示意图对本申请所提供的图库对象选择方法进行说明。In order to solve the above technical problems, the present application provides a method and device for selecting objects in a library, which can enable users to select objects in a large number of libraries simply and quickly. Fig. 1 shows a flowchart of a method for selecting a gallery object according to an embodiment of the present application. 2A-2M are schematic interface diagrams of a method for selecting a gallery object according to an embodiment of the present application. As shown in FIG. 1 , the method includes step S11 to step S13 , and can be applied to an electronic device 100 with a touch screen (as in FIG. 4 ). The method for selecting a gallery object provided by this application will be described below with reference to the process diagrams shown in FIGS. 2A-2M .
其中,电子设备可以是带有触摸屏能够进行对象选择的智能手机、上网本、平板电脑、笔记本电脑、可穿戴电子设备(如智能手表等)、TV、虚拟现实设备、等等。Wherein, the electronic device may be a smart phone with a touch screen capable of object selection, a netbook, a tablet computer, a notebook computer, a wearable electronic device (such as a smart watch, etc.), a TV, a virtual reality device, and the like.
在步骤S11中,如图2A所示,在界面T中为用户展示图库中部分对象的缩略图P,所述对象可以包括能够从图库中查看的视频、图片(也即照片、图像)和动态图片中的至少一种。图库中部分对象可以是电子设备本地存储的全部对象中的部分,还可以是图库中某一个相册中全部对象中的部分。In step S11, as shown in FIG. 2A , the thumbnails P of some objects in the gallery are displayed for the user on the interface T, and the objects may include videos, pictures (that is, photos, images) and dynamic events that can be viewed from the gallery. At least one of the pictures. Some of the objects in the gallery may be part of all objects locally stored in the electronic device, or part of all objects in a certain album in the gallery.
其中,为便于示意本申请方法还在图2A以及下文其他图示中示意了界面T当前展示的多个缩略图P与整个图库所有对象的相对位置关系,则从图2A中可以看出界面T当前展示的多个缩略图P为整个图库所有对象中大致处于中间位置的部分对象。Among them, in order to illustrate the method of this application, the relative positional relationship between multiple thumbnails P currently displayed on the interface T and all objects in the entire gallery is also illustrated in Figure 2A and other diagrams below, and it can be seen from Figure 2A that the interface T The currently displayed multiple thumbnails P are some objects approximately in the middle of all objects in the entire gallery.
其中,在图2A所示的界面T中可以根据用户发出的针对界面T的滑动操作移动当前显示的缩略图P,使得用户可以通过针对界面T的滑动操作查看图库中的各对象。Wherein, in the interface T shown in FIG. 2A , the currently displayed thumbnail P can be moved according to the sliding operation on the interface T issued by the user, so that the user can view each object in the gallery through the sliding operation on the interface T.
在步骤S12中,在检测到多选模式被触发的情况下,在所述界面T中展示多选组件。In step S12, when it is detected that the multi-selection mode is triggered, a multi-selection component is displayed on the interface T.
在步骤S13中,根据检测到的针对所述多选组件的操作,从所述图库的多个对象中确定出被选中的目标对象。In step S13, the selected target object is determined from the plurality of objects in the gallery according to the detected operation on the multi-selection component.
在一种可能的实现方式中,如图2A所示,该方法还可以包括:在所述界面T中展示对应于所述多选组件的启动控件K0,所述启动控件K0用于响应于检测到的触发操作展示所述多选组件或停止所述多选组件的展示。其中,步骤S12中所描述的所述多选模式的触发操作可以包括以下任意一项:检测到的针对所述启动控件K0的触发操作且所述界面T中未展示有所述多选组件,例如,在图2A所示的界面T中,若检测到针对K0的点击、滑动、双击等触发操作,则可以确定用户需要进行多个对象的选择,进而确定多选模式被触发。检测到的针对所述界面T中任意一个缩略图的选择操作。例如,在图2A所示的界面T中,若检测到针对缩略图P1的长按、双击等能够选择该缩略图的选择操作,则可以确定用户需要进行多个对象的选择,进而确定多选模式被触发。可以将选择操作所对应的缩略图对应的对象确定为目标对象。In a possible implementation manner, as shown in FIG. 2A , the method may further include: displaying an activation control K0 corresponding to the multi-choice component on the interface T, and the activation control K0 is used to respond to the detected The received trigger operation displays the multi-selection component or stops displaying the multi-selection component. Wherein, the triggering operation of the multi-choice mode described in step S12 may include any of the following: the detected triggering operation for the start control K0 and the multi-choice component is not displayed in the interface T, For example, in the interface T shown in FIG. 2A , if a trigger operation such as clicking, sliding, or double-clicking on K0 is detected, it can be determined that the user needs to select multiple objects, and then it can be determined that the multi-selection mode is triggered. A detected selection operation for any thumbnail in the interface T. For example, in the interface T shown in FIG. 2A , if a selection operation that can select the thumbnail, such as a long press or a double click on the thumbnail P1, is detected, it can be determined that the user needs to select multiple objects, and then multiple selections can be made. mode is triggered. The object corresponding to the thumbnail corresponding to the selection operation may be determined as the target object.
在一种可能的实现方式中,如图2B-图2J所示,可以在界面T中突出显示目标对象所对应的目标缩略图M。所述突出显示可以包括以下至少一项操作:提高所述目标缩略图的亮度。为所述目标缩略图增加边框。为缩略图增加状态标签,状态标签通过不同的显示状态显示该状态标签对应的缩略图是目标缩略图还是用户没有选择的缩略图。例如,如图2B-图2J所示,状态标签具有形如B1的状态和形如B2的状态,状态标签为形如B1的状态表示其标记的缩略图对应的对象为目标对象;状态标签为形如B2的状态表示其标记的缩略图对应的对象不是目标对象。其中,可以为目标缩略图M所在区域中添加状态标签B1以示意其为目标缩略图;为没有被选为目标对象的对象对应的缩略图P所在区域中添加状态标签B2以示意其对应的对象未被选中为目标对象。In a possible implementation manner, as shown in FIGS. 2B-2J , the target thumbnail M corresponding to the target object may be highlighted in the interface T. The highlighting may include at least one of the following operations: increasing the brightness of the target thumbnail. Adds a border to the target thumbnail. Add a status label to the thumbnail, and the status label displays whether the thumbnail corresponding to the status label is the target thumbnail or a thumbnail that the user has not selected through different display states. For example, as shown in Fig. 2B-Fig. 2J, the state label has a state such as B1 and a state such as B2, and the state label is a state such as B1, indicating that the object corresponding to the thumbnail of the mark is the target object; the state label is A state like B2 indicates that the object corresponding to the marked thumbnail is not the target object. Among them, a status label B1 can be added to the area where the target thumbnail M is located to indicate that it is a target thumbnail; a status label B2 can be added to the area where the thumbnail P corresponding to the object that is not selected as the target object is located to indicate its corresponding object Not selected as target audience.
并且,在检测到针对状态标签B1、B2的点击等触发操作的情况下,可以响应触发操作改变显示状态,如,若检测到针对图2B中目标缩略图M的状态标签B1的触发操作,则可以确定用户不再将目标缩略图M对应的对象确定为目标对象,可以将其状态标签由B1的显示状态切换为B2的显示状态。若检测到针对图2B中任意一个缩略图P的状态标签B2的触发操作,则可以确定用户将该缩略图P对应的对象确定为目标对象,可以将其状态标签由B2的显示状态切换为B1的显示状态。这样,便于用户可以基于状态标签查看缩略图对应的对象是否为目标对象。And, when a trigger operation such as clicking on the status labels B1 and B2 is detected, the display state can be changed in response to the trigger operation, for example, if a trigger operation is detected on the status label B1 of the target thumbnail image M in FIG. 2B , then It may be determined that the user no longer determines the object corresponding to the target thumbnail M as the target object, and may switch its status label from the display state of B1 to the display state of B2. If a trigger operation on the status label B2 of any thumbnail P in FIG. 2B is detected, it can be determined that the user determines the object corresponding to the thumbnail P as the target object, and its status label can be switched from the display status of B2 to B1 display status. In this way, it is convenient for the user to check whether the object corresponding to the thumbnail is the target object based on the status label.
如图2B-图2J所示,还可以在界面T显示的每个缩略图所在区域中显示用于进行查看缩略图所对应的对象的查看标签B3,在检测到查看标签B3被触发的情况下,在界面T中为用户全屏或者非全屏展示被触发的B3所对应的对象,以供用户查看。在根据用户的操作确定用户退出查看被触发的B3所对应的对象之后,还可以继续为用户展示B3被触发时所对应的界面T。例如,图2C中若用户点击M的查看标签B3后,可以为用户全屏展示M对应的目标对象,检测到用户退出M对应的目标对象的查看且用户仅查看目标对象并未进行其他操作之后,可以继续为用户展示图2C所示的界面T。As shown in Fig. 2B-Fig. 2J, the viewing label B3 for viewing the object corresponding to the thumbnail can also be displayed in the area where each thumbnail displayed on the interface T is detected, and when it is detected that the viewing label B3 is triggered , the object corresponding to the triggered B3 is displayed for the user on the interface T in a full screen or in a non-full screen for the user to view. After it is determined according to the user's operation that the user quits viewing the object corresponding to the triggered B3, the interface T corresponding to the triggered B3 may also continue to be presented to the user. For example, in Figure 2C, if the user clicks the view label B3 of M, the target object corresponding to M can be displayed for the user in full screen, and after it is detected that the user quits viewing the target object corresponding to M and the user only views the target object without performing other operations, The interface T shown in FIG. 2C may continue to be presented to the user.
在一种可能的实现方式中,如图2B-图2D所示,多选组件可以包括减选控件K1、增选控件K2和选择栏Q1。其中,减选控件K1、增选控件K2可以如图2B所示可以悬浮在缩略图P上方,可以是不透明、全透明或具有一定透明度(如半透明等)的。选择栏Q1的实现方式可以包括以下任意一种:选择栏Q1可以如图2B所示包括上边界栏L1和下边界栏L2,在界面T中上边界栏L1和下边界栏L2之间的区域即为选择栏Q的选择区域。选择栏Q1也可以如图2C、图2D所示的形状为长方形、正方形等的选择框,其可以浮在缩略图P上方,可以是全透明(如图2C所示)、半透明等具有一定透明度(如图2D所示)的。其中,如图2C、图2D所示的选择栏Q1其包括上边界栏L1、下边界栏L2、左边界栏L3和右边界栏L4。In a possible implementation manner, as shown in FIGS. 2B-2D , the multi-selection component may include a deselection control K1 , an additional selection control K2 and a selection bar Q1 . Wherein, the deselection control K1 and the addition control K2 can be suspended above the thumbnail P as shown in FIG. 2B , and can be opaque, fully transparent, or have a certain degree of transparency (such as translucent, etc.). The implementation of the selection bar Q1 can include any of the following: the selection bar Q1 can include an upper border bar L1 and a lower border bar L2 as shown in Figure 2B, and the area between the upper border bar L1 and the lower border bar L2 in the interface T It is the selection area of the selection column Q. The selection bar Q1 can also be a rectangle, a square, etc., as shown in FIG. 2C and FIG. Transparency (as shown in Figure 2D). Wherein, the selection column Q1 as shown in FIG. 2C and FIG. 2D includes an upper boundary column L1 , a lower boundary column L2 , a left boundary column L3 and a right boundary column L4 .
需要说明的是,本申请所示意出的减选控件K1、增选控件K2和选择栏Q1仅是其可能的实现方式,本领域技术人员可以根据实际需要对减选控件K1、增选控件K2和选择栏Q1的实现方式进行设置,本申请对此不作限制。It should be noted that the deselection control K1, the addition control K2, and the selection column Q1 shown in this application are only possible implementations thereof, and those skilled in the art can adjust the deselection control K1 and the addition control K2 according to actual needs. and the implementation of the selection column Q1 are set, which is not limited in this application.
在一种可能的实现方式中,该方法还可以包括:根据检测到的针对所述选择栏Q1的尺寸调整操作,调整所述选择栏的选择区域的尺寸。选择栏的选择区域尺寸越大,每次所能确定的待选对象就越多,进行目标对象的选择速度就会越快。In a possible implementation manner, the method may further include: adjusting the size of the selection area of the selection column according to the detected size adjustment operation on the selection column Q1. The larger the size of the selection area of the selection bar, the more objects to be selected can be determined each time, and the faster the selection speed of the target object will be.
其中,如图2B所示,若选择栏Q1包括上边界栏L1、下边界栏L2,则其尺寸调整过程可以包括以下至少一项操作:根据检测到的针对所述上边界栏L1的靠近所述下边界栏L2的移动操作和/或针对所述下边界栏L2靠近所述上边界栏L1的移动操作,缩小所述选择栏Q1的选择区域的尺寸;根据检测到的针对所述上边界栏L1的远离所述下边界栏L2的移动操作和/或针对所述下边界栏L2远离所述上边界栏L1的移动操作,增加所述选择栏Q1的选择区域的尺寸。例如,如图2E所示,若检测到针对L1的向下(也即向靠近L2的方向)的移动操作,则可以将L1从移动前的位置调整是移动操作停止时检测到的如L1’所在的位置,则选择栏从原来的Q1改变为当前的Q1’,选择区域被减小。Wherein, as shown in FIG. 2B , if the selection bar Q1 includes an upper border bar L1 and a lower border bar L2, its size adjustment process may include at least one of the following operations: according to the detected approach to the upper border bar L1 The moving operation of the lower border bar L2 and/or the moving operation of the lower border bar L2 close to the upper border bar L1 reduces the size of the selection area of the selection bar Q1; The movement operation of the column L1 away from the lower boundary column L2 and/or the movement operation of the lower boundary column L2 away from the upper boundary column L1 increases the size of the selection area of the selection column Q1. For example, as shown in FIG. 2E , if a downward movement operation for L1 (that is, a direction close to L2 ) is detected, L1 can be adjusted from the position before the movement to the position detected when the movement operation stops, such as L1' position, the selection column changes from the original Q1 to the current Q1', and the selection area is reduced.
如图2C-图2D所示,若选择栏Q1包括上边界栏L1、下边界栏L2、左边界栏L3和右边界栏L4,则其尺寸调整过程可以包括以下至少一项操作:根据检测到的针对所述上边界栏L1的靠近所述下边界栏L2的移动操作和/或针对所述下边界栏L2靠近所述上边界栏L1的移动操作,缩小所述选择栏Q1的选择区域的尺寸;根据检测到的针对所述上边界栏L1的远离所述下边界栏L2的移动操作和/或针对所述下边界栏L2远离所述上边界栏L1的移动操作,增加所述选择栏Q1的选择区域的尺寸。根据检测到的针对所述左边界栏L3的靠近所述右边界栏L4的移动操作和/或针对所述右边界栏L4靠近所述左边界栏L3的移动操作,缩小所述选择栏Q1的选择区域的尺寸。根据检测到的针对所述左边界栏L3的远离所述右边界栏L4的移动操作和/或针对所述右边界栏L4远离所述左边界栏L3的移动操作,增加所述选择栏Q1的选择区域的尺寸。在检测到针对上边界栏L1、下边界栏L2、左边界栏L3和右边界栏L4中相邻的两个(如L1和L3、L2和L3、L1和L4、L2和L4)边界栏的移动操作,调整所述选择栏Q1的选择区域的尺寸。例如,如图2C所示,若检测到用户移动L2和L4构成的顶角位置,则可以根据移动操作调整选择栏Q1。As shown in Figures 2C-2D, if the selection bar Q1 includes an upper border bar L1, a lower border bar L2, a left border bar L3, and a right border bar L4, its size adjustment process may include at least one of the following operations: For the moving operation of the upper border bar L1 close to the lower border bar L2 and/or for the moving operation of the lower border bar L2 close to the upper border bar L1, the selection area of the selection bar Q1 is reduced Size; increasing the selection bar according to the detected movement operation of the upper border bar L1 away from the lower border bar L2 and/or the movement operation of the lower border bar L2 away from the upper border bar L1 The size of the selection area for Q1. According to the detected moving operation for the left border bar L3 close to the right border bar L4 and/or the moving operation for the right border bar L4 close to the left border bar L3, shrink the size of the selection bar Q1 Select the size of the area. According to the detected moving operation for the left border bar L3 away from the right border bar L4 and/or the moving operation for the right border bar L4 away from the left border bar L3, increase the number of the selection bar Q1 Select the size of the area. After detection of two (such as L1 and L3, L2 and L3, L1 and L4, L2 and L4) boundary columns adjacent to the upper boundary column L1, the lower boundary column L2, the left boundary column L3 and the right boundary column L4 The move operation adjusts the size of the selection area of the selection column Q1. For example, as shown in FIG. 2C , if it is detected that the user moves the vertex formed by L2 and L4 , the selection column Q1 may be adjusted according to the movement operation.
在一种可能的实现方式中,如图2B-图2M所示,该方法中还可以在多选模式被触发的情况下,在界面T中展示已选数量提示,已选数量提示用于指示已经选择的目标对象的数量,如图2B中的“已选择1项”则表示已经将用户选择的一个对象确定为目标对象。又如图2F中的“已选择28项”则表示已经将用户选择的28个对象确定为目标对象。In a possible implementation, as shown in FIG. 2B-FIG. 2M, in this method, when the multi-selection mode is triggered, a reminder of the selected quantity can be displayed on the interface T, and the reminder of the selected quantity is used to indicate The number of target objects that have been selected, for example, "1 item selected" in FIG. 2B indicates that an object selected by the user has been determined as the target object. Also, "28 items have been selected" in FIG. 2F indicates that 28 objects selected by the user have been determined as target objects.
在一种可能的实现方式中,可以将处于所述选择栏Q1的选择区域内的缩略图对应的对象确定为待选对象,进而根据检测到的针对减选控件K1、增选控件K2的操作在待选对象确定为目标对象或者将待选对象中之前已经确定为目标对象的第一对象从目标对象中删除。处于所述选择栏Q1的选择区域内的缩略图可以包括部分或全部区域处于所述选择区域内的缩略图。例如,如图2D中待选对象即为界面T中从上至下的4×5个缩略图所对应的对象,其中,仅中间的2×3个缩略图的全部区域处于Q1的选择区域中,周边的14个缩略图均部分区域处于Q1的选择区域中。如图2F中,待选对象即为界面T中的全部缩略图对应的对象,其中,靠近界面顶部和底部的两行缩略图的部分区域处于Q1的选择区域中,其余缩略图均全部区域处于Q1的选择区域中。In a possible implementation, the object corresponding to the thumbnail in the selection area of the selection bar Q1 may be determined as the object to be selected, and then according to the detected operation on the deselect control K1 and the add select control K2 The candidate object is determined as the target object or the first object among the candidate objects that has been previously determined as the target object is deleted from the target object. The thumbnails within the selection area of the selection column Q1 may include thumbnails with part or all of the area within the selection area. For example, as shown in Figure 2D, the object to be selected is the object corresponding to the 4×5 thumbnails from top to bottom in the interface T, wherein only the entire area of the 2×3 thumbnails in the middle is in the selection area of Q1 , part of the surrounding 14 thumbnails are in the selection area of Q1. As shown in Figure 2F, the object to be selected is the object corresponding to all the thumbnails in the interface T, wherein the partial areas of the two rows of thumbnails near the top and bottom of the interface are in the selection area of Q1, and all other thumbnails are in the selection area of Q1. In the selection area of Q1.
在一种可能的实现方式中,步骤S13中可以根据检测到的针对界面T、针对多选组件中减选控件K1、增选控件K2的操作实现目标对象的确定,检测到的用户操作的方式不同进行目标对象的选择实现过程也不同,以下进行示例性说明:In a possible implementation manner, in step S13, the target object can be determined according to the detected operation on the interface T, the deselection control K1 and the addition selection control K2 in the multi-selection component, and the detected user operation mode The selection and implementation process of different target objects is also different, and the following is an example description:
检测到针对增选控件K2和/或减选控件K1的触发操作:A trigger operation for the selection control K2 and/or the deselection control K1 is detected:
若在展示图2B所示的界面T的过程中检测到针对增选控件K2的触发操作,则可以如图2F所示将界面T中的待选对象均确定为目标对象,则已选数量提示则由图2B中的“已选择1项”更新为“已选择28项”。同理,若检测到针对减选控件K1的触发操作,则可以将界面T中的待选对象中之前已经确定为目标对象的第一对象从目标对象中删除,并更新已选数量提示。例如,若在图2B显示的界面T下检测到针对减选控件K1的触发操作则唯一的M所对应的目标对象即为待选对象中的第一对象,将该第一对象从目标对象中删除,已选数量提示则由图2B中的“已选择1项”更新为“已选择0项”(图中未示出)。其中,减选控件K1的触发操作、针对增选控件K2的触发操作可以相同也可以不同,其可以是点击、双击等与移动操作不同的任意操作,本申请对此不作限制。If the trigger operation for the optional control K2 is detected during the display of the interface T shown in Figure 2B, then all the objects to be selected in the interface T can be determined as the target objects as shown in Figure 2F, and the selected quantity will be prompted Then "1 item selected" in Fig. 2B is updated to "28 items selected". Similarly, if a trigger operation on the deselection control K1 is detected, the first object that has been previously determined as the target object among the objects to be selected in the interface T can be deleted from the target object, and the reminder of the selected quantity can be updated. For example, if a trigger operation for the deselection control K1 is detected under the interface T shown in FIG. Delete, and the prompt of the selected quantity is updated from "1 item selected" in Fig. 2B to "0 item selected" (not shown in the figure). Wherein, the trigger operation of the deselect control K1 and the trigger operation of the add select control K2 may be the same or different, and they may be any operation different from the move operation, such as click and double click, which is not limited in this application.
其中,为提醒用户其所进行的操作是针对增选控件或减选控件的操作(触发操作或移动操作),可以通过增大被操作的增选控件或减选控件的显示尺寸等突出显示的方式进行提醒。例如,在未检测到针对增选控件和减选控件的操作的情况下,可以如图2B-图2E等中以K1、K2所示的状态进行显示。若检测到针对增选控件或减选控件的操作,可以将如图2B-图2E等示出的K2切换为图2F-图2H的K2’、将如图2B-图2E等示出的K1切换为图2I-图2J的K1’。Among them, in order to remind the user that the operation he is performing is an operation (trigger operation or movement operation) for the selection control or the selection control, it can be highlighted by increasing the display size of the selection control or the selection control being operated. way to remind. For example, in the case that no operation on the selection control and the selection control is detected, it can be displayed in the states shown by K1 and K2 in FIG. 2B-FIG. 2E . If an operation on the selection control or the deselection control is detected, K2 as shown in Figure 2B-2E can be switched to K2' in Figure 2F-2H, and K1 as shown in Figure 2B-2E can be switched. Switch to K1' of Figure 2I-Figure 2J.
检测到针对增选控件K2的移动操作:The movement operation for the optional control K2 is detected:
根据检测到的针对所述增选控件K2的移动操作,控制所述界面T中的所述缩略图P进行移动;并将所述缩略图P移动的过程中基于所述选择栏Q1确定出的待选对象确定为所述目标对象。其中,在选择栏Q1仅包括L1和L2的情况下,增选控件K2的移动操作可以包括如图2G所示的将K2向界面T的下方移动的移动操作或者如图2H所示的将K2向界面T的上方移动的移动操作。在选择栏Q1包括L1、L2、L3、L4的情况下,增选控件K2的移动操作可以包括如图2G所示的将K2向界面T的下方移动的移动操作、如图2H所示的将K2向界面T的上方移动的移动操作、将K2向界面T的左侧移动的移动操作、或者将K2向界面T的右侧移动的移动操作。According to the detected movement operation for the additional option control K2, control the thumbnail P in the interface T to move; and move the thumbnail P based on the selection column Q1 in the process of moving The candidate object is determined as the target object. Wherein, in the case that the selection column Q1 only includes L1 and L2, the movement operation of the additional control K2 may include the movement operation of moving K2 to the bottom of the interface T as shown in FIG. 2G or the movement operation of moving K2 as shown in FIG. 2H Move operation to move to the top of the interface T. In the case that the selection column Q1 includes L1, L2, L3, and L4, the movement operation of the additional control K2 may include the movement operation of moving K2 to the bottom of the interface T as shown in FIG. A move operation of moving K2 to the top of the interface T, a move operation of moving K2 to the left of the interface T, or a move operation of moving K2 to the right of the interface T.
在检测到针对所述增选控件K2的移动操作的情况下,增选控件的显示状态由K2切换至K2’。并且,在检测到针对所述增选控件K2的移动操作的情况下,可以每次进行界面T中待选对象对应的缩略图的全部移动。例如,如图2G所示界面T中待选对象为28个,则在检测到针对增选控件的向下移动的操作的情况下,可以每次进行28个缩略图的移动,也即将界面T当前显示的28个缩略图切换成图库中在这28个缩略图对应的对象之后新的28个对象的缩略图。已选数量提示也可以根据目标对象的数量变化情况进行实时更新,以仅进行了一次“全部待选对象对应的缩略图的移动”为例,已选数量提示则由图2G中的“已选择56项”更新为“已选择84项”(图中未示出)。参照图2G中左侧示出的目标对象与图库所有对象的相对位置关系以及当前展示界面T展示的缩略图对应的对象与图库所有对象的相对位置关系,可以直观的观察到每次进行全部待选对象对应的缩略图的移动,可以提高进行目标对象选择的速度。在检测到针对所述增选控件的移动操作的情况下,也可以根据移动操作每次进行部分缩略图的移动。例如,可以每次进行一行缩略图或者两行缩略图的移动。并且,可以根据针对增选控件的移动速度(根据对应的移动操作确定)调整缩略图的移动速度,增选控件的移动速度越大缩略图的移动速度也越大。In the case of detecting the movement operation for the additional option control K2, the display state of the additional option control is switched from K2 to K2'. Moreover, in the case of detecting the movement operation on the additional selection control K2, all the thumbnails corresponding to the objects to be selected in the interface T may be moved each time. For example, as shown in Figure 2G, there are 28 objects to be selected in the interface T, and in the case of detecting the downward movement of the additional selection control, 28 thumbnails can be moved each time, that is, the interface T The currently displayed 28 thumbnails are switched to thumbnails of 28 new objects in the gallery after the objects corresponding to the 28 thumbnails. The selected quantity reminder can also be updated in real time according to the change in the number of target objects. For example, only one "movement of the thumbnails corresponding to all objects to be selected" is carried out. The selected quantity reminder is represented by the "selected 56 items" is updated to "84 items have been selected" (not shown in the figure). With reference to the relative positional relationship between the target object and all objects in the gallery shown on the left side of FIG. The movement of the thumbnail corresponding to the selected object can improve the speed of target object selection. In the case that a moving operation on the additional control is detected, part of the thumbnails may also be moved each time according to the moving operation. For example, one row of thumbnails or two rows of thumbnails can be moved at a time. In addition, the moving speed of the thumbnail can be adjusted according to the moving speed of the added control (determined according to the corresponding moving operation). The greater the moving speed of the added control, the greater the moving speed of the thumbnail.
其中,如图2G-图2H所示,还可以增加增选移动方向指示K21,以提醒用户当前增选控件K2’的移动方向。如图2G所示的K21指示增选控件K2’的移动方向为向下,如图2H所示的K21指示增选控件K2’的移动方向为向上。以使用户可以清楚地确定增选控件的移动方向。Wherein, as shown in FIG. 2G-FIG. 2H, an additional selection moving direction indicator K21 may also be added to remind the user of the current moving direction of the additional selection control K2'. K21 shown in FIG. 2G indicates that the moving direction of the optional control K2' is downward, and K21 shown in FIG. 2H indicates that the moving direction of the optional control K2' is upward. So that the user can clearly determine the movement direction of the co-opted control.
其中,针对增选控件和减选控件的移动操作可以是检测到的点击控件(也即增选控件和减选控件)后拖动控件向其他位置移动的操作,等等,本申请对此不作限制。Among them, the moving operation for the added control and the deselected control may be the operation of dragging the control to move to other positions after the detected click on the control (that is, the added control and the deselected control), etc., and this application does not make any limit.
检测到针对减选控件K1的移动操作:The movement operation for the deselection control K1 is detected:
根据检测到的针对所述减选控件K1的移动操作,控制所述界面T中的所述缩略图P进行移动;并将所述缩略图P移动的过程中基于所述选择栏Q1确定出的待选对象中已确定为目标对象的第一对象从所述目标对象中删除。其中,在选择栏Q1仅包括L1和L2的情况下,减选控件K1的移动操作可以包括如图2I所示的将K1向界面T的下方移动的移动操作或者如图2J所示的将K1向界面T的上方移动的移动操作。在选择栏Q1包括L1、L2、L3、L4的情况下,减选控件K1的移动操作可以包括如图2I所示的将K1向界面T的下方移动的移动操作、如图2J所示的将K1向界面T的上方移动的移动操作、将K1向界面T的左侧移动的移动操作、或者将K1向界面T的右侧移动的移动操作。According to the detected movement operation on the deselection control K1, control the thumbnail P in the interface T to move; and move the thumbnail P based on the selection column Q1 in the process of moving The first object determined as the target object among the candidate objects is deleted from the target object. Wherein, when the selection column Q1 only includes L1 and L2, the moving operation of the deselection control K1 may include moving K1 to the bottom of the interface T as shown in FIG. 2I or moving K1 to the bottom of the interface T as shown in FIG. 2J . Move operation to move to the top of the interface T. In the case that the selection column Q1 includes L1, L2, L3, and L4, the movement operation of the deselection control K1 may include the movement operation of moving K1 to the bottom of the interface T as shown in FIG. A move operation of moving K1 to the top of the interface T, a move operation of moving K1 to the left of the interface T, or a move operation of moving K1 to the right of the interface T.
在检测到针对所述减选控件K1的移动操作的情况下,减选控件的显示状态由K1切换至K1’。并且,在检测到针对所述减选控件K1的移动操作的情况下,可以每次进行界面T中待选对象对应的缩略图的全部移动。例如,如图2I所示界面T中待选对象为28个,则在检测到针对减选控件的向下移动的操作的情况下,可以每次进行28个缩略图的移动,也即将界面T当前显示的28个缩略图切换成图库中在这28个缩略图对应的对象之后新的28个对象的缩略图。同时,已选数量提示也可以根据目标对象的数量变化情况进行实时更新,以仅进行了一次“全部待选对象对应的缩略图的移动”为例,已选数量提示则由图2I中的“已选择76项”更新为“已选择48项”(图中未示出)。参照图2I中左侧示出的目标对象与图库所有对象的相对位置关系以及当前展示界面T展示的缩略图对应的对象与图库所有对象的相对位置关系,可以直观的观察到每次进行全部待选对象对应的缩略图的移动,可以提高进行目标对象选择的速度。在检测到针对所述减选控件的移动操作的情况下,也可以根据移动操作每次进行部分缩略图的移动。例如,可以每次进行一行缩略图或者两行缩略图的移动。并且,可以根据针对减选控件的移动速度(根据对应的移动操作确定)调整缩略图的移动速度,减选控件的移动速度越大缩略图的移动速度也越大。When the movement operation for the deselection control K1 is detected, the display state of the deselection control is switched from K1 to K1'. In addition, when a moving operation on the deselection control K1 is detected, all the thumbnails corresponding to the objects to be selected in the interface T may be moved each time. For example, as shown in Figure 2I, there are 28 objects to be selected in the interface T, and when the operation of moving down the selection control is detected, 28 thumbnails can be moved each time, that is, the interface T The currently displayed 28 thumbnails are switched to thumbnails of 28 new objects in the gallery after the objects corresponding to the 28 thumbnails. At the same time, the selected quantity reminder can also be updated in real time according to the quantity change of the target object. For example, only one "movement of the thumbnails corresponding to all the objects to be selected" has been carried out, and the selected quantity reminder is provided by the " 76 items have been selected" is updated to "48 items have been selected" (not shown in the figure). With reference to the relative positional relationship between the target object and all objects in the gallery shown on the left side of FIG. The movement of the thumbnail corresponding to the selected object can improve the speed of target object selection. When a moving operation on the deselection control is detected, part of the thumbnails may also be moved each time according to the moving operation. For example, one row of thumbnails or two rows of thumbnails can be moved at a time. In addition, the moving speed of the thumbnails can be adjusted according to the moving speed of the deselection control (determined according to the corresponding movement operation). The greater the movement speed of the deselection control, the greater the movement speed of the thumbnails.
其中,如图2I-图2J所示,还可以增加减选移动方向指示K11,以提醒用户当前减选控件K1’的移动方向。如图2I所示的K11指示减选控件K1’的移动方向为向下,如图2J所示的K11指示减选控件K1’的移动方向为向上。以使用户可以清楚地确定减选控件的移动方向。Wherein, as shown in FIG. 2I-FIG. 2J, an indicator K11 of the deselection moving direction can also be added to remind the user of the current moving direction of the deselection control K1'. K11 shown in FIG. 2I indicates that the moving direction of the deselection control K1' is downward, and K11 shown in FIG. 2J indicates that the movement direction of the deselection control K1' is upward. So that the user can clearly determine the direction of movement of the deselection control.
检测到针对界面T的滑动操作:Swipe operation detected for interface T:
根据针对界面T滑动操作确定出滑动轨迹G,将所述待选对象中对应于所述滑动轨迹的对象确定为所述目标对象;并且/或者根据检测到的滑动轨迹,将所述待选对象中对应于所述滑动轨迹的第一对象从所述目标对象中删除。Determine the sliding track G according to the sliding operation on the interface T, determine the object corresponding to the sliding track in the candidate objects as the target object; and/or according to the detected sliding track, select the candidate object The first object corresponding to the sliding track is deleted from the target object.
如图2K所示,若滑动轨迹为G,且对应于该滑动轨迹的缩略图为目标对象的目标缩略图,则可以将对应该滑动轨迹G的8个目标缩略图对应的第一对象(该第一对象原本已经确定为目标对象)从目标对象中删除。As shown in Figure 2K, if the sliding track is G, and the thumbnail corresponding to the sliding track is the target thumbnail of the target object, then the first object corresponding to the 8 target thumbnails corresponding to the sliding track G (the The first object has already been determined as the target object) is deleted from the target object.
同时在界面T中进行状态标签更新,以提醒用户界面T中当前显示的缩略图中有哪些是目标缩略图,并且,已选数量提示也可以根据目标对象的数量变化情况进行实时更新。如图2K检测到滑动轨迹为G可以在实时进行界面T的更新,用户滑动操作完成之后,为用户展示图2L所示的界面,从图2L中可以看出状态标签的更新,以及已选数量提示则由图2K中的“已选择28项”更新为图2L中的“已选择20项”。At the same time, the status label is updated in the interface T to remind the user interface T which of the currently displayed thumbnails are target thumbnails, and the selected quantity prompt can also be updated in real time according to the change in the quantity of the target objects. As shown in Figure 2K, it is detected that the sliding track is G, and the interface T can be updated in real time. After the user's sliding operation is completed, the interface shown in Figure 2L will be displayed to the user. From Figure 2L, it can be seen that the update of the status label and the selected quantity The prompt is updated from "28 items selected" in Fig. 2K to "20 items selected" in Fig. 2L.
检测到针对界面T的移动操作:A move operation on interface T is detected:
在检测到针对界面T的移动操作的情况下,移动所述界面T中展示的缩略图。例如,在为用户展示如图2L的界面T的过程中,若将检测到针对界面T的移动方向为向上的移动操作的情况下,可以根据移动操作的方向和速度将界面T中缩略图向上移动,则用户所看到的界面T由图2L中的状态变为图2M中的状态。用户可以浏览图库中不同对象的缩略图。When a moving operation on the interface T is detected, the thumbnails displayed on the interface T are moved. For example, in the process of displaying the interface T shown in Figure 2L for the user, if an upward movement operation on the interface T is detected, the thumbnails in the interface T can be moved upwards according to the direction and speed of the movement operation. move, the interface T seen by the user changes from the state in FIG. 2L to the state in FIG. 2M. Users can browse thumbnails of different objects in the gallery.
其中,检测到针对界面T的滑动操作和移动操作的区别在于,针对界面T的滑动操作为检测到针对界面的点击操作后继续检测到用户的手指等与触摸屏之间的相对位置发生变化(也即产生了移动轨迹),而针对界面T的移动操作为检测到针对界面的长按等操作后继续检测到用户的手指等与触摸屏之间的相对位置发生变化(也即产生了移动轨迹)。Wherein, the difference between detecting the sliding operation on the interface T and the moving operation is that the sliding operation on the interface T is to continue to detect a change in the relative position between the user's finger and the touch screen after detecting the click operation on the interface (also That is, a movement track is generated), and the movement operation for the interface T is to continue to detect changes in the relative position between the user's finger and the touch screen after detecting an operation such as a long press on the interface (that is, a movement track is generated).
在一种可能的实现方式中,在确定满足总览展示条件的情况下,在所述界面中展示总览提示。其中,所述总览展示条件可以包括以下至少一项:当前处于所述多选模式、检测到所述缩略图移动、检测到针对所述增选控件的触发操作、检测到针对所述减选控件的触发操作。“检测到所述缩略图移动”可以包括检测到针对减选控件的移动操作而使缩略图移动、检测到针对增选控件的移动操作而使缩略图移动、检测到针对界面T的移动操作而使缩略图移动。In a possible implementation manner, when it is determined that a condition for displaying an overview is met, an overview prompt is displayed on the interface. Wherein, the overview display condition may include at least one of the following: currently in the multi-selection mode, detection of the movement of the thumbnail, detection of a trigger operation for the selection control, detection of a trigger operation for the selection control trigger action. "Detecting the movement of the thumbnail" may include detecting that the thumbnail is moved by the movement operation for the deselection control, moving the thumbnail by detecting the movement operation for the addition control, and moving the thumbnail by detecting the movement operation for the interface T. Make thumbnails move.
其中,所述总览提示用于指示所述目标对象与所述图库中所有对象的相对位置关系和/或所述界面T中当前展示的缩略图所对应的对象与所述图库中所有对象的相对位置关系。或者所述总览提示还用于指示所述图库中对象对应的时间信息和/或位置信息。时间信息可以是电子设备存储或拍摄对象的时间,可以是对应的年、月、日以及当日的具体时间等等。位置信息可以是对象存储或拍摄的对应的地理位置。Wherein, the overview prompt is used to indicate the relative positional relationship between the target object and all objects in the gallery and/or the relative position between the object corresponding to the thumbnail currently displayed in the interface T and all objects in the gallery Positional relationship. Alternatively, the overview prompt is further used to indicate time information and/or location information corresponding to objects in the gallery. The time information may be the time when the electronic device stores or photographs the object, and may be the corresponding year, month, day, specific time of the day, and the like. The location information may be the corresponding geographic location where the object is stored or photographed.
图3A、图3B示出根据本申请一实施例的总览提示的示意图。如图3A所示,可以通过提示框W等实现方式进行进行总览提示的展示。用户基于图库中对象和目标对象所占面积的比例关系可以确定已经选择了图库中多少对象,了解“目标对象与所述图库中所有对象的相对位置关系”。基于界面T对应的对象可以确定“T中当前展示的缩略图所对应的对象与所述图库中所有对象的相对位置关系”。基于虚线所指示的初始位置可以确定是大概从图库的什么位置开始进行目标对象选择。并且,如图3B所示,可以在W中展示对象对应的年份和地理位置,并在不同年份和地理位置的对象之间以分组的形式进行展示。FIG. 3A and FIG. 3B show schematic diagrams of an overview prompt according to an embodiment of the present application. As shown in FIG. 3A , an overview prompt can be displayed through an implementation manner such as a prompt box W. Based on the proportional relationship between the objects in the gallery and the area occupied by the target object, the user can determine how many objects in the gallery have been selected, and understand the "relative positional relationship between the target object and all objects in the gallery". Based on the objects corresponding to the interface T, the "relative positional relationship between the object corresponding to the thumbnail currently displayed in T and all the objects in the gallery" can be determined. Based on the initial position indicated by the dotted line, it may be determined from which position in the gallery to start selecting the target object. Moreover, as shown in FIG. 3B , the year and geographical location corresponding to the object may be displayed in W, and objects of different years and geographical locations may be displayed in groups.
需要说明的是,上述总览提示的实现方式仅是本申请提供的示意性示例,本领域技术人员可以根据实际需要对其实现方式进行设置,本申请对此不作限制。It should be noted that, the implementation manner of the above overview prompt is only a schematic example provided by this application, and those skilled in the art can set the implementation manner according to actual needs, and this application does not limit it.
本申请还提供了一种图库对象选择装置,该装置包括:The present application also provides a device for selecting a gallery object, the device comprising:
缩略图展示模块,用于在界面中展示图库的部分对象的缩略图,所述对象包括视频、图片和动态图片中的至少一种;The thumbnail display module is used to display thumbnails of some objects in the gallery in the interface, and the objects include at least one of videos, pictures and dynamic pictures;
组件展示模块,用于在检测到多选模式被触发的情况下,在所述界面中展示多选组件;A component display module, configured to display a multi-selection component in the interface when it is detected that the multi-selection mode is triggered;
对象确定模块,用于根据检测到的针对所述多选组件的操作,从所述图库的多个对象中确定出被选中的目标对象。The object determination module is configured to determine the selected target object from the plurality of objects in the gallery according to the detected operation on the multi-selection component.
在一种可能的实现方式中,所述多选组件包括增选控件和选择栏,所述选择栏用于提醒用户所述界面中当前展示的、处于所述选择栏的选择区域内的缩略图对应的对象为待选对象,处于所述选择栏的选择区域内的缩略图包括部分或全部区域处于所述选择区域内的缩略图;对象确定模块,可以包括:In a possible implementation manner, the multi-selection component includes an additional selection control and a selection bar, and the selection bar is used to remind the user of the thumbnails currently displayed in the interface and within the selection area of the selection bar The corresponding object is an object to be selected, and the thumbnails in the selection area of the selection column include thumbnails with part or all of the area in the selection area; the object determination module may include:
第一确定子模块,用于在检测到针对所述增选控件的触发操作的情况下,将所述待选对象确定为目标对象。The first determining submodule is configured to determine the object to be selected as a target object when a trigger operation on the add-on control is detected.
在一种可能的实现方式中,对象确定模块,还可以包括:In a possible implementation manner, the object determination module may further include:
增选移动子模块,用于根据检测到的针对所述增选控件的移动操作,控制所述界面中的所述缩略图进行移动;An optional moving submodule, configured to control the movement of the thumbnails in the interface according to the detected movement operation on the optional control;
增选确定子模块,用于将所述缩略图移动的过程中基于所述选择栏确定出的待选对象确定为所述目标对象。An additional determining submodule is configured to determine the candidate object determined based on the selection bar during the process of moving the thumbnail as the target object.
在一种可能的实现方式中,所述多选组件还包括减选控件,所述装置还可以包括:In a possible implementation manner, the multi-selection component further includes a deselection control, and the device may further include:
第一对象删除模块,用于在检测到针对所述减选控件的触发操作的情况下,将所述待选对象中已确定为目标对象的第一对象从所述目标对象中删除。The first object deletion module is configured to delete the first object determined as the target object among the candidate objects from the target object when a trigger operation on the deselection control is detected.
在一种可能的实现方式中,所述装置还可以包括:In a possible implementation manner, the device may further include:
减选移动模块,用于根据检测到的针对所述减选控件的移动操作,控制所述界面中的所述缩略图进行移动;A deselection moving module, configured to control the thumbnails in the interface to move according to the detected movement operation on the deselection control;
第二对象删除模块,用于将所述缩略图移动的过程中基于所述选择栏确定出的所述待选对象中的第一对象从所述目标对象中删除。The second object deletion module is configured to delete the first object in the candidate objects determined based on the selection bar in the process of moving the thumbnail from the target object.
在一种可能的实现方式中,所述装置还可以包括:In a possible implementation manner, the device may further include:
突出显示模块,用于对所述界面当前显示的缩略图中对应于所述目标对象的目标缩略图进行突出显示;a highlighting module, configured to highlight the target thumbnail corresponding to the target object in the thumbnails currently displayed on the interface;
其中,所述突出显示包括以下至少一项操作:为所述目标缩略图增加已选中标签、提高所述目标缩略图的亮度、为所述目标缩略图增加边框。Wherein, the highlighting includes at least one of the following operations: adding a selected label to the target thumbnail, increasing the brightness of the target thumbnail, and adding a border to the target thumbnail.
在一种可能的实现方式中,所述装置还可以包括:In a possible implementation manner, the device may further include:
尺寸调整模块,用于根据检测到的针对所述选择栏的尺寸调整操作,调整所述选择栏的选择区域的尺寸。A size adjustment module, configured to adjust the size of the selection area of the selection bar according to the detected size adjustment operation on the selection bar.
在一种可能的实现方式中,所述选择栏包括上边界栏和下边界栏,所述选择栏的选择区域为所述界面中所述上边界栏和所述下边界栏之间的区域;In a possible implementation manner, the selection bar includes an upper border bar and a lower border bar, and a selection area of the selection bar is an area between the upper border bar and the lower border bar in the interface;
其中,根所述尺寸调整模块,可以包括以下至少一个子模块:Wherein, the size adjustment module may include at least one of the following submodules:
第一调整子模块,用于根据检测到的针对所述上边界栏的靠近所述下边界栏的移动操作和/或针对所述下边界栏靠近所述上边界栏的移动操作,缩小所述选择栏的选择区域的尺寸;The first adjustment submodule is configured to shrink the the size of the selection area of the selection bar;
第二调整子模块,用于根据检测到的针对所述上边界栏的远离所述下边界栏的移动操作和/或针对所述下边界栏远离所述上边界栏的移动操作,增加所述选择栏的选择区域的尺寸。The second adjustment submodule is configured to increase the The size of the selection area of the selection bar.
在一种可能的实现方式中,所述选择栏包括左边界栏和右边界栏;In a possible implementation manner, the selection bar includes a left border bar and a right border bar;
其中,根所述尺寸调整模块,还可以包括以下至少一个子模块:Wherein, the size adjustment module may further include at least one of the following submodules:
第三调整子模块,用于根据检测到的针对所述左边界栏的靠近所述右边界栏的移动操作和/或针对所述右边界栏靠近所述左边界栏的移动操作,缩小所述选择栏的选择区域的尺寸;The third adjustment submodule is configured to shrink the frame according to the detected movement operation for the left border bar close to the right border bar and/or the detected movement operation for the right border bar close to the left border bar the size of the selection area of the selection bar;
第四调整子模块,用于根据检测到的针对所述左边界栏的远离所述右边界栏的移动操作和/或针对所述右边界栏远离所述左边界栏的移动操作,增加所述选择栏的选择区域的尺寸。The fourth adjustment sub-module is configured to increase the The size of the selection area of the selection bar.
在一种可能的实现方式中,所述装置还可以包括:In a possible implementation manner, the device may further include:
展示启动模块,用于在所述界面中展示对应于所述多选组件的启动控件,所述启动控件用于响应于检测到的触发操作展示所述多选组件或停止所述多选组件的展示;A display startup module, configured to display a startup control corresponding to the multi-choice component in the interface, and the startup control is used to display the multi-choice component or stop the multi-choice component in response to the detected trigger operation exhibit;
其中,所述多选模式的触发操作包括:检测到的针对所述启动控件的触发操作且所述界面中未展示有所述多选组件、或检测到的针对所述界面中任意一个缩略图的选择操作。Wherein, the trigger operation of the multi-choice mode includes: a detected trigger operation for the start control and the multi-choice component is not displayed in the interface, or a detected thumbnail for any one of the interface selection operation.
在一种可能的实现方式中,所述装置还可以包括:In a possible implementation manner, the device may further include:
提示展示模块,用于在确定满足总览展示条件的情况下,在所述界面中展示总览提示,所述总览提示用于指示所述目标对象与所述图库中所有对象的相对位置关系和/或所述界面中当前展示的缩略图所对应的对象与所述图库中所有对象的相对位置关系;A prompt display module, configured to display an overview prompt in the interface when it is determined that the overview display condition is satisfied, and the overview prompt is used to indicate the relative positional relationship and/or of the target object and all objects in the gallery The relative positional relationship between the object corresponding to the thumbnail currently displayed in the interface and all objects in the gallery;
其中,所述总览展示条件包括以下至少一项:当前处于所述多选模式、检测到所述缩略图移动、检测到针对所述增选控件的触发操作、检测到针对所述减选控件的触发操作。Wherein, the overview display condition includes at least one of the following: currently in the multi-selection mode, detection of the movement of the thumbnail, detection of a trigger operation for the additional selection control, detection of a trigger operation for the deselection control Trigger action.
在一种可能的实现方式中,所述总览提示还用于指示所述图库中对象对应的时间信息和/或位置信息。In a possible implementation manner, the overview prompt is further used to indicate time information and/or location information corresponding to objects in the gallery.
在一种可能的实现方式中,所述装置还可以包括:In a possible implementation manner, the device may further include:
滑动确定模块,用于根据检测到的滑动轨迹,将所述待选对象中对应于所述滑动轨迹的对象确定为所述目标对象;并且/或者A sliding determination module, configured to determine an object corresponding to the sliding track among the candidate objects as the target object according to the detected sliding track; and/or
第三对象删除模块,用于根据检测到的滑动轨迹,将所述待选对象中对应于所述滑动轨迹的第一对象从所述目标对象中删除。The third object deletion module is configured to delete the first object corresponding to the sliding track among the candidate objects from the target object according to the detected sliding track.
其中,上述图库对象选择装置各模块、子模块的工作过程、原理以及所能得到的技术效果可以参考上文图库对象选择方法各步骤的实现过程,此处不予赘述。Wherein, the working process, principle and obtainable technical effect of each module and sub-module of the above-mentioned library object selection device can refer to the implementation process of each step of the above-mentioned library object selection method, and will not be repeated here.
图4示意了一种电子设备100的结构示意图。FIG. 4 shows a schematic structural diagram of an electronic device 100 .
本申请的电子设备100可以包括手机、可折叠电子设备、平板电脑、桌面型计算机、膝上型计算机、手持计算机、笔记本电脑、超级移动个人计算机(ultra-mobile personalcomputer,UMPC)、上网本、蜂窝电话、个人数字助理(personal digital assistant,PDA)、增强现实(augmented reality,AR)设备、虚拟现实(virtual reality,VR)设备、人工智能(artificial intelligence,AI)设备、可穿戴式设备、车载设备、智能家居设备、或智慧城市设备中的至少一种。本申请实施例对该电子设备100的具体类型不作特殊限制。The electronic device 100 of the present application may include a mobile phone, a foldable electronic device, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone , personal digital assistant (personal digital assistant, PDA), augmented reality (augmented reality, AR) device, virtual reality (virtual reality, VR) device, artificial intelligence (artificial intelligence, AI) device, wearable device, vehicle-mounted device, At least one of smart home equipment, or smart city equipment. The embodiment of the present application does not specifically limit the specific type of the electronic device 100 .
电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接头130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。The electronic device 100 may include a
可以理解的是,本申请实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that, the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100 . In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine certain components, or separate certain components, or arrange different components. The illustrated components can be realized in hardware, software or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processingunit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The
处理器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The processor can generate an operation control signal according to the instruction opcode and the timing signal, and complete the control of fetching and executing the instruction.
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器可以为高速缓冲存储器。该存储器可以保存处理器110用过或使用频率较高的指令或数据。如果处理器110需要使用该指令或数据,可从该存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。A memory may also be provided in the
其中,处理器110被配置为执行存储器中的指令时实现本申请所提供的图库对象选择方法。Wherein, the
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuitsound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purposeinput/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。处理器110可以通过以上至少一种接口连接触摸传感器、音频模块、无线通信模块、显示器、摄像头等模块。In some embodiments,
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that the interface connection relationship between the modules shown in the embodiment of the present application is only a schematic illustration, and does not constitute a structural limitation of the electronic device 100 . In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
电子设备100可以通过GPU,显示屏194,以及应用处理器等实现显示功能,用于实现上述界面T的显示。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The electronic device 100 may implement a display function through the GPU, the display screen 194 , and the application processor, etc., to realize the display of the above-mentioned interface T. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering.
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emittingdiode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrixorganic light emitting diode的,AMOLED),柔性发光二极管(flex light-emittingdiode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot lightemitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或多个显示屏194。The display screen 194 is used to display images, videos and the like. The display screen 194 includes a display panel. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light emitting diode). AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diodes (quantum dot light emitting diodes, QLED), etc. In some embodiments, the electronic device 100 may include one or more display screens 194 .
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。电子设备100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,电子设备100根据压力传感器180A检测该触摸操作强度。电子设备100也可以根据压力传感器180A的检测信号计算触摸的位置。电子设备100可以根据压力传感器180A的检查进行本申请中触发操作、滑动操作、移动操作等操作的检测确定。The pressure sensor 180A is used to sense the pressure signal and convert the pressure signal into an electrical signal. In some embodiments, pressure sensor 180A may be disposed on display screen 194 . There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors. A capacitive pressure sensor may be comprised of at least two parallel plates with conductive material. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic device 100 may also calculate the touched position according to the detection signal of the pressure sensor 180A. The electronic device 100 may detect and determine operations such as a trigger operation, a sliding operation, and a moving operation in this application according to the inspection of the pressure sensor 180A.
触摸传感器180K,也称“触控器件”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型,进而根据触摸事件的类型进一步确定其是否为本申请中触发操作、滑动操作、移动操作等操作。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。The touch sensor 180K is also called "touch device". The touch sensor 180K can be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”. The touch sensor 180K is used to detect a touch operation on or near it. The touch sensor can transmit the detected touch operation to the application processor to determine the type of the touch event, and further determine whether it is an operation such as a trigger operation, a sliding operation, or a moving operation in this application according to the type of the touch event. Visual output related to the touch operation can be provided through the display screen 194 . In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100 , which is different from the position of the display screen 194 .
按键190可以包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。The keys 190 may include a power key, a volume key and the like. The key 190 may be a mechanical key. It can also be a touch button. The electronic device 100 can receive key input and generate key signal input related to user settings and function control of the electronic device 100 .
本申请的实施例提供了一种图库对象选择装置,包括:处理器以及用于存储处理器可执行指令的存储器;其中,所述处理器被配置为执行所述指令时实现上述方法。An embodiment of the present application provides an apparatus for selecting a library object, including: a processor and a memory for storing instructions executable by the processor; wherein the processor is configured to implement the above method when executing the instructions.
本申请的实施例提供了一种非易失性计算机可读存储介质,其上存储有计算机程序指令,所述计算机程序指令被处理器执行时实现上述方法。An embodiment of the present application provides a non-volatile computer-readable storage medium, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the foregoing method is implemented.
本申请的实施例提供了一种计算机程序产品,包括计算机可读代码,或者承载有计算机可读代码的非易失性计算机可读存储介质,当所述计算机可读代码在电子设备的处理器中运行时,所述电子设备中的处理器执行上述方法。An embodiment of the present application provides a computer program product, including computer-readable codes, or a non-volatile computer-readable storage medium bearing computer-readable codes, when the computer-readable codes are stored in a processor of an electronic device When running in the electronic device, the processor in the electronic device executes the above method.
计算机可读存储介质可以是可以保持和存储由指令执行设备使用的指令的有形设备。计算机可读存储介质例如可以是――但不限于――电存储设备、磁存储设备、光存储设备、电磁存储设备、半导体存储设备或者上述的任意合适的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:便携式计算机盘、硬盘、随机存取存储器(RandomAccess Memory,RAM)、只读存储器(Read Only Memory,ROM)、可擦式可编程只读存储器(Electrically Programmable Read-Only-Memory,EPROM或闪存)、静态随机存取存储器(Static Random-Access Memory,SRAM)、便携式压缩盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、数字多功能盘(Digital Video Disc,DVD)、记忆棒、软盘、机械编码设备、例如其上存储有指令的打孔卡或凹槽内凸起结构、以及上述的任意合适的组合。A computer readable storage medium may be a tangible device that can retain and store instructions for use by an instruction execution device. A computer readable storage medium may be, for example, but is not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of computer-readable storage media include: portable computer disks, hard disks, random access memory (Random Access Memory, RAM), read-only memory (Read Only Memory, ROM), erasable Electrically Programmable Read-Only-Memory (EPROM or flash memory), Static Random-Access Memory (Static Random-Access Memory, SRAM), Portable Compact Disk Read-Only Memory (Compact Disc Read-Only Memory, CD- ROM), Digital Video Disc (DVD), memory sticks, floppy disks, mechanically encoded devices, such as punched cards or raised structures in grooves with instructions stored thereon, and any suitable combination of the foregoing.
这里所描述的计算机可读程序指令或代码可以从计算机可读存储介质下载到各个计算/处理设备,或者通过网络、例如因特网、局域网、广域网和/或无线网下载到外部计算机或外部存储设备。网络可以包括铜传输电缆、光纤传输、无线传输、路由器、防火墙、交换机、网关计算机和/或边缘服务器。每个计算/处理设备中的网络适配卡或者网络接口从网络接收计算机可读程序指令,并转发该计算机可读程序指令,以供存储在各个计算/处理设备中的计算机可读存储介质中。Computer readable program instructions or codes described herein may be downloaded from a computer readable storage medium to a respective computing/processing device, or downloaded to an external computer or external storage device over a network, such as the Internet, local area network, wide area network, and/or wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and/or edge servers. A network adapter card or a network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in each computing/processing device .
用于执行本申请操作的计算机程序指令可以是汇编指令、指令集架构(Instruction Set Architecture,ISA)指令、机器指令、机器相关指令、微代码、固件指令、状态设置数据、或者以一种或多种编程语言的任意组合编写的源代码或目标代码,所述编程语言包括面向对象的编程语言—诸如Smalltalk、C++等,以及常规的过程式编程语言—诸如“C”语言或类似的编程语言。计算机可读程序指令可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络—包括局域网(Local Area Network,LAN)或广域网(WideArea Network,WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。在一些实施例中,通过利用计算机可读程序指令的状态信息来个性化定制电子电路,例如可编程逻辑电路、现场可编程门阵列(Field-ProgrammableGate Array,FPGA)或可编程逻辑阵列(Programmable Logic Array,PLA),该电子电路可以执行计算机可读程序指令,从而实现本申请的各个方面。Computer program instructions for performing the operations of the present application may be assembly instructions, Instruction Set Architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or in one or more source or object code written in any combination of programming languages, including object-oriented programming languages—such as Smalltalk, C++, etc., and conventional procedural programming languages—such as the “C” language or similar programming languages. Computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server implement. In cases involving a remote computer, the remote computer can be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or it can be connected to an external computer (e.g., using Internet Service Provider to connect via the Internet). In some embodiments, electronic circuits, such as programmable logic circuits, field-programmable gate arrays (Field-Programmable Gate Array, FPGA) or programmable logic arrays (Programmable Logic Array, PLA), the electronic circuit can execute computer-readable program instructions, thereby realizing various aspects of the present application.
这里参照根据本申请实施例的方法、装置(系统)和计算机程序产品的流程图和/或框图描述了本申请的各个方面。应当理解,流程图和/或框图的每个方框以及流程图和/或框图中各方框的组合,都可以由计算机可读程序指令实现。Aspects of the present application are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It should be understood that each block of the flowcharts and/or block diagrams, and combinations of blocks in the flowcharts and/or block diagrams, can be implemented by computer-readable program instructions.
这些计算机可读程序指令可以提供给通用计算机、专用计算机或其它可编程数据处理装置的处理器,从而生产出一种机器,使得这些指令在通过计算机或其它可编程数据处理装置的处理器执行时,产生了实现流程图和/或框图中的一个或多个方框中规定的功能/动作的装置。也可以把这些计算机可读程序指令存储在计算机可读存储介质中,这些指令使得计算机、可编程数据处理装置和/或其他设备以特定方式工作,从而,存储有指令的计算机可读介质则包括一个制造品,其包括实现流程图和/或框图中的一个或多个方框中规定的功能/动作的各个方面的指令。These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine such that when executed by the processor of the computer or other programmable data processing apparatus , producing an apparatus for realizing the functions/actions specified in one or more blocks in the flowchart and/or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause computers, programmable data processing devices and/or other devices to work in a specific way, so that the computer-readable medium storing instructions includes An article of manufacture comprising instructions for implementing various aspects of the functions/acts specified in one or more blocks in flowcharts and/or block diagrams.
也可以把计算机可读程序指令加载到计算机、其它可编程数据处理装置、或其它设备上,使得在计算机、其它可编程数据处理装置或其它设备上执行一系列操作步骤,以产生计算机实现的过程,从而使得在计算机、其它可编程数据处理装置、或其它设备上执行的指令实现流程图和/或框图中的一个或多个方框中规定的功能/动作。It is also possible to load computer-readable program instructions into a computer, other programmable data processing device, or other equipment, so that a series of operational steps are performed on the computer, other programmable data processing device, or other equipment to produce a computer-implemented process , so that instructions executed on computers, other programmable data processing devices, or other devices implement the functions/actions specified in one or more blocks in the flowcharts and/or block diagrams.
附图中的流程图和框图显示了根据本申请的多个实施例的装置、系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或指令的一部分,所述模块、程序段或指令的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。The flowchart and block diagrams in the figures show the architecture, functions and operations of possible implementations of apparatuses, systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in a flowchart or block diagram may represent a module, a portion of a program segment, or an instruction that includes one or more Executable instructions. In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved.
也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行相应的功能或动作的硬件(例如电路或ASIC(Application SpecificIntegrated Circuit,专用集成电路))来实现,或者可以用硬件和软件的组合,如固件等来实现。It should also be noted that each block in the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts, can be implemented with hardware (such as circuits or ASIC (Application SpecificIntegrated Circuit, application-specific integrated circuit)), or can be implemented by a combination of hardware and software, such as firmware.
尽管在此结合各实施例对本发明进行了描述,然而,在实施所要求保护的本发明过程中,本领域技术人员通过查看所述附图、公开内容、以及所附权利要求书,可理解并实现所述公开实施例的其它变化。在权利要求中,“包括”(comprising)一词不排除其他组成部分或步骤,“一”或“一个”不排除多个的情况。单个处理器或其它单元可以实现权利要求中列举的若干项功能。相互不同的从属权利要求中记载了某些措施,但这并不表示这些措施不能组合起来产生良好的效果。Although the present invention has been described in conjunction with various embodiments herein, in the process of implementing the claimed invention, those skilled in the art can understand and Other variations of the disclosed embodiments are implemented. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude a plurality. A single processor or other unit may fulfill the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that these measures cannot be combined to advantage.
以上已经描述了本申请的各实施例,上述说明是示例性的,并非穷尽性的,并且也不限于所披露的各实施例。在不偏离所说明的各实施例的范围的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。本文中所用术语的选择,旨在最好地解释各实施例的原理、实际应用或对市场中的技术的改进,或者使本技术领域的其它普通技术人员能理解本文披露的各实施例。Having described various embodiments of the present application above, the foregoing description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and alterations will be apparent to those of ordinary skill in the art without departing from the scope of the described embodiments. The terminology used herein is chosen to best explain the principle of each embodiment, practical application or improvement of technology in the market, or to enable other ordinary skilled in the art to understand each embodiment disclosed herein.
Claims (17)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110859103.3A CN115700452A (en) | 2021-07-28 | 2021-07-28 | Library object selection method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110859103.3A CN115700452A (en) | 2021-07-28 | 2021-07-28 | Library object selection method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115700452A true CN115700452A (en) | 2023-02-07 |
Family
ID=85120623
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110859103.3A Pending CN115700452A (en) | 2021-07-28 | 2021-07-28 | Library object selection method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115700452A (en) |
-
2021
- 2021-07-28 CN CN202110859103.3A patent/CN115700452A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12248643B2 (en) | Device, method, and graphical user interface for navigating through a user interface using a dynamic object selection indicator | |
US12200342B2 (en) | User interfaces for managing visual content in media | |
US10606469B2 (en) | Device, method, and graphical user interface for managing multiple display windows | |
US9305374B2 (en) | Device, method, and graphical user interface for adjusting the appearance of a control | |
TWI624786B (en) | Multi-display apparatus and method of controlling display thereof | |
US20160357358A1 (en) | Device, Method, and Graphical User Interface for Manipulating Application Windows | |
JP6254147B2 (en) | Object control method in device having transparent display, device and recording medium | |
CN116055610B (en) | Method and mobile terminal for displaying graphical user interface | |
US20140101575A1 (en) | Multi-display apparatus and method of controlling the same | |
KR102343361B1 (en) | Electronic Device and Method of Displaying Web Page Using the same | |
JP2015041271A (en) | Information processor, storage medium and control method | |
US20120133650A1 (en) | Method and apparatus for providing dictionary function in portable terminal | |
CN105359078A (en) | Information processing device, information processing method, and computer program | |
CN116156043B (en) | Application program recommendation display method, electronic device, and readable storage medium | |
US12001642B2 (en) | User interfaces for managing visual content in media | |
CN111159547A (en) | Information display method and device, electronic equipment and computer storage medium | |
CN106570078A (en) | Picture classification display method and apparatus, and mobile terminal | |
US11696017B2 (en) | User interface for managing audible descriptions for visual media | |
CN116700554A (en) | Information display method, electronic device and readable storage medium | |
CN106250503A (en) | A kind of method of picture processing and mobile terminal | |
CN110502169A (en) | A display control method and terminal | |
CN115700452A (en) | Library object selection method and device | |
CN108108098B (en) | Image selection method and mobile terminal | |
US20140204027A1 (en) | Smart bezel icons for tablets | |
CN118363513B (en) | Display method, electronic equipment and storage medium |
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 |