CN104506416A - Method, device and system for implementing stable message forwarding - Google Patents

Method, device and system for implementing stable message forwarding Download PDF

Info

Publication number
CN104506416A
CN104506416A CN201410788109.6A CN201410788109A CN104506416A CN 104506416 A CN104506416 A CN 104506416A CN 201410788109 A CN201410788109 A CN 201410788109A CN 104506416 A CN104506416 A CN 104506416A
Authority
CN
China
Prior art keywords
message
push
state
network connection
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410788109.6A
Other languages
Chinese (zh)
Other versions
CN104506416B (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.)
Neusoft Corp
Original Assignee
Neusoft Corp
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 Neusoft Corp filed Critical Neusoft Corp
Priority to CN201410788109.6A priority Critical patent/CN104506416B/en
Publication of CN104506416A publication Critical patent/CN104506416A/en
Application granted granted Critical
Publication of CN104506416B publication Critical patent/CN104506416B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method, a device and a system for implementing stable message forwarding. The method, the device and the system for implementing stable message forwarding are used for improving the stability of message forwarding. The method comprises the following steps of carrying out caching on a message to be forwarded after acquiring the message to be forwarded, and recording a message transmitting state of the message to be forwarded; detecting a network connecting state of a terminal, and recording the network connecting state; judging whether to carry out the message forwarding or not according to the message transmitting state and the network connecting state; if the result of the judging is yes, transmitting a wake-up signal to the terminal, forwarding the cached message to be forwarded to the terminal after receiving a respond signal responded by the terminal to the wake-up signal, and acquiring a state update message transmission state according to a message fed back by the terminal.

Description

