CN106933978B - File display method and device - Google Patents

File display method and device Download PDF

Info

Publication number
CN106933978B
CN106933978B CN201710084678.6A CN201710084678A CN106933978B CN 106933978 B CN106933978 B CN 106933978B CN 201710084678 A CN201710084678 A CN 201710084678A CN 106933978 B CN106933978 B CN 106933978B
Authority
CN
China
Prior art keywords
file
files
type
terminal
display
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.)
Active
Application number
CN201710084678.6A
Other languages
Chinese (zh)
Other versions
CN106933978A (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201710084678.6A priority Critical patent/CN106933978B/en
Publication of CN106933978A publication Critical patent/CN106933978A/en
Application granted granted Critical
Publication of CN106933978B publication Critical patent/CN106933978B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/13File access structures, e.g. distributed indices
    • 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

Landscapes

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

Abstract

The invention discloses a file display device, comprising: the first acquisition module is used for acquiring a first type of file with collection identification information from each file stored in a server and/or the terminal when an application program needs the terminal to display the file, wherein the file information corresponding to each file is stored in the terminal, the file information at least comprises the collection identification information, and the file information is stored in a global database; and the first display module is used for displaying the first type of files. The invention also discloses a file display method.

Description

File display method and device
Technical Field
The present invention relates to data processing technologies, and in particular, to a file display method and device.
Background
With the development of technology, the functions of terminals and application programs are more and more. For example, a terminal may be installed with a plurality of applications, and a user may collect a favorite file in the terminal during using each application, so as to facilitate reuse, for example, displaying the collected file again.
At present, the display of the collection files is realized by two methods:
the first method comprises the following steps: when each application program collects files, each application program respectively saves the files to be collected into the corresponding folder, and the collected files are marked for collection; in this way, when the application program needs to display the collected files again, the files are directly acquired from the corresponding folders of the application programs and displayed.
And the second method comprises the following steps: creating a global folder in the terminal, and copying files collected by each application program into the global folder; in this way, when each application needs to display the favorite file again, it is acquired from the global folder and displayed.
In the process of implementing the technical scheme, the inventor finds that the prior art at least has the following problems: for the first method, each application program can only display files collected by itself, but cannot display files collected by other application programs, so that the collected files cannot be shared; for the second method, the terminal needs to copy each collected file to another folder, that is, the same file occupies twice the storage space, which results in waste of terminal resources, and needs to execute the copy operation, which is tedious in operation.
Disclosure of Invention
In view of the above, the main objective of the present invention is to provide a file display method and device, which solve the problem that the collected files cannot be shared or the operation is complicated when the files are displayed; the file sharing rate and the convenience of file operation are improved.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
an embodiment of the present invention provides a file display apparatus, including:
the first acquisition module is used for acquiring a first type of file with collection identification information from each file stored in a server and/or the terminal when an application program needs the terminal to display the file, wherein the file information corresponding to each file is stored in the terminal, the file information at least comprises the collection identification information, and the file information is stored in a global database;
and the first display module is used for displaying the first type of files.
Optionally, the file information further includes a storage path, and the first obtaining module includes:
the first acquisition sub-module is used for acquiring first-class file information with collection identifications from all file information included in the global database;
and the second obtaining sub-module is used for obtaining the first type of files from the server and/or the terminal according to each storage path included in the first type of file information.
Optionally, the first display module is: and displaying the first type of files in a menu or virtual folder mode.
Optionally, the apparatus further comprises:
the judging module is used for judging whether the file display request carries a file display condition or not when receiving the file display request; when the file display condition is determined not to be carried, executing the first type of files with collection identification information obtained from the files stored in the server and/or the terminal; when the file display condition is determined to be carried, triggering a second acquisition module;
the device further comprises:
the second acquisition module is used for acquiring the file display condition from the file display request; acquiring a second type of file meeting the file display condition from each file stored in a server and/or a terminal according to the file display condition; acquiring the third type files with the collection identification information from the second type files;
and the second display module is used for displaying the third type of file.
Optionally, the second display module is further configured to: and displaying the second type of file.
The embodiment of the invention also provides a file display method, which comprises the following steps:
when an application program needs a terminal to display files, acquiring a first type of file with collection identification information from a server and/or each file stored by the terminal, wherein the file information corresponding to each file is stored in the terminal, the file information at least comprises the collection identification information, and the file information is stored in a global database;
and displaying the first type of files.
Optionally, the file information further includes a storage path, and the obtaining a first type of file with collection identification information from files stored in the server and/or the terminal includes:
acquiring first-class file information with collection identifications from all file information included in the global database;
and acquiring the first type of files from the server and/or the terminal according to each storage path included by the first type of file information.
Optionally, the displaying the first type of file includes: and displaying the first type of files in a menu or virtual folder mode.
Optionally, before the first type of file with collection identification information is obtained from the files stored in the server and/or the terminal, the method further includes:
when a file display request is received, judging whether the file display request carries a file display condition or not;
when the file display condition is determined not to be carried, executing the first type of files with collection identification information obtained from the files stored in the server and/or the terminal;
when the display condition of the file is determined to be carried, the method further comprises the following steps:
acquiring the file display condition from the file display request;
acquiring a second type of file meeting the file display condition from each file stored in a server and/or a terminal according to the file display condition;
acquiring the third type files with the collection identification information from the second type files;
and displaying the third type of files.
Optionally, the method further includes: and displaying the second type of files while displaying the third type of files.
According to the file display method and device provided by the embodiment of the invention, the file information of the collection identifier is added to the file information of the global database, and the collection identifier information is set for the collected files; when any application program in the terminal needs the terminal to display the file, the terminal can acquire the corresponding file from the server and/or the terminal according to the set collection identification information no matter whether the file needing to be displayed is the file collected by the application program; any application program in the terminal can display files collected by other application programs, so that the sharing rate of the files is improved; and when the application program in the terminal displays the collected files, the files to be displayed do not need to be copied into the corresponding folders of the application program, so that the operation step of copying the files is reduced, the operation convenience is improved, the files are not copied, the occupation of the storage space of the terminal is reduced, and the utilization rate of the storage space of the terminal is improved.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a mobile terminal according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a communication system in which a mobile terminal according to an embodiment of the present invention can operate;
FIG. 3 is a schematic diagram of a file display method according to an embodiment of the present invention;
FIG. 4A is a schematic diagram of another file displaying method according to an embodiment of the present invention;
FIG. 4B is a schematic diagram of another file displaying method according to an embodiment of the present invention;
FIG. 5A is a schematic diagram of a file display apparatus according to an embodiment of the present invention;
FIG. 5B is a diagram illustrating an apparatus for displaying files with favorite identifier information according to an embodiment of the present invention;
fig. 5C is a schematic diagram of another file display device according to another embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
A mobile terminal implementing various embodiments of the present invention will now be described with reference to fig. 1. In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
The mobile terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a Personal Digital Assistant (PDA), a tablet computer (PAD), a Portable Multimedia Player (PMP), a navigation device, etc., and a stationary terminal such as a digital TV, a desktop computer, etc. In the following, it is assumed that the terminal is a mobile terminal. However, it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
Fig. 1 is a schematic hardware configuration of a mobile terminal implementing various embodiments of the present invention.
The mobile terminal 100 may include a wireless communication unit 110, an audio/video (a/V) input unit 120, a user input unit 130, a sensing unit 140, an output unit 150, a memory 160, an interface unit 170, a controller 180, and a power supply unit 190, etc. Fig. 1 illustrates a mobile terminal having various components, but it is to be understood that not all illustrated components are required to be implemented, and that more or fewer components may instead be implemented, the elements of the mobile terminal being described in detail below.
The wireless communication unit 110 typically includes one or more components that allow radio communication between the mobile terminal 100 and a wireless communication system or network. For example, the wireless communication unit may include at least one of a broadcast receiving module 111, a mobile communication module 112, a wireless internet module 113, a short-range communication module 114, and a location information module 115.
The broadcast receiving module 111 receives a broadcast signal and/or broadcast associated information from an external broadcast management server via a broadcast channel. The broadcast channel may include a satellite channel and/or a terrestrial channel. The broadcast management server may be a server that generates and transmits a broadcast signal and/or broadcast associated information or a server that receives a previously generated broadcast signal and/or broadcast associated information and transmits it to a terminal. The broadcast signal may include a TV broadcast signal, a radio broadcast signal, a data broadcast signal, and the like. Also, the broadcast signal may further include a broadcast signal combined with a TV or radio broadcast signal. The broadcast associated information may also be provided via a mobile communication network, and in this case, the broadcast associated information may be received by the mobile communication module 112. The broadcast signal may exist in various forms, for example, it may exist in the form of an Electronic Program Guide (EPG) of Digital Multimedia Broadcasting (DMB), an Electronic Service Guide (ESG) of digital video broadcasting-handheld (DVB-H), and the like. The broadcast receiving module 111 may receive a signal broadcast by using various types of broadcasting systems. In particular, the broadcast receiving module 111 may receive digital broadcasting by using a digital broadcasting system such as a data broadcasting system of multimedia broadcasting-terrestrial (DMB-T), digital multimedia broadcasting-satellite (DMB-S), digital video broadcasting-handheld (DVB-H), forward link media (MediaFLO @), terrestrial digital broadcasting integrated service (ISDB-T), and the like. The broadcast receiving module 111 may be constructed to be suitable for various broadcasting systems that provide broadcast signals as well as the above-mentioned digital broadcasting systems. The broadcast signal and/or broadcast associated information received via the broadcast receiving module 111 may be stored in the memory 160 (or other type of storage medium).
The mobile communication module 112 transmits and/or receives radio signals to and/or from at least one of a base station (e.g., access point, node B, etc.), an external terminal, and a server. Such radio signals may include voice call signals, video call signals, or various types of data transmitted and/or received according to text and/or multimedia messages.
The wireless internet module 113 supports wireless internet access of the mobile terminal. The module may be internally or externally coupled to the terminal. The wireless internet access technology to which the module relates may include WLAN (wireless LAN) (Wi-Fi), Wibro (wireless broadband), Wimax (worldwide interoperability for microwave access), HSDPA (high speed downlink packet access), and the like.
The short-range communication module 114 is a module for supporting short-range communication. Some examples of short-range communication technologies include bluetoothTMRadio Frequency Identification (RFID), infrared data association (IrDA), Ultra Wideband (UWB), zigbeeTMAnd so on.
The location information module 115 is a module for checking or acquiring location information of the mobile terminal. A typical example of the location information module 115 is a GPS (global positioning system). According to the current technology, the location information module 115, which is a GPS, calculates distance information and accurate time information from three or more satellites and applies triangulation to the calculated information, thereby accurately calculating three-dimensional current location information according to longitude, latitude, and altitude. Currently, a method for calculating position and time information uses three satellites and corrects an error of the calculated position and time information by using another satellite. In addition, the location information module 115, which is a GPS, can calculate speed information by continuously calculating current location information in real time.
The a/V input unit 120 is used to receive an audio or video signal. The a/V input unit 120 may include a camera 121 and a microphone 122, and the camera 121 processes image data of still pictures or video obtained by an image capturing apparatus in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 151. The image frames processed by the cameras 121 may be stored in the memory 160 (or other storage medium) or transmitted via the wireless communication unit 110, and two or more cameras 121 may be provided according to the construction of the mobile terminal. The microphone 122 may receive sounds (audio data) via the microphone 122 in a phone call mode, a recording mode, a voice recognition mode, or the like, and is capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the mobile communication module 112 in case of a phone call mode. The microphone 122 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The user input unit 130 may generate key input data according to a command input by a user to control various operations of the mobile terminal. The user input unit 130 allows a user to input various types of information, and may include a keyboard, dome sheet, touch pad (e.g., a touch-sensitive member that detects changes in resistance, pressure, capacitance, and the like due to being touched), scroll wheel, joystick, and the like. In particular, when the touch pad is superimposed on the display unit 151 in the form of a layer, a touch screen may be formed.
The sensing unit 140 detects a current state of the mobile terminal 100 (e.g., an open or closed state of the mobile terminal 100), a position of the mobile terminal 100, presence or absence of contact (i.e., touch input) by a user with the mobile terminal 100, an orientation of the mobile terminal 100, acceleration or deceleration movement and direction of the mobile terminal 100, and the like, and generates a command or signal for controlling an operation of the mobile terminal 100. For example, when the mobile terminal 100 is implemented as a slide-type mobile phone, the sensing unit 140 may sense whether the slide-type phone is opened or closed. In addition, the sensing unit 140 can detect whether the power supply unit 190 supplies power or whether the interface unit 170 is coupled with an external device. The sensing unit 140 may include a proximity sensor 141 as will be described below in connection with a touch screen.
The interface unit 170 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The identification module may store various information for authenticating a user using the mobile terminal 100 and may include a User Identity Module (UIM), a Subscriber Identity Module (SIM), a Universal Subscriber Identity Module (USIM), and the like. In addition, a device having an identification module (hereinafter, referred to as an "identification device") may take the form of a smart card, and thus, the identification device may be connected with the mobile terminal 100 via a port or other connection means. The interface unit 170 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal and the external device.
In addition, when the mobile terminal 100 is connected with an external cradle, the interface unit 170 may serve as a path through which power is supplied from the cradle to the mobile terminal 100 or may serve as a path through which various command signals input from the cradle are transmitted to the mobile terminal. Various command signals or power input from the cradle may be used as signals for recognizing whether the mobile terminal is accurately mounted on the cradle. The output unit 150 is configured to provide output signals (e.g., audio signals, video signals, alarm signals, vibration signals, etc.) in a visual, audio, and/or tactile manner. The output unit 150 may include a display unit 151, an audio output module 152, an alarm unit 153, and the like.
The display unit 151 may display information processed in the mobile terminal 100. For example, when the mobile terminal 100 is in a phone call mode, the display unit 151 may display a User Interface (UI) or a Graphical User Interface (GUI) related to a call or other communication (e.g., text messaging, multimedia file downloading, etc.). When the mobile terminal 100 is in a video call mode or an image capturing mode, the display unit 151 may display a captured image and/or a received image, a UI or GUI showing a video or an image and related functions, and the like.
Meanwhile, when the display unit 151 and the touch pad are overlapped with each other in the form of a layer to form a touch screen, the display unit 151 may serve as an input device and an output device. The display unit 151 may include at least one of a Liquid Crystal Display (LCD), a thin film transistor LCD (TFT-LCD), an Organic Light Emitting Diode (OLED) display, a flexible display, a three-dimensional (3D) display, and the like. Some of these displays may be configured to be transparent to allow a user to view from the outside, which may be referred to as transparent displays, and a typical transparent display may be, for example, a TOLED (transparent organic light emitting diode) display or the like. Depending on the particular desired implementation, the mobile terminal 100 may include two or more display units (or other display devices), for example, the mobile terminal may include an external display unit (not shown) and an internal display unit (not shown). The touch screen may be used to detect a touch input pressure as well as a touch input position and a touch input area.
The audio output module 152 may convert audio data received by the wireless communication unit 110 or stored in the memory 160 into an audio signal and output as sound when the mobile terminal is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output module 152 may provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output module 152 may include a speaker, a buzzer, and the like.
The alarm unit 153 may provide an output to notify the mobile terminal 100 of the occurrence of an event. Typical events may include call reception, message reception, key signal input, touch input, and the like. In addition to audio or video output, the alarm unit 153 may provide output in different ways to notify the occurrence of an event. For example, the alarm unit 153 may provide an output in the form of vibration, and when a call, a message, or some other Incoming Communication (Incoming Communication) is received, the alarm unit 153 may provide a tactile output (e.g., vibration) to inform the user thereof. By providing such a tactile output, the user can recognize the occurrence of various events even when the user's mobile phone is in the user's pocket. The alarm unit 153 may also provide an output notifying the occurrence of an event via the display unit 151 or the audio output module 152.
The memory 160 may store software programs or the like for processing and controlling operations performed by the controller 180, or may temporarily store data (e.g., a phonebook, messages, still images, videos, etc.) that has been output or is to be output. Also, the memory 160 may store data regarding various ways of vibration and audio signals output when a touch is applied to the touch screen.
The memory 160 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. Also, the mobile terminal 100 may cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
The controller 180 generally controls the overall operation of the mobile terminal. For example, the controller 180 performs control and processing related to voice calls, data communications, video calls, and the like. In addition, the controller 180 may include a multimedia module 181 for reproducing (or playing back) multimedia data, and the multimedia module 181 may be constructed within the controller 180 or may be constructed separately from the controller 180. The controller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
The power supply unit 190 receives external power or internal power and provides appropriate power required to operate various elements and components under the control of the controller 180.
The various embodiments described herein may be implemented in a computer-readable medium using, for example, computer software, hardware, or any combination thereof. For a hardware implementation, the embodiments described herein may be implemented using at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a processor, a controller, a microcontroller, a microprocessor, an electronic unit designed to perform the functions described herein, and in some cases, such embodiments may be implemented in the controller 180. For a software implementation, the implementation such as a process or a function may be implemented with a separate software module that allows performing at least one function or operation. The software codes may be implemented by software applications (or programs) written in any suitable programming language, which may be stored in the memory 160 and executed by the controller 180.
Up to now, the mobile terminal has been described in terms of its functions. Hereinafter, a slide-type mobile terminal among various types of mobile terminals, such as a folder-type, bar-type, swing-type, slide-type mobile terminal, and the like, will be described as an example for the sake of brevity. Accordingly, the present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
The mobile terminal 100 as shown in fig. 1 may be configured to operate with communication systems such as wired and wireless communication systems and satellite-based communication systems that transmit data via frames or packets.
A communication system in which a mobile terminal according to the present invention is operable will now be described with reference to fig. 2.
Such communication systems may use different air interfaces and/or physical layers. For example, the air interface used by the communication system includes, for example, Frequency Division Multiple Access (FDMA), Time Division Multiple Access (TDMA), Code Division Multiple Access (CDMA), and Universal Mobile Telecommunications System (UMTS) (in particular, Long Term Evolution (LTE)), global system for mobile communications (GSM), and the like. By way of non-limiting example, the following description relates to a CDMA communication system, but such teachings are equally applicable to other types of systems.
Referring to fig. 2, the CDMA wireless communication system may include a plurality of mobile terminals 100, a plurality of Base Stations (BSs) 270, Base Station Controllers (BSCs) 275, and a Mobile Switching Center (MSC) 280. The MSC280 is configured to interface with a Public Switched Telephone Network (PSTN) 290. The MSC280 is also configured to interface with a BSC275, which may be coupled to the base station 270 via a backhaul. The backhaul may be constructed according to any of several known interfaces including, for example, E1/T1, ATM, IP, PPP, frame Relay, HDSL, ADSL, or xDSL. It will be understood that a system as shown in fig. 2 may include multiple BSCs 275.
Each BS270 may serve one or more sectors (or regions), each sector covered by a multi-directional antenna or an antenna pointing in a particular direction being radially distant from the BS 270. Alternatively, each partition may be covered by two or more antennas for diversity reception. Each BS270 may be configured to support multiple frequency allocations, with each frequency allocation having a particular frequency spectrum (e.g., 1.25MHz, 5MHz, etc.).
The intersection of partitions with frequency allocations may be referred to as a CDMA channel. The BS270 may also be referred to as a Base Transceiver Subsystem (BTS) or other equivalent terminology. In such a case, the term "base station" may be used to generically refer to a single BSC275 and at least one BS 270. The base stations may also be referred to as "cells". Alternatively, each sector of a particular BS270 may be referred to as a plurality of cell sites.
As shown in fig. 2, a Broadcast Transmitter (BT)295 transmits a broadcast signal to the mobile terminal 100 operating within the system. A broadcast receiving module 111 as shown in fig. 1 is provided at the mobile terminal 100 to receive a broadcast signal transmitted by the BT 295. In fig. 2, several Global Positioning System (GPS) satellites 300 are shown. The satellite 300 assists in locating at least one of the plurality of mobile terminals 100.
In fig. 2, a plurality of satellites 300 are depicted, but it is understood that useful positioning information may be obtained with any number of satellites. The location information module 115, which is a GPS as shown in fig. 1, is generally configured to cooperate with satellites 300 to obtain desired positioning information. Other techniques that can track the location of the mobile terminal may be used instead of or in addition to GPS tracking techniques. In addition, at least one GPS satellite 300 may selectively or additionally process satellite DMB transmission.
As a typical operation of the wireless communication system, the BS270 receives reverse link signals from various mobile terminals 100. The mobile terminal 100 is generally engaged in conversations, messaging, and other types of communications. Each reverse link signal received by a particular base station 270 is processed within the particular BS 270. The obtained data is forwarded to the associated BSC 275. The BSC provides call resource allocation and mobility management functions including coordination of soft handoff procedures between BSs 270. The BSCs 275 also route the received data to the MSC280, which provides additional routing services for interfacing with the PSTN 290. Similarly, the PSTN290 interfaces with the MSC280, the MSC interfaces with the BSCs 275, and the BSCs 275 accordingly control the BS270 to transmit forward link signals to the mobile terminal 100.
Based on the above mobile terminal hardware structure and communication system, the present invention provides various embodiments of the method.
Example one
An embodiment of the present invention provides a file display method, which is shown in fig. 3 and includes the following steps:
step 301, when the application program needs the terminal to display the files, a first type of files with collection identification information is obtained from the files stored in the server and/or the terminal.
The case that the application program needs the terminal to display the file may be: when a user needs to view (or use for another purpose) files in the server and/or the terminal during the application program usage process, the terminal is required to display the corresponding files.
Furthermore, a user can click a file display key of the application program and send a file display request to the terminal; and when the terminal receives the file display request, acquiring the first type of files with the collection identification information from the server and/or the terminal.
For example, when a first user needs to send a picture to a second user, the first user may click a picture display key of a social application program used by the first user, at this time, the social application program sends a picture display request to the terminal, and after receiving the picture display request, the terminal obtains and displays the picture with the collection identification information from the server and/or the terminal; after the pictures are displayed, the user can view the displayed pictures, select the pictures needing to be sent, then execute sending operation and send the selected pictures to the second user.
Alternatively, the file to be displayed may be an audio file, a video file, a photo, a folder, or a website of a webpage browsed by the application program.
In addition, each file stored by the server and/or the terminal corresponds to file information, and the file information may include information such as a name, a type, a size, a creation date, a modification date, or a collection identifier of the file. Further, the file information is stored in a global database.
It should be noted that the global database stores file information of all files in the server and/or the terminal, and when any one file in the server and/or the terminal is modified, the file information in the global database is modified correspondingly.
Further, the collection identification information may include a collection identification, and the collection identification may be 1 or 0. When the collection identifier is 1, the collection identifier information is set, that is, the user collects the corresponding file; when the collection identifier is 0, it indicates that no collection identifier information is set, i.e., the user does not collect the corresponding file.
Further, when the user wants to pay attention to a certain file or the user likes the file, the file is stored in the server and/or the terminal so as to realize collection of the file. For example, when a user finds that a picture displayed by a social application program may need to be used again in the process of using the social application program, the user can click a collection key in the application program to collect the picture to a server and/or a terminal so as to use the picture again.
In addition, it should be noted that, when the user collects files, the files may be saved in a folder corresponding to the application program, and collection identification information is set for the collected files; and meanwhile, file information of the collected files is stored in the global database, and meanwhile, collection identification information and other file information are set for the collected files in the global database, so that the files are not stored in the global database, and only the file information of the files is stored.
In addition, it should be noted that the user may also set collection identification information for the files already stored in the terminal through some functions in the terminal, so as to facilitate the files to be reused.
Optionally, the first type of file with the collection identification information may be acquired from the server and/or the terminal by the following steps:
the first step is to obtain first-class file information with collection identification information from all file information included in the global database.
When the files need to be displayed, the terminal inquires the information of each file in the global database and acquires the first type of file information including the collection identification information from the information of each file.
Illustratively, the global database is shown in table one, when a file needs to be displayed, the terminal queries four file information included in the global database, and obtains collection identifiers (sequentially marked as a first collection identifier, a second collection identifier, a third collection identifier and a fourth collection identifier) in the four file information, wherein the collection identifiers are 1, 0 and 0 respectively; because 1 represents that the collection identification information exists, and 0 represents that the collection identification information does not exist, the first collection identification and the second collection identification in the four collection identifications are judged to have the collection identification information; and determining the file information of the first collection identifier and the file information of the second collection identifier (the file information with the numbers of 1 and 2) as the first type of file information to be acquired.
File information numbering File name Type (B) Size and breadth Storage path Collection mark
1 Document 1 JPEG 8M E: \ Picture 1
2 Document 2 Mp3 9M E: audio frequency 1
3 Document 3 Mp4 50M E: video 0
4 Document 4 JPEG 9M E: \ Picture 0
Watch 1
And secondly, acquiring the first-class files from the server and/or the terminal according to each storage path included by the first-class file information.
After the first-class file information is obtained, each storage path in the first-class file information is obtained, and corresponding files are obtained from the server and/or the terminal according to each storage path to obtain the first-class files.
Illustratively, still taking the above example as an example, the acquired first-type file information is two file information numbered 1 and 2; respectively acquiring corresponding storage paths from the file information with the numbers of 1 and 2 to obtain two storage paths, namely' E: \ Picture "and" E: v audio "; and then acquiring corresponding files from the terminal according to the two storage paths to obtain a file 1 and a file 2.
Step 302, displaying the first type of file.
Alternatively, the first type of files may be displayed in the form of a menu or virtual folder.
After the first type of files are obtained, the first type of files are directly displayed in a menu or virtual folder mode, and the first type of files are not required to be displayed after the first type of files are copied; therefore, the operation step of copying files is reduced, and the display speed is improved; in addition, when the picture is not copied, the picture storage only occupies the storage space with the same size as the picture, and compared with the situation that the picture is copied to a single file in the prior art, the storage space of the terminal is saved.
In addition, it should be noted that, when a user needs to view a file, the user is more inclined to query the files collected by the user, so that when the terminal needs to display the files, the files collected by the user are displayed, so as to improve the convenience of the user in viewing the files.
In summary, the file display method provided in the embodiment of the present invention adds the file information of the collection identifier to the file information of the global database, and sets the collection identifier information for the collected files; when any application program in the terminal needs the terminal to display the file, the terminal can acquire the corresponding file from the server and/or the terminal according to the set collection identification information no matter whether the file needing to be displayed is the file collected by the application program; any application program in the terminal can display files collected by other application programs, so that the sharing rate of the files is improved; and when the application program in the terminal displays the collected files, the files to be displayed do not need to be copied into the corresponding folders of the application program, so that the operation step of copying the files is reduced, the operation convenience is improved, the files are not copied, the occupation of the storage space of the terminal is reduced, and the utilization rate of the storage space of the terminal is improved.
Example two
The embodiment of the invention provides another file display method, which adds a judging step before the step 301 in the first embodiment, wherein the judging step is used for judging whether a file display condition is carried when an application program sends a file display request to a terminal, and executing different operations according to a judging result. Referring to fig. 4A and 4B, the method includes the steps of:
step 401, when receiving a file display request, determining whether the file display request carries a file display condition.
The file display condition may limit the files to be displayed, such as a certain type of file, a file within a certain size range, and a file of a certain storage path that are required to be displayed. Illustratively, when the file display condition is "picture", it indicates that a file of a picture type is required to be displayed.
Optionally, whether the file display request carries a file display condition may be determined by the following method: the method comprises the steps that when a terminal receives a file display request sent by an application program, all information carried in the file display request is obtained; judging whether each piece of information comprises one or more pieces of file information, and if so, determining to carry file display conditions; if not, determining that the file display condition is not carried. For example, when the file display request carries information such as "picture", "audio", or "video", the file display condition is determined to be carried; when any information related to the file information is not carried in the file display request, it is determined that the file display condition is not carried.
Further, when it is determined that the file display condition is not carried, executing step 402; when it is determined that the file display condition is carried, step 404 is performed.
Step 402, when it is determined that the display condition of the file is not carried, acquiring a first type of file with collection identification information from the files stored in the server and/or the terminal.
For the content of the first type of file with the collection identification information obtained from the server and/or the terminal, refer to the related description in step 301 of the embodiment, which is not described herein again.
Step 403, displaying the first type of file.
For the content of displaying the first type of file, refer to the related description of step 302 in the first embodiment, which is not described herein again.
And step 404, acquiring the file display condition from the file display request when the file display condition is determined to be carried.
As can be seen from step 401, when the file display condition is determined to be carried, and the file display request includes related content such as file information, the terminal acquires the related content of the file information included in the file display request, that is, the file display condition is acquired. For example, the file display condition acquired from the file display request is "picture".
And step 405, acquiring the second type of files meeting the file display conditions from the server and/or the terminal according to the file display conditions.
After the file display condition is obtained, comparing the one or more file information with the file information in the global database because the file display condition is the one or more file information, and obtaining second-class file information which accords with the one or more file information from the file information included in the global database; and then acquiring the files from the server and/or the terminal according to each storage path included in the second type file information to obtain the second type files meeting the file display conditions.
Step 406, a third type file with the collection identification information is obtained from the second type file.
And after the second type of file is acquired, acquiring third type of file information with collection identification information from the second type of file information corresponding to the second type of file, and acquiring the file from the terminal according to each storage path included in the third type of file information to acquire the third type of file.
Of course, the execution sequence of step 405 and step 406 may be reversed, that is, the files with the collection identification information are obtained first, and then the files meeting the file display condition are obtained from the files with the collection identification information.
In addition, when the second-class file information is acquired in step 405, the step of acquiring the second-class file may not be executed, the third-class file information with the collection identification information is directly acquired from the second-class file information, and then the third-class file is acquired according to the third-class file information; so as to reduce the operation steps and improve the operation efficiency.
Step 407, displaying the third type file.
For the method for displaying the third type of file, reference may be made to the related contents of the first type of file displayed in the first embodiment, which is not described herein again.
Optionally, the second type of file may also be displayed while the third type of file is displayed.
Optionally, the third type of file is displayed in the form of a first menu or a first virtual folder; and displaying the second type of files in the form of a second menu or a second virtual folder. Therefore, the files collected by the user and the files not collected by the user can be displayed, so that the user can conveniently check or perform other operations on the displayed files, and the use convenience is improved.
In summary, the file display method provided in the embodiment of the present invention adds the file information of the collection identifier to the file information of the global database, and sets the collection identifier information for the collected files; when any application program in the terminal needs the terminal to display the file, the terminal can acquire the corresponding file from the server and/or the terminal according to the set collection identification information no matter whether the file needing to be displayed is the file collected by the application program; any application program in the terminal can display files collected by other application programs, so that the sharing rate of the files is improved; and when the application program in the terminal displays the collected files, the files to be displayed do not need to be copied into the corresponding folders of the application program, so that the operation step of copying the files is reduced, the operation convenience is improved, the files are not copied, the occupation of the storage space of the terminal is reduced, and the utilization rate of the storage space of the terminal is improved.
EXAMPLE III
The embodiment of the invention provides a file display device 500. Referring to fig. 5A, the apparatus 500 includes: a first obtaining module 501 and a first displaying module 502, wherein:
the first obtaining module 501 is configured to obtain a first type of file with collection identification information from files stored in a server and/or a terminal when an application program needs to display the files on the terminal.
Each file stored by the server and/or the terminal corresponds to file information, the file information at least comprises a collection identifier, and the file information is stored in the global database.
The first display module 502 is configured to display the first type of file.
Optionally, the file information further includes a storage path, and as shown in fig. 5B, the first obtaining module 501 includes:
the first obtaining sub-module 5011 is configured to obtain first type file information with a favorite identifier from file information included in the global database.
The second obtaining sub-module 5012 is configured to obtain the first type of file from the server and/or the terminal according to each storage path included in the first type of file information.
Optionally, the first display module 501 is: the first type of files are displayed in the form of menus or virtual folders.
Optionally, as shown in fig. 5C, the apparatus 500 further includes: the determining module 503 is configured to determine whether the file display request carries a file display condition when the file display request is received.
When determining that the display condition of the carried file is not available, executing the operation of acquiring the first type of file with the collection identification information from the server and/or the terminal; and when the display condition of the carried file is determined, triggering a second acquisition module 504.
Still referring to fig. 5C, the apparatus 500 further comprises: a second obtaining module 504 and a second displaying module 505, wherein:
a second obtaining module 504, configured to obtain a file display condition from the file display request; acquiring a second type of file meeting the file display condition from each file stored in the server and/or the terminal according to the file display condition; and acquiring a third type of file with collection identification information from the second type of file.
And a second display module 505, configured to display the third type file.
For the content of the related devices, reference is made to the related content in the first embodiment and the second embodiment, which is not described herein again.
In summary, the file display device provided in the embodiment of the present invention adds file information, which is a collection identifier, to file information of the global database, and sets collection identifier information for collected files; when any application program in the terminal needs the terminal to display the file, the terminal can acquire the corresponding file from the server and/or the terminal according to the set collection identification information no matter whether the file needing to be displayed is the file collected by the application program; any application program in the terminal can display files collected by other application programs, so that the sharing rate of the files is improved; and when the application program in the terminal displays the collected files, the files to be displayed do not need to be copied into the corresponding folders of the application program, so that the operation step of copying the files is reduced, the operation convenience is improved, the files are not copied, the occupation of the storage space of the terminal is reduced, and the utilization rate of the storage space of the terminal is improved.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method described in the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (8)

1. A document display apparatus, the apparatus comprising:
a first obtaining module, wherein the first obtaining module comprises: a first obtaining submodule and a second obtaining submodule;
the first obtaining submodule is used for obtaining first-class file information with collection identification from file information corresponding to each file included in a global database when an application program needs to display the file by a terminal, and the file information corresponding to each file at least comprises the collection identification information and a storage path;
the second obtaining sub-module is configured to obtain the first-class file from a server and/or a terminal according to the storage path included in the first-class file information, where the global database stores file information of all files in the server and/or the terminal, and when any one file in the server and/or the terminal is modified, the file information in the global database is modified correspondingly;
and the first display module is used for displaying the first type of files.
2. The apparatus of claim 1, wherein the first display module is to: and displaying the first type of files in a menu or virtual folder mode.
3. The apparatus of claim 1, further comprising:
the judging module is used for judging whether the file display request carries a file display condition or not when receiving the file display request; when the file display condition is determined not to be carried, executing to acquire a first type of file with collection identification information from the files stored in the server and/or the terminal; when the file display condition is determined to be carried, triggering a second acquisition module;
the device further comprises:
the second acquisition module is used for acquiring the file display condition from the file display request; acquiring a second type of file meeting the file display condition from each file stored in the server and/or the terminal according to the file display condition; acquiring the third type files with the collection identification information from the second type files;
and the second display module is used for displaying the third type of file.
4. The apparatus of claim 3, wherein the second display module is further configured to: and displaying the second type of file.
5. A method for displaying a document, the method comprising:
when an application program needs a terminal to display files, acquiring first-class file information with collection identifications from file information corresponding to each file included in a global database, wherein the file information corresponding to each file at least comprises the collection identification information and a storage path;
acquiring the first-class files from a server and/or a terminal according to the storage path included in the first-class file information, wherein the global database stores file information of all files in the server and/or the terminal, and when any one file in the server and/or the terminal is modified, the file information in the global database is correspondingly modified;
and displaying the first type of files.
6. The method of claim 5, wherein displaying the first type of file comprises: and displaying the first type of files in a menu or virtual folder mode.
7. The method of claim 5,
before acquiring a first type of file with collection identification information from the files stored in the server and/or the terminal, the method further includes:
when a file display request is received, judging whether the file display request carries a file display condition or not;
when the file display condition is determined not to be carried, executing to acquire a first type of file with collection identification information from the files stored in the server and/or the terminal;
when the display condition of the file is determined to be carried, the method further comprises the following steps:
acquiring the file display condition from the file display request;
acquiring a second type of file meeting the file display condition from each file stored in the server and/or the terminal according to the file display condition;
acquiring the third type files with the collection identification information from the second type files;
and displaying the third type of files.
8. The method of claim 7, further comprising: and displaying the second type of files while displaying the third type of files.
CN201710084678.6A 2017-02-16 2017-02-16 File display method and device Active CN106933978B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710084678.6A CN106933978B (en) 2017-02-16 2017-02-16 File display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710084678.6A CN106933978B (en) 2017-02-16 2017-02-16 File display method and device

Publications (2)

Publication Number Publication Date
CN106933978A CN106933978A (en) 2017-07-07
CN106933978B true CN106933978B (en) 2020-11-13

Family

ID=59423594

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710084678.6A Active CN106933978B (en) 2017-02-16 2017-02-16 File display method and device

Country Status (1)

Country Link
CN (1) CN106933978B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104361004A (en) * 2014-10-11 2015-02-18 北京奇虎科技有限公司 Browser favorite data processing method and browser
CN105357588A (en) * 2015-11-03 2016-02-24 腾讯科技(深圳)有限公司 Data display method and terminal
CN105681373A (en) * 2014-11-18 2016-06-15 阿尔卡特朗讯 Method, apparatus and system for playing display information
CN106055611A (en) * 2016-05-25 2016-10-26 努比亚技术有限公司 Display device for scanning processes, mobile terminal and method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103136348B (en) * 2013-02-22 2018-09-04 小米科技有限责任公司 A kind of document display method and device
CN104885082B (en) * 2013-04-27 2018-04-10 东莞宇龙通信科技有限公司 The hiding guard method of terminal and data message
CN104123316B (en) * 2013-04-28 2018-12-04 腾讯科技(深圳)有限公司 Resource collecting method, device and equipment
JP2016038692A (en) * 2014-08-07 2016-03-22 コニカミノルタ株式会社 Information processing device, browser program, and information processing method
CN106095851A (en) * 2016-06-03 2016-11-09 广东欧珀移动通信有限公司 A kind of catalogue file display packing, device and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104361004A (en) * 2014-10-11 2015-02-18 北京奇虎科技有限公司 Browser favorite data processing method and browser
CN105681373A (en) * 2014-11-18 2016-06-15 阿尔卡特朗讯 Method, apparatus and system for playing display information
CN105357588A (en) * 2015-11-03 2016-02-24 腾讯科技(深圳)有限公司 Data display method and terminal
CN106055611A (en) * 2016-05-25 2016-10-26 努比亚技术有限公司 Display device for scanning processes, mobile terminal and method

Also Published As

Publication number Publication date
CN106933978A (en) 2017-07-07

Similar Documents

Publication Publication Date Title
CN106844029B (en) Self-management Android process freezing and unfreezing device and method
CN106533928B (en) Method and device for updating unread message reminding identification
CN106249989B (en) Method for arranging social application program icons during content sharing and mobile terminal
CN107066290B (en) Method and device for starting application according to associated policy
CN106302651B (en) Social picture sharing method and terminal with social picture sharing system
CN110928708B (en) Icon display method and device, electronic equipment and computer readable storage medium
CN107066604B (en) Junk file cleaning method and terminal
CN106803860B (en) Storage processing method and device for terminal application
CN106598538B (en) Instruction set updating method and system
CN106455009B (en) Network searching device and method
CN106371704B (en) Application shortcut layout method of screen locking interface and terminal
CN106341554B (en) Method and device for quickly searching data content and mobile terminal
CN105791541B (en) Screenshot method and mobile terminal
CN107194243B (en) Mobile terminal and method for installing application program
CN106385494B (en) Method and device for acquiring dynamic home page of mobile terminal application
CN106569670B (en) Device and method for processing application
CN106951350B (en) Method and device for checking mobile terminal disk
CN107027113B (en) SIM card activation method and mobile terminal
CN106559577B (en) Mobile terminal and control method thereof
CN106412877B (en) Activation method and activation device for mobile terminal SIM card
CN105307156B (en) Device and method for requesting downloading of application
CN105094733B (en) Split screen display method and device
CN106896988B (en) Application icon alignment device, terminal and method
CN106325677B (en) Method for presenting multiple application program interfaces and mobile terminal
CN105847575B (en) Device and method for calling recorder

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