Summary of the invention
In order to solve the problem, a kind of information processing system of the present invention is unified method, server, mobile terminal, to realize a kind of information of mobile terminal downloading mode high without the need to user's manual intervention, promptness, stability, integrality and success rate.
In order to realize above object, the invention provides a kind of information processing system, this information processing system comprises:
Server, it is for obtaining the information download request from mobile terminal; The identification information of described mobile terminal is obtained according to described information download request; The information content of described mobile terminal subscription is inquired about according to described identification information, and according to Query Result, current downloading task and indication information are sent to described mobile terminal, wherein, described indication information is used to indicate described mobile terminal sends time from new information download request to described server;
Mobile terminal, it is for receiving described current downloading task and described indication information; Corresponding information is downloaded according to described current downloading task; Time indicated by described indication information sends described new information download request to described server again.
Wherein, described indication information comprise following one of at least: described mobile terminal sends time of described new information download request to described server and described mobile terminal sends the time interval length between the time of described information download request to described server; Described mobile terminal sends the time point of new information download request to described server.
Wherein, described information download request also comprises the current display time of described terminal, described indication information comprise following one of at least: described mobile terminal again can time interval length between time of Download Info and described mobile terminal current display time, described mobile terminal again can the time point of Download Info.
The present invention also provides a kind of server, and this server comprises:
Subscription information database, it is for the information content of the identification information and subscription that record the mobile terminal of each subscription information;
Information platform, it is for obtaining the information download request from described mobile terminal; The identification information of described mobile terminal is obtained according to described information download request; In described subscription information database, the information content of described mobile terminal subscription is inquired about according to described identification information, and according to Query Result, current downloading task and indication information are sent to described mobile terminal, wherein, described indication information is used to indicate described mobile terminal sends time from new information download request to described server.
The invention provides a kind of mobile terminal, this mobile terminal comprises:
Sending module, it is for server-originated information download request;
Receiver module, it is for receiving current downloading task from described server and indication information;
Download module, it is for downloading corresponding information according to described current downloading task;
Timer module, it is for arranging timing according to described indication information, and wherein, described indication information is used to indicate described mobile 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 for when described mobile terminal-opening, sends described information download request to described server; And/or
Described sending module specifically at described mobile terminal by when having entered into network's coverage area without network's coverage area, send described information download request to described server; And/or
Described sending module is specifically for revising the described mobile terminal time during user, send described information download request to described server.
Preferably, when described server lookup does not subscribe to any information to described mobile phone users, when the described indication information returned to described mobile terminal is empty, described sending module is forbidden sending information download request to described server.
Preferably, described mobile terminal also comprises watchdog module, and described watchdog module is used for arranging fixed time interval, and when described mobile terminal cannot be connected to network, carries out timing to the time that cannot be connected to network; When the time that cannot be connected to network is more than or equal to this time interval, start described sending module and initiate download request to described server, if still network cannot be connected to, then continue the said process repeating 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 mobile terminal;
Described server obtains the identification information of described mobile terminal according to described information download request;
Described server inquires about the information content of described mobile terminal subscription according to described identification information, and according to Query Result, current downloading task and indication information are sent to described mobile terminal, wherein, described indication information is used to indicate described mobile terminal sends time from new information download request to described server.
Wherein, described mobile terminal receives described current downloading task and described indication information; Corresponding information is downloaded according to described current downloading task; Time indicated by described indication information sends new download request to described server again.
Preferably, described indication information comprise following one of at least: described mobile terminal sends time and the time interval length of described mobile terminal between the time that server described in forward direction sends information download request of new information download request to described server; Described mobile terminal sends the time point of new information download request to described server.
Wherein, described information download request also comprises the current display time of described terminal, described indication information comprise following one of at least: described mobile terminal again can time interval length between time of Download Info and described mobile terminal current display time, described mobile terminal again can the time point of Download Info.
By above technical scheme, without the need to user intervention, the indication information that mobile terminal utilizes server to provide, self-timing log-on message is downloaded, thus the download on time of guarantee information, promptness is high.In addition, in reasons such as mobile terminal shutdown, network connectivity fai_lure so that when cannot network for a long time, can automatically initiate information download request, obtain normal download time point or download time gap length, thus make to enter and download flow process normally, 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 mobile terminal 2.Wherein, server 1 is for obtaining the information download request from mobile terminal 2; The identification information of mobile terminal 2 is obtained according to described information download request; According to the information content that described identification information enquiry mobile terminal 2 is subscribed to, and according to Query Result, current downloading task and indication information are sent to mobile terminal 2, wherein, described indication information is used to indicate mobile terminal 2 sends time from new information download request to server 1.Mobile terminal 2 is for receiving described current downloading task and described indication information; Corresponding information is downloaded according to described current downloading task; Time indicated by described indication information sends described new information download request to server 1 again.
As shown in Figure 1, server 1 comprises subscription information database 11 and information platform 12 further.Wherein, subscription information database 11 is for the information content of the identification information and subscription that record the mobile terminal of each subscription information.Information platform 12 is for obtaining the information download request from mobile terminal 2; The identification information of mobile terminal 2 is obtained 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 mobile terminal 2.
As shown in Figure 1, mobile terminal 2 comprises sending module 21, receiver module 22, download module 23 and timer module 24 further.Wherein, sending module 21 is for initiating information download request to server 1 (particularly, information platform 12).Receiver module 22 is for receiving from the current downloading task of server 1 (particularly, information platform 12) and indication information.Download module 23 is for downloading corresponding information according to described current downloading task.Timer module 24 is for arranging timing according to described indication information; When timing then, start sending module 21 initiate described new information download request to server 1 (particularly, information platform 12).
Here, described indication information comprise following one of at least: mobile terminal 2 sends time and the time interval length of mobile terminal 2 between the time that forward direction server 1 sends information download request of new information download request to server 1; Mobile terminal 2 sends the time point of new information download request to server 1.When described indication information is aforesaid time interval length, timed interval for benchmark, is set to the time interval length indicated by described indication information with mobile terminal 1 current time by the timer module 24 of mobile terminal 1.The advantage of this mode is, even if when time irreversibility with server 1 of mobile terminal 2, mobile terminal 2 also can initiate information download request to server 1 in time, thus downloads to information needed in time.
Except with except upper type, the current display time of mobile terminal 2 in the information download request that mobile terminal 2 sends to server 1, also can be comprised.In this case, described indication information can comprise following one of at least: mobile terminal 2 again can time interval length between time of Download Info and mobile terminal 2 current display time; Mobile terminal 2 again can the time point of Download Info.This mode can ensure equally: even if when time irreversibility with server 1 of mobile terminal 2, mobile terminal 2 also can initiate information download request to server 1 in time, thus downloads to information needed in time.
The present invention also provides a kind of information processing method, and the method comprises: server obtains the information download request from mobile terminal; Server obtains the identification information of mobile terminal according to information download request; The information content that server is subscribed to according to identification information enquiry mobile terminal, and according to Query Result, current downloading task and indication information are sent to mobile terminal, wherein, indication information is used to indicate mobile terminal sends time from new information download request to server.
Fig. 2 is the flow chart of the information processing method that the first embodiment of the present invention is shown.As shown in Figure 2, the method comprises:
The sending module 21 of step S201, mobile terminal 2 initiates 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 mobile terminal 2;
The information platform 12 of step S203, server 1 obtains the identification information of mobile terminal 2 according to the information download request obtained;
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;
Current downloading task and indication information are sent to the receiver module 22 of mobile terminal 2 by the information platform 12 of step S205, server 1 according to Query Result;
The receiver module 22 of step S206, mobile terminal 2 receives described current downloading task and described indication information;
The download module 23 of step S207, mobile terminal 2 downloads corresponding information according to described current downloading task;
The timer module 24 of step S208, mobile terminal 2 arranges timing according to described indication information;
Step S209, judge whether timing arrives, if so, then step S201 is jumped to, in step s 201, the timer module 24 of mobile 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 that server 1 inquires mobile terminal 2 does not subscribe to any information, the indication information of the sky that server 1 can return to mobile terminal 2.In this case, sending module 21 is forbidden sending information download request to server 1.
In addition, for pay imformation, successfully to send after payment information to server 1 subscription information at mobile terminal 2, waiting for server 1 can not reply and download authority, only obtain mandate according to the state of this locality transmission payment information, send payment information success as long as that is, local, server 1 just can return downloading task and indication information in response to the download request of mobile terminal 2, enters and downloads flow process normally.Like this, real-time and simplicity can be ensured.
Below, for mobile phone-downloaded datagram, the present embodiment method will be described.In this example, server 1 is datagram server, and mobile terminal 2 is mobile phone, and identification information is phone number, the information of subscribing to is datagram, and subscription information database 11 records the phone number of the mobile phone of each subscription digital report and the datagram information content of subscription.
Idiographic flow is as follows:
The sending module 21 of step S201, mobile phone 2 initiates 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 obtained;
The information platform 12 of step S204, datagram server 1 is according to the phone number the obtained datagram content that inquiry mobile phone 2 is subscribed in subscription information database 11;
Current downloading task and indication information are sent to the receiver module 22 of mobile phone 2 by the information platform 12 of step S205, datagram server 1 according to Query Result;
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 downloads 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 24 of mobile phone 2 starts sending module 21 and initiates new datagram download request to the information platform 12 of datagram server 1.
Cellphone subscriber can subscribe to many parts of datagram, the download time point of every part of datagram is determined by datagram server, or by the time interval length between time of datagram server determination mobile phone current initiation download request and the normal issuing time of every part of datagram, the download time point of every part of datagram determined again by mobile phone 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 when user's nonintervention Lookup protocol timing download time, the timely information downloading timing or not timing renewal, and put due to the download time being server controls mobile terminal or download the time interval length with current download next time, therefore, the frequent interconnection network of mobile terminal and unnecessary networking request can be avoided, avoid the bottleneck of concurrent connection.In addition, if the information issuing time change of server, without the need to notifying mobile terminal amendment timing strategies in addition, can directly revise the indication information returning to mobile terminal, the download time of mobile terminal indicated by the indication information returned puts or downloads next time and just can determine the time point of next time to server-originated information download request exactly with the time interval length of current download, thus downloads to information needed in time.
The inventive method is applicable to various types of mobile terminal, the download as long as mobile terminal can be networked, and regularly, just can apply the inventive method and carry out the information that timing or not timing renewal are downloaded in timing.
(the second embodiment)
The present embodiment adds fault tolerant mechanism on the basis of the first embodiment, even if to make some special circumstances occur, also can automatically restore in the normal flow of the first embodiment, thus guarantees stability and the integrality of download, improves and download success rate.
The fault tolerant mechanism of the present embodiment comprise following at least one:
(1), after mobile terminal 2 is started shooting, sending module 21 sends information download request from trend server 1, to enter the normal flow of the first embodiment;
(2) at mobile terminal 2 by when having entered into network's coverage area without network's coverage area, sending module 21 sends information download request from trend server 1, to enter the normal flow of the first embodiment;
(3) in mobile terminal 2, also arrange watchdog module, described watchdog module is used for arranging fixed time interval, and when mobile terminal 2 cannot be connected to network, carries out timing to the time that cannot be connected to network; When the time that cannot be connected to network is more than or equal to this time interval, start sending module 21 and initiate download request to server 1, if still network cannot be connected to, then continue the said process repeating described watchdog module, until request is correctly fed back.
(4) when mobile terminal 2 user revises the time of mobile terminal 2, sending module 21 sends information download request from trend server 1, to enter the normal flow of the first embodiment.Like this, though the local zone time of mobile terminal 2 is incorrect or time irreversibility with server 1 time, also can guarantee the download on time of task, promptness is high.
Fig. 3 is the flow chart of the information processing method that the second embodiment of the present invention is shown.As shown in Figure 3, the method comprises:
Step S301, judge whether mobile terminal 2 just starts shooting, and if so, then performs following steps, otherwise terminate this flow process;
Step S302, sending module 21 initiate information download request to server 1;
Step S303, sending module 21 judge whether network normally connects, and if so, then perform step S304, otherwise perform step S308 and S309;
The information platform 12 of step S304, server 1 obtains the information download request from mobile terminal 2, and obtain the identification information of mobile terminal 2, and according to the user's whether subscription information of identification presentation information enquiry mobile terminal 2 in subscription information database 11 obtained, if, then perform step S305-S307, otherwise perform step S310;
Current downloading task and described indication information are returned to the receiver module 22 of mobile terminal 2 by step S305, server 1;
The timer module 24 of step S306, mobile terminal 2 arranges timing according to described indication information;
Step S307, timer module 120 start timer and carry out timing, when timing then, jump to step S302;
Step S308, startup watchdog module are to cannot the time of networking carry out timing;
Step S309, watchdog module judge whether the time of cannot networking is more than or equal to the time interval (such as, 2 hours) of watchdog module setting, if so, then jumps to step S302, otherwise jumps to step S308;
Step S310, server 1 return indication information for empty to mobile terminal 2, and sending module 21 forbids initiation information download request, but is in stand-by state.
In addition, when the time of user's manual modification mobile terminal 2, similarly step S302-S3110 is performed.
Below with reference to drawings and Examples to invention has been detailed description; but; should be appreciated that, the present invention is not limited to above disclosed specific embodiment, and any modification based on the technical scheme disclosed in this specification all should be included in protection scope of the present invention.