A kind ofly realize method, the Apparatus and system that message stablizes propelling movement
Technical field
The present invention relates to Internet technical field, be specifically related to a kind ofly realize method, the Apparatus and system that message stablizes propelling movement.
Background technology
Along with the progress of mechanics of communication, enterprise mobile working is made to breach traditional restriction, the huge development space of acquisition.Current Mobile solution nearly all provides message push function, these message pushs all do not have Status Flag in the prior art, such as use APNS (Apple Push NotificationService, apple sending out notice is served) or GCM (Google Cloud Messaging for Android, Google's cloud message) carry out application message push time, as long as message send namely think message push success.
But message is transmitted by public network environment, because public network environment labile state occurs often, the situation of losing after there is message push.Therefore, the message push mode of this prior art cannot ensure that message is successfully pushed to client, successfully push owing to cannot ensure that message can be stablized, especially on enterprise mobile application, there is very large potential safety hazard, such as when enterprise carries out mobile terminal management and control, if the appearance that may cause office workflow interruption or other safety problems is lost in the order of propelling movement.
Summary of the invention
In view of this, the invention provides and a kind ofly realize method, the Apparatus and system that message stablizes propelling movement, cannot ensure that message is successfully pushed to the technical problem of client to solve in prior art.
For solving the problem, technical scheme provided by the invention is as follows:
Realize the method that message stablizes propelling movement, described method comprises:
By described, acquisition, after PUSH message, treats that PUSH message carries out buffer memory, and treat described in record that the message of PUSH message sends state;
The network connection state of sense terminals, and record described network connection state;
Send state and described network connection state according to described message, judge whether to carry out message push;
If judge to carry out message push, then send wake-up signal to described terminal, after receiving the response signal of described wake-up signal of described terminal replies, to treat described in buffer memory that PUSH message pushes to described terminal, and obtain message transmission state described in state updating according to the message of described terminal feedback.
Accordingly, the initial condition that described message sends state is that message does not send, and the described message according to described terminal feedback obtains state updating message and sends state, comprising:
When the message acquisition state of described terminal feedback is that message obtains successfully, then the state that message sent is not sent by message and is updated to message push success;
When the message acquisition state of described terminal feedback is that message obtains unsuccessfully, then the state that message sent is not sent by message and is updated to message push failure.
Accordingly, described according to described message transmission state and described network connection state, judge whether to carry out message push, comprising:
When described message transmission state is when message does not send or message push is failed, then read described network connection state;
When according to described network connection state determination stable connection, then judge to carry out message push;
When determining to connect instability according to described network connection state, signal strength signal intensity and the safe class of described terminal is then obtained by described network connection state, by described signal strength signal intensity and described safe class determination transmission of messages success rate, when described transmission of messages success rate is greater than threshold value, then judge to carry out message push.
Accordingly, described method also comprises:
If do not have judgement to carry out message push, then described message is sent state and remain current state, and repeat after Preset Time according to described message transmission state and described network connection state, judge whether to carry out message push;
Treat described in judgement whether PUSH message exceedes the pot-life, if so, then treat described in deleting that the message of PUSH message and correspondence sends state.
Realize the method that message stablizes propelling movement, described method comprises:
Sampling network connection status, and report described network connection state to message push server, judge whether to carry out message push according to message transmission state and described network connection state to make described message push server;
When described message push server judges to carry out message push, the wake-up signal that receipt message push server sends, and the response signal of described wake-up signal is replied to described message push server;
Receive the information to be pushed that described message push server pushes;
The described information to be pushed received is verified, obtains state according to check results to described message push server feedback message.
Realize the device that message stablizes propelling movement, described device comprises:
By described, buffer unit, for obtaining after PUSH message, treats that PUSH message carries out buffer memory;
First record cell, treats that the message of PUSH message sends state described in recording;
Detecting unit, for the network connection state of sense terminals;
Second record cell, for recording described network connection state;
First judging unit, for sending state and described network connection state according to described message, judges whether to carry out message push;
Transmitting element, if carry out message push for judging, then sends wake-up signal to described terminal;
By described in described buffer unit buffer memory, message push unit, for after receiving the response signal of described wake-up signal of described terminal replies, treats that PUSH message pushes to described terminal;
Updating block, sends state for obtaining in the first record cell described in state updating according to the message of described terminal feedback the described message recorded.
Accordingly, the initial condition that described message sends state is that message does not send, described updating block specifically for:
When the message acquisition state of described terminal feedback is that message obtains successfully, then the state that message sent is not sent by message and is updated to message push success;
When the message acquisition state of described terminal feedback is that message obtains unsuccessfully, then the state that message sent is not sent by message and is updated to message push failure;
Described first judging unit comprises:
Reading subelement, is when message does not send or message push is failed, then read described network connection state for sending state when described message;
First judgment sub-unit, for when according to described network connection state determination stable connection, then judges to carry out message push;
Second judgment sub-unit, for when determining to connect instability according to described network connection state, signal strength signal intensity and the safe class of described terminal is then obtained by described network connection state, by described signal strength signal intensity and described safe class determination transmission of messages success rate, when described transmission of messages success rate is greater than threshold value, then judge to carry out message push.
Accordingly, described device also comprises:
Holding unit, if carry out message push for there is no judgement, then described message is sent state and remain current state, and after Preset Time, return described first judging unit execution according to described message transmission state and described network connection state, judge whether to carry out message push;
Second judging unit, treats whether PUSH message exceedes the pot-life described in judging;
Delete cells, if be yes for the judged result of described second judging unit, then treats described in deleting that the message of PUSH message and correspondence sends state.
Realize the device that message stablizes propelling movement, described device comprises:
Detecting unit, for Sampling network connection status;
Reporting unit, for reporting described network connection state to message push server, judging whether to carry out message push according to message transmission state and described network connection state to make described message push server;
First receiving element, when described message push server judges to carry out message push, the wake-up signal that receipt message push server sends;
Transmitting element, for replying the response signal of described wake-up signal to described message push server;
Second receiving element, for receiving the information to be pushed that described message push server pushes;
Feedback unit, for verifying the described information to be pushed received, obtains state according to check results to described message push server feedback message.
Realize the system that message stablizes propelling movement, described system comprises:
Message push server and terminal;
Described message push server, be above-mentioned the first realize the device that message stablizes propelling movement;
Described terminal is the device that above-mentioned the second realizes that message stablizes propelling movement.
As can be seen here, the embodiment of the present invention has following beneficial effect:
In the embodiment of the present invention, message is carried out buffer memory and the transmission state of recording messages by message push server, send condition adjudgement according to current network connection status and message and whether can carry out message push, push again when network environment is good and message is not sent to terminal, the success rate of message push can be provided, and in the process of message push, first wake terminal PUSH message again after terminal response wake-up signal up, i.e. terminal active obtaining message, and whether terminal can push successful by feedback message, further increase the success rate of message push, achieve the transmitting of message push, especially in enterprise mobile application, decrease the potential safety hazard because message push produces.
Accompanying drawing explanation
Fig. 1 realizes for what provide in the embodiment of the present invention the flow chart that message stablizes the embodiment of the method one of propelling movement;
Fig. 2 is the schematic diagram of multidimensional Fuzzy inference pattern in the embodiment of the present invention;
Fig. 3 realizes for what provide in the embodiment of the present invention the flow chart that message stablizes the embodiment of the method two of propelling movement;
Fig. 4 realizes for what provide in the embodiment of the present invention the flow chart that message stablizes the embodiment of the method three of propelling movement;
Fig. 5 realizes for what provide in the embodiment of the present invention the schematic diagram that message stablizes the device embodiment one of propelling movement;
Fig. 6 realizes for what provide in the embodiment of the present invention the schematic diagram that message stablizes the device embodiment two of propelling movement;
Fig. 7 realizes for what provide in the embodiment of the present invention the schematic diagram that message stablizes the system embodiment one of propelling movement;
Fig. 8 realizes for what provide in the embodiment of the present invention the schematic diagram that message stablizes the system embodiment two of propelling movement.
Embodiment
For enabling above-mentioned purpose of the present invention, feature and advantage become apparent more, are described in further detail the embodiment of the present invention below in conjunction with the drawings and specific embodiments.
Mobile push service uses polling mode (namely client timing sends to server and obtains message request) or long connected mode (namely server initiatively sends message to terminal) usually in the prior art.Most of existing product adopts message push server and Enterprise Mobile terminal equipment to keep the long mode be connected, to ensure the actual effect of message push, but, lack Data safeguard mechanism, cannot ensure that message can successfully push.What propose in the embodiment of the present invention realizes method, the Apparatus and system that message stablizes propelling movement, based on long interconnection technique, caching design is carried out to message, pushed the prompting of " having message " to client terminals by server, terminal is active obtaining again, and carry out repeatedly handshake authentication, realize the stable of message push and send to, high degree improves success rate and the stability of message push.
Based on above-mentioned thought, shown in Figure 1, be provide in the embodiment of the present invention realize the embodiment of the method one that message stablizes propelling movement, the present embodiment is described from the design factors realizing message and stablize propelling movement, this realizes the device that message stablizes propelling movement and specifically can be loaded in message push server, and the present embodiment can comprise the following steps:
Step 101: obtain after PUSH message, will treat that PUSH message carries out buffer memory, and record treats that the message of PUSH message sends state.
First message push server receives the message that Mobile solution background service needs to push to terminal, namely receive and treat PUSH message, to treat that PUSH message carries out parsing and buffer memory, guarantee message transmission go wrong or undelivered terminal time can again push, simultaneously also for subsequent audit work provides data source.Treat PUSH message to carry out parsing and can obtain type of message, the contents such as the terminal iidentification of corresponding transmission, treat that PUSH message can be the different messages type such as text message or notice, system command, file.Can record simultaneously and treat that the message of PUSH message sends state, the initial condition that message sends state is that message does not send, message sends state can also comprise message push failure, message push successfully etc., and it is the factor of judgment judging whether to carry out to terminal message push that message sends state.
Step 102: the network connection state of sense terminals, and record network connection state.
Message push server initiatively can send network to terminal and connect the request of detection, such as can to terminal timed sending heartbeat signal, then the response signal of heartbeat signal that receiving terminal is replied is with the network connection state of sense terminals; Also can the network connection state of receiving terminal active reporting, the i.e. network connection state of message push server receiving terminal timing active reporting.Network connection state can comprise the aspects such as signal strength signal intensity and safe class of whether stable connection between message push server and terminal, terminal, and network connection state is another factor of judgment judging whether to carry out to terminal message push.
Step 103: send state and network connection state according to message, judge whether to carry out message push.
In some embodiments of the invention, the specific implementation of this step can comprise: when message transmission state is when message does not send or message push is failed, then read network connection state;
When according to network connection state determination stable connection, then judge to carry out message push;
When determining to connect instability according to network connection state, signal strength signal intensity and the safe class of terminal is then obtained by network connection state, by signal strength signal intensity and safe class determination transmission of messages success rate, when transmission of messages success rate is greater than threshold value, then judge to carry out message push.
In the present embodiment, judge whether that carrying out message push can use Fuzzy (fuzzy) inference pattern.When current network stable connection, simple Fuzzy inference pattern can be adopted, when the precondition A that simple Fuzzy inference pattern only accepts minor premise A and major premise A->B is completely the same, release B, otherwise refusal accepts.Correspond to the scene in the present embodiment, namely current message needs transmission (state that namely sends is that message does not send or message push failure) then directly to judge to carry out message push, needs to terminal transmission wake-up signal.
And during current network connection instability, multidimensional Fuzzy inference pattern can be adopted, shown in Figure 2, namely each domain calculates by simple Fuzzy inference pattern, again the result of each domain is got common factor, merge into a final result, wherein A1->B to An->B can for the empirical data obtained.Correspond to the scene in the present embodiment, such as, when A1=network signal intensity is 0.8, B=transmission of messages success rate is 90%; When A1=network signal intensity is 0.6, B=transmission of messages success rate is 80%; When A1=network signal intensity is 0.5, B=transmission of messages success rate is 50% etc., corresponding transmission of messages success rate can be obtained by current network signal strength signal intensity, in like manner can obtain the B value of the domain of A2=safe class, namely corresponding transmission of messages success rate can be obtained by current safety grade, again the result of different domain is carried out parallel processing, obtain final transmission of messages success rate.Last according to reliability requirement, such as transmission of messages success rate needs to be greater than threshold value 70%, whether is carried out the result of message push.In the present embodiment, include signal strength signal intensity and safe class two kinds of domains, the increase and decrease carrying out dimension can also be needed according to different stability simultaneously.
Step 104: if judge to carry out message push, then send wake-up signal to terminal, after the response signal of wake-up signal receiving terminal replies, buffer memory treated that PUSH message pushes to terminal, and obtain state updating message according to the message of terminal feedback and send state.
When judging to need to carry out message push, first terminal is waken up, namely wake-up signal is sent to terminal, terminal replys the response signal of information of waking up after being waken up, GC group connector has carried out the preparation of receipt message, such terminal is no longer the passive message receiving propelling movement, but be equivalent to treat PUSH message by replying response message active obtaining to message push server, terminal carries out message verification after receipt message, obtain state to message push server feedback message, message acquisition state comprises message acquisition success or message obtains unsuccessfully.In some embodiments of the invention, the specific implementation obtaining state updating message transmission state according to the message of terminal feedback can comprise: when the message acquisition state of terminal feedback is that message obtains successfully, then the state that message sent is not sent by message and is updated to message push success; When the message acquisition state of terminal feedback is that message obtains unsuccessfully, then the state that message sent is not sent by message and is updated to message push failure.
In addition, in some embodiments of the invention, can also comprise: if do not have judgement to carry out message push, then message is sent state and remain current state, and repeat after Preset Time according to message transmission state and network connection state, judge whether to carry out message push.
In some embodiments of the invention, can also comprise: judge to treat whether PUSH message exceedes the pot-life, if so, then delete and treat that the message of PUSH message and correspondence sends state.
Based on above-described embodiment, shown in Figure 3, be provide in the embodiment of the present invention realize the embodiment of the method two that message stablizes propelling movement, the present embodiment can comprise the following steps:
Step 301: obtain and treat PUSH message, will treat that PUSH message carries out buffer memory.
Step 302: record treats that the message of PUSH message sends state.Be understandable that, obtain after PUSH message, treating that the message of PUSH message sends state is initial condition: message does not send.
Step 303: send condition adjudgement message the need of transmission according to message, if so, then performs step 304, if not, then performs step 307.
When message transmission state is that when message does not send or message push is failed, then message needs to send, and when message transmission state is message push success, then message does not need transmission.
Step 304: judge whether network state can push according to network connection state, if so, then performs step 305, if not, returns step 302.
When sending state determination stable connection by message, then can push, and when the state that sent by message determines to connect instability, then according to the judgment mode illustrated in above-described embodiment, obtained signal strength signal intensity and the safe class of terminal by network connection state, by signal strength signal intensity and safe class determination transmission of messages success rate, when transmission of messages success rate is greater than threshold value, then can push, when transmission of messages success rate is less than threshold value, then cannot push.
When pushing, return step 302 and keep current transmission state, continue to keep message not send or message push status of fail.
By buffer memory, step 305: send wake-up signal to terminal, after the response signal of wake-up signal receiving terminal replies, treats that PUSH message pushes to terminal.
Step 306: the message of receiving terminal feedback obtains state.Obtaining state when the message of terminal feedback is that message obtains successfully, then return step 302 and message is sent state and do not sent by message and be updated to message push successfully; Obtaining state when the message of terminal feedback is that message obtains unsuccessfully, then return step 302 and message is sent state and do not sent by message and be updated to message push unsuccessfully; When the message acquisition state of terminal feedback is Transmission, then return step 304.
Step 307: judge to treat whether PUSH message exceedes the pot-life, if so, performs step 308, if not, returns step 302.
Return step 302 and keep current transmission state, continue to keep message push success status.
Step 308: delete and treat that the message of PUSH message and correspondence sends state.
Like this, in the embodiment of the present invention, message is carried out buffer memory and the transmission state of recording messages by message push server, send condition adjudgement according to current network connection status and message and whether can carry out message push, push again when network environment is good and message is not sent to terminal, the success rate of message push can be provided, and in the process of message push, first wake terminal PUSH message again after terminal response wake-up signal up, i.e. terminal active obtaining message, and whether terminal can push successful by feedback message, further increase the success rate of message push, achieve the transmitting of message push, especially in enterprise mobile application, decrease the potential safety hazard because message push produces.
Shown in Figure 4, be provide in the embodiment of the present invention realize the embodiment of the method three that message stablizes propelling movement, the present embodiment is described from the design factors realizing message and stablize propelling movement, this realize message stablize the device of propelling movement specifically can be in the client integrated, this client can be loaded in the terminal, this terminal is specifically as follows smart mobile phone, panel computer, E-book reader, MP3 (Moving PictureExperts Group Audio Layer III, dynamic image expert compression standard audio frequency aspect 3) player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert compression standard audio frequency aspect 3) player, pocket computer on knee and desktop computer etc., the present embodiment can comprise the following steps:
Step 401: Sampling network connection status, and to message push server report network connection status, judge whether to carry out message push according to message transmission state and network connection state to make message push server.
Terminal can active reporting network connection state, namely to the network connection state of message push server timing active reporting; Also the heartbeat signal that message push server sends can being responded, to make the network connection state of message push server sense terminals, according to treating that the message of PUSH message sends state and network connection state, judging whether to carry out message push.
Step 402: when message push server judges to carry out message push, the wake-up signal that receipt message push server sends, and the response signal of replying wake-up signal to message push server.
Receive the wake-up signal that message push server sends, namely can be waken up and reply the response signal of wake-up signal to message push server, entering the state of wait-receiving mode message push, to ensure the success rate that terminal receives message pushes.
Step 403: the information to be pushed that receipt message push server pushes.
Step 404: verify the information to be pushed received, obtains state according to check results to message push server feedback message.
The message that end-on receives can adopt message authentication algorithm to carry out the verification of message data accuracy, and message acquisition state can obtain successfully for message, message obtains failure or Transmission.
Like this, in the embodiment of the present invention, message is carried out buffer memory and the transmission state of recording messages by message push server, send condition adjudgement according to current network connection status and message and whether can carry out message push, push again when network environment is good and message is not sent to terminal, the success rate of message push can be provided, and in the process of message push, first wake terminal PUSH message again after terminal response wake-up signal up, i.e. terminal active obtaining message, and whether terminal can push successful by feedback message, further increase the success rate of message push, achieve the transmitting of message push, especially in enterprise mobile application, decrease the potential safety hazard because message push produces.
Shown in Figure 5, be provide in the embodiment of the present invention realize the device embodiment one that message stablizes propelling movement, the present embodiment realizes the device that message stablizes propelling movement and specifically can be loaded in message push server, can comprise:
Buffer unit 501, for obtaining after PUSH message, will treat that PUSH message carries out buffer memory.
First record cell 502, sends state for recording the message treating PUSH message.
Detecting unit 503, for the network connection state of sense terminals.
Second record cell 504, for recording network connection state.
First judging unit 505, for sending state and network connection state according to message, judges whether to carry out message push.
Transmitting element 506, if carry out message push for judging, then sends wake-up signal to terminal.
By buffer unit buffer memory, message push unit 507, for after the response signal of wake-up signal receiving terminal replies, treats that PUSH message pushes to terminal.
Updating block 508, sends state for obtaining according to the message of terminal feedback the message recorded in state updating first record cell.
In some embodiments of the invention, message sends the initial condition of state and can not send for message, then updating block can be specifically for:
When the message acquisition state of terminal feedback is that message obtains successfully, then the state that message sent is not sent by message and is updated to message push success;
When the message acquisition state of terminal feedback is that message obtains unsuccessfully, then the state that message sent is not sent by message and is updated to message push failure.
In some embodiments of the invention, the first judging unit can comprise:
Reading subelement, is when message does not send or message push is failed, then read network connection state for sending state when message;
First judgment sub-unit, for when according to network connection state determination stable connection, then judges to carry out message push;
Second judgment sub-unit, for when determining to connect instability according to network connection state, signal strength signal intensity and the safe class of terminal is then obtained by network connection state, by signal strength signal intensity and safe class determination transmission of messages success rate, when transmission of messages success rate is greater than threshold value, then judge to carry out message push.
In some embodiments of the invention, can also comprise:
Holding unit, if for not having judgement to carry out message push, then message is sent state and remain current state, and returns the first judging unit execution according to message transmission state and network connection state, judges whether to carry out message push after Preset Time.
In some embodiments of the invention, can also comprise:
For judging, second judging unit, treats whether PUSH message exceedes the pot-life;
Delete cells, if be yes for the judged result of the second judging unit, then delete and treats that the message of PUSH message and correspondence sends state.
Like this, in the embodiment of the present invention, message is carried out buffer memory and the transmission state of recording messages by message push server, send condition adjudgement according to current network connection status and message and whether can carry out message push, push again when network environment is good and message is not sent to terminal, the success rate of message push can be provided, and in the process of message push, first wake terminal PUSH message again after terminal response wake-up signal up, i.e. terminal active obtaining message, and whether terminal can push successful by feedback message, further increase the success rate of message push, achieve the transmitting of message push, especially in enterprise mobile application, decrease the potential safety hazard because message push produces.
Shown in Figure 6, be provide in the embodiment of the present invention realize the device embodiment two that message stablizes propelling movement, the present embodiment realizes the device that message stablizes propelling movement and specifically can load in the terminal, can comprise:
Detecting unit 601, for Sampling network connection status.
Report unit 602, for message push server report network connection status, judge whether to carry out message push according to message transmission state and network connection state to make message push server.
First receiving element 603, when message push server judges to carry out message push, the wake-up signal that receipt message push server sends.
Transmitting element 604, for replying the response signal of wake-up signal to message push server.
Second receiving element 605, for the information to be pushed that receipt message push server pushes.
Feedback unit 606, for verifying the information to be pushed received, obtains state according to check results to message push server feedback message.
Like this, in the embodiment of the present invention, message is carried out buffer memory and the transmission state of recording messages by message push server, send condition adjudgement according to current network connection status and message and whether can carry out message push, push again when network environment is good and message is not sent to terminal, the success rate of message push can be provided, and in the process of message push, first wake terminal PUSH message again after terminal response wake-up signal up, i.e. terminal active obtaining message, and whether terminal can push successful by feedback message, further increase the success rate of message push, achieve the transmitting of message push, especially in enterprise mobile application, decrease the potential safety hazard because message push produces.
Shown in Figure 7, be provide in the embodiment of the present invention realize the system embodiment one that message stablizes propelling movement, can comprise:
Message push server 701 and terminal 702.
Message push server can be realize the device embodiment one that message stablizes propelling movement in above-described embodiment; Terminal can be realize the device embodiment two that message stablizes propelling movement in above-described embodiment.
Shown in Figure 8, be provide in the embodiment of the present invention realize the system embodiment two that message stablizes propelling movement, the method that message stablizes propelling movement is realized in order to what realize providing in the embodiment of the present invention, in actual applications, terminal 702 can comprise message library, information authentication device, message getter, message informing receiver, state synchronizer and state monitor.Message push server 701 can comprise message receiver, message buffering storehouse, message status storehouse, terminal connection status storehouse, heartbeat connector, state analyzer, message awakening device and message transmitter.Composition graphs 8 to being that the operation principle that message stablizes the system embodiment of propelling movement that realizes provided in the embodiment of the present invention is described, wherein solid line flow process represent message push before process, dotted line flow process represents the process of message push.
In the structure shown here, state synchronizer in terminal, for carrying out timing communication with message push server, the network state (signal strength signal intensity) of reporting terminal, the network connection state such as safe class state and connection status, and according to the strategy of current state dynamic adjustments uploaded state, such as good in network state, when mobile client is in safe, half an hour reports once, and network poorly reported once with regard to ten minutes.Or the heartbeat signal of message push server, returns above-mentioned network connection state.
State monitor, carries out the inspection of terminal equipment safe class for the instruction of receive status synchronizer, network condition inspection.
Message informing receiver, for receiving the wake-up signal that push server sends.
Message getter, for when receive that message push server sends have the wake-up signal of message after send the response signal of wake-up signal, receive the message content that message push server pushes.
Message library, for storing the message received, and informs each application app.
Information authentication device, for carrying out the verification of message data accuracy according to fixed news verification algorithm to the message received, if the message pushed is the progress that Doctype can also record propelling movement, to support breakpoint transmission etc.
In the structure shown here, the message receiver in message push server, prepares the message sent to terminal for responsible reception Mobile solution background service, namely receives and treats PUSH message.
Message buffering storehouse, for treating that PUSH message carries out buffer memory, will guarantee that message can carry out secondary propelling movement when loading error occurring or undelivered, simultaneously for subsequent audit work provides data source.
Message status storehouse, whether send state for recording the message treating PUSH message, whether comprise and pushing, push successfully, whether message lost efficacy, and helped state analyzer to judge whether to send wake-up signal to client terminals.
Terminal connection status storehouse, for recording network connection state, whether mark terminal equipment keeps connection status with message push server, record terminal signaling strength conditions and safe class situation, for state analyzer provides data source, to judge whether to send wake-up signal to client terminals.
Heartbeat connector, for the connection status that periodic detection, maintenance and terminal are up-to-date, ensures real-time connection the with terminal connection status storehouse.
State analyzer, for the network connection state according to terminal, treat that the message of PUSH message sends state and carries out synthetic determination analysis, whether wake terminal up and carry out message push, self built-in knowledge base simultaneously, record terminal is under different connection status, network state (signal strength signal intensity) and safe class, after sending wake-up signal, client obtains the success rate of message, and carry out the adjustment of message push strategy according to this, such as can comprise message to push immediately, time delay pushes or replys normal condition and pushes.
Message awakening device, sends wake-up signal for the result according to state analyzer to terminal.
Message transmitter, for responding when terminal obtains message content to message push server, will treat that from message library PUSH message passes to terminal equipment.
Like this, in the embodiment of the present invention, message is carried out buffer memory and the transmission state of recording messages by message push server, send condition adjudgement according to current network connection status and message and whether can carry out message push, push again when network environment is good and message is not sent to terminal, the success rate of message push can be provided, and in the process of message push, first wake terminal PUSH message again after terminal response wake-up signal up, i.e. terminal active obtaining message, and whether terminal can push successful by feedback message, further increase the success rate of message push, achieve the transmitting of message push, especially in enterprise mobile application, decrease the potential safety hazard because message push produces.
It should be noted that, in this specification, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually see.For system disclosed in embodiment or device, because it corresponds to the method disclosed in Example, so description is fairly simple, relevant part illustrates see method part.
Also it should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
The software module that the method described in conjunction with embodiment disclosed herein or the step of algorithm can directly use hardware, processor to perform, or the combination of the two is implemented.Software module can be placed in the storage medium of other form any known in random asccess memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the present invention.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (10)

