CN106055612A - Data paging display method and terminal equipment - Google Patents
Data paging display method and terminal equipment Download PDFInfo
- Publication number
- CN106055612A CN106055612A CN201610356513.5A CN201610356513A CN106055612A CN 106055612 A CN106055612 A CN 106055612A CN 201610356513 A CN201610356513 A CN 201610356513A CN 106055612 A CN106055612 A CN 106055612A
- Authority
- CN
- China
- Prior art keywords
- data
- data message
- play amount
- message
- page
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/904—Browsing; Visualisation therefor
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention provides a data paging display method and terminal equipment. The method comprises following steps: requesting a data server to obtain offset amount of data information from P*K to P*K+K after obtaining a next-page search instruction inputted in a current page by a user according to the current page P and maximum data information K displayed by the current page, requesting the data server to obtain offset amount of data information from 0 to P*K +K on the condition that data information is shared by data information with offset amount from P*K to P*K +K and data information of P*K obtained by the terminal equipment and determining data information wherein data information with offset amount from 0 to P*K +K and data information obtained data information of P*K are different as to-be-displayed data information corresponding to the next page. The data paging display method and the terminal equipment are used for preventing repeated display of data information to the user.
Description
Technical field
The present embodiments relate to Internet technical field, particularly relate to a kind of data page display packing and terminal sets
Standby.
Background technology
Along with the development of information technology, data server (such as instant comments information server) can provide a user with
Data message also get more and more, for the ease of checking, with the form of paging, user generally checks that data take in terminal unit
Data message in business device.
Can store a plurality of data message in data server, this plurality of data message is according to generating the moment from the near to the remote
Order is ranked up being formed data message queue, and the data that the possible increase generation moment is up-to-date at any time in data server
Information.During user checks data message by terminal unit, the number that can show in a page of terminal unit
It is believed that (such as 10) that the bar number of breath is usually fixed, when user needs to check more data message, user can be right
" lower one page " button of current page carries out clicking operation, and terminal unit can show according to page number P and a page of current page
Real maximum data information bar number K, obtains P*K to P*K+K data message in message queue to data server requests, and
On next page, this P*K to P*K+K data message is displayed to the user that at terminal unit.
But, if during user browses the data message of current page, data server adds new number
It is believed that breath, then the data message that the data message shown in next page and current page are shown includes the data letter repeated
Breath so that poor user experience.
Summary of the invention
The embodiment of the present invention provides a kind of data page display packing and terminal unit, is used for avoiding showing repetition to user
Data message.
First aspect, the embodiment of the present invention provides a kind of data page display packing, is applied to terminal unit, described method
Including:
Getting user after the nextpage that current page inputs checks instruction, according to the page number P of described current page and
Described current page displayable maximum data Information Number K, obtaining side-play amount to data server requests is P*K's to P*K+K
Data message, described P is the integer more than or equal to 1, and described K is the integer more than or equal to 1;
The P*K bar number obtained with described terminal unit in determining the data message that described side-play amount is P*K to P*K+K
It is believed that time breath exists identical data message, obtain, to described data server requests, the data letter that side-play amount is 0 to P*K+K
Breath;
By in data message that side-play amount is 0 to P*K+K and the number that differs of the described P*K data information obtained
It is believed that breath is defined as the data to be displayed information that the next page of described current page is corresponding.
In a kind of possible embodiment, described to data server requests obtain side-play amount be the number of P*K to P*K+K
It is believed that breath, including:
Sending the first data request information to described data server, described first data request information includes inclined first
Shifting amount and the first data message number, described first side-play amount is P*K, and described first data message number is K;
Receiving the first data response message that described data server sends, described first data response message includes institute
State the data message that side-play amount is P*K to P*K+K.
In alternatively possible embodiment, described to described data server requests obtain side-play amount be 0 to P*K+K
Data message, including:
Sending the second data request information to described data server, described second data request information includes inclined second
Shifting amount and the second data message number, described second side-play amount is 0, and described second data message number is P*K+K;
Receiving the first data response message that described data server sends, described first data response message includes institute
State the data message that side-play amount is 0 to P*K+K.
In alternatively possible embodiment, described by data message that side-play amount is 0 to P*K+K and described
The data message that the P*K data information obtained differs is defined as the data to be displayed information that described next page is corresponding, bag
Include:
Respectively by mark and the described P*K data letter obtained of data message that described side-play amount is 0 to P*K+K
The mark of breath contrasts, to obtain in the data message that described side-play amount is 0 to P*K+K and the described P*K bar number obtained
It is believed that the data message that breath differs;
Differ in data message that described side-play amount is 0 to P*K+K with the described P*K data information obtained
Data message be defined as the data to be displayed information that described next page is corresponding.
In alternatively possible embodiment, by data message that described side-play amount is 0 to P*K+K with described
The data message that the P*K data information obtained differs be defined as data to be displayed information corresponding to described next page it
After, also include:
Obtain the side-play amount of each described data to be displayed information;
The order being incremented by according to described side-play amount, shows each described data to be displayed information in described next page.
Second aspect, the embodiment of the present invention provides a kind of terminal unit, including:
First acquisition module, for getting user after the nextpage that current page inputs checks instruction, according to described
The page number P and described current page displayable maximum data Information Number K of current page, obtains skew to data server requests
Amount is the data message of P*K to P*K+K, and described P is the integer more than or equal to 1, and described K is the integer more than or equal to 1;
Second acquisition module, for setting with described terminal in determining the data message that described side-play amount is P*K to P*K+K
When the standby P*K data information obtained exists identical data message, obtain side-play amount to described data server requests
It it is the data message of 0 to P*K+K;
Determine module, for by data message that side-play amount is 0 to P*K+K and the described P*K data letter obtained
The data message that differs of breath is defined as the data to be displayed information that the next page of described current page is corresponding.
In a kind of possible embodiment, it is single that described first acquisition module includes that the first transmitting element and first receives
Unit, wherein,
Described first transmitting element is used for, and sends the first data request information, described first number to described data server
Including inclined first shifting amount and the first data message number according to request message, described first side-play amount is P*K, described first data
Information number is K;
Described first receives unit is used for, and receives the first data response message that described data server sends, and described the
One data response message includes the data message that described side-play amount is P*K to P*K+K.
In alternatively possible embodiment, it is single that described second acquisition module includes that the second transmitting element and second receives
Unit, wherein,
Described second transmitting element is used for, and sends the second data request information, described second number to described data server
Including inclined second shifting amount and the second data message number according to request message, described second side-play amount is 0, described second data letter
Breath number is P*K+K;
Described second receives unit is used for, and receives the first data response message that described data server sends, and described the
One data response message includes the data message that described side-play amount is 0 to P*K+K.
In alternatively possible embodiment, described determine module specifically for:
Respectively by mark and the described P*K data letter obtained of data message that described side-play amount is 0 to P*K+K
The mark of breath contrasts, to obtain in the data message that described side-play amount is 0 to P*K+K and the described P*K bar number obtained
It is believed that the data message that breath differs;
Differ in data message that described side-play amount is 0 to P*K+K with the described P*K data information obtained
Data message be defined as the data to be displayed information that described next page is corresponding.
In alternatively possible embodiment, described terminal unit also includes the 3rd acquisition module and display module, its
In,
Described 3rd acquisition module is used for, and determines that described side-play amount is the data message of 0 to P*K+K by module described
In be defined as corresponding to be shown of described next page with the data message that the described P*K data information obtained differs
After data message, obtain the side-play amount of each described data to be displayed information;
Described display module is used for, the order being incremented by according to described side-play amount, shows each described in described next page
Data to be displayed information.
The data page display packing of embodiment of the present invention offer and terminal unit, get user at terminal unit and working as
After the nextpage of front page input checks instruction, it is P*K's to P*K+K that terminal unit obtains side-play amount to data server requests
Data message, and judge in the P*K data information that data message that side-play amount is P*K to P*K+K and terminal unit have obtained
Whether there is identical data message, if existing, then terminal unit obtains side-play amount to data server requests is 0 to P*K+K
Data message, and the number that the P*K data information in data message that side-play amount is 0 to P*K+K and obtained is differed
It is believed that breath is defined as the data to be displayed information that next page is corresponding so that data to be displayed information and the many data obtained
Information do not exists identical data message, it is to avoid show the data message of repetition to user and then improve Consumer's Experience.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is this
Some bright embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to
Other accompanying drawing is obtained according to these accompanying drawings.
The application scenarios schematic diagram of the data page display packing that Fig. 1 provides for the present invention;
The schematic flow sheet of the data page display packing that Fig. 2 provides for the present invention;
The flow chart of the determination data to be displayed information approach that Fig. 3 provides for the present invention;
The structural representation one of the terminal unit that Fig. 4 provides for the present invention;
The structural representation two of the terminal unit that Fig. 5 provides for the present invention.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
The a part of embodiment of the present invention rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under not making creative work premise, broadly falls into the scope of protection of the invention.
The application scenarios schematic diagram of the data page display packing that Fig. 1 provides for the present invention, refers to Fig. 1, including data
Server 101 and terminal unit 102, in data server 101 storage have a plurality of data message, this plurality of data message according to
Generating moment order from the close-by examples to those far off to arrange, to form data message queue, terminal unit 102 can be computer cell phone etc.
Equipment, can check the data message in data server 101 in terminal unit 102, at a page of terminal unit 102
In the bar number of displayable data message usually fixing, when user needs to check more data message in data server
Time, user can carry out clicking operation to " lower one page " button in current page, to obtain more to data server requests
Data message, and show on next page.In this application, the data message shown in next page is with current
The data message that the page shows does not includes the data message repeated, if data, services during user browses current page
Add new data message in device, then user can check newly-increased data message in next page.Below, by specifically
Technical scheme shown in the application is described in detail by embodiment.
It should be noted that these specific embodiments can be combined with each other, for same or analogous concept below
Or process may repeat no more in certain embodiments.
The schematic flow sheet of the data page display packing that Fig. 2 provides for the present invention, the executive agent of the method is terminal
Equipment, refer to Fig. 2, and the method may include that
S201, getting user after the nextpage that current page inputs checks instruction, according to the page number P of current page and
Current page displayable maximum data Information Number K, obtaining side-play amount to data server requests is the data of P*K to P*K+K
Information;
Wherein, P is the integer more than or equal to 1, and K is the integer more than or equal to 1;
S202, in determining the data message that side-play amount is P*K to P*K+K and the P*K data that obtained of terminal unit
When there is identical data message in information, obtaining side-play amount to data server requests is the data message of 0 to P*K+K;
S203, the number that the P*K data information in data message that side-play amount is 0 to P*K+K and obtained is differed
It is believed that breath is defined as the data to be displayed information that the next page of current page is corresponding.
In this application, in data server, storage has a plurality of data message, and this plurality of data message is according to generating the moment
Order from the close-by examples to those far off arranges, and to form data message queue, in this data message queue, each data message has it right
The side-play amount answered, the time difference generated between moment and current time of data message is the biggest, and the side-play amount of data message is the biggest,
When data server increases new data message, due to newly-increased data message generation moment distance current time
Closely, then the data message newly increased is positioned at the front of data message queue, accordingly, the number existed before in data message queue
It is believed that the side-play amount of breath is changed according to the number of the data message newly increased, concrete, when data server increases X
During data message, the side-play amount of the data message existed before in data message queue is required to increase X.
Exemplary, it is assumed that data server includes L data message in the first moment, is designated as data message 1-number respectively
It is believed that breath L, and the time difference generated between moment and current time of data message 1-data message L is successively decreased successively, then the
During one moment, the side-play amount such as table 1 of each data message in data message queue in data server and data message queue
Shown in:
Table 1
The mark of data message | Side-play amount |
Data message L | 0 |
Data message L-1 | 1 |
Data message L-2 | 2 |
…… | …… |
Data message 2 | L-2 |
Data message 1 | L-1 |
Assume between the first moment and the second moment, data server has increased newly 3 data information, has been designated as number respectively
It is believed that breath L+1-data message L+3, and the time generated between moment and current time of data message L+1-data message L+3
Difference is successively decreased successively, then in the second moment, and each data letter in data message queue in data server and data message queue
The side-play amount of breath is as shown in table 2:
Table 2
The mark of data message | Side-play amount |
Data message L+3 | 0 |
Data message L+2 | 1 |
Data message L+1 | 2 |
Data message L | 0+3=3 |
Data message L-1 | 1+3=4 |
Data message L-2 | 2+3=5 |
…… | …… |
Data message 2 | L-2+3=L+1 |
Data message 1 | L-1+3=L+2 |
In actual application, check data message in data server user by the current page of terminal unit
During, when user needs to check more data message in data server, user inputs nextpage in current page
Checking instruction, optionally, can arrange " lower one page " button in current page, user can be by entering " lower one page " button
Row clicking operation, to realize checking instruction at current page input nextpage.
Acquiring user after the nextpage that current page inputs checks instruction at terminal unit, terminal unit obtains works as
The page number P of the front page and current page displayable maximum data Information Number K, and according to P and K, to data server requests
Obtaining side-play amount is the data message of P*K to P*K+K, for example, it is assumed that the page number P=3 of current page, current page can show
Maximum data information bar number K=10 bar, then check instruction when terminal unit acquires user at the nextpage that page 3 inputs
After, it is the number of P*K=3*10=30 to P*K+K=3*10+10=40 that terminal unit obtains side-play amount to data server requests
It is believed that breath.If it should be noted that the quantity of data message is more than P*K+K bar, then terminal unit present in data server
K data information can be acquired, if the quantity of data message is more than P*K and less than P*K+K present in data server,
The bar number of the data message that then terminal unit can acquire is less than K.
After terminal unit acquires the data message that side-play amount is P*K to P*K+K, terminal unit judges side-play amount
For whether there is identical data letter in the data message of P*K to P*K+K and in the P*K data information that obtained of terminal unit
Breath, wherein, the P*K data information that terminal unit has obtained is: terminal unit is less than current page at current page and the page number
The data message shown in the page of recto code, optionally, in data server, each data information all has its correspondence
Mark, terminal unit according to the mark of each data message in the data message that side-play amount is P*K to P*K+K and can obtain
The mark of each data message in the P*K data information taken, it is judged that side-play amount be P*K to P*K+K data message in and terminal
Whether the P*K data information that equipment has obtained exists identical data message.
If not existing, then the data message that side-play amount is P*K to P*K+K can be determined that data to be displayed is believed by terminal unit
Breath.
If existing, illustrate to there is newly-increased data message in data server, then terminal obtains to data server requests
Side-play amount is the data message of 0 to P*K+K, and the P*K bar number that in data message that side-play amount is 0 to P*K+K and will obtain
It is believed that the data message that breath differs is defined as the data to be displayed information that next page is corresponding, optionally, terminal unit is permissible
Respectively the mark of data message that side-play amount is 0 to P*K+K is contrasted with the mark of the P*K data information obtained,
The data message differed with the P*K data information obtained in the data message that side-play amount is 0 to P*K+K and obtained, and
The data message differed with the P*K data information obtained in data message that side-play amount is 0 to P*K+K is defined as
The data to be displayed information that next page is corresponding.
Further, after terminal unit determines and obtains the data to be displayed information that next page is corresponding, optionally, eventually
End equipment can obtain the side-play amount of each data to be displayed information, and the order being incremented by according to described side-play amount, at next page
The each described data to be displayed information of middle display, it is less that the data message owing to increasing newly in data server obtains side-play amount, therefore,
The order being incremented by according to described side-play amount, shows each described data to be displayed information in next page, can be preferentially to user
Show up-to-date data message, and then further improve Consumer's Experience.
The data page display packing that the embodiment of the present invention provides, gets user at terminal unit and inputs at current page
Nextpage check instruction after, terminal unit to data server requests obtain side-play amount be the data message of P*K to P*K+K,
And judge whether the P*K data information that data message that side-play amount is P*K to P*K+K and terminal unit have obtained exists phase
Same data message, if existing, then terminal unit obtains side-play amount to data server requests is the data message of 0 to P*K+K,
And the data message differed with the P*K data information obtained in data message that side-play amount is 0 to P*K+K is determined
For the data to be displayed information that next page is corresponding so that data to be displayed information is not deposited in a plurality of data message obtained
At identical data message, it is to avoid show the data message of repetition to user and then improve Consumer's Experience.
On the basis of embodiment illustrated in fig. 2, optionally, terminal unit can be by the most feasible implementation to number
The data message (S201 in embodiment illustrated in fig. 2) that side-play amount is P*K to P*K+K is obtained according to server request, concrete, please
Embodiment shown in Figure 3.
The flow chart obtaining data message method that Fig. 3 provides for the present invention, refer to Fig. 3, and the method may include that
S301, sending the first data request information to data server, the first data request information includes that inclined first moves
Amount and the first data message number, the first side-play amount is P*K, and the first data message number is K;
The first data response message that S302, reception data server send, the first data response message includes skew
Amount is the data message of P*K to P*K+K.
In the embodiment shown in fig. 3, when terminal unit need to data server requests obtain side-play amount be P*K to P*
During the data message of K+K, terminal unit first determines the first side-play amount P*K and needs first data message of acquisition request
Number K, and include that the first request of data of the first side-play amount P*K and the first data message number K disappears to data server transmission
Breath.
After data server receives the first data request information, data server disappears according to the first request of data
Breath, first judges that whether there is side-play amount in data message queue is K the data message that P*K starts, if existing, then data, services
Device obtain in data message queue from side-play amount be K the data message that P*K starts, and to terminal unit send side-play amount be
K the data message that P*K starts, if not existing, then data server obtains from side-play amount in data message queue is that P*K opens
N (N is less than K) the individual data message begun, and be N number of data message that P*K starts to terminal unit transmission side-play amount, it is concrete,
Data server can send the first data response of the data message including that side-play amount is P*K to P*K+K and disappear to terminal unit
Breath.
On the basis of any one embodiment above-mentioned, optionally, terminal unit can be by the most feasible realization side
It is the data message of 0 to P*K+K that formula obtains side-play amount to data server requests, concrete: send second to data server
Data request information, the second data request information includes inclined second shifting amount and the second data message number, and the second side-play amount is
0, the second data message number is P*K+K, and receives the first data response message that data server sends, the first data response
Message includes the data message that side-play amount is 0 to P*K+K.
It should be noted that terminal unit obtains, to data server requests, the data message that side-play amount is 0 to P*K+K
Process, obtains, to data server requests, the data letter that side-play amount is P*K to P*K+K with the terminal unit shown in Fig. 3 embodiment
The process of breath is similar to, and the most no longer repeats.
Below, by concrete example, the method shown in Fig. 2-Fig. 3 embodiment is described in detail.
Exemplary, it is assumed that user can check the data message in data server by terminal unit, and terminal sets
Standby middle one page at most can show 5 data information;Assume again that data server when January 19, including 10 data information,
The side-play amount of this 10 data information and generation moment are as shown in table 3:
Table 3
The mark of data message | Side-play amount | Generate the moment |
Data message 10 | 0 | 9:00 |
Data message 9 | 1 | 8:30 |
Data message 8 | 2 | 8:00 |
…… | …… | …… |
Data message 2 | 8 | 6:10 |
Data message 1 | 9 | 6:00 |
Assume at 9, when user needs the data checking in data server by page 1 in terminal unit to believe
During breath, terminal unit sends data request information to data server, and the data offset that this data request information includes is
0, the data strip number of request is 5, and after data server receives the data request information that terminal unit sends, data take
Business device sends, to terminal unit, the data message that side-play amount is from 0 to 4, concrete, as shown in table 4:
Table 4
The mark of data message | Side-play amount | Generate the moment |
Data message 10 | 0 | 9:00 |
Data message 9 | 1 | 8:30 |
Data message 8 | 2 | 8:00 |
Data message 7 | 3 | 7:45 |
Data message 6 | 4 | 7:30 |
After terminal unit receives the data message shown in table 4, terminal unit video data successively in page 1
Information 10-data message 6.
Assume 9 .-9: 10 at times in, data server has increased newly 2 data information, respectively data messages
11 and data message 12, accordingly, the side-play amount of 12 data information and to generate the moment as shown in table 5 in data server:
Table 5
The mark of data message | Side-play amount | Generate the moment |
Data message 12 | 0 | 9:10 |
Data message 11 | 1 | 9:05 |
Data message 10 | 2 | 9:00 |
…… | …… | …… |
Data message 2 | 10 | 6:10 |
Data message 1 | 11 | 6:00 |
Assume again that, in 9: 10 timesharing, the data message 10-data message 6 in page 1 is checked complete by user and it needs to
Check more data message in data server, then " lower one page " button on page 1 can be carried out clicking on behaviour by user
Making, to send the first data request information to data server, the data offset that this first data request information includes is
1*5=5, the data strip number of request is 5, after data server receives this first data request information, data, services
Device sends, to terminal unit, the data message that side-play amount is from 5 to 9, and concrete is as shown in table 6:
Table 6
The mark of data message | Side-play amount | Generate the moment |
Data message 7 | 5 | 7:45 |
Data message 6 | 6 | 7:30 |
Data message 5 | 7 | 7:00 |
Data message 4 | 8 | 6:45 |
Data message 3 | 9 | 6:30 |
After terminal unit acquires the 5 data information that the page 2 shown in table 6 is corresponding, terminal unit is by table 6
5 shown data information and the data message shown in table 4 acquired contrast, and determine 5 data shown in table 6
With 2 identical data messages (data message 6 and data message 7) of existence, then terminal in the data message shown in table 4 in information
Equipment sends the second data request information to data server, and the data offset that this second data request information includes is 0,
The data strip number of request is 1*5+5=10 bar, after data server receives this second data request information, and data, services
Device sends the side-play amount data message from 0-1 to terminal unit, concrete, as shown in table 7:
Table 7
The mark of data message | Side-play amount | Generate the moment |
Data message 12 | 0 | 9:10 |
Data message 11 | 1 | 9:05 |
Data message 10 | 2 | 9:00 |
Data message 9 | 1 | 8:30 |
Data message 8 | 2 | 8:00 |
Data message 7 | 3 | 7:45 |
Data message 6 | 4 | 7:30 |
Data message 5 | 7 | 7:00 |
Data message 4 | 8 | 6:45 |
Data message 3 | 9 | 6:30 |
After terminal unit acquires the data message shown in table 7, terminal unit is in the data message shown in table 7
Data message 12-data message 11 not to be covered and data message 5-data message in data message shown in acquisition, table 4
3, and it is defined as page 2 pair according to the data message 12-data message 11 shown in table 7 and data message 5-data message 3
The data to be displayed information answered, concrete, the data to be displayed information that page 2 is corresponding is as shown in table 8:
Table 8
The mark of data message | Side-play amount | Generate the moment |
Data message 12 | 0 | 9:10 |
Data message 11 | 1 | 9:05 |
Data message 5 | 7 | 7:00 |
Data message 4 | 8 | 6:45 |
Data message 3 | 9 | 6:30 |
After terminal unit acquires the data message shown in table 8, have little to big suitable according to data message side-play amount
Sequence, shows the data message shown in table 8 successively.
The structural representation one of the terminal unit that Fig. 4 provides for the present invention, refer to Fig. 4, and this terminal unit may include that
First acquisition module 401, for getting user after the nextpage that current page input checks instruction, according to ought
The page number P of the front page and current page displayable maximum data Information Number K, obtaining side-play amount to data server requests is P*
The data message of K to P*K+K, P is the integer more than or equal to 1, and K is the integer more than or equal to 1;
Second acquisition module 402, has been used in determining the data message that side-play amount is P*K to P*K+K with terminal unit
When there is identical data message in the P*K data information obtained, obtaining side-play amount to data server requests is 0 to P*K+
The data message of K;
Determine module 403, for the P*K data letter that in data message that side-play amount is 0 to P*K+K and will obtain
The data message that breath differs is defined as the data to be displayed information that next page is corresponding.
The terminal unit that the embodiment of the present invention provides can perform the technical scheme shown in said method embodiment, and it realizes
Principle and beneficial effect are similar to, and the most no longer repeat.
The structural representation two of the terminal unit that Fig. 5 provides for the present invention, on the basis of embodiment illustrated in fig. 4, please join
According to Fig. 5, the first acquisition module 401 includes that the first transmitting element 4011 and first receives unit 4012, wherein,
First transmitting element 4011 is used for, and sends the first data request information to data server, and the first request of data disappears
Breath includes inclined first shifting amount and the first data message number, and the first side-play amount is P*K, and the first data message number is K;
First receives unit 4012 is used for, and receives the first data response message that data server sends, and the first data are rung
Answer message to include data message that side-play amount is P*K to P*K+K.
Optionally, the second acquisition module 402 includes that the second transmitting element 4021 and second receives unit 4022, wherein,
Second transmitting element 4021 is used for, and sends the second data request information to data server, and the second request of data disappears
Breath includes inclined second shifting amount and the second data message number, and the second side-play amount is 0, and the second data message number is P*K+K;
Second receives unit 4022 is used for, and receives the first data response message that data server sends, and the first data are rung
Answer message to include data message that side-play amount is 0 to P*K+K.
In actual application, determine that module 403 specifically may be used for:
Respectively by the mark of data message that side-play amount is 0 to P*K+K and the mark of P*K data information that obtained
Contrast, the number differed with the P*K data information obtained in the data message that side-play amount is 0 to P*K+K and obtained
It is believed that breath;
The data letter that the P*K data information in data message that side-play amount is 0 to P*K+K and obtained is differed
Breath is defined as the data to be displayed information that next page is corresponding.
Further, terminal unit also includes the 3rd acquisition module 404 and display module 405, wherein,
3rd acquisition module 404 is used for, and is determining that module 403 is by data message that side-play amount is 0 to P*K+K and
After the data message that the P*K data information obtained differs is defined as the data to be displayed information that next page is corresponding, obtain
Take the side-play amount of each data to be displayed information;
Display module 405 is used for, the order being incremented by according to side-play amount, shows that each data to be displayed is believed in next page
Breath.
The terminal unit that the embodiment of the present invention provides can perform the technical scheme shown in said method embodiment, and it realizes
Principle and beneficial effect are similar to, and the most no longer repeat.
One of ordinary skill in the art will appreciate that: all or part of step realizing above-mentioned each method embodiment can be led to
The hardware crossing programmed instruction relevant completes.Aforesaid program can be stored in a computer read/write memory medium.This journey
Sequence upon execution, performs to include the step of above-mentioned each method embodiment;And aforesaid storage medium includes: ROM, RAM, magnetic disc or
The various media that can store program code such as person's CD.
Last it is noted that various embodiments above is only in order to illustrate technical scheme, it is not intended to limit;To the greatest extent
The present invention has been described in detail by pipe with reference to foregoing embodiments, it will be understood by those within the art that: it depends on
So the technical scheme described in foregoing embodiments can be modified, or the most some or all of technical characteristic is entered
Row equivalent;And these amendments or replacement, do not make the essence of appropriate technical solution depart from various embodiments of the present invention technology
The scope of scheme.
Claims (10)
1. a data page display packing, it is characterised in that be applied to terminal unit, described method includes:
Getting user after the nextpage that current page inputs checks instruction, according to the page number P of described current page and described
Current page displayable maximum data Information Number K, obtaining side-play amount to data server requests is the data of P*K to P*K+K
Information, described P is the integer more than or equal to 1, and described K is the integer more than or equal to 1;
The P*K data letter obtained with described terminal unit in determining the data message that described side-play amount is P*K to P*K+K
When there is identical data message in breath, obtaining side-play amount to described data server requests is the data message of 0 to P*K+K;
By in data message that side-play amount is 0 to P*K+K and the data letter that differs of the described P*K data information obtained
Breath is defined as the data to be displayed information that the next page of described current page is corresponding.
Method the most according to claim 1, it is characterised in that described to data server requests obtain side-play amount be P*K
To the data message of P*K+K, including:
Sending the first data request information to described data server, described first data request information includes inclined first shifting amount
With the first data message number, described first side-play amount is P*K, and described first data message number is K;
Receive described data server send the first data response message, described first data response message include described partially
Shifting amount is the data message of P*K to P*K+K.
Method the most according to claim 1 and 2, it is characterised in that described acquisition to described data server requests offsets
Amount is the data message of 0 to P*K+K, including:
Sending the second data request information to described data server, described second data request information includes inclined second shifting amount
With the second data message number, described second side-play amount is 0, and described second data message number is P*K+K;
Receive described data server send the first data response message, described first data response message include described partially
Shifting amount is the data message of 0 to P*K+K.
Method the most according to claim 1 and 2, it is characterised in that described is the data message of 0 to P*K+K by side-play amount
In and the data message that differs of the described P*K data information obtained be defined as the next page pair of described current page
The data to be displayed information answered, including:
Respectively by the mark of data message that described side-play amount is 0 to P*K+K and the described P*K data information obtained
Mark contrasts, to obtain in the data message that described side-play amount is 0 to P*K+K and the described P*K data letter obtained
The data message that breath differs;
By in data message that described side-play amount is 0 to P*K+K and the number that differs of the described P*K data information obtained
It is believed that breath is defined as the data to be displayed information that described next page is corresponding.
Method the most according to claim 4, it is characterised in that be the data message of 0 to P*K+K by described side-play amount
In be defined as corresponding to be shown of described next page with the data message that the described P*K data information obtained differs
After data message, also include:
Obtain the side-play amount of each described data to be displayed information;
The order being incremented by according to described side-play amount, shows each described data to be displayed information in described next page.
6. a terminal unit, it is characterised in that including:
First acquisition module, for getting user after the nextpage that current page inputs checks instruction, according to described currently
The page number P and described current page displayable maximum data Information Number K of the page, obtaining side-play amount to data server requests is
The data message of P*K to P*K+K, described P is the integer more than or equal to 1, and described K is the integer more than or equal to 1;
Second acquisition module, has been used in determining the data message that described side-play amount is P*K to P*K+K with described terminal unit
In the P*K data information obtained when there is identical data message, to described data server requests obtain side-play amount be 0 to
The data message of P*K+K;
Determine module, for by data message that side-play amount is 0 to P*K+K and the described P*K data information obtained not
Identical data message is defined as the data to be displayed information that the next page of described current page is corresponding.
Terminal unit the most according to claim 6, it is characterised in that described first acquisition module includes the first transmitting element
With first receive unit, wherein,
Described first transmitting element is used for, and sends the first data request information to described data server, and described first data please
Asking message to include inclined first shifting amount and the first data message number, described first side-play amount is P*K, described first data message
Number is K;
Described first receives unit is used for, and receives the first data response message that described data server sends, described first number
The data message that described side-play amount is P*K to P*K+K is included according to response message.
8. according to the terminal unit described in claim 6 or 7, it is characterised in that described second acquisition module includes the second transmission
Unit and the second reception unit, wherein,
Described second transmitting element is used for, and sends the second data request information to described data server, and described second data please
Asking message to include inclined second shifting amount and the second data message number, described second side-play amount is 0, described second data message
Number is P*K+K;
Described second receives unit is used for, and receives the first data response message that described data server sends, described first number
The data message that described side-play amount is 0 to P*K+K is included according to response message.
9. according to the terminal unit described in claim 6 or 7, it is characterised in that described determine module specifically for:
Respectively by the mark of data message that described side-play amount is 0 to P*K+K and the described P*K data information obtained
Mark contrasts, to obtain in the data message that described side-play amount is 0 to P*K+K and the described P*K data letter obtained
The data message that breath differs;
By in data message that described side-play amount is 0 to P*K+K and the number that differs of the described P*K data information obtained
It is believed that breath is defined as the data to be displayed information that described next page is corresponding.
Terminal unit the most according to claim 9, it is characterised in that described terminal unit also includes the 3rd acquisition module
And display module, wherein,
Described 3rd acquisition module is used for, described determine module by data message that described side-play amount is 0 to P*K+K and
The data message that the described P*K data information obtained differs is defined as the data to be displayed letter that described next page is corresponding
After breath, obtain the side-play amount of each described data to be displayed information;
Described display module is used for, according to described side-play amount be incremented by order, show in described next page each described in wait to show
Show data message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610356513.5A CN106055612B (en) | 2016-05-25 | 2016-05-25 | Data paging display method and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610356513.5A CN106055612B (en) | 2016-05-25 | 2016-05-25 | Data paging display method and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106055612A true CN106055612A (en) | 2016-10-26 |
CN106055612B CN106055612B (en) | 2019-12-17 |
Family
ID=57174520
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610356513.5A Active CN106055612B (en) | 2016-05-25 | 2016-05-25 | Data paging display method and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106055612B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107016045A (en) * | 2017-02-17 | 2017-08-04 | 阿里巴巴集团控股有限公司 | A kind of method and device of paged data inquiry |
CN108509529A (en) * | 2018-03-14 | 2018-09-07 | 武汉斗鱼网络科技有限公司 | Data page sort method, device and readable storage medium storing program for executing |
CN108965389A (en) * | 2018-06-13 | 2018-12-07 | 连尚(新昌)网络科技有限公司 | Method for showing information |
CN110673902A (en) * | 2018-07-02 | 2020-01-10 | 腾讯科技(深圳)有限公司 | Page display method and device and storage medium |
CN110943970A (en) * | 2019-10-09 | 2020-03-31 | 视联动力信息技术股份有限公司 | Data request method and device |
CN112559890A (en) * | 2020-12-25 | 2021-03-26 | 深圳市富途网络科技有限公司 | Display method, server, electronic equipment and storage medium |
CN115098215A (en) * | 2022-07-19 | 2022-09-23 | 重庆紫光华山智安科技有限公司 | Data paging method, system, electronic device and storage medium based on multiple services |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130120611A1 (en) * | 2005-12-22 | 2013-05-16 | Canon Kabushiki Kaisha | Image recording apparatus, image reproducing apparatus, method of controlling image recording apparatus, method of controlling image reproducing apparatus, computer program, and recording medium |
CN103744847A (en) * | 2013-09-25 | 2014-04-23 | 宁波大学 | Data download method applicable to SQL Server database |
CN103778135A (en) * | 2012-10-18 | 2014-05-07 | 厦门雅迅网络股份有限公司 | Method for distribution storage and paging querying of real-time data |
CN103942196A (en) * | 2013-01-17 | 2014-07-23 | 腾讯科技(深圳)有限公司 | Method, device and system for data inquiry |
-
2016
- 2016-05-25 CN CN201610356513.5A patent/CN106055612B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130120611A1 (en) * | 2005-12-22 | 2013-05-16 | Canon Kabushiki Kaisha | Image recording apparatus, image reproducing apparatus, method of controlling image recording apparatus, method of controlling image reproducing apparatus, computer program, and recording medium |
CN103778135A (en) * | 2012-10-18 | 2014-05-07 | 厦门雅迅网络股份有限公司 | Method for distribution storage and paging querying of real-time data |
CN103942196A (en) * | 2013-01-17 | 2014-07-23 | 腾讯科技(深圳)有限公司 | Method, device and system for data inquiry |
CN103744847A (en) * | 2013-09-25 | 2014-04-23 | 宁波大学 | Data download method applicable to SQL Server database |
Non-Patent Citations (1)
Title |
---|
王振辉,王振铎: "MongoDB 中数据分页优化技术", 《计算机系统应用》 * |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107016045A (en) * | 2017-02-17 | 2017-08-04 | 阿里巴巴集团控股有限公司 | A kind of method and device of paged data inquiry |
CN108509529A (en) * | 2018-03-14 | 2018-09-07 | 武汉斗鱼网络科技有限公司 | Data page sort method, device and readable storage medium storing program for executing |
CN108965389A (en) * | 2018-06-13 | 2018-12-07 | 连尚(新昌)网络科技有限公司 | Method for showing information |
CN108965389B (en) * | 2018-06-13 | 2021-07-06 | 南京尚网网络科技有限公司 | Method for displaying information |
CN110673902A (en) * | 2018-07-02 | 2020-01-10 | 腾讯科技(深圳)有限公司 | Page display method and device and storage medium |
CN110943970A (en) * | 2019-10-09 | 2020-03-31 | 视联动力信息技术股份有限公司 | Data request method and device |
CN112559890A (en) * | 2020-12-25 | 2021-03-26 | 深圳市富途网络科技有限公司 | Display method, server, electronic equipment and storage medium |
CN112559890B (en) * | 2020-12-25 | 2024-02-09 | 深圳市富途网络科技有限公司 | Display method, server, electronic device and storage medium |
CN115098215A (en) * | 2022-07-19 | 2022-09-23 | 重庆紫光华山智安科技有限公司 | Data paging method, system, electronic device and storage medium based on multiple services |
CN115098215B (en) * | 2022-07-19 | 2024-06-04 | 重庆紫光华山智安科技有限公司 | Multi-service-based data paging method, system, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106055612B (en) | 2019-12-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106055612A (en) | Data paging display method and terminal equipment | |
US9607078B1 (en) | Presenting related communications | |
EP2884390A2 (en) | Method and device for displaying search result on mobile terminal | |
CN107861982A (en) | It is dynamically determined method, terminal, server and the system of application program page layout | |
CN103973737A (en) | Method, server and browser for actively pushing messages | |
CN107888703A (en) | Information-pushing method, device, server and readable storage medium storing program for executing | |
CN105787077A (en) | Data synchronizing method and device | |
CN105589631B (en) | Information displaying method and device | |
CN108881227B (en) | Operation control method and device of remote whiteboard system and remote whiteboard system | |
CN106886544A (en) | A kind of data processing method and device | |
CN105023207A (en) | Teacher layout family operation system and method | |
CN105786207A (en) | Information input method and device | |
CN105379161A (en) | Data transmission method and communication device | |
CN108021586A (en) | A kind of page generation method and device | |
CN103891245A (en) | Location-aware content detection | |
US10635459B2 (en) | User interface virtualization for large-volume structural data | |
CN110866208B (en) | Page response type layout method, device and equipment | |
CN103473106B (en) | Method and system for generating page | |
CN107678636A (en) | The webpage representation method and apparatus of electronic equipment | |
CN103746904A (en) | Information interaction method and device | |
CN104133869B (en) | A kind of Webpage method for refreshing | |
CN104168174A (en) | Method and apparatus for information transmission | |
CN108763374A (en) | A kind of driving path methods of exhibiting, device and equipment | |
CN103973739A (en) | Information display method, system and mobile terminal | |
CN102546903B (en) | Method and equipment for displaying instant message on mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |