CN105094607B - A kind of method and terminal of browse mode switching - Google Patents

A kind of method and terminal of browse mode switching Download PDF

Info

Publication number
CN105094607B
CN105094607B CN201510416166.6A CN201510416166A CN105094607B CN 105094607 B CN105094607 B CN 105094607B CN 201510416166 A CN201510416166 A CN 201510416166A CN 105094607 B CN105094607 B CN 105094607B
Authority
CN
China
Prior art keywords
file
slide
catalogue
display interface
directory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510416166.6A
Other languages
Chinese (zh)
Other versions
CN105094607A (en
Inventor
易鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Meizu Technology Co Ltd
Original Assignee
Meizu Technology China Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Meizu Technology China Co Ltd filed Critical Meizu Technology China Co Ltd
Priority to CN201510416166.6A priority Critical patent/CN105094607B/en
Publication of CN105094607A publication Critical patent/CN105094607A/en
Application granted granted Critical
Publication of CN105094607B publication Critical patent/CN105094607B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the present invention provides a kind of method and terminal of browse mode switching, and wherein method includes the following steps:The slide to the first file in current display interface is received, the slide is used to switching to first file into the second file not in the current display interface;Judge whether the speed of the slide reaches predetermined threshold value according to the slide;When the result judged is is, first file and second file are shown in the current display interface.The embodiment of the present invention can easily realize the switching to browse mode, save user operation time.

Description

A kind of method and terminal of browse mode switching
Technical field
The present invention relates to terminal display technology fields, and in particular to a kind of method and terminal of browse mode switching.
Background technology
With the fast-developing of intelligent terminal and gradually universal, intelligent terminal has become people and lives indispensable one Part.With the memory capacity constantly convenience of expansion and intelligent terminal of intelligent terminal, people have been accustomed to various files It is stored in terminal, for example, document, photo etc..For intelligent terminal by taking mobile phone as an example, current most of mobile phones are all by file pipe File in reason device managing mobile phone is frequently encountered such scene during checking file using mobile phone:User enters When some file in file manager checks some file in this document folder, mobile phone shows this article with full frame browse mode Part, if user wants to check that the alternative document in this document folder, user are needed first to exit the file currently browsed, can just be checked Alternative document in this document folder, by taking photo as an example, under the master catalogue of photos folder, if user is by photo according to one Fixed rule has been put into multiple and different photograph albums, for example photo is stored in corresponding photograph album by user sequentially in time, When user browses certain photo in some photograph album, at this time the photo be shown in interface with full frame browse mode, if with Family is wanted to browse other photos in the photograph album, then user, which needs to click, returns to exit full frame browse mode, later with contracting Sketch map browse mode shows the photo for selecting other to need to check in the interface of the photo of the photograph album.It can be seen that at present at end Check that the operating process of the file in file is very complicated in end.
Invention content
The embodiment of the present invention provides a kind of method and terminal of browse mode switching, can easily realize to browse mode Switching, save user operation time.
First aspect of the embodiment of the present invention provides a kind of browse mode switching method, it may include:
The slide to the first file in current display interface is received, the slide is used for first text Part switches to the second file not in the current display interface;
Judge whether the speed of the slide reaches predetermined threshold value according to the slide;
When the result judged is is, first file and second text are shown in the current display interface Part.
Second aspect of the embodiment of the present invention provides a kind of terminal, it may include:
Receiving unit, for receiving the slide to the first file in current display interface, the slide is used In first file to be switched to the second file not in the current display interface;
Judging unit, for judging whether the speed of the slide reaches predetermined threshold value according to the slide;
Display unit, for when the result judged is is, first file to be shown in the current display interface With second file.
In embodiments of the present invention, by receiving the slide to the first file in current display interface, and judge Whether the speed of slide reaches predetermined threshold value, and when the result judged is is, the first text is shown in current display interface Part and the second file easily realize the switching to browse mode, save user operation time.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with Obtain other attached drawings according to these attached drawings.
Fig. 1 is a kind of flow diagram of the method for browse mode switching provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of the method for another browse mode switching provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of the method for another browse mode provided in an embodiment of the present invention switching;
Fig. 4 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram for the judging unit that embodiment illustrated in fig. 4 provides;
Fig. 6 is the structural schematic diagram for the display unit that embodiment illustrated in fig. 4 provides;
Fig. 7 is the structural schematic diagram of another terminal provided in an embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
The embodiment of the present invention provides a kind of method and terminal of browse mode switching, can be applied to check in file The scene of file, for example, terminal receives the slide to the first file in current display interface, the slide is used for First file is switched into the second file not in the current display interface, the terminal is according to the slide Judge whether the speed of the slide reaches predetermined threshold value, when the result judged is is, the terminal is described current The scene of first file and second file is shown in display interface.The embodiment of the present invention can also be applied to reading Browse mode in software switches over, for example, in reading electronic book, user can only obtain in current interface in the prior art This page of content can be rapidly switched to show and this page with thumbnail browse mode from this page using user of the embodiment of the present invention The interface of the content of adjacent page.The embodiment of the present invention can easily realize the switching to browse mode, when saving user's operation Between, and promote user experience.
Terminal in the embodiment of the present invention can include but is not limited to mobile phone, PAD (tablet computer), intelligence and wearable set Standby, desktop computer, laptop etc. have the electronic equipment of display screen.
The method switched to browse mode provided in an embodiment of the present invention below in conjunction with attached drawing 1- attached drawings 3 is situated between in detail It continues.
Fig. 1 is referred to, for a kind of flow diagram of the method for browse mode switching provided in an embodiment of the present invention, the party Method may include step S101- steps S103.
S101 receives the slide to the first file in current display interface, and the slide is used for will be described First file switches to the second file not in the current display interface.
Specifically, when content of the user shown by the display interface to terminal carries out quick sliding, it is to be appreciated that These contents are not that user is required, therefore the content shown by user's quick sliding display interface.The terminal receives To the slide of the first file in current display interface, the slide does not exist for switching to first file The second file in the current display interface, the slide include to the left slide, to the right slide, slide up At least one of dynamic operation, slide downward operation, it can also be curve that the track of the slide, which can be straight line,.Its In, first file and second file can include but is not limited to the files such as picture, e-book, word document, table. The current display interface illustrates only first file at this time, i.e., described first file is shown in institute with full frame browse mode In the interface for stating terminal, the visual effect of large-size screen monitors is provided to the user, user can clearly check first file, and described Second file does not show that second file is according to system default sequence and first text then in the current display interface The connected file of part.If first file belongs to identical file catalogue with second file, and first file is to be somebody's turn to do When the last one file in identical file catalogue, in the prior art, user will be unable to the left slide handover to next file, this In inventive embodiments, user slides first file that can be switched in the identical file catalogue to the left, i.e., described second text Part.
File is by taking picture as an example, and for terminal by taking mobile phone as an example, user checks some photograph album on mobile phone with full frame browse mode In certain pictures A, user to being slided to the left on the display interface residing for picture A at this time, and mobile phone is then according to user's Slide executes the operation that picture A is switched to next picture B being connected with picture A, if what user slided to the left Speed is slow, then user can see that the display area of picture A gradually decreases, and the display area of picture B gradually increases Process;If the speed ratio that user slides to the left is very fast, user visually feels display interface in a flash just from figure Piece A becomes picture B.
S102 judges whether the speed of the slide reaches predetermined threshold value according to the slide.
Specifically, since the terminal does not know user to first file in the current display interface Solution degree only executes corresponding action according to the touch control operation of user simply, and the terminal in the embodiment of the present invention can be with Judge whether user wants to obtain the display content in the current display interface according to the speed of the slide, if institute The speed for stating slide is slower, it is to be appreciated that display content of the user in slowly browsing the current display interface; If the excessive velocities of the slide, it is to be appreciated that user less wants to browse in the display in the current display interface Display content in appearance or the browsed current display interface, therefore the terminal is receiving the slide When judge whether the speed of the slide reaches predetermined threshold value.Wherein, the predetermined threshold value is for weighing the sliding behaviour Whether the speed of work is too fast, judges whether to browse mode switching, and the predetermined threshold value can be the velocity amplitude of system default, It can also be the velocity amplitude of user setting, be determined on a case-by-case basis.
It should be noted that the slide may make first file have switched to second file, also may be used Either where the energy slide does not make first file switch to second file, but rests on some position, Kind situation, the speed of the slide can all obtain, and pass through the sliding distance and sliding time of the slide To obtain the speed of the slide.
S103 shows first file and described when the result judged is is in the current display interface Two files.
Specifically, when the result judged is is, i.e., the speed of the described slide reaches the predetermined threshold value, Ke Yili Solution is that user less wants to browse first file or browsed first file, therefore the terminal will move out The full frame browse mode, switches to thumbnail browse mode, shown in the current display interface first file and Second file, it is to be appreciated that by under the full frame browse mode first file and second file press Compare diminution according to preset diminution to be shown in the current display interface, i.e., the browse mode of the described current display interface is institute Thumbnail browse mode is stated, the preset diminution ratio is determined on a case-by-case basis.
It should be noted that the current display interface under the thumbnail browse mode may show incessantly it is described First file and second file, it is also possible to the other files of display.If first file and second file belong to Identical file catalogue, then other files are that first file and second file are removed under the identical file catalogue Except file.If first file and second file are not belonging to identical file catalogue, the others file is Text in first file and the affiliated file directory of the second file in addition to first file and second file Part.The display area of file under the thumbnail browse mode and the quantity of file can be shown according to the display of the terminal Depending on interface size and the default diminution ratio.
In embodiments of the present invention, by receiving the slide to the first file in current display interface, and judge Whether the speed of slide reaches predetermined threshold value, and when the result judged is is, the first text is shown in current display interface Part and the second file easily realize the switching to browse mode, save user operation time.
Fig. 2 is referred to, it, should for the flow diagram of the method for another browse mode switching provided in an embodiment of the present invention Method may include step S201- steps S209.
S201 receives the slide to the first file in current display interface, and the slide is used for will be described First file switches to the second file not in the current display interface.
Specifically, when content of the user shown by the display interface to terminal carries out quick sliding, it is to be appreciated that These contents are not that user is required, therefore the content shown by user's quick sliding display interface.The terminal receives To the slide of the first file in current display interface, the slide does not exist for switching to first file The second file in the current display interface, the slide include to the left slide, to the right slide, slide up At least one of dynamic operation, slide downward operation, it can also be curve that the track of the slide, which can be straight line,.Its In, first file and second file can include but is not limited to the files such as picture, e-book, word document, table. The current display interface illustrates only first file at this time, i.e., described first file is shown in institute with full frame browse mode In the interface for stating terminal, the visual effect of large-size screen monitors is provided to the user, user can clearly check first file, and described Second file does not show that second file is according to system default sequence and first text then in the current display interface The connected file of part.If first file belongs to identical file catalogue with second file, and first file is to be somebody's turn to do When the last one file in identical file catalogue, in the prior art, user will be unable to the left slide handover to next file, this In inventive embodiments, user slides first file that can be switched in the identical file catalogue to the left, i.e., described second text Part.
File is by taking picture as an example, and for terminal by taking mobile phone as an example, user checks some photograph album on mobile phone with full frame browse mode In certain pictures A, user to being slided to the left on the display interface residing for picture A at this time, and mobile phone is then according to user's Slide executes the operation that picture A is switched to next picture B being connected with picture A, if what user slided to the left Speed is slow, then user can see that the display area of picture A gradually decreases, and the display area of picture B gradually increases Process;If the speed ratio that user slides to the left is very fast, user visually feels display interface in a flash just from figure Piece A becomes picture B.
S202 obtains the sliding distance and sliding time of the slide.
Specifically, when the terminal receives the slide, when determining starting point and the starting of the slide Between, at the end of the slide, determine terminal and the end time of the slide, and determine the slide Air line distance between Origin And Destination, using the air line distance as the sliding distance of the slide, by the end Difference between time and the initial time is as the sliding time.Although the track of the slide may be song Line, but the air line distance between the starting point and the terminal is only calculated when calculating the sliding distance, do not consider to slide Track.The terminal obtains the sliding distance and sliding time of the slide at the end of slide.
S203 obtains the speed of the slide according to the sliding distance and the sliding time.
Specifically, the terminal obtains the speed of the slide according to the sliding distance and the sliding time. The terminal calculates the speed of the slide using the sliding distance divided by the sliding time.
S204, judges whether the speed of the slide reaches predetermined threshold value.
Specifically, the terminal judges whether the speed of the slide got reaches predetermined threshold value, it is described pre- If whether the speed that threshold value is used to weigh the slide is too fast, browse mode switching, the default threshold are judged whether to Value can be the velocity amplitude of system default, can also be the velocity amplitude of user setting, be determined on a case-by-case basis.
S205 obtains the file directory belonging to first file and second file when the result judged is is.
Specifically, when the result that execution step S204 judges is is, i.e., the speed of the described slide reaches default threshold Value, it is to be appreciated that user less wants to browse first file or browsed first file, therefore described Terminal will move out the full frame browse mode, switch to thumbnail browse mode, before the terminal switches over, the end End need to obtain the file directory belonging to first file and second file.In the prior art, first file and institute It is two files belonged under identical file catalogue to state the second file, and is last in file directory when working as first file When one file user can not slide handover to next file, but first file in the embodiment of the present invention and described Second file may belong to identical file catalogue, it is also possible to belong to different file directorys, when first file is affiliated file The last one file and when first file belongs to different file directorys from second file in catalogue, the terminal can be with First file is switched to first file in next file directory according to the slide of user, it is next at this time First file in file directory is second file;When first file is the last one in affiliated file directory When file and first file belong to identical file catalogue with second file, the terminal can be according to the sliding of user First file is switched to first file in the affiliated file directory of the first file by operation, at this time first text First file in the affiliated file directory of part is second file.Both the above situation, when saving the operation of user Between, make user that need not return in the switching that can realize in identical file catalogue different files or different file directorys not identical text The switching of part.
Whether S206 judges first file and second file under identical file catalogue.
Specifically, since first file and second file may belong to identical file catalogue, it is also possible to belong to Different file directorys, therefore whether the terminal need to judge first file and the second file under identical file catalogue.
S207 shows first file, described second when the result judged is is in the current display interface At least one of file and the identical file catalogue file.
Specifically, when the result that execution step S206 judges is is, i.e., described first file and the second file are same Under file directory, belong to the different files in identical file catalogue, and the speed of the slide reaches the default threshold Value, therefore the terminal exits the full frame browse mode, switches to thumbnail browse mode, in the current display interface Show first file and at least one of second file and the identical file catalogue file, wherein described At least one of identical file catalogue file does not include first file and second file.It can be understood that will be At least one in first file and second file and the identical file catalogue under the full frame browse mode A file compares diminution according to preset diminution and is shown in the current display interface, i.e., the browsing of the described current display interface Pattern is the thumbnail browse mode, and the preset diminution ratio is determined on a case-by-case basis, in the current display interface The quantity of documents that can be shown is depending on the size of the display interface of the terminal.
S208 judges the file directory belonging to first file and second file when the result judged is no Whether it is preset similar catalogue.
Specifically, when the execution step S206 results judged are no, i.e., described first file and second file exist Under different file directorys, belong to the different files in different file directorys, thus the terminal need to judge first file and Whether the file directory belonging to second file is preset similar catalogue, and the preset similar catalogue is same class The file directory of type, same rank belongs to file directory B for example, the first file is A, and the second file is C, belongs to file directory D, file directory B and D are picture file catalogue, and file directory B and file directory D is file directory arranged side by side;Or text Part catalogue B and D are subfile catalogue arranged side by side under some file directory.Optionally, the mobile terminal is literary by described first The file directory belonging to file directory and second file belonging to part merges, so that when first file is affiliated When the last one file in file directory, allow hand over to first file in next file directory, i.e., described second text Part.
S209 shows first file, second file and first text in the current display interface At least one of file directory where part and second file file.
Specifically, when the result that execution step S208 judges is is, i.e., described first file and the second file institute The file directory of category is the preset similar catalogue, and the speed of the slide reaches the default threshold at this time Value, therefore the terminal exits the full frame browse mode, switches to thumbnail browse mode, in the current display interface It shows in the file directory where first file and second file and first file and second file At least one file, wherein at least one of file directory where first file and second file file Do not include first file and second file.It can be understood that by described first under the full frame browse mode At least one of file directory where file and second file and first file and second file is literary Part compares diminution according to preset diminution and is shown in the current display interface, i.e., the browse mode of the described current display interface For the thumbnail browse mode, the preset diminution ratio is determined on a case-by-case basis, can be shown in the current display interface The quantity of documents shown is depending on the size of the display interface of the terminal.
Optionally, it is described preset similar with the file directory belonging to second file due to first file Catalogue, therefore the mobile terminal can be by the file directory belonging to first file and the file belonging to second file Catalogue merges, so that when first file is the last one file in affiliated file directory, allows hand under First file in one file directory, i.e., described second file.
In embodiments of the present invention, by receiving the slide to the first file in current display interface, and judge Whether the speed of slide reaches predetermined threshold value, and when the result judged is is, the first text is shown in current display interface Part and the second file easily realize the switching to browse mode, save user operation time, promote user experience.
Fig. 3 is referred to, it, should for the flow diagram of the method for another browse mode provided in an embodiment of the present invention switching Method may include step S301- steps S312.
S301 receives the slide to the first file in current display interface, and the slide is used for will be described First file switches to the second file not in the current display interface.
S302 obtains the sliding distance and sliding time of the slide.
S303 obtains the speed of the slide according to the sliding distance and the sliding time.
S304, judges whether the speed of the slide reaches predetermined threshold value.
S305 obtains the file directory described in first file and second file when the result judged is is.
Whether S306 judges first file and second file under identical file catalogue.
S307 shows first file, described second when the result judged is is in the current display interface At least one of file and the identical file catalogue file.
S308 judges the file directory belonging to first file and second file when the result judged is no Whether it is preset similar catalogue.
S309 shows first file, second file and first text in the current display interface At least one of file directory where part and second file file.
The specific implementation of step S301- steps S309 in the embodiment of the present invention can be found in embodiment illustrated in fig. 2 Step S201- step S209, details are not described herein.
S310 receives the clicking operation to the current display interface.
Specifically, the current display interface in the terminal shows first text with the thumbnail browse mode After part and second file and other at least one files, the terminal can receive user to the current display interface Clicking operation, i.e. user wants amplification and browses some file in the current display interface.
S311 obtains the file corresponding to the clicking operation, and the file corresponding to the clicking operation is determined as File to be shown.
Specifically, the terminal obtains the file corresponding to the clicking operation according to the clicking operation, and will be described File corresponding to clicking operation is determined as file to be shown.File is by taking picture as an example, and terminal is by taking mobile phone as an example, it is assumed that mobile phone circle Face shows the thumbnail of 12 pictures, and the picture corresponding to clicking operation of the user on mobile phone is first figure in the upper right corner When piece, using first pictures in the upper right corner as picture to be shown.
S312 shows the file to be shown in the current display interface.
Specifically, the terminal shows the file to be shown in the current display interface, i.e. at this time described is worked as Described this file of file to be shown, no alternative document are illustrated only in preceding display interface.File by taking picture as an example, terminal with For mobile phone, it is assumed that mobile phone interface shows the thumbnail of 12 pictures, the figure corresponding to clicking operation of the user on mobile phone When piece is first pictures in the upper right corner, using first pictures in the upper right corner as picture to be shown, and by the first of the upper right corner Pictures are shown in the full frame browse mode in mobile phone interface, and first pictures in the upper right corner will occupy mobile phone interface at this time Most of area.
In embodiments of the present invention, by receiving the slide to the first file in current display interface, and judge Whether the speed of slide reaches predetermined threshold value, and when the result judged is is, the first text is shown in current display interface Part and the second file easily realize the switching to browse mode, save user operation time, promote user experience.
It describes in detail to terminal provided in an embodiment of the present invention below in conjunction with attached drawing 4- attached drawings 7.It needs to illustrate It is the attached terminals shown in Fig. 7 of attached drawing 4-, the method for executing Fig. 1-embodiment illustrated in fig. 3 of the present invention, for convenience of description, It illustrates only and is not disclosed with the relevant part of the embodiment of the present invention, particular technique details, please referred to shown in Fig. 1-Fig. 3 of the present invention Embodiment.
Fig. 4 is referred to, is a kind of structural schematic diagram of terminal provided by the invention, which may include:It receives Unit 101, judging unit 102 and display unit 103.
Receiving unit 101, for receiving the slide to the first file in current display interface, the slide For first file to be switched to the second file not in the current display interface.
In the specific implementation, when content of the user shown by the display interface to terminal 10 carries out quick sliding, Ke Yili Solution is that these contents are not that user is required, therefore the content shown by user's quick sliding display interface.It is described to connect Slide of the reception of unit 101 to the first file in current display interface is received, the slide is used for described first File switches to the second file not in the current display interface, and the slide includes slide, to the right to the left At least one of slide, upward sliding operation, slide downward operation, the track of the slide can be straight line It can be curve.Wherein, first file and second file can include but is not limited to picture, e-book, word texts The files such as shelves, table.The current display interface illustrates only first file at this time, i.e., described first file is with full frame clear The pattern of looking at is shown in the interface of the terminal, provides the visual effect of large-size screen monitors to the user, and user can clearly check described First file, and second file is not shown in the current display interface then, second file is according to system default The file that sequence is connected with first file.If first file belongs to identical file catalogue with second file, and When first file is the last one file in the identical file catalogue, in the prior art, user will be unable to slide to the left Switch to next file, in the embodiment of the present invention, user slides can switch in the identical file catalogue first to the left File, i.e., described second file.
File is by taking picture as an example, and for terminal by taking mobile phone as an example, user checks some photograph album on mobile phone with full frame browse mode In certain pictures A, user to being slided to the left on the display interface residing for picture A at this time, and mobile phone is then according to user's Slide executes the operation that picture A is switched to next picture B being connected with picture A, if what user slided to the left Speed is slow, then user can see that the display area of picture A gradually decreases, and the display area of picture B gradually increases Process;If the speed ratio that user slides to the left is very fast, user visually feels display interface in a flash just from figure Piece A becomes picture B.
Judging unit 102, for judging whether the speed of the slide reaches default threshold according to the slide Value.
In the specific implementation, since the terminal 10 does not know user to first text in the current display interface The degree of understanding of part only executes corresponding action, the end in the embodiment of the present invention according to the touch control operation of user simply End 10 can judge whether user wants to obtain the display in the current display interface according to the speed of the slide Content, if the speed of the slide is slower, it is to be appreciated that user is in slowly browsing the current display interface Show content;If the excessive velocities of the slide, it is to be appreciated that user less wants to browse the current display interface In display content or the display content in the browsed current display interface, therefore the judging unit 102 exists Judge whether the speed of the slide reaches predetermined threshold value when receiving the slide.Wherein, the predetermined threshold value Whether the speed for weighing the slide is too fast, judges whether to browse mode switching, the predetermined threshold value can be with It is the velocity amplitude of system default, can also be the velocity amplitude of user setting, be determined on a case-by-case basis.
It should be noted that the slide may make first file have switched to second file, also may be used Either where the energy slide does not make first file switch to second file, but rests on some position, Kind situation, the speed of the slide can all obtain, and pass through the sliding distance and sliding time of the slide To obtain the speed of the slide.
Fig. 5 is referred to, for the structural schematic diagram for the judging unit that embodiment illustrated in fig. 4 provides, the judging unit 102 can Including distance acquiring unit 1021, speed acquiring unit 1022 and speed judgment unit 1023.
Distance acquiring unit 1021, sliding distance and sliding time for obtaining the slide.
In the specific implementation, when the receiving unit 101 receives the slide, rising for the slide is determined It puts and initial time determines terminal and the end time of the slide, and described in determination at the end of the slide Air line distance between the Origin And Destination of slide, using the air line distance as the sliding distance of the slide, Using the difference between the end time and the initial time as the sliding time.Although the track of the slide It may be curve, but only calculate the air line distance between the starting point and the terminal when calculating the sliding distance, no Consider sliding trace.The distance acquiring unit 1021 obtains the sliding of the slide at the end of slide Distance and sliding time.
Speed acquiring unit 1022, for obtaining the slide according to the sliding distance and the sliding time Speed.
In the specific implementation, the speed acquiring unit 1022 is according to described in the sliding distance and sliding time acquisition The speed of slide.The speed acquiring unit 1022 is calculated described using the sliding distance divided by the sliding time The speed of slide.
Speed judgment unit 1023, for judging whether the speed of the slide reaches predetermined threshold value.
In the specific implementation, the speed judgment unit 1023 judges the cunning that the speed acquiring unit 1022 is got Whether the speed of dynamic operation reaches predetermined threshold value, and whether the speed that the predetermined threshold value is used to weigh the slide is too fast, Browse mode switching is judged whether to, the predetermined threshold value can be the velocity amplitude of system default, can also be user setting Velocity amplitude, be determined on a case-by-case basis.
Display unit 103, for when the result judged is is, showing first text in the current display interface Part and second file.
In the specific implementation, when the result that the judging unit 102 judges is is, i.e., the speed of the described slide reaches The predetermined threshold value, it is to be appreciated that user less wants to browse first file or browsed first text Part, therefore the display unit 103 will move out the full frame browse mode, switch to thumbnail browse mode, described current First file and second file are shown in display interface, it is to be appreciated that will be under the full frame browse mode First file and second file compare diminution according to preset diminution and are shown in the current display interface, i.e. institute The browse mode for stating current display interface is the thumbnail browse mode, the preset diminution ratio regarding concrete condition and It is fixed.
Fig. 6 is referred to, for the structural schematic diagram for the display unit that embodiment illustrated in fig. 4 provides, the display unit 103 can Including catalogue acquiring unit 1031, catalogue judging unit 1032, the first display unit 1033, catalogue combining unit 1034 and second Display unit 1035.
Catalogue acquiring unit 1031, for obtaining the file directory belonging to first file and second file.
In the specific implementation, when the result that the judging unit 102 judges is is, i.e., the speed of the described slide reaches Predetermined threshold value, it is to be appreciated that user less wants to browse first file or browsed first file, because This described terminal will move out the full frame browse mode, switch to thumbnail browse mode, before the terminal switches over, The catalogue acquiring unit 1031 need to obtain the file directory belonging to first file and second file.The prior art In, first file and second file are two files belonged under identical file catalogue, and when described first When file is the last one file in file directory user can not slide handover to next file, but in the embodiment of the present invention First file and second file may belong to identical file catalogue, it is also possible to belong to different file directorys, work as institute It is that the last one file and first file belong to not identical text with second file in affiliated file directory to state the first file When part catalogue, first file can be switched in next file directory by the terminal 10 according to the slide of user First file, first file in next file directory is second file at this time;When first file When belonging to identical file catalogue with second file for the last one file in affiliated file directory and first file, institute Stating terminal 10 can be switched to first file in the affiliated file directory of the first file according to the slide of user First file, first file in the affiliated file directory of the first file is second file at this time.More than Two kinds of situations, save the operating time of user, and different files in identical file catalogue can be realized by making user that need not return The switching of different files in switching or different file directorys.
First catalogue judging unit 1032, for judging first file and second file whether in identical file Under catalogue.
In the specific implementation, since first file and second file may belong to identical file catalogue, it is also possible to Belong to different file directorys, therefore the catalogue judging unit 1032 need to judge first file and the second file whether same Under one file directory.
First display unit 1033 is worked as when result for judging when the first catalogue judging unit is is described At least one of first file, second file and identical file catalogue text is shown in preceding display interface Part.
In the specific implementation, when the result that the first catalogue judging unit 1032 judges is is, i.e., described first file With the second file under identical file catalogue, belong to the different files in identical file catalogue, and the speed of the slide Degree reaches the predetermined threshold value, therefore first display unit 1033 shows first text in the current display interface Part and at least one of second file and the identical file catalogue file, wherein in the identical file catalogue At least one file include first file and second file.It can be understood that will be in the full frame browsing mould First file and at least one of second file and the identical file catalogue file under formula is according to default Diminution compare diminution and be shown in the current display interface, i.e., the browse mode of the described current display interface is the breviary Figure browse mode, the preset diminution ratio are determined on a case-by-case basis, the number of files that can be shown in the current display interface Amount is depending on the size of the display interface of the terminal.
Second catalogue judging unit 1034, for when the result that the first catalogue judging unit judges is no, judging Whether first file is preset similar catalogue with the file directory belonging to second file.
In the specific implementation, when the result that the first catalogue judging unit 1032 judges is no, i.e., described first file With the second file under different file directorys, belong to the different files in different file directorys, therefore second catalogue judges Unit 1034 judges whether first file with the file directory belonging to second file is preset similar catalogue, described Preset similar catalogue be same type, same rank file directory, for example, the first file be A, belong to file directory B, Second file is C, belongs to file directory D, and file directory B and D are picture file catalogue, and file directory B and file directory D For file directory arranged side by side;Or file directory B and D are subfile catalogue arranged side by side under some file directory.Optionally, institute Mobile terminal is stated to merge the file directory belonging to first file and the file directory belonging to second file, with Make, when first file is the last one file in affiliated file directory, to allow hand over the into next file directory One file, i.e., described second file.
Second display unit 1035 is worked as when result for judging when the second catalogue judging unit is is described Where showing first file, second file and first file and second file in preceding display interface At least one of file directory file.
In the specific implementation, when the result that the second catalogue judging unit 1034 judges is is, i.e., described first file It is the preset similar catalogue with the file directory belonging to second file, and the speed of the slide at this time Reach the predetermined threshold value, therefore the terminal exits the full frame browse mode, thumbnail browse mode is switched to, described First file and second file and first file and the second file institute are shown in current display interface At least one of file directory file, wherein in the file directory where first file and second file At least one file include first file and second file.It can be understood that will be in the full frame browsing mould The file directory where first file and second file and first file and second file under formula At least one of file compare diminution according to preset diminution and be shown in the current display interface, i.e., the described current display The browse mode at interface is the thumbnail browse mode, and the preset diminution ratio is determined on a case-by-case basis, described current The quantity of documents that can be shown in display interface is depending on the size of the display interface of the terminal.
Optionally, it is described preset similar with the file directory belonging to second file due to first file Catalogue, therefore the mobile terminal can be by the file directory belonging to first file and the file belonging to second file Catalogue merges, so that when first file is the last one file in affiliated file directory, allows hand under First file in one file directory, i.e., described second file.
In embodiments of the present invention, it by receiving the slide to the first file in current display interface, obtains and slides The speed of dynamic operation simultaneously judges whether the speed of slide reaches predetermined threshold value, when the result judged is is, is shown currently Show and show the first file and the second file in interface, easily realize the switching to browse mode, saves user operation time, carry Rise user experience.
Fig. 7 is referred to, for the structural schematic diagram of another terminal provided by the invention, which may include:It connects It is aobvious to receive unit 201, judging unit 202, display unit 203, clicking operation receiving unit 204, file obtaining unit 205 and third Show unit 206.Wherein, the concrete structure of receiving unit 201, judging unit 202 and display unit 203 can be found in real shown in Fig. 4 Receiving unit 101, judging unit 102 and the display unit 103 in example are applied, details are not described herein.
Receiving unit 201, for receiving the slide to the first file in current display interface, the slide For first file to be switched to the second file not in the current display interface.
Judging unit 202, for judging whether the speed of the slide reaches default threshold according to the slide Value.
Display unit 203, for when the result judged is is, showing first text in the current display interface Part and second file.
Clicking operation receiving unit 204, for receiving the clicking operation to the current display interface.
In the specific implementation, showing first file and institute in the current display interface with the thumbnail browse mode After stating the second file and other at least one files, the clicking operation receiving unit 204 can receive user and work as to described The clicking operation of preceding display interface, i.e. user want some file in the amplification browsing current display interface.
File obtaining unit 205, for obtaining the file corresponding to the clicking operation, and clicking operation institute is right The file answered is determined as file to be shown.
In the specific implementation, the file obtaining unit 205 is obtained according to the clicking operation corresponding to the clicking operation File, and the file corresponding to the clicking operation is determined as file to be shown.File is by taking picture as an example, and terminal is with mobile phone For, it is assumed that mobile phone interface shows that the thumbnail of 12 pictures, the picture corresponding to clicking operation of the user on mobile phone are When first pictures in the upper right corner, using first pictures in the upper right corner as picture to be shown.
Third display unit 206, for showing the file to be shown in the current display interface.
In the specific implementation, the third display unit 206 shows the file to be shown in the current display interface, Described this file of file to be shown, no alternative document are illustrated only in the current display interface i.e. at this time.File with For picture, terminal is by taking mobile phone as an example, it is assumed that mobile phone interface shows the thumbnail of 12 pictures, click of the user on mobile phone When the corresponding picture of operation is first pictures in the upper right corner, using first pictures in the upper right corner as picture to be shown, and With the full frame browse mode include first pictures in the upper right corner at this time in mobile phone interface by first pictures in the upper right corner Most of area of mobile phone interface will be occupied.
In embodiments of the present invention, it by receiving the slide to the first file in current display interface, obtains and slides The speed of dynamic operation simultaneously judges whether the speed of slide reaches predetermined threshold value, when the result judged is is, is shown currently Show and show the first file and the second file in interface, easily realize the switching to browse mode, saves user operation time, carry Rise user experience.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer read/write memory medium In, the program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.

Claims (6)

1. a kind of method of browse mode switching, which is characterized in that including:
The slide to the first file in current display interface is received, the slide is for cutting first file Shift to the second file not in the current display interface;
Judge whether the speed of the slide reaches predetermined threshold value according to the slide;
When the result judged is is, the file directory belonging to first file and second file is obtained;
Judge first file and second file whether under identical file catalogue;
When first file and second file are under identical file catalogue, institute is shown in the current display interface State at least one of the first file, second file and identical file catalogue file, the identical file catalogue At least one of file include first file and second file;
When first file and second file be not under identical file catalogue, first file and described are judged Whether the file directory belonging to two files is preset similar catalogue;
When first file is the preset similar catalogue with the file directory belonging to second file, work as described Where showing first file, second file and first file and second file in preceding display interface At least one of file directory where at least one of file directory file, first file and second file File does not include first file and second file, the file directory where first file and second file For the file mesh belonging to the first file directory belonging to first file and the second file directory belonging to second file Record.
2. according to the method described in claim 1, it is characterized in that, described judge the slide according to the slide Speed whether reach predetermined threshold value, including:
Obtain the sliding distance and sliding time of the slide;
The speed of the slide is obtained according to the sliding distance and the sliding time;
Judge whether the speed of the slide reaches predetermined threshold value.
3. according to the method described in claim 1, it is characterized in that, described when the result judged is is, described current After the step of showing first file and second file in display interface, further include:
Receive the clicking operation to the current display interface;
The file corresponding to the clicking operation is obtained, and the file corresponding to the clicking operation is determined as text to be shown Part;
The file to be shown is shown in the current display interface.
4. a kind of terminal, which is characterized in that including:
Receiving unit, for receiving the slide to the first file in current display interface, the slide is used for will First file switches to the second file not in the current display interface;
Judging unit, for judging whether the speed of the slide reaches predetermined threshold value according to the slide;
Catalogue acquiring unit, for when the result judged is is, obtaining belonging to first file and second file File directory;
First catalogue judging unit, for judging first file and second file whether under identical file catalogue;
First display unit, when result for judging when the first catalogue judging unit is is, in current display circle At least one of first file, second file and identical file catalogue file is shown in face, it is described same At least one of one file directory file does not include first file and second file;
Second catalogue judging unit, for when the result that the first catalogue judging unit judges is no, judging described first Whether file is preset similar catalogue with the file directory belonging to second file;
Second display unit, when result for judging when the second catalogue judging unit is is, in current display circle The file directory where first file, second file and first file and second file is shown in face At least one of file, at least one of file directory where first file and second file file do not wrap First file and second file are included, the file directory where first file and second file is described the The file directory belonging to the second file directory belonging to the first file directory and second file belonging to one file.
5. terminal according to claim 4, which is characterized in that the judging unit includes:
Distance acquiring unit, sliding distance and sliding time for obtaining the slide;
Speed acquiring unit, the speed for obtaining the slide according to the sliding distance and the sliding time;
Speed judgment unit, for judging whether the speed of the slide reaches predetermined threshold value.
6. terminal according to claim 4, which is characterized in that further include:
Clicking operation receiving unit, for receiving the clicking operation to the current display interface;
File obtaining unit, for obtaining the file corresponding to the clicking operation, and by the text corresponding to the clicking operation Part is determined as file to be shown;
Third display unit, for showing the file to be shown in the current display interface.
CN201510416166.6A 2015-07-15 2015-07-15 A kind of method and terminal of browse mode switching Active CN105094607B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510416166.6A CN105094607B (en) 2015-07-15 2015-07-15 A kind of method and terminal of browse mode switching

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510416166.6A CN105094607B (en) 2015-07-15 2015-07-15 A kind of method and terminal of browse mode switching

Publications (2)

Publication Number Publication Date
CN105094607A CN105094607A (en) 2015-11-25
CN105094607B true CN105094607B (en) 2018-09-14

Family

ID=54575185

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510416166.6A Active CN105094607B (en) 2015-07-15 2015-07-15 A kind of method and terminal of browse mode switching

Country Status (1)

Country Link
CN (1) CN105094607B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106294843B (en) * 2016-08-19 2019-10-29 联想(北京)有限公司 A kind of Fileview method, electronic equipment and Fileview device
CN110633036A (en) * 2018-06-22 2019-12-31 中兴通讯股份有限公司 Picture browsing method and device, mobile terminal and computer readable storage medium
CN112835502A (en) * 2021-01-25 2021-05-25 网易(杭州)网络有限公司 Page display method, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101685371A (en) * 2008-09-25 2010-03-31 鸿富锦精密工业(深圳)有限公司 Electronic device and method for reducing operation response time thereof
CN104699813A (en) * 2015-03-23 2015-06-10 广东欧珀移动通信有限公司 Intelligent terminal and file browsing method applied to same

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101406289B1 (en) * 2007-03-08 2014-06-12 삼성전자주식회사 Apparatus and method for providing items based on scrolling

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101685371A (en) * 2008-09-25 2010-03-31 鸿富锦精密工业(深圳)有限公司 Electronic device and method for reducing operation response time thereof
CN104699813A (en) * 2015-03-23 2015-06-10 广东欧珀移动通信有限公司 Intelligent terminal and file browsing method applied to same

Also Published As

Publication number Publication date
CN105094607A (en) 2015-11-25

Similar Documents

Publication Publication Date Title
TWI544347B (en) System and method for editing text
US9207837B2 (en) Method, apparatus and computer program product for providing multiple levels of interaction with a program
EP2633382B1 (en) Responding to the receipt of zoom commands
EP2113831A9 (en) Method and apparatus for browsing item information and recording medium using the same
US10228835B2 (en) Method for displaying information, and terminal equipment
CN102306080A (en) Touch electronic device and icon moving method
CN104991696B (en) A kind of information processing method and electronic equipment
CN104850660A (en) Picture displaying method, picture displaying device and mobile terminal
CN103345356A (en) Method and terminal for controlling lock screen interface
CN103941973A (en) Batch selection method and device and touch screen terminal
CN106126718A (en) A kind of picture management method and terminal
CN104461473A (en) Screen locking wallpaper switching method and device and terminal equipment
US20130002796A1 (en) System and Method For Incorporating Content In A Videoconferencing Environment Without A Personal Computer
CN105094607B (en) A kind of method and terminal of browse mode switching
EP3306455A1 (en) Method and apparatus for switching multiple folders, and computer storage medium
CN105094620A (en) Information browsing method and mobile terminal
CN101650629A (en) Electronic device and method for browsing pictures by using same
CN105843497A (en) Method for batch processing of desktop icons and mobile terminal
CN103902615A (en) Photo processing method, photo processing device and mobile terminal
US9600176B2 (en) Method and apparatus for controlling a spatial relationship between at least two groups of content during movement of the content
CN103809886A (en) Cursor positioning method and mobile terminal
CN106210259A (en) A kind of multi-screen display method and terminal
US20140372925A1 (en) Method for editing frame-based page, electronic apparatus and recording medium using the same
US20130155112A1 (en) Method, apparatus and computer program product for graphically transitioning between multiple program interface levels of a program
CN104461359A (en) Terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 519085 Guangdong Zhuhai science and technology innovation coastal Meizu Technology Building

Patentee after: MEIZU TECHNOLOGY Co.,Ltd.

Address before: 519080 Technology Innovation Coast Meizu science and technology building, Xiangzhou District, Zhuhai, Guangdong

Patentee before: Meizu Technology (China) Co.,Ltd.

CP03 Change of name, title or address