1. realize the method that message stablizes propelling movement, it is characterized in that, described method comprises:
By described, acquisition, after PUSH message, treats that PUSH message carries out buffer memory, and treat described in record that the message of PUSH message sends state;
The network connection state of sense terminals, and record described network connection state;
Send state and described network connection state according to described message, judge whether to carry out message push;
If judge to carry out message push, then send wake-up signal to described terminal, after receiving the response signal of described wake-up signal of described terminal replies, to treat described in buffer memory that PUSH message pushes to described terminal, and obtain message transmission state described in state updating according to the message of described terminal feedback.
2. method according to claim 1, is characterized in that, the initial condition that described message sends state is that message does not send, and the described message according to described terminal feedback obtains state updating message and sends state, comprising:
When the message acquisition state of described terminal feedback is that message obtains successfully, then the state that message sent is not sent by message and is updated to message push success;
When the message acquisition state of described terminal feedback is that message obtains unsuccessfully, then the state that message sent is not sent by message and is updated to message push failure.
3. method according to claim 2, is characterized in that, described according to described message transmission state and described network connection state, judges whether to carry out message push, comprising:
When described message transmission state is when message does not send or message push is failed, then read described network connection state;
When according to described network connection state determination stable connection, then judge to carry out message push;
When determining to connect instability according to described network connection state, signal strength signal intensity and the safe class of described terminal is then obtained by described network connection state, by described signal strength signal intensity and described safe class determination transmission of messages success rate, when described transmission of messages success rate is greater than threshold value, then judge to carry out message push.
4. the method according to any one of claim 1-3, is characterized in that, described method also comprises:
If do not have judgement to carry out message push, then described message is sent state and remain current state, and repeat after Preset Time according to described message transmission state and described network connection state, judge whether to carry out message push;
Treat described in judgement whether PUSH message exceedes the pot-life, if so, then treat described in deleting that the message of PUSH message and correspondence sends state.
5. realize the method that message stablizes propelling movement, it is characterized in that, described method comprises:
Sampling network connection status, and report described network connection state to message push server, judge whether to carry out message push according to message transmission state and described network connection state to make described message push server;
When described message push server judges to carry out message push, the wake-up signal that receipt message push server sends, and the response signal of described wake-up signal is replied to described message push server;
Receive the information to be pushed that described message push server pushes;
The described information to be pushed received is verified, obtains state according to check results to described message push server feedback message.
6. realize the device that message stablizes propelling movement, it is characterized in that, described device comprises:
By described, buffer unit, for obtaining after PUSH message, treats that PUSH message carries out buffer memory;
First record cell, treats that the message of PUSH message sends state described in recording;
Detecting unit, for the network connection state of sense terminals;
Second record cell, for recording described network connection state;
First judging unit, for sending state and described network connection state according to described message, judges whether to carry out message push;
Transmitting element, if carry out message push for judging, then sends wake-up signal to described terminal;
By described in described buffer unit buffer memory, message push unit, for after receiving the response signal of described wake-up signal of described terminal replies, treats that PUSH message pushes to described terminal;
Updating block, sends state for obtaining in the first record cell described in state updating according to the message of described terminal feedback the described message recorded.
7. device according to claim 6, is characterized in that, the initial condition that described message sends state is that message does not send, described updating block specifically for:
When the message acquisition state of described terminal feedback is that message obtains successfully, then the state that message sent is not sent by message and is updated to message push success;
When the message acquisition state of described terminal feedback is that message obtains unsuccessfully, then the state that message sent is not sent by message and is updated to message push failure;
Described first judging unit comprises:
Reading subelement, is when message does not send or message push is failed, then read described network connection state for sending state when described message;
First judgment sub-unit, for when according to described network connection state determination stable connection, then judges to carry out message push;
Second judgment sub-unit, for when determining to connect instability according to described network connection state, signal strength signal intensity and the safe class of described terminal is then obtained by described network connection state, by described signal strength signal intensity and described safe class determination transmission of messages success rate, when described transmission of messages success rate is greater than threshold value, then judge to carry out message push.
8. the device according to any one of claim 6-7, is characterized in that, described device also comprises:
Holding unit, if carry out message push for there is no judgement, then described message is sent state and remain current state, and after Preset Time, return described first judging unit execution according to described message transmission state and described network connection state, judge whether to carry out message push;
Second judging unit, treats whether PUSH message exceedes the pot-life described in judging;
Delete cells, if be yes for the judged result of described second judging unit, then treats described in deleting that the message of PUSH message and correspondence sends state.
9. realize the device that message stablizes propelling movement, it is characterized in that, described device comprises:
Detecting unit, for Sampling network connection status;
Reporting unit, for reporting described network connection state to message push server, judging whether to carry out message push according to message transmission state and described network connection state to make described message push server;
First receiving element, when described message push server judges to carry out message push, the wake-up signal that receipt message push server sends;
Transmitting element, for replying the response signal of described wake-up signal to described message push server;
Second receiving element, for receiving the information to be pushed that described message push server pushes;
Feedback unit, for verifying the described information to be pushed received, obtains state according to check results to described message push server feedback message.
10. realize the system that message stablizes propelling movement, it is characterized in that, described system comprises:
Message push server and terminal;
Described message push server realizes the device that message stablizes propelling movement described in any one of claim 6-8;
Described terminal according to claim 9ly realizes the device that message stablizes propelling movement.
CN201410788109.6A 2014-12-17 2014-12-17 A kind of method, apparatus and system for realizing the stable push of message Expired - Fee Related CN104506416B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410788109.6A CN104506416B (en) 2014-12-17 2014-12-17 A kind of method, apparatus and system for realizing the stable push of message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410788109.6A CN104506416B (en) 2014-12-17 2014-12-17 A kind of method, apparatus and system for realizing the stable push of message

