Summary of the invention
In order to address the above problem, a kind of information processing system of the present invention unify method, server, portable terminal are with the information of mobile terminal downloading mode of realizing that a kind of user's of need not manual intervention, promptness, stability, integrality and success rate are high.
In order to realize above purpose, the invention provides a kind of information processing system, this information processing system comprises:
Server, it is used for obtaining the information download request from portable terminal; Obtain the identification information of described portable terminal according to described information download request; Inquire about the information content that described portable terminal is subscribed to according to described identification information, and according to Query Result current downloading task and indication information are sent to described portable terminal, wherein, described indication information is used to indicate described portable terminal sends time from new information download request to described server;
Portable terminal, it is used for receiving described current downloading task and described indication information; Download corresponding information according to described current downloading task; The time indicated according to described indication information sends described new information download request to described server again.
Wherein, described indication information comprise following one of at least: described portable terminal sends time interval length between the time of described new information download request and described portable terminal sends time from described information download request to described server to described server; Described portable terminal sends the time point of new information download request to described server.
Wherein, described information download request also comprises the current displaying time of described terminal, described indication information comprise following one of at least: the time point that the time that described portable terminal again can Download Info and the time interval length between the current displaying time of described portable terminal, described portable terminal again can Download Infos.
The present invention also provides a kind of server, and this server comprises:
The subscription information database, it is for the identification information of the portable terminal of each subscription information of record and the information content of subscription;
Information platform, it is used for obtaining the information download request from described portable terminal; Obtain the identification information of described portable terminal according to described information download request; In described subscription information database, inquire about the information content that described portable terminal is subscribed to according to described identification information, and according to Query Result current downloading task and indication information are sent to described portable terminal, wherein, described indication information is used to indicate described portable terminal sends time from new information download request to described server.
The invention provides a kind of portable terminal, this portable terminal comprises:
Sending module, it is used for initiating the information download request to server;
Receiver module, it is used for receiving current downloading task and indication information from described server;
Download module, it is used for downloading corresponding information according to described current downloading task;
Timer module, it is used for according to described indication information timing being set, and wherein, described indication information is used to indicate described portable terminal sends time from new information download request to described server; When timing then, start described sending module and initiate described new information download request to described server.
Wherein, described sending module specifically is used for sending described information download request to described server in the situation of described mobile terminal-opening; And/or
Described sending module specifically is used at described portable terminal sending described information download request by entering into without network's coverage area in the situation of network's coverage area to described server; And/or
Described sending module specifically is used for revising described portable terminal during the time the user, sends described information download request to described server.
Preferably, when described server lookup is not subscribed to any information to described mobile phone users, the described indication information that returns to described portable terminal is in the empty situation, and described sending module is forbidden sending the information download request to described server.
Preferably, described portable terminal also comprises watchdog module, and described watchdog module is used for the regular time interval is set, and when described portable terminal can't be connected to network, and the time that can't be connected to network is carried out timing; When time that can't be connected to network during more than or equal to this time interval, start described sending module and initiate download request to described server, if still can't be connected to network, then continue to repeat the said process of described watchdog module, until request is correctly fed back.
The invention provides a kind of information processing method, the method comprises:
Server obtains the information download request from portable terminal;
Described server obtains the identification information of described portable terminal according to described information download request;
Described server is inquired about the information content that described portable terminal is subscribed to according to described identification information, and according to Query Result current downloading task and indication information are sent to described portable terminal, wherein, described indication information is used to indicate described portable terminal sends time from new information download request to described server.
Wherein, described portable terminal receives described current downloading task and described indication information; Download corresponding information according to described current downloading task; The time indicated according to described indication information sends new download request to described server again.
Preferably, described indication information comprise following one of at least: described portable terminal sends the time and the time interval length of described portable terminal between the time of the described server transmission of forward direction information download request of new information download request to described server; Described portable terminal sends the time point of new information download request to described server.
Wherein, described information download request also comprises the current displaying time of described terminal, described indication information comprise following one of at least: the time point that the time that described portable terminal again can Download Info and the time interval length between the current displaying time of described portable terminal, described portable terminal again can Download Infos.
By above technical scheme, need not user intervention, the indication information that portable terminal utilizes server to provide, the self-timing log-on message is downloaded, thus the on time download of guarantee information, promptness is high.In addition, in the situation that portable terminal shutdown, network connection failure and other reasons consequently can't be networked for a long time, can automatically initiate the information download request, obtain normal download time point or download time gap length, thereby so that can enter normal download flow process, the stability of download, integrality and success rate are high.
Embodiment
Below, present invention is described with embodiment with reference to the accompanying drawings.
(the first embodiment)
Fig. 1 is the schematic diagram that information processing system of the present invention is shown.As shown in Figure 1, information processing system of the present invention comprises server 1 and portable terminal 2.Wherein, server 1 is used for obtaining the information download request from portable terminal 2; Obtain the identification information of portable terminal 2 according to described information download request; The information content according to described identification information enquiry mobile terminal 2 subscription, and according to Query Result current downloading task and indication information are sent to portable terminal 2, wherein, described indication information is used to indicate portable terminal 2 sends time from new information download request to server 1.Portable terminal 2 is used for receiving described current downloading task and described indication information; Download corresponding information according to described current downloading task; The time indicated according to described indication information sends described new information download request to server 1 again.
As shown in Figure 1, server 1 further comprises subscription information database 11 and information platform 12.Wherein, subscription information database 11 is for the identification information of the portable terminal of each subscription information of record and the information content of subscription.Information platform 12 is used for obtaining the information download request from portable terminal 2; Obtain the identification information of portable terminal 2 according to described information download request; According to the described identification information information content that enquiry mobile terminal 2 is subscribed in subscription information database 11, and according to Query Result current downloading task and indication information are sent to portable terminal 2.
As shown in Figure 1, portable terminal 2 further comprises sending module 21, receiver module 22, download module 23 and timer module 24.Wherein, sending module 21 is used for initiating the information download request to server 1 (particularly, information platform 12).Receiver module 22 is used for receiving current downloading task and the indication information from server 1 (particularly, information platform 12).Download module 23 is used for downloading corresponding information according to described current downloading task.Timer module 24 is used for according to described indication information timing being set; When timing then, start sending module 21 and initiate described new information download request to server 1 (particularly, information platform 12).
Here, described indication information comprise following one of at least: portable terminal 2 sends the time and the time interval length of portable terminal 2 between the time of forward direction server 1 transmission information download request of new information download request to server 1; Portable terminal 2 sends the time point of new information download request to server 1.Be in the situation of aforementioned time interval length at described indication information, the timer module 24 of portable terminal 1 take current time of portable terminal 1 as benchmark, timing is set to the indicated time interval length of described indication information.The advantage of this mode is that even when the asynchronism(-nization) of portable terminal 2 and server 1 goes on foot, portable terminal 2 also can in time be initiated the information download request to server 1, thereby in time downloads to information needed.
Except with the upper type, also can comprise the current displaying time of portable terminal 2 in the information download request that portable terminal 2 sends to server 1.In this case, described indication information can comprise following one of at least: the time that portable terminal 2 again can Download Info and the time interval length between the portable terminal 2 current displaying times; Portable terminal 2 again can Download Info time point.This mode can guarantee equally: even when the asynchronism(-nization) of portable terminal 2 and server 1 goes on foot, portable terminal 2 also can in time be initiated the information download request to server 1, thereby in time downloads to information needed.
The present invention also provides a kind of information processing method, and the method comprises: server obtains the information download request from portable terminal; Server obtains the identification information of portable terminal according to the information download request; The information content that server is subscribed to according to the identification information enquiry mobile terminal, and according to Query Result current downloading task and indication information are sent to portable terminal, wherein, indication information is used to indicate portable terminal sends time from new information download request to server.
Fig. 2 is the flow chart that the information processing method of the first embodiment of the present invention is shown.As shown in Figure 2, the method comprises:
The sending module 21 of step S201, portable terminal 2 is initiated the information download request to the information platform 12 of server 1;
The information platform 12 of step S202, server 1 obtains the information download request of portable terminal 2;
The information platform 12 of step S203, server 1 obtains the identification information of portable terminal 2 according to the information download request of obtaining;
The information platform 12 of step S204, server 1 is according to the described identification information information content that enquiry mobile terminal 2 is subscribed in subscription information database 11;
The information platform 12 of step S205, server 1 sends to current downloading task and indication information according to Query Result the receiver module 22 of portable terminal 2;
The receiver module 22 of step S206, portable terminal 2 receives described current downloading task and described indication information;
The download module 23 of step S207, portable terminal 2 is downloaded corresponding information according to described current downloading task;
The timer module 24 of step S208, portable terminal 2 arranges timing according to described indication information;
Step S209, judge whether timing arrives, if so, then jump to step S201, in step S201, the timer module 24 of portable terminal 2 starts sending module 21 and initiates new information download request to the information platform 12 of server 1, otherwise continues to wait for that timing arrives.
Here point out, when the user who inquires portable terminal 2 when server 1 does not subscribe to any information, the indication information of the sky that server 1 can return to portable terminal 2.In this case, sending module 21 is forbidden sending the information download request to server 1.
In addition, for pay imformation, portable terminal 2 to server 1 subscription information and successfully send payment information after, authority is not replied and downloaded to waiting for server 1, only the state according to this locality transmission payment information obtains mandate, that is, as long as the success of local transmission payment information, server 1 just can return downloading task and indication information in response to the download request of portable terminal 2, enters normal download flow process.Like this, can guarantee real-time and simplicity.
Below, the present embodiment method will be described as an example of the mobile phone-downloaded datagram example.In this example, server 1 is the datagram server, and portable terminal 2 is mobile phone, and identification information is phone number, the information of subscribing to is datagram, the phone number of the mobile phone of each subscription digital newspaper of subscription information database 11 records and the datagram information content of subscription.
Idiographic flow is as follows:
The sending module 21 of step S201, mobile phone 2 is initiated the datagram download request to the information platform 12 of datagram server 1;
The information platform 12 of step S202, datagram server 1 obtains the datagram download request of mobile phone 2;
The information platform 12 of step S203, datagram server 1 obtains the phone number of mobile phone 2 according to the information download request of obtaining;
The information platform 12 of step S204, datagram server 1 is according to the phone number that the obtains datagram content that inquiry mobile phone 2 is subscribed in subscription information database 11;
The information platform 12 of step S205, datagram server 1 sends to current downloading task and indication information according to Query Result the receiver module 22 of mobile phone 2;
The receiver module 22 of step S206, mobile phone 2 receives described current downloading task and described indication information;
The download module 23 of step S207, mobile phone 2 is downloaded corresponding datagram content according to described current downloading task;
The timer module 24 of step S208, mobile phone 2 arranges timing according to described indication information;
Step S209, when timing then, the timer module of mobile phone 2 24 starts sending modules 21 and initiates new datagram download request to the information platform 12 of datagram server 1.
The cellphone subscriber can subscribe to many parts of datagram, determined the download time point of every part of datagram by the datagram server, perhaps determine time interval length between the normal issuing time of time of the current initiation download request of mobile phone and every part of datagram by the datagram server, mobile phone is determined the download time point of every part of datagram again according to this time interval length.
Can find out from the above description, the present invention is by the propelling movement time of server maintenance information, can be in the situation of user's nonintervention Lookup protocol download time regularly, in time download the information that timing or not timing are upgraded, and owing to be the download time point of server controls portable terminal or download time interval length with current download next time, therefore, can avoid the frequent interconnection network of portable terminal and unnecessary networking request, avoid the bottleneck of concurrent connection.In addition, if the information issuing time of server change, need not to notify in addition portable terminal to revise regularly strategy, can directly revise the indication information that returns to portable terminal, portable terminal is according to the indicated download time point or download next time with the time interval length of current download and just can determine exactly next time point to server initiation information download request of the indication information that returns, thereby in time downloads to information needed.
The inventive method is applicable to various types of portable terminals, and the download as long as portable terminal can be networked can regularly, just can be used the information that the inventive method is regularly downloaded regularly or not timing is upgraded.
(the second embodiment)
Present embodiment has increased fault tolerant mechanism on the basis of the first embodiment, even so that some special circumstances occur, also can automatically restore in the normal flow of the first embodiment, thereby guarantees stability and the integrality downloaded, improves and downloads success rate.
The fault tolerant mechanism of present embodiment comprise following at least one:
(1) after portable terminal 2 starts, sending module 21 sends the information download request from trend server 1, to enter the normal flow of the first embodiment;
(2) at portable terminal 2 by entering into without network's coverage area in the situation of network's coverage area, sending module 21 sends the information download request from trend server 1, to enter the normal flow of the first embodiment;
(3) watchdog module also is set in portable terminal 2, described watchdog module is used for the regular time interval is set, and when portable terminal 2 can't be connected to network, and the time that can't be connected to network is carried out timing; When time that can't be connected to network during more than or equal to this time interval, start sending module 21 and initiate download request to server 1, if still can't be connected to network, then continue to repeat the said process of described watchdog module, until request is correctly fed back.
(4) when portable terminal 2 users revise the time of portable terminal 2, sending module 21 sends the information download request from trend server 1, to enter the normal flow of the first embodiment.Like this, though the local zone time of portable terminal 2 is incorrect or with the asynchronism(-nization) of server 1 in the time of the step, also can guarantee the on time download of task, promptness is high.
Fig. 3 is the flow chart that the information processing method of the second embodiment of the present invention is shown.As shown in Figure 3, the method comprises:
Step S301, judge whether portable terminal 2 just starts shooting, and if so, then carries out following steps, otherwise finish this flow process;
Step S302, sending module 21 are initiated the information download request to server 1;
Step S303, sending module 21 judge that whether network normally connects, if so, and execution in step S304 then, otherwise execution in step S308 and S309;
The information platform 12 of step S304, server 1 obtains the information download request from portable terminal 2, and obtain the identification information of portable terminal 2, and according to the user of the identification presentation information enquiry mobile terminal 2 in subscription information database 11 that obtains subscription information whether, if, execution in step S305-S307 then, otherwise execution in step S310;
Step S305, server 1 return to current downloading task and described indication information the receiver module 22 of portable terminal 2;
The timer module 24 of step S306, portable terminal 2 arranges timing according to described indication information;
Step S307, timer module 120 starts timers and carries out timing, when timing then, jump to step S302;
Step S308, startup watchdog module are to can't carry out timing the networking time;
Step S309, watchdog module judge the time interval (for example, 2 hours) whether the time of can't networking arrange more than or equal to watchdog module, if so, then jump to step S302, otherwise jump to step S308;
Step S310, server 1 return indication information for empty to portable terminal 2, and sending module 21 forbids initiating the information download request, but is in stand-by state.
In addition, when time of user's manual modification portable terminal 2, execution in step S302-S3110 similarly.
Below with reference to drawings and Examples the present invention is described in detail; but; should be appreciated that the present invention is not limited to above disclosed specific embodiment, any modification based on the disclosed technical scheme of this specification all should be included in protection scope of the present invention.