Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the application.
Original list update method provided by the embodiments of the present application can be applied to original list in mobile device more
Newly, the page of the listview type e.g. in ios Andriod system, Fig. 1 illustrate a kind of example of original list
The display of son, the payment client terminal on smart phone, bill information can be shown to user in the form of original list.
As shown in Figure 1, may include a plurality of entry in original list, for example, entry 11 is shown: user is in January
The operation that Yuebao produces bank card, transfer amounts 3000 are carried out within 14th, current state is to trade successfully;Here behaviour
Make time (January 14), operation information (Yuebao produces bank card), the operation amount of money (3000) and mode of operation (transaction
Success) etc. can be known as display " entry information ".In another example the entry information in entry 12 includes: January 13
In the 305 room consumption expenditure 150 of Huanglong's wire dining room, state is to trade successfully.Other entries are no longer described in detail.
In addition, for example may include totally 30 entries in " my bill ", and it is only aobvious in the exemplary page in Fig. 1
Show 8 entries, in the present embodiment, the current display screen where 8 entries can be known as " the current list page ",
It is a portion in " my bill " original list (totally 30 entries).When user grasps a wherein entry
When making, by the update of the trigger list page, for example, the state in Fig. 1 in exemplary entry 13 is still " waiting to be confirmed receive ",
User can click the entry 13, go to execute the operation for acknowledging receipt of goods really to the entry, the entry 13 after the completion of operation
State will be changed to " trading successfully ".The update of this entry is by the update of the original list where trigger recording item, originally
The original list update method of embodiment shall illustrate in these cases, how update original list, which can
By client executing, such as the exemplary payment client terminal of Fig. 1.
Fig. 2 illustrates the process of the original list update method of the present embodiment, may include:
201, when receiving the operation requests for target record item, where obtaining and storing the target record item
The page info of the current list page;
202, when receiving the display request for being back to original list by operation target record item, believed according to the page
Breath shows the current list page of storage, includes updated target record item in the current list page.
By taking the state of entry 13 exemplary in Fig. 1 changes as an example, user will be operated the entry 13 to complete
Confirmation is received.In step 201, user clicks entry 13, which is properly termed as " target record item ", target record
Item is for indicating the entry being user-operably.Payment client terminal will receive and the operation of the target record item asked at this time
It asks, this operation requests is to click selection entry 13 by user to trigger, and indicates that user will request to grasp the entry
Make.
Client will send entry operation requests, request server to server (for example, Alipay server) accordingly
The corresponding entry details page of feedback target entry, than " bill details " page as illustrated in fig. 3, which is clothes
Business device is transmitted to client, and is shown to user by client.User can click " confirmation is received ", and user end to server is anti-
Feedback confirms information of receiving, and after server is modified the state of entry, feeds back to client again and shows that last state " is handed over
Easily success ", such as Fig. 3 example.The interaction of above-mentioned client and server in entry state renewal process, can be used
Routine techniques is no longer described in detail, only in this process client can receive server feedback for target record item
More new state information, for example the Status Change of above-mentioned entry 13 is " trading successfully ".
In the present embodiment, when user operates an entry, client is executing above-mentioned entry information
Update interaction except, will also perform the following operations: when receiving the operation requests for target record item, also will acquire simultaneously
Store the page info of the current list page where target record item.
In conjunction with the example of Fig. 1, when the user clicks when entry 13, client, which will acquire, works as forefront where the entry 13
The page info of the table page, the current list page are the original list shown on smart phone shown in FIG. 1, the original list
Upper includes eight entries, and it includes that the page info includes: on current page for which entry, such as including Article 9
To Article 16 entry, (30 in total, can include the 9th to 16 according to generation time-sequencing, this page in list to entry
Item) and every entry entry information (for example, operating time, the operation amount of money, mode of operation etc.), there are these to believe
Breath can show the original list of Fig. 1.Client will store the page info, be shown again in case subsequent according to the page info
Show the original list.
Example referring to fig. 4, page info and server transport for above-mentioned the current list page to client
, for example before user executes the click entry operation of Fig. 1, client is received by the page info, and by these
Information is shown as list interface shape shown in FIG. 1 by page info by way of a kind of list (for example, listview control)
Formula.It in above-mentioned the present embodiment, such as can be the module by being responsible for display page info, record the entry shown by it
The entry mark for each entry that the current list page where 13 includes, for example, the mark of entry 11 is a1, record
The mark of item 13 is that (mark can be the unified entry mark that client and server is both known about, server end storage to a2
Entry is uniquely also indicated with the mark when entry information);Also, be responsible for display page info module it is available
Which the current list Page user operates entry therein, then the module for receiving page info is notified to store the current list
The page info of the page, for example, be each entry that will include in the page entry information storage in the buffer.
In 202, client can also receive the display request that original list is back to by operation target record item, such as
It is exemplary in Fig. 3, it receives when user operation records item carries out confirmation, after completing transaction, the state of entry has been changed to
" trading successfully ", user can click " return " option at the top of the entry details page at this time, click the return item with regard to table
Show user to be back to initial original list (i.e. enter the entry details when where the exemplary original list of Fig. 1).Visitor
Family end by according to the page info of the original list stored in 201, shows the exemplary the current list page of Fig. 1 accordingly, such as
Entry information including Article 9 entry to Article 16 entry.
Such as the example of Fig. 5, in the original list for returning to display, in the entry information of entry 13, state via
" waiting to be confirmed receive " in Fig. 1 is changed to " trading successfully ", other entries, which are not made, to be changed.Wherein, for entry 13
State updates, and the update mode of two kinds particularized below optional target record items 13 can be and be carried out as follows:
In one example, when storing the page info of the current list page where target record item in 201, client
It holds in storing the current list page except the entry information of each entry, it can also be to the target record of user's operation
Item is marked, which refers to setting " by operation mark ", for example, (can be only for example, in fact for " 01 " by operation mark
Border can flexibly be set in implementing), provided with by the entry of operation mark, indicate that user operates the entry.
As shown in fig. 6, client stores the page info of the current list page shown in Fig. 1, entry therein
In 13 entry information, status information is " waiting to be confirmed receive ", and the entry 13 has been marked with and has been marked by operation
Know.After the operation received by the exemplary user's confirmation of Fig. 3, client will also receive the entry 13 of server transport
Newest status information " is traded successfully ", and the status page is also shown to user (such as Fig. 3).
In the present embodiment, the above-mentioned entry information by operation note item that client can send server and is deposited
It is compared in the current list page of storage by the corresponding target record item of operation mark, judges whether target record item is believed
Breath updates.Specifically, entry is identified as the entry 13 of " a2 " for example, client can check in the page info of storage
It is marked with by operation mark " 01 ", the entry mark of the entry information of server transmission is also " a2 ", the two records
Corresponding item information is same record item, and client compares the information of the two, it is found that the status information in entry information is different,
One is " waiting to be confirmed receive ", the other is " trading successfully ", naturally it is also possible to which there are other different information, for example operate
Time.Client can determine that information update has occurred in target record item accordingly, then can be clothes by its entry information update
The entry information that business device is sent, when showing original list, also according to the updated information displaying target entry.Such as figure
5 examples, in this original list, compared with the original list of Fig. 1, the information of only entry 13 is updated, other
Entry does not all change.
In another example, client can also be when receiving the display for being back to original list request, for example examines
It measures user and clicks " return ", at this point, client can send information acquisition request, request target record to server
The information of item such as entry 13, which is, for example, the mode of operation etc. in the entry 13.Wherein, client can basis
Above-mentioned record by operation mark, be informed in original list and which entry operated, provided with by the record of operation mark
, indicate that user operates the entry, client is only marked with to server request by the record of operation mark
Item information, since user is there is no operating, information not will be updated so can not have to request to server again other entries.
Based on above-mentioned, client can be carried in information acquisition request by the entry mark of the corresponding target record item of operation mark
Know, so which entry information server understanding client request is, and returns to entry mark pair to client
The entry information answered, client show the target record item information in original list.Under this mode, due to client
The target record item information being only user-operably obtained by server, rather than all information of original list, therefore
It can be improved the efficiency of acquisition of information and renewal of the page.
The original list update method of the present embodiment and the original list update in traditional approach are compared as follows:
On the one hand, in conventional manner, client is when receiving the display for returning to original list request (such as in Fig. 3
User clicks " return "), client will be again to the server request list page at this time, and server also will include 30 entries
The page info of entire original list be all transmitted to client, client is shown by original list mode, i.e. original list
To transmit page info when update again every time;And in the present embodiment, target record item institute has been stored in advance in client
Original list page info, when receive return to display request when, can not have to request to server, but according to depositing
The page info of storage still show before original list, even if there is part entry that information update, server has occurred
And only to the information of the client transmissions target record item, without the information of whole entries is all transmitted to client,
To reduce the alternating transmission between client and server, reduces the waste to Internet resources, list can also be accelerated
The display efficiency of the page.Alternatively, being also possible to when receiving return display request, only grasped from client to server acquisition
The target record item information of work, rather than whole original list information is obtained, so that the wave to Internet resources can also be reduced
Take, accelerates the display efficiency of the page.
On the other hand, this mode can make when being back to original list, and user still is able to see before oneself
The target record item of operation, for example, user's clicking operation entry 13 in Fig. 1 is such as schemed when operation is completed to return to original list
Shown in 5, user still is able to see entry 13, and sees the information after the change of entry 13 (e.g., trading successfully);And
In conventional manner, as described above, client will reload entire original list, for example, the entry 13 of user's operation
It is that positioned at the second screen, (user's sliding screen, which translates into the second screen, can just see, each in entire original list (totally 30 entries)
Screen is assumed to can only see eight), and when client reloads entire original list, user after returning to original list first
It is seen that first to Article 8 entry (that is, again from the beginning show), user can just see behaviour after needing manual page turning
The entry 13 made, it is very inconvenient.Therefore, the mode of the present embodiment enables to user to see the update of entry in time
State facilitates user to check update.
Moreover, it is assumed that the information of entry does not update, such as in Fig. 6 after user operates target record item,
Client compare the entry information of server transmission in the page info of storage by the corresponding entry information of operation mark,
It was found that both it is identical, then it represents that after operation, information may be recorded and do not changed, then client can be still according to
The page info of storage shows original list.
In order to realize above-mentioned original list update method, the present embodiment additionally provides a kind of original list updating device,
The device is arranged in client.As shown in fig. 7, the apparatus may include: information logging modle 71 and renewal of the page module 72;Its
In,
Information logging modle 71, it is described for when receiving the operation requests for target record item, obtaining and storing
The page info of the current list page where target record item;
Renewal of the page module 72, for receiving the display request for being back to original list by operation target record item
When, it include updated according to the current list page of page info display storage, and in the current list page
The target record item.
Further, the page info of the current list page, comprising: each item note that the current list page includes
Record the entry information of item.
Further, information logging modle 71, specifically for the current list page where the acquisition target record item
Each entry entry mark, identified according to the entry, the entry information of the corresponding mark of storage.
As shown in figure 8, the device can also include: recording mark module 73, for receiving for target record item
Operation requests when, the target record item that will include in the current list page, be arranged by operation mark.
In addition, renewal of the page module 72 may include: comparing unit 721 and updating unit 722;Wherein,
Comparing unit 721, the entry information of the target record item for sending server, the current list with storage
It is compared in the page by the corresponding target record item of operation mark, judges whether target record item occurs information update;
Updating unit 722, for target record item occur information update when, by the current list page by operation mark
Corresponding target record item is updated to the entry information of the target record item of server transmission.
As shown in figure 9, in another example, the renewal of the page module 72 of the device can also include: information request list
Member 723 and information display unit 724;Wherein,
Information request unit 723, for sending the acquisition of information for being used for request target record item information to server
It requests, includes that the entry by the corresponding target record item of operation mark identifies in the information acquisition request;
Information display unit 724, the target record item returned for receiving the server according to entry mark
Information, and the target record item information is shown in the current list page.
The concrete operating principle of the modules of above-mentioned apparatus can no longer be described in detail in conjunction with referring to embodiment of the method.Pass through
The original list updating device is set in client, so that reducing the waste of Internet resources when original list updates, is saved
Cost, and facilitate user and more new content is checked.
The foregoing is merely the preferred embodiments of the application, not to limit the application, all essences in the application
Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the application protection.