CN108196746A - A kind of document presentation method and terminal, storage medium - Google Patents
A kind of document presentation method and terminal, storage medium Download PDFInfo
- Publication number
- CN108196746A CN108196746A CN201711447736.3A CN201711447736A CN108196746A CN 108196746 A CN108196746 A CN 108196746A CN 201711447736 A CN201711447736 A CN 201711447736A CN 108196746 A CN108196746 A CN 108196746A
- Authority
- CN
- China
- Prior art keywords
- file
- target object
- preview
- touch operation
- preview window
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04817—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0483—Interaction with page-structured environments, e.g. book metaphor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04842—Selection of displayed objects or displayed text elements
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a kind of document presentation method and terminal, storage medium, the method includes:When obtaining touch operation, the corresponding target object of the touch operation is determined, the target object is file or folder;Based on the type attribute of the target object, the corresponding the preview window of the target object is generated, wherein, described the preview window includes:Preview pane for showing the content of the target object, the operation box for being operated to the target object;In the predetermined position relative to the target object, the corresponding the preview window of the target object is shown.
Description
Technical field
The present invention relates to human-computer interaction technique field more particularly to a kind of document presentation method and terminal, storage mediums.
Background technology
Various files are stored in terminal, such as:Video file, audio file, picture file, word document,
PPT files, pdf document etc..
At present, when user operates the file stored in terminal, need to first click on opening file, and to file into
Row is checked, it is sometimes necessary to which complete look into reads through file and be just capable of determining whether to operate this document, increases the behaviour of user
Make flow.As it can be seen that user is when being managed file, it is impossible to which whether the quick content for knowing file destination is that user currently needs
The content to be operated.
Invention content
In order to solve the above technical problems, an embodiment of the present invention provides a kind of document presentation method and terminal, storage mediums.
Document presentation method provided in an embodiment of the present invention, including:
When obtaining touch operation, the corresponding target object of the touch operation is determined, the target object is file or text
Part presss from both sides;
Based on the type attribute of the target object, the corresponding the preview window of the target object is generated, wherein, it is described pre-
Window of looking at includes:Preview pane for showing the content of the target object, the behaviour for being operated to the target object
Make frame;
In the predetermined position relative to the target object, the corresponding the preview window of the target object is shown.
In the embodiment of the present invention, it is described acquisition touch operation when, determine the corresponding target object of the touch operation, wrap
It includes:
When obtaining touch operation, the corresponding coordinate parameters of the touch operation are detected;
Based on the corresponding coordinate parameters of the touch operation, the corresponding target object of the touch operation is determined.
In the embodiment of the present invention, when obtaining touch operation, the corresponding pressure parameter of the touch operation is also detected;
The type attribute based on the target object generates the corresponding the preview window of the target object, including:
Judge whether the corresponding pressure parameter of the touch operation is more than or equal to predetermined threshold value;
If the corresponding pressure parameter of the touch operation is more than or equal to predetermined threshold value, generates the target object and correspond to
The preview window.
In the embodiment of the present invention, it is corresponding to generate the target object for the type attribute based on the target object
The preview window, including:
When the target object is file, the file format of the file is determined;
Based on the file format of the file, preview template corresponding with the file format is called, and based on described pre-
Template generation of looking at the preview window corresponding with the file;
Wherein, in the corresponding the preview window of the file, the preview pane is used to show the content that the file includes.
In the embodiment of the present invention, it is corresponding to generate the target object for the type attribute based on the target object
The preview window, including:
When the target object is file, the corresponding preview template of the file is called, and based on the preview mould
Plate generates the preview window corresponding with the file;
Wherein, in the corresponding the preview window of the file, the preview pane is used to show the text that the file includes
Part or sub-folder.
Terminal provided in an embodiment of the present invention, including:
Input unit, for obtaining touch operation;
Memory, for storage file presentation program;
Processor, for performing the document presentation program in the memory to realize following operation:
Determine the corresponding target object of the touch operation, the target object is file or folder;
Based on the type attribute of the target object, the corresponding the preview window of the target object is generated, wherein, it is described pre-
Window of looking at includes:Preview pane for showing the content of the target object, the behaviour for being operated to the target object
Make frame;
Display, in the predetermined position relative to the target object, showing that the target object is corresponding pre-
Look at window.
In the embodiment of the present invention, the input unit is specifically used for:When obtaining touch operation, the touch operation is detected
Corresponding coordinate parameters;
The processor, is specifically used for:Based on the corresponding coordinate parameters of the touch operation, the touch operation pair is determined
The target object answered.
In the embodiment of the present invention, the input unit is specifically used for:When obtaining touch operation, also detect described touch and grasp
Make corresponding pressure parameter;
The processor, is specifically used for:Judge whether the corresponding pressure parameter of the touch operation is more than or equal to default threshold
Value;If the corresponding pressure parameter of the touch operation is more than or equal to predetermined threshold value, it is corresponding pre- to generate the target object
Look at window.
In the embodiment of the present invention, the processor is specifically used for:When the target object is file, the text is determined
The file format of part;Based on the file format of the file, preview template corresponding with the file format is called, and based on institute
State preview template generation the preview window corresponding with the file;Wherein, in the corresponding the preview window of the file, the preview
Frame is used to show the content that the file includes.
In the embodiment of the present invention, the processor is specifically used for:When the target object is file, described in calling
The corresponding preview template of file, and based on preview template generation the preview window corresponding with the file;Wherein, institute
It states in the corresponding the preview window of file, the preview pane is used to show file or sub-folder that the file includes.
Storage medium provided in an embodiment of the present invention is stored with one or more program, one or more of programs
It can be performed by one or more processor, to realize above-mentioned document presentation method.
In the technical solution of the embodiment of the present invention, when obtaining touch operation, the corresponding target pair of the touch operation is determined
As the target object is file or folder;
Based on the type attribute of the target object, the corresponding the preview window of the target object is generated, wherein, it is described pre-
Window of looking at includes:Preview pane for showing the content of the target object, the behaviour for being operated to the target object
Make frame;In the predetermined position relative to the target object, the corresponding the preview window of the target object is shown.Using this hair
When user operates the file stored in terminal, file is opened and to file without clicking for the technical solution of bright embodiment
Checked, by preview pane just can fast browsing to file content, in addition, browsing frame side also showed that operation
Frame greatly facilitates operation of the user to file so that user is more efficient to the management of file.
Description of the drawings
A kind of Fig. 1 optional hardware architecture diagrams of mobile terminal of each embodiment one to realize the present invention;
Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention;
Fig. 3 is the flow diagram one of the document presentation method of the embodiment of the present invention;
Fig. 4 is the flow diagram two of the document presentation method of the embodiment of the present invention;
Fig. 5 is the preview interface schematic diagram one of the embodiment of the present invention;
Fig. 6 is the flow diagram three of the document presentation method of the embodiment of the present invention;
Fig. 7 is the preview interface schematic diagram two of the embodiment of the present invention;
Fig. 8 is the structure composition schematic diagram of the terminal of the embodiment of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, using for representing that the suffix of such as " module ", " component " or " unit " of element is only
Be conducive to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention can include such as mobile phone, tablet
Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
The shiftings such as media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer
The dynamic fixed terminals such as terminal and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special
For moving except purpose element, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware architecture diagram of its mobile terminal of each embodiment to realize the present invention, the shifting
Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit
103rd, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit
108th, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1
Mobile terminal structure does not form the restriction to mobile terminal, and mobile terminal can be included than illustrating more or fewer components,
Either combine certain components or different components arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receive and send messages or communication process in, signal sends and receivees, specifically, by base station
Downlink information receive after, handled to processor 110;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, it penetrates
Frequency unit 101 can also communicate with network and other equipment by radio communication.Above-mentioned wireless communication can use any communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102
Sub- mail, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 1 shows
Go out WiFi module 102, but it is understood that, and must be configured into for mobile terminal is not belonging to, it completely can be according to need
It to be omitted in the range for the essence for not changing invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100
Formula, speech recognition mode, broadcast reception mode when under isotypes, it is that radio frequency unit 101 or WiFi module 102 are received or
The audio data stored in memory 109 is converted into audio signal and exports as sound.Moreover, audio output unit 103
The relevant audio output of specific function performed with mobile terminal 100 can also be provided (for example, call signal receives sound, disappears
Breath receives sound etc.).Audio output unit 103 can include loud speaker, buzzer etc..
A/V input units 104 are used to receive audio or video signal.A/V input units 104 can include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the static images or the image data of video obtained in image capture mode by image capture apparatus (such as camera) carry out
Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited
Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can
To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model.
Microphone 1042 can implement various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition)
The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein, ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear
Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, size and the direction of gravity are can detect that when static, can be used to identify the application of mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, infrared ray sensor, details are not described herein.
Display unit 106 is used to show by information input by user or be supplied to the information of user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used
Display panel 1061 is configured in forms such as (Organic Light-Emitting Diode, OLED).
User input unit 107 can be used for receiving the number inputted or character information and generation and the use of mobile terminal
The key signals input that family is set and function control is related.Specifically, user input unit 107 may include touch panel 1071 with
And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect user on it or neighbouring touch operation
(for example user uses any suitable objects such as finger, stylus or attachment on touch panel 1071 or in touch panel 1071
Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
Contact coordinate is converted into, then gives processor 110, and the order that processor 110 is sent can be received and performed.It in addition, can
To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap
It includes but is not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, operating lever etc.
It is one or more, do not limit herein specifically.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel
1061 be the component independent as two to realize the function that outputs and inputs of mobile terminal, but in certain embodiments, it can
The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically
It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example,
External device (ED) can include wired or wireless head-band earphone port, external power supply (or battery charger) port, wired or nothing
Line data port, memory card port, the port for device of the connection with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with
For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area
And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function
Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part is stored in storage by running or performing the software program being stored in memory 109 and/or module and call
Data in device 109 perform the various functions of mobile terminal and processing data, so as to carry out integral monitoring to mobile terminal.Place
Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated
Device is managed, wherein, the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
For the ease of understanding the embodiment of the present invention, below to the communications network system that is based on of mobile terminal of the present invention into
Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system
The LTE system united as universal mobile communications technology, the LTE system include the UE (User Equipment, the use that communicate connection successively
Family equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS lands
Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation
204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 can include MME (Mobility Management Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and
Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and
The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers
Such as the function of home location register (not shown) etc, and some are preserved in relation to use such as service features, data rates
The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201
Address is distributed and other functions, and PCRF2036 is business data flow and the strategy of IP bearing resources and charging control strategic decision-making
Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And following new network system etc., it does not limit herein.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
Fig. 3 is the flow diagram one of the document presentation method of the embodiment of the present invention, as shown in figure 3, the document presentation
Method includes the following steps:
Step 301:When obtaining touch operation, the corresponding target object of the touch operation is determined, the target object is
File or folder.
The technical solution of the embodiment of the present invention is applied to terminal, and the terminal can be mobile phone, tablet computer, touch pen
Remember this apparatus such as computer.
In the embodiment of the present invention, when user needs to operate some file, need to confirm file content
Or the file that may include this document is confirmed, so as to know that this document is that user wants operation
File.As it can be seen that user has the general contents that demand quickly knows file.
In the embodiment of the present invention, there is touch display screen, user can choose desired by the touch display screen in terminal
Preview and the target object of operation, in this way, terminal just obtains the touch operation of user, and determine that the touch operation is corresponding
Which target object is.
In one embodiment, when obtaining touch operation, the corresponding coordinate parameters of the touch operation are detected;Based on described
The corresponding coordinate parameters of touch operation determine the corresponding target object of the touch operation.
Specifically, when touch display screen obtains touch operation, seat of the touch operation in touch display screen can be detected
Mark parameter, it is assumed that the coordinate parameters detected are (x0, y0), one or more objects are shown in touch display screen, each
Object shows that here, icon occupies certain region on a display screen, will operate by the form of an icon
Figure target area is known as effective operating area.Based on this, judge that (x0, y0) falls into effective operating area of which icon, just
It can determine which the corresponding target object of touch operation is.Such as:Effective operating area of 1 corresponding icon of file is:
Line between (x1, y1) and (x2, y2) is as rectangular area determined by diagonal, then when x0 is less than or equal to x1 and big
In equal to x2, and y0 is less than or equal to y1 and during more than or equal to y2, it may be determined that (x0, y0) falls into 1 corresponding icon of file
Effective operating area.At this moment, the corresponding target object of touch operation is exactly file 1.
In the embodiment of the present invention, target object can be file or file.Either file or file
Folder, can be represented on a display screen by an icon.
In the embodiment of the present invention, the form of file can be any type, such as PPT files, word document, Excel text
All kinds of documents such as part, pdf document, then such as picture, compressed package, speech documents, adobe originals etc..
Step 302:Based on the type attribute of the target object, the corresponding the preview window of the target object is generated,
In, described the preview window includes:For show the content of the target object preview pane, for the target object carry out
The operation box of operation.
In the embodiment of the present invention, when obtaining touch operation, the corresponding pressure parameter of the touch operation is also detected;Judge institute
State whether the corresponding pressure parameter of touch operation is more than or equal to predetermined threshold value;If the corresponding pressure parameter of the touch operation is big
In equal to predetermined threshold value, then the corresponding the preview window of the target object is generated.In this way, it is possible to reduce due to being not intended to touch screen
Curtain and cause maloperation.The touch control operation ability triggering terminal for only meeting certain condition generates the preview window.
In the embodiment of the present invention, it is file or file that the type attribute of target object, which can characterize target object, into
One step, in the case of target object is file, the type attribute of target object also is able to the specific tray of characterization this document
Formula, e.g. PPT files or word document.
In the embodiment of the present invention, the corresponding the preview window of target object includes two regions, and a region is preview pane, separately
One region is operation box.For preview pane, effect is the content for showing the target object.For operation box
Speech, effect are that displaying can be to the control (also referred to as prompt operation item) that the target object is operated, here, control
Number and type are determined according to the type attribute of target object.
In one embodiment, corresponding operation box is provided in the bottom of preview pane (including one or more quick behaviour
Make item), preview pane and operation box are merged to form the preview window, user is allowed to can be realized by a step to file
Preview and operation.
Step 303:In the predetermined position relative to the target object, the corresponding preview window of the target object is shown
Mouthful.
In one embodiment, it can show that the target object corresponds at the adjacent locations of the lower section of target object
The preview window.Certainly, the position of the preview window is not limited to this, can also be illustrated in left or right of target object etc. and appoint
Meaning position.
The technical solution of the embodiment of the present invention, user can pop up when carrying out file management according to the type attribute of file
Corresponding preview window frame and operation box allow user that can complete preview and operation by a step, improve the experience of user, protect
File management efficiency is demonstrate,proved.
Fig. 4 is the flow diagram two of the document presentation method of the embodiment of the present invention, as shown in figure 4, the document presentation
Method includes the following steps:
Step 401:When obtaining touch operation, the corresponding file of the touch operation is determined.
The technical solution of the embodiment of the present invention is applied to terminal, and the terminal can be mobile phone, tablet computer, touch pen
Remember this apparatus such as computer.
In the embodiment of the present invention, when user needs to operate some file, need to confirm file content
Or the file that may include this document is confirmed, so as to know that this document is that user wants operation
File.As it can be seen that user has the general contents that demand quickly knows file.
In the embodiment of the present invention, there is touch display screen, user can choose desired by the touch display screen in terminal
Preview and the target object of operation, in this way, terminal just obtains the touch operation of user, and determine that the touch operation is corresponding
Which target object is.
In one embodiment, when obtaining touch operation, the corresponding coordinate parameters of the touch operation are detected;Based on described
The corresponding coordinate parameters of touch operation determine the corresponding target object of the touch operation.
Specifically, when touch display screen obtains touch operation, seat of the touch operation in touch display screen can be detected
Mark parameter, it is assumed that the coordinate parameters detected are (x0, y0), one or more objects are shown in touch display screen, each
Object shows that here, icon occupies certain region on a display screen, will operate by the form of an icon
Figure target area is known as effective operating area.Based on this, judge that (x0, y0) falls into effective operating area of which icon, just
It can determine which the corresponding target object of touch operation is.Such as:Effective operating area of 1 corresponding icon of file is:
Line between (x1, y1) and (x2, y2) is as rectangular area determined by diagonal, then when x0 is less than or equal to x1 and big
In equal to x2, and y0 is less than or equal to y1 and during more than or equal to y2, it may be determined that (x0, y0) falls into 1 corresponding icon of file
Effective operating area.At this moment, the corresponding target object of touch operation is exactly file 1.
In the embodiment of the present invention, the form of file can be any type, such as PPT files, word document, Excel text
All kinds of documents such as part, pdf document, then such as picture, compressed package, speech documents, adobe originals etc..
Step 402:Determine the file format of the file;Based on the file format of the file, call and the file
The corresponding preview template of form, and based on preview template generation the preview window corresponding with the file, wherein, it is described pre-
Window of looking at includes:Preview pane for showing the content of the file, the operation box for being operated to the file.
In the embodiment of the present invention, when obtaining touch operation, the corresponding pressure parameter of the touch operation is also detected;Judge institute
State whether the corresponding pressure parameter of touch operation is more than or equal to predetermined threshold value;If the corresponding pressure parameter of the touch operation is big
In equal to predetermined threshold value, then the corresponding the preview window of the file is generated.In this way, it is possible to reduce touch screen due to being not intended to and
The maloperation of initiation.The touch control operation ability triggering terminal for only meeting certain condition generates the preview window.
In the embodiment of the present invention, the corresponding the preview window of file includes two regions, and a region is preview pane, another
Region is operation box.For preview pane, effect is the content for showing the file.For operation box, effect
Be displaying can to control that the file is operated (also referred to as prompt operation item), here, the number and type of control according to
It is determined according to the type attribute of file.
In one embodiment, corresponding operation box is provided in the bottom of preview pane (including one or more quick behaviour
Make item), preview pane and operation box are merged to form the preview window, user is allowed to can be realized by a step to file
Preview and operation.
In said program, if the type attribute of file is Doctype, such as PPT documents, then preview pane is aiming at this
The preview pane of PPT documents, as shown in Figure 5;If the type attribute of file is picture/mb-type, preview pane is exactly photograph album window,
The background of photograph album window can become dark;If the type attribute of file is music, sound-type, preview pane will show and broadcast
Put progress bar.As it can be seen that different type attributes, corresponding preview pane is also different.
Step 403:In the predetermined position relative to the file, the corresponding the preview window of the file is shown.
In one embodiment, the corresponding preview window of the file can be shown at the adjacent locations of the lower section of file
Mouthful.Certainly, the position of the preview window is not limited to this, can also be illustrated in any positions such as left or the right of file.
The technical solution of the embodiment of the present invention, user can pop up when carrying out file management according to the type attribute of file
Corresponding preview window frame and operation box allow user that can complete preview and operation by a step, improve the experience of user, protect
File management efficiency is demonstrate,proved.
Fig. 6 is the flow diagram three of the document presentation method of the embodiment of the present invention, as shown in fig. 6, the document presentation
Method includes the following steps:
Step 601:When obtaining touch operation, the corresponding file of the touch operation is determined.
The technical solution of the embodiment of the present invention is applied to terminal, and the terminal can be mobile phone, tablet computer, touch pen
Remember this apparatus such as computer.
In the embodiment of the present invention, when user needs to operate some file, need to confirm file,
So as to know that this document folder is the file that user wants operation.As it can be seen that user has demand quickly to know file
The general contents of folder.
In the embodiment of the present invention, there is touch display screen, user can choose desired by the touch display screen in terminal
Preview and the target object of operation, in this way, terminal just obtains the touch operation of user, and determine that the touch operation is corresponding
Which target object is.
In one embodiment, when obtaining touch operation, the corresponding coordinate parameters of the touch operation are detected;Based on described
The corresponding coordinate parameters of touch operation determine the corresponding target object of the touch operation.
Specifically, when touch display screen obtains touch operation, seat of the touch operation in touch display screen can be detected
Mark parameter, it is assumed that the coordinate parameters detected are (x0, y0), one or more objects are shown in touch display screen, each
Object shows that here, icon occupies certain region on a display screen, will operate by the form of an icon
Figure target area is known as effective operating area.Based on this, judge that (x0, y0) falls into effective operating area of which icon, just
It can determine which the corresponding target object of touch operation is.Such as:Effective operating area of 1 corresponding icon of file is:
Line between (x1, y1) and (x2, y2) is as rectangular area determined by diagonal, then when x0 is less than or equal to x1 and big
In equal to x2, and y0 is less than or equal to y1 and during more than or equal to y2, it may be determined that (x0, y0) falls into 1 corresponding icon of file
Effective operating area.At this moment, the corresponding target object of touch operation is exactly file 1.
In the embodiment of the present invention, file or sub-folder that file includes.
Step 602:The corresponding preview template of the file is called, and based on the preview template generation and the file
Corresponding the preview window is pressed from both sides, wherein, described the preview window includes:For showing the preview pane of the content of the file, being used for
The operation box operated to the file.
In the embodiment of the present invention, when obtaining touch operation, the corresponding pressure parameter of the touch operation is also detected;Judge institute
State whether the corresponding pressure parameter of touch operation is more than or equal to predetermined threshold value;If the corresponding pressure parameter of the touch operation is big
In equal to predetermined threshold value, then the corresponding the preview window of the file is generated.In this way, it is possible to reduce due to being not intended to touch screen
And the maloperation caused.The touch control operation ability triggering terminal for only meeting certain condition generates the preview window.
In the embodiment of the present invention, the corresponding the preview window of file includes two regions, and a region is preview pane, another
A region is operation box.For preview pane, effect is to show content (namely file or the subfile of the file
Folder).For operation box, effect is that displaying (can be also referred to as prompt operation to the control that the file is operated
).
In one embodiment, as shown in fig. 7, be provided in the bottom of preview pane corresponding operation box (including one or
Multiple prompt operation items), preview pane and operation box are merged to form the preview window, user is allowed to pass through a step
Realize the preview and operation to file.
Step 603:In the predetermined position relative to the file, the corresponding the preview window of the file is shown.
In one embodiment, it can show that the file is corresponding pre- at the adjacent locations of the lower section of file
Look at window.Certainly, the position of the preview window is not limited to this, can also be illustrated in the arbitrary position such as left or the right of file
It puts.
The technical solution of the embodiment of the present invention, user, can be according to the type attributes of file when carrying out folder management
Corresponding preview window frame and operation box are popped up, allows user that can complete preview and operation by a step, improves the body of user
It tests, ensure that the efficiency of management of file.
Fig. 8 is the structure composition schematic diagram of the terminal of the embodiment of the present invention, as shown in figure 8, the terminal includes:
Input unit 801, for obtaining touch operation;
Memory 802, for storage file presentation program;
Processor 803, for performing the document presentation program in the memory to realize following operation:
Determine the corresponding target object of the touch operation, the target object is file or folder;
Based on the type attribute of the target object, the corresponding the preview window of the target object is generated, wherein, it is described pre-
Window of looking at includes:Preview pane for showing the content of the target object, the behaviour for being operated to the target object
Make frame;
Display 804, in the predetermined position relative to the target object, showing that the target object is corresponding
The preview window.
In the embodiment of the present invention, the input unit 801 is specifically used for:When obtaining touch operation, detect described touch and grasp
Make corresponding coordinate parameters;
The processor 803, is specifically used for:Based on the corresponding coordinate parameters of the touch operation, determine that described touch is grasped
Make corresponding target object.
In the embodiment of the present invention, the input unit 801 is specifically used for:When obtaining touch operation, the touch is also detected
Operate corresponding pressure parameter;
The processor 803, is specifically used for:It is default to judge whether the corresponding pressure parameter of the touch operation is more than or equal to
Threshold value;If the corresponding pressure parameter of the touch operation is more than or equal to predetermined threshold value, it is corresponding to generate the target object
The preview window.
In the embodiment of the present invention, the processor 803 is specifically used for:When the target object is file, determine described
The file format of file;Based on the file format of the file, preview template corresponding with the file format is called, and be based on
Preview template generation the preview window corresponding with the file;Wherein, it is described pre- in the corresponding the preview window of the file
Frame of looking at is used to show the content that the file includes.
In the embodiment of the present invention, the processor 803 is specifically used for:When the target object is file, institute is called
The corresponding preview template of file is stated, and based on preview template generation the preview window corresponding with the file;Wherein,
In the corresponding the preview window of the file, the preview pane is for showing file or sub-folder that the file includes.
It will be appreciated by those skilled in the art that the function of each synthesizer part can refer in terminal in the embodiment of the present invention
The associated description of aforementioned document methods of exhibiting is understood.
If the above-mentioned terminal of the embodiment of the present invention is realized in the form of software function module and is independent product sale
Or it in use, can also be stored in a computer read/write memory medium.Based on such understanding, the embodiment of the present invention
Technical solution substantially in other words can be embodied the part that the prior art contributes in the form of software product, the meter
Calculation machine software product is stored in a storage medium, is used including some instructions so that a computer equipment (can be
People's computer, server or network equipment etc.) perform all or part of each embodiment the method for the present invention.It is and preceding
The storage medium stated includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read Only Memory), magnetic disc or CD etc.
The various media that can store program code.It is combined in this way, the embodiment of the present invention is not limited to any specific hardware and software.
Correspondingly, the embodiment of the present invention also provides a kind of storage medium, wherein computer program is stored with, the computer journey
Sequence is configured to perform the document presentation method of the embodiment of the present invention.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property includes, so that process, method, article or device including a series of elements not only include those elements, and
And it further includes other elements that are not explicitly listed or further includes intrinsic for this process, method, article or device institute
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this
Also there are other identical elements in the process of element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
The embodiment of the present invention is described above in conjunction with attached drawing, but the invention is not limited in above-mentioned specific
Embodiment, above-mentioned specific embodiment is only schematical rather than restricted, those of ordinary skill in the art
Under the enlightenment of the present invention, present inventive concept and scope of the claimed protection are not being departed from, can also made very much
Form, these are belonged within the protection of the present invention.
Claims (11)
- A kind of 1. document presentation method, which is characterized in that the method includes:When obtaining touch operation, the corresponding target object of the touch operation is determined, the target object is file or folder;Based on the type attribute of the target object, the corresponding the preview window of the target object is generated, wherein, the preview window Mouth includes:Preview pane for showing the content of the target object, the operation box for being operated to the target object;In the predetermined position relative to the target object, the corresponding the preview window of the target object is shown.
- 2. document presentation method according to claim 1, which is characterized in that during the acquisition touch operation, determine described The corresponding target object of touch operation, including:When obtaining touch operation, the corresponding coordinate parameters of the touch operation are detected;Based on the corresponding coordinate parameters of the touch operation, the corresponding target object of the touch operation is determined.
- 3. document presentation method according to claim 2, which is characterized in that when obtaining touch operation, also detect described touch Touch the corresponding pressure parameter of operation;The type attribute based on the target object generates the corresponding the preview window of the target object, including:Judge whether the corresponding pressure parameter of the touch operation is more than or equal to predetermined threshold value;If the corresponding pressure parameter of the touch operation is more than or equal to predetermined threshold value, it is corresponding pre- to generate the target object Look at window.
- 4. document presentation method according to claim 1, which is characterized in that the type category based on the target object Property, the corresponding the preview window of the target object is generated, including:When the target object is file, the file format of the file is determined;Based on the file format of the file, preview template corresponding with the file format is called, and based on the preview mould Plate generates the preview window corresponding with the file;Wherein, in the corresponding the preview window of the file, the preview pane is used to show the content that the file includes.
- 5. document presentation method according to claim 1, which is characterized in that the type category based on the target object Property, the corresponding the preview window of the target object is generated, including:When the target object is file, the corresponding preview template of the file is called, and give birth to based on the preview template Into the preview window corresponding with the file;Wherein, in the corresponding the preview window of the file, the preview pane be used to showing the file that the file includes or Sub-folder.
- 6. a kind of terminal, which is characterized in that the terminal includes:Input unit, for obtaining touch operation;Memory, for storage file presentation program;Processor, for performing the document presentation program in the memory to realize following operation:Determine the corresponding target object of the touch operation, the target object is file or folder;Based on the type attribute of the target object, the corresponding the preview window of the target object is generated, wherein, the preview window Mouth includes:Preview pane for showing the content of the target object, the operation box for being operated to the target object;Display, in the predetermined position relative to the target object, showing the corresponding preview window of the target object Mouthful.
- 7. terminal according to claim 6, which is characterized in thatThe input unit, is specifically used for:When obtaining touch operation, the corresponding coordinate parameters of the touch operation are detected;The processor, is specifically used for:Based on the corresponding coordinate parameters of the touch operation, determine that the touch operation is corresponding Target object.
- 8. terminal according to claim 7, which is characterized in thatThe input unit, is specifically used for:When obtaining touch operation, the corresponding pressure parameter of the touch operation is also detected;The processor, is specifically used for:Judge whether the corresponding pressure parameter of the touch operation is more than or equal to predetermined threshold value;Such as The corresponding pressure parameter of touch operation described in fruit is more than or equal to predetermined threshold value, then generates the corresponding preview window of the target object Mouthful.
- 9. terminal according to claim 6, which is characterized in that the processor is specifically used for:When the target object is During file, the file format of the file is determined;Based on the file format of the file, call corresponding with the file format Preview template, and based on preview template generation the preview window corresponding with the file;Wherein, the file is corresponding pre- It lookes in window, the preview pane is used to show the content that the file includes.
- 10. terminal according to claim 6, which is characterized in that the processor is specifically used for:When the target object During for file, the corresponding preview template of the file is called, and based on the preview template generation and the file pair The preview window answered;Wherein, in the corresponding the preview window of the file, the preview pane is used to show that the file includes File or sub-folder.
- 11. a kind of storage medium, which is characterized in that the storage medium is stored with one or more program, it is one or The multiple programs of person can be performed by one or more processor, to realize method and step described in any one of claim 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711447736.3A CN108196746A (en) | 2017-12-27 | 2017-12-27 | A kind of document presentation method and terminal, storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711447736.3A CN108196746A (en) | 2017-12-27 | 2017-12-27 | A kind of document presentation method and terminal, storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108196746A true CN108196746A (en) | 2018-06-22 |
Family
ID=62584687
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711447736.3A Pending CN108196746A (en) | 2017-12-27 | 2017-12-27 | A kind of document presentation method and terminal, storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108196746A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110781644A (en) * | 2019-11-04 | 2020-02-11 | 北京联想协同科技有限公司 | File preview method, equipment and computer storage medium |
WO2021169168A1 (en) * | 2020-02-28 | 2021-09-02 | 海信视像科技股份有限公司 | Video file preview method and display device |
WO2024077565A1 (en) * | 2022-10-13 | 2024-04-18 | 深圳传音控股股份有限公司 | Desktop file opening method, intelligent terminal and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110035694A1 (en) * | 2009-08-05 | 2011-02-10 | Hon Hai Precision Industry Co., Ltd. | Method for browsing photo files |
CN103210371A (en) * | 2010-09-30 | 2013-07-17 | 苹果公司 | Content preview |
CN103810221A (en) * | 2012-11-15 | 2014-05-21 | 腾讯科技(深圳)有限公司 | File previewing method and device |
CN104915141A (en) * | 2015-05-28 | 2015-09-16 | 努比亚技术有限公司 | Method and device for previewing object information |
CN105068721A (en) * | 2015-08-27 | 2015-11-18 | 广东欧珀移动通信有限公司 | Operation menu display method and terminal |
CN106790459A (en) * | 2016-12-08 | 2017-05-31 | 北京致远互联软件股份有限公司 | A kind of online method for previewing of file and system |
CN106919309A (en) * | 2017-02-15 | 2017-07-04 | 北京小米移动软件有限公司 | The method of controlling operation thereof and device of electronic equipment |
-
2017
- 2017-12-27 CN CN201711447736.3A patent/CN108196746A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110035694A1 (en) * | 2009-08-05 | 2011-02-10 | Hon Hai Precision Industry Co., Ltd. | Method for browsing photo files |
CN103210371A (en) * | 2010-09-30 | 2013-07-17 | 苹果公司 | Content preview |
CN103810221A (en) * | 2012-11-15 | 2014-05-21 | 腾讯科技(深圳)有限公司 | File previewing method and device |
CN104915141A (en) * | 2015-05-28 | 2015-09-16 | 努比亚技术有限公司 | Method and device for previewing object information |
CN105068721A (en) * | 2015-08-27 | 2015-11-18 | 广东欧珀移动通信有限公司 | Operation menu display method and terminal |
CN106790459A (en) * | 2016-12-08 | 2017-05-31 | 北京致远互联软件股份有限公司 | A kind of online method for previewing of file and system |
CN106919309A (en) * | 2017-02-15 | 2017-07-04 | 北京小米移动软件有限公司 | The method of controlling operation thereof and device of electronic equipment |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110781644A (en) * | 2019-11-04 | 2020-02-11 | 北京联想协同科技有限公司 | File preview method, equipment and computer storage medium |
WO2021169168A1 (en) * | 2020-02-28 | 2021-09-02 | 海信视像科技股份有限公司 | Video file preview method and display device |
WO2024077565A1 (en) * | 2022-10-13 | 2024-04-18 | 深圳传音控股股份有限公司 | Desktop file opening method, intelligent terminal and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108196741A (en) | Application split screen method, terminal and computer readable storage medium based on flexible screen | |
CN108093123A (en) | A kind of message informing processing method, terminal and computer readable storage medium | |
CN107562336A (en) | A kind of method, equipment and computer-readable recording medium for controlling suspension ball | |
CN108536481A (en) | A kind of application program launching method, mobile terminal and computer storage media | |
CN107027114A (en) | A kind of SIM card switching method, equipment and computer-readable recording medium | |
CN107145293A (en) | A kind of screenshot method, mobile terminal and storage medium | |
CN108228053A (en) | A kind of information sharing method, intelligent terminal and storage medium | |
CN107566635A (en) | Screen intensity method to set up, mobile terminal and computer-readable recording medium | |
CN107748645A (en) | Reading method, mobile terminal and computer-readable recording medium | |
CN107276913A (en) | Transmission method, terminal and the computer-readable recording medium of batch documents | |
CN107659729A (en) | A kind of previewing file method, apparatus and computer-readable recording medium | |
CN109739602A (en) | A kind of mobile terminal wallpaper setting method and device, mobile terminal and storage medium | |
CN107729115A (en) | A kind of display methods, equipment and computer-readable storage medium | |
CN108182028A (en) | A kind of control method, terminal and computer readable storage medium | |
CN108241752A (en) | Photo display methods, mobile terminal and computer readable storage medium | |
CN108172161A (en) | Display methods, mobile terminal and computer readable storage medium based on flexible screen | |
CN108111986A (en) | A kind of conversion method of notification message, terminal and computer readable storage medium | |
CN108762631A (en) | A kind of method for controlling mobile terminal, mobile terminal and computer readable storage medium | |
CN108829444A (en) | A kind of method that background application is automatically closed, terminal and computer storage medium | |
CN107506039A (en) | Mobile terminal, data transmission method and computer-readable storage medium | |
CN108055491A (en) | A kind of record screen method and terminal | |
CN107621915A (en) | A kind of message prompt method, equipment and computer-readable storage medium | |
CN110180181A (en) | Screenshot method, device and the computer readable storage medium of Wonderful time video | |
CN108572777A (en) | A kind of terminal object method for sorting, terminal and computer readable storage medium | |
CN108196746A (en) | A kind of document presentation method and terminal, storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180622 |