Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
See Fig. 1, be the schematic flow sheet of the message method that the embodiment of the present invention provides, describe the technical scheme of embodiment of the present invention message method from server side, the method comprises:
Step S100: the message content that receipt message transmitting terminal sends;
Particularly, message sending end can send message content by Website login, this website can be social platform, such as user can log in QQ space platform, micro-letter platform, Sina's microblog etc. by intelligent mobile terminal, and server receives the message content that message sending end sends after logging in social platform;
Will be understood that, the message sending end in each embodiment of the present invention includes but not limited to intelligent mobile terminal, panel computer or desktop computer etc.; In the present invention's embodiment, message sending end is not limited to log in social platform to send message content, can also send note, multimedia message or Fetion etc. information, be not construed as limiting here.
Step S102: when getting the pushing condition information for described message content, then judge whether described message content to be pushed to message sink end according to described pushing condition information; Described pushing condition information is used to indicate the pushing condition pushing described message content;
Particularly, message sending end before transmission message content, while transmission message content or after sending message content, can send the pushing condition information for this message content to server; Namely message sending end can be good with server negotiate in advance, pushing condition according to presetting judges whether to push, or judge whether to promote according to the pushing condition received with receipt message content simultaneously, or judge whether to push according to the pushing condition obtained again after receiving message content; As long as server gets the pushing condition information for described message content before performing and pushing this message content, so this message content will be judged whether to be pushed to message sink end according to this pushing condition information;
Preferably, message sending end sends the pushing condition information for this message content to server while sending message content, and server gets the pushing condition information for this message content while receiving this message content.
It should be noted that, message sending end can be selected not arrange the pushing condition information for message content, so server does not get the pushing condition information for this message content, directly this message content will be pushed to message sink end, namely the user of such as message sending end gives out information content in the friend circle of micro-letter, so this message content is directly issued by server in the friend circle of micro-letter, and the good friend in friend circle will see this message content.
Step S104: when judging that described message sink end meets pushing condition according to described pushing condition information, is pushed to described message sink end by described message content.
Particularly, when judging that described message sink end meets pushing condition according to described pushing condition information, this message content is only pushed to the message sink end meeting pushing condition by server, namely the user of such as message sending end gives out information content in the friend circle of micro-letter, server is when pushing this message content of issue, arrange user's just this message content visible only meeting the message sink end of pushing condition, other user not meeting the message sink end of pushing condition is by this message content invisible.
Further, the schematic flow sheet of the message method of another embodiment provided by the invention as shown in Figure 2, comprising:
Step S200: the message content that receipt message transmitting terminal sends;
Step S202: when getting the pushing condition information for described message content, then judge whether described message content to be pushed to message sink end according to described pushing condition information;
Particularly, step S200 and step S202 can step S100 in corresponding reference diagram 1 embodiment and step S102, when judging that this message sink end meets pushing condition according to this pushing condition information, performs step S204, otherwise performs step S206;
Step S204: described message content is pushed to described message sink end;
Step S206: temporary described message content, judges whether described message content to be pushed to message sink end according to described pushing condition information in repeated execution of steps S202 after the first time period preset.
Particularly, pushing condition in the embodiment of the present invention can be the Rule of judgment of single time point, it can also be the Rule of judgment of certain time period, namely certain time period (as 3 days) is such as pre-set, so server first will keep in this message content, and judge whether this message content to be pushed to message sink end within this 3 day time, server the first time period (as 30 minutes, 60 minutes etc.) preset of interval can carry out the determining step of repeated execution of steps S202, namely performs step S204 when meeting pushing condition; It should be noted that, when server is all judged not meet pushing condition within this 3 day time, namely server have passed through default the second time period (3 days as arranged in above-mentioned example) after performing step S202, so can send message push failure to message sending end, push unsuccessfully with this message content of reminder message transmitting terminal user.
Will be understood that, after server performs step S204, can also comprise and send the successful message of message push to message sending end, push successfully with this message content of notification message transmitting terminal user.
Again further, pushing condition in each embodiment of the present invention can be arranged according to the demand of self or current application scene for the user of message sending end, the SEE time section of this message content is such as set, only has the message sink end subscriber of certain period Website login (such as logging in certain social platform) just this message content visible, or only have the number of times of the social photograph album of browsed message sending end user to reach certain threshold value just this message content visible, or according to the keyword of message content, message sink end subscriber is only had to deliver similar message content just this message content visible etc.,
Preferably, pushing condition in the embodiment of the present invention can comprise the behavior condition of this message sink end, and so according to this pushing condition information, server judges whether that the step this message content being pushed to message sink end can comprise: the behavior record obtaining this message sink end; Judge that the behavior records the behavior condition whether met in this pushing condition; When judging that the behavior, record met the behavior condition in this pushing condition, then judge that this message sink end meets pushing condition.
Particularly, server can collect the behavior record of this message sink end in website in advance, and preserves behavior record, directly searches the behavior record of preservation when needing the behavior record obtaining this message sink end, or server after knowing the behavior record that will obtain this message sink end, can just go the behavior of recording this message sink end, then the behavior condition met in this pushing condition is judged whether by behavior record, such as behavior condition is that the number of times of the social photograph album of browsed message sending end user reaches certain threshold value, the so behavior record of server by obtaining, judge that the number of times of the social photograph album of the whether browsed message sending end user of message sink end subscriber reaches certain threshold value (such as 10 times), when the number of times of the social photograph album judging message sink end subscriber browsed message sending end user is 12 times, after reaching threshold value, then show to judge that this message sink end meets pushing condition, follow-up propelling movement step can be performed.
For the ease of implementing the such scheme of the embodiment of the present invention better, describing the technical scheme of message method of the present invention below from message sending end, as shown in Figure 3 the schematic flow sheet of the message method of another embodiment provided by the invention, comprising:
Step S300: according to the information generating messages content of input;
Particularly, message sending end input information can generate message content after user's Website login, this website can be social platform, such as user can log in QQ space platform, micro-letter platform, Sina's microblog etc. by intelligent mobile terminal, then the information of transmission is wanted in input, and message sending end is according to the information generating messages content of this input.
Step S302: pushing condition information is set for described message content; Described pushing condition information is used to indicate the pushing condition of message content described in server push;
Particularly, message sending end can arrange pushing condition information according to user's self-demand for this message content, the SEE time section of this message content is such as set, only has the message sink end subscriber of certain period Website login (such as logging in certain social platform) just this message content visible, or only have the number of times of the social photograph album of browsed message sending end user to reach certain threshold value just this message content visible, or according to the keyword of message content, only have message sink end subscriber to deliver similar message content just this message content visible etc.;
Step S304: send described message content and described pushing condition information to server, judges whether described message content to be pushed to message sink end according to described pushing condition information to make described server.
Particularly, message sending end before transmission message content, while transmission message content or after sending message content, can send the pushing condition information for this message content to server; As long as message sending end and server negotiate are well.
Further, to after server sends described message content and described pushing condition information in the step S304 of the embodiment of the present invention, can also comprise: receive the successful message of message push that this server returns; The successful message of this message push for this server when judging that this message sink end meets pushing condition according to this pushing condition information, after pushing this message content to this message sink end, the successful message of message push of generation.
Again further, to after server sends described message content and described pushing condition information in the step S304 of the embodiment of the present invention, can also comprise: receive the message push failure that this server returns; This message push failure for this server after judging that this message sink end does not meet pushing condition according to this pushing condition information, the successful message of message push of generation.
It should be noted that, Fig. 3 embodiment of the present invention can the corresponding description with reference to technical scheme in above-mentioned Fig. 1 and Fig. 2 embodiment, repeats no more here.
By implementing the embodiment of the present invention, when server gets the pushing condition information for message content, judge whether message content to be pushed to message sink end according to this pushing condition information, and when message sink end meets pushing condition, this message content is just pushed to message sink end by server, solve in prior art for special screne or self special demands, user can not send the technical problem of message efficiently and easily, achieve the pushing condition arranged according to user and send message content, greatly can strengthen the message sending function of social intercourse system, more be convenient to the transmission that user carries out message.
For the ease of implementing the such scheme of the embodiment of the present invention better, the present invention also correspondence provides a kind of server, the structural representation of the server that the embodiment of the present invention as shown in Figure 4 provides, server 40 can comprise: message content receiver module 400, propelling movement judge module 402 and pushing module 404, wherein
The message content that message content receiver module 400 sends for receipt message transmitting terminal;
Push judge module 402 for when getting the pushing condition information for described message content, then judge whether described message content to be pushed to message sink end according to described pushing condition information; Described pushing condition information is used to indicate the pushing condition pushing described message content;
Described message content, for when pushing judge module 402 and judging that described message sink end meets pushing condition according to described pushing condition information, is pushed to described message sink end by pushing module 404.
Particularly, described pushing condition comprises the behavior condition of described message sink end; The structural representation of the propelling movement judge module that the embodiment of the present invention as shown in Figure 5 provides, pushing judge module 402 can comprise: behavior acquiring unit 4020 and behavior judging unit 4022, wherein
Behavior acquiring unit 4020 is for obtaining the behavior record of described message sink end;
Behavior judging unit 4022 is for judging whether described behavior record meets the behavior condition in described pushing condition; When behavior judging unit 4020 judges the behavior condition that described behavior record meets in described pushing condition, then judge that described message sink end meets pushing condition.
Further, while the message content that message content receiver module 400 can send specifically for receipt message transmitting terminal, the pushing condition information for described message content that described message sending end sends is obtained.
Again further, the structural representation of the server of another embodiment provided by the invention as shown in Figure 6, server 40 comprises message content receiver module 400, pushes outside judge module 402 and pushing module 404, Collection and conservation module 406 can also be comprised, for obtain described message sink end at behavior acquiring unit 4020 behavior record before, collect the behavior record of described message sink end in website, and preserve described behavior record.
Again further, the structural representation of the server of another embodiment provided by the invention as shown in Figure 7, server 40 comprises message content receiver module 400, pushes outside judge module 402, pushing module 404 and Collection and conservation module 406, temporary news module 408 can also be comprised, after judging whether that described message content is pushed to message sink end at propelling movement judge module 402 according to described pushing condition information, when judging that described message sink end does not meet pushing condition according to described pushing condition information, then temporary described message content; After the first time period preset, trigger propelling movement judge module 402 repeat the described step judging whether described message content to be pushed to according to described pushing condition information message sink end.
Again further, the server 40 of the embodiment of the present invention can also comprise the first message transmission module, after described message content being pushed to described message sink end at pushing module 404, sends the successful message of message push to described message sending end; And
The server 40 of the embodiment of the present invention can also comprise the second message transmission module, after keeping in described message content in temporary news module 408, after second time period of presetting, sends message push failure to described message sending end.
Will be understood that, in server 40, the function of each module may correspond to the specific implementation with reference to Fig. 1 and Fig. 2 embodiment in above-mentioned each embodiment of the method, repeats no more here.
Below in conjunction with the structural representation of the message dispensing device provided by the invention shown in Fig. 8, corresponding said method item carrys out the execution mode of tracing device item, message dispensing device 80 comprises message generating module 800, pushing condition arranges module 802 and message transmission module 804, wherein
Message generating module 800 is for the information generating messages content according to input;
Pushing condition arranges module 802 for arranging pushing condition information for described message content; Described pushing condition information is used to indicate the pushing condition of message content described in server push;
Message transmission module 804, for sending described message content and described pushing condition information to server, judges whether described message content to be pushed to message sink end according to described pushing condition information to make described server.
Right further, the structural representation of the message dispensing device of another embodiment provided by the invention as shown in Figure 9, message dispensing device 80 comprises message generating module 800, pushing condition arranges module 802 and outside message transmission module 804, the first message reception module 806 and the second message reception module 808 can also be comprised, wherein
First message reception module 806, for after sending described message content and described pushing condition information in message transmission module 804 to server, receives the successful message of message push that described server returns; The successful message of described message push be described server when judging that described message sink end meets pushing condition according to described pushing condition information, after pushing described message content to described message sink end, the successful message of message push of generation.
Second message reception module 8008, for after sending described message content and described pushing condition information in message transmission module 804 to server, receives the message push failure that described server returns; Described message push failure be described server after judging that described message sink end does not meet pushing condition according to described pushing condition information, the successful message of message push of generation.
Will be understood that, message dispensing device 80 includes but not limited to other electronic equipments such as mobile terminal, panel computer, personal digital assistant, in message dispensing device 80, the function of each module may correspond to the specific implementation with reference to Fig. 3 embodiment in above-mentioned each embodiment of the method, repeats no more here.
Refer to Figure 10, Figure 10 is the structural representation of the server of another embodiment provided by the invention.Wherein, as shown in Figure 10, this server 100 can comprise: at least one processor 1201, such as CPU, at least one network interface 1003, memory 1004, at least one communication bus 1002.Wherein, communication bus 1002 is for realizing the connection communication between these assemblies.Memory 1004 can be high-speed RAM memory, also can be non-labile memory (non-volatile memory), such as at least one magnetic disc store.Memory 1004 can also be optionally that at least one is positioned at the storage device away from aforementioned processor 1001.As shown in Figure 10, as comprising operating system, network communication module and information transmission processing program in a kind of memory 1004 of computer-readable storage medium.
In the server 100 shown in Figure 10, network interface 1003 is mainly used in connection message transmitting terminal and message sink end also carries out data communication with it; And processor 1001 may be used for calling the information transmission processing program stored in memory 1004, and perform following operation:
The message content that receipt message transmitting terminal sends;
When getting the pushing condition information for described message content, then judge whether described message content to be pushed to message sink end according to described pushing condition information; Described pushing condition information is used to indicate the pushing condition pushing described message content;
When judging that described message sink end meets pushing condition according to described pushing condition information, described message content is pushed to described message sink end.
Further, described pushing condition comprises the behavior condition of described message sink end; According to described pushing condition information, what processor 1001 performed judges whether that described message content is pushed to message sink end to be comprised:
Obtain the behavior record of described message sink end;
Judge whether described behavior record meets the behavior condition in described pushing condition;
When judging the behavior condition that described behavior record meets in described pushing condition, then judge that described message sink end meets pushing condition.
Again further, while the message content that processor 1001 sends at described receipt message transmitting terminal, the pushing condition information for described message content that described message sending end sends is got.
Again further, processor 1001 also comprises before obtaining the behavior record of described message sink end:
Collect the behavior record of described message sink end in website, and preserve described behavior record.
Again further, processor 1001 also comprises after judging whether that described message content is pushed to message sink end according to described pushing condition information:
When judging that described message sink end does not meet pushing condition according to described pushing condition information, then temporary described message content, repeats the described step judging whether described message content to be pushed to according to described pushing condition information message sink end after the first time period preset.
Again further, processor 1001 also comprises after described message content is pushed to described message sink end:
The successful message of message push is sent to described message sending end.
Again further, after described message content kept in by processor 1001, can also comprise:
After second time period of presetting, send message push failure to described message sending end.
It should be noted that, the step that processor 1001 performs with reference to the specific implementation in above-mentioned Fig. 1 to Fig. 2 embodiment of the method, can repeat no more here.
Refer to Figure 11, Figure 11 is the structural representation of the message dispensing device of another embodiment provided by the invention.Wherein, as shown in figure 11, message dispensing device 110 can comprise: at least one processor 1101, such as CPU, at least one network interface 1104, user interface 1103, memory 1105, at least one communication bus 1102 and display screen 1106.Wherein, communication bus 1102 is for realizing the connection communication between these assemblies.Wherein, user interface 1103 can comprise display screen (Display), and optional user interface 1103 can also comprise wireline interface, the wave point of standard.Network interface 1104 optionally can comprise wireline interface, the wave point (as WI-FI interface) of standard.Memory 1105 can be high-speed RAM memory, also can be non-labile memory (non-volatile memory), such as at least one magnetic disc store.Memory 1105 can also be optionally that at least one is positioned at the storage system away from aforementioned processor 1101.As shown in figure 11, as comprising operating system, network communication module, Subscriber Interface Module SIM and message transmission processing program in a kind of memory 1105 of computer-readable storage medium.
In the message dispensing device 110 shown in Figure 11, network interface 1104 is mainly used in connection server, carries out data communication with server; And processor 1101 may be used for calling the time series forecasting program stored in memory 1105, and perform following operation:
According to the information generating messages content of input;
For described message content, pushing condition information is set; Described pushing condition information is used to indicate the pushing condition of message content described in server push;
Send described message content and described pushing condition information to server, judge whether described message content to be pushed to message sink end according to described pushing condition information to make described server.
Further, processor 1101, to after server sends described message content and described pushing condition information, also comprises:
Receive the successful message of message push that described server returns; The successful message of described message push be described server when judging that described message sink end meets pushing condition according to described pushing condition information, after pushing described message content to described message sink end, the successful message of message push of generation.
Further, processor 1101, to after server sends described message content and described pushing condition information, also comprises:
Receive the message push failure that described server returns; Described message push failure be described server after judging that described message sink end does not meet pushing condition according to described pushing condition information, the successful message of message push of generation.
It should be noted that, the step that processor 1101 performs with reference to the specific implementation in above-mentioned Fig. 3 embodiment of the method, can repeat no more here.
Further, the structural representation of message transmission system provided by the invention as shown in Figure 12, message transmission system comprises message sending end 1200, message sink end 1202 and server 1204, wherein
Server 1204 can be the server 40 in any one embodiment of above-mentioned Fig. 4 to Fig. 7, or server 100 in Figure 10 embodiment;
Message sending end 1200 can be the message dispensing device 80 in any one embodiment of above-mentioned Fig. 8 and Fig. 9, or the message dispensing device 110 in Figure 11 embodiment; Here repeat no more.
Will be understood that, message transmission system can comprise multiple message sending end 1200, multiple message sink end 1202 and multiple server 1204.
In sum, implement the embodiment of the present invention, when server gets the pushing condition information for message content, judge whether message content to be pushed to message sink end according to this pushing condition information, and when message sink end meets pushing condition, this message content is just pushed to message sink end by server, solve in prior art for special screne or self special demands, user can not send the technical problem of message efficiently and easily, achieve the pushing condition arranged according to user and send message content, greatly can strengthen the message sending function of social intercourse system, more be convenient to the transmission that user carries out message.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.