A kind of information push method, system, server and communication terminalTechnical field
The invention belongs to field of communication technology more particularly to a kind of information push method, system, server and communications eventuallyEnd.
Background technique
The integration of three networks refers to telecommunications network, broadcasting and television network, internet to broadband communication network, digital tv network, the next generationIn internet evolution process, three big networks are reached unanimity by technological transformation, technical functionality, and the scope of business tends to be identical, netNetwork interconnects, resource-sharing, can provide a variety of services such as voice, data and radio and television for user, not with the integration of three networksDisconnected development and intelligent mobile terminal function are gradually powerful, and people's lives are increasingly dependent on internet and intelligent mobile terminal,In order to get rid of the limitation of Incumbent information transmission and promote the efficiency of information transmission and the cost of saving information transmission, benefitThe selection for becoming more businessmans is pushed information in purpose terminal with internet, can be pushed away using internet channel PUSH messageSend the most biggish picture of some data, audio, the information of video, map.And by internet channel pushed information, then need meshTerminal be in internet presence and can receive the information, and presently, there are purpose terminal it is not online in the case where stillSo to its pushed information the case where, leads to occupied bandwidth, cause the waste of unnecessary resource and cost.
In conclusion at present during message pushes there are bandwidth usage height, cause what resource and cost wasted to askTopic.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of information push method, system, server and communication terminal, withSolve the problem of that there are bandwidth usage height, and resource and cost to be caused to waste during message push at present.
The first aspect of the present invention provides a kind of information push method, the following steps executed including server end:
Fisrt feature code is generated in plain text according to the message of PUSH message;
PUSH message is issued to target communications terminal and stores first message characteristic, so that the target communications terminalSecond feature code is generated according to the PUSH message;
Whether feedback message that the target communications terminal send is received in detection prefixed time interval, and the feedback disappearsBreath includes the second feature code and second message characteristic;
If detecting the feedback message that the target communications terminal is sent within a preset time interval, described in verifyingThe consistency and the first message characteristic and the second message characteristic of fisrt feature code and the second feature codeAccording to whether matching;
If the fisrt feature code is consistent with the second feature code, and the first message characteristic and described secondThe characteristic information Data Matching, then to the target communications terminal PUSH message;Otherwise, stop within a preset period of time to the meshMark communication terminal PUSH message.
Second aspect of the present invention provides a kind of information push method, the following steps executed including communication terminal:
Receive the PUSH message that server issues;
Message is obtained in plain text according to the PUSH message, and second feature code is generated according to the message in plain text;
PUSH message obtains second message characteristic based on the received;
Feedback message is generated according to the second feature code and the second message characteristic, and by the feedback messageIt is sent to the server.
Third aspect present invention provides a kind of information push method, comprising:
Fisrt feature code is generated in plain text according to the message of PUSH message;And PUSH message is issued to target communications terminal, it depositsStore up first message characteristic;
Second feature code is generated according to the PUSH message, obtains second message characteristic, and send instead to serverPresent message;
Whether feedback message that the target communications terminal send is received in detection prefixed time interval;
If detecting the feedback message that the target communications terminal is sent within a preset time interval, described in verifyingThe consistency and the first message characteristic and the second message characteristic of fisrt feature code and the second feature codeAccording to whether matching;
If the fisrt feature code is consistent with the second feature code, and the first message characteristic and described secondThe characteristic information Data Matching, then to the target communications terminal PUSH message;Otherwise, stop within a preset period of time to the meshMark communication terminal PUSH message.
The fourth aspect of the present invention provides a kind of server, comprising:
Fisrt feature code module, for generating fisrt feature code in plain text according to the message of PUSH message;
Memory module, for issuing PUSH message to target communications terminal and storing first message characteristic, so that instituteIt states target communications terminal and second feature code is generated according to the PUSH message;
Whether detection module receives the feedback that the target communications terminal is sent and disappears for detecting in prefixed time intervalBreath, the feedback message includes the second feature code and second message characteristic;
Authentication module, if the feedback for detecting that the target communications terminal is sent within a preset time interval disappearsBreath then verifies the consistency and the first message characteristic and described the of the fisrt feature code and the second feature codeWhether two the characteristic information data match;
Pushing module, if the fisrt feature code is consistent with the second feature code, and the first message characteristicIt is matched with the second message characteristic, then to the target communications terminal PUSH message;Otherwise, stop within a preset period of timeOnly to the target communications terminal PUSH message.
Fifth aspect present invention provides a kind of communication terminal, comprising:
Receiving module, the PUSH message issued for receiving server;
Second feature code module, for obtaining message in plain text according to the PUSH message, and it is raw in plain text according to the messageAt second feature code;
Module is obtained, obtains second message characteristic for PUSH message based on the received;
Feedback module, for generating feedback message according to the second feature code and the second message characteristic, andThe feedback message is sent to the server.
Sixth aspect present invention provides a kind of message push system, and the message push system includes server and communicationTerminal, the server include:
First generation module, for generating fisrt feature code in plain text according to the message of PUSH message;And it is whole to destinations trafficEnd issues PUSH message, stores first message characteristic;
Whether detection module receives the feedback that the target communications terminal is sent and disappears for detecting in prefixed time intervalBreath;
Matching module, if the feedback for detecting that the target communications terminal is sent within a preset time interval disappearsBreath then verifies the consistency and the first message characteristic and described the of the fisrt feature code and the second feature codeWhether two the characteristic information data match;
Pushing module, if it is consistent with the second feature code for the fisrt feature code, and the first message featureData are matched with the second message characteristic, then to the target communications terminal PUSH message;Otherwise, in preset time periodInside stop to the target communications terminal PUSH message;
The communication terminal includes:
Second generation module, for obtaining second message characteristic according to PUSH message generation second feature code,And feedback message is sent to server.
The seventh aspect of the present invention provides a kind of server, including memory, processor and is stored in the storageIn device and the computer program that can run on the processor, the processor are realized following when executing the computer programStep:
Fisrt feature code is generated in plain text according to the message of PUSH message;
PUSH message is issued to target communications terminal and stores first message characteristic, so that the target communications terminalSecond feature code is generated according to the PUSH message;
Whether feedback message that the target communications terminal send is received in detection prefixed time interval, and the feedback disappearsBreath includes the second feature code and second message characteristic;
If detecting the feedback message that the target communications terminal is sent within a preset time interval, described in verifyingThe consistency and the first message characteristic and the second message characteristic of fisrt feature code and the second feature codeAccording to whether matching;
If the fisrt feature code is consistent with the second feature code, and the first message characteristic and described secondThe characteristic information Data Matching, then to the target communications terminal PUSH message;Otherwise, stop within a preset period of time to the meshMark communication terminal PUSH message.
The eighth aspect of the present invention provides a kind of communication terminal, including memory, processor and is stored in described depositIn reservoir and the computer program that can run on the processor, the processor realized when executing the computer program withLower step:
Receive the PUSH message that server issues;
Message is obtained in plain text according to the PUSH message, and second feature code is generated according to the message in plain text;
PUSH message obtains second message characteristic based on the received;
Feedback message is generated according to the second feature code and the second message characteristic, and by the feedback messageIt is sent to the server.
A kind of information push method, system, server and communication terminal provided by the invention pass through the root in PUSH messageThe presence of communication terminal is determined according to the condition code that communication terminal is sent, and is according to the determination of the presence of the communication terminalNo continuation PUSH message suspends to the communication terminal PUSH message when communication terminal is not online, reduces bandwidth usage, mentionHigh information push efficiency, saves Internet resources and push cost, can carry out content ratio in plain text without communication terminal feedback messagePossibility that is right, effectivelying prevent the cleartext information of communication terminal to be stolen improves the safety of message transmission, efficiently solves meshIt is preceding during message push there are bandwidth usage height, the problem of causing resource and cost to waste.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior artNeeded in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention someEmbodiment for those of ordinary skill in the art without creative efforts, can also be attached according to theseFigure obtains other attached drawings.
Fig. 1 is a kind of implementation process schematic diagram for information push method that the embodiment of the present invention one provides;
Fig. 2 is the implementation process schematic diagram of one step S101 of corresponding embodiment provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of implementation process schematic diagram for information push method that the embodiment of the present invention three provides;
Fig. 4 is the implementation process schematic diagram for the three step S302 of corresponding embodiment that the embodiment of the present invention four provides;
Fig. 5 is a kind of implementation process schematic diagram for information push method that the embodiment of the present invention five provides;
Fig. 6 is a kind of structural schematic diagram for server that the embodiment of the present invention six provides;
Fig. 7 is the structural schematic diagram of fisrt feature code module 101 in the corresponding embodiment six of the offer of the embodiment of the present invention seven;
Fig. 8 is that the embodiment of the present invention eight provides a kind of structural schematic diagram of communication terminal;
Fig. 9 is the structural schematic diagram of second feature code module 302 in the corresponding embodiment eight of the offer of the embodiment of the present invention nine;
Figure 10 is a kind of structural schematic diagram for message push system that the embodiment of the present invention ten provides;
Figure 11 is the structural schematic diagram for the server that the embodiment of the present invention 11 provides;
Figure 12 is the schematic diagram for the communication terminal that the embodiment of the present invention 12 provides.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposedBody details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specificThe present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricityThe detailed description of road and method, in case unnecessary details interferes description of the invention.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
Embodiment one:
As shown in Figure 1, present embodiments providing a kind of information push method, which is held by server endRow, specifically includes:
Step S101: fisrt feature code is generated according to the message of PUSH message in plain text.
In a particular application, server waits for that the message content of PUSH message determines message in plain text, and according to preset combinationMessage is carried out encrypted combination in plain text and generates fisrt feature code by Encryption Algorithm.
In a particular application, two kinds of predetermined encryptions that the message is respectively adopted in combined ciphering algorithm server in plain text are calculatedMethod obtains the first ciphertext and the second ciphertext after carrying out encrypting conversion, then is spliced the first ciphertext and the second ciphertext to obtain firstCondition code, server store above-mentioned fisrt feature code.
It should be noted that combined ciphering algorithm refers to the Encryption Algorithm being combined using two kinds of Encryption Algorithm,It is to solve the problems, such as that independent algorithm has certain probability to generate conflict value using combined ciphering algorithm.Combined ciphering algorithm prestoresIn the server.
It should also be noted that, said combination Encryption Algorithm can be using md5 encryption algorithm and cryptographic Hash Encryption AlgorithmCombined ciphering algorithm can also use other combined ciphering algorithms, without restriction herein.
Step S102: issuing PUSH message to target communications terminal and stores first message characteristic, so that the meshIt marks communication terminal and second feature code is generated according to the PUSH message.
In a particular application, message is pushed to target communications terminal according to message push instruction in plain text, and stores pushThe relevant first message characteristic of message, the first message characteristic include that message pushes time, message-length, and message pushes awaySend channel and message in plain text.
In a particular application, after server issues PUSH message to communication terminal, if target communications terminal online if canSecond feature code corresponding with the message of PUSH message plaintext is generated according to the PUSH message received.It should be noted thatCommunication terminal is also that the message that will acquire according to preset combined ciphering algorithm carries out encrypted combination generation second feature in plain textCode.And the combined ciphering algorithm used is consistent with the combined ciphering algorithm that server end uses.
Whether step S103: receiving the feedback message that the target communications terminal is sent in detection prefixed time interval,The feedback message includes the second feature code and second message characteristic.
In a particular application, server persistently detect whether to receive target communications terminal transmission comprising second feature codeIllustrate the terminal if detecting the feedback message within a preset time interval with the feedback message of second message characteristicThere is a possibility that online, needs further to verify condition code and characteristic at this time to judge whether communication terminal is online;IfThe feedback message is not detected in preset time, then illustrates that communication terminal is not online at this time, therefore control server is when defaultBetween stop in section to the communication terminal PUSH message to save Internet resources and push cost.
In a particular application, above-mentioned second message characteristic includes that message receipt times, message-length and message connectReceive channel.
It should be noted that above-mentioned prefixed time interval can be configured according to actual needs, such as it is set as 5 pointsClock, it is without restriction herein.
Step S104: if detecting the feedback message that the target communications terminal is sent within a preset time interval,Then verify the consistency and the first message characteristic and described second of the fisrt feature code and the second feature codeWhether the characteristic information data match.
In a particular application, if receiving the feedback message, second feature code and second is obtained according to the feedback messageThe characteristic information data further judge whether communication terminal is online.
In a particular application, whether consistent with second feature code by charactor comparison fisrt feature code one by one, message is sentWhether channel is consistent with message sink channel, and whether message sending time and message receipt times are in time threshold and messageWhether length unanimously judges whether communication terminal is online (networking).
In a particular application, only when fisrt feature code and second feature code are completely the same, and message sendaisle with disappearIt is consistent to cease receiving channel, and message sending time and message receipt times are in time threshold, and when message-length is consistent, just saysBright communication terminal is online.
It should be noted that above-mentioned communication terminal refers to bluetooth, cellular mobile network or the nothing of the communication terminal onlineThe internets such as gauze network connection status at least one be in connected state.
Step S105: if the fisrt feature code is consistent with the second feature code, and the first message characteristicIt is matched with the second message characteristic, then to the target communications terminal PUSH message;Otherwise, stop within a preset period of timeOnly to the target communications terminal PUSH message.
In a particular application, when fisrt feature code is consistent with the second feature code, and first message characteristic and theWhen two the characteristic information Data Matchings, illustrate that communication terminal is online at this time, therefore whole to the communication by the internet communications networkEnd carries out message push.
In a particular application, when fisrt feature code and the second feature code are inconsistent or first message characteristicWhen mismatching with second message characteristic, illustrate that communication terminal is not online at this time, therefore suspends and disappear to communication terminal pushBreath, i.e., stop within a preset period of time to the communication terminal PUSH message.
It should be noted that above-mentioned preset time period can be configured according to actual needs, such as be set as 1 hour,It is without restriction herein.
After preset time period, server issues PUSH message to the communication terminal again.
Information push method provided in this embodiment, by PUSH message according to communication terminal send condition code comeThe presence for determining communication terminal determines whether to continue PUSH message according to the presence of the communication terminal, when communication is wholeWhen holding not online, suspends to the communication terminal PUSH message, reduce bandwidth usage, improve information push efficiency, save networkResource and push cost can carry out content comparison in plain text without communication terminal feedback message, effectively prevent the bright of communication terminalThe possibility that literary information is stolen improves the safety of message transmission, efficiently solves and exists during message push at presentThe problem of bandwidth usage is high, and resource and cost is caused to waste.
Embodiment two:
As shown in Fig. 2, in the present embodiment, the step S101 in embodiment one is specifically included:
Step S201: it uses the first Encryption Algorithm to encrypt in plain text the message, generates the first ciphertext.
In a particular application, the first Encryption Algorithm is obtained according to combined ciphering algorithm, and is offseted according to the first Encryption AlgorithmBreath carries out encrypting conversion in plain text, generates the first ciphertext.
Illustratively, if the content of message plaintext are as follows: " [dream net science and technology] your identifying code is 783125.It is grasped in person as non-Make, this short message please be ignore ".First Encryption Algorithm is 256 Encryption Algorithm of Hash, then is encrypted using 256 Encryption Algorithm of HashThe first ciphertext obtained after conversion is as follows:
“1ed063623e48c6e2882edea14d72a08f39f0c6ad6866a743708fe56a45f8e082”。
Step S202: it uses the second Encryption Algorithm to encrypt in plain text the message, generates the second ciphertext.
In a particular application, the second Encryption Algorithm is obtained according to combined ciphering algorithm, and is offseted according to the second Encryption AlgorithmBreath carries out encrypting conversion in plain text, generates the second ciphertext.
Illustratively, if the content of message plaintext are as follows: " [dream net science and technology] your identifying code is 783125.It is grasped in person as non-Make, this short message please be ignore ".Second Encryption Algorithm is md5 encryption algorithm, then obtains after carrying out encrypting conversion using md5 encryption algorithmThe second ciphertext arrived is as follows:
“33c24a56e9490612028a020fecb41eb7”。
Step S203: first ciphertext and second ciphertext are combined, and generate fisrt feature code.
In a particular application, the first obtained ciphertext and the second ciphertext are spliced and combined just obtain with message in plain text it is rightThe fisrt feature code answered.
Illustratively, the first ciphertext are as follows:
"1ed063623e48c6e2882edea14d72a08f39f0c6ad6866a743708fe56a45f8e082";
Second ciphertext are as follows:
"33c24a56e9490612028a020fecb41eb7";
The fisrt feature code then combined are as follows:
“1ed063623e48c6e2882edea14d72a08f39f0c6ad6866a743708fe56a45f8e08233c24a56e9490612028a020fecb41eb7”。
Embodiment three:
As shown in figure 3, present embodiments providing a kind of information push method, which is held by communication terminalRow, specifically includes:
Step S301: the PUSH message that server issues is received.
In a particular application, after detecting that server has issued PUSH message, communication terminal can receive the PUSH message,And corresponding feedback message is generated according to the content of the PUSH message, to feed back the network state of present communications terminal.
Step S302: message is obtained in plain text according to the PUSH message, and second feature is generated according to the message in plain textCode.
In a particular application, communication terminal obtains message in plain text according to the PUSH message after receiving the PUSH message,And encrypted combination is carried out using preset combined ciphering algorithm in plain text to the message, obtain corresponding second feature code.
It should be noted that above-mentioned preset combined ciphering algorithm combines used by carrying out encrypted combination with server endEncryption Algorithm must be consistent.Server and communication terminal can make an appointment the encrypted combination algorithm to be used, to keepUnanimously.
In a particular application, two kinds of predetermined encryption algorithms that communication terminal is respectively adopted in the combined ciphering algorithm are addedThird ciphertext and the 4th ciphertext are obtained after close conversion, then are spliced third ciphertext and the 4th ciphertext to obtain second feature code.
Step S303: PUSH message obtains second message characteristic based on the received.
In a particular application, communication terminal according to receive the message receipt times of PUSH message, message sink channel andMessage-length generates second message characteristic.
Step S304: generating feedback message according to the second feature code and the second message characteristic, and by instituteIt states feedback message and is sent to the server.
In a particular application, obtained second feature code and second message characteristic generation feedback is combined to disappearBreath, and the feedback message is sent to by server by message sink channel, so as to the internet of server detection communication terminalConnection status.
Information push method provided in this embodiment, equally can by PUSH message according to communication terminal sendCondition code determines the presence of communication terminal, is determined whether to continue PUSH message according to the presence of the communication terminal,When communication terminal is not online, suspends to the communication terminal PUSH message, reduces bandwidth usage, improve information push efficiency,Internet resources and push cost are saved, content comparison can be carried out in plain text without communication terminal feedback message, effectively prevent communicatingThe possibility that the cleartext information of terminal is stolen improves the safety of message transmission, efficiently solves and pushed at present in messageThe problem of it is high that there are bandwidth usages in journey, and resource and cost is caused to waste.
Example IV:
As shown in figure 4, in the present embodiment, the step S302 in embodiment three is specifically included:
Step S401: it uses the first Encryption Algorithm to encrypt in plain text the message, generates third ciphertext.
In a particular application, the first Encryption Algorithm is obtained according to combined ciphering algorithm, and is offseted according to the first Encryption AlgorithmBreath carries out encrypting conversion in plain text, generates third ciphertext.
Illustratively, if the content of the message plaintext received are as follows: " [dream net science and technology] your identifying code is 783125.Such asNon- I operates, and please ignore this short message ".First Encryption Algorithm is 256 Encryption Algorithm of Hash, then uses 256 Encryption Algorithm of HashIt is as follows to carry out the third ciphertext obtained after encrypting conversion:
“1ed063623e48c6e2882edea14d72a08f39f0c6ad6866a743708fe56a45f8e082”。
Step S402: it uses the second Encryption Algorithm to encrypt in plain text the message, generates the 4th ciphertext.
In a particular application, the second Encryption Algorithm is obtained according to combined ciphering algorithm, and is offseted according to the second Encryption AlgorithmBreath carries out encrypting conversion in plain text, generates the 4th ciphertext.
Illustratively, if the content of the message plaintext received are as follows: " [dream net science and technology] your identifying code is 783125.Such asNon- I operates, and please ignore this short message ".Second Encryption Algorithm is md5 encryption algorithm, then is encrypted using md5 encryption algorithmThe 4th ciphertext obtained after conversion is as follows:
“33c24a56e9490612028a020fecb41eb7”。
Step S403: the third ciphertext and the 4th ciphertext are combined, and generate second feature code.
Obtained third ciphertext and the 4th ciphertext are spliced and combined and just obtain second feature corresponding with message plaintextCode.
Illustratively, third ciphertext are as follows:
"1ed063623e48c6e2882edea14d72a08f39f0c6ad6866a743708fe56a45f8e082";
4th ciphertext are as follows:
"33c24a56e9490612028a020fecb41eb7";
The second feature code then combined are as follows:
“1ed063623e48c6e2882edea14d72a08f39f0c6ad6866a743708fe56a45f8e08233c24a56e9490612028a020fecb41eb7”。
Embodiment five:
As shown in figure 5, present embodiments providing a kind of information push method, specifically include:
Step S501: fisrt feature code is generated according to the message of PUSH message in plain text;And it issues and pushes away to target communications terminalMessage is sent, first message characteristic is stored.
In a particular application, server waits for that the message content of PUSH message determines message in plain text, and according to preset combinationMessage is carried out encrypted combination in plain text and generates fisrt feature code by Encryption Algorithm.
In a particular application, two kinds of predetermined encryptions that the message is respectively adopted in combined ciphering algorithm server in plain text are calculatedMethod obtains the first ciphertext and the second ciphertext after carrying out encrypting conversion, then is spliced the first ciphertext and the second ciphertext to obtain firstCondition code, server store above-mentioned fisrt feature code.
In a particular application, message is pushed to target communications terminal according to message push instruction in plain text, and stores pushThe relevant first message characteristic of message, the first message characteristic include that message pushes time, message-length, and message pushes awaySend channel and message in plain text.
Step S502: second feature code is generated according to the PUSH message, obtains second message characteristic, and to serviceDevice sends feedback message.
Communication terminal obtains message in plain text after receiving the PUSH message, according to the PUSH message, and bright to the messageLiterary grace carries out encrypted combination with preset combined ciphering algorithm, obtains corresponding second feature code.
It should be noted that above-mentioned preset combined ciphering algorithm combines used by carrying out encrypted combination with server endEncryption Algorithm must be consistent.Server and communication terminal can make an appointment the encrypted combination algorithm to be used, to keepUnanimously.
In a particular application, two kinds of predetermined encryption algorithms that communication terminal is respectively adopted in the combined ciphering algorithm are addedThird ciphertext and the 4th ciphertext are obtained after close conversion, then are spliced third ciphertext and the 4th ciphertext to obtain second feature code.
Step S503: the feedback message that the target communications terminal is sent whether is received in detection prefixed time interval.
In a particular application, server persistently detect whether to receive target communications terminal transmission comprising second feature codeIllustrate the terminal if detecting the feedback message within a preset time interval with the feedback message of second message characteristicThere is a possibility that online, needs further to verify condition code and characteristic at this time to judge whether communication terminal is online;IfThe feedback message is not detected in preset time, then illustrates that communication terminal is not online at this time, therefore control server is when defaultBetween stop in section to the communication terminal PUSH message to save Internet resources and push cost.
Step S504: if detecting the feedback message that the target communications terminal is sent within a preset time interval,Then verify the consistency and the first message characteristic and described second of the fisrt feature code and the second feature codeWhether the characteristic information data match.
In a particular application, if receiving the feedback message, second feature code and second is obtained according to the feedback messageThe characteristic information data further judge whether communication terminal is online.
In a particular application, whether consistent with second feature code by charactor comparison fisrt feature code one by one, message is sentWhether channel is consistent with message sink channel, and whether message sending time and message receipt times are in time threshold and messageWhether length unanimously judges whether communication terminal is online (networking).
In a particular application, only when fisrt feature code and second feature code are completely the same, and message sendaisle with disappearIt is consistent to cease receiving channel, and message sending time and message receipt times are in time threshold, and when message-length is consistent, just saysBright communication terminal is online.
It should be noted that above-mentioned communication terminal refers to bluetooth, cellular mobile network or the nothing of the communication terminal onlineThe internets such as gauze network connection status at least one be in connected state.
Step S505: if the fisrt feature code is consistent with the second feature code, and the first message characteristicIt is matched with the second message characteristic, then to the target communications terminal PUSH message;Otherwise, stop within a preset period of timeOnly to the target communications terminal PUSH message.
In a particular application, when fisrt feature code is consistent with the second feature code, and first message characteristic and theWhen two the characteristic information Data Matchings, illustrate that communication terminal is online at this time, therefore whole to the communication by the internet communications networkEnd carries out message push.
In a particular application, when fisrt feature code and the second feature code are inconsistent or first message characteristicWhen mismatching with second message characteristic, illustrate that communication terminal is not online at this time, therefore suspends and disappear to communication terminal pushBreath, i.e., stop within a preset period of time to the communication terminal PUSH message.
It should be noted that above-mentioned preset time period can be configured according to actual needs, such as be set as 1 hour,It is without restriction herein.
After preset time period, server issues PUSH message to the communication terminal again.
Information push method provided in this embodiment, equally can by PUSH message according to communication terminal sendCondition code determines the presence of communication terminal, is determined whether to continue PUSH message according to the presence of the communication terminal,When communication terminal is not online, suspends to the communication terminal PUSH message, reduces bandwidth usage, improve information push efficiency,Internet resources and push cost are saved, content comparison can be carried out in plain text without communication terminal feedback message, effectively prevent communicatingThe possibility that the cleartext information of terminal is stolen improves the safety of message transmission, efficiently solves and pushed at present in messageThe problem of it is high that there are bandwidth usages in journey, and resource and cost is caused to waste.
Embodiment six:
As shown in fig. 6, for executing the method and step in embodiment one, being wrapped the present embodiment provides a kind of server 100Include fisrt feature code module 101, memory module 102, detection module 103, authentication module 104 and pushing module 105.
Fisrt feature code module 101 is used to generate fisrt feature code in plain text according to the message of PUSH message.
Memory module 102 is used to issue PUSH message to target communications terminal and store first message characteristic, so thatThe target communications terminal generates second feature code according to the PUSH message.
Detection module 103 is used to detect the feedback that the target communications terminal is sent whether to be received in prefixed time intervalMessage, the feedback message include the second feature code and second message characteristic.
If authentication module 104 is used to detect the feedback that the target communications terminal is sent within a preset time intervalMessage, then verify the fisrt feature code and the second feature code consistency and the first message characteristic with it is describedWhether second message characteristic matches.
If the fisrt feature code of pushing module 105 is consistent with the second feature code, and the first message characteristicIt is matched according to the second message characteristic, then to the target communications terminal PUSH message;Otherwise, within a preset period of timeStop to the target communications terminal PUSH message.
It should be noted that server provided in an embodiment of the present invention, as with embodiment of the method base shown in Fig. 1 of the present inventionIn same design, bring technical effect is identical as embodiment of the method shown in Fig. 1 of the present invention, and particular content can be found in the present inventionNarration in embodiment of the method shown in Fig. 1, details are not described herein again.
Therefore, a kind of server provided in this embodiment, equally can be by sending out in PUSH message according to communication terminalThe condition code sent determines the presence of communication terminal, according to the presence of the communication terminal determines whether that continuing push disappearsBreath suspends to the communication terminal PUSH message when communication terminal is not online, reduces bandwidth usage, improves message push effectRate saves Internet resources and push cost, can carry out content comparison in plain text without communication terminal feedback message, effectively prevent leading toThe possibility that the cleartext information of letter terminal is stolen, improves the safety of message transmission, efficiently solves and pushes at present in messageThe problem of there is bandwidth usage height in the process, resource and cost caused to waste.
Embodiment seven:
As shown in fig. 7, in the present embodiment, the fisrt feature code module 101 in embodiment six includes for executing Fig. 2 instituteThe structure of method and step in corresponding embodiment comprising the first encryption unit 201, the second encryption unit 202 and firstAssembled unit 203.
First encryption unit 201 is used to use the first Encryption Algorithm to encrypt in plain text the message, and it is close to generate firstText.
Second encryption unit 202 is used to use the second Encryption Algorithm to encrypt in plain text the message, and it is close to generate secondText.
First assembled unit 203 generates fisrt feature for first ciphertext and second ciphertext to be combinedCode.
Embodiment eight:
As shown in figure 8, the present embodiment provides a kind of communication terminals 300, for executing the method and step in embodiment three,Including receiving module 301, second feature code module 302, obtain module 303 and feedback module 304.
Receiving module 301 is for receiving the PUSH message that server issues.
Second feature code module 302 is used to obtain message in plain text according to the PUSH message, and in plain text according to the messageGenerate second feature code.
It obtains module 303 and obtains second message characteristic for PUSH message based on the received.
Feedback module 304 is used to generate feedback message according to the second feature code and the second message characteristic,And the feedback message is sent to the server.
It should be noted that communication terminal provided in an embodiment of the present invention, as with embodiment of the method shown in Fig. 3 of the present inventionBased on same design, bring technical effect is identical as embodiment of the method shown in Fig. 3 of the present invention, and particular content can be found in this hairNarration in embodiment of the method shown in bright Fig. 3, details are not described herein again.
Therefore, a kind of communication terminal provided in this embodiment, equally can by PUSH message according to communication terminalThe condition code of transmission determines the presence of communication terminal, determines whether to continue to push according to the presence of the communication terminalMessage is suspended to the communication terminal PUSH message when communication terminal is not online, reduces bandwidth usage, and message push is improvedEfficiency saves Internet resources and push cost, can carry out content comparison in plain text without communication terminal feedback message, effectively preventThe possibility that the cleartext information of communication terminal is stolen improves the safety of message transmission, efficiently solves and push away at present in messageThe problem of it is high that there are bandwidth usages during sending, and resource and cost is caused to waste.
Embodiment nine:
As shown in figure 9, in the present embodiment, the second feature code module 302 in embodiment eight includes for executing Fig. 4 instituteThe structure of method and step in corresponding embodiment comprising third encryption unit 401, the 4th encryption unit 402 and secondAssembled unit 403.
Third encryption unit 401 is used to use the first Encryption Algorithm to encrypt in plain text the message, and it is close to generate thirdText.
4th encryption unit 402 is used to use the second Encryption Algorithm to encrypt in plain text the message, and it is close to generate the 4thText.
Second assembled unit 403 generates second feature for the third ciphertext and the 4th ciphertext to be combinedCode.
Embodiment ten:
As shown in Figure 10, the present embodiment provides a kind of message push system 500, message push system 500 includes server510 and communication terminal 520.
Server 510 includes the first generation module 511, detection module 512, matching module 513 and pushing module 514.
First generation module 511 is used to generate fisrt feature code in plain text according to the message of PUSH message;And to destinations trafficTerminal issues PUSH message, stores first message characteristic.
Detection module 512 is used to detect the feedback that the target communications terminal is sent whether to be received in prefixed time intervalMessage.
If matching module 513 is used to detect the feedback that the target communications terminal is sent within a preset time intervalMessage, then verify the fisrt feature code and the second feature code consistency and the first message characteristic with it is describedWhether second message characteristic matches.
If pushing module 514 is consistent with the second feature code for the fisrt feature code, and the first message is specialSign data are matched with the second message characteristic, then to the target communications terminal PUSH message;Otherwise, in preset timeStop in section to the target communications terminal PUSH message.
Communication terminal 520 includes the second generation module 521.
Second generation module 521 is used to generate second feature code according to the PUSH message, obtains second message characteristicAccording to, and feedback message is sent to server.
In a particular application, above-mentioned communication terminal 520 is connected with above-mentioned server 510 wireless communication.
It should be noted that message push system provided in an embodiment of the present invention, as real with method shown in Fig. 5 of the present inventionIt applies example and is based on same design, bring technical effect is identical as embodiment of the method shown in Fig. 5 of the present invention, and particular content can be found inNarration in embodiment of the method shown in Fig. 5 of the present invention, details are not described herein again.
Therefore, a kind of message push system provided in this embodiment, equally can by PUSH message according to communicationThe condition code that terminal is sent determines the presence of communication terminal, determines whether to continue according to the presence of the communication terminalPUSH message suspends to the communication terminal PUSH message when communication terminal is not online, reduces bandwidth usage, improve messagePushing efficiency saves Internet resources and push cost, can carry out content comparison in plain text without communication terminal feedback message, effectivelyThe possibility for preventing the cleartext information of communication terminal to be stolen improves the safety of message transmission, efficiently solves and disappearing at presentThe problem of it is high that there are bandwidth usages during breath push, and resource and cost is caused to waste.
Embodiment 11:
Figure 11 is the schematic diagram for the server that the embodiment of the present invention 11 provides.As shown in figure 11, the service of the embodimentDevice 11 includes: processor 110, memory 111 and is stored in the memory 111 and can transport on the processor 110Capable computer program 112, such as program.The processor 110 realizes above-mentioned each figure when executing the computer program 112Step in piece processing method embodiment, such as step S101 to S105 shown in FIG. 1.Alternatively, the processor 110 executes instituteRealize the function of each module/unit in the above system embodiment when stating computer program 112, for example, module 101 shown in Fig. 6 to104 function.
Illustratively, the computer program 112 can be divided into one or more module/units, it is one orMultiple module/the units of person are stored in the memory 111, and are executed by the processor 110, to complete the present invention.InstituteStating one or more module/units can be the series of computation machine program instruction section that can complete specific function, the instruction segmentFor describing implementation procedure of the computer program 112 in the server 11.For example, the computer program 112 canTo be divided into fisrt feature code module, memory module, detection module, authentication module and pushing module, each specific function of moduleIt can be as follows:
Fisrt feature code module, for generating fisrt feature code in plain text according to the message of PUSH message;
Memory module, for issuing PUSH message to target communications terminal and storing first message characteristic, so that instituteIt states target communications terminal and second feature code is generated according to the PUSH message;
Whether detection module receives the feedback that the target communications terminal is sent and disappears for detecting in prefixed time intervalBreath, the feedback message includes the second feature code and second message characteristic;
Authentication module, if the feedback for detecting that the target communications terminal is sent within a preset time interval disappearsBreath then verifies the consistency and the first message characteristic and described the of the fisrt feature code and the second feature codeWhether two the characteristic information data match;
Pushing module, if the fisrt feature code is consistent with the second feature code, and the first message characteristicIt is matched with the second message characteristic, then to the target communications terminal PUSH message;Otherwise, stop within a preset period of timeOnly to the target communications terminal PUSH message.
The server 11 can be the calculating such as desktop PC, notebook, palm PC and cloud management serverEquipment.The server may include, but be not limited only to, processor 110, memory 111.It will be understood by those skilled in the art thatFigure 11 is only the example of server 11, does not constitute the restriction to server 11, may include more more or fewer than illustratingComponent perhaps combines certain components or different components, such as the server can also include input-output equipment, netNetwork access device, bus etc..
Alleged processor 110 can be central processing unit (Central Processing Unit, CPU), can also beOther general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processorDeng.
The memory 111 can be the internal storage unit of the server 11, such as the hard disk or interior of server 11It deposits.The memory 111 is also possible to the External memory equipment of the server 11, such as is equipped on the server 11 slottingConnect formula hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash memoryBlock (Flash Card) etc..Further, the memory 111 can also both include the internal storage unit of the server 11It also include External memory equipment.The memory 111 is for storing needed for the computer program and the server itHis program and data.The memory 111 can be also used for temporarily storing the data that has exported or will export.
Embodiment 12:
Figure 12 is the schematic diagram for the communication terminal that the embodiment of the present invention 12 provides.As shown in figure 12, the embodiment is logicalLetter terminal 12 includes: processor 120, memory 121 and is stored in the memory 121 and can be in the processor 120The computer program 122 of upper operation, such as program.The processor 120 is realized above-mentioned each when executing the computer program 122Step in a image processing method embodiment, such as step S301 to S304 shown in Fig. 3.Alternatively, the processor 120 is heldThe function of each module/unit in the above system embodiment, such as module 301 shown in Fig. 8 are realized when the row computer program 122To 304 function.
Illustratively, the computer program 122 can be divided into one or more module/units, it is one orMultiple module/the units of person are stored in the memory 121, and are executed by the processor 120, to complete the present invention.InstituteStating one or more module/units can be the series of computation machine program instruction section that can complete specific function, the instruction segmentFor describing implementation procedure of the computer program 122 in the communication terminal 12.For example, the computer program 122It is as follows that receiving module, second feature code module, acquisition module and feedback module, each module concrete function can be divided into:
Receiving module, the PUSH message issued for receiving communication terminal;
Second feature code module, for obtaining message in plain text according to the PUSH message, and it is raw in plain text according to the messageAt second feature code;
Module is obtained, obtains second message characteristic for PUSH message based on the received;
Feedback module, for generating feedback message according to the second feature code and the second message characteristic, andThe feedback message is sent to the communication terminal.
The communication terminal 12 can be desktop PC, notebook, palm PC and cloud management communication terminal etc.Calculate equipment.The communication terminal may include, but be not limited only to, processor 120, memory 121.Those skilled in the art can be withUnderstand, Figure 12 is only the example of communication terminal 12, does not constitute the restriction to communication terminal 12, may include more than illustratingOr less component, certain components or different components are perhaps combined, such as the communication terminal can also include that input is defeatedEquipment, network access equipment, bus etc. out.
Alleged processor 120 can be central processing unit (Central Processing Unit, CPU), can also beOther general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processorDeng.
The memory 121 can be the internal storage unit of the communication terminal 12, such as the hard disk of communication terminal 12Or memory.The memory 121 is also possible to the External memory equipment of the communication terminal 12, such as on the communication terminal 12The plug-in type hard disk of outfit, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD)Card, flash card (Flash Card) etc..Further, the memory 121 can also be both interior including the communication terminal 12Portion's storage unit also includes External memory equipment.The memory 121 is for storing the computer program and the communicationOther programs and data needed for terminal.The memory 121, which can be also used for temporarily storing, have been exported or will be defeatedData out.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each functionCan unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by differentFunctional unit, module are completed, i.e., the internal structure of the system is divided into different functional unit or module, more than completingThe all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can alsoTo be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integratedUnit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function listMember, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.It is above-mentioned wirelessThe specific work process of unit in terminal, module, can refer to corresponding processes in the foregoing method embodiment, no longer superfluous hereinIt states.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodimentThe part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosureMember and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actuallyIt is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technicianEach specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceedThe scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed system/terminal device and method, it can be withIt realizes by another way.For example, system described above/terminal device embodiment is only schematical, for example, instituteThe division of module or unit is stated, only a kind of logical function partition, there may be another division manner in actual implementation, such asMultiple units or components can be combined or can be integrated into another system, or some features can be ignored or not executed.SeparatelyA bit, shown or discussed mutual coupling or direct-coupling or communication connection can be through some interfaces, systemOr the INDIRECT COUPLING or communication connection of unit, it can be electrical property, mechanical or other forms.
The unit for being set as separate part description may or may not be physically separated, and be set as singleThe component of member display may or may not be physical unit, it can and it is in one place, or may be distributed overIn multiple network units.Some or all of unit therein can be selected to realize this embodiment scheme according to the actual needsPurpose.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unitIt is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated listMember both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit, which is realized in the form of SFU software functional unit and is arranged, is independent product saleOr it in use, can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-mentioned realityThe all or part of the process in a method is applied, relevant hardware can also be instructed to complete by computer program, it is describedComputer program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved thatThe step of above-mentioned each embodiment of the method.Wherein, the computer program includes computer program code, the computer programCode can be source code form, object identification code form, executable file or certain intermediate forms etc..Computer-readable JieMatter may include: can carry the computer program code any entity or system, recording medium, USB flash disk, mobile hard disk,Magnetic disk, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM,Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that describedThe content that computer-readable medium includes can carry out increasing appropriate according to the requirement made laws in jurisdiction with patent practiceSubtract, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium do not include be electric carrier signal andTelecommunication signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned realityApplying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned eachTechnical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modifiedOr replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should allIt is included within protection scope of the present invention.