Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following retouches
State when being related to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.
Embodiment described in following exemplary embodiment does not represent all embodiment party consistent with the disclosure
Formula.On the contrary, they are only and some aspects phase one being described in detail in such as appended claims, the disclosure
The example of the apparatus and method of cause.
It is only merely for the purpose of description specific embodiment in the term that the disclosure uses, and is not intended to be limiting this
It is open." one kind " of singulative used in disclosure and the accompanying claims book, " described " and
"the" is also intended to including most forms, unless context clearly shows that other implications.It is also understood that
Term "and/or" used herein refer to and comprising the associated list items purposes of one or more it is any or
It is possible to combine.
It will be appreciated that though various letters may be described using term first, second, third, etc. in the disclosure
Breath, but these information should not necessarily be limited by these terms.These terms are only used for same type of information area each other
Separate.For example, without departing from the scope of this disclosure, the first information can also be referred to as the second information,
Similarly, the second information can also be referred to as the first information.Depending on linguistic context, word as used in this
" if " can be construed to " ... when " or " when ... when " or " in response to determine ".
, can be to content to be displayed when content to be displayed can not be simultaneously displayed on the same page of terminal screen
Divided, each page after division is referred to as paging, and the page of current presentation is referred to as working as on a terminal screen
Preceding displaying paging, the control for identifying paging are referred to as paging control, user can trigger paging control make terminal from
Current page jumps to the paging page corresponding to paging control.For example, the keyword inputted according to user is carried out
Search obtains data to be displayed, and paging activity is carried out to data to be displayed according to the information content of data to be displayed,
Multiple pagings, the total page number of paging and each paging page number etc. are obtained, and when showing any paging,
The page turning control for page turning can be shown simultaneously, and page turning control can include upper page turning control, lower page turning control
And for identifying the paging control of each paging.
As shown in figure 1, Fig. 1 is schematic diagram when paging control is triggered in correlation technique.In the schematic diagram
In, because paging control quantity is more, the page number 1 to 9 and the page number 100 are only outputed in paging selection area
The paging control 1 to 9 and 100 of corresponding paging.When user needs to check paging corresponding to the page number 17,
User can be with the nearest paging control 9 of click distance paging control 17, and it is right that current page enters paging control 9
After the paging answered, paging control is updated, and user can be with the nearest paging control of click distance paging control 17
Part 12, after current page enters paging corresponding to paging control 12, paging control is updated, by that analogy,
When current page exports paging control 17, paging control 17 is clicked on, is switched into corresponding to paging control 17
Paging.It can be seen that check that the efficiency of paging is low, poor user experience.
In order to avoid the defects of efficiency is low is checked in paging, the application provides a kind of paging control implementation method,
After being grouped according to the total page number of paging to the paging control for identifying each paging, in current presentation paging
Default paging group control is exported, by paging group control is used to identify divided a component page control, and
And when the first default trigger event occurs for paging group control, export the component that the paging group control is identified
Page control, so that user quickly finds corresponding paging control according to paging group control, is checked so as to improve
The efficiency of paging.
As shown in Figure 2 A, Fig. 2A is one embodiment flow chart of the application paging control implementation method, should
Method can be applied on an electronic device, comprise the following steps 201 to step 203:
In step 201, the total page number of paging is obtained, is divided according to the total page number identifying each paging
Page control is grouped.
In step 202, default paging group control, each paging group control are exported in current presentation paging
Part is used to identify divided a component page control.
In step 203, when the first default trigger event occurs for the paging group control, in current presentation
The component page control that the paging group control of the described first default trigger event is identified occurs for output in paging.
Electronic equipment involved by the application can be smart mobile phone, tablet personal computer, PDA (Personal Digital
Assistant, personal digital assistant), computer, E-book reader, multimedia player etc..
On step 201, paging is the page obtained after being divided to content to be displayed, the total page number of paging
It is the total page number obtained after being divided to content to be displayed.Division to content to be displayed can be by client
End performs, and can also be performed by background server, is specifically not construed as limiting.Content to be displayed can be according to pass
The data to be displayed that the search of key word obtains, content to be displayed can also be e-book information etc..
Paging control can be used for identifying each paging, and paging control has one-to-one relationship with paging,
Then the quantity of paging control is identical with total page number, paging control can be grouped according to total page number, mesh
Be to reduce the quantity that paging control is shown in each paging., can be with when being grouped to paging control
Packet group number is first determined, paging control is grouped further according to identified packet group number.
In an optional implementation, the packet group of paging control is several according to the end for showing the paging
The size and total page number for holding screen determine.
In this embodiment it is possible to the packet of paging control is determined according to the size of terminal screen and total page number
Group number.It can be seen that the factor of influence of packet group number includes the size and total page number of terminal screen.Wherein, divide
The size of group group number and terminal screen is into positive correlation, i.e., packet group number is smaller when terminal screen is smaller,
Packet group number is larger when terminal screen is larger.Meanwhile packet group number can also close with total page number into positive correlation
System, i.e., packet group number is less when total page number is smaller, and packet group number is larger when total page number is larger.
Further, on the premise of ensureing that packet group number does not influence terminal screen display effect, according to total
Number of pages determines packet group number, so as to be not more than packet group number per the quantity of component page control after packet.
It can be seen that the embodiment can improve self application of the application to the terminal of different screen size, and
And improve bandwagon effect of the paging group control in each terminal.
In another optional implementation, the packet group number of paging control can be preset.For example,
Because the total page number of generally paging is not more than page 100, then packet group number can be fixed as 10
Group.
It can be seen that the packet group number for presetting paging control can avoid calculating the time that packet group number is brought
Waste, improve the grouping efficiency of paging control.
It is understood that the mode for determining packet group number can also be it in addition to above two mode
Its mode, such as the quantity of every component page control is preset, determined further according to total page number and predetermined number
Packet group number, is no longer limited herein.
In addition, for the larger situation of total page number, it is determined that paging control packet group number and according to really
After fixed packet group number divides to paging control, every component page control after division can be carried out again
Subdivision, so that the quantity of paging control is not more than packet group number in subdivision group, and leads in step 203
Cross the displaying of paging control in different trigger event triggering subdivision groups.
For example, total page number is page 100, paging control is determined according to the size of terminal screen and total page number
Packet group number is 5, then the quantity after being grouped for the first time per component page control is 20.In order to avoid influenceing to walk
The bandwagon effect of paging control in rapid 203, every component page control can be subdivided, such as will be every
Component page control is subdivided into four subdivision groups, and the quantity of paging control is 5 in each subdivision group, and is led to
The dynamics or time span for crossing pressing paging group control determine subdivision group to be presented.Such as pressing paging
Group control time range 0 between 3s when show the first subdivision group in paging control, press paging group
The paging control in the second subdivision group is shown when the time range of control is between 3s to 6s, presses paging group
The time range of control 6 between 9s when show the 3rd subdivision group in paging control, press paging group control
The paging control in the 4th subdivision group is shown when the time range of part is between 9s to 12s.
It can be seen that for the larger situation of total page number, every component page control can be finely divided, avoid because
For the bandwagon effect of every component page control quantity considerable influence paging control.
On step 202, paging group control is the control being shown for triggering a component page control.
Different paging group controls identify different component page controls, the packet of the quantity of paging group control with paging control
Group number is identical.
In an optional implementation, in order to distinguish different paging group controls, it can assign each
One unique identifier of paging group control, and the identifier is shown on the figure of paging group control.Wherein,
Identifier can be numeral, character string, symbol etc., as long as can unique mark paging group control.Such as
Shown in Fig. 2 B, Fig. 2 B are a kind of mark of paging group control of the application according to an exemplary embodiment
Know the schematic diagram of symbol.In the figure, the identifier of paging group control is represented with numeral.First paging group control
S1 identifier is 1, and the second paging group control S2 identifier is 2, by that analogy.
In another optional implementation, identified in order to facilitate the clearly each paging group control of user
A component page control, the page number scope of the component page control that paging group control can be identified as
The identifier of paging group control, and the identifier is shown on the figure of paging group control.Shown in Fig. 2 C,
Fig. 2 C are showing for the identifier of another paging group control of the application according to an exemplary embodiment
It is intended to.In the figure, the page number scope for the component page control that the first paging group control S3 is identified is 1~10
Page, then using 1~10 as the first paging group control S3 identifier, and in the first paging group control S3
Figure on show 1~10.The page number scope for the component page control that second paging group control S4 is identified
For page 11~20, then using 11~20 as the second paging group control S4 identifier, and in the second paging
11~20 are shown on group control S4 figure.By that analogy, repeat no more.
In an optional implementation, shown and preset by a preset pattern in current presentation paging
Paging group control.
Wherein, preset pattern can be the figure set in advance for being used to distinguish paging control.In the application
In, a paging group control can be shown by a preset pattern, can also be shown by a preset pattern
All paging group controls.For example, the situation for showing a paging group control by a preset pattern,
The figure of paging control is generally rectangular cross-section, then preset pattern be different from the triangle of rectangle, pentagon,
The shapes such as hexagon, circle.As shown in Figure 2 D, Fig. 2 D are that the application shows according to an exemplary embodiment
A kind of schematic diagram of the paging group control gone out.In the schematic diagram, preset pattern is hexagon, each paging
Group control is all shown by hexagonal pattern.
It can be seen that showing paging group control by the figure for being different from paging control, it is easy to user to distinguish paging
Control and paging group control.
Preset pattern, which can also be set in advance, can intuitively express the image for including multiple page controls, with
Just made a distinction with single page control.As Fig. 2 E, Fig. 2 E show several preset patterns, figure is preset
Shape can be tiled formed tiled pattern, or the figure with three-dimensional box by multiple Drawing Objects
Deng.In actual applications, the concrete shape of preset pattern can flexibly be set.In addition, for pre- by one
If the situation of figure one paging group control of displaying, tiled pattern quantity can not limit in tiled pattern.
For example, exemplified by the tiled pattern in Fig. 2 E is using 4 figures of tiling, in actual applications, tiling
Quantity can also be 2, other numerical value such as 5.For showing all paging groups by a preset pattern
The situation of control, the figure quantity in tiled pattern is identical with the quantity of paging group control, so as to using flat
The different graphic spread in figure shows different paging group controls.
In an optional implementation, show the multiple paging controls of mark in order to more prominent
Paging group control, preset pattern can use stack figure.Stack figure refer to by several it is identical or
The Drawing Object differed stacks formed figure in a certain order.It is for example, more as shown in Fig. 2 F
Kind stacks figure, and the figure that stacks in Fig. 2 F is shown by taking rectangle, hexagon and circle as an example respectively
Meaning.Wherein, upper strata Drawing Object can cover or not cover lower floor's Drawing Object, such as Fig. 2 F are stacked
In figure 1, upper strata rectangle can cover lower floor's rectangle, and stacking the upper strata rectangle in figure 2 can not cover
Lower floor's rectangle.Specifically stacking mode can flexibly be set in actual applications.Wherein, for being stacked by one
Figure shows the situation of a paging group control, stacks and quantity is stacked in figure can flexibly set.For
By a situation for stacking all paging group controls of figure displaying, stack and quantity is stacked in figure with paging group
Control quantity is identical, to show different paging group controls using the different graphic stacked in figure.Hereinafter
Show that the situation of each paging group control is illustrated mainly for figure is stacked by one.
In another optional implementation, show the multiple paging controls of mark in order to more prominent
The paging group control of part, preset pattern can use folding figure.Folding can be according to the page number by printed sheet
Order is folded into the sticker of books and periodicals binding size or large format printed sheet is converted into certain specification breadth as requested
The course of work.Folding figure is the figure for having folded products shape.The present embodiment can utilize folding
Figure shows all paging group controls, then the folding number in folding figure is identical with the quantity of paging group control,
When the quantity of paging group control is n, then folding figure is n folding figures.For example, as Fig. 2 G show
The folding figure gone out, in the schematic diagram, carried out so that the folding page 100 in folding figure is rectangle as an example
Example, the folding figure are 6 folding figures, can show 6 paging components by 6 folding figures.
It is understood that the folding page in folding figure can also be other shapes, such as pentagon, six
Side shape, circle etc., are not limited thereto.
On step 203, the first default trigger event is set in advance for triggering output paging group control
The event for the component page control that part is identified.
In non-touch screen terminal, the first default trigger event can be that cursor is moved into paging group control
On, and the event that double click, a mouse click middle key or specified keyboard Macintosh are triggered etc. occurs.
For example, a Macintosh is preassigned, and when the Macintosh is triggered, paging group control where triggering output cursor
The component page control that part is identified.Macintosh can not defined originally in the system such as alt keys and * keys
The Macintosh of Special Significance, is not limited thereto.And for example, when detecting that cursor is moved to paging group control
On, after middle mouse button is triggered, and detect that mouse roller to when gliding, judges paging group control hair
Raw first default trigger event, the component page control that paging group control where triggering output cursor is identified.
On touch screen terminal, the first default trigger event can be double click event, can be long-press event,
Can meet specific touch track event on paging group control, can also be and touch touching for paging group control
Area is touched more than event of preset area etc..Wherein, specific touch track is track set in advance, example
If two touch points are by closely sliding as remote track, and for example specific touch track can be default
Graphics track, such as circle track, hook symbol track.
In an optional implementation, it is pre- that the output in current presentation paging occurs described first
If the component page control that the paging group control of trigger event is identified, including:By each paging group control
Part switches to the component page control that the paging group control that the first default trigger event occurs is identified.
Wherein, understand for convenience, the paging group control that the first default trigger event occurs can be referred to as
Target paging group control, then the step is to switch to target paging group control to be marked each paging group control
The component page control known.
It can be seen that display paging group control and paging control during the embodiment difference, can save display control
The interface shape of occupancy, especially for the small screen terminal, avoid showing that control takes larger space and influenceed
The bandwagon effect of content to be displayed.
Further, the upper level of level where level where paging group control being referred to as into paging control,
, can be in default return upper level condition in order to quickly return to upper level from level where paging control
When meeting, each paging control in current presentation paging is switched into each paging group control.
Wherein, default return upper level condition refers to set in advance from current level return last layer level
Condition.For example, the default upper level condition that returns can be that middle mouse button is triggered and mouse rolls
Wheel upward sliding or default Macintosh are triggered, and can also be default return upper level control
It is triggered.
It is triggered for returning to upper level condition to return to upper level control, it is pre- to occur described first in output
If during the component page control that the paging group control of trigger event is identified, output returns to upper level control,
When return upper level control is triggered, each paging control in current presentation paging can be switched
For each paging group control.As illustrated in figure 2h, Fig. 2 H are that the application shows according to an exemplary embodiment
Schematic diagram when a kind of paging group control gone out is triggered.In the schematic diagram, second paging group control
When being triggered, each paging group control is switched into the component page control 11 that the second paging group control identified
To 20, and export and return to upper level control.When return upper level control is triggered, by current paging control
The switchback of part 11 to 20 is that each paging group control is shown.In the schematic diagram, figure is stacked using rectangle
Show each paging group control.
In another optional implementation, the output in current presentation paging occurs described first
The component page control that the paging group control of default trigger event is identified, including:It is default occurring first
Designated area corresponding to the paging group control of trigger event, export each paging that the paging group control is identified
Control.
Wherein, designated area corresponding to each paging group control can also may be used with identical in current presentation paging
To differ.
It can be seen that the embodiment can simultaneously display paging group control and paging control, avoid from paging group control
Part level switches to paging control level, or caused by paging control level returns to paging group control level
Time wastes, so that user quickly selects paging control.
, can be real using combobox control in designated area in order to reduce the space-consuming of display paging control
Each paging control that the paging group control is identified now is exported, user can select phase from combobox control
The page number is answered, and is triggered into paging corresponding to the page number.As shown in figure 2i, Fig. 2 I be the application according to
Schematic diagram when another paging group control shown in one exemplary embodiment is triggered.In the schematic diagram,
Each paging control for exporting the paging group control and being identified is realized by combobox control.In the schematic diagram,
8 paging group controls are suppose there is, then show all paging group controls, 8 folding figures using 8 folding figures
One paging group control of a folding page representation in shape.In addition, the specific implementation hand for combobox
Section can use the implementation method in correlation technique, will not be repeated here.
In order to further reduce the space-consuming of display paging control, can be rolled in designated area by the page
Dynamic control of choosing realizes each paging control that the output paging group control is identified.As shown in fig. 2j, scheme
2J is signal when another paging group control of the application according to an exemplary embodiment is triggered
Figure.In the schematic diagram, show under non-tactile terminal, control is chosen by page scroll and realizes output
Each paging control that the paging group control is identified.When cursor is placed on page scroll selection control by user,
It can choose each paging control in control with the roller on sliding mouse to roll the page scroll, realize not
Selected with paging.In addition, in the schematic diagram, figure is stacked using circle and shows each paging group control.Pin
The specific implementation means that control is chosen to page scroll can be using the implementation method in correlation technique, herein
Repeat no more.
It is understood that it can also be exported using other modes in designated area corresponding to paging group control
Each paging control that the paging group control is identified, this is no longer going to repeat them.
In an optional implementation, it is different pre- that different paging group controls is additionally operable to mark one
If paging, methods described also includes:When the second default trigger event occurs for the paging group control, jump
Go to and the default paging that the paging group control of the described second default trigger event is identified occurs.
Wherein, the second default trigger event is the trigger events different from the first default trigger event.First
Default trigger event is the component page control set in advance for being used for triggering output paging group control and being identified
Event.Second default trigger event is set in advance for triggering page jump to paging group control institute
The event of the default paging of mark.For example, the second default trigger event is click event, first is default tactile
Hair event is double click event, when user click paging group control, jumps to the paging group control and is identified
Default paging, when user double-click paging group control when, the paging group control is exported in current presentation paging
The component page control that part is identified.
Wherein, default paging can be the paging of fixed setting.Default paging can also be according to history number
The paging or the higher paging of frequency is checked by historic user that user's preferences according to statistics are checked.For example,
The same content to be displayed gone out according to same keyword search, counts in historic user check in advance
The higher paging of frequency, such as the page number of high-frequency paging is 1,5,7,11,17,25, then will
The page number of the default paging of each paging group control is respectively set to 1,5,7,11,17,25.
It can be seen that different operations can be triggered by different trigger conditions, so that user can be direct
Default paging is checked, improves the efficiency for checking default paging.
In an optional implementation, it can use and stack each paging group control of images outputting, with table
Show that the control is the paging group control comprising multiple paging controls, and the display paging group control on figure is stacked
The page number of paging is preset corresponding to part.As shown in figure 2k, Fig. 2 K are the application according to an exemplary reality
Apply the schematic diagram of another paging group control exemplified.In the schematic diagram, preset pattern stacks for rectangle
Figure.By order from left to right, the page number that paging is preset corresponding to each paging group control is respectively 1,
2、3、4、5、6、7、8、9、10。
Further, can in order that each paging component that the more clearly each paging group control of user is identified
Each paging group control of images outputting is stacked to use, to represent the control as point comprising multiple paging controls
Page group control, and the page number of default paging and paging corresponding to display paging group control on figure is stacked
The page number scope of control.As shown in figure 2l, Fig. 2 L are the application according to an exemplary embodiment
Another schematic diagram of paging group control.In the schematic diagram, preset pattern is that rectangle stacks figure.By from
Order from left to right, the page number that paging is preset corresponding to each paging group control is respectively 1,2,3,4,
5、6、7、8、9、10;The page number scope of a component page control is respectively corresponding to each paging group control
1-10、11-20、21-30、31-40、41-50、51-60、61-70、71-80、81-90、91-100。
It can be seen that the implication representated by the more clearly each paging group control of user can be made in this way, it is convenient
User operates.
Various technical characteristics in embodiment of above can be arbitrarily combined, as long as the group between feature
Close in the absence of conflict or contradiction, but as space is limited, do not described one by one, therefore above-mentioned embodiment
In any of various technical characteristics be combined the scope for falling within this disclosure.
Corresponding with the embodiment of the application paging control implementation method, present invention also provides paging control
The embodiment of realization device and client device.
The embodiment of the application paging control realization device can be applied to be set in the various clients with screen
It is standby upper, for example, the client device can include mobile phone, tablet personal computer, PC etc..Wherein, device is real
Applying example can be realized by software, can also be realized by way of hardware or software and hardware combining.With soft
It is the processing by client device where it as the device on a logical meaning exemplified by part is realized
Corresponding computer program instructions in nonvolatile memory 320 are read in internal memory 330 and transported by device 310
What row was formed.For hardware view, as shown in figure 3, where the application paging control realization device
A kind of hardware structure diagram of client device, except the processor 310 shown in Fig. 3, internal memory 330, network
Outside interface 340 and nonvolatile memory 320, the client device in embodiment where device
Generally according to the actual functional capability of the equipment, other hardware can also be included, no longer shown one by one in Fig. 3.
Referring to Fig. 4, for one embodiment block diagram of the application paging control realization device:
The device includes:Grouping module 410, the first output module 420 and the second output module 430.
Wherein, grouping module 410, for obtaining the total page number of paging, according to the total page number to mark
The paging control of each paging is grouped.
First output module 420, for exporting default paging group control in current presentation paging, often
Individual paging group control is used to identify divided a component page control.
Second output module 430, for when the first default trigger event occurs for the paging group control,
The paging group control of the described first default trigger event of output generation is identified in current presentation paging one
Component page control.
In an optional implementation, first output module 420 includes displaying submodule.
Wherein, submodule is shown, it is default for being shown in current presentation paging by a preset pattern
Paging group control;The preset pattern includes stacking figure, folding figure.
In an optional implementation, second output module 430 includes switching submodule.
Wherein, switching submodule, for when the first default trigger event occurs for the paging group control,
Each paging group control is switched to one that the paging group control that the first default trigger event occurs is identified
Component page control.
In an optional implementation, the switching submodule, it is additionally operable to one in default return
When level condition meets, each paging control in current presentation paging is switched into each paging group control
Part.
In an optional implementation, second output module includes output sub-module.
Wherein, output sub-module, for occurring corresponding to the paging group control of the first default trigger event
Designated area, export each paging control that the paging group control is identified.
In an optional implementation, it is different pre- that different paging group controls is additionally operable to mark one
If paging, described device also includes page jump module.
Wherein, page jump module, for when the second default trigger event occurs for the paging group control,
Jump to and the default paging that the paging group control of the described second default trigger event is identified occurs.
In an optional implementation, the packet group of the paging control is several according to the displaying paging
Terminal screen size and the total page number determine.
Based on this, the application also provides a kind of client device, including:
Processor;For storing the memory of the processor-executable instruction;
Wherein, the processor is configured as:
The total page number of paging is obtained, the paging control for identifying each paging is divided according to the total page number
Group.
Default paging group control is exported in current presentation paging, each paging group control is used to identify institute
One component page control of division.
When the first default trigger event occurs for the paging group control, hair is exported in current presentation paging
The component page control that the paging group control of raw described first default trigger event is identified.
The function of unit and the implementation process of effect specifically refer to corresponding in the above method in said apparatus
The implementation process of step, will not be repeated here.
For device embodiment, because it corresponds essentially to embodiment of the method, so related part is joined
See the part explanation of embodiment of the method.Device embodiment described above is only schematical,
The wherein described unit illustrated as separating component can be or may not be it is physically separate, make
It can be for the part that unit is shown or may not be physical location, you can with positioned at a place,
Or it can also be distributed on multiple NEs.Can select according to the actual needs part therein or
Person's whole module realizes the purpose of application scheme.Those of ordinary skill in the art are not paying creativeness
In the case of work, you can to understand and implement.
As seen from the above-described embodiment, the paging control for identifying each paging is entered in the total page number according to paging
After row packet, default paging group control is exported in current presentation paging, because paging group control is used for
The divided component page control of mark, and when the first default trigger event occurs for paging group control,
The component page control that the paging group control is identified is exported, so that user is quick according to paging group control
Corresponding paging control is found, so as to improve the efficiency for checking paging.
Those skilled in the art will readily occur to this after considering specification and putting into practice invention disclosed herein
Other embodiments of application.The application is intended to any modification, purposes or the adaptability of the application
Change, these modifications, purposes or adaptations follow the general principle of the application and including this Shens
Please undocumented common knowledge or conventional techniques in the art.Description and embodiments only by
It is considered as exemplary, the true scope of the application and spirit are pointed out by following claim.
It should be appreciated that the application be not limited to be described above and be shown in the drawings it is accurate
Structure, and various modifications and changes can be being carried out without departing from the scope.Scope of the present application is only by institute
Attached claim limits.