CN103368814B - data push method, system and mobile terminal - Google Patents

data push method, system and mobile terminal Download PDF

Info

Publication number
CN103368814B
CN103368814B CN201210084614.3A CN201210084614A CN103368814B CN 103368814 B CN103368814 B CN 103368814B CN 201210084614 A CN201210084614 A CN 201210084614A CN 103368814 B CN103368814 B CN 103368814B
Authority
CN
China
Prior art keywords
mobile terminal
network
server
message
identifier position
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.)
Active
Application number
CN201210084614.3A
Other languages
Chinese (zh)
Other versions
CN103368814A (en
Inventor
唐虹刚
梁晓星
沙振宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201210084614.3A priority Critical patent/CN103368814B/en
Publication of CN103368814A publication Critical patent/CN103368814A/en
Application granted granted Critical
Publication of CN103368814B publication Critical patent/CN103368814B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • Y02B60/50

Abstract

The present invention proposes a kind of data push method, system and mobile terminal.The method comprise the steps that setting up network between the mobile terminal and the server connects, and connected the identity information transmission of mobile terminal to server by network;When server has message to send to mobile terminal, connecting to mobile terminal transmission message identifier position according to identity information and by network, wherein message identifier position has been used to indicate whether that message to send to mobile terminal;After mobile terminal receives message identifier position, connected to obtain safe network by encryption network being connected with having shaken hands between server;And server sends a message to mobile terminal by the network connection of safety.Method according to embodiments of the present invention, reduces flow consumption when rebuilding network connection because network interrupts, and reduces mobile terminal when rebuilding network and connecting because of deciphering, the energy consumption of certification authentication simultaneously, and the load of minimizing server, the shortest.

Description

Data push method, system and mobile terminal
Technical field
The present invention relates to mobile communication technology field, particularly relate to a kind of data push method, system and mobile terminal.
Background technology
In the mobile communication network, prior art realizes touching of message by the interconnection technique connected based on safety length simultaneously Send out and obtain, the APNS (Apple Push Notification Service, Fructus Mali pumilae push server) of such as Apple iOS, The C2DM (Cloud to Device Messaging) of Google Android, the wechat etc. of Tengxun.
Prior art there is problems of, due to mobile communications network be easily subject to external environment impact such as subway, Elevators etc. disturb, often unstable and often interrupt, and in order to keep connecting, server and mobile terminal need to rebuild and connect, often Secondary reconstruction is required for re-starting secure handshake, and data traffic consumes big, and owing to the operation such as data encryption, certification authentication increases Add the energy consumption of mobile terminal, too increase the load of server simultaneously.
Summary of the invention
It is contemplated that at least solve one of technical problem present in prior art.
To this end, the first of the present invention purpose be to propose one can reduce delivery flow rate, energy consumption, server load and The shortest data push method.
Second object of the present invention is to propose a kind of data delivery system.
Third object of the present invention is to propose a kind of mobile terminal.
To achieve these goals, the data push method of a first aspect of the present invention embodiment comprises the following steps: Set up network between mobile terminal with server to be connected, and by the connection of described network, the identity information of described mobile terminal is sent out Deliver to described server;When described server has message to send to described mobile terminal, according to described identity information and lead to Crossing described network to connect to described mobile terminal transmission message identifier position, wherein said message identifier position has been used to indicate whether to disappear Breath to send to described mobile terminal;After described mobile terminal receives described message identifier position, by with described service The encryption that described network is connected by having shaken hands between device connects to obtain safe network;And described server passes through institute State safe network connection and send the message to described mobile terminal.
Data push method according to embodiments of the present invention, first builds between mobile terminal and server when message trigger Vertical network connects, and is then connected to obtain safe network by network attached encryption when server has message to be sent to mobile terminal Connect, then connect acquisition message by the network of safety, thus message trigger is separated with obtaining, rebuild network when message trigger Without carrying out secure handshake during connection, on the one hand reduce delivery flow rate when reconstruction network connects, on the other hand reduce mobile whole The energy that end is decrypted when rebuilding network and connecting, certification authentication is consumed, reduces the load of server simultaneously, the shortest.
To achieve these goals, the data delivery system of a second aspect of the present invention embodiment includes: mobile terminal and Server, described mobile terminal is for setting up after network is connected between described mobile terminal with described server, by institute State network to connect the identity information transmission of described mobile terminal to described server;Described server is for when there being message to send out When delivering to described mobile terminal, connect to described mobile terminal transmission message mark according to described identity information and by described network Knowing position, wherein said message identifier position has been used to indicate whether that message to send to described mobile terminal, wherein, described mobile whole End is after receiving described message identifier position, by the encryption being connected with the described network of having shaken hands between described server To obtain safe network connection, described server sends the message to described movement by described safe network connection Terminal.
Data delivery system according to embodiments of the present invention, sets up net when message trigger between mobile terminal and server Network connects, and is connected to obtain safe network by network attached encryption when server has message to be sent to mobile terminal, service Device sends a message to mobile terminal by the network connection of safety, and this system realizes the separation of message trigger and acquisition, is disappearing Rebuild when breath triggers when network connects without carrying out secure handshake, on the one hand reduce the delivery flow rate rebuild when network connects, separately On the one hand reduce the energy that mobile terminal is decrypted when rebuilding network and connecting, certification authentication is consumed, reduce service simultaneously The load of device, the shortest.
To achieve these goals, the mobile terminal of a third aspect of the present invention embodiment includes: connection establishment module, institute State connection establishment module to be connected for setting up network between described mobile terminal and server;Push trigger module, described in push away Trigger module is sent to send the identity information of described mobile terminal to described server for being connected by described network;First connects Receive module, the message identifier position that described first receiver module is sent for receiving described server to be connected by described network, its Described in message identifier position be used for indicating whether described server has message to send to described mobile terminal, wherein, described company Connect and set up module after receiving described message identifier position, by having shaken hands to described network between described server The encryption connected connects to obtain safe network.
Mobile terminal according to embodiments of the present invention, by connection establishment module set up when message trigger with server it Between network connect, when server has message to be sent to mobile terminal by network attached encryption to obtain safe network even Connecing, server sends a message to mobile terminal by the network connection of safety, it is achieved message trigger and the separation of acquisition, is disappearing Rebuild when breath triggers when network connects without carrying out secure handshake, it is possible to reduce rebuild delivery flow rate when network connects, simultaneously Reduce the energy that mobile terminal is decrypted, certification authentication is consumed, and the load of minimizing server when rebuilding network and connecting, The shortest.
The additional aspect of the present invention and advantage will part be given in the following description, and part will become from the following description Obtain substantially, or recognized by the practice of the present invention.
Accompanying drawing explanation
Above-mentioned and/or the additional aspect of the present invention and advantage are from combining the accompanying drawings below description to embodiment and will become Substantially with easy to understand, wherein:
Fig. 1 is the flow chart of data push method according to an embodiment of the invention;
Fig. 2 is the flow chart of data push method according to an embodiment of the invention;
Fig. 3 is the flow chart of data push method according to an embodiment of the invention;
Fig. 4 is the flow chart of data push method according to an embodiment of the invention;
Fig. 5 is the structured flowchart of data delivery system according to an embodiment of the invention;
Fig. 6 is the structured flowchart of mobile terminal according to an embodiment of the invention;And
Fig. 7 is the structured flowchart of mobile terminal according to an embodiment of the invention.
Detailed description of the invention
Embodiments of the invention are described below in detail, and the example of described embodiment is shown in the drawings, the most from start to finish Same or similar label represents same or similar element or has the element of same or like function.Below with reference to attached The embodiment that figure describes is exemplary, is only used for explaining the present invention, and is not considered as limiting the invention.
In describing the invention, term " longitudinally ", " laterally ", " on ", D score, "front", "rear", "left", "right", " perpendicular Directly ", " level ", " top ", the orientation of the instruction such as " end " or position relationship be based on orientation shown in the drawings or position relationship, be only For the ease of describing the present invention rather than requiring that the present invention must be with specific azimuth configuration and operation, therefore it is not intended that right The restriction of the present invention.
Below with reference to Figure of description, data push method according to embodiments of the present invention is described.
A kind of data push method, comprises the following steps: sets up network between the mobile terminal and the server and connects, and leads to Cross network to connect the identity information transmission of mobile terminal to server;When server has message to send to mobile terminal, Connecting to mobile terminal transmission message identifier position according to identity information and by network, wherein message identifier position is used to indicate whether Message is had to send to mobile terminal;After mobile terminal receives message identifier position, by shaking hands between server Complete that network connection is encrypted obtain safe network to connect;And server by safety network connect message is sent out Deliver to mobile terminal.
Fig. 1 is the flow chart of the data push method of one embodiment of the invention.
As it is shown in figure 1, data push method according to embodiments of the present invention comprises the steps.
Step S101, is set up network between the mobile terminal and the server and connects, and connected mobile terminal by network Identity information send to server.
Specifically, it can be that common unencrypted TCP connects that network connects, and mobile terminal connects the body sent by network Part information is unique mark of mobile terminal, and server determines, according to this identity information, the mobile terminal that information is mail to.
After connection establishment between the mobile terminal and the server, server (such as operator) may be when longer Interior no data transmission, in order to maintain this to connect, the solution of prior art is that first server sends small data, then etc. The scheduled time such as 30s, server determines whether that data return, and then thinks that connection disconnects as no data returns, then carries out weight Build.This method often compares expense electricity, and in order to solve this problem, in one embodiment of the invention, mobile terminal is with predetermined Time interval actively disconnects establishing network of laying equal stress on and connects.Specifically, after the network connection establishment between mobile terminal and server, If not receiving the response of server in the longer time, if mobile terminal affiliated network exists, mobile terminal is with in advance Fixing time to be spaced and actively disconnect network connection, then re-establish network and connect, wherein, predetermined time interval can be by mobile whole The clock of end triggers, and predetermined time interval can also be 10 minutes to 15 minutes.Thus can reduce mobile terminal at dormancy shape Energy consumption during state.
In one embodiment of the invention, after mobile terminal affiliated network interrupts and recovers, mobile terminal with Re-establish network between server to connect.Specifically, when mobile terminal affiliated unstable networks or interruption are for instance in ground When lower room, elevator etc., after mobile terminal affiliated network interrupts and recovers, re-establish network and connect.
Step S102, when server has message to send to mobile terminal, connects according to identity information and by network Sending message identifier position to mobile terminal, wherein message identifier position has been used to indicate whether that message to send to mobile terminal.
In one embodiment of the invention, before server returns to message identifier position, network connection is in obstruction shape State.
In one embodiment of the invention, message identifier position is represented by single byte.Should be appreciated that and can also be used with double byte etc. Other forms represent message identifier position.
Step S103 is after mobile terminal receives message identifier position, right by having shaken hands between server The encryption that network connects connects to obtain safe network.
Step S104, server sends a message to mobile terminal by the network connection of safety.
Data push method according to embodiments of the present invention, first builds between mobile terminal and server when message trigger Vertical network connects, and is then connected to obtain safe network by network attached encryption when server has message to be sent to mobile terminal Connect, then connect acquisition message by the network of safety, thus message trigger is separated with obtaining, rebuild network when message trigger Without carrying out secure handshake during connection, on the one hand reduce delivery flow rate when reconstruction network connects, on the other hand reduce mobile whole The energy that end is decrypted when rebuilding network and connecting, certification authentication is consumed, reduces the load of server simultaneously, the shortest.
Fig. 2 is the flow chart of the data push method of one embodiment of the invention.
As in figure 2 it is shown, data push method according to embodiments of the present invention comprises the steps.
Step S201, is set up network between the mobile terminal and the server and connects, and connected mobile terminal by network Identity information send to server.
Specifically, it can be that common unencrypted TCP connects that network connects, and mobile terminal connects the body sent by network Part information is unique mark of mobile terminal, and server determines, according to this identity information, the mobile terminal that information is mail to.
After connection establishment between the mobile terminal and the server, server (such as operator) may be when longer Interior no data transmission, in order to maintain this to connect, the solution of prior art is that first server sends small data, then etc. The scheduled time such as 30s, server determines whether that data return, and then thinks that connection disconnects as no data returns, then carries out weight Build.This method often compares expense electricity, and in order to solve this problem, in one embodiment of the invention, mobile terminal is with predetermined Time interval actively disconnects establishing network of laying equal stress on and connects.Specifically, after the network connection establishment between mobile terminal and server, If not receiving the response of server in the longer time, if mobile terminal affiliated network exists, mobile terminal is with in advance Fixing time to be spaced and actively disconnect network connection, then re-establish network and connect, wherein, predetermined time interval can be by mobile whole The clock of end triggers, and predetermined time interval can also be 10 minutes to 15 minutes.Thus can reduce mobile terminal at dormancy shape Energy consumption during state.
In one embodiment of the invention, after mobile terminal affiliated network interrupts and recovers, mobile terminal with Re-establish network between server to connect.Specifically, when mobile terminal affiliated unstable networks or interruption are for instance in ground When lower room, elevator etc., after mobile terminal affiliated network interrupts and recovers, re-establish network and connect.
Step S202, when server has message to send to mobile terminal, connects according to identity information and by network Sending message identifier position to mobile terminal, wherein message identifier position has been used to indicate whether that message to send to mobile terminal.
In one embodiment of the invention, before server returns to message identifier position, network connection is in obstruction shape State.
In one embodiment of the invention, message identifier position is represented by single byte.Should be appreciated that and can also be used with double byte etc. Other forms represent message identifier position.
Step S203 is after mobile terminal receives message identifier position, right by having shaken hands between server The encryption that network connects connects to obtain safe network.
Step S204, server sends a message to mobile terminal by the network connection of safety.
Step S205, mobile terminal connects the message acquisition request that sends by the network of safety, and wherein, server is receiving After obtaining request to message, connected by the network of safety and send a message to mobile terminal.
Data push method according to embodiments of the present invention, mobile terminal connects transmission message by the network of safety and obtains Asking, server sends a message to mobile terminal by the network connection of safety after receiving message and obtaining request, logical The secure network connection crossing encryption can ensure that the safety that information is transmitted.
Fig. 3 is the flow chart of the data push method of one embodiment of the invention.
As it is shown on figure 3, data push method according to embodiments of the present invention comprises the steps.
Step S301, is set up network between the mobile terminal and the server and connects, and connected mobile terminal by network Identity information send to server.
Specifically, it can be that common unencrypted TCP connects that network connects, and mobile terminal connects the body sent by network Part information is unique mark of mobile terminal, and server determines, according to this identity information, the mobile terminal that information is mail to.
After connection establishment between the mobile terminal and the server, server (such as operator) may be when longer Interior no data transmission, in order to maintain this to connect, the solution of prior art is that first server sends small data, then etc. The scheduled time such as 30s, server determines whether that data return, and then thinks that connection disconnects as no data returns, then carries out weight Build.This method often compares expense electricity, and in order to solve this problem, in one embodiment of the invention, mobile terminal is with predetermined Time interval actively disconnects establishing network of laying equal stress on and connects.Specifically, after the network connection establishment between mobile terminal and server, If not receiving the response of server in the longer time, if mobile terminal affiliated network exists, mobile terminal is with in advance Fixing time to be spaced and actively disconnect network connection, then re-establish network and connect, wherein, predetermined time interval can be by mobile whole The clock of end triggers, and predetermined time interval can also be 10 minutes to 15 minutes.Thus can reduce mobile terminal at dormancy shape Energy consumption during state.
In one embodiment of the invention, after mobile terminal affiliated network interrupts and recovers, mobile terminal with Re-establish network between server to connect.Specifically, when mobile terminal affiliated unstable networks or interruption are for instance in ground When lower room, elevator etc., after mobile terminal affiliated network interrupts and recovers, re-establish network and connect.
Step S302, when server has message to send to mobile terminal, connects according to identity information and by network Sending message identifier position to mobile terminal, wherein message identifier position has been used to indicate whether that message to send to mobile terminal.
In one embodiment of the invention, before server returns to message identifier position, network connection is in obstruction shape State.
In one embodiment of the invention, message identifier position is represented by single byte.Should be appreciated that and can also be used with double byte etc. Other forms represent message identifier position.
Step S303 is after mobile terminal receives message identifier position, right by having shaken hands between server The encryption that network connects connects to obtain safe network.
Step S304, server sends a message to mobile terminal by the network connection of safety.
Step S305, mobile terminal connects the message acquisition request that sends by the network of safety, and wherein, server is receiving After obtaining request to message, connected by the network of safety and send a message to mobile terminal.
Step S306, after mobile terminal receives message, is connected by the network of safety and returns confirmation to server.
Data push method according to embodiments of the present invention, confirms by returning to server, server can obtain instead Feedforward information is to confirm message transmission.
Fig. 4 is the flow chart of the data push method of one embodiment of the invention.
As shown in Figure 4, data push method according to embodiments of the present invention comprises the steps.
Step S401, is set up network between the mobile terminal and the server and connects, and connected mobile terminal by network Identity information send to server.
Specifically, it can be that common unencrypted TCP connects that network connects, and mobile terminal connects the body sent by network Part information is unique mark of mobile terminal, and server determines, according to this identity information, the mobile terminal that information is mail to.
After connection establishment between the mobile terminal and the server, server (such as operator) may be when longer Interior no data transmission, in order to maintain this to connect, the solution of prior art is that first server sends small data, then etc. The scheduled time such as 30s, server determines whether that data return, and then thinks that connection disconnects as no data returns, then carries out weight Build.This method often compares expense electricity, and in order to solve this problem, in one embodiment of the invention, mobile terminal is with predetermined Time interval actively disconnects establishing network of laying equal stress on and connects.Specifically, after the network connection establishment between mobile terminal and server, If not receiving the response of server in the longer time, if mobile terminal affiliated network exists, mobile terminal is with in advance Fixing time to be spaced and actively disconnect network connection, then re-establish network and connect, wherein, predetermined time interval can be by mobile whole The clock of end triggers, and predetermined time interval can also be 10 minutes to 15 minutes.Thus can reduce mobile terminal at dormancy shape Energy consumption during state.
In one embodiment of the invention, after mobile terminal affiliated network interrupts and recovers, mobile terminal with Re-establish network between server to connect.Specifically, when mobile terminal affiliated unstable networks or interruption are for instance in ground When lower room, elevator etc., after mobile terminal affiliated network interrupts and recovers, re-establish network and connect.
Step S402, when server has message to send to mobile terminal, connects according to identity information and by network Sending message identifier position to mobile terminal, wherein message identifier position has been used to indicate whether that message to send to mobile terminal.
In one embodiment of the invention, before server returns to message identifier position, network connection is in obstruction shape State.
In one embodiment of the invention, message identifier position is represented by single byte.Should be appreciated that and can also be used with double byte etc. Other forms represent message identifier position.
Step S403 is after mobile terminal receives message identifier position, right by having shaken hands between server The encryption that network connects connects to obtain safe network.
Step S404, server sends a message to mobile terminal by the network connection of safety.
Step S405, mobile terminal connects the message acquisition request that sends by the network of safety, and wherein, server is receiving After obtaining request to message, connected by the network of safety and send a message to mobile terminal.
Step S406, after mobile terminal receives message, is connected by the network of safety and returns confirmation to server.
Step S407, after server receives confirmation, the network disconnecting safety connects.
Data push method according to embodiments of the present invention, after server receives confirmation, disconnects the network of safety Connect, Free up Memory.
In order to realize above-described embodiment, another aspect of the present invention also proposes a kind of data delivery system.Below with reference to explanation Book accompanying drawing describes data delivery system according to embodiments of the present invention.
A kind of data delivery system, including: mobile terminal and server, mobile terminal is at mobile terminal and server Between set up after network connects, connected by network and the identity information of mobile terminal sent to server;Server is used for When there being message to send to mobile terminal, connect to mobile terminal transmission message identifier according to identity information and by network Position, wherein, mobile terminal after receiving message identifier position, by with adding that the network of having shaken hands between server is connected Close to obtain safe network connection, server sends a message to mobile terminal by the network connection of safety.
Fig. 5 is the structured flowchart of the data delivery system of one embodiment of the invention.
As it is shown in figure 5, data delivery system according to embodiments of the present invention includes mobile terminal 100 and server 200.
Specifically, mobile terminal 100, after setting up network between mobile terminal 100 with server 200 and being connected, leads to Cross network to connect the identity information transmission of mobile terminal 100 to server 200.More specifically, it can be common that network connects Unencrypted TCP connects, and mobile terminal 100 connects, by network, unique mark that the identity information sent is mobile terminal 100, Server 200 determines, according to this identity information, the mobile terminal 100 that information is mail to.
After connection establishment between the mobile terminal and the server, server (such as operator) may be when longer Interior no data transmission, in order to maintain this to connect, the solution of prior art is that first server sends small data, then etc. The scheduled time such as 30s, server determines whether that data return, and then thinks that connection disconnects as no data returns, then carries out weight Build.This method often compares expense electricity, and in order to solve this problem, in one embodiment of the invention, mobile terminal 100 is also used Connect in actively disconnecting establishing network of laying equal stress on predetermined time interval.Specifically, the net between mobile terminal 100 and server 200 After network connection establishment, if not receiving the response of server 200 in the longer time, if belonging to mobile terminal 100 Network exists, and mobile terminal 100 actively disconnects network and connects with predetermined time interval, then re-establishes network and connects, wherein, Predetermined time interval can be triggered by the clock of mobile terminal 100, and predetermined time interval can also be 10 minutes to 15 minutes.By This can reduce the mobile terminal 100 energy consumption when resting state.
In one embodiment of the invention, after the network belonging to mobile terminal 100 interrupts and recovers, at mobile terminal Re-establish network between 100 with server 200 to be connected.Specifically, when the unstable networks belonging to mobile terminal 100 or interruption During for instance in basement, elevator etc., after the network belonging to mobile terminal 100 interrupts and recovers, re-establish network and connect.
Server 200, for when there being message to send to mobile terminal 100, connects according to identity information and by network Sending message identifier position to mobile terminal 100, wherein, message identifier position has been used to indicate whether that message to send to mobile terminal 100, wherein, mobile terminal 100 is after receiving message identifier position, by the network of having shaken hands between server 200 The encryption of connection is to obtain safe network connection, and server 200 sends a message to mobile whole by the network connection of safety End 100.
In one embodiment of the invention, before server 200 returns to message identifier position, network connection is in obstruction State.
In one embodiment of the invention, message identifier position is represented by single byte.Should be appreciated that and can also be used with double byte etc. Other forms represent message identifier position.
Data delivery system according to embodiments of the present invention, sets up net when message trigger between mobile terminal and server Network connects, and is connected to obtain safe network by network attached encryption when server has message to be sent to mobile terminal, service Device sends a message to mobile terminal by the network connection of safety, and this system realizes the separation of message trigger and acquisition, is disappearing Rebuild when breath triggers when network connects without carrying out secure handshake, on the one hand reduce the delivery flow rate rebuild when network connects, separately On the one hand reduce the energy that mobile terminal is decrypted when rebuilding network and connecting, certification authentication is consumed, reduce service simultaneously The load of device, the shortest.
In one embodiment of the invention, the network connection transmission message that mobile terminal 100 is additionally operable to by safety obtains Taking request, server 200 is additionally operable to, after receiving message and obtaining request, be connected by the network of safety and send a message to Mobile terminal 100.Thus, confirming by returning to server 200, server 200 can obtain feedback information to confirm message Transmission.
In one embodiment of the invention, mobile terminal 100 is additionally operable to after receiving the message, by the net of safety Network connects to server 200 return confirmation.Thus, can ensure that, by the secure network connection of encryption, the safety that information is transmitted.
In one embodiment of the invention, server 200 is additionally operable to after the confirmation has been received, disconnects the network of safety Connect.Thus, after server receives confirmation, the network disconnecting safety connects, Free up Memory.
In order to realize above-described embodiment, another aspect of the invention also proposes a kind of mobile terminal.Attached below with reference to description Figure describes mobile terminal according to embodiments of the present invention.
A kind of mobile terminal, including: connection establishment module, connection establishment module is between the mobile terminal and the server Set up network to connect;Push trigger module, push trigger module and for being connected by network, the identity information of mobile terminal is sent out Deliver to server;First receiver module, the message identifier that the first receiver module is sent for receiving server to be connected by network Position, wherein message identifier position is used for indicating whether server has message to send to mobile terminal, and wherein, connection establishment module exists After receiving message identifier position, encrypted by network has been connected with having shaken hands between server to obtain safe net Network connects.
Fig. 6 is the structured flowchart of the mobile terminal of one embodiment of the invention.
As shown in Figure 6, mobile terminal according to embodiments of the present invention includes connection establishment module 10, pushes trigger module 20 With the first receiver module 30.
Specifically, connection establishment module 10 connects for setting up network between the mobile terminal and the server.Wherein, connect Set up the network that module 10 set up connecting can be common unencrypted TCP connection.
After connection establishment between the mobile terminal and the server, server (such as operator) may be when longer Interior no data transmission, in order to maintain this to connect, the solution of prior art is that first server sends small data, then etc. The scheduled time such as 30s, server determines whether that data return, and then thinks that connection disconnects as no data returns, then carries out weight Build.This method often compares expense electricity, in order to solve this problem, in one embodiment of the invention, connection establishment module 10 It is additionally operable to actively disconnect establishing network of laying equal stress on predetermined time interval connect.Specifically, mobile eventually by the foundation of connection establishment module After end is connected with the network between server, if not receiving the response of server in the longer time, if mobile whole Network belonging to end exists, and connection establishment module 10 actively disconnects network and connects with predetermined time interval, then re-establishes net Network connect, wherein, predetermined time interval can by mobile terminal clock trigger, predetermined time interval can also be 10 minutes extremely 15 minutes.Thus can reduce the mobile terminal energy consumption when resting state.
In one embodiment of the invention, connection establishment module 10 is additionally operable to interrupt also at mobile terminal affiliated network After recovery, re-establish network between the mobile terminal and the server and connect.Specifically, unstable when mobile terminal affiliated network When determining or interrupt for instance in basement, elevator etc., after mobile terminal affiliated network interrupts and recovers, connection establishment module 10 re-establish network connects.
Push trigger module 20 to send the identity information of mobile terminal to server for being connected by network.Wherein, Identity information is unique mark of mobile terminal, and server determines, according to this identity information, the mobile terminal that information is mail to.
The message identifier position that first receiver module 30 is sent for receiving server to be connected by network, wherein message identifier Position is used for indicating whether server has message to send to mobile terminal, and wherein, connection establishment module 10 is receiving message mark After knowing position, connected to obtain safe network by encryption network being connected with having shaken hands between server.
In one embodiment of the invention, before server 200 returns to message identifier position, network connection is in obstruction State.
In one embodiment of the invention, message identifier position is represented by single byte.Should be appreciated that and can also be used with double byte etc. Other forms represent message identifier position.
Mobile terminal according to embodiments of the present invention, by connection establishment module set up when message trigger with server it Between network connect, when server has message to be sent to mobile terminal by network attached encryption to obtain safe network even Connecing, server sends a message to mobile terminal by the network connection of safety, it is achieved message trigger and the separation of acquisition, is disappearing Rebuild when breath triggers when network connects without carrying out secure handshake, it is possible to reduce rebuild delivery flow rate when network connects, simultaneously Reduce the energy that mobile terminal is decrypted, certification authentication is consumed, and the load of minimizing server when rebuilding network and connecting, The shortest.
Fig. 7 is the structured flowchart of the mobile terminal of one embodiment of the invention.
As it is shown in fig. 7, mobile terminal according to embodiments of the present invention includes connection establishment module 10, pushes trigger module 20, the first receiver module 30, sending module 40 and the second receiver module 50.
Specifically, connection establishment module 10 connects for setting up network between the mobile terminal and the server.Push and trigger The identity information of mobile terminal is sent to server by module 20 for being connected by network.First receiver module 30 is used for receiving Server connects the message identifier position sent by network, and wherein message identifier position is used for indicating whether server has message to send out Delivering to mobile terminal, wherein, connection establishment module 10 is after receiving message identifier position, by shaking hands between server Complete that network connection is encrypted obtain safe network to connect.Sending module 40 is for connecting to clothes by the network of safety Business device sends message and obtains request.Second receiver module 50 obtains the request net by safety for receiving server according to message Network connects the message sent.
In one embodiment of the invention, sending module 40 is additionally operable to after receiving the message, by the net of safety Network connects to server return confirmation.Thus server can obtain feedback information to confirm message transmission.
Mobile terminal according to embodiments of the present invention, is connected by the secure network of encryption and can ensure that with server communication The safety of information transmission.
Represent in flow charts or the logic described otherwise above at this and/or step, for example, it is possible to be considered as to use In the sequencing list of the executable instruction realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (system such as computer based system, including processor or other can hold from instruction Row system, device or equipment instruction fetch also perform the system instructed) use, or combine these instruction execution systems, device or set Standby and use.For the purpose of this specification, " computer-readable medium " can be any can to comprise, store, communicate, propagate or pass Defeated program is for instruction execution system, device or equipment or combines these instruction execution systems, device or equipment and the dress that uses Put.
The more specifically example (non-exhaustive list) of computer-readable medium includes following: have one or more wiring Electrical connection section (electronic installation), portable computer diskette box (magnetic device), random access memory (RAM), read only memory (ROM), erasable read only memory (EPROM or flash memory), the fiber device edited, and portable optic disk is read-only deposits Reservoir (CDROM).It addition, computer-readable medium can even is that and can print the paper of described program thereon or other are suitable Medium, because then can carry out editing, interpreting or if desired with it such as by paper or other media are carried out optical scanning His suitable method is processed to electronically obtain described program, is then stored in computer storage.
Should be appreciated that in an embodiment of the present invention, mobile terminal can be mobile phone, panel computer, personal digital assistant, E-book etc. have the hardware device of various operating system.
Should be appreciated that each several part of the present invention can realize by hardware, software, firmware or combinations thereof.Above-mentioned In embodiment, the software that multiple steps or method in memory and can be performed by suitable instruction execution system with storage Or firmware realizes.Such as, if realized with hardware, with the most the same, available well known in the art under Any one or their combination in row technology realize: have the logic gates for data signal realizes logic function Discrete logic, there is the special IC of suitable combination logic gate circuit, programmable gate array (PGA), on-the-spot Programmable gate array (FPGA) etc..
In the description of this specification, reference term " embodiment ", " some embodiments ", " example ", " specifically show Example " or the description of " some examples " etc. means to combine this embodiment or example describes specific features, structure, material or spy Point is contained at least one embodiment or the example of the present invention.In this manual, to the schematic representation of above-mentioned term not Necessarily refer to identical embodiment or example.And, the specific features of description, structure, material or feature can be any One or more embodiments or example in combine in an appropriate manner.
Although an embodiment of the present invention has been shown and described, it will be understood by those skilled in the art that: not These embodiments can be carried out multiple change in the case of departing from the principle of the present invention and objective, revise, replace and modification, this The scope of invention is limited by claim and equivalent thereof.

Claims (24)

1. a data push method, it is characterised in that comprise the following steps:
Set up network between the mobile terminal and the server to connect, and connected the identity of described mobile terminal by described network Information sends to described server;
When described server has message to send to described mobile terminal, connect according to described identity information and by described network Connecing and send message identifier position to described mobile terminal, wherein said message identifier position has been used to indicate whether that message to send to institute State mobile terminal;
After described mobile terminal receives described message identifier position, by having shaken hands to institute between described server The encryption stating network connection connects to obtain safe network;
Described server sends the message to described mobile terminal by described safe network connection;
After described mobile terminal receives described message, connected by described safe network and return really to described server Recognize;
After described server receives described confirmation, disconnect described safe network and connect.
Method the most according to claim 1, it is characterised in that farther include step:
Described mobile terminal connects transmission message by described safe network and obtains request,
Wherein said server, after receiving described message and obtaining request, is connected by described safe network and disappears described Breath sends to described mobile terminal.
Method the most according to claim 1 and 2, it is characterised in that described server return described message identifier position it Before, the connection of described network is in blocked state.
Method the most according to claim 1 and 2, it is characterised in that described mobile terminal is the most disconnected with predetermined time interval Open and rebuild described network to connect.
Method the most according to claim 4, it is characterised in that described predetermined time interval is by the clock of described mobile terminal Trigger.
Method the most according to claim 4, it is characterised in that described predetermined time interval is 10 minutes to 15 minutes.
Method the most according to claim 1 and 2, it is characterised in that when described mobile terminal affiliated network interrupts and extensive After Fu, between described mobile terminal with described server, re-establish described network be connected.
Method the most according to claim 1 and 2, it is characterised in that described message identifier position is represented by single byte.
9. a data delivery system, it is characterised in that include mobile terminal and server,
Described mobile terminal is for setting up after network is connected between described mobile terminal with described server, by described net Network connects the identity information transmission of described mobile terminal to described server;
Described server is for when there being message to send to described mobile terminal, according to described identity information and by described net Network connects to described mobile terminal transmission message identifier position, and wherein said message identifier position has been used to indicate whether that message to send To described mobile terminal,
Wherein, described mobile terminal is after receiving described message identifier position, by having shaken hands between described server The encryption becoming described network to connect connects to obtain safe network, and described server is connected institute by described safe network Stating message to send to described mobile terminal, described mobile terminal is after receiving described message, by described safe network Connect to return to described server and confirm, and after described server receives described confirmation, disconnect described safe net Network connects.
System the most according to claim 9, it is characterised in that described mobile terminal is additionally operable to by described safe net Network connects transmission message and obtains request, and described server is additionally operable to after receiving described message and obtaining request, by described The network connection of safety sends the message to described mobile terminal.
11. according to the system described in claim 9 or 10, it is characterised in that return to described message identifier position at described server Before, the connection of described network is in blocked state.
12. according to the system described in claim 9 or 10, it is characterised in that between described mobile terminal was additionally operable to the scheduled time Connect every actively disconnecting and rebuilding described network.
13. systems according to claim 12, it is characterised in that described predetermined time interval by described mobile terminal time Clock triggers.
14. systems according to claim 13, it is characterised in that described predetermined time interval is 10 minutes to 15 minutes.
15. according to the system described in claim 9 or 10, it is characterised in that when described mobile terminal affiliated network interrupts also After recovery, between described mobile terminal with described server, re-establish described network be connected.
16. according to the system described in claim 9 or 10, it is characterised in that described message identifier position is represented by single byte.
17. 1 kinds of mobile terminals, it is characterised in that including:
Connection establishment module, described connection establishment module is connected for setting up network between described mobile terminal and server;
Pushing trigger module, described propelling movement trigger module is for connecting the identity information of described mobile terminal by described network Send to described server;
First receiver module, the message that described first receiver module is sent for receiving described server to be connected by described network Flag, wherein said message identifier position is used for indicating whether described server has message to send to described mobile terminal,
Wherein, described connection establishment module is after receiving described message identifier position, by holding between described server The encryption that hands completes to connect described network connects to obtain safe network, in order to described server is by described safe Network connection sends the message to described mobile terminal;
Sending module, for after receiving described message, is connected by described safe network and returns to described server Confirm, so that described connection establishment module is after receiving described confirmation, disconnects described safe network and connect.
18. mobile terminals according to claim 17, it is characterised in that
Described sending module sends message acquisition request for being connected by described safe network to described server;Second connects Receiving module, described second receiver module obtains request by described safe net for receiving described server according to described message Network connects the message sent.
19. mobile terminals according to claim 17, it is characterised in that return to described message identifier position at described server Before, the connection of described network is in blocked state.
20. mobile terminals according to claim 17, it is characterised in that described connection establishment module is additionally operable to pre-timing Between interval actively disconnect and rebuild described network and connect.
21. mobile terminals according to claim 20, it is characterised in that described predetermined time interval is by described mobile terminal Clock trigger.
22. mobile terminals according to claim 20, it is characterised in that described predetermined time interval is 10 minutes to 15 points Clock.
23. mobile terminals according to claim 17, it is characterised in that described connection establishment module is additionally operable in described shifting After dynamic network belonging to terminal interrupts and recovers, between described mobile terminal and described server, re-establish described network even Connect.
24. mobile terminals according to claim 17, it is characterised in that described message identifier position is represented by single byte.
CN201210084614.3A 2012-03-27 2012-03-27 data push method, system and mobile terminal Active CN103368814B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210084614.3A CN103368814B (en) 2012-03-27 2012-03-27 data push method, system and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210084614.3A CN103368814B (en) 2012-03-27 2012-03-27 data push method, system and mobile terminal

Publications (2)

Publication Number Publication Date
CN103368814A CN103368814A (en) 2013-10-23
CN103368814B true CN103368814B (en) 2016-12-28

Family

ID=49369388

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210084614.3A Active CN103368814B (en) 2012-03-27 2012-03-27 data push method, system and mobile terminal

Country Status (1)

Country Link
CN (1) CN103368814B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109194744B (en) * 2018-09-05 2020-11-10 上海华测导航技术股份有限公司 Data transmission method and device, storage medium and monitoring equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003043286A3 (en) * 2001-11-13 2003-09-25 Ibm Wireless messaging services using publish/subscribe systems
CN1964406A (en) * 2005-11-11 2007-05-16 联想(北京)有限公司 A method and system for data pushing
CN101834832A (en) * 2009-03-13 2010-09-15 清华大学 Method and system for safe transmission of network data

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1270484C (en) * 2004-05-25 2006-08-16 中国移动通信集团公司 System and method for transmitting information from information server to mobile terminal
CN1848994A (en) * 2005-04-11 2006-10-18 华为技术有限公司 Method for realizing right discrimination of microwave cut-in global interoperating system
CN101420694A (en) * 2008-12-16 2009-04-29 天津工业大学 WAPI-XG1 access and fast switch authentication method
CN101572725A (en) * 2009-05-11 2009-11-04 卓望数码技术(深圳)有限公司 Method for pushing data to mobile terminal, system and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003043286A3 (en) * 2001-11-13 2003-09-25 Ibm Wireless messaging services using publish/subscribe systems
CN1964406A (en) * 2005-11-11 2007-05-16 联想(北京)有限公司 A method and system for data pushing
CN101834832A (en) * 2009-03-13 2010-09-15 清华大学 Method and system for safe transmission of network data

Also Published As

Publication number Publication date
CN103368814A (en) 2013-10-23

Similar Documents

Publication Publication Date Title
US10003651B2 (en) Maritime communication system and method
KR20120128025A (en) System and method for providing push service using feedback information
CN102882944A (en) Information processing method, priority level information sending method and devices
CN103490931B (en) The unbroken method and apparatus of agreement in a kind of non-interrupting service escalation process
KR20110114820A (en) Method and appatus for providing application service in mobile communication system
CN105657712A (en) Access control method and device of WiFi hotspot
CN103281346A (en) Disconnection reconnection method, network system and proxy server
CN105184155A (en) Display control method and device for applications in terminal
CN110730424A (en) Positioning method, device and system
CN102905262B (en) Identity authentication method, system and server based on mobile terminal
EP2746956A2 (en) Computer apparatus
CN103369005B (en) data push method, system and mobile terminal
CN103368814B (en) data push method, system and mobile terminal
CN112486733B (en) System restoration method, device, terminal and storage medium
CN104462905A (en) Data processing method and device of operating systems and terminal
CN109728932A (en) Setting method, controller, interchanger and the computer readable storage medium of SDN
CN106462421B (en) Telecommunication device and method for updating software in a telecommunication device
CN110086719A (en) Data processing method, device and server
US20140040380A1 (en) System and method for providing push service for reducing network loads
JP2019086988A (en) Content distribution system, content distribution device, content distribution method, and program
JP2014154092A (en) Charging stand network system
JP2007041897A (en) Positional information notifying system and positional information notifying method
CN102035739A (en) Notification method and device for interface address and routing equipment
JP5979696B1 (en) Data transmission system and data transmission / reception method
KR20080094349A (en) Method for checking status of sim card for connecting a network, and terminal thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant