CN104731463B - The method and apparatus of picture in a kind of positioning picture list - Google Patents
The method and apparatus of picture in a kind of positioning picture list Download PDFInfo
- Publication number
- CN104731463B CN104731463B CN201310705592.2A CN201310705592A CN104731463B CN 104731463 B CN104731463 B CN 104731463B CN 201310705592 A CN201310705592 A CN 201310705592A CN 104731463 B CN104731463 B CN 104731463B
- Authority
- CN
- China
- Prior art keywords
- picture
- screen
- current location
- list
- picture list
- 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
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/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/0485—Scrolling or panning
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
- G06Q50/01—Social networking
Abstract
The invention discloses a kind of method and apparatus of picture in positioning picture list, quickly and easily to navigate to the Target Photo that user wants to look up.The described method includes: receive the selection of time term in time list in the sidebar of user opposite side, positioning corresponding position P in picture list to the time term;Compare the relationship of current location Yu the position P;If the position P is on the current location, picture list described in automatic slide downward, until the picture of the position P is shown in the position under the current location;If the position P is under the current location, picture list described in automatic upward sliding, until the picture of the position P is shown in the position on the current location.Method provided in an embodiment of the present invention is slided manually without user can navigate to Target Photo, so that picture positioning becomes simple and easy, search picture for user and provide a great convenience.
Description
Technical field
The present invention relates to computer software fields, and in particular to a kind of method and apparatus for positioning picture in picture list.
Background technique
In some common social softwares, the displaying of picture or browsing are a kind of important applications, are shown or clear
The common method of picture of looking at is using photo wall.So-called photo wall, is that one kind is sequentially arranged, and is by date photo point
The photo list of group.
The method of picture is in the browsing photo wall that a kind of prior art provides: when user requires to look up the photograph on some date
When piece, photo wall list is gradually slided using finger or other tools, then, by comparing the time be grouped in date, most
The picture of target date is just found afterwards.
The method of picture is mainly to search the picture of target date, this lookup manually in the browsing photo wall of above-mentioned offer
Mode often makes troubles to user, is even highly difficult, and especially when photo amount is very big, photo wall list content is often very
Long, user manually searches the degree of difficulty of picture or inconvenient degree and can become apparent.
Summary of the invention
The embodiment of the present invention provides a kind of method and apparatus for positioning picture in picture list, quickly and easily to navigate to
The Target Photo that user wants to look up.
The embodiment of the present invention provides a kind of method for positioning picture in picture list, which comprises
Receive the selection of time term in time list in the sidebar of user opposite side, positioning is to the time term in picture list
Corresponding position P;
Compare the relationship of current location Yu the position P, the current location is the figure for being currently at picture list top
Position where piece;
If the position P is on the current location, picture list described in automatic slide downward, until the position
The picture of P is shown in the position under the current location;
If the position P is under the current location, picture list described in automatic upward sliding, until the position
The picture of P is shown in the position on the current location.
Another embodiment of the present invention provides a kind of device of picture in positioning picture list, described device includes:
Locating module, for receiving the selection of time term in time list in the sidebar of user opposite side, positioning to the time
Item corresponding position P in picture list;
Comparison module, for comparing the relationship of current location Yu the position P, the current location is to be currently at picture
Position where the picture on list top;
First shift module, if for the position P on the current location, picture described in automatic slide downward
List, until the picture of the position P is shown in the position under the current location;
Second shift module, if for the position P under the current location, picture described in automatic upward sliding
List, until the picture of the position P is shown in the position on the current location.
From the embodiments of the present invention it is found that selection due to only needing time term in time list in the sidebar of user opposite side
The corresponding position P in picture list can be positioned to the time term, then, according to the pass of current location and the position P
System, automatic picture list of sliding is to suitable position.Needing user to slide manually with the prior art could position in picture list
The method of picture is compared, and method provided in an embodiment of the present invention is slided manually without user can navigate to Target Photo, so that
Picture positioning becomes simple and easy, searches picture for user and provides a great convenience.
Detailed description of the invention
Fig. 1-a is the schematic diagram provided in an embodiment of the present invention using sidebar positioning picture;
Fig. 1-b is the basic procedure schematic diagram of the method for picture in positioning picture list provided in an embodiment of the present invention;
Fig. 2 is the device logical construction schematic diagram of picture in positioning picture list provided in an embodiment of the present invention;
Fig. 3-a be another embodiment of the present invention provides positioning picture list in picture device logical construction schematic diagram;
Fig. 3-b be another embodiment of the present invention provides positioning picture list in picture device logical construction schematic diagram;
Fig. 4-a be another embodiment of the present invention provides positioning picture list in picture device logical construction schematic diagram;
Fig. 4-b be another embodiment of the present invention provides positioning picture list in picture device logical construction schematic diagram;
Fig. 5-a be another embodiment of the present invention provides positioning picture list in picture device logical construction schematic diagram;
Fig. 5-b be another embodiment of the present invention provides positioning picture list in picture device logical construction schematic diagram;
Fig. 6-a be another embodiment of the present invention provides positioning picture list in picture device logical construction schematic diagram;
Fig. 6-b be another embodiment of the present invention provides positioning picture list in picture device logical construction schematic diagram.
Specific embodiment
The embodiment of the present invention provides a kind of method for positioning picture in picture list, which comprises receives user couple
In sidebar in time list time term selection, positioning to the time term in picture list corresponding position P;Compare and works as
The relationship of front position and the position P, the current location are the position being currently at where the picture on picture list top;If
The position P is on the current location, then picture list described in automatic slide downward, until the picture of the position P is aobvious
Show the position under the current location;If the position P under the current location, schemes described in automatic upward sliding
Piece list, until the picture of the position P is shown in the position on the current location.The embodiment of the present invention also provides accordingly
Positioning picture list in picture device.It is described in detail separately below.
The method of picture can be applied to end application in the positioning picture list of the embodiment of the present invention, such as QQ, micro-
Letter etc., basic procedure can refer to Fig. 1, mainly include step S101 to step S103:
S101 receives the selection of time term in time list in the sidebar of user opposite side, and positioning is to the time term in picture
Corresponding position P in list.
In embodiments of the present invention, picture list can be photo wall.So-called sidebar is the figure in photo wall or the like
An increased assisted lookup tool, has the property that the operation of the handle by opposite side sidebar on the right side of piece list, can be with
Control sidebar hides and shows i.e. slide-in screen.Under default conditions, sidebar is collapsed state, to guarantee not influence user
To the normal use of picture list.By clicking handle or pulling handle portion, sidebar can be opened, effect is from the screen right side
It breaks away in screen.After sliding into screen, a time list is shown in sidebar, it is corresponding with the time shaft of picture list.Often
Icon of first picture of a time grouping as list items each in time list, the time is as each list items title.
Once some time term in the sidebar of user opposite side in time list is selected, picture list then quickly and is slid smoothly
To Pictures location corresponding to this time item, it is shown to screen top, at the same time, sidebar packs up and skids off screen.
When the selection of time term can be in the sidebar of user opposite side in time list in time list in the sidebar of user opposite side
Between item click or touch.As previously described, because the time list shown in sidebar is corresponding with the time shaft of picture list,
Therefore, if time term selects in time list in the sidebar of user opposite side, it is right in picture list to time term to position
The position P answered.
S102 compares the relationship of current location Yu the position P.
In embodiments of the present invention, so-called current location refers to the position being currently at where the picture on picture list top
It sets.Method provided in an embodiment of the present invention is exactly to determine how to slide by comparing the relationship of current location and the position P
Picture list.
S103, if the position P on the current location, picture list described in automatic slide downward, until institute
The picture that rheme sets P is shown in the position under the current location, if the position P under the current location, from
Picture list described in dynamic upward sliding, until the picture of the position P is shown in the position on the current location.
As one embodiment of the invention, if determining that position P exists by the relationship for comparing current location Yu the position P
On the current location, then picture list described in automatic slide downward, until the picture of the position P be shown in it is described current
Position under position includes the following steps Sa1031 to step Sa1032:
Whether Sa1031 judges the picture of position P within the previous screen of current location.
Specifically, judge the picture of position P whether may is that within the previous screen of current location compare the value of parameter with
The height of screen, if the value of the parameter is less than the height of the screen, it is determined that the picture of the position P is described current
Within the previous screen of position, otherwise, it determines the picture of the position P is except the previous screen of the current location.Herein, described
The value of parameter is that the current location subtracts gained difference and the high product of the row after the position P, wherein a height of picture of row
The height of row's picture in list.
Sa1032, if the picture of the position P is at least slide downward figure within the previous screen of the current location
Piece list is no more than the high distance of row, until the picture of the position P is shown in the top of screen.
It should be noted that slide downward picture list of the present invention, and non-user passes through manual slide downward figure
Piece list, but after program judges the picture of the position P within the previous screen of the current location, what program executed automatically
As a result.In addition, " at least " showing that system may need to repeat slide downward picture list and be no more than in step Sa1032
Row is high apart from This move, until the picture of the position P is shown in the top of screen.
As another embodiment of the present invention, if by the relationship for comparing current location Yu the position P, and pass through step
Sa1031 judges that the picture of the position P is the then picture described in automatic slide downward except the previous screen of the current location
List includes the following steps Sb1031 to step until the picture of the position P is shown in the position under the current location
Sb1032:
Sb1031, at least distance of one screen of picture list described in slide downward, until the picture of the position P is shown in institute
It states within the previous screen of current location;
Sb1032, when the picture of the position P is within the previous screen of the current location, at least described in slide downward
Picture list is no more than the high distance of row, until the picture of the position P is shown in the top of screen.
With the explanation of above-mentioned steps Sa1032, the column of slide downward picture described in step Sb1031 and step Sb1032
Table, and non-user is by manual slide downward picture list, but program judges that the picture of the position P is in the present bit
After except the previous screen set, result that program executes automatically.Similarly, " at least " table in step step Sb1031 and Sb1032
Bright, system may need to repeat picture list This move described in slide downward, until the picture of the position P is shown in
Within the previous screen of the current location and it is shown in the top of screen.
As one embodiment of the invention, if determining that position P exists by the relationship for comparing current location Yu the position P
Under the current location, then picture list described in automatic upward sliding, until the picture of the position P be shown in it is described current
Position on position includes the following steps Sc1031 to step Sc1032:
Whether Sc1031 judges the picture of the position P within the current screen.
Specifically, judge whether the picture of the position P may is that picture described in comparison arranges within the current screen
The table position of last line and position P in current screen, if picture list last line in current screen
Position is greater than the position P, it is determined that picture is within the current screen, otherwise, it determines picture is in the current screen
Except curtain.
Sc1032, if the picture of the position P is to slide the picture column at least up within the current screen
Table is no more than the high distance of row, until the picture of the position P is shown in the top of screen.
The height of row's picture in a height of picture list of row herein.It should be noted that of the present invention slide up
Motion picture cartoon list, and non-user is by manual-up sliding picture list, but program judges that the picture of the position P is in institute
After stating within current screen, result that program executes automatically.In addition, " at least " showing that system may need in step Sc1032
It is high no more than row apart from This move to repeat upward sliding picture list, until the picture of the position P is shown in
The top of screen.
As another embodiment of the present invention, if by the relationship for comparing current location Yu the position P, and pass through step
Sc1031 judges that the picture of the position P is the then picture list described in automatic upward sliding except the current screen, until
The picture of the position P is shown in the position on the current location, includes the following steps Sd1031 to step Sd1032:
Sd1031 slides the distance of one screen of picture list at least up, until the picture of the position P is shown in institute
It states within the previous screen of current location.
Sd1032, when the picture of the position P is within the previous screen of the current location, at least up described in sliding
Picture list is no more than the high distance of row, until the picture of the position P is shown in the top of screen.
With the explanation of above-mentioned steps Sc1032, the column of upward sliding picture described in step Sd1031 and step Sd1032
Table, and non-user is by manual-up sliding picture list, but program judges that the picture of the position P is in the current screen
After except curtain, result that program executes automatically.Similarly, " at least " show system in step Sd1031 and step Sd1032
It may need to repeat picture list This move described in upward sliding, until the picture of the position P is shown in described work as
Within the previous screen of front position and it is shown in the top of screen.
The method of picture is it is found that due to only needing user couple from the positioning picture list that the embodiments of the present invention provide
The selection of time term can position to the time term the corresponding position P in picture list in time list in sidebar, so
Afterwards, according to the relationship of current location and the position P, automatic picture list of sliding is to suitable position.It needs to use with the prior art
Family is slided the method that could position the picture in picture list manually and is compared, and method provided in an embodiment of the present invention is not necessarily to user hand
Dynamic sliding can navigate to Target Photo, so that picture positioning becomes simple and easy, provide for user's lookup picture very big
It is convenient.
The positioning picture for executing the embodiment of the present invention of the method for picture in above-mentioned positioning picture list is arranged below
The device of picture is illustrated in table, and basic logical structure refers to Fig. 2.For ease of description, it illustrate only and the present invention
The relevant part of embodiment.In the exemplary positioning picture list of attached drawing 2 device of picture can be functional unit in terminal or
Module.The device of picture mainly includes locating module 201, comparison module 202, first in the exemplary positioning picture list of attached drawing 2
Shift module 203 and the second shift module 204, detailed description are as follows for each module:
Locating module 201, for receiving the selection of time term in time list in the sidebar of user opposite side, positioning to it is described when
Between item corresponding position P in picture list.
In the exemplary positioning picture list of attached drawing 2 in the device of picture, picture list can be photo wall.So-called side
Column is an increased assisted lookup tool on the right side of the picture list of photo wall or the like, has the property that by right
The operation of the handle of sidebar, can control sidebar hides and shows i.e. slide-in screen.Under default conditions, sidebar is to receive
The state of rising, to guarantee not influencing user to the normal use of picture list.It, can be by side by clicking handle or pulling handle portion
Sidebar is opened, and effect is to slide into screen on the right side of screen.After sliding into screen, a time list is shown in sidebar, with figure
The time shaft of piece list is corresponding.Icon of first picture of each time grouping as list items each in time list,
Time is as each list items title.Once some time term in the sidebar of user opposite side in time list is selected, figure
Piece list then quickly and slides smoothly Pictures location corresponding to this time item, is shown to screen top, at the same time, side
Sidebar is packed up and skids off screen.
When the selection of time term can be in the sidebar of user opposite side in time list in time list in the sidebar of user opposite side
Between item click or touch.As previously described, because the time list shown in sidebar is corresponding with the time shaft of picture list,
Therefore, if time term selects in time list in the sidebar of user opposite side, it is right in picture list to time term to position
The position P answered.
Comparison module 202, for comparing the relationship of current location Yu the position P, the current location is to be currently at
Position where the picture on picture list top.
First shift module 203, if for the position P on the current location, described in automatic slide downward
Picture list, until the picture of the position P is shown in the position under the current location.
Second shift module 204, if for the position P under the current location, described in automatic upward sliding
Picture list, until the picture of the position P is shown in the position on the current location.
It should be noted that in the exemplary positioning picture list of the figures above 2 in the embodiment of the device of picture, each function
The division of energy module is merely illustrative of, and can according to need in practical application, such as the configuration requirement or soft of corresponding hardware
The convenient of the realization of part considers, and above-mentioned function distribution is completed by different functional modules, i.e., by the positioning picture list
The internal structure of the device of middle picture is divided into different functional modules, to complete all or part of the functions described above.
Moreover, the corresponding functional module in the present embodiment can be by corresponding hardware realization in practical application, it can also be by corresponding
Hardware execute corresponding software and complete, for example, locating module above-mentioned, can be to have to execute and aforementioned receive user's opposite side
In column in time list time term selection, position to the time term corresponding position P in picture list hardware, such as
Locator is also possible to be able to carry out general processor or other hardware of the corresponding computer program to complete aforementioned function
Equipment;For another example comparison module above-mentioned can be with the aforementioned relatively relationship function of current location and the position P of execution
Hardware, such as comparator, be also possible to be able to carry out corresponding computer program to complete the general processor of aforementioned function or
Other hardware devices of person (each embodiment that this specification provides can all apply foregoing description principle).
Exemplary first shift module 203 of attached drawing 2 may include the first judging unit 301 and the first slide downward unit
302, as shown in attached drawing 3-a another embodiment of the present invention provides positioning picture list in picture device, in which:
First judging unit 301, for judge the position P picture whether the current location previous screen it
It is interior;
First slide downward unit 302, if the picture for the position P be the current location previous screen it
Interior, then at least picture list described in slide downward is no more than the high distance of row, until the picture of the position P is shown in screen top
Portion, the height of row's picture in a height of picture list of row.
Exemplary first shift module 203 of attached drawing 3-a can also include the second slide downward unit 303 and third to downslide
Moving cell 304, as shown in attached drawing 3-b another embodiment of the present invention provides positioning picture list in picture device, in which:
Second slide downward unit 303, if the picture for the position P be the current location previous screen it
Outside, then at least distance of one screen of picture list described in slide downward, until the picture of the position P is shown in the current location
Previous screen within;
Third slide downward unit 304, for the picture in the position P within the previous screen of the current location
When, at least picture list described in slide downward is no more than the high distance of row, until the picture of the position P is shown in screen top
Portion.
Exemplary first judging unit 301 of attached drawing 3-a or attached drawing 3-b can also include the first comparing unit 401 and first
Determination unit 402, as shown in attached drawing 4-a or attached drawing 4-b another embodiment of the present invention provides positioning picture list in picture
Device, in which:
First comparing unit 401, for comparing the value of parameter and the height of screen, the value of the parameter is the present bit
Set gained difference and the high product of the row after subtracting the position P;
First determination unit 402, if being less than the height of the screen for the value of the parameter, it is determined that the position P
Picture be within the previous screen of the current location, otherwise, it determines the picture of the position P is before the current location
Except one screen.
Exemplary second shift module 204 of attached drawing 2 may include second judgment unit 501 and the first upward sliding unit
502, as shown in attached drawing 5-a another embodiment of the present invention provides positioning picture list in picture device, in which:
Second judgment unit 501, for judging the picture of the position P whether within the current screen;
First upward sliding unit 502, if the picture for the position P is within the current screen, at least
Picture list described in upward sliding is no more than the high distance of row, until the picture of the position P is shown in the top of screen, the row
The height of row's picture in a height of picture list.
Exemplary second shift module 204 of attached drawing 5-a can also include that the second upward sliding unit 503 and third slide up
Moving cell 504, as shown in attached drawing 5-b another embodiment of the present invention provides positioning picture list in picture device, in which:
Second upward sliding unit 503, if the picture for the position P is except the current screen, at least
The distance of one screen of picture list described in upward sliding, until the picture of the position P is shown in the previous screen of the current location
Within;
Third upward sliding unit 504, for the picture in the position P within the previous screen of the current location
When, the picture list is slided at least up and is no more than the high distance of row, until the picture of the position P is shown in screen top
Portion.
The exemplary second judgment unit 501 of attached drawing 5-a or attached drawing 5-b can also include the second comparing unit 601 and second
Determination unit 602, as shown in attached drawing 6-a or attached drawing 6-b another embodiment of the present invention provides positioning picture list in picture
Device, in which:
Second comparing unit 601, for the picture list in current screen the position of last line and described
Position P;
Second determination unit 602, if the position for picture list last line in current screen is greater than described
Position P, it is determined that picture is within the current screen, otherwise, it determines picture is except the current screen.
The embodiment of the present invention gives a kind of terminal, the positioning figure which can be used for implementing providing in above-described embodiment
The method of picture in piece list.Specifically: terminal may include having one or more computer readable storage mediums
The components such as processor of memory, one or more than one processing core.It will be understood by those skilled in the art that above-mentioned service
The restriction of device structure not structure paired terminal, may include more or fewer components, perhaps combine certain components or difference
Component layout.Wherein:
Memory can be used for storing software program and module, and processor is stored in the software program of memory by operation
And module, thereby executing various function application and data processing.Memory can mainly include storing program area and storage number
According to area, wherein storing program area can application program needed for storage program area, at least one function (for example sound plays function
Energy, image player function etc.) etc.;Storage data area, which can be stored, uses created data etc. according to terminal.In addition, memory
May include high-speed random access memory, can also include nonvolatile memory, a for example, at least disk memory,
Flush memory device or other volatile solid-state parts.Correspondingly, memory can also include Memory Controller, to provide
Access of the processor to memory.
Although being not shown, terminal also further includes having memory and one or more than one program, one of them or
More than one program of person is stored in memory, and be configured to by one or more than one processor execution state one or
More than one program includes the instruction for performing the following operation:
Receive the selection of time term in time list in the sidebar of user opposite side, positioning is to the time term in picture list
Corresponding position P;
Compare the relationship of current location Yu the position P, the current location is the figure for being currently at picture list top
Position where piece;
If the position P is on the current location, picture list described in automatic slide downward, until the position
The picture of P is shown in the position under the current location;
If the position P is under the current location, picture list described in automatic upward sliding, until the position
The picture of P is shown in the position on the current location.
Assuming that above-mentioned is the first possible embodiment, then provided based on the first possible embodiment
Second of possible embodiment in, in the memory of the terminal, also include instructions for performing the following operations:
Judge the picture of the position P whether within the previous screen of the current location;
If the picture of the position P is at least picture described in slide downward within the previous screen of the current location
List is no more than the high distance of row, until the picture of the position P is shown in the top of screen, a height of picture list of row
In row's picture height.
Assuming that above-mentioned is second of possible embodiment, then provided based on second of possible embodiment
The third possible embodiment in, in the memory of the terminal, also include instructions for performing the following operations:
If the picture of the position P is at least picture described in slide downward except the previous screen of the current location
The distance of one screen of list, until the picture of the position P is shown within the previous screen of the current location;
When the picture of the position P is within the previous screen of the current location, at least picture described in slide downward is arranged
Table is no more than the high distance of row, until the picture of the position P is shown in the top of screen.
Assuming that above-mentioned is second or the third possible embodiment, then at second or the third possible embodiment party
In the 4th kind of possible embodiment provided based on formula, in the memory of the terminal, also comprising to give an order:
Compare the value of parameter and the height of screen, the value of the parameter subtracts institute after the position P for the current location
Obtain difference and the high product of the row;
If the value of the parameter is less than the height of the screen, it is determined that the picture of the position P is in the present bit
Within the previous screen set, otherwise, it determines the picture of the position P is except the previous screen of the current location.
Assuming that above-mentioned is the 4th kind of possible embodiment, then provided based on the first possible embodiment
The 5th kind of possible embodiment in, in the memory of the terminal, also comprising to give an order:
Judge the picture of the position P whether within the current screen;
If the picture of the position P is to slide the picture list at least up within the current screen and do not surpass
The high distance of space, until the picture of the position P is shown in the top of screen, a row schemes in a height of picture list of row
The height of piece.
Assuming that above-mentioned is the 5th kind of possible embodiment, then provided based on the 5th kind of possible embodiment
The 6th kind of possible embodiment in, in the memory of the terminal, also include instructions for performing the following operations:
If the picture of the position P is to slide one screen of picture list at least up except the current screen
Distance, until the picture of the position P is shown within the previous screen of the current location;
When the picture of the position P is within the previous screen of the current location, the picture column are slided at least up
Table is no more than the high distance of row, until the picture of the position P is shown in the top of screen.
Assuming that above-mentioned is the 5th kind or the 6th kind of possible embodiment, then in the 5th kind or the 6th kind of possible embodiment party
In the 7th kind of possible embodiment provided based on formula, in the memory of the terminal, also comprising to give an order:
Compare the picture list position of last line and position P in current screen;
If the position of picture list last line in current screen be greater than the position P, it is determined that picture be
Within the current screen, otherwise, it determines picture is except the current screen.
As on the other hand, yet another embodiment of the invention additionally provides a kind of computer readable storage medium, the computer
Readable storage medium storing program for executing can be computer readable storage medium included in the memory in above-described embodiment;It is also possible to list
Solely exist, without the computer readable storage medium in supplying terminal.The computer-readable recording medium storage have one or
More than one program of person, the one or more programs are used to execute one by one or more than one processor
The method for positioning picture in picture list, which comprises
Receive the selection of time term in time list in the sidebar of user opposite side, positioning is to the time term in picture list
Corresponding position P;
Compare the relationship of current location Yu the position P, the current location is the figure for being currently at picture list top
Position where piece;
If the position P is on the current location, picture list described in automatic slide downward, until the position
The picture of P is shown in the position under the current location;
If the position P is under the current location, picture list described in automatic upward sliding, until the position
The picture of P is shown in the position on the current location.
Assuming that above-mentioned is the first possible embodiment, then provided based on the first possible embodiment
Second of possible embodiment in, if the position P on the current location, described in automatic slide downward
Picture list, until the picture of the position P is shown in the position under the current location, comprising:
Judge the picture of the position P whether within the previous screen of the current location;
If the picture of the position P is at least picture described in slide downward within the previous screen of the current location
List is no more than the high distance of row, until the picture of the position P is shown in the top of screen, a height of picture list of row
In row's picture height.
Assuming that above-mentioned is second of possible embodiment, then provided based on second of possible embodiment
The third possible embodiment in, if the picture of the position P be except the previous screen of the current location,
Picture list described in automatic slide downward is wrapped until the picture of the position P is shown in the position under the current location
It includes:
At least distance of one screen of picture list described in slide downward, until the picture of the position P be shown in it is described current
Within the previous screen of position;
When the picture of the position P is within the previous screen of the current location, at least picture described in slide downward is arranged
Table is no more than the high distance of row, until the picture of the position P is shown in the top of screen.
Assuming that above-mentioned is second or the third possible embodiment, then at second or the third possible embodiment party
In the 4th kind of possible embodiment provided based on formula, whether the picture for judging the position P works as described
Include: within the previous screen of front position
Compare the value of parameter and the height of screen, the value of the parameter subtracts institute after the position P for the current location
Obtain difference and the high product of the row;
If the value of the parameter is less than the height of the screen, it is determined that the picture of the position P is in the present bit
Within the previous screen set, otherwise, it determines the picture of the position P is except the previous screen of the current location.
Assuming that above-mentioned is the 4th kind of possible embodiment, then provided based on the first possible embodiment
The 5th kind of possible embodiment in, if the position P under the current location, described in automatic upward sliding
Picture list, until the picture of the position P is shown in the position on the current location, comprising:
Judge the picture of the position P whether within the current screen;
If the picture of the position P is to slide the picture list at least up within the current screen and do not surpass
The high distance of space, until the picture of the position P is shown in the top of screen, a row schemes in a height of picture list of row
The height of piece.
Assuming that above-mentioned is the 5th kind of possible embodiment, then provided based on the 5th kind of possible embodiment
The 6th kind of possible embodiment in, if the picture of the position P be except the current screen, it is automatic upwards
The picture list is slided, until the picture of the position P is shown in the position on the current location, comprising:
Slide the distance of one screen of picture list at least up, until the picture of the position P be shown in it is described current
Within the previous screen of position;
When the picture of the position P is within the previous screen of the current location, the picture column are slided at least up
Table is no more than the high distance of row, until the picture of the position P is shown in the top of screen.
Assuming that above-mentioned is the 5th kind or the 6th kind of possible embodiment, then in the 5th kind or the 6th kind of possible embodiment party
In the 7th kind of possible embodiment provided based on formula, whether the picture for judging the position P works as described
Within forth screen, comprising:
Compare the picture list position of last line and position P in current screen;
If the position of picture list last line in current screen be greater than the position P, it is determined that picture be
Within the current screen, otherwise, it determines picture is except the current screen.
It should be noted that the contents such as information exchange, implementation procedure between each module/unit of above-mentioned apparatus, due to
Embodiment of the present invention method is based on same design, and bring technical effect is identical as embodiment of the present invention method, particular content
It can be found in the narration in embodiment of the present invention method, details are not described herein again.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage
Medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random
Access Memory), disk or CD etc..
The method and apparatus of picture in a kind of positioning picture list are provided for the embodiments of the invention above to have carried out in detail
Thin to introduce, used herein a specific example illustrates the principle and implementation of the invention, and above embodiments are said
It is bright to be merely used to help understand method and its core concept of the invention;At the same time, for those skilled in the art, foundation
Thought of the invention, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification is not
It is interpreted as limitation of the present invention.
Claims (14)
1. a kind of method of picture in positioning picture list, which is characterized in that the described method includes:
Receive the selection of time term in time list in the sidebar of user opposite side, positioning to the time term is corresponding in picture list
Position P, wherein the time list is corresponding with the time shaft of the picture list;
Compare the relationship of current location Yu the position P, the current location is the picture institute for being currently at picture list top
Position;
If the position P is on the current location, picture list described in automatic slide downward, until the position P
Picture is shown in the position under the current location;
If the position P is under the current location, picture list described in automatic upward sliding, until the position P
Picture is shown in the position on the current location;
Wherein, if the position P is on the current location, picture list described in automatic slide downward, until institute
The picture that rheme sets P is shown in the position under the current location, comprising:
Judge the picture of the position P whether within the previous screen of the current location;
If the picture of the position P is at least picture list described in slide downward within the previous screen of the current location
The distance high no more than row, until the picture of the position P is shown in the top of screen, one in a height of picture list of row
Arrange the height of picture.
2. the method according to claim 1, wherein if the picture of the position P is in the current location
Except previous screen, then picture list described in automatic slide downward, until the picture of the position P be shown in the current location it
Under position, comprising:
At least distance of one screen of picture list described in slide downward, until the picture of the position P is shown in the current location
Previous screen within;
When the picture of the position P is within the previous screen of the current location, at least picture list described in slide downward is not
The distance high more than row, until the picture of the position P is shown in the top of screen.
3. method according to claim 1 or 2, which is characterized in that whether the picture for judging the position P is described
Include: within the previous screen of current location
Compare the value of parameter and the height of screen, the value of the parameter is that gained is poor after the current location subtracts the position P
Value and the high product of the row;
If the value of the parameter is less than the height of the screen, it is determined that the picture of the position P is in the current location
Within previous screen, otherwise, it determines the picture of the position P is except the previous screen of the current location.
If 4. the method according to claim 1, wherein the position P under the current location,
Picture list described in automatic upward sliding is wrapped until the picture of the position P is shown in the position on the current location
It includes:
Judge the picture of the position P whether within the current screen;
If the picture of the position P is to slide the picture list at least up within the current screen and be no more than row
High distance, until the picture of the position P is shown in the top of screen, row's picture in a height of picture list of row
Highly.
5. according to the method described in claim 4, it is characterized in that, if the picture of the position P be the current screen it
Outside, then picture list described in automatic upward sliding, until the picture of the position P is shown in the position on the current location
It sets, comprising:
The distance of one screen of picture list is slided at least up, until the picture of the position P is shown in the current location
Previous screen within;
When the picture of the position P is within the previous screen of the current location, the picture list is slided at least up not
The distance high more than row, until the picture of the position P is shown in the top of screen.
6. method according to claim 4 or 5, which is characterized in that whether the picture for judging the position P is described
Within current screen, comprising:
Compare the picture list position of last line and position P in current screen;
If the position of picture list last line in current screen is greater than the position P, it is determined that picture is described
Within current screen, otherwise, it determines picture is except the current screen.
7. passing through the method according to claim 1, wherein the sidebar is located on the right side of the picture list
To the operation of the handle of the sidebar to hide the sidebar or the sidebar is made to slide into screen, the sidebar is slid into
After the screen, the time list corresponding with the time shaft of the picture list is shown in the sidebar.
8. the device of picture in a kind of positioning picture list, which is characterized in that described device includes:
Locating module, for receiving the selection of time term in time list in the sidebar of user opposite side, positioning to the time term exists
Corresponding position P in picture list, wherein the time list is corresponding with the time shaft of the picture list;
Comparison module, for comparing the relationship of current location Yu the position P, the current location is to be currently at picture list
Position where the picture on top;
First shift module, if for the position P on the current location, the column of picture described in automatic slide downward
Table, until the picture of the position P is shown in the position under the current location;
Second shift module, if for the position P under the current location, the column of picture described in automatic upward sliding
Table, until the picture of the position P is shown in the position on the current location;
Wherein, first shift module includes:
First judging unit, for judging the picture of the position P whether within the previous screen of the current location;
First slide downward unit, if the picture for the position P is within the previous screen of the current location, at least
Picture list described in slide downward is no more than the high distance of row, until the picture of the position P is shown in the top of screen, the row
The height of row's picture in a height of picture list.
9. device according to claim 8, which is characterized in that first shift module further include:
Second slide downward unit, if the picture for the position P is except the previous screen of the current location, at least
The distance of one screen of picture list described in slide downward, until the picture of the position P is shown in the previous screen of the current location
Within;
Third slide downward unit, when for the picture in the position P within the previous screen of the current location, at least to
Picture list described in lower slider is no more than the high distance of row, until the picture of the position P is shown in the top of screen.
10. device according to claim 8 or claim 9, which is characterized in that first judging unit includes:
First comparing unit, for comparing the value of parameter and the height of screen, the value of the parameter is that the current location subtracts
Gained difference and the high product of the row after the position P;
First determination unit, if being less than the height of the screen for the value of the parameter, it is determined that the picture of the position P is
Within the previous screen of the current location, otherwise, it determines the picture of the position P the current location previous screen it
Outside.
11. device according to claim 8, which is characterized in that second shift module includes:
Second judgment unit, for judging the picture of the position P whether within the current screen;
First upward sliding unit, if the picture for the position P is slided at least up within the current screen
The picture list is no more than the high distance of row, until the picture of the position P is shown in the top of screen, the row is a height of described
The height of row's picture in picture list.
12. device according to claim 11, which is characterized in that second shift module further include:
Second upward sliding unit, if the picture for the position P is slided at least up except the current screen
The distance of one screen of picture list, until the picture of the position P is shown within the previous screen of the current location;
Third upward sliding unit, when for the picture in the position P within the previous screen of the current location, at least to
The upper sliding picture list is no more than the high distance of row, until the picture of the position P is shown in the top of screen.
13. device according to claim 11 or 12, which is characterized in that the second judgment unit includes:
Second comparing unit, for the picture list in current screen the position of last line and the position P;
Second determination unit, if the position for picture list last line in current screen is greater than the position P,
Determine that picture is within the current screen, otherwise, it determines picture is except the current screen.
14. device according to claim 8, which is characterized in that the sidebar is located on the right side of the picture list, passes through
To the operation of the handle of the sidebar to hide the sidebar or the sidebar is made to slide into screen, the sidebar is slid into
After the screen, the time list corresponding with the time shaft of the picture list is shown in the sidebar.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310705592.2A CN104731463B (en) | 2013-12-19 | 2013-12-19 | The method and apparatus of picture in a kind of positioning picture list |
TW103142890A TWI554937B (en) | 2013-12-19 | 2014-12-09 | Method and device for positioning image in image list |
PCT/CN2015/072651 WO2015090242A1 (en) | 2013-12-19 | 2015-02-10 | Method and device for locating a picture in a list of pictures |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310705592.2A CN104731463B (en) | 2013-12-19 | 2013-12-19 | The method and apparatus of picture in a kind of positioning picture list |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104731463A CN104731463A (en) | 2015-06-24 |
CN104731463B true CN104731463B (en) | 2019-04-12 |
Family
ID=53402132
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310705592.2A Active CN104731463B (en) | 2013-12-19 | 2013-12-19 | The method and apparatus of picture in a kind of positioning picture list |
Country Status (3)
Country | Link |
---|---|
CN (1) | CN104731463B (en) |
TW (1) | TWI554937B (en) |
WO (1) | WO2015090242A1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105528158B (en) * | 2015-12-25 | 2018-12-07 | 北京嘉和美康信息技术有限公司 | Image display method and image display apparatus |
CN107037952B (en) * | 2016-02-03 | 2020-01-24 | 腾讯科技(深圳)有限公司 | Resource display control method and device |
CN108062193A (en) * | 2017-11-27 | 2018-05-22 | 杭州布魔方空间科技股份有限公司 | Right-angled intersection sliding operation method, the apparatus and system of picture |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6268854B1 (en) * | 1997-08-14 | 2001-07-31 | Sharp Kabushiki Kaisha | Picture search device and recording medium readable for the same |
CN1804839A (en) * | 2005-01-12 | 2006-07-19 | 微软公司 | Architecture and engine for time line based visualization of data |
CN101388041A (en) * | 2008-10-21 | 2009-03-18 | 深圳市同洲电子股份有限公司 | Browsers page navigation method and system for handhold terminal |
CN102555546A (en) * | 2010-10-04 | 2012-07-11 | 索尼公司 | Information processing apparatus, information processing method, and program |
CN102999270A (en) * | 2012-11-27 | 2013-03-27 | 广东欧珀移动通信有限公司 | List display method and list display device |
CN103248739A (en) * | 2012-02-14 | 2013-08-14 | 联想(北京)有限公司 | Contact list navigation display method and device and mobile communication equipment |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI425410B (en) * | 2010-07-26 | 2014-02-01 | Pegatron Corp | Electronic device and events displaying method |
US8914743B2 (en) * | 2010-11-12 | 2014-12-16 | Apple Inc. | Device, method, and graphical user interface for navigating a list of identifiers |
CN102646120A (en) * | 2012-02-20 | 2012-08-22 | 百度在线网络技术(北京)有限公司 | File viewing method and device for mobile terminal |
-
2013
- 2013-12-19 CN CN201310705592.2A patent/CN104731463B/en active Active
-
2014
- 2014-12-09 TW TW103142890A patent/TWI554937B/en active
-
2015
- 2015-02-10 WO PCT/CN2015/072651 patent/WO2015090242A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6268854B1 (en) * | 1997-08-14 | 2001-07-31 | Sharp Kabushiki Kaisha | Picture search device and recording medium readable for the same |
CN1804839A (en) * | 2005-01-12 | 2006-07-19 | 微软公司 | Architecture and engine for time line based visualization of data |
CN101388041A (en) * | 2008-10-21 | 2009-03-18 | 深圳市同洲电子股份有限公司 | Browsers page navigation method and system for handhold terminal |
CN102555546A (en) * | 2010-10-04 | 2012-07-11 | 索尼公司 | Information processing apparatus, information processing method, and program |
CN103248739A (en) * | 2012-02-14 | 2013-08-14 | 联想(北京)有限公司 | Contact list navigation display method and device and mobile communication equipment |
CN102999270A (en) * | 2012-11-27 | 2013-03-27 | 广东欧珀移动通信有限公司 | List display method and list display device |
Also Published As
Publication number | Publication date |
---|---|
TWI554937B (en) | 2016-10-21 |
TW201525845A (en) | 2015-07-01 |
CN104731463A (en) | 2015-06-24 |
WO2015090242A1 (en) | 2015-06-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI570580B (en) | Method, computer system and computer program product for navigating among a plurality of content items in a browser | |
US20150234573A1 (en) | Methods and apparatus for organizing applications and widgets on a mobile device interface | |
US20110197165A1 (en) | Methods and apparatus for organizing a collection of widgets on a mobile device display | |
US9196227B2 (en) | Selecting techniques for enhancing visual accessibility based on health of display | |
CN104182133B (en) | Control method by sliding list and device | |
TW201246054A (en) | Information processing apparatus, information processing method, and program | |
JP2014529820A (en) | Tile array | |
CN104731463B (en) | The method and apparatus of picture in a kind of positioning picture list | |
WO2013184823A2 (en) | Mobile user interface for contextual browsing while playing digital content | |
CN104850568A (en) | Method and system for controlling display content of presentation file | |
CN109725791A (en) | A kind of processing method, mobile terminal and the storage medium of polishing desktop icons | |
US20140173442A1 (en) | Presenter view in presentation application | |
CN106814935A (en) | The application icon display methods and terminal of a kind of terminal | |
CN106502530A (en) | A kind of terminal system control group display packing and device | |
WO2012166683A2 (en) | Insertion of picture content for use in a layout | |
CN106202014A (en) | RichText Edition method, device and mobile terminal | |
KR102017283B1 (en) | The method and apparatus for displaying a plurality of applications being executed on a device | |
US11809796B2 (en) | Support device and storage medium | |
US20170220206A1 (en) | Content suggestions in a presentation program | |
CN104850312A (en) | Electronic equipment and method for processing information thereof | |
CN104298445A (en) | Interface content switching method and device | |
WO2012166681A2 (en) | Replacement of picture content in a layout | |
CN114546554B (en) | Control display method, device and equipment | |
Wals | Mastering iOS 12 Programming: Build professional-grade iOS applications with Swift and Xcode 10 | |
CN109145229A (en) | A kind of method for page jump and device |
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 |