CN112347049A - File information display method, terminal device and computer-readable storage medium - Google Patents

File information display method, terminal device and computer-readable storage medium Download PDF

Info

Publication number
CN112347049A
CN112347049A CN202010925444.1A CN202010925444A CN112347049A CN 112347049 A CN112347049 A CN 112347049A CN 202010925444 A CN202010925444 A CN 202010925444A CN 112347049 A CN112347049 A CN 112347049A
Authority
CN
China
Prior art keywords
file
preview
target
picture
group
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010925444.1A
Other languages
Chinese (zh)
Inventor
王云华
陈衍舟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology 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 Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202010925444.1A priority Critical patent/CN112347049A/en
Publication of CN112347049A publication Critical patent/CN112347049A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/168Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs

Abstract

The invention discloses a file information display method, a device, a terminal device and a computer readable storage medium, wherein the method comprises the following steps: receiving a target browsing instruction; selecting a target preview picture corresponding to the target browsing instruction from the preview picture set; the preview picture set comprises a plurality of preview pictures which are in one-to-one correspondence with a plurality of file groups, and the plurality of file groups are obtained by grouping all files in externally accessed hard disk equipment according to file types; and executing display operation on the target preview screen. The user only needs to send the target browsing instruction once, the terminal device can display the preview picture corresponding to all the storage files corresponding to the target browsing instruction, the user does not need to open different folders respectively to view the storage files with the same file type, and the user experience is good.

Description

