Summary of the invention
Based on this, be necessary to provide a kind of page control method that can improve operational convenience.
In addition, be also necessary to provide a kind of page control system that can improve operational convenience.
A kind of page control method, comprises the steps:
By user in paging device graphical control, the operation of slip control is obtained the indication range of the page and shows length;
Carry out page loading according to described indication range and demonstration length;
Show the page of described loading.
In an embodiment, described user comprises slide to the operation of slip control therein, and the described indication range that by user in paging device graphical control, the operation of slip control is obtained the page comprises with the step that shows length:
Obtain the slide of user to slip control by paging device graphical control, make described slip control follow described slide and slide in the page number button of described paging device graphical control;
Indication range using the parent page corresponding page number button of described slip control stop as the described page;
According to described slip control the dwell regions of described page number button obtain described parent page corresponding choose length, by the described demonstration length of choosing length and obtain the described page.
Therein in an embodiment, described user comprises the size adjustment operation of described slip control to the operation of slip control, described according to described slip control the dwell regions of described page number button obtain described parent page corresponding choose length, also comprise before choosing the step of demonstration length that length obtains the described page by described:
The page button that according to described user, the size adjustment of slip control is operated in described paging device graphical control is carried out size adjustment to the slip control stopping, and makes described dwell regions by corresponding adjustment.
In an embodiment, described step of carrying out page loading according to described indication range and demonstration length comprises therein:
Initiate page load request according to described indication range and demonstration length;
Receive the parent page data of returning according to described page load request, and load described parent page data.
Therein in an embodiment, the parent page data that described reception is returned according to described page load request, and also comprise before loading the step of described parent page data:
Choose in the parent page data of server stores according to the page load request receiving, with the parent page data that obtain conforming to the indication range of the described page, and in the parent page data that the described parent page extracting data obtaining and described demonstration length match, return to the parent page data of described extraction.
A kind of page control system, comprising:
Operational processes module, for being obtained the indication range of the page and show length the operation of slip control by paging device graphical control user;
Load-on module, for carrying out page loading according to described indication range and demonstration length;
Display module, for showing the page of loading.
In an embodiment, described user comprises slide to the operation of slip control therein, and described operational processes module comprises:
Sliding unit, for obtain the slide of user to slip control by paging device graphical control, makes described slip control follow described slide and slides in the page number button of described paging device graphical control;
Scope setting unit, for the indication range using the parent page corresponding page number button of described slip control stop as the page;
Length setting unit, for according to described slip control the dwell regions of described page number button obtain described parent page corresponding choose length, by the described demonstration length of choosing length and obtain the described page.
In an embodiment, described user comprises the size adjustment operation of described slip control to the operation of slip control therein, and described operational processes module also comprises:
Adjustment unit, carries out size adjustment for the page button that according to described user, the size adjustment of slip control is operated in described paging device graphical control to the slip control stopping, and makes described dwell regions by corresponding adjustment.
In an embodiment, described load-on module comprises therein:
Request initiating cell, for initiating page load request according to described indication range and demonstration length;
Receive loading unit, for receiving the parent page data of returning according to described page load request, and load described parent page data.
In an embodiment, also comprise therein:
Server, for choosing in the parent page data of storage according to the page load request receiving, with the parent page data that obtain conforming to the indication range of the described page, and in the parent page data that the described parent page extracting data obtaining and described demonstration length match, return to the parent page data of described extraction.
Above-mentioned page control method and system, in paging device graphical control, just can obtain the indication range of the page and show length the operation of slip control by user, and then carry out loading and the demonstration of the page according to this indication range and demonstration length, compared with prior art, can be according to user the operation page to slip control indication range and show that length is set to the latter half of current page and the first half of next page, and then form the new page by the latter half of current page and the first half of next page and load and show, for user, only need to slip control be operated and can be realized, simplify widely operation, operational convenience and agility are improved.
Embodiment
As shown in Figure 1, in one embodiment, a kind of page control method, comprises the steps:
Step S110, is obtained the indication range of the page and shows length the operation of slip control by user in paging device graphical control.
In the present embodiment, paging device graphical control comprises multiple page number buttons of knowing clearly, and each page number button is corresponding with parent page, and the page number at parent page place is also consistent with this page number button.In a preferred embodiment, parent page is stored in the webserver, and the page showing according to the page number of user's request of loading.
By the page shown to the operation of slip control of user in paging device graphical control, be, via user, the operation of slip control is chosen to the obtained page to the content in several parent pages, this page is made up of the content of choosing out in several parent pages.
Step S130, carries out page loading according to indication range and demonstration length.
In the present embodiment, indication range has been indicated the current Data Source that carries out page loading, load data from parent page, show that length further indicated needed data for page loading and will be which part in parent page, and then realize page loading accurately, can in the page loading and show, browse to needed content so that obtain user.
Step S150, shows the page loading.
In the present embodiment, according to indication range with show that the page that forms of length is shown in the client that user uses, the indication range of this page and show that length is all self-defined settings of operation to slip control by user, therefore realized user's choosing parent page by paging device graphical control and slip control, and then realize the self-defined setting of content of pages and length, the dirigibility that has improved user's browsing pages according to the parent page of choosing.
As shown in Figure 2, in one embodiment, the detailed process of above-mentioned steps S110 is:
Step S111, obtains the slide of user to slip control by paging device graphical control, and the control that makes to slide is followed slide and slided in the page number button of paging device graphical control.
In the present embodiment, as shown in Figure 3, in paging device graphical control, set gradually multiple page number buttons 310, and on page number button 310, be also provided with the slip control 330 that can arbitrarily slide.User can directly click arbitrary page number button to load and to show the corresponding parent page of this page number button, for example, if user clicks page number button " 3 ", directly loads the parent page that the page number is " 3 ".
If desired show a part of content of a certain parent page, or some continuous content in multiple parent page, for example, the page number is parent page the latter half content of " 3 " and parent page the first half content that the page number is " 4 ", user follows slide by the control that makes to slide by the slide of slip control and slides on page number button, and stays on page number button corresponding to the parent page of required demonstration.
Step S113, the indication range using the parent page corresponding page number button of slip control stop as the page.
In the present embodiment, the page number button stopping according to slip control can obtain user-selected parent page of getting, and then knows content in the page is in which parent page.For example, as shown in Figure 3, slip control stays on page number button " 3 " and page number button " 4 ", and therefore, the parent page that the parent page that the page number is " 3 " and the page number are " 4 " is the indication range of the page.
Further, as required, the slip control arranging in paging device graphical control is not limited in one, to facilitate user to choose discontinuous parent page, to show the content in discontinuous parent page in the self-defining page.
Step S115, according to slip control the dwell regions of page number button obtain parent page corresponding choose length, choose length and obtain the demonstration length of the page by this.
In the present embodiment, after knowing the indication range of the page, also by further determining in the parent page within indication range, which content will be put in the page, to obtain this self-defining page, and show.As shown in Figure 3, the region occupying in page button according to slip control, dwell regions can obtain in corresponding parent page the corresponding length of choosing, and this has chosen length mark is which by user-selected content of getting in parent page.
In Fig. 3, the dwell regions of slip control comprises the whole of the latter half of page number button " 3 " and page number button, now, the corresponding page number is the latter half of choosing length and be this parent page corresponding to the parent page of " 3 ", the length of choosing corresponding to parent page that the page number is " 4 " is the whole of this parent page, and two corresponding length of choosing of parent page will form the demonstration length of the user-defined page.
Further, can be by dwell regions ratio between the width on page number button and page number button width, or ratio between length and the page number button length of dwell regions on page number button is as the length of choosing of parent page, for example, if the ratio between width and the page number button width of dwell regions on page number button is 1/2nd, illustrate that the length of choosing of parent page is 1/2nd content in parent page.
If page number button is landscape layout in paging device graphical control, applying the width of dwell regions in page button weighs, if page number button carries out longitudinal layout in paging device graphical control, applying the length of dwell regions in page button weighs, arrange according to actual conditions, do not limit at this.
In another embodiment, user comprises the size adjustment operation of slip control to the operation of slip control, before above-mentioned steps S115, also comprise: the page button that according to user, the size adjustment of slip control is operated in paging device graphical control is carried out size adjustment to the slip control stopping, and makes dwell regions by corresponding adjustment.
In the present embodiment, also can adjust the size of slip control, and then realize the further adjustment that shows length.For example, user can be by dragging the size of edge adjustment slip control of slip control.
As shown in Figure 4, in one embodiment, the detailed process of above-mentioned steps S130 is:
Step S131, initiates page load request according to indication range and demonstration length.
In the present embodiment, in the operation setting by user the corresponding indication range of the self-defining page and while showing length, will generate corresponding page load request, and send in the server on backstage.
Further, in order to ensure user's accurate control, trigger by operating by user generation and the transmission of carrying out page load request, for example, this user's operation can be the double click operation to slip control, can be also other operation, does not limit at this.
Step S133, receives the parent page data of returning according to page load request, and loads parent page data.
In the present embodiment, the parent page data that the server on reception backstage returns according to page load request, the parent page data that this returns are to choose and obtain according to the indication range in page load request and demonstration length.
In another embodiment, before above-mentioned steps S133, also comprise: choose in the parent page data of server stores according to the page load request receiving, with the parent page data that obtain conforming to the indication range of the page, and in the parent page extracting data obtaining and the parent page data that show that length matches, return to the parent page data of extraction.
In the present embodiment, the server on backstage, after receiving the page load request of initiation, will be chosen raw data according to the indication range in page load request and demonstration length, and then obtained in this indication range, and the parent page data that conform to demonstration length, and return.
As shown in Figure 5, in one embodiment, above-mentioned page control system comprises operational processes module 110, load-on module 130 and display module 150.
Operational processes module 110, for being obtained the indication range of the page and show length the operation of slip control by paging device graphical control user.
In the present embodiment, paging device graphical control comprises multiple page number buttons of knowing clearly, and each page number button is corresponding with parent page, and the page number at parent page place is also consistent with this page number button.In a preferred embodiment, parent page is stored in the webserver, and the page showing according to the page number of user's request of loading.
By the page shown to the operation of slip control of user in paging device graphical control, be, via user, the operation of slip control is chosen to the obtained page to the content in several parent pages, this page is made up of the content of choosing out in several parent pages.
Load-on module 130, for carrying out page loading according to indication range and demonstration length.
In the present embodiment, indication range has been indicated the current Data Source that carries out page loading, load data from parent page, show that length further indicated needed data for page loading and will be which part in parent page, and then realize page loading accurately, can in the page loading and show, browse to needed content so that obtain user.
Display module 150, for showing the page of loading.
In the present embodiment, display module 150 is according to indication range and show that the page that forms of length is shown in the client that user uses, the indication range of this page and show that length is all self-defined settings of operation to slip control by user, therefore realized user's choosing parent page by paging device graphical control and slip control, and then realize the self-defined setting of content of pages and length, the dirigibility that has improved user's browsing pages according to the parent page of choosing.
As shown in Figure 6, in one embodiment, above-mentioned user comprises slide to the operation of slip control, and aforesaid operations processing module 110 comprises sliding unit 111, scope setting unit 113 and length setting unit 115.
Sliding unit 111, for being obtained the indication range of the page and show length the operation of slip control by paging device graphical control user.
In the present embodiment, in paging device graphical control, set gradually multiple page number buttons, and on page number button, be also provided with the slip control that can arbitrarily slide.User can directly click arbitrary page number button to load and to show the corresponding parent page of this page number button, for example, if user clicks page number button " 3 ", directly loads the parent page that the page number is " 3 ".
If desired show a part of content of a certain parent page, or some continuous content in multiple parent page, for example, the page number is parent page the latter half content of " 3 " and parent page the first half content that the page number is " 4 ", sliding unit 111 is followed slide by the control that makes to slide by the slide of slip control and is slided on page number button, and stays on page number button corresponding to the parent page of required demonstration.
Scope setting unit 113, for the indication range using the parent page corresponding page number button of slip control stop as the page.
In the present embodiment, the page number button that scope setting unit 113 stops according to slip control can obtain user-selected parent page of getting, and then knows content in the page is in which parent page.For example, as shown in Figure 3, slip control stays on page number button " 3 " and page number button " 4 ", and therefore, the parent page that the parent page that the page number is " 3 " and the page number are " 4 " is the indication range of the page.
Further, as required, the slip control arranging in paging device graphical control is not limited in one, to facilitate user to choose discontinuous parent page, to show the content in discontinuous parent page in the self-defining page.
Length setting unit 115, for according to slip control the dwell regions of page button obtain parent page corresponding choose length, obtain the demonstration length of the page by choosing length.
In the present embodiment, after knowing the indication range of the page, length setting unit 115, also by further determining in the parent page within indication range, which content will be put in the page, to obtain this self-defining page, and shows.The region that length setting unit 115 occupies in page button according to slip control, dwell regions can obtain in corresponding parent page the corresponding length of choosing, and this has chosen length mark is which by user-selected content of getting in parent page.
For example, the dwell regions of slip control comprises the whole of the latter half of page number button " 3 " and page number button, now, the corresponding page number is the latter half of choosing length and be this parent page corresponding to the parent page of " 3 ", the length of choosing corresponding to parent page that the page number is " 4 " is the whole of this parent page, and two corresponding length of choosing of parent page will form the demonstration length of the user-defined page.
Further, length setting unit 115 can be by dwell regions ratio between the width on page number button and page number button width, or ratio between length and the page number button length of dwell regions on page number button is as the length of choosing of parent page, for example, if the ratio between width and the page number button width of dwell regions on page number button is 1/2nd, illustrate that the length of choosing of parent page is 1/2nd content in parent page.
If page number button is landscape layout in paging device graphical control, applying the width of dwell regions in page button weighs, if page number button carries out longitudinal layout in paging device graphical control, applying the length of dwell regions in page button weighs, arrange according to actual conditions, do not limit at this.
In another embodiment, above-mentioned user comprises the size adjustment operation of slip control to the operation of slip control, and aforesaid operations processing module 110 also comprises adjustment unit.This adjustment unit carries out size adjustment for the page button that according to user, the size adjustment of slip control is operated in paging device graphical control to the slip control stopping, and makes dwell regions by corresponding adjustment.
In the present embodiment, operational processes module 110 also can be adjusted the size of slip control, and then realizes the further adjustment that shows length.For example, user can be by dragging the size of edge adjustment slip control of slip control.
As shown in Figure 7, in one embodiment, above-mentioned load-on module 130 comprises request initiating cell 131 and receives loading unit 133.
Request initiating cell 131, for initiating page load request according to indication range and demonstration length.
In the present embodiment, in the operation setting by user the corresponding indication range of the self-defining page and while showing length, request initiating cell 131 will generate corresponding page load request, and send in the server on backstage.
Further, in order to ensure user's accurate control, carry out generation and the transmission of page load request by operate trigger request initiation unit 131 by user, for example, this user's operation can be the double click operation to slip control, can be also other operation, does not limit at this.
Receive loading unit 133, for receiving the parent page data of returning according to page load request, and load parent page data.
In the present embodiment, receive loading unit 133 and receive the parent page data that the server on backstage returns according to page load request, the parent page data that this returns are according to the indication range in page load request and show that length is chosen and obtain.
In another embodiment, above-mentioned page control system also comprises server.This server is for choosing to obtain to conform to the indication range of the page and parent page data in the parent page data of storage according to the page load request receiving, and in the parent page extracting data obtaining and the parent page data that show that length matches, return to the parent page data of extraction.
In the present embodiment, the server on backstage, after receiving the page load request of initiation, will be chosen raw data according to the indication range in page load request and demonstration length, and then obtained in this indication range, and the parent page data that conform to demonstration length, and return.
Above-mentioned page control method and system, in paging device graphical control, just can obtain the indication range of the page and show length the operation of slip control by user, and then carry out loading and the demonstration of the page according to this indication range and demonstration length, compared with prior art, can be according to user the operation page to slip control indication range and show that length is set to the latter half of current page and the first half of next page, and then form the new page by the latter half of current page and the first half of next page and load and show, for user, only need to slip control be operated and can be realized, simplify widely operation, operational convenience and agility are improved.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, can carry out the hardware that instruction is relevant by computer program to complete, described program can be stored in a computer read/write memory medium, this program, in the time carrying out, can comprise as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
The above embodiment has only expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.