CN108228902A - A kind of document display method and mobile terminal - Google Patents

A kind of document display method and mobile terminal Download PDF

Info

Publication number
CN108228902A
CN108228902A CN201810127081.XA CN201810127081A CN108228902A CN 108228902 A CN108228902 A CN 108228902A CN 201810127081 A CN201810127081 A CN 201810127081A CN 108228902 A CN108228902 A CN 108228902A
Authority
CN
China
Prior art keywords
file
thumbnail
target
display
display interface
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.)
Granted
Application number
CN201810127081.XA
Other languages
Chinese (zh)
Other versions
CN108228902B (en
Inventor
张磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810127081.XA priority Critical patent/CN108228902B/en
Publication of CN108228902A publication Critical patent/CN108228902A/en
Application granted granted Critical
Publication of CN108228902B publication Critical patent/CN108228902B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/13File access structures, e.g. distributed indices
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present invention provides a kind of document display method and mobile terminal, this method include:The file thumbnail of at least one file is shown on the display interface of destination application;The selection target file thumbnail from the file thumbnail of at least one file, and the corresponding file of the file destination thumbnail is determined as file destination;It suspends on the display interface of the destination application and shows the file content of the file destination.By document display method provided by the invention, when can need to check file content during user uses application program for mobile terminal, without toggling the display interface of application program and file, operation is more convenient.

Description

一种文件显示方法及移动终端A file display method and mobile terminal

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种文件显示方法及移动终端。The invention relates to the field of communication technology, in particular to a file display method and a mobile terminal.

背景技术Background technique

随着移动终端的广泛使用,通过移动终端存储图片、文档、视频等文件已十分普遍。目前,当用户使用移动终端的某个应用程序需要打开文档或者图片等查看信息时,需要来回切换当前应用和文件的显示界面,操作较为不便,例如,在通过即时通信应用发送消息时,若需要参考某一个或多个文件的相关内容编辑消息,则可能需要多次切换该即时通信应用和需要参考的文件的显示界面才能完成消息的编辑,不但操作较为不便,而且会造成消息编辑效率较低。With the widespread use of mobile terminals, it is very common to store pictures, documents, videos and other files through mobile terminals. At present, when a user needs to open a document or picture to view information using an application program of a mobile terminal, the display interface of the current application and the file needs to be switched back and forth, which is inconvenient to operate. For example, when sending a message through an instant messaging application, if the user needs to To edit a message with reference to the relevant content of one or more files, it may be necessary to switch the display interface of the instant messaging application and the file to be referenced several times to complete the editing of the message. Not only is the operation more inconvenient, but also the efficiency of message editing will be low .

在现有技术中,针对用户在使用移动终端应用程序的过程中需要查看文件内容时,需要来回切换应用程序和文件的显示界面,操作较为不便的问题,目前尚未提出有效的解决方案。In the prior art, no effective solution has been proposed so far for the problem that users need to switch back and forth between the display interface of the application program and the file when they need to view the file content in the process of using the mobile terminal application program, and the operation is relatively inconvenient.

发明内容Contents of the invention

本发明实施例提供一种文件显示方法及移动终端,以解决用户在使用移动终端应用程序的过程中需要查看文件内容时,需要来回切换应用程序和文件的显示界面,操作较为不便的问题。Embodiments of the present invention provide a file display method and a mobile terminal to solve the problem of inconvenient operation due to the need to switch back and forth between the display interface of the application program and the file when the user needs to view the content of the file while using the application program of the mobile terminal.

为了解决上述技术问题,本发明是这样实现的:In order to solve the problems of the technologies described above, the present invention is achieved in that:

第一方面,本发明实施例提供了一种文件显示方法。该方法包括:In a first aspect, an embodiment of the present invention provides a method for displaying a file. The method includes:

在目标应用程序的显示界面上显示至少一个文件的文件缩略图;displaying a file thumbnail of at least one file on a display interface of the target application;

从所述至少一个文件的文件缩略图中选择目标文件缩略图,并将所述目标文件缩略图对应的文件确定为目标文件;selecting a target file thumbnail from the file thumbnails of the at least one file, and determining the file corresponding to the target file thumbnail as the target file;

在所述目标应用程序的显示界面上悬浮显示所述目标文件的文件内容。The file content of the target file is displayed in suspension on the display interface of the target application program.

第二方面,本发明实施例还提供一种移动终端。该移动终端包括:In a second aspect, an embodiment of the present invention further provides a mobile terminal. The mobile terminal includes:

第一显示模块,用于在目标应用程序的显示界面上显示至少一个文件的文件缩略图;A first display module, configured to display a file thumbnail of at least one file on the display interface of the target application program;

确定模块,用于从所述至少一个文件的文件缩略图中选择目标文件缩略图,并将所述目标文件缩略图对应的文件确定为目标文件;A determining module, configured to select a target file thumbnail from the file thumbnails of the at least one file, and determine the file corresponding to the target file thumbnail as the target file;

第二显示模块,用于在所述目标应用程序的显示界面上悬浮显示所述目标文件的文件内容。The second display module is configured to display the file content of the target file in a floating manner on the display interface of the target application program.

第三方面,本发明实施例还提供一种移动终端,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现上述的文件显示方法的步骤。In the third aspect, the embodiment of the present invention also provides a mobile terminal, including a processor, a memory, and a computer program stored in the memory and operable on the processor, and the computer program is executed by the processor When realizing the steps of the above-mentioned file display method.

第四方面,本发明实施例还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现上述的文件显示方法的步骤。In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above-mentioned file display method are implemented.

本发明实施例中,通过在目标应用程序的显示界面上显示至少一个文件的文件缩略图;从所述至少一个文件的文件缩略图中选择目标文件缩略图,并将所述目标文件缩略图对应的文件确定为目标文件;在所述目标应用程序的显示界面上悬浮显示所述目标文件的文件内容,从而可以在用户使用移动终端应用程序的过程中需要查看文件内容时,无需来回切换应用程序和文件的显示界面,操作较为便捷。In the embodiment of the present invention, by displaying the file thumbnail of at least one file on the display interface of the target application program; selecting the target file thumbnail from the file thumbnails of the at least one file, and corresponding the target file thumbnail The file is determined as the target file; the file content of the target file is suspended on the display interface of the target application program, so that when the user needs to view the file content in the process of using the mobile terminal application program, there is no need to switch the application program back and forth and file display interface, the operation is more convenient.

附图说明Description of drawings

为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments of the present invention. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1是本发明实施例提供的文件显示方法的流程图;FIG. 1 is a flowchart of a file display method provided by an embodiment of the present invention;

图2是本发明又一实施例提供的文件显示方法的流程图;Fig. 2 is a flowchart of a file display method provided by another embodiment of the present invention;

图3是本发明实施例提供的悬浮文件设置菜单的示意图;Fig. 3 is a schematic diagram of a floating file setting menu provided by an embodiment of the present invention;

图4是本发明实施例提供的在目标应用程序的显示界面显示悬浮控件和文件缩略图的示意图;Fig. 4 is a schematic diagram of displaying floating controls and file thumbnails on the display interface of the target application provided by the embodiment of the present invention;

图5是本发明实施例提供的在目标应用程序的显示界面显示悬浮控件和悬浮框的示意图;5 is a schematic diagram of displaying a floating control and a floating frame on a display interface of a target application provided by an embodiment of the present invention;

图6是本发明实施例提供的悬浮控件和悬浮框的边界虚化的示意图;Fig. 6 is a schematic diagram of the border blurring of the floating control and the floating frame provided by the embodiment of the present invention;

图7是本发明实施例提供的移动终端的结构图;FIG. 7 is a structural diagram of a mobile terminal provided by an embodiment of the present invention;

图8是本发明又一实施例提供的移动终端的结构图;FIG. 8 is a structural diagram of a mobile terminal provided by another embodiment of the present invention;

图9是本发明又一实施例提供的移动终端的结构图;FIG. 9 is a structural diagram of a mobile terminal provided by another embodiment of the present invention;

图10为实现本发明各个实施例的一种移动终端的硬件结构示意图。FIG. 10 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention.

具体实施方式Detailed ways

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

本发明实施例提供一种文件显示方法。参见图1,图1是本发明实施例提供的文件显示方法的流程图,如图1所示,包括以下步骤:An embodiment of the present invention provides a file display method. Referring to FIG. 1, FIG. 1 is a flowchart of a file display method provided by an embodiment of the present invention. As shown in FIG. 1, it includes the following steps:

步骤101、在目标应用程序的显示界面上显示至少一个文件的文件缩略图。Step 101, displaying a file thumbnail of at least one file on a display interface of a target application program.

本发明实施例中,上述目标应用程序可以是任意的应用程序,例如,新闻类应用程序、购物类应用程序、通信类应用程序、视频类应用程序等,上述文件可以包括文档、图片、视频等。具体的,本发明实施例可以在目标应用程序的显示界面上悬浮显示至少一个文件的文件缩略图。In the embodiment of the present invention, the above-mentioned target application program can be any application program, for example, a news application program, a shopping application program, a communication application program, a video application program, etc., and the above-mentioned files can include documents, pictures, videos, etc. . Specifically, in this embodiment of the present invention, a file thumbnail of at least one file may be displayed in a floating manner on the display interface of the target application program.

可以理解的是,上述目标应用程序的显示界面上每次可显示的文件缩略图的数量可预先设置,在待显示的文件缩略图数量大于目标应用程序的显示界面上每次可显示的文件缩略图的数量时,可以切换目标应用程序的显示界面上所显示的文件缩略图。It can be understood that the number of file thumbnails that can be displayed each time on the display interface of the above-mentioned target application program can be preset. When the number of thumbnails is selected, the thumbnails of the files displayed on the display screen of the target application can be switched.

步骤102、从所述至少一个文件的文件缩略图中选择目标文件缩略图,并将所述目标文件缩略图对应的文件确定为目标文件。Step 102. Select a target file thumbnail from the file thumbnails of the at least one file, and determine the file corresponding to the target file thumbnail as the target file.

例如,若检测到针对至少一个文件的文件缩略图中的某一文件缩略图的触控操作,例如,点击操作、滑动操作、长按操作等,则可以将该文件缩略图(也即触控操作所针对的文件缩略图)对应的文件确定为目标文件。For example, if a touch operation on a certain file thumbnail in the file thumbnails of at least one file is detected, for example, a click operation, a slide operation, a long press operation, etc., the file thumbnail (that is, touch The file corresponding to the thumbnail image of the file to be operated is determined as the target file.

步骤103、在所述目标应用程序的显示界面上悬浮显示所述目标文件的文件内容。Step 103, displaying the file content of the target file in a floating manner on the display interface of the target application program.

例如,可以在目标应用程序的显示界面上显示悬浮框,并在悬浮框中显示上述目标文件的文件内容,其中,悬浮框的大小、透明度、所显示位置等均可调。For example, a floating frame may be displayed on the display interface of the target application program, and the file content of the above-mentioned target file may be displayed in the floating frame, wherein the size, transparency, displayed position, etc. of the floating frame are all adjustable.

具体的,通过在所述目标应用程序的显示界面上悬浮显示目标文件的文件内容,便于用户在目标应用程序的显示界面上编辑消息时查看目标文件的文件内容,而无需来回切换目标应用程序和目标文件的显示界面,操作较为便捷,也可以提高消息编辑效率。Specifically, by floating and displaying the file content of the target file on the display interface of the target application program, it is convenient for the user to view the file content of the target file when editing a message on the display interface of the target application program, without switching the target application program and The display interface of the target file is more convenient to operate, and can also improve the efficiency of message editing.

本发明实施例中,上述移动终端可以是手机、平板电脑(Tablet PersonalComputer)、膝上型电脑(Laptop Computer)、个人数字助理(personal digitalassistant,简称PDA)或可穿戴式设备(Wearable Device)等。In the embodiment of the present invention, the above-mentioned mobile terminal may be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer), a personal digital assistant (personal digital assistant, PDA for short), or a wearable device (Wearable Device).

本发明实施例的文件显示方法,在目标应用程序的显示界面上显示至少一个文件的文件缩略图;从所述至少一个文件的文件缩略图中选择目标文件缩略图,并将所述目标文件缩略图对应的文件确定为目标文件;在所述目标应用程序的显示界面上悬浮显示所述目标文件的文件内容,从而可以在用户使用移动终端应用程序的过程中需要查看文件内容时,无需来回切换应用程序和文件的显示界面,操作较为便捷。In the file display method of the embodiment of the present invention, the file thumbnail of at least one file is displayed on the display interface of the target application program; the target file thumbnail is selected from the file thumbnails of the at least one file, and the target file is thumbnailed The file corresponding to the thumbnail is determined as the target file; the file content of the target file is suspended on the display interface of the target application program, so that when the user needs to view the file content in the process of using the mobile terminal application program, there is no need to switch back and forth The display interface of applications and files is more convenient to operate.

参见图2,图2是本发明又一实施例提供的文件显示方法的流程图。本发明实施例与上一实施例的区别主要在于对所述在目标应用程序的显示界面上显示至少一个文件的文件缩略图进行进一步限定,本发明实施例中,所述在目标应用程序的显示界面上显示至少一个文件的文件缩略图,包括:在所述目标应用程序的显示界面上显示悬浮控件;若检测到的针对所述悬浮控件的触控操作,则在所述目标应用程序的显示界面上显示至少一个文件的文件缩略图。Referring to FIG. 2 , FIG. 2 is a flowchart of a file display method provided by another embodiment of the present invention. The difference between the embodiment of the present invention and the previous embodiment mainly lies in the further limitation of displaying the file thumbnail of at least one file on the display interface of the target application program. In the embodiment of the present invention, the display of the target application program Displaying a file thumbnail of at least one file on the interface includes: displaying a floating control on the display interface of the target application; A file thumbnail of at least one file is displayed on the interface.

如图2所示,本发明实施例提供的文件显示方法包括以下步骤:As shown in Figure 2, the file display method provided by the embodiment of the present invention includes the following steps:

步骤201、在目标应用程序的显示界面上显示悬浮控件。Step 201, displaying the floating control on the display interface of the target application program.

本发明实施例中,上述悬浮控件可以是任意形状,例如,可以是圆形、椭圆形、矩形、三角形等,悬浮控件的大小和所显示的位置可以预先设置,并可以根据用户操作进行调整。In the embodiment of the present invention, the above-mentioned floating control can be in any shape, for example, it can be circular, elliptical, rectangular, triangular, etc. The size and displayed position of the floating control can be preset and adjusted according to user operations.

具体的,可以在移动终端的设置菜单中设置悬浮控件的启动项,从而用户可以通过触发设置菜单中悬浮控件的启动项,以在目标应用程序的显示界面上显示悬浮控件,例如,参见图3,可以移动终端的设置菜单中添加悬浮文件设置菜单,通过启动悬浮文件设置菜单中的文件悬浮选项即可启动悬浮图;也可以在移动终端的快捷栏(例如,上滑快捷栏)中设置悬浮控件的启动项,从而用户可以通过触发快捷栏中悬浮控件的启动项,以在目标应用程序的显示界面上显示悬浮控件。可选的,本发明实施例也可以通过检测针对移动终端的触控操作,并在所检测到的针对移动终端的触控操作与预设的用于启动悬浮控件的触控操作相匹配时启动悬浮控件的显示。Specifically, the activation item of the floating control can be set in the setting menu of the mobile terminal, so that the user can display the floating control on the display interface of the target application by triggering the activation item of the floating control in the setting menu, for example, see FIG. 3 , you can add a floating file setting menu in the setting menu of the mobile terminal, and start the floating image by starting the file floating option in the floating file setting menu; you can also set the floating in the shortcut bar of the mobile terminal (for example, slide up the shortcut bar) The startup item of the control, so that the user can display the suspension control on the display interface of the target application by triggering the startup item of the suspension control in the shortcut bar. Optionally, this embodiment of the present invention may also detect a touch operation on the mobile terminal, and start when the detected touch operation on the mobile terminal matches the preset touch operation for starting the floating control The display of the floating control.

可选的,上述步骤201,也即所述在所述目标应用程序的显示界面上显示悬浮控件,可以包括:Optionally, the above step 201, that is, displaying the floating control on the display interface of the target application program, may include:

若检测到针对所述目标应用程序的文本编辑框的预设触控操作,则在所述目标应用程序的显示界面上显示悬浮控件。If a preset touch operation on the text edit box of the target application is detected, a floating control is displayed on the display interface of the target application.

本发明实施例中,上述预设触控操作可以是长按操作、重压操作、双击操作等。实际应用中,用户通常是在通过文本编辑框编辑消息的过程中可能需要查看文件内容,因此,可以在检测到针对所述目标应用程序的文本编辑框的预设触控操作时,在所述目标应用程序的显示界面上显示悬浮控件,以通过悬浮控件触发文件缩略图的显示。In the embodiment of the present invention, the aforementioned preset touch operation may be a long press operation, a heavy press operation, a double click operation, and the like. In practical application, the user may need to view the content of the file during the process of editing the message through the text edit box. Therefore, when a preset touch operation on the text edit box of the target application is detected, the A suspension control is displayed on the display interface of the target application program, so as to trigger the display of the file thumbnail through the suspension control.

本发明实施例通过在检测到针对所述目标应用程序的文本编辑框的预设触控操作时,在所述目标应用程序的显示界面上显示悬浮控件,更为符合用户操作习惯,便于用户快速启动悬浮控件的显示。In the embodiment of the present invention, when a preset touch operation on the text editing box of the target application is detected, the floating control is displayed on the display interface of the target application, which is more in line with the user's operating habits, and is convenient for the user to quickly Enables the display of the hover control.

步骤202、若检测到的针对所述悬浮控件的触控操作,则在所述目标应用程序的显示界面上显示至少一个文件的文件缩略图。Step 202: If a touch operation on the floating control is detected, display a file thumbnail of at least one file on the display interface of the target application program.

本发明实施例中,上述触控操作可以是长按操作、点击操作、滑动操作等。具体的,在检测到的针对所述悬浮控件的触控操作时,可以在目标应用程序的显示界面上显示至少一个文件的文件缩略图。In the embodiment of the present invention, the above-mentioned touch operation may be a long press operation, a click operation, a slide operation, and the like. Specifically, when a touch operation on the floating control is detected, a file thumbnail of at least one file may be displayed on a display interface of the target application program.

可以理解的是,上述目标应用程序的显示界面上每次可显示的文件缩略图的数量可预先设置,例如,参见图3,可以通过文件悬浮设置菜单中悬浮文件个数设置选项设置每次可显示的文件缩略图的数量,在待显示的文件缩略图数量大于目标应用程序的显示界面上每次可显示的文件缩略图的数量时,可以切换目标应用程序的显示界面上所显示的文件缩略图。It can be understood that the number of file thumbnails that can be displayed each time on the display interface of the above-mentioned target application program can be preset. For example, referring to FIG. The number of displayed file thumbnails. When the number of file thumbnails to be displayed is greater than the number of file thumbnails that can be displayed on the display interface of the target application program at a time, the file thumbnails displayed on the display interface of the target application program can be switched. Sketch map.

例如,若目标应用程序的显示界面上每次可显示的文件缩略图的数量为3,待显示的文件缩略图数量为6,则可以按照待显示的文件缩略图的编号先后在目标应用程序的显示界面上优先显示文件缩略图a1、文件缩略图a2和文件缩略图a3,若检测到切换操作,则可以更新目标应用程序的显示界面上所显示的文件缩略图,例如,在目标应用程序的显示界面上所显示的文件缩略图切换为文件缩略图a4、文件缩略图a5和文件缩略图a6。For example, if the number of file thumbnails that can be displayed each time on the display interface of the target application is 3, and the number of file thumbnails to be displayed is 6, then the number of file thumbnails to be displayed can be sequentially displayed in the target application. File thumbnails a1, file thumbnails a2, and file thumbnails a3 are preferentially displayed on the display interface. If a switching operation is detected, the displayed file thumbnails on the display interface of the target application can be updated. For example, in the target application The file thumbnails displayed on the display interface are switched to file thumbnail a4, file thumbnail a5, and file thumbnail a6.

步骤203、从所述至少一个文件的文件缩略图中选择目标文件缩略图,并将所述目标文件缩略图对应的文件确定为目标文件。Step 203: Select a target file thumbnail from the file thumbnails of the at least one file, and determine the file corresponding to the target file thumbnail as the target file.

本发明实施例中,上述目标文件的数量可以是一个或至少两个,在上述目标文件的数量为至少两个时,可以通过不同的悬浮框分别显示至少两个目标文件中的每个目标文件。In the embodiment of the present invention, the number of the above-mentioned target files may be one or at least two, and when the number of the above-mentioned target files is at least two, each of the at least two target files may be displayed separately through different floating boxes .

具体的,本发明实施例可以在检测到针对至少一个文件的文件缩略图中的某一文件缩略图的触控操作时,例如,点击操作、滑动操作、长按操作等,将该文件缩略图(也即触控操作所针对的文件缩略图)对应的文件确定为目标文件。本发明实施例也可以通过滑动悬浮控件进行文件缩略图的切换和选择。Specifically, in this embodiment of the present invention, when a touch operation on a certain file thumbnail in the file thumbnails of at least one file is detected, for example, a click operation, a slide operation, a long press operation, etc., the file thumbnail (that is, the thumbnail image of the file targeted by the touch operation) is determined as the target file. In the embodiment of the present invention, file thumbnails can also be switched and selected by sliding the floating control.

可选的,所述触控操作为滑动操作,上述步骤203,也即所述从所述至少一个文件的文件缩略图中选择目标文件缩略图,并将所述目标文件缩略图对应的文件确定为目标文件,可以包括:Optionally, the touch operation is a sliding operation, and the above step 203, that is, selecting the target file thumbnail from the file thumbnails of the at least one file, and determining the file corresponding to the target file thumbnail For object files, you can include:

根据所述滑动操作切换在所述目标应用程序的显示界面上的预设显示区域显示的文件缩略图;switching the file thumbnails displayed in the preset display area on the display interface of the target application according to the sliding operation;

将所述滑动操作结束时所述至少一个文件的文件缩略图中显示于所述预设显示区域的文件缩略图确定为目标文件缩略图,并将所述目标文件缩略图对应的文件确定为目标文件。Determining the file thumbnail displayed in the preset display area in the file thumbnail of the at least one file at the end of the sliding operation as the target file thumbnail, and determining the file corresponding to the target file thumbnail as the target document.

本发明实施例中,可以根据针对悬浮控件的滑动操作切换在目标应用程序的显示界面上显示的文件缩略图和文件缩略图的显示区域。In the embodiment of the present invention, the file thumbnail displayed on the display interface of the target application program and the display area of the file thumbnail can be switched according to the sliding operation on the floating control.

例如,参见图4,在目标应用程序的显示界面10显示有悬浮控件11和3个文件缩略图窗口12,这三个文件缩略图窗口分别显示有文件缩略图a4、文件缩略图a5和文件缩略图a6,用户可通过滑动悬浮控件11以切换3个文件缩略图窗口12中所显示的文件缩略图,例如,向左滑动悬浮控件11以显示文件缩略图a3、文件缩略图a4和文件缩略图a5,向右滑动悬浮控件11以显示文件缩略图a5、文件缩略图a6和文件缩略图a7。For example, referring to FIG. 4, a floating control 11 and three file thumbnail windows 12 are displayed on the display interface 10 of the target application program, and these three file thumbnail windows respectively display a file thumbnail a4, a file thumbnail a5, and a file thumbnail Thumbnail a6, the user can slide the floating control 11 to switch the file thumbnails displayed in the three file thumbnail windows 12, for example, slide the floating control 11 to the left to display the file thumbnail a3, the file thumbnail a4 and the file thumbnail a5, slide the floating control 11 to the right to display the file thumbnail a5, the file thumbnail a6 and the file thumbnail a7.

具体的,上述预设显示区域可以是目标应用程序的显示界面上用于显示文件缩略图的第一个显示区域、中间显示区域或是最后一个显示区域等,可以根据实际需求进行设置。以上述预设显示区域为中间显示区域为例,当用户滑动上述悬浮控件使得所需要的文件的文件缩略图显示于中间显示区域时,用户可松开针对悬浮控件的滑动操作,即可把该显示于中间显示区域的文件缩略图对应的文件进行悬浮,例如,在悬浮框中显示该文件缩略图对应的文件。以图3所示为例,当用户松开针对悬浮控件的滑动操作时,文件缩略图a5位于中间显示区域,此时可以生成悬浮框并在悬浮框中显示文件缩略图a5对应的文件内容。Specifically, the above preset display area may be the first display area, the middle display area, or the last display area for displaying file thumbnails on the display interface of the target application program, which may be set according to actual needs. Taking the above-mentioned default display area as the middle display area as an example, when the user slides the above-mentioned floating control to display the file thumbnail of the desired file in the middle display area, the user can release the sliding operation on the floating control to display the The file corresponding to the file thumbnail displayed in the middle display area is suspended, for example, the file corresponding to the file thumbnail is displayed in the floating frame. Take Figure 3 as an example. When the user releases the sliding operation on the floating control, the file thumbnail a5 is located in the middle display area. At this time, a floating frame can be generated and the file content corresponding to the file thumbnail a5 can be displayed in the floating frame.

可以理解的是,当用户想要选择其他文件进行查看时,可通过滑动悬浮控件重新选择文件进行悬浮显示。It can be understood that when the user wants to select other files for viewing, the user can reselect the file for floating display by sliding the floating control.

可选的,在针对悬浮控件的滑动操作结束时,可以取消文件缩略图在所述目标应用程序的显示界面上的显示,并可以缩小悬浮控件的大小,从而可以减少文件缩略图对目标应用程序的显示界面的占用,以避免文件缩略图对悬浮框的显示的影响。Optionally, when the sliding operation for the floating control ends, the display of the file thumbnail on the display interface of the target application can be canceled, and the size of the floating control can be reduced, thereby reducing the impact of the file thumbnail on the target application. Occupancy of the display interface to avoid the influence of file thumbnails on the display of the floating box.

本发明实施例根据针对悬浮控件的滑动操作切换在目标应用程序的显示界面上显示的文件缩略图并选择目标文件缩略图,可以较为快速的实现在目标应用程序的显示界面上显示的文件缩略图的切换和选择,操作较为便捷。According to the embodiment of the present invention, the thumbnails of the files displayed on the display interface of the target application are switched and the thumbnails of the target files are selected according to the sliding operation for the floating control, so that the thumbnails of the files displayed on the display interface of the target application can be realized relatively quickly. Switching and selection, the operation is more convenient.

步骤204、在所述目标应用程序的显示界面上悬浮显示所述目标文件的文件内容。Step 204, displaying the file content of the target file in a floating manner on the display interface of the target application program.

例如,可以在目标应用程序的显示界面上显示悬浮框,并在悬浮框中显示上述目标文件的文件内容,其中,可以通过移动终端的设置菜单设置上述悬浮框的大小、透明度等,例如,参见图3,可以通过文件悬浮设置菜单中的悬浮框大小设置选项设置悬浮框的大小,通过悬浮框透明度设置选项设置悬浮框透明度。For example, a floating frame can be displayed on the display interface of the target application program, and the file content of the above-mentioned target file can be displayed in the floating frame, wherein the size, transparency, etc. of the above-mentioned floating frame can be set through the setting menu of the mobile terminal, for example, see As shown in Figure 3, the size of the floating frame can be set through the floating frame size setting option in the file floating setting menu, and the transparency of the floating frame can be set through the floating frame transparency setting option.

可选的,本发明实施例也可以在所述目标应用程序的显示界面上显示悬浮框之后,根据针对悬浮框的触控操作调整悬浮框的大小、透明度和所显示位置等。例如,参见图5,用户可以通过双指触摸悬浮框13并向外滑动以放大悬浮框,双指触摸悬浮框并向内滑动以缩小悬浮框,用户还可以通过拖动悬浮框以移动该悬浮框所显示位置。Optionally, in this embodiment of the present invention, after the floating frame is displayed on the display interface of the target application program, the size, transparency and displayed position of the floating frame may be adjusted according to a touch operation on the floating frame. For example, referring to FIG. 5, the user can touch the floating frame 13 with two fingers and slide outward to enlarge the floating frame, touch the floating frame with two fingers and slide inward to shrink the floating frame, and the user can also drag the floating frame to move the floating frame. The position shown in the box.

可选的,在用户不需要文件悬浮功能时,可以在移动终端的设置菜单中关闭文件悬浮功能,以取消悬浮框和悬浮小球的显示,例如,参见图3,将文件悬浮设置菜单中的悬浮文件选项滑动至关闭状态;或是在移动终端的快捷栏(例如,上滑快捷栏)中关闭文件悬浮功能,以取消悬浮框和悬浮小球的显示;或是在检测到用于指示关闭文件悬浮功能的触控操作(例如,针对上述悬浮框的向上滑动操作)时关闭文件悬浮功能,以取消悬浮框和悬浮小球的显示。Optionally, when the user does not need the file suspension function, the file suspension function can be turned off in the setting menu of the mobile terminal to cancel the display of the floating box and the floating ball. Swipe the floating file option to the closed state; or turn off the file floating function in the shortcut bar of the mobile terminal (for example, slide up the shortcut bar) to cancel the display of the floating box and the floating ball; When the touch operation of the file suspension function (for example, the upward swipe operation for the above suspension frame) is performed, the file suspension function is turned off, so as to cancel the display of the suspension frame and the suspension ball.

可选的,上述步骤204,也即所述在所述目标应用程序的显示界面上悬浮显示所述目标文件的文件内容之后,所述方法还包括:Optionally, after the above step 204, that is, after displaying the file content of the target file in suspension on the display interface of the target application program, the method further includes:

根据针对所述悬浮控件的拖动操作移动所述悬浮控件;moving the floating control according to a drag operation on the floating control;

若所述悬浮控件移动至所述目标应用程序的显示界面上悬浮显示所述目标文件的文件内容的区域的预设位置,则取消所述悬浮控件和/或所述目标文件的文件内容的显示。If the suspension control is moved to the preset position of the area where the content of the target file is suspended on the display interface of the target application program, the display of the suspension control and/or the content of the target file is cancelled. .

本发明实施例中,上述预设位置可以根据实际需求进行设置,例如,悬浮显示所述目标文件的文件内容的区域(例如,显示所述目标文件的文件内容的悬浮框)的中心位置。In the embodiment of the present invention, the above-mentioned preset position can be set according to actual needs, for example, the center position of the area where the file content of the target file is suspended (for example, a floating frame displaying the file content of the target file).

具体的,以在目标应用程序的显示界面上显示悬浮框,并在悬浮框中显示上述目标文件的文件内容为例,在悬浮控件移动至悬浮框的预设位置时,可以突出显示悬浮控件和/或悬浮框的边界,以提示用户悬浮控件已移动至悬浮框的预设位置。例如,参见图6,在悬浮控件11移动至悬浮框13的中心位置时,悬浮控件11和悬浮框13的边界均显示为虚线。Specifically, taking displaying a floating frame on the display interface of the target application program and displaying the content of the target file in the floating frame as an example, when the floating control moves to the preset position of the floating frame, the floating control and the floating control can be highlighted. /or the boundary of the floating box, to remind the user that the floating control has moved to the preset position of the floating box. For example, referring to FIG. 6 , when the floating control 11 moves to the center of the floating frame 13 , the borders of the floating control 11 and the floating frame 13 are both displayed as dotted lines.

本发明实施例通过将所述悬浮控件移动至所述目标应用程序的显示界面上悬浮显示所述目标文件的文件内容的区域(例如,显示目标文件的文件内容的悬浮框)的预设位置以取消所述悬浮控件和/或所述目标文件的文件内容的显示,不仅操作较为便捷,还可以增加用户操作的趣味性。In the embodiment of the present invention, the floating control is moved to the preset position of the area on the display interface of the target application where the file content of the target file is suspended (for example, a floating frame displaying the file content of the target file). Canceling the display of the floating control and/or the file content of the target file not only facilitates the operation, but also increases the interest of the user's operation.

本发明实施例的文件显示方法,通过在所述目标应用程序的显示界面上显示悬浮控件;若检测到的针对所述悬浮控件的触控操作,则在所述目标应用程序的显示界面上显示至少一个文件的文件缩略图;从所述至少一个文件的文件缩略图中选择目标文件缩略图,并将所述目标文件缩略图对应的文件确定为目标文件;在所述目标应用程序的显示界面上悬浮显示所述目标文件的文件内容,便于用户在目标应用程序的显示界面上编辑消息时查看目标文件的文件内容,还便于用户基于悬浮控件控制文件缩略图的显示。In the file display method of the embodiment of the present invention, the floating control is displayed on the display interface of the target application program; A file thumbnail of at least one file; selecting a target file thumbnail from the file thumbnails of the at least one file, and determining the file corresponding to the target file thumbnail as the target file; displaying the target application on the display interface The file content of the target file is displayed by floating above, which is convenient for the user to view the file content of the target file when editing a message on the display interface of the target application program, and also convenient for the user to control the display of the thumbnail of the file based on the floating control.

可选的,在上述步骤101或步骤201之前,也即所述在目标应用程序的显示界面上显示至少一个文件的文件缩略图之前,所述方法还包括:Optionally, before the above step 101 or step 201, that is, before displaying the file thumbnail of at least one file on the display interface of the target application program, the method further includes:

将至少一个文件添加至悬浮文件管理器,其中,所述悬浮文件管理器用于管理用于悬浮显示的文件;adding at least one file to a floating file manager, wherein the floating file manager is used to manage files for floating display;

相应的,上述步骤101或步骤201,也即所述在所述目标应用程序的显示界面上显示至少一个文件的文件缩略图,包括:Correspondingly, the above step 101 or step 201, that is, displaying the file thumbnail of at least one file on the display interface of the target application program, includes:

在所述目标应用程序的显示界面上显示已添加至所述悬浮文件管理器的至少一个文件的文件缩略图。A file thumbnail of at least one file added to the floating file manager is displayed on the display interface of the target application program.

本发明实施例中,可以预先将用户需要查看的文件添加至悬浮文件管理器,并在所述目标应用程序的显示界面上显示已添加至所述悬浮文件管理器的至少一个文件的文件缩略图,从而可以保证目标应用程序的显示界面上所显示的至少一个文件的文件缩略图为用户当前需要查看的文件的缩略图,提高了目标应用程序的显示界面上所显示的文件缩略图的针对性和准确性。In the embodiment of the present invention, the files that the user needs to view can be added to the floating file manager in advance, and the file thumbnail of at least one file that has been added to the floating file manager is displayed on the display interface of the target application program , so as to ensure that the thumbnail of at least one file displayed on the display interface of the target application program is the thumbnail of the file that the user needs to view currently, which improves the pertinence of the thumbnail image of the file displayed on the display interface of the target application program and accuracy.

可选的,所述将至少一个文件添加至悬浮文件管理器,可以包括:Optionally, the adding at least one file to the floating file manager may include:

接收用户选择的至少一个文件,并将所述至少一个文件添加至悬浮文件管理器;或者receiving at least one file selected by the user and adding the at least one file to the floating file manager; or

将处于打开状态的至少一个文件添加至悬浮文件管理器。Add at least one open file to the floating file manager.

本发明实施例中,可以基于预先设置的悬浮文件设置菜单接收用户选择的至少一个文件,例如,参见图3,通过悬浮文件设置菜单中的文件选择选项选择至少一个文件;也可以在用户双击悬浮控件时在悬浮控件的预设位置显示“+”标识,通过点击该“+”标识时可打开文件选择窗口以进行文件选择。In the embodiment of the present invention, at least one file selected by the user can be received based on the preset floating file setting menu. For example, referring to FIG. 3, at least one file can be selected through the file selection option in the floating file setting menu; When controlling, a "+" mark is displayed at the preset position of the floating control, and the file selection window can be opened for file selection by clicking the "+" mark.

可选的,本发明实施例也可以在各个文件的菜单选项中设置添加至悬浮文件管理器的选项,在用户选择某文件的添加至悬浮文件管理器的选项时将该文件添加至悬浮文件管理器。Optionally, in the embodiment of the present invention, the option of adding to the floating file manager can also be set in the menu options of each file, and when the user selects the option of adding a certain file to the floating file manager, the file is added to the floating file management device.

可选的,本发明实施例也可以将移动终端中当前处于打开状态的文件自动添加至悬浮文件管理器,可以节省用户操作。具体的,可以在文件悬浮设置菜单中设置近期文件自动添加选项,例如,参见图3,在该近期文件自动添加选项处于开启状态时,允许将移动终端中当前处于打开状态的文件自动添加至悬浮文件管理器。可以理解的是,本发明实施例还可以预先设置可自动添加的文件类型,例如,参见图3,可以通过文件悬浮设置菜单中的自动添加文件类型设置选项设置可自动添加的文件类型,例如,文档。Optionally, the embodiment of the present invention may also automatically add the currently opened file in the mobile terminal to the floating file manager, which may save user operations. Specifically, the recent file automatic addition option can be set in the file suspension setting menu, for example, referring to Figure 3, when the recent file automatic addition option is turned on, it is allowed to automatically add the currently opened file in the mobile terminal to the suspension file manager. It can be understood that the embodiment of the present invention can also pre-set the file types that can be automatically added. For example, referring to FIG. document.

参见图7,图7是本发明实施例提供的移动终端的结构图。如图7所示,移动终端700包括:第一显示模块701、确定模块702和第二显示模块703,其中:Referring to FIG. 7, FIG. 7 is a structural diagram of a mobile terminal provided by an embodiment of the present invention. As shown in FIG. 7, the mobile terminal 700 includes: a first display module 701, a determination module 702 and a second display module 703, wherein:

第一显示模块701,用于在目标应用程序的显示界面上显示至少一个文件的文件缩略图;The first display module 701 is configured to display a file thumbnail of at least one file on the display interface of the target application program;

确定模块702,用于从所述至少一个文件的文件缩略图中选择目标文件缩略图,并将所述目标文件缩略图对应的文件确定为目标文件;A determining module 702, configured to select a target file thumbnail from the file thumbnails of the at least one file, and determine the file corresponding to the target file thumbnail as the target file;

第二显示模块703,用于在所述目标应用程序的显示界面上悬浮显示所述目标文件的文件内容。The second display module 703 is configured to hover and display the file content of the target file on the display interface of the target application program.

可选的,参见图8,所述第一显示模块701,包括:Optionally, referring to FIG. 8, the first display module 701 includes:

第一显示单元7011,用于在所述目标应用程序的显示界面上显示悬浮控件;The first display unit 7011 is configured to display a floating control on the display interface of the target application;

第二显示单元7012,用于若检测到的针对所述悬浮控件的触控操作,则在所述目标应用程序的显示界面上显示至少一个文件的文件缩略图。The second display unit 7012 is configured to display a thumbnail of at least one file on the display interface of the target application program if a touch operation on the floating control is detected.

可选的,所述触控操作为滑动操作,所述确定模块702具体用于:Optionally, the touch operation is a sliding operation, and the determination module 702 is specifically configured to:

根据所述滑动操作切换在所述目标应用程序的显示界面上的预设显示区域显示的文件缩略图;switching the file thumbnails displayed in the preset display area on the display interface of the target application according to the sliding operation;

将所述滑动操作结束时所述至少一个文件的文件缩略图中显示于所述预设显示区域的文件缩略图确定为目标文件缩略图,并将所述目标文件缩略图对应的文件确定为目标文件。Determining the file thumbnail displayed in the preset display area in the file thumbnail of the at least one file at the end of the sliding operation as the target file thumbnail, and determining the file corresponding to the target file thumbnail as the target document.

可选的,所述第一显示单元7011具体用于:Optionally, the first display unit 7011 is specifically used for:

若检测到针对所述目标应用程序的文本编辑框的预设触控操作,则在所述目标应用程序的显示界面上显示悬浮控件。If a preset touch operation on the text edit box of the target application is detected, a floating control is displayed on the display interface of the target application.

可选的,参见图9,所述移动终端700还包括:Optionally, referring to FIG. 9, the mobile terminal 700 further includes:

添加模块704,用于所述在目标应用程序的显示界面上显示至少一个文件的文件缩略图之前,将至少一个文件添加至悬浮文件管理器,其中,所述悬浮文件管理器用于管理用于悬浮显示的文件;The adding module 704 is configured to add at least one file to the suspension file manager before displaying the file thumbnail of the at least one file on the display interface of the target application program, wherein the suspension file manager is used to manage files used for suspension displayed file;

所述第一显示模块701具体用于:The first display module 701 is specifically used for:

在所述目标应用程序的显示界面上显示已添加至所述悬浮文件管理器的至少一个文件的文件缩略图。A file thumbnail of at least one file added to the floating file manager is displayed on the display interface of the target application program.

可选的,所述添加模块704具体用于:Optionally, the adding module 704 is specifically used for:

接收用户选择的至少一个文件,并将所述至少一个文件添加至悬浮文件管理器;或者receiving at least one file selected by the user and adding the at least one file to the floating file manager; or

将处于打开状态的至少一个文件添加至悬浮文件管理器。Add at least one open file to the floating file manager.

可选的,所述移动终端700还包括:Optionally, the mobile terminal 700 also includes:

移动模块,用于所述在所述目标应用程序的显示界面上悬浮显示所述目标文件的文件内容之后,根据针对所述悬浮控件的拖动操作移动所述悬浮控件;A moving module, configured to move the floating control according to a drag operation on the floating control after the file content of the target file is suspended and displayed on the display interface of the target application program;

取消模块,用于若所述悬浮控件移动至所述目标应用程序的显示界面上悬浮显示所述目标文件的文件内容的区域的预设位置,则取消所述悬浮控件和/或所述目标文件的文件内容的显示。A cancellation module, configured to cancel the suspension control and/or the target file if the suspension control is moved to a preset position in the area where the content of the target file is suspended on the display interface of the target application to display the contents of the file.

本发明实施例提供的移动终端700能够实现图1至图2的方法实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The mobile terminal 700 provided by the embodiment of the present invention can implement various processes implemented by the mobile terminal in the method embodiments shown in FIG. 1 to FIG. 2 , and details are not repeated here to avoid repetition.

本发明实施例的移动终端700,第一显示模块701,用于在目标应用程序的显示界面上显示至少一个文件的文件缩略图;确定模块702,用于从所述至少一个文件的文件缩略图中选择目标文件缩略图,并将所述目标文件缩略图对应的文件确定为目标文件;第二显示模块703,用于在所述目标应用程序的显示界面上悬浮显示所述目标文件的文件内容,从而可以在用户使用移动终端应用程序的过程中需要查看文件内容时,无需来回切换应用程序和文件的显示界面,操作较为便捷。In the mobile terminal 700 of the embodiment of the present invention, the first display module 701 is used to display the file thumbnail of at least one file on the display interface of the target application program; the determination module 702 is used to obtain the file thumbnail of the at least one file Select the thumbnail of the target file, and determine the file corresponding to the thumbnail of the target file as the target file; the second display module 703 is configured to hover and display the file content of the target file on the display interface of the target application , so that when the user needs to view the content of the file while using the mobile terminal application, there is no need to switch the display interface of the application program and the file back and forth, and the operation is more convenient.

图10为实现本发明各个实施例的一种移动终端的硬件结构示意图。参见图10,该移动终端1000包括但不限于:射频单元1001、网络模块1002、音频输出单元1003、输入单元1004、传感器1005、显示单元1006、用户输入单元1007、接口单元1008、存储器1009、处理器1010、以及电源1011等部件。本领域技术人员可以理解,图10中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,移动终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。FIG. 10 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention. 10, the mobile terminal 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, a processing Device 1010, and power supply 1011 and other components. Those skilled in the art can understand that the structure of the mobile terminal shown in Figure 10 does not constitute a limitation on the mobile terminal, and the mobile terminal may include more or less components than shown in the figure, or combine some components, or different components layout. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle terminal, a wearable device, and a pedometer.

其中,处理器1010,用于在目标应用程序的显示界面上显示至少一个文件的文件缩略图;从所述至少一个文件的文件缩略图中选择目标文件缩略图,并将所述目标文件缩略图对应的文件确定为目标文件;在所述目标应用程序的显示界面上悬浮显示所述目标文件的文件内容。Wherein, the processor 1010 is configured to display the file thumbnail of at least one file on the display interface of the target application program; select the target file thumbnail from the file thumbnails of the at least one file, and display the target file thumbnail The corresponding file is determined as the target file; and the file content of the target file is displayed in suspension on the display interface of the target application program.

本发明实施例通过在所述目标应用程序的显示界面上悬浮显示所述目标文件的文件内容,便于用户在目标应用程序的显示界面上编辑消息时查看目标文件的文件内容,而无需来回切换目标应用程序和目标文件的显示界面,操作较为便捷。In the embodiment of the present invention, by floating and displaying the file content of the target file on the display interface of the target application program, it is convenient for the user to view the file content of the target file when editing a message on the display interface of the target application program without switching the target file back and forth. The display interface of the application program and the target file is more convenient to operate.

可选的,所述处理器1010还用于:Optionally, the processor 1010 is further configured to:

在所述目标应用程序的显示界面上显示悬浮控件;displaying a suspension control on the display interface of the target application;

若检测到的针对所述悬浮控件的触控操作,则在所述目标应用程序的显示界面上显示至少一个文件的文件缩略图。If a touch operation on the floating control is detected, a file thumbnail of at least one file is displayed on the display interface of the target application program.

可选的,所述触控操作为滑动操作,所述处理器1010还用于:Optionally, the touch operation is a sliding operation, and the processor 1010 is further configured to:

根据所述滑动操作切换在所述目标应用程序的显示界面上的预设显示区域显示的文件缩略图;switching the file thumbnails displayed in the preset display area on the display interface of the target application according to the sliding operation;

将所述滑动操作结束时所述至少一个文件的文件缩略图中显示于所述预设显示区域的文件缩略图确定为目标文件缩略图,并将所述目标文件缩略图对应的文件确定为目标文件。Determining the file thumbnail displayed in the preset display area in the file thumbnail of the at least one file at the end of the sliding operation as the target file thumbnail, and determining the file corresponding to the target file thumbnail as the target document.

可选的,所述处理器1010还用于:Optionally, the processor 1010 is further configured to:

若检测到针对所述目标应用程序的文本编辑框的预设触控操作,则在所述目标应用程序的显示界面上显示悬浮控件。If a preset touch operation on the text edit box of the target application is detected, a floating control is displayed on the display interface of the target application.

可选的,所述处理器1010还用于:Optionally, the processor 1010 is further configured to:

所述在目标应用程序的显示界面上显示至少一个文件的文件缩略图之前,将至少一个文件添加至悬浮文件管理器,其中,所述悬浮文件管理器用于管理用于悬浮显示的文件;Before displaying the file thumbnail of at least one file on the display interface of the target application program, adding at least one file to a floating file manager, wherein the floating file manager is used to manage files for floating display;

相应的,所述处理器1010还用于:Correspondingly, the processor 1010 is further configured to:

在所述目标应用程序的显示界面上显示已添加至所述悬浮文件管理器的至少一个文件的文件缩略图。A file thumbnail of at least one file added to the floating file manager is displayed on the display interface of the target application program.

可选的,所述处理器1010还用于:Optionally, the processor 1010 is further configured to:

接收用户选择的至少一个文件,并将所述至少一个文件添加至悬浮文件管理器;或者receiving at least one file selected by the user and adding the at least one file to the floating file manager; or

将处于打开状态的至少一个文件添加至悬浮文件管理器。Add at least one open file to the floating file manager.

可选的,所述处理器1010还用于:Optionally, the processor 1010 is further configured to:

所述在所述目标应用程序的显示界面上悬浮显示所述目标文件的文件内容之后,根据针对所述悬浮控件的拖动操作移动所述悬浮控件;After the file content of the target file is suspended and displayed on the display interface of the target application program, the suspension control is moved according to a drag operation on the suspension control;

若所述悬浮控件移动至所述目标应用程序的显示界面上悬浮显示所述目标文件的文件内容的区域的预设位置,则取消所述悬浮控件和/或所述目标文件的文件内容的显示。If the suspension control is moved to the preset position of the area where the content of the target file is suspended on the display interface of the target application program, the display of the suspension control and/or the content of the target file is cancelled. .

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

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

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

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

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

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

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

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

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

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

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

移动终端1000还可以包括给各个部件供电的电源1011(比如电池),优选的,电源1011可以通过电源管理系统与处理器1010逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile terminal 1000 can also include a power supply 1011 (such as a battery) for supplying power to various components. Preferably, the power supply 1011 can be logically connected to the processor 1010 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. and other functions.

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

优选的,本发明实施例还提供一种移动终端,包括处理器1010,存储器1009,存储在存储器1009上并可在所述处理器1010上运行的计算机程序,该计算机程序被处理器1010执行时实现上述文件显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present invention also provides a mobile terminal, including a processor 1010, a memory 1009, a computer program stored in the memory 1009 and operable on the processor 1010, when the computer program is executed by the processor 1010 The various processes of the above embodiment of the file display method can be realized, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.

本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述文件显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned file display method embodiment is realized, and the same technology can be achieved. Effect, in order to avoid repetition, will not repeat them here. Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.

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

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

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

Claims (11)

1.一种文件显示方法,应用于移动终端,其特征在于,包括:1. A file display method, applied to a mobile terminal, is characterized in that, comprising: 在目标应用程序的显示界面上显示至少一个文件的文件缩略图;displaying a file thumbnail of at least one file on a display interface of the target application; 从所述至少一个文件的文件缩略图中选择目标文件缩略图,并将所述目标文件缩略图对应的文件确定为目标文件;selecting a target file thumbnail from the file thumbnails of the at least one file, and determining the file corresponding to the target file thumbnail as the target file; 在所述目标应用程序的显示界面上悬浮显示所述目标文件的文件内容。The file content of the target file is displayed in suspension on the display interface of the target application program. 2.根据权利要求1所述的方法,其特征在于,所述在目标应用程序的显示界面上显示至少一个文件的文件缩略图,包括:2. The method according to claim 1, wherein the displaying a file thumbnail of at least one file on the display interface of the target application program comprises: 在所述目标应用程序的显示界面上显示悬浮控件;displaying a suspension control on the display interface of the target application; 若检测到的针对所述悬浮控件的触控操作,则在所述目标应用程序的显示界面上显示至少一个文件的文件缩略图。If a touch operation on the floating control is detected, a file thumbnail of at least one file is displayed on the display interface of the target application program. 3.根据权利要求2所述的方法,其特征在于,所述触控操作为滑动操作,所述从所述至少一个文件的文件缩略图中选择目标文件缩略图,并将所述目标文件缩略图对应的文件确定为目标文件,包括:3. The method according to claim 2, wherein the touch operation is a sliding operation, selecting the thumbnail of the target file from the thumbnails of the at least one file, and thumbnailing the target file The file corresponding to the thumbnail is determined as the target file, including: 根据所述滑动操作切换在所述目标应用程序的显示界面上的预设显示区域显示的文件缩略图;switching the file thumbnails displayed in the preset display area on the display interface of the target application according to the sliding operation; 将所述滑动操作结束时所述至少一个文件的文件缩略图中显示于所述预设显示区域的文件缩略图确定为目标文件缩略图,并将所述目标文件缩略图对应的文件确定为目标文件。Determining the file thumbnail displayed in the preset display area in the file thumbnail of the at least one file at the end of the sliding operation as the target file thumbnail, and determining the file corresponding to the target file thumbnail as the target document. 4.根据权利要求2或3所述的方法,其特征在于,所述在所述目标应用程序的显示界面上显示悬浮控件,包括:4. The method according to claim 2 or 3, wherein the displaying the floating control on the display interface of the target application program comprises: 若检测到针对所述目标应用程序的文本编辑框的预设触控操作,则在所述目标应用程序的显示界面上显示悬浮控件。If a preset touch operation on the text edit box of the target application is detected, a floating control is displayed on the display interface of the target application. 5.根据权利要求1至3中任一项所述的方法,其特征在于,所述在目标应用程序的显示界面上显示至少一个文件的文件缩略图之前,所述方法还包括:5. The method according to any one of claims 1 to 3, wherein, before displaying the file thumbnail of at least one file on the display interface of the target application program, the method further comprises: 将至少一个文件添加至悬浮文件管理器,其中,所述悬浮文件管理器用于管理用于悬浮显示的文件;adding at least one file to a floating file manager, wherein the floating file manager is used to manage files for floating display; 所述在所述目标应用程序的显示界面上显示至少一个文件的文件缩略图,包括:The displaying a file thumbnail of at least one file on the display interface of the target application program includes: 在所述目标应用程序的显示界面上显示已添加至所述悬浮文件管理器的至少一个文件的文件缩略图。A file thumbnail of at least one file added to the floating file manager is displayed on the display interface of the target application program. 6.一种移动终端,其特征在于,包括:6. A mobile terminal, characterized in that, comprising: 第一显示模块,用于在目标应用程序的显示界面上显示至少一个文件的文件缩略图;A first display module, configured to display a file thumbnail of at least one file on the display interface of the target application program; 确定模块,用于从所述至少一个文件的文件缩略图中选择目标文件缩略图,并将所述目标文件缩略图对应的文件确定为目标文件;A determining module, configured to select a target file thumbnail from the file thumbnails of the at least one file, and determine the file corresponding to the target file thumbnail as the target file; 第二显示模块,用于在所述目标应用程序的显示界面上悬浮显示所述目标文件的文件内容。The second display module is configured to display the file content of the target file in a floating manner on the display interface of the target application program. 7.根据权利要求6所述的移动终端,其特征在于,所述第一显示模块,包括:7. The mobile terminal according to claim 6, wherein the first display module comprises: 第一显示单元,用于在所述目标应用程序的显示界面上显示悬浮控件;a first display unit, configured to display a floating control on the display interface of the target application; 第二显示单元,用于若检测到的针对所述悬浮控件的触控操作,则在所述目标应用程序的显示界面上显示至少一个文件的文件缩略图。The second display unit is configured to display at least one file thumbnail of the file on the display interface of the target application program if a touch operation on the floating control is detected. 8.根据权利要求7所述的移动终端,其特征在于,所述触控操作为滑动操作,所述确定模块具体用于:8. The mobile terminal according to claim 7, wherein the touch operation is a sliding operation, and the determination module is specifically used for: 根据所述滑动操作切换在所述目标应用程序的显示界面上的预设显示区域显示的文件缩略图;switching the file thumbnails displayed in the preset display area on the display interface of the target application according to the sliding operation; 将所述滑动操作结束时所述至少一个文件的文件缩略图中显示于所述预设显示区域的文件缩略图确定为目标文件缩略图,并将所述目标文件缩略图对应的文件确定为目标文件。Determining the file thumbnail displayed in the preset display area in the file thumbnail of the at least one file at the end of the sliding operation as the target file thumbnail, and determining the file corresponding to the target file thumbnail as the target document. 9.根据权利要求7或8所述的移动终端,其特征在于,所述第一显示单元具体用于:9. The mobile terminal according to claim 7 or 8, wherein the first display unit is specifically used for: 若检测到针对所述目标应用程序的文本编辑框的预设触控操作,则在所述目标应用程序的显示界面上显示悬浮控件。If a preset touch operation on the text edit box of the target application is detected, a floating control is displayed on the display interface of the target application. 10.根据权利要求6至8中任一项所述的移动终端,其特征在于,所述移动终端还包括:10. The mobile terminal according to any one of claims 6 to 8, wherein the mobile terminal further comprises: 添加模块,用于所述在目标应用程序的显示界面上显示至少一个文件的文件缩略图之前,将至少一个文件添加至悬浮文件管理器,其中,所述悬浮文件管理器用于管理用于悬浮显示的文件;The adding module is used to add at least one file to the suspended file manager before displaying the file thumbnail of the at least one file on the display interface of the target application program, wherein the suspended file manager is used to manage the floating display document; 所述第一显示模块具体用于:The first display module is specifically used for: 在所述目标应用程序的显示界面上显示已添加至所述悬浮文件管理器的至少一个文件的文件缩略图。A file thumbnail of at least one file added to the floating file manager is displayed on the display interface of the target application program. 11.一种移动终端,其特征在于,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至5中任一项所述的文件显示方法的步骤。11. A mobile terminal, characterized by comprising a processor, a memory, and a computer program stored on the memory and operable on the processor, when the computer program is executed by the processor, the The steps of the file display method described in any one of requirements 1 to 5.
CN201810127081.XA 2018-02-08 2018-02-08 File display method and mobile terminal Active CN108228902B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810127081.XA CN108228902B (en) 2018-02-08 2018-02-08 File display method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810127081.XA CN108228902B (en) 2018-02-08 2018-02-08 File display method and mobile terminal

Publications (2)

Publication Number Publication Date
CN108228902A true CN108228902A (en) 2018-06-29
CN108228902B CN108228902B (en) 2020-06-26

Family

ID=62670811

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810127081.XA Active CN108228902B (en) 2018-02-08 2018-02-08 File display method and mobile terminal

Country Status (1)

Country Link
CN (1) CN108228902B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110502484A (en) * 2019-08-16 2019-11-26 北京小米移动软件有限公司 Method, device and medium for displaying file information on mobile terminal
CN110795402A (en) * 2019-10-31 2020-02-14 维沃移动通信有限公司 Method and device for displaying file list and electronic equipment
CN112181225A (en) * 2020-09-29 2021-01-05 维沃移动通信有限公司 Desktop element adjusting method and device and electronic equipment
WO2021082716A1 (en) * 2019-10-28 2021-05-06 维沃移动通信有限公司 Information processing method and electronic device
CN113342755A (en) * 2021-05-28 2021-09-03 维沃移动通信有限公司 Display control method and device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1808364A (en) * 2005-12-20 2006-07-26 无锡永中科技有限公司 Method for displaying electronic lantern navigation information on computer
CN102541426A (en) * 2010-12-31 2012-07-04 联想(北京)有限公司 Electronic equipment and object processing method thereof
CN103123648A (en) * 2011-12-30 2013-05-29 微软公司 Presentation of rich search results in delineated areas
CN103870162A (en) * 2012-12-07 2014-06-18 Lg电子株式会社 Mobile terminal and controlling method thereof
US20140237367A1 (en) * 2013-02-19 2014-08-21 Lg Electronics Inc. Mobile terminal and control method thereof
CN104142799A (en) * 2013-05-10 2014-11-12 Lg电子株式会社 Mobile terminal and controlling method thereof
CN104571897A (en) * 2013-10-24 2015-04-29 富泰华工业(深圳)有限公司 Electronic device with dynamic puzzle interface and control method and system
CN105739830A (en) * 2016-01-30 2016-07-06 深圳天珑无线科技有限公司 Method for previewing system folder information through pressure touch
CN106468994A (en) * 2016-08-31 2017-03-01 北京奇艺世纪科技有限公司 A kind for the treatment of method and apparatus of application program
CN106919301A (en) * 2015-12-25 2017-07-04 珠海格力电器股份有限公司 Wallpaper preview method and system and wallpaper replacement method and system
CN107179858A (en) * 2017-04-26 2017-09-19 维沃移动通信有限公司 A kind of just list display methods and mobile terminal

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1808364A (en) * 2005-12-20 2006-07-26 无锡永中科技有限公司 Method for displaying electronic lantern navigation information on computer
CN102541426A (en) * 2010-12-31 2012-07-04 联想(北京)有限公司 Electronic equipment and object processing method thereof
CN103123648A (en) * 2011-12-30 2013-05-29 微软公司 Presentation of rich search results in delineated areas
CN103870162A (en) * 2012-12-07 2014-06-18 Lg电子株式会社 Mobile terminal and controlling method thereof
US20140237367A1 (en) * 2013-02-19 2014-08-21 Lg Electronics Inc. Mobile terminal and control method thereof
CN104142799A (en) * 2013-05-10 2014-11-12 Lg电子株式会社 Mobile terminal and controlling method thereof
CN104571897A (en) * 2013-10-24 2015-04-29 富泰华工业(深圳)有限公司 Electronic device with dynamic puzzle interface and control method and system
CN106919301A (en) * 2015-12-25 2017-07-04 珠海格力电器股份有限公司 Wallpaper preview method and system and wallpaper replacement method and system
CN105739830A (en) * 2016-01-30 2016-07-06 深圳天珑无线科技有限公司 Method for previewing system folder information through pressure touch
CN106468994A (en) * 2016-08-31 2017-03-01 北京奇艺世纪科技有限公司 A kind for the treatment of method and apparatus of application program
CN107179858A (en) * 2017-04-26 2017-09-19 维沃移动通信有限公司 A kind of just list display methods and mobile terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张格举: "影像资料管理系统方案设计与应用探讨", 《中国医学教育技术》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110502484A (en) * 2019-08-16 2019-11-26 北京小米移动软件有限公司 Method, device and medium for displaying file information on mobile terminal
CN110502484B (en) * 2019-08-16 2023-06-20 北京小米移动软件有限公司 Method, device and medium for displaying file information on mobile terminal
WO2021082716A1 (en) * 2019-10-28 2021-05-06 维沃移动通信有限公司 Information processing method and electronic device
CN110795402A (en) * 2019-10-31 2020-02-14 维沃移动通信有限公司 Method and device for displaying file list and electronic equipment
CN110795402B (en) * 2019-10-31 2021-08-31 维沃移动通信有限公司 Method, device and electronic device for displaying file list
CN112181225A (en) * 2020-09-29 2021-01-05 维沃移动通信有限公司 Desktop element adjusting method and device and electronic equipment
CN113342755A (en) * 2021-05-28 2021-09-03 维沃移动通信有限公司 Display control method and device

Also Published As

Publication number Publication date
CN108228902B (en) 2020-06-26

Similar Documents

Publication Publication Date Title
CN108762954B (en) Object sharing method and mobile terminal
CN111159983B (en) Editing method and electronic device
CN108153900A (en) A kind of image processing method and mobile terminal
CN108668083A (en) A kind of photographic method and terminal
CN108536365A (en) A kind of images share method and terminal
CN110321044A (en) Sharing files method and terminal
CN108334265B (en) A file processing method and mobile terminal
CN108471498A (en) A kind of shooting preview method and terminal
CN108132752A (en) A kind of method for editing text and mobile terminal
CN109739407B (en) Information processing method and terminal equipment
CN108132749B (en) Image editing method and mobile terminal
CN108062194B (en) Display method and device and mobile terminal
CN108446058A (en) A kind of operating method and mobile terminal of mobile terminal
CN109933259A (en) A kind of content share method and mobile terminal
CN108228902B (en) File display method and mobile terminal
CN108519850A (en) A kind of keyboard interface display methods and mobile terminal
CN110531915A (en) Screen operating method and terminal device
CN108182267A (en) A kind of sharing files method and mobile terminal
CN108833709A (en) Method for starting camera and mobile terminal
CN108632413B (en) Photographing method and mobile terminal
WO2020156118A1 (en) Management method and terminal apparatus
CN107992342A (en) A kind of application configuration change method and mobile terminal
CN110196668A (en) Information processing method and terminal device
CN107943361B (en) Application icon display method, device and mobile terminal
CN110413363B (en) A screenshot method and terminal equipment

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
GR01 Patent grant
GR01 Patent grant