File information display method, terminal device and computer-readable storage medium
Technical Field
The present invention relates to the field of file processing technologies, and in particular, to a file information display method and apparatus, a terminal device, and a computer-readable storage medium.
Background
Currently, a user stores data through a hard disk device (for example, a mobile hard disk or a U disk) to realize storage and transfer of the data.
In the related art, a file information display method is disclosed, in which after a hard disk device is connected to a terminal device, when a user selects a folder, a preview screen of file information in the folder is displayed. However, the terminal device can only display a preview screen of the file information in the folder selected by the user, and the user experience is poor.
Disclosure of Invention
The invention mainly aims to provide a file information display method, a file information display device, a terminal device and a computer readable storage medium, and aims to solve the technical problems that in the prior art, the terminal device can only display a preview picture of file information in a folder selected by a user, and the user experience is poor.
In order to achieve the above object, the present invention provides a file information display method, including:
receiving a target browsing instruction;
selecting a target preview picture corresponding to the target browsing instruction from the preview picture set; the preview picture set comprises a plurality of preview pictures which are in one-to-one correspondence with a plurality of file groups, and the plurality of file groups are obtained by grouping all files in externally accessed hard disk equipment according to file types;
and executing display operation on the target preview screen.
Further, to achieve the above object, the present invention provides a file information display apparatus comprising:
the receiving module is used for receiving a target browsing instruction;
the selection module is used for selecting a target preview picture corresponding to the target browsing instruction from the preview picture set; the preview picture set comprises a plurality of preview pictures which are in one-to-one correspondence with a plurality of file groups, and the plurality of file groups are obtained by grouping all files in externally accessed hard disk equipment according to file types;
and the display module is used for executing display operation on the target preview picture.
Further, to achieve the above object, the present invention provides a terminal device including a memory, a processor, and a file information display program stored on the memory and executable on the processor, the file information display program, when executed by the processor, implementing the steps of the file information display method as in any one of the above.
Further, to achieve the above object, the present invention provides a computer-readable storage medium having stored thereon a file information display program which, when executed by a processor, realizes the steps of the file information display method according to any one of the above.
The invention provides a file information display method, because a file group is obtained by grouping all storage files accessed into hard disk equipment according to file types, a target preview picture is obtained according to all storage files in the corresponding file group, the target preview picture is a preview picture comprising file information of all files in the corresponding file group; when the terminal equipment receives a target browsing instruction sent by a user, a target preview picture of a corresponding file group is obtained according to the target browsing instruction, the target preview picture is displayed, the user does not need to open different folders respectively to view preview pictures of stored files with the same file type, and the user experience is good.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
FIG. 1 is a schematic structural diagram of a file information display device of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a file information display method according to a first embodiment of the present invention;
FIG. 3 is a schematic view of a preview image corresponding to a video file set according to the present invention;
FIG. 4 is a flowchart illustrating the file information displaying method according to the second embodiment of the present invention after step S13;
FIG. 5 is a block diagram of a file information display apparatus according to a first embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a file information display device in a hardware operating environment according to an embodiment of the present invention.
The device may be a User Equipment (UE) such as a Mobile phone, smart phone, laptop, digital broadcast receiver, Personal Digital Assistant (PDA), tablet computer (PAD), handheld device, vehicular device, wearable device, computing device or other processing device connected to a wireless modem, Mobile Station (MS), or the like. The device may be referred to as a user terminal, portable terminal, desktop terminal, etc.
Generally, the apparatus comprises: at least one processor 301, a memory 302, and a file information display program stored on the memory and executable on the processor, the file information display program being configured to implement the steps of the previous file information display method.
The processor 301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 301 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 301 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 301 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. The processor 301 may further include an AI (Artificial Intelligence) processor for processing operations related to the document information display method, so that the document information display method model can be trained and learned autonomously, improving efficiency and accuracy.
Memory 302 may include one or more computer-readable storage media, which may be non-transitory. Memory 302 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 302 is used to store at least one instruction for execution by processor 801 to implement the file information display method provided by method embodiments herein.
In some embodiments, the terminal may further include: a communication interface 303 and at least one peripheral device. The processor 301, the memory 302 and the communication interface 303 may be connected by a bus or signal lines. Various peripheral devices may be connected to communication interface 303 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 304, a display screen 305, and a power source 306.
The communication interface 303 may be used to connect at least one peripheral device related to I/O (Input/Output) to the processor 301 and the memory 302. . In some embodiments, processor 301, memory 302, and communication interface 303 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 301, the memory 302 and the communication interface 303 may be implemented on a single chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 304 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 304 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 304 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 304 comprises: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 304 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 304 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 305 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 305 is a touch display screen, the display screen 305 also includes the ability to capture touch signals on or over the surface of the display screen 305. The touch signal may be input to the processor 301 as a control signal for processing. At this point, the display screen 305 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display screen 305 may be one, the front panel of the electronic device; in other embodiments, the display screens 305 may be at least two, respectively disposed on different surfaces of the electronic device or in a folded design; in still other embodiments, the display screen 305 may be a flexible display screen disposed on a curved surface or a folded surface of the electronic device. Even further, the display screen 305 may be arranged in a non-rectangular irregular figure, i.e. a shaped screen. The Display screen 305 may be made of LCD (liquid crystal Display), OLED (Organic Light-Emitting Diode), and the like.
The power supply 306 is used to power various components in the electronic device. The power source 306 may be alternating current, direct current, disposable or rechargeable. When the power source 306 includes a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology. Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of the document information display apparatus, and may include more or less components than those shown, or some components in combination, or a different arrangement of components.
In addition, an embodiment of the present invention provides a storage medium, where a computer-readable storage medium stores a file information display program, and the file information display program, when executed by a processor, implements the steps of any one of the file information display methods described above. Therefore, a detailed description thereof will be omitted. In addition, the beneficial effects of the same method are not described in detail. For technical details not disclosed in embodiments of the computer-readable storage medium referred to in the present application, reference is made to the description of embodiments of the method of the present application. It is determined that, by way of example, the program instructions may be deployed to be executed on one computing device or on multiple computing devices at one site or distributed across multiple sites and interconnected by a communication network.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
Based on the hardware structure, the embodiment of the file information display method is provided.
Referring to fig. 1, fig. 1 is a schematic flow chart of a file information display method according to a first embodiment of the present invention; the method comprises the following steps:
step S11: and the terminal equipment receives the target browsing instruction.
It should be noted that the target browsing instruction is input by the user, and may include a file type, and may also include other browsing requirements, such as a file browsing number, and the like, which is not limited in the present invention. The target browsing instruction may be a target browsing instruction sent by a user through a keyboard input module, a voice input module, a touch screen input module, and the like of the terminal device, and may also be sent through other types of input modules, which is not limited in the present invention.
Step S12: the terminal equipment selects a target preview picture corresponding to the target browsing instruction from the preview picture set; the preview picture set comprises a plurality of preview pictures which are in one-to-one correspondence with a plurality of file groups, and the plurality of file groups are obtained by grouping all files in externally accessed hard disk equipment according to file types.
It should be noted that the target browsing instruction input by the user may include a file type, where the file type may be a video file, an audio file, or a picture file, and the present invention is not limited in particular. The hard disk device of the invention can be a mobile hard disk, a U disk or a multimedia device for storing files. The hard disk device can be accessed into the terminal device through the serial port.
It can be understood that the terminal device groups all files of the externally accessed hard disk device to obtain a plurality of file groups, and one file group corresponds to one preview picture; and selecting a corresponding preview picture according to a target browsing instruction of a user. For example, the hard disk device includes 500 files, the terminal device groups 500 files of the hard disk device accessed externally to obtain an a file group and a B file group, the a file group includes 200 files, the a file group corresponds to a preview screen a, the B file group includes 300 files, the B file group corresponds to a preview screen B, and the preview screen set includes a preview screen a and a preview screen B; and the target browsing instruction is a browsing instruction for the file group A, and a preview picture a is selected from the preview picture set as a target preview picture according to the browsing instruction.
Further, before step S12, the method further includes: when the terminal device detects the externally accessed hard disk device, N files and N file types in the hard disk device are obtained, wherein the N file types correspond to the N files one by one, and N is an integer greater than 1; dividing at least one file with the same file type in the N files into the same file group to obtain a plurality of file groups; and generating a plurality of preview pictures which correspond to the plurality of file groups one by one according to a preset preview picture generation strategy, wherein the plurality of preview pictures form a preview picture set.
It should be noted that when the terminal device monitors that the hardware device is accessed, all storage files and file types of the storage files in the hard disk device are obtained; the method comprises the steps of acquiring a plurality of storage files, taking the storage files with the same file type as a file group, generating a preview picture of the file group according to a preset preview picture generation strategy for each file group, traversing all the file groups, and acquiring a preview picture set, wherein the preview picture set comprises preview pictures corresponding to all the file groups.
It can be understood that, when all the stored files are only one type of file, the number of the file groups is 1, and the preview pictures generated according to the preset preview picture generation strategy are only the preview pictures of the file groups in a set; when all the stored files have files of various file types, the number of the file groups is multiple, and the preview pictures generated according to the preset preview picture generation strategy collectively comprise respective preview pictures of the multiple file groups.
For example, 300 files are stored in an externally accessed hard disk device, and the terminal device is a 50-inch television, wherein 100 video files, 150 audio files and 50 picture files are stored in the terminal device. When the television detects that the hard disk device is accessed, file types of 300 files and 300 files, namely video, audio and pictures, are obtained, the 300 files are divided into 3 groups according to the file types, namely a video file group, namely 150 video files, an audio file group, namely 100 audio files, and a picture file group, namely 50 picture files; and generating a preview picture set according to the 3 file groups and a preset preview picture generation strategy, wherein the preview picture set comprises a preview picture corresponding to the video file group, a preview picture corresponding to the audio file group and a preview picture corresponding to the picture file group. When the received target browsing instruction is a picture browsing instruction, acquiring that the file type corresponding to the target browsing instruction is a picture, selecting a preview picture corresponding to a picture file group in the preview picture set, and determining the preview picture corresponding to the picture file group as a target preview picture.
Further, the terminal device selects a target preview image corresponding to the target browsing instruction from the preview image set, and the method includes: the terminal equipment analyzes the target browsing instruction to obtain a target file type; determining a target file group corresponding to the target file type according to the mapping relation between the pre-stored file type and the file group; and determining a target preview picture corresponding to the target file group according to the mapping relation between the pre-stored file group and the preview picture.
It should be noted that, when the terminal device receives the target browsing instruction, the terminal device analyzes the target browsing instruction to obtain a corresponding target file type, determines a target file group corresponding to the target browsing instruction according to a mapping relationship between the file type and the file group, determines a preview picture corresponding to the target file group according to a mapping relationship between the file group and the preview picture, and obtains a preview picture corresponding to the target browsing instruction.
For example, the terminal device receives that the target browsing instruction is a picture browsing instruction, analyzes the browsing instruction to obtain that the target file type is a picture, determines that the target file group is a picture file group according to the mapping relation between the file type and the file group, and determines that the target browsing image is a preview image corresponding to the image file according to the mapping relation between the file group and the preview image.
The target browsing instruction may be a target browsing instruction corresponding to a file type, for example, the file type is video, audio, and picture, and the target browsing instruction may be a video browsing instruction, an audio browsing instruction, or a picture browsing instruction; the mapping relationship between the file type and the file group may be that one total file type corresponds to one file group, for example, the file type is a video, the file group includes all video files of the externally accessed hard disk device, and the mapping relationship between the file type and the file group may also be that one subfile type corresponds to one file group, for example, the file type is a movie, and the file group includes all movie files of the externally accessed hard disk device; the mapping relationship between the file group and the preview picture may be a preview picture corresponding to the file group, for example, a preview picture corresponding to a video file in the video file group, and a preview picture corresponding to an audio file in the audio file group.
Further, the file group a is any one of a plurality of file groups, and generates a preview screen corresponding to the file group a according to a preset preview screen generation policy, including:
if the file group A is a video file group, acquiring the thumbnail, the name and the summary information of each video file in the file group A; generating a preview picture corresponding to the file group A according to the thumbnail, the name and the summary information of each video file;
or if the file group A is an audio file group, acquiring the thumbnail, the name and the summary information of each audio file in the file group A; generating a preview picture corresponding to the file group A according to the thumbnail, the name and the summary information of each audio file;
or if the file group A is a picture file group, the thumbnail, the name and the summary information of each picture file in the file group A; and generating a preview picture corresponding to the file group A according to the thumbnail, the name and the summary information of each picture file. .
It should be noted that the thumbnail of the video file may be a thumbnail corresponding to a cover art of the video file (usually, the video file mostly originates from a network, and the video file downloaded from the network mostly includes the cover art, and the cover art is a display picture during the video promotion), or may be a thumbnail corresponding to a frame to be displayed of the video file, where the frame to be displayed may be a first frame of the video file, or may be another frame, and the present invention is not limited; the video file name may be a video file name, a program name of a video file, or a video file name including episode information, for example, the tenth episode of the fourth season of a hemophilia, which is not limited in the present invention; the video summary information may include content introduction of the video, names of masters involved in the video, and the like, for example, the movie file summary information may include information of a scenario introduction, a master, a director, and the like, and the present invention is not particularly limited.
Referring to fig. 3, fig. 3 is a schematic diagram of a preview picture corresponding to a video file group according to the present invention, where the preview picture corresponding to the video file group includes thumbnails, file names, summary information, and total number of video files (i.e., important thumbnail of japanese animation film, file name summary information, and total number of animation films) of the video files in the video file group (where the video file type is an important group of japanese animation film files, that is, the file type is a sub-category of the video type, and a certain type of video files).
It should be noted that the file type is not limited to video, audio or picture, and may also be a sub-category of the same file type (e.g. an important japanese animation file group shown in fig. 3), for example, the file type is a tv drama file, a movie file, a sound file, a still picture file or a moving picture file, and the invention is not limited thereto.
It can be understood that, when the file classification mode is a general classification mode of a video file, an audio file or a picture file, etc., a file group including the video file is a file group, a preview picture obtained according to the file group is a preview picture corresponding to the video file group, and the preview picture only includes the preview picture corresponding to the video file group in a set; when the file classification mode is a secondary classification mode such as a drama file, a movie file, a sound file, a still picture file, or a moving picture file, the file group including the video files may be a plurality of file groups, the preview pictures obtained according to the plurality of file groups are preview pictures of the plurality of video file groups, and the preview pictures collectively include preview pictures of the plurality of video file groups.
Specifically, when the number of video files in a file group is large, the video files may be divided into a plurality of batches for processing, each batch includes the number of video files with a fixed numerical value, and when the terminal device completes scanning of one batch of video files, a preview picture of the batch of video files is obtained according to the video files of the scanned batch, and then the scanning of the video files of the next batch is continued, where the scanning sequence may be the initial arrangement sequence of the files or other sequences; the video files of the video file group in multiple batches respectively correspond to one page (namely, part of preview pictures) in one preview picture, and when a target browsing instruction is received, page display is carried out, wherein one page is the preview picture corresponding to one batch of video files, and the page turning mode can be a page turning mode of sliding up and down or a page turning mode of front and back. In addition, the fixed number can be any value, the value is 100, the fixed number is a better value, and a user can set other values according to the requirement of the user, and the invention is not limited; the total number of the above files may be the total number of video files displayed per page, may also be the total number of all video files in the video group, and may also include the number of video files per page and the total number of all video files in the video group.
It can be understood that when the target browsing instruction is received, all the files in the file group are not completely scanned, that is, only the preview pictures corresponding to some of the video files are obtained, that is, the preview pictures corresponding to the already obtained video files are displayed first, for example, the video files in the first two batches of the multiple batches of video files are completely scanned, that is, the preview pictures corresponding to the video files in the first two batches are displayed, and the preview pictures are displayed for two pages.
For example, the hard disk device stores 370 video files, the file classification mode is a general classification mode such as a video file, an audio file or a picture file, and the video file group is a video file group, which includes 370 video files in total; dividing 370 video files into four batches, wherein the first three batches are 100 video files respectively, and the last batch is 70 video files; scanning 370 video files in four batches, and when the scanning of the video files of the first batch is completed, obtaining preview pictures of the video files of the first batch, and when the scanning of the video files of the last batch is completed, obtaining four preview pictures; and displaying a preview picture corresponding to the video file of the first batch on the first page, and so on, wherein the fourth page is a preview picture corresponding to the video file of the fourth batch. So that the user can turn pages according to the requirement to determine the video file interested by the user.
In addition, the thumbnail of the audio file may be a thumbnail corresponding to a cover art of the audio file (usually, the audio file mostly originates from the network, and most of the audio files downloaded from the network include a cover art or an album cover art, that is, a display picture in the audio promotion); the audio file name may be an audio file name, an audio file name including publisher information, etc., such as zhou jenlen-qilixiang, which is not limited by the present invention; the audio summary information may include content introduction of the audio, author name of the audio, etc., for example, the song file summary information may include information of singer, composer, release time, and word writer, etc., and the present invention is not particularly limited.
The process of obtaining the audio preview screen and the exemplary description of the audio preview screen for the file group including the audio file refer to the specific process and exemplary description of the video file group, which are not repeated herein.
The thumbnail of the picture file can be a picture with a smaller size after the original picture is zoomed, wherein the larger size is determined based on the factors of the size of a picture preview picture, the number of the displayed picture thumbnails on each page and the like, and the invention is not particularly limited; the picture file name may be a picture file name, a picture file name including publisher information, etc., for example, a picture of the Qinghai lake, the invention is not limited; the picture summary information may include a shooting location of the picture, a name of a author of the picture, and the like, for example, the picture file summary information may include information of a photographer, a shooting time, and a shooting location, and the present invention is not particularly limited.
The process of obtaining the picture preview picture and the example description of the picture preview picture in the file group including the picture file refer to the specific process and example description of the video file group, and are not repeated here.
It is understood that the hard disk device may also include other types of files, such as word documents, etc., and the display manner refers to the above scheme, which is not described in detail herein.
Specifically, the hard disk devices may all include video files, audio files, and picture files, and the preview images of the video file group, the preview images of the audio file group, and the preview images of the picture file group are obtained according to the above manners, where the obtained preview image set includes the preview images corresponding to the video file group, the preview images corresponding to the audio file group, and the preview images corresponding to the picture file group.
It can be understood that, when the target browsing instruction is obtained, the file type corresponding to the target browsing instruction is obtained, and a corresponding target preview picture is found in the preview picture set.
For example, all files stored in the hard disk device include video files, audio files, and picture files, and the preview picture of the video file group, the preview picture of the audio file group, and the preview picture of the picture file group are obtained according to the above manner, at this time, the obtained preview picture set includes the preview picture corresponding to the video file group, the preview picture corresponding to the audio file group, and the preview picture corresponding to the picture file group; the received user target browsing instruction is a picture browsing instruction, the type of the file of the obtained target browsing instruction is a picture file, and a preview picture corresponding to the picture file group is found in the preview picture set, namely the target preview picture.
Step S13: the terminal device performs a display operation on the target preview screen.
The execution of the display operation on the target preview picture is realized through a display screen of the terminal device, and the display of the target preview picture can be realized by tiling the target preview picture on the whole display screen or tiling the target preview picture on a partial area of the display screen; when the target preview screen is displayed, page display may be performed, or all display may be performed at one time, where page display is a preferred scheme, and the page turning manner is not particularly limited in the present invention.
The embodiment receives a target browsing instruction through terminal equipment; selecting a target preview picture corresponding to the target browsing instruction from the preview picture set; the preview picture set comprises a plurality of preview pictures which are in one-to-one correspondence with a plurality of file groups, and the plurality of file groups are obtained by grouping all files in externally accessed hard disk equipment according to file types; and executing display operation on the target preview screen. The file group is obtained by grouping all the storage files accessed into the hard disk device according to the file types, and the target preview picture is obtained according to all the storage files in the corresponding file group, so that the target preview picture is a preview picture comprising file information of all the files in the corresponding file group; when the terminal equipment receives a target browsing instruction sent by a user, a target preview picture of a corresponding file group is obtained according to the target browsing instruction, the target preview picture is displayed, the user does not need to open different folders respectively to view preview pictures of stored files with the same file type, and the user experience is good.
Referring to fig. 4, fig. 4 is a schematic flowchart of the file information display method according to the second embodiment of the present invention after step S13, wherein the file groups include video file groups; the method further comprises the following steps:
step S21: the terminal equipment receives a first touch operation aiming at the target preview picture.
Step S22: and the terminal equipment determines a file to be played corresponding to the first touch operation.
Step S23: and the terminal equipment executes playing operation on the file to be played.
It should be noted that the first touch operation is performed on the target preview screen; the first touch operation is a touch operation performed by a user on a certain file in the target preview picture, for example, one of the thumbnails is clicked, that is, a file corresponding to the thumbnail is selected; the first touch operation may be a target browsing instruction sent by a user through a keyboard input module, a voice input module, a touch screen input module, and the like of the end device (i.e., the display device of the present invention), and may also be sent through other types of input modules, which is not limited in the present invention.
In addition, when the video file to be played is obtained, the terminal device controls the display screen to display the video file to be played, wherein when the terminal device controls the display screen to display the video file to be played, the video file can be tiled to the whole screen area to be played and displayed, or the video file can be placed in a partial screen area to be played and displayed, and the invention is not limited.
Further, before step S23, the method further includes: if the file to be played is a video file, the terminal equipment acquires the duration and the preset proportion of the file to be played; generating a preview video file corresponding to the file to be played according to the duration and the preset proportion of the file to be played; and executing playing operation on the preview video file.
It should be noted that the preset ratio refers to a ratio of a duration of the preview video file to a duration of the video file to be played, and the selected duration is obtained according to the preset ratio and the duration of the video file to be played, that is, the selected duration is a ratio of the duration of the video file to be played × the duration of the preview video file to the duration of the video file to be played, the preview video file may be a local video file having a playing start point of the video file to be played as a start time and having the selected duration, or a local video file having any time in the middle of the video file to be played as a start point, and the present invention is not limited specifically.
Further, after the terminal device performs a play operation on the preview video file, the method includes: receiving a second touch operation aiming at the preview video file in the playing process of the preview video file; analyzing the second touch operation to obtain a pause playing instruction; and pausing the playing of the preview video file according to the pause playing instruction.
It should be noted that, if a second touch operation for the preview video file is received during the playing process of the preview video file, it indicates that the user wants to play the selected television program (i.e., the video file to be played), at this time, the preview video file does not need to be played continuously, but the video file to be played needs to be played; therefore, the terminal equipment obtains a play pause instruction according to the second touch operation; pausing the playing of the preview video file according to the pause playing instruction, and playing the video file to be played; in order to avoid the influence of the sound of the preview video file on the sound of the video file to be played, the preview video file is suggested to be quitted from being played.
It can be understood that when the playing of the preview video file is finished, that is, when the user is indicated to be playing the preview video file, no touch operation of the user is received, at this time, the intention of the user to play the video file to be played is large, and the terminal device plays the video file to be played.
The method comprises the steps of obtaining a preview video file with a selected duration, not loading all videos, reducing the load of terminal equipment, and meanwhile playing a part of the video file to be played for a user so that the user can determine whether to play the video file to be played corresponding to the preview video file according to the played preview video file.
Further, when the file group includes an audio file group, the step and the method for playing the audio file to be played by the terminal device refer to the above embodiments, and are not described herein again. The ratio of the duration of the preview audio file with the selected duration to the duration of the audio file to be played is different from the preset ratio corresponding to the video to be played, and a user can set a new ratio according to the requirement of the user, wherein the ratio is not limited; the playback conditions of the audio file to be played and the playback conditions of the preview audio file may be analogized by referring to the above-described embodiment.
It can be understood that the purpose of obtaining the preview audio file and the preview video file according to the audio file to be played and the video file to be played is that the preview audio file or the preview video file is obtained by scanning only part of data without scanning all data of the video file to be played or the audio file to be played by the terminal device, and preview of file information is realized, so that a user can determine whether to play the file to be played according to the preview file, thereby reducing data information processed by the terminal device, and further reducing real-time load of the terminal device.
In addition, when the file group includes the picture file group, the step of displaying the audio file to be displayed refers to the above embodiment, and at this time, when a touch operation of the user for a preview screen (i.e., a preview screen corresponding to the picture file group) is received, the picture to be displayed is displayed according to the touch operation. It will be appreciated that a picture file is a file that does not have a duration and does not require processing of the file.
Referring to fig. 5, fig. 5 is a block diagram of a first embodiment of a file information display apparatus according to the present invention, the apparatus including:
a receiving module 10, configured to receive a target browsing instruction;
a determining module 20, configured to select a target preview image corresponding to the target browsing instruction from a preview image set; the preview picture set comprises a plurality of preview pictures which are in one-to-one correspondence with a plurality of file groups, and the file groups are obtained by grouping all files in externally accessed hard disk equipment according to file types;
and the display module 30 is used for executing display operation on the target preview picture.
The above description is only an alternative embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications and equivalents of the present invention, which are made by the contents of the present specification and the accompanying drawings, or directly/indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A file information display method is characterized by comprising the following steps:
receiving a target browsing instruction;
selecting a target preview picture corresponding to the target browsing instruction from a preview picture set; the preview picture set comprises a plurality of preview pictures which are in one-to-one correspondence with a plurality of file groups, and the file groups are obtained by grouping all files in externally accessed hard disk equipment according to file types;
and executing display operation on the target preview picture.
2. The method of claim 1, wherein prior to receiving the target browsing instructions, the method further comprises:
when the hard disk device accessed externally is detected, N files and N file types in the hard disk device are obtained, wherein the N file types correspond to the N files one by one, and N is an integer greater than 1;
dividing at least one file with the same file type in the N files into the same file group to obtain a plurality of file groups;
and generating the plurality of preview pictures which are in one-to-one correspondence with the plurality of file groups according to a preset preview picture generation strategy, wherein the plurality of preview pictures form the preview picture set.
3. The method of claim 2, wherein selecting the target preview screen corresponding to the target browsing instruction from the set of preview screens comprises:
analyzing the target browsing instruction to obtain a target file type;
determining a target file group corresponding to the target file type according to a mapping relation between a prestored file type and the file group;
and determining a target preview picture corresponding to the target file group according to the mapping relation between the pre-stored file group and the preview picture.
4. The method of claim 3, wherein the file group A is any one of the plurality of file groups, and the generating of the preview screen corresponding to the file group A according to a preset preview screen generation policy comprises:
if the file group A is a video file group, acquiring the thumbnail, the name and the summary information of each video file in the file group A; generating a preview picture corresponding to the file group A according to the thumbnail, the name and the summary information of each video file; alternatively, the first and second electrodes may be,
if the file group A is an audio file group, acquiring the thumbnail, the name and the summary information of each audio file in the file group A; generating a preview picture corresponding to the file group A according to the thumbnail, the name and the summary information of each audio file; alternatively, the first and second electrodes may be,
if the file group A is a picture file group, acquiring the thumbnail, the name and the summary information of each picture file in the file group A; and generating a preview picture corresponding to the file group A according to the thumbnail, the name and the summary information of each picture file.
5. The method of any of claims 1-4, wherein after performing the display operation on the target preview screen, the method further comprises:
receiving a first touch operation aiming at the target preview picture;
determining a file to be played corresponding to the first touch operation;
and executing playing operation on the file to be played.
6. The method of claim 5, wherein before performing the play operation on the file to be played, the method further comprises:
if the file to be played is a video file, acquiring the duration and the preset proportion of the file to be played;
generating a preview video file corresponding to the file to be played according to the duration and the preset proportion of the file to be played;
and executing playing operation on the preview video file.
7. The method of claim 6, wherein after performing the play operation on the preview video file, the method further comprises:
receiving a second touch operation aiming at the preview video file in the playing process of the preview video file;
analyzing the second touch operation to obtain a pause playing instruction;
and pausing the playing of the preview video file according to the pause playing instruction.
8. A document information display apparatus, comprising:
the receiving module is used for receiving a target browsing instruction;
the selection module is used for selecting a target preview picture corresponding to the target browsing instruction from a preview picture set; the preview picture set comprises a plurality of preview pictures which are in one-to-one correspondence with a plurality of file groups, and the file groups are obtained by grouping all files in externally accessed hard disk equipment according to file types;
and the display module is used for executing display operation on the target preview picture.
9. A terminal device characterized by comprising a memory, a processor, and a file information display program stored on the memory and executable on the processor, the file information display program realizing the steps of the file information display method according to any one of claims 1 to 7 when executed by the processor.
10. A computer-readable storage medium, characterized in that a file information display program is stored thereon, which when executed by a processor implements the steps of the file information display method according to any one of claims 1 to 7.
CN202010925444.1A 2020-09-03 2020-09-03 File information display method, terminal device and computer-readable storage medium Pending CN112347049A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010925444.1A CN112347049A (en) 2020-09-03 2020-09-03 File information display method, terminal device and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010925444.1A CN112347049A (en) 2020-09-03 2020-09-03 File information display method, terminal device and computer-readable storage medium

Publications (1)

Publication Number Publication Date
CN112347049A true CN112347049A (en) 2021-02-09

Family

ID=74357613

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010925444.1A Pending CN112347049A (en) 2020-09-03 2020-09-03 File information display method, terminal device and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN112347049A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117234435A (en) * 2023-11-14 2023-12-15 苏州元脑智能科技有限公司 File storage method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117234435A (en) * 2023-11-14 2023-12-15 苏州元脑智能科技有限公司 File storage method and device
CN117234435B (en) * 2023-11-14 2024-02-20 苏州元脑智能科技有限公司 File storage method and device

Similar Documents

Publication Publication Date Title
WO2020238774A1 (en) Notification message preview method and electronic device
US9124785B2 (en) Method for receiving low-resolution and high-resolution images and device therefor
JP2022529159A (en) How to add comments and electronic devices
CN110100251B (en) Apparatus, method, and computer-readable storage medium for processing document
EP4318192A1 (en) Photographing interface display method and apparatus, electronic device and medium
CN113553014A (en) Application interface display method under multi-window screen projection scene and electronic equipment
CN109168026A (en) Instant video display methods, device, terminal device and storage medium
JP2015525530A (en) Video communication method, video communication apparatus, program, and recording medium
CN104898914A (en) Multi-page display method and device
US10528845B2 (en) Method, device, and storage medium for generating GIF file
US20230345113A1 (en) Display control method and apparatus, electronic device, and medium
CN107948724B (en) Video transmission control method, device, storage medium and mobile terminal
KR100820275B1 (en) Method for divide photographing and mobile communication terminal using the same
CN113010063A (en) File preview method and device, electronic equipment and storage medium
CN112347049A (en) File information display method, terminal device and computer-readable storage medium
EP3968671A1 (en) Method for information transmission and electronic device
CN103607629B (en) Multimedia file playing method and electronic terminal
US20140307143A1 (en) Apparatus and method for shooting video in terminal
WO2023125273A1 (en) Image display method of electronic equipment, image processing circuit and electronic equipment
WO2022194211A1 (en) Image processing method and apparatus, electronic device and readable storage medium
KR101779825B1 (en) Apparatus and method for managering content data in portable terminal
KR20200108348A (en) Data transfer
TW201116060A (en) Portable electronic apparatus and channel-switching method of the same
CN114339966A (en) Interface control method, device, medium and electronic equipment for data transmission
KR20150115169A (en) Electronic apparatus and dispalying method thereof

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