CN106933978A - A kind of document display method and device - Google Patents
A kind of document display method and device Download PDFInfo
- Publication number
- CN106933978A CN106933978A CN201710084678.6A CN201710084678A CN106933978A CN 106933978 A CN106933978 A CN 106933978A CN 201710084678 A CN201710084678 A CN 201710084678A CN 106933978 A CN106933978 A CN 106933978A
- Authority
- CN
- China
- Prior art keywords
- file
- terminal
- display
- class
- collection
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/13—File access structures, e.g. distributed indices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
- G06F16/168—Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs
Abstract
The invention discloses a kind of document display apparatus, described device includes:First acquisition module, when needing terminal to show file for application program, the first class file for having collection identification information is obtained from each file of server and/or the terminal storage, the corresponding file information storage of each file is in the terminal, the fileinfo at least includes the collection identification information, and the file information storage is in global data base;First display module, for showing first class file.The invention also discloses a kind of document display method.
Description
Technical field
The present invention relates to data processing technique, more particularly to a kind of document display method and device.
Background technology
With the development of science and technology, the function of terminal and application program is more and more.Such as one terminal can install multiple
Application program, and user, during using each application program, the file that can be liked user is stowed in terminal, with side
Just reuse, such as show the file of collection again.
The display of collection file is realized by two methods at present:
The first:When each application program collects file, each application program file that will be each collected is saved in respectively
In oneself corresponding file, and to collect file do collection mark;So, when application program needs to show collection again
During file, direct access and shown from each application program corresponding file.
Second:A global profile folder is created in terminal, the file that each application program is collected is copied to the overall situation
In file;So, when each application program needs to show again the file of collection, obtain and show from global profile folder.
During stating technical scheme in realization, inventor has found prior art, and at least there are the following problems:For
A kind of method, each application program is only able to display the file of itself collection, and can not show the file of other application program collection, leads
The file of collection is caused to be shared;And for second method, terminal needs for each file copy collected to arrive another
File, namely one file of identical will take the memory space of twice, cause the waste of terminal resource, and need to perform
Copy, it is cumbersome.
The content of the invention
In view of this, it is a primary object of the present invention to propose a kind of document display method and device, collection is solved
Problem cumbersome during file can not be shared or be shown to file;Improve sharing files rate and the convenience to file operation
Property.
To reach above-mentioned purpose, the technical proposal of the invention is realized in this way:
A kind of document display apparatus are the embodiment of the invention provides, described device includes:
First acquisition module, when needing terminal to show file for application program, from server and/or the terminal storage
Each file in obtain the first class file for having collection identification information, the corresponding file information storage of each file is in the end
In end, the fileinfo at least includes the collection identification information, and the file information storage is in global data base;
First display module, for showing first class file.
Optionally, the fileinfo also include store path, first acquisition module, including:
First acquisition submodule, has what collection was identified for being obtained from each fileinfo that the global data base includes
First kind fileinfo;
Second acquisition submodule, for each store path included according to the first kind fileinfo, from the service
Device and/or the terminal obtain first class file.
Optionally, first display module is:The first kind text is shown by the form of menu or virtual folder
Part.
Optionally, device also includes:
Judge module, for receiving during file display request, judges whether the file display request carries file and show
Show condition;It is determined that during without carrying the file display conditions, performing described from server and/or each text of the terminal storage
The first class file for having collection identification information is obtained in part;It is determined that when carrying the file display conditions, triggering second obtains mould
Block;
Described device also includes:
Second acquisition module, for obtaining the file display conditions from file display request;According to the text
Part display condition obtains the Equations of The Second Kind text for meeting the file display conditions from each file of server and/or terminal storage
Part;There is the 3rd class file of collection identification information described in being obtained from second class file;
Second display module, for showing the 3rd class file.
Optionally, second display module is additionally operable to:Show second class file.
The embodiment of the present invention provides a kind of document display method again, and methods described includes:
When application program needs terminal to show file, being obtained from each file of server and/or the terminal storage has
Collect the first class file of identification information, the corresponding file information storage of each file in the terminal, the file letter
Breath at least includes the collection identification information, and the file information storage is in global data base;
Show first class file.
Optionally, the fileinfo also includes store path, described from server and/or each text of the terminal storage
The first class file for having collection identification information is obtained in part, including:
The first kind fileinfo for having collection to identify is obtained from each fileinfo that the global data base includes;
According to each store path that the first kind fileinfo includes, obtained from the server and/or the terminal
First class file.
Optionally, display first class file, including:Show described by the form of menu or virtual folder
First class file.
Optionally, there is collection identification information in described acquisition from each file of server and/or the terminal storage
Before first class file, methods described also includes:
When receiving file display request, judge whether the file display request carries file display conditions;
It is determined that during without carrying the file display conditions, perform described from each of server and/or the terminal storage
The first class file for having collection identification information is obtained in file;
It is determined that when carrying the file display conditions, methods described also includes:
The file display conditions are obtained from file display request;
Obtained from each file of server and/or terminal storage according to the file display conditions and meet the file and show
Show the second class file of condition;
There is the 3rd class file of collection identification information described in being obtained from second class file;
Show the 3rd class file.
Optionally, methods described also includes:While showing three class file, second class file is shown.
Document display method provided in an embodiment of the present invention and device, are that the fileinfo increase of global data base is provided with
Collection identifies this fileinfo, and for the file of collection is provided with collection identification information;So that when any one in terminal should
With program need terminal show file when, no matter need display file whether be application program oneself collection file, terminal
Corresponding file can be obtained from server and/or terminal according to the collection identification information for setting;And then cause in terminal
Any one application program can show the file of other application program collection, so that improves file shares rate;And eventually
Application program is in the file of display collection in end, and the file of display need not will be needed to copy to application program oneself correspondence
File in, not only reduce duplication file this operating procedure, improve the convenience of operation, and do not replicate file, also
The occupancy of terminal storage space is reduced, the utilization rate of terminal storage space is improved.
Brief description of the drawings
Fig. 1 is a kind of hardware architecture diagram of mobile terminal provided in an embodiment of the present invention;
Fig. 2 is the communication system architecture schematic diagram that mobile terminal provided in an embodiment of the present invention can be operated;
Fig. 3 is a kind of document display method schematic diagram provided in an embodiment of the present invention;
Fig. 4 A are another document display method schematic diagram provided in an embodiment of the present invention;
Fig. 4 B are another document display method schematic diagram provided in an embodiment of the present invention;
Fig. 5 A are a kind of document display apparatus schematic diagram provided in an embodiment of the present invention;
Fig. 5 B are a kind of schematic device of file for showing collection identification information provided in an embodiment of the present invention;
For the present invention, embodiment provides another document display apparatus schematic diagram to Fig. 5 C again.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described.
The mobile terminal of realization each embodiment of the invention is described referring now to accompanying drawing 1.In follow-up description, make
With the suffix of such as " module ", " part " or " unit " for representing element only for being conducive to explanation of the invention, its
Body does not have specific meaning.Therefore, " module " can be used mixedly with " part ".
Mobile terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as moving
It is phone, smart phone, notebook computer, digit broadcasting receiver, personal digital assistant (PDA), panel computer (PAD), portable
The mobile terminal of formula multimedia player (PMP), guider etc. and the such as fixation of numeral TV, desktop computer etc.
Terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that, except being used in particular for moving mesh
Element outside, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is that the hardware configuration of the mobile terminal for realizing each embodiment of the invention is illustrated.
Mobile terminal 1 00 can include wireless communication unit 110, audio/video (A/V) input block 120, user input
Unit 130, sensing unit 140, output unit 150, memory 160, interface unit 170, controller 180 and power subsystem 190
Etc..Fig. 1 shows the mobile terminal with various assemblies, it should be understood that being not required for implementing all groups for showing
Part, can alternatively implement more or less component, and the element of mobile terminal will be discussed in more detail below.
Wireless communication unit 110 generally includes one or more assemblies, and it allows mobile terminal 1 00 and wireless communication system
Or the radio communication between network.For example, wireless communication unit can include broadcasting reception module 111, mobile communication module
112nd, at least one of wireless Internet module 113, short range communication module 114 and location information module 115.
Broadcasting reception module 111 receives broadcast singal and/or broadcast via broadcast channel from external broadcast management server
Relevant information.Broadcast channel can include satellite channel and/or terrestrial channel.Broadcast management server can be generated and sent
The broadcast singal and/or broadcast related information generated before the server or reception of broadcast singal and/or broadcast related information
And send it to the server of terminal.Broadcast singal can include TV broadcast singals, radio signals, data broadcasting
Signal etc..And, broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast phase
Pass information can also be provided via mobile communications network, and in this case, broadcast related information can be by mobile communication mould
Block 112 is received.Broadcast singal can exist in a variety of manners, for example, it can be with the electronics of DMB (DMB)
The form of program guide (EPG), the electronic service guidebooks (ESG) of digital video broadcast-handheld (DVB-H) etc. and exist.Broadcast
Receiver module 111 can receive signal and broadcast by using various types of broadcast systems.Especially, broadcasting reception module 111
Can be wide by using such as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), digital video
Broadcast-hand-held (DVB-H), Radio Data System, the received terrestrial digital broadcasting integrated service of forward link media (MediaFLO@)
Etc. (ISDB-T) digit broadcasting system receives digital broadcasting.Broadcasting reception module 111 may be constructed such that and be adapted to provide for extensively
Broadcast the various broadcast systems and above-mentioned digit broadcasting system of signal.Via broadcasting reception module 111 receive broadcast singal and/
Or broadcast related information can be stored in memory 160 (or other types of storage medium).
Mobile communication module 112 sends radio signals to base station (for example, access point, node B etc.), exterior terminal
And at least one of server and/or receive from it radio signal.Such radio signal can be logical including voice
Words signal, video calling signal or the various types of data for sending and/or receiving according to text and/or Multimedia Message.
Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.The module can be internally or externally
It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by the module can include WLAN (WLAN) (Wi-Fi), Wibro
(WiMAX), Wimax (worldwide interoperability for microwave accesses), HSDPA (high-speed downlink packet access) etc..
Short range communication module 114 is the module for supporting junction service.Some examples of short-range communication technology include indigo plant
ToothTM, radio frequency identification (RFID), Infrared Data Association (IrDA), ultra wide band (UWB), purple honeybeeTMEtc..
Location information module 115 is the module for checking or obtaining the positional information of mobile terminal.Location information module
115 typical case is GPS (global positioning system).According to current technology, calculated as the location information module 115 of GPS
Range information and correct time information from three or more satellites and the Information application triangulation for calculating,
So as to calculate according to longitude, latitude and highly accurately three-dimensional current location information.Currently, for calculating position and temporal information
Method the error of the position and temporal information for calculating is corrected using three satellites and by using an other satellite.
Additionally, can be believed come calculating speed by Continuous plus current location information in real time as the location information module 115 of GPS
Breath.
A/V input blocks 120 are used to receive audio or video signal.A/V input blocks 120 can include the He of camera 121
Microphone 122, the static images that 121 pairs, camera is obtained in Video Capture pattern or image capture mode by image capture apparatus
Or the view data of video is processed.Picture frame after treatment may be displayed on display unit 151.Processed through camera 121
Picture frame afterwards can be stored in memory 160 (or other storage mediums) or sent out via wireless communication unit 110
Send, two or more cameras 121 can be provided according to the construction of mobile terminal.Microphone 122 can be in telephone calling model, note
Sound (voice data) is received via microphone 122 in record pattern, speech recognition mode etc. operational mode, and can be by this
The acoustic processing of sample is voice data.Audio (voice) data after treatment can be converted in the case of telephone calling model
The form that mobile communication base station can be sent to via mobile communication module 112 is exported.Microphone 122 can be implemented various types of
Noise eliminate (or suppress) algorithm eliminating (or suppression) in the noise for receiving and producing during sending audio signal or
Interference.
User input unit 130 can generate key input data to control each of mobile terminal according to the order of user input
Plant operation.User input unit 130 allows the various types of information of user input, and can include keyboard, metal dome, touch
Plate (for example, detection due to being touched caused by resistance, pressure, electric capacity etc. change sensitive component), roller, rocking bar etc.
Deng.Especially, when touch pad is superimposed upon on display unit 151 in the form of layer, touch-screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 1 00, (for example, mobile terminal 1 00 opens or closes shape
State), the presence or absence of the contact (that is, touch input) of the position of mobile terminal 1 00, user for mobile terminal 1 00, mobile terminal
The acceleration or deceleration movement of 100 orientation, mobile terminal 1 00 and direction etc., and generate for controlling mobile terminal 1 00
The order of operation or signal.For example, when mobile terminal 1 00 is embodied as sliding-type mobile phone, sensing unit 140 can be sensed
The sliding-type phone is opened or closed.In addition, sensing unit 140 can detect power subsystem 190 whether provide electric power or
Whether person's interface unit 170 couples with external device (ED).Sensing unit 140 can will be combined below including proximity transducer 141
Touch-screen is described to this.
Interface unit 170 is connected the interface that can pass through with mobile terminal 1 00 as at least one external device (ED).For example,
External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing
Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Identification module can be that storage uses each of mobile terminal 1 00 for verifying user
Kind of information and subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) can be included
Etc..In addition, the device (hereinafter referred to as " identifying device ") with identification module can take the form of smart card, therefore, know
Other device can be connected via port or other attachment means with mobile terminal 1 00.Interface unit 170 can be used for reception and come from
The input (for example, data message, electric power etc.) of the external device (ED) and input that will be received is transferred in mobile terminal 1 00
One or more elements can be used for transmitting data between mobile terminal and external device (ED).
In addition, when mobile terminal 1 00 is connected with external base, interface unit 170 can serve as allowing by it by electricity
Power provides to the path of mobile terminal 1 00 from base or can serve as allowing the various command signals being input into from base to pass through it
It is transferred to the path of mobile terminal.Be can serve as recognizing that mobile terminal is from the various command signals or electric power of base input
The no signal being accurately fitted within base.Output unit 150 is configured to provide defeated with vision, audio and/or tactile manner
Go out signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.).Output unit 150 can include display
Unit 151, dio Output Modules 152, alarm unit 153 etc..
Display unit 151 may be displayed on the information processed in mobile terminal 1 00.For example, when mobile terminal 1 00 is in electricity
During words call mode, display unit 151 can show and converse or other communicate (for example, text messaging, multimedia file
Download etc.) related user interface (UI) or graphic user interface (GUI).When mobile terminal 1 00 is in video calling pattern
Or during image capture mode, display unit 151 can show the image of capture and/or the image of reception, show video or figure
UI or GUI of picture and correlation function etc..
Meanwhile, when display unit 151 and touch pad in the form of layer it is superposed on one another to form touch-screen when, display unit
151 can serve as input unit and output device.Display unit 151 can include liquid crystal display (LCD), thin film transistor (TFT)
In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least
It is a kind of.Some in these displays may be constructed such that transparence to allow user to be watched from outside, and this is properly termed as transparent
Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific
Desired implementation method, mobile terminal 1 00 can include two or more display units (or other display devices), for example, moving
Dynamic terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch-screen can be used to detect touch
Input pressure and touch input position and touch input area.
Dio Output Modules 152 can mobile terminal be in call signal reception pattern, call mode, logging mode,
It is that wireless communication unit 110 is received or in memory 160 when under the isotypes such as speech recognition mode, broadcast reception mode
The voice data transducing audio signal of middle storage and it is output as sound.And, dio Output Modules 152 can be provided and movement
The audio output (for example, call signal receives sound, message sink sound etc.) of the specific function correlation that terminal 100 is performed.
Dio Output Modules 152 can include loudspeaker, buzzer etc..
Alarm unit 153 can provide output and be notified to mobile terminal 1 00 with by event.Typical event can be with
Including calling reception, message sink, key signals input, touch input etc..In addition to audio or video is exported, alarm unit
153 can in a different manner provide output with the generation of notification event.For example, alarm unit 153 can be in the form of vibrating
Output is provided, when calling, message or some other entrance communication (Incoming Communication) are received, alarm list
Unit 153 can provide tactile output (for example, vibration) to notify to user.Exported by providing such tactile, even if
When the mobile phone of user is in the pocket of user, user also can recognize that the generation of various events.Alarm unit 153
The output of the generation of notification event can also be provided via display unit 151 or dio Output Modules 152.
Memory 160 can store software program for the treatment and control operation performed by controller 180 etc., Huo Zheke
Temporarily to store the data that exported or will export (for example, telephone directory, message, still image, video etc.).And
And, memory 160 can store the vibration of various modes on being exported when touching and being applied to touch-screen and audio signal
Data.
Memory 160 can include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, many
Media card, card-type memory (for example, SD or DX memories etc.), random access storage device (RAM), static random-access storage
Device (SRAM), read-only storage (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory
(PROM), magnetic storage, disk, CD etc..And, mobile terminal 1 00 can perform memory with by network connection
The network storage device cooperation of 160 store function.
The overall operation of the generally control mobile terminal of controller 180.For example, controller 180 is performed and voice call, data
Communication, video calling etc. related control and treatment.In addition, controller 180 can be included for reproducing (or playback) many matchmakers
The multi-media module 181 of volume data, multi-media module 181 can be constructed in controller 180, or can be structured as and control
Device 180 is separated.Controller 180 can be with execution pattern identifying processing, the handwriting input that will be performed on the touchscreen or picture
Draw input and be identified as character or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides operation each unit
Appropriate electric power needed for part and component.
Various implementation methods described herein can be with use such as computer software, hardware or its any combination of calculating
Machine computer-readable recording medium is implemented.Implement for hardware, implementation method described herein can be by using application-specific IC
(ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can
Programming gate array (FPGA), processor, controller, microcontroller, microprocessor, it is designed to perform function described herein
At least one in electronic unit is implemented, and in some cases, such implementation method can be implemented in controller 180.
For software implementation, the implementation method of such as process or function can with allow to perform the single of at least one function or operation
Software module is implemented.Software code can be come by the software application (or program) write with any appropriate programming language
Implement, software code can be stored in memory 160 and performed by controller 180.
So far, mobile terminal is described according to its function.Below, for the sake of brevity, will description such as folded form,
Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc. is used as showing
Example.Therefore, the present invention can be applied to any kind of mobile terminal, and be not limited to slide type mobile terminal.
Mobile terminal 1 00 as shown in Figure 1 may be constructed such that using via frame or packet transmission data it is all if any
Line and wireless communication system and satellite-based communication system are operated.
The communication system that mobile terminal wherein of the invention can be operated is described referring now to Fig. 2.
Such communication system can use different air interface and/or physical layer.For example, used by communication system
Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications system
System (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc..As non-limiting example, under
The description in face is related to cdma communication system, but such teaching is equally applicable to other types of system.
With reference to Fig. 2, cdma wireless communication system can include multiple mobile terminal 1s 00, multiple base station (BS) 270, base station
Controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to and Public Switched Telephony Network (PSTN)
290 form interface.MSC280 is also structured to form interface with the BSC275 that can be couple to base station 270 via back haul link.
Back haul link can in some known interfaces any one construct, the interface includes such as E1/T1, ATM, IP,
PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that system can include multiple BSC275 as shown in Figure 2.
Each BS270 can service one or more subregions (or region), by multidirectional antenna or the day of sensing specific direction
Each subregion of line covering is radially away from BS270.Or, each subregion can be by two or more for diversity reception
Antenna is covered.Each BS270 may be constructed such that the multiple frequency distribution of support, and the distribution of each frequency has specific frequency spectrum
(for example, 1.25MHz, 5MHz etc.).
What subregion and frequency were distributed intersects can be referred to as CDMA Channel.BS270 can also be referred to as base station transceiver
System (BTS) or other equivalent terms.In this case, term " base station " can be used for broadly representing single
BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Or, each subregion of specific BS270 can be claimed
It is multiple cellular stations.
As shown in Figure 2, broadcast singal is sent to broadcsting transmitter (BT) 295 mobile terminal operated in system
100.Broadcasting reception module 111 as shown in Figure 1 is arranged at mobile terminal 1 00 to receive the broadcast sent by BT295
Signal.In fig. 2 it is shown that several global positioning system (GPS) satellites 300.Satellite 300 helps position multiple mobile terminals
At least one of 100.
In fig. 2, multiple satellites 300 are depicted, it is understood that be, it is possible to use any number of satellite obtains useful
Location information.It is generally configured to coordinate to obtain with satellite 300 as the location information module 115 of GPS as shown in Figure 1
The location information that must be wanted.Substitute GPS tracking techniques or outside GPS tracking techniques, it is possible to use can track mobile whole
Other technologies of the position at end.In addition, at least one gps satellite 300 can optionally or additionally process satellite dmb biography
It is defeated.
Used as a typical operation of wireless communication system, BS270 receives the reverse link from various mobile terminal 1s 00
Signal.Mobile terminal 1 00 generally participates in call, information receiving and transmitting and other types of communication.Each of the reception of certain base station 270 is anti-
Processed in specific BS270 to link signal.The data of acquisition are forwarded to the BSC275 of correlation.BSC provides call
Resource allocation and the mobile management function of the coordination including the soft switching process between BS270.The number that BSC275 will also be received
According to MSC280 is routed to, it provides the extra route service for forming interface with PSTN290.Similarly, PSTN290 with
MSC280 forms interface, and MSC and BSC275 form interface, and BSC275 correspondingly controls BS270 with by forward link signals
It is sent to mobile terminal 1 00.
Based on above-mentioned mobile terminal hardware configuration and communication system, the inventive method each embodiment is proposed.
Embodiment one
The embodiment of the present invention provides a kind of document display method, and shown in reference picture 3, the method is comprised the following steps:
Step 301, when application program needs terminal to show file, obtains from each file of server and/or terminal storage
Take the first class file of collection identification information.
Application program needs terminal to show that the situation of file can be:User using during application program, it is necessary to
During the file checked in (or other application targets) server and/or terminal, it is necessary to which terminal shows corresponding file.
Further, user can click on the file display button of application program, and file display request is sent to terminal;Eventually
When termination receives file display request, the first class file for having collection identification information is obtained from server and/or terminal.
Exemplary, when first user needs for a pictures to be sent to second user, first user can click on oneself
The picture display button of the social networking application program for using, now, picture display request is sent to terminal by social networking application program, eventually
After termination receives picture display request, acquisition has the picture of collection identification information and shows from server and/or terminal;Picture
After shown, user can just check the picture of display, and select the picture for needing to send, and then perform and send operation, will select
The picture selected is sent to second user.
Optionally, it is necessary to the file of display can be clear for audio file, video file, photo, file or application program
Network address for the webpage look at etc..
In addition, each file of server and/or terminal storage is respectively to that should have fileinfo, fileinfo can include text
The information such as the title of part, type, size, date created, modification date or collection mark.Further, file information storage exists
In global data base.
It should be noted that global data base stores the fileinfo of All Files in server and/or terminal, and
When any one file in server and/or terminal is modified, the fileinfo in correspondence modification global data base.
Further, collection identification information can include that collection is identified, and collection mark can be 1 or 0.When collection is designated
When 1, expression is provided with collection identification information, i.e. user and has collected corresponding file;When collection is designated 0, expression does not set
Put collection identification information, i.e. user and do not collect corresponding file.
Further, when user wants certain file of concern or user likes file, by this document storage to server
And/or in terminal, to realize the collection to this document.Exemplary, user is using a process for social networking application program, hair
When one pictures of existing social networking application program display may need to reuse, it is possible to which the collection clicked in application program is pressed
Key, server and/or terminal are stowed to by the picture, to reuse.
In addition, it is necessary to explanation, when user collects file, can be stored in text corresponding with application program by file
In part folder, and for the file of collection sets collection identification information;And the fileinfo of the file of collection is saved in the overall situation simultaneously
In database, while also for the file of collection sets collection identification information and configures other fileinfos in global data base,
Therefore, in global data base not storage file in itself, the simply fileinfo of storage file.
In addition, also, it should be noted that user can also be the stored text of terminal by the function of some in terminal
Part sets collection identification information, is used again with convenience file.
Optionally, the first kind text for having collection identification information can be obtained from server and/or terminal as follows
Part:
The first step, the first class file that being obtained from each fileinfo that global data base includes has collection identification information is believed
Breath.
When display file is needed, each fileinfo that terminal inquiry global data base includes, from each fileinfo
Acquisition includes collecting the first kind fileinfo of identification information.
Exemplary, global data base as shown in Table 1, when display file is needed, is wrapped in terminal inquiry global data base
Four fileinfos for including, obtain the mark of the collection in four fileinfos and (are designated as the first collection mark, the second collection mark successively
Know, the 3rd collection mark and the 4th collects mark), respectively 1,1,0 and 0;Because 1 indicates collection identification information, 0 represents do not have
There is collection identification information, so in judging four collection marks, the first collection mark and the second collection are identified with collection mark letter
Breath;(numbering is 1 and 2 text to the fileinfo where fileinfo and the second collection mark where determining the first collection mark
Part information) it is the first kind fileinfo to be obtained.
Fileinfo is numbered | File name | Type | Size | Store path | Collection mark |
1 | File 1 | JPEG | 8M | E:Picture | 1 |
2 | File 2 | Mp3 | 9M | E:Audio | 1 |
3 | File 3 | Mp4 | 50M | E:Video | 0 |
4 | File 4 | JPEG | 9M | E:Picture | 0 |
Table one
Second step, according to each store path that first kind fileinfo includes, the first kind is obtained from server and/or terminal
File.
After getting first kind fileinfo, each store path in first kind fileinfo is obtained, deposited according to each
Storage path, obtains corresponding file from server and/or terminal, obtains the first class file.
Exemplary, still by taking above-mentioned example as an example, then the first kind fileinfo for getting is two that numbering is 1 and 2
Fileinfo;Corresponding store path is obtained respectively from the fileinfo that numbering is 1 and 2, two store paths are obtained, respectively
It is " E:Picture " and " E:Audio ";Then corresponding file is obtained from terminal according to the two store paths, obtains file 1
With file 2.
Step 302, shows the first class file.
Optionally, the first class file can be shown by the form of menu or virtual folder.
After getting the first class file, the first class file is directly shown by the form of menu or virtual folder, and simultaneously
The first class file need not be just shown after the first class file is replicated;Therefore this operating procedure of reduction duplication file, improves
Display speed;In addition, when not copying picture, picture storage only taken up with picture size identical memory space, compared to it is existing
Have picture reproduction a to situation for single file in technology, save terminal storage space.
In addition, it is necessary to illustrate, user is more likely to inquire about the text of oneself collection when needing to check file, typically
Part, so terminal is when display file is needed, the file of display user oneself collection, to improve the convenience that user checks file
Property.
In sum, document display method provided in an embodiment of the present invention, is that the fileinfo increase of global data base sets
Put collection and identify this fileinfo, and for the file of collection is provided with collection identification information;So that when any one in terminal
Individual application program need terminal show file when, no matter need display file whether be application program oneself collection file,
Terminal can obtain corresponding file from server and/or terminal according to the collection identification information for setting;And then cause eventually
Any one application program can show the file of other application program collection in end, so that improves file shares rate;And
And in terminal application program display collection file when, and need not will need display file copy to application program oneself
In corresponding file, duplication file this operating procedure is not only reduced, improve the convenience of operation, and do not replicate text
Part, also reduces the occupancy of terminal storage space, improves the utilization rate of terminal storage space.
Embodiment two
The embodiment of the invention provides another document display method, the method 301 the step of embodiment one before increase
Plus judge step, when judging step for judging that application program sends file display request to terminal, if carry file and show
Show condition, and different operations are performed according to judged result.Shown in reference picture 4A and Fig. 4 B, the method is comprised the following steps:
Step 401, when receiving file display request, judges whether file display request carries file display conditions.
Wherein, file display conditions can be limited the file for needing display, such as, it is desirable to certain type of display
File, the file in certain magnitude range, the file of certain store path.Exemplary, when file display conditions are " figure
Piece ", represents the file for requiring display picture/mb-type.
Optionally, can by the following method judge whether carry file display conditions in file display request:Terminal
When receiving the file display request of application program transmission, each information carried in file display request is obtained;Judge each information
In whether include one or more fileinfos, if including it is determined that carrying file display conditions;If do not included, it is determined that
Without carrying file display conditions.Such as, information such as " pictures ", " audio " or " video " is carried in file display is asked
When, it is determined that carrying file display conditions;When there is no to carry any relevant with fileinfo information in file display request,
It is determined that without carrying file display conditions.
Further, when it is determined that not carrying file display conditions, step 402 is performed;When it is determined that carrying file
During display condition, step 404 is performed.
Step 402, it is determined that without carry file display conditions when, obtained from each file of server and/or terminal storage
Take the first class file of collection identification information.
Content about obtaining the first class file for having collection identification information from server and/or terminal, referring to embodiment
Associated description in one step 301, will not be described here.
Step 403, shows the first class file.
About showing that the content of the first class file, referring to the associated description of step 302 in embodiment one, will not be described here.
Step 404, it is determined that when carrying file display conditions, file display conditions are obtained from file display request.
From step 401, it is determined that when carrying file display conditions, the phases such as fileinfo are included in file display request
Hold inside the Pass, then terminal obtains the related content of the fileinfo that file display request includes, namely has got file show bar
Part.Such as, the file display conditions for being got from file display request are " picture ".
Step 405, the Equations of The Second Kind for meeting file display conditions is obtained according to file display conditions from server and/or terminal
File.
After getting file display conditions, due to file display conditions be one or more fileinfos, so by this one
Individual or multiple fileinfos are contrasted with the fileinfo in global data base, from the fileinfo for including of global data base
It is middle to obtain the Equations of The Second Kind fileinfo for meeting one or more fileinfos;Then included according to Equations of The Second Kind fileinfo
Each store path, file is obtained from server and/or terminal, obtains meeting the second class file of file display conditions.
Step 406, obtains the 3rd class file for having collection identification information from the second class file.
After getting the second class file, there is collection to identify according to being obtained in the corresponding Equations of The Second Kind fileinfo of the second class file
3rd class file information of information, and each store path included according to the 3rd class file information, file is obtained from terminal, is obtained
To the 3rd class file.
The execution sequence of certain step 405 and step 406 can have the file for collecting identification information with conversely, first obtaining,
The file for meeting file display conditions is obtained from having the file of collection identification information again.
In addition, it is necessary to explanation, by being got in step 405 during Equations of The Second Kind fileinfo, it is also possible to do not perform and obtain
The step of taking the second class file, directly obtains the 3rd class file information for having collection identification information from Equations of The Second Kind fileinfo,
Then according to the class file of the 3rd class file acquisition of information the 3rd;To reduce operating procedure, operating efficiency is improved.
Step 407, shows the 3rd class file.
Method about showing the 3rd class file, may refer to show in embodiment one related content of the first class file,
Will not be described here.
Optionally, while three class files is shown, it is also possible to show the second class file.
Optionally, the 3rd class file is shown by the form of the first menu or the first virtual folder;By the second menu
Or second the form of virtual folder show the second class file.So can just user collection file and non-user collection
File shows that the file to facilitate user to check or to showing carries out other operations, the convenience that raising is used.
In sum, document display method provided in an embodiment of the present invention, is that the fileinfo increase of global data base sets
Put collection and identify this fileinfo, and for the file of collection is provided with collection identification information;So that when any one in terminal
Individual application program need terminal show file when, no matter need display file whether be application program oneself collection file,
Terminal can obtain corresponding file from server and/or terminal according to the collection identification information for setting;And then cause eventually
Any one application program can show the file of other application program collection in end, so that improves file shares rate;And
And in terminal application program display collection file when, and need not will need display file copy to application program oneself
In corresponding file, duplication file this operating procedure is not only reduced, improve the convenience of operation, and do not replicate text
Part, also reduces the occupancy of terminal storage space, improves the utilization rate of terminal storage space.
Embodiment three
The embodiment of the present invention provides a kind of document display apparatus 500.Shown in reference picture 5A, device 500 includes:First obtains
The display module 502 of module 501 and first, wherein:
First acquisition module 501, when needing terminal to show file for application program, from server and/or terminal storage
Each file in obtain have collection identification information the first class file.
Respectively to that should have fileinfo, fileinfo at least includes collection to each file of server and/or terminal storage
Mark, file information storage is in global data base.
First display module 502, for showing the first class file.
Optionally, fileinfo also includes store path, and shown in reference picture 5B, the first acquisition module 501 includes:
First acquisition submodule 5011, has what collection was identified for being obtained from each fileinfo that global data base includes
First kind fileinfo.
Second acquisition submodule 5012, for each store path included according to first kind fileinfo, from server and/
Or terminal obtains the first class file.
Optionally, the first display module 501 is:First class file is shown by the form of menu or virtual folder.
Optionally, shown in reference picture 5C, device 500 also includes:Judge module 503, for receiving file display request
When, judge whether file display request carries file display conditions.
It is determined that during without carrying file display conditions, performing to be obtained from server and/or terminal has collection identification information
The operation of the first class file;It is determined that when carrying file display conditions, triggering the second acquisition module 504.
Referring now still to shown in Fig. 5 C, device 500 also includes:Second acquisition module 504 and the second display module 505, wherein:
Second acquisition module 504, for obtaining file display conditions from file display request;According to file display conditions
The second class file for meeting file display conditions is obtained from each file of server and/or terminal storage;From the second class file
Middle acquisition has the 3rd class file of collection identification information.
Second display module 505, for showing the 3rd class file.
About device content referring to the related content in embodiment one and embodiment two, will not be described here.
In sum, document display apparatus provided in an embodiment of the present invention, are that the fileinfo increase of global data base sets
Put collection and identify this fileinfo, and for the file of collection is provided with collection identification information;So that when any one in terminal
Individual application program need terminal show file when, no matter need display file whether be application program oneself collection file,
Terminal can obtain corresponding file from server and/or terminal according to the collection identification information for setting;And then cause eventually
Any one application program can show the file of other application program collection in end, so that improves file shares rate;And
And in terminal application program display collection file when, and need not will need display file copy to application program oneself
In corresponding file, duplication file this operating procedure is not only reduced, improve the convenience of operation, and do not replicate text
Part, also reduces the occupancy of terminal storage space, improves the utilization rate of terminal storage space.
It should be noted that herein, term " including ", "comprising" or its any other variant be intended to non-row
His property is included, so that process, method, article or device including a series of key elements not only include those key elements, and
And also include other key elements being not expressly set out, or also include for this process, method, article or device institute are intrinsic
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Also there is other identical element in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably implementation method.Based on such understanding, technical scheme is substantially done to prior art in other words
The part for going out contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are used to so that a station terminal equipment (can be mobile phone, computer, clothes
Business device, air-conditioner, or network equipment etc.) perform method described by each embodiment of the invention.
The preferred embodiments of the present invention are these are only, the scope of the claims of the invention is not thereby limited, it is every to utilize this hair
Equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of document display apparatus, it is characterised in that described device includes:
First acquisition module, when needing terminal to show file for application program, from each of server and/or the terminal storage
Obtain the first class file for having collection identification information in file, the corresponding file information storage of each file is in the terminal
Interior, the fileinfo at least includes the collection identification information, and the file information storage is in global data base;
First display module, for showing first class file.
2. device according to claim 1, it is characterised in that the fileinfo also includes store path, described first
Acquisition module, including:
First acquisition submodule, for obtaining there is collection to identify first from each fileinfo that the global data base includes
Class file information;
Second acquisition submodule, for each store path included according to the first kind fileinfo, from the server and/
Or the terminal obtains first class file.
3. device according to claim 1 and 2, it is characterised in that first display module is:By menu or virtual
The form of file shows first class file.
4. device according to claim 1, it is characterised in that device also includes:
Judge module, for receiving during file display request, judges whether the file display request carries file show bar
Part;It is determined that during without carrying the file display conditions, performing described from each file of server and/or the terminal storage
Acquisition has the first class file of collection identification information;It is determined that when carrying the file display conditions, triggering the second acquisition module;
Described device also includes:
Second acquisition module, for obtaining the file display conditions from file display request;It is aobvious according to the file
Show that condition obtains the second class file for meeting the file display conditions from each file of server and/or terminal storage;From
There is the 3rd class file of collection identification information described in being obtained in second class file;
Second display module, for showing the 3rd class file.
5. device according to claim 4, it is characterised in that second display module is additionally operable to:Show described second
Class file.
6. a kind of document display method, it is characterised in that methods described includes:
When application program needs terminal to show file, being obtained from each file of server and/or the terminal storage has collection
First class file of identification information, in the terminal, the fileinfo is extremely for the corresponding file information storage of each file
Include the collection identification information less, the file information storage is in global data base;
Show first class file.
7. method according to claim 6, it is characterised in that the fileinfo also includes store path, described from clothes
The first class file for having collection identification information is obtained in each file of business device and/or the terminal storage, including:
The first kind fileinfo for having collection to identify is obtained from each fileinfo that the global data base includes;
According to each store path that the first kind fileinfo includes, obtain described from the server and/or the terminal
First class file.
8. the method according to claim 6 or 7, it is characterised in that display first class file, including:Pass through
The form of menu or virtual folder shows first class file.
9. method according to claim 6, it is characterised in that
It is described from each file of server and/or the terminal storage obtain have collection identification information the first class file it
Before, methods described also includes:
When receiving file display request, judge whether the file display request carries file display conditions;
It is determined that during without carrying the file display conditions, performing described from server and/or each file of the terminal storage
Middle acquisition has the first class file of collection identification information;
It is determined that when carrying the file display conditions, methods described also includes:
The file display conditions are obtained from file display request;
Obtained from each file of server and/or terminal storage according to the file display conditions and meet the file show bar
Second class file of part;
There is the 3rd class file of collection identification information described in being obtained from second class file;
Show the 3rd class file.
10. method according to claim 9, it is characterised in that methods described also includes:Show the 3rd class file
Meanwhile, show second class file.
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 true CN106933978A (en) | 2017-07-07 |
CN106933978B 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 (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103136348A (en) * | 2013-02-22 | 2013-06-05 | 北京小米科技有限责任公司 | File display method and device |
CN104123316A (en) * | 2013-04-28 | 2014-10-29 | 腾讯科技(深圳)有限公司 | Resource collection method, device and facility |
CN104361004A (en) * | 2014-10-11 | 2015-02-18 | 北京奇虎科技有限公司 | Browser favorite data processing method and browser |
US20160042004A1 (en) * | 2014-08-07 | 2016-02-11 | Konica Minolta, Inc. | Information processing device, non-transitory computer readable recording medium and information processing method |
CN105357588A (en) * | 2015-11-03 | 2016-02-24 | 腾讯科技(深圳)有限公司 | Data display method and terminal |
US20160110561A1 (en) * | 2013-04-27 | 2016-04-21 | Yulong Computer Telecommunication Scientific (Shenzhen) Co., Ltd. | Terminal and method for hiding and protecting data information |
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 |
CN106095851A (en) * | 2016-06-03 | 2016-11-09 | 广东欧珀移动通信有限公司 | A kind of catalogue file display packing, device and mobile terminal |
-
2017
- 2017-02-16 CN CN201710084678.6A patent/CN106933978B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103136348A (en) * | 2013-02-22 | 2013-06-05 | 北京小米科技有限责任公司 | File display method and device |
US20160110561A1 (en) * | 2013-04-27 | 2016-04-21 | Yulong Computer Telecommunication Scientific (Shenzhen) Co., Ltd. | Terminal and method for hiding and protecting data information |
CN104123316A (en) * | 2013-04-28 | 2014-10-29 | 腾讯科技(深圳)有限公司 | Resource collection method, device and facility |
US20160042004A1 (en) * | 2014-08-07 | 2016-02-11 | Konica Minolta, Inc. | Information processing device, non-transitory computer readable recording medium and information processing method |
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 |
CN106095851A (en) * | 2016-06-03 | 2016-11-09 | 广东欧珀移动通信有限公司 | A kind of catalogue file display packing, device and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN106933978B (en) | 2020-11-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104808944B (en) | Touch operation inducing method and device | |
CN104883430B (en) | A kind of mobile terminal and do not read the treating method and apparatus of footmark | |
CN104731512B (en) | The method, apparatus and terminal that picture is shared | |
CN106911806A (en) | A kind of method of PUSH message, terminal, server and system | |
CN106406996A (en) | Management method and device of background application program | |
CN106155694A (en) | A kind of application and the display packing and device applied of attending to anything else | |
CN106506778A (en) | A kind of dialing mechanism and method | |
CN105739873A (en) | Screen capturing method and terminal | |
CN106909681A (en) | A kind of information processing method and its device | |
CN107066604A (en) | A kind of cleaning garbage files method and terminal | |
CN106383707A (en) | Picture display method and system | |
CN105183830B (en) | picture browsing method and device | |
CN106991014A (en) | A kind of method, device and mobile terminal for handling user's incoming event | |
CN104731484B (en) | The method and device that picture is checked | |
CN106485163A (en) | Control method and control device that mobile terminal data storehouse accesses | |
CN106777251A (en) | A kind of file management method and device | |
CN106569670A (en) | Application processing apparatus and method | |
CN106792644A (en) | Mobile terminal, server and information processing method | |
CN107071161A (en) | The aggregation display method and mobile terminal of icon in a kind of status bar | |
CN106534498A (en) | Control device and method of application folder and mobile terminal | |
CN106131318A (en) | A kind of incoming information hidden method and device | |
CN106775887A (en) | The discharging method and device of a kind of application program | |
CN106535196A (en) | Routing equipment, terminal and method for controlling WiFi access | |
CN106843734A (en) | The multi-functional treating method and apparatus of one species pressure sensitivity button | |
CN106789167A (en) | A kind of data processing method and server |
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 |