Publications (2)

Publication Number Publication Date
CN104506416A true CN104506416A (en) 2015-04-08
CN104506416B CN104506416B (en) 2017-11-28

Family

ID=52948131

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410788109.6A Expired - Fee Related CN104506416B (en) 2014-12-17 2014-12-17 A kind of method, apparatus and system for realizing the stable push of message

Country Status (1)

Country Link
CN (1) CN104506416B (en)

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105072181A (en) * 2015-08-07 2015-11-18 北京思特奇信息技术股份有限公司 Message data distribution system and method based on notice dispatching center
CN105100062A (en) * 2015-06-25 2015-11-25 走遍世界(北京)信息技术有限公司 Information push method, device and system
CN105657000A (en) * 2015-12-25 2016-06-08 北京奇虎科技有限公司 Message transmission method and device
CN105933130A (en) * 2016-04-25 2016-09-07 四川联友电讯技术有限公司 Fragmented asynchronous conference system voice information push method
CN105933369A (en) * 2015-12-24 2016-09-07 中国银联股份有限公司 Message forwarding method and device
CN106060959A (en) * 2016-08-18 2016-10-26 Tcl集团股份有限公司 Method and device for preventing resending of network connection message and android system
WO2016180137A1 (en) * 2015-08-14 2016-11-17 中兴通讯股份有限公司 Message processing method and device
CN106302119A (en) * 2016-08-15 2017-01-04 深圳市轱辘车联数据技术有限公司 A kind of method and apparatus of pushed information
CN106331058A (en) * 2016-08-12 2017-01-11 东软集团股份有限公司 Message transmission method and device
CN106899645A (en) * 2015-12-21 2017-06-27 北方信息控制集团有限公司 A kind of DDS data interactive methods under unstable network environment
CN107341062A (en) * 2017-06-28 2017-11-10 百度在线网络技术(北京)有限公司 A kind of data push method, device, equipment and storage medium
CN107809494A (en) * 2017-12-14 2018-03-16 深圳市斑点猫信息技术有限公司 Message delay method for pushing and its system
CN109600301A (en) * 2018-11-23 2019-04-09 腾讯音乐娱乐科技(深圳)有限公司 Message treatment method and device
CN110324384A (en) * 2018-03-30 2019-10-11 北京京东尚科信息技术有限公司 The method and apparatus of data-pushing
CN110365749A (en) * 2019-06-25 2019-10-22 上海非码网络科技有限公司 Information push method, message push system and a kind of storage medium
CN110740195A (en) * 2019-11-20 2020-01-31 山东鲁能软件技术有限公司 distributed system data synchronization method and system based on message engine
WO2020042782A1 (en) * 2018-08-27 2020-03-05 阿里巴巴集团控股有限公司 Sales promotion method and apparatus, and electronic device
CN112291044A (en) * 2019-07-25 2021-01-29 大唐移动通信设备有限公司 Method and device for intercepting energy-saving signal
CN113326154A (en) * 2021-06-28 2021-08-31 深信服科技股份有限公司 Connection management method, device, electronic equipment and storage medium
CN113902132A (en) * 2021-12-09 2022-01-07 北京达佳互联信息技术有限公司 Negative feedback behavior prediction model training method, message pushing method and equipment
CN114286430A (en) * 2021-11-19 2022-04-05 北京博大光通物联科技股份有限公司 Wireless awakening mechanism and image putting method applied to electronic paper handle ring
CN115118773A (en) * 2022-06-29 2022-09-27 宁波三星智能电气有限公司 Data file pushing method, server and computer readable storage medium
WO2022222438A1 (en) * 2021-04-21 2022-10-27 深圳市广和通无线股份有限公司 Profile state synchronization method and apparatus, terminal, server, and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5285203A (en) * 1990-06-05 1994-02-08 Matsuhita Electric Industrial Co., Ltd. Message transmission device, and a message transmission system and a message transmission status advising system using the message transmission device
CN101567859A (en) * 2008-04-24 2009-10-28 鸿富锦精密工业(深圳)有限公司 Message transmitting system and method
CN102413436A (en) * 2011-09-14 2012-04-11 华为技术有限公司 Method and system for transmitting information, and browser on mobile terminal
CN102892193A (en) * 2012-09-20 2013-01-23 华为技术有限公司 Method and equipment for transmitting data
CN103327039A (en) * 2012-03-20 2013-09-25 腾讯科技(深圳)有限公司 Method and device and system for pushing messages

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5285203A (en) * 1990-06-05 1994-02-08 Matsuhita Electric Industrial Co., Ltd. Message transmission device, and a message transmission system and a message transmission status advising system using the message transmission device
CN101567859A (en) * 2008-04-24 2009-10-28 鸿富锦精密工业(深圳)有限公司 Message transmitting system and method
CN102413436A (en) * 2011-09-14 2012-04-11 华为技术有限公司 Method and system for transmitting information, and browser on mobile terminal
CN103327039A (en) * 2012-03-20 2013-09-25 腾讯科技(深圳)有限公司 Method and device and system for pushing messages
CN102892193A (en) * 2012-09-20 2013-01-23 华为技术有限公司 Method and equipment for transmitting data

Cited By (34)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105100062A (en) * 2015-06-25 2015-11-25 走遍世界(北京)信息技术有限公司 Information push method, device and system
CN105072181A (en) * 2015-08-07 2015-11-18 北京思特奇信息技术股份有限公司 Message data distribution system and method based on notice dispatching center
WO2016180137A1 (en) * 2015-08-14 2016-11-17 中兴通讯股份有限公司 Message processing method and device
CN106470144A (en) * 2015-08-14 2017-03-01 中兴通讯股份有限公司 A kind of message treatment method and device
CN106899645A (en) * 2015-12-21 2017-06-27 北方信息控制集团有限公司 A kind of DDS data interactive methods under unstable network environment
CN106899645B (en) * 2015-12-21 2019-10-18 北方信息控制集团有限公司 A kind of DDS data interactive method under unstable network environment
CN105933369A (en) * 2015-12-24 2016-09-07 中国银联股份有限公司 Message forwarding method and device
CN105933369B (en) * 2015-12-24 2019-05-10 中国银联股份有限公司 A kind of message forwarding method and equipment
CN105657000A (en) * 2015-12-25 2016-06-08 北京奇虎科技有限公司 Message transmission method and device
CN105933130A (en) * 2016-04-25 2016-09-07 四川联友电讯技术有限公司 Fragmented asynchronous conference system voice information push method
CN106331058A (en) * 2016-08-12 2017-01-11 东软集团股份有限公司 Message transmission method and device
CN106302119A (en) * 2016-08-15 2017-01-04 深圳市轱辘车联数据技术有限公司 A kind of method and apparatus of pushed information
CN106060959B (en) * 2016-08-18 2020-04-17 Tcl集团股份有限公司 Method and device for preventing network connection message from being retransmitted and android system
CN106060959A (en) * 2016-08-18 2016-10-26 Tcl集团股份有限公司 Method and device for preventing resending of network connection message and android system
CN107341062B (en) * 2017-06-28 2021-01-08 百度在线网络技术(北京)有限公司 Data pushing method, device, equipment and storage medium
CN107341062A (en) * 2017-06-28 2017-11-10 百度在线网络技术(北京)有限公司 A kind of data push method, device, equipment and storage medium
CN107809494A (en) * 2017-12-14 2018-03-16 深圳市斑点猫信息技术有限公司 Message delay method for pushing and its system
CN110324384A (en) * 2018-03-30 2019-10-11 北京京东尚科信息技术有限公司 The method and apparatus of data-pushing
US11055733B2 (en) 2018-08-27 2021-07-06 Advanced New Technologies Co., Ltd. Sales promotion method, apparatus and electronic device
WO2020042782A1 (en) * 2018-08-27 2020-03-05 阿里巴巴集团控股有限公司 Sales promotion method and apparatus, and electronic device
CN109600301B (en) * 2018-11-23 2021-12-31 腾讯音乐娱乐科技(深圳)有限公司 Message processing method and device
CN109600301A (en) * 2018-11-23 2019-04-09 腾讯音乐娱乐科技(深圳)有限公司 Message treatment method and device
CN110365749B (en) * 2019-06-25 2021-11-30 上海非码网络科技有限公司 Message pushing method, message pushing system and storage medium
CN110365749A (en) * 2019-06-25 2019-10-22 上海非码网络科技有限公司 Information push method, message push system and a kind of storage medium
CN112291044A (en) * 2019-07-25 2021-01-29 大唐移动通信设备有限公司 Method and device for intercepting energy-saving signal
CN112291044B (en) * 2019-07-25 2022-04-12 大唐移动通信设备有限公司 Method and device for intercepting energy-saving signal
CN110740195A (en) * 2019-11-20 2020-01-31 山东鲁能软件技术有限公司 distributed system data synchronization method and system based on message engine
CN110740195B (en) * 2019-11-20 2022-05-20 山东鲁能软件技术有限公司 Distributed system data synchronization method and system based on message engine
WO2022222438A1 (en) * 2021-04-21 2022-10-27 深圳市广和通无线股份有限公司 Profile state synchronization method and apparatus, terminal, server, and storage medium
CN113326154A (en) * 2021-06-28 2021-08-31 深信服科技股份有限公司 Connection management method, device, electronic equipment and storage medium
CN114286430A (en) * 2021-11-19 2022-04-05 北京博大光通物联科技股份有限公司 Wireless awakening mechanism and image putting method applied to electronic paper handle ring
CN113902132A (en) * 2021-12-09 2022-01-07 北京达佳互联信息技术有限公司 Negative feedback behavior prediction model training method, message pushing method and equipment
CN115118773A (en) * 2022-06-29 2022-09-27 宁波三星智能电气有限公司 Data file pushing method, server and computer readable storage medium
CN115118773B (en) * 2022-06-29 2023-08-18 宁波三星智能电气有限公司 Data file pushing method, server and computer readable storage medium

Also Published As

Publication number Publication date
CN104506416B (en) 2017-11-28

Similar Documents

Publication Publication Date Title
CN104506416A (en) Method, device and system for implementing stable message forwarding
US10212217B2 (en) Method and apparatus for data transmission in a distributed storage system
US11201810B2 (en) Data transmission method and apparatus
CN105991412B (en) Information push method and device
US11425571B2 (en) Device configuration method, apparatus and system
CN105024986A (en) Account login method, device and system
CN103685337A (en) File sharing method, terminal equipment and relay server
US20110060800A1 (en) Method of guaranteeing the deliverability of emails and other messages
CN103841111A (en) Method for preventing data from being submitted repeatedly and server
CN104580177B (en) Resource provider method, device and system
CN103795765A (en) File uploading verification method and system
CN110554930A (en) Data storage method and related equipment
CN105450682A (en) Method, device, and system for data synchronous storage and synchronizing data to client
CN103684707A (en) Server-side and user-side message transmission processing method, message transmission method and message transmission system
CN101795243A (en) Method, device and system for accessing attachment files in electronic mails
CN104702647A (en) Information request method and information request system
CN115033578A (en) Method for updating service data, related device and storage medium
CN117201601A (en) Internet of things equipment access method, device, equipment and storage medium
CN112865927A (en) Message delivery verification method, device, computer equipment and storage medium
CN114205325B (en) Message sending method, device, server and storage medium
CN116489223A (en) Data reporting method, data reporting device, electronic equipment and storage medium
CN115982133A (en) Data processing method and device
CN107295179A (en) The method and apparatus that a kind of short message is shown
CN112732660B (en) Intervening file transmission method, device and system
CN103188220B (en) Message transmission system, method and device, data maintaining method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171128

Termination date: 20211217

CF01 Termination of patent right due to non-payment of annual fee