CN104917665A - Method of processing instant messages, message server, terminal and system - Google Patents

Method of processing instant messages, message server, terminal and system Download PDF

Info

Publication number
CN104917665A
CN104917665A CN201410091088.2A CN201410091088A CN104917665A CN 104917665 A CN104917665 A CN 104917665A CN 201410091088 A CN201410091088 A CN 201410091088A CN 104917665 A CN104917665 A CN 104917665A
Authority
CN
China
Prior art keywords
terminal
message
instant message
identification information
message server
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
CN201410091088.2A
Other languages
Chinese (zh)
Other versions
CN104917665B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201410091088.2A priority Critical patent/CN104917665B/en
Priority to PCT/CN2014/094513 priority patent/WO2015135358A1/en
Publication of CN104917665A publication Critical patent/CN104917665A/en
Application granted granted Critical
Publication of CN104917665B publication Critical patent/CN104917665B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/214Monitoring or handling of messages using selective forwarding

Abstract

The embodiment of the invention relates to a method for processing instant messages, a message server, a terminal and a system. The method includes the following steps that: the message server receives a first subscription message which indicates the subscription of the services of a second terminal by a first terminal and is transmitted by the first terminal, wherein the first subscription message includes a first service subscription rule, wherein the first service subscription rule includes identification information of the first terminal and identification information of the second terminal; when receiving an instant message of communication between the second terminal and a third terminal, the message server performs replication processing on the instant message according to the identification information of the second terminal; and the message server transmits the replicated instant message to the first terminal according to the identification information of the first terminal.

Description

Process the method for instant message, message server, terminal and system
Technical field
The present invention relates to communication technique field, particularly relate to a kind of method, message server, terminal and the system that process instant message.
Background technology
Along with the fast development of intelligent terminal is with universal, user uses multiple terminal access to apply (such as simultaneously, instant messaging (Instant Mes senger, be called for short: IM)) phenomenon become more and more general, such as, user wishes that multiple terminal can conduct interviews to IM application simultaneously, and obtains consistent IM content over multiple terminals.
In prior art solutions, message server is by being configured the login mode of multiple terminal, the account of multiple terminal and same user are bound, when user use one of them terminal send IM message or other users send IM message to this terminal time, message server sends this IM message according to binding relationship to other terminal of this user.But, in prior art, the mode of synchronization of access content also exposes following problem: technical scheme of the prior art, after needing administrative staff formerly the account of multiple terminal and same user to be bound, the terminal that just can realize to multiple binding sends IM message, otherwise, in the follow-up transmission carrying out IM message, administrative staff's extra work amount cannot be this solution increases, also make prior art binding mode inflexible, dumb, be unfavorable for the universal of scheme.
Summary of the invention
Embodiments provide a kind of method, message server, terminal and the system that process instant message, solve prior art binding mode inflexible, dumb, be unfavorable for the universal problem of scheme.
In first aspect, embodiments provide a kind of method processing instant message, described method comprises:
The first subscribe message that the business of described first terminal to the second terminal that message server receives first terminal transmission is subscribed to, described first subscribe message comprises the first service subscribing rule, and described first service subscribing rule comprises the identification information of described first terminal and the identification information of described second terminal;
According to the identification information of described second terminal, described instant message, when receiving described second terminal and carrying out with third terminal the instant message communicated, is carried out replication processes by described message server;
According to the identification information of described first terminal, described message server sends the described instant message copied to described first terminal.
In the implementation that the first is possible, comprise before the first subscribe message that the business of described first terminal to the second terminal that described message server receives first terminal transmission is subscribed to:
Described message server receives the subscription authorization messages that described second terminal sends, described subscription authorization messages comprises authorization rule, and described authorization rule comprises the authorized identification information of terminal and the identification information of described second terminal of subscribing to described second terminal traffic;
Also comprise after the first subscribe message that the business of described first terminal to the second terminal that described message server receives first terminal transmission is subscribed to:
Described message server judges whether the identification information of described first terminal is included in the identification information of the described terminal that described authorization rule comprises;
If the identification information of described first terminal is included in the identification information of described terminal, then described message server determines that described first terminal is authorized terminal of subscribing to described second terminal traffic;
Described instant message is carried out replication processes when receiving described second terminal and carrying out with third terminal the instant message communicated and specifically comprises by described message server:
According to described authorization rule, described message server, when determining that first terminal described in described second authorization terminal subscribes to the business of described second terminal, carries out replication processes to described instant message.
In the implementation that the second is possible, described first service subscribing rule also comprises the indication information being used to indicate and subscribing to the instant message that described second terminal sends or receives;
Also comprise after the first subscribe message that the business of described first terminal to the second terminal that described message server receives first terminal transmission is subscribed to:
According to described indication information, the instant message that described second terminal that what described message server determined that described first terminal subscribes to is sends or the instant message that described second terminal receives;
Described instant message is carried out replication processes when receiving described second terminal and carrying out with third terminal the instant message communicated and specifically comprises by described message server:
If what described message server determined that described first terminal subscribes to is the instant message that described second terminal sends, then the instant message that described second terminal sends to described third terminal is carried out replication processes by described message server;
If what described message server determined that described first terminal subscribes to is the instant message that described second terminal receives, then the instant message that the described third terminal that described second terminal receives sends is carried out replication processes by described message server.
In the implementation that the third is possible, described method also comprises:
The second subscribe message that the business of described memory device to the terminal that described message server receives that described message server receives memory device transmission is subscribed to, described second subscribe message comprises the second service subscribing rule, and described second service subscribing rule comprises the identification information of terminal and the identification information of described memory device of the subscription of described memory device;
According to the identification information of described terminal, described instant message, when receiving described terminal and carrying out with another terminal the instant message communicated, is carried out replication processes by described message server;
According to the identification information of described memory device, described message server sends the described instant message copied to described memory device, is stored by the described instant message copied to make described memory device.
In second aspect, embodiments provide a kind of method processing instant message, described method comprises:
First terminal generates the subscribe message being used for the business of described first terminal to the second terminal and subscribing to;
Described first terminal sends described subscribe message to message server;
Described first terminal receives the instant message that described second terminal that described message server receives according to the described message server that described subscribe message sends and third terminal carry out communicating.
In the implementation that the first is possible, described subscribe message also comprises the indication information being used to indicate and subscribing to the instant message that described second terminal sends or receives;
Described indication information for making described message server determine, subscribe to is the instant message that the instant message that sends of described second terminal or described second terminal receive by described first terminal;
Described first terminal receives described second terminal that described message server receives according to the described message server that described subscribe message sends and specifically comprises with the instant message that third terminal carries out communicating:
Described first terminal receives the instant message that described message server sends according to described second terminal that the described message server that described indication information sends receives, or;
Described first terminal receives the instant message that described message server receives according to described second terminal that the described message server that described indication information sends receives.
In the third aspect, embodiments provide a kind of message server, described message server comprises:
Receiving element, the first subscribe message that the business of described first terminal to the second terminal sent for receiving first terminal is subscribed to, described first subscribe message comprises the first service subscribing rule, described first service subscribing rule comprises the identification information of first terminal and the identification information of described second terminal, and the identification information of described first terminal is transferred to transmitting element, the identification information of the second terminal is transferred to copied cells;
Copied cells, for receiving the identification information of described second terminal from described receiving element, according to the identification information of described second terminal, when receiving described second terminal and carrying out with third terminal the instant message communicated, described instant message is carried out replication processes;
Transmitting element, for receiving the identification information of described first terminal from described receiving element, according to the identification information of described first terminal, sends the described instant message copied to described first terminal.
In the implementation that the first is possible, described receiving element also for, receive the subscription authorization messages that described second terminal sends, described subscription authorization messages comprises authorization rule, and described authorization rule comprises the authorized identification information of terminal and the identification information of described second terminal of subscribing to described second terminal traffic;
Described message server also comprises: judging unit, for judging whether the identification information of described first terminal is included in the identification information of the described terminal that described authorization rule comprises;
First determining unit, if be included in the identification information of described terminal for the identification information of described first terminal, then determines that described first terminal is authorized terminal of subscribing to described second terminal traffic;
Described copied cells specifically for, according to described service authorization rule, when determining that first terminal described in described second authorization terminal subscribes to the business of described second terminal, replication processes is carried out to described instant message.
In the implementation that the second is possible, the described first service subscribing rule that described receiving element receives also comprises the indication information being used to indicate and subscribing to the instant message that described second terminal sends or receives;
Described message server also comprises: the second determining unit, and for according to described indication information, what determine that described first terminal subscribes to is the instant message that the instant message that sends of described second terminal or described second terminal receive;
Described copied cells specifically for, described second determining unit determine that described first terminal subscribes to be described second terminal send instant message time, the instant message that described second terminal sends to described third terminal is carried out replication processes;
Described second determining unit determine that described first terminal subscribes to be described second terminal receive instant message time, the instant message that the described third terminal that described second terminal receives sends is carried out replication processes.
In the implementation that the third is possible, described receiving element also for, the second subscribe message that the described memory device receiving memory device transmission is subscribed to the business of terminal in described message server, described second subscribe message comprises the second service subscribing rule, and described second service subscribing rule comprises the identification information of terminal and the identification information of described memory device of the subscription of described memory device;
Described copied cells also for, according to the identification information of described terminal, when receiving described terminal and carrying out with another terminal the instant message communicated, described instant message is carried out replication processes;
Described transmitting element also for, according to the identification information of described memory device, send the described instant message copied to described memory device, to make described memory device, the described instant message copied stored.
In fourth aspect, embodiments provide a kind of terminal, described terminal comprises:
Subscriber units, for generating the subscribe message of subscribing to for the business of described first terminal to the second terminal, and transfers to transmitting element by described subscribe message;
Transmitting element, for receiving described subscribe message from described subscriber units, and sends described subscribe message to message server;
Receiving element, for receiving the instant message that described second terminal that described message server receives according to the described message server that described subscribe message sends and third terminal carry out communicating.
In the implementation that the first is possible, the described subscribe message that described subscriber units generates also comprises the indication information being used to indicate and subscribing to the instant message that described first terminal sends or receives;
Described indication information is the instant message of described first terminal transmission or the instant message of described first terminal reception for what make described message server determine described terminal subscribes;
Described receiving element specifically for, receive the instant message that described message server sends according to the described first terminal that the described message server that described indication information sends receives, or;
Receive the instant message that described message server receives according to the described first terminal that the described message server that described indication information sends receives.
In the 5th, the embodiment of the present invention additionally provides a kind of system processing instant message, and described system comprises: the message server as described in the third aspect and the terminal as described in fourth aspect.
In the implementation that the first is possible, described system also comprises: subscribed terminal, and described subscribed terminal is specially the terminal of being subscribed to by described terminal carrying out service.
Therefore, by the method for the process instant message that provides of the application embodiment of the present invention, message server, terminal and system, the first service subscribing rule that message server sends according to first terminal, determine that the business of first terminal to the second terminal is subscribed to, and when receiving the second terminal and carrying out with third terminal the instant message communicated, instant message is processed, sends the instant message copied to first terminal.Because instant message carries out copying rear transmission by message server, solve prior art binding mode inflexible, dumb, be unfavorable for the universal problem of scheme.Scheme provided by the invention, decreases administrative staff's extra work amount, makes message server no longer according to the binding of administrative staff, can process instant message neatly.
Accompanying drawing explanation
The method flow diagram of the process instant message that Fig. 1 provides for the embodiment of the present invention one;
The method flow diagram of the process instant message that Fig. 2 provides for the embodiment of the present invention two;
A kind of message server structural representation that Fig. 3 provides for the embodiment of the present invention three;
The another kind of message server structural representation that Fig. 4 provides for the embodiment of the present invention three;
Another message server structural representation that Fig. 5 provides for the embodiment of the present invention three;
The terminal structure schematic diagram that Fig. 6 provides for the embodiment of the present invention four;
The message server hardware configuration schematic diagram that Fig. 7 provides for the embodiment of the present invention five;
The terminal hardware structural representation that Fig. 8 provides for the embodiment of the present invention six;
The system schematic of the process instant message that Fig. 9 provides for the embodiment of the present invention seven.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is 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.
For ease of the understanding to the embodiment of the present invention, be further explained explanation below in conjunction with accompanying drawing with specific embodiment, embodiment does not form the restriction to the embodiment of the present invention.
Embodiment one
Describe the method for the process instant message that the embodiment of the present invention one provides below in detail for Fig. 1, the method flow diagram of the process instant message that Fig. 1 provides for the embodiment of the present invention one, subject of implementation is message server in embodiments of the present invention.As shown in Figure 1, this embodiment specifically comprises the following steps:
The first subscribe message that the business of described first terminal to the second terminal that step 110, message server receive first terminal transmission is subscribed to, described first subscribe message comprises the first service subscribing rule, and described first service subscribing rule comprises the identification information of first terminal and the identification information of described second terminal.
Particularly, when first terminal prepares the business of subscription second terminal, first terminal sends the first subscribe message to message server, described first subscribe message comprises the first service subscribing rule, and described first service subscribing rule comprises the identification information of first terminal and the identification information of the second terminal.
Message server receives the first subscribe message, according to the identification information of the first terminal comprised and the identification information of the second terminal, determines that the business of first terminal to the second terminal is subscribed to.
Further, in embodiments of the present invention, the first service subscribing rule is carried in the first subscribe message with the form of message.Wherein, the first service subscribing rule, except comprising the identification information of first terminal, the second terminal, also comprises the indication information being used to indicate the instant message that subscription second terminal sends or receives.
As shown in following message body.
Such as, in above-mentioned message body ,+865516001031 is the number of subscribed user terminal, namely the second terminal; + 865516001030 is the number of the user terminal of subscribing service, that is to say first terminal.
In above-mentioned message body, described indication information is specially register-user-service-rule, and it is a root element, and indication information realizes by subscribing service type information, can associate the type that one or more are subscribed to below this root element.Further, subscribing service type information comprises: for representing the element whether subscribing to the message that subscribed user terminal sends, for representing the element whether subscribing to the message that subscribed user terminal receives; For represent whether subscribe to the message that subscribed user terminal sends element in, subscribe=false represents and does not subscribe to, and subscribe=true represents subscription; In the element for representing the message of whether subscribing to subscribed user terminal reception, subscribe=false represents and does not subscribe to, subscribe=true represents subscription, wherein, the element selecting receive mode is also being comprised for representing whether to subscribe in message element that subscribed user terminal receives, dispatch=random represents that subscribing to the message received receives for random, and dispatch=a11 represents that the message of subscribing to and receiving is for all receiving.
In above-mentioned message body, also comprise subscription temporal information, as 3600; This temporal information is for arranging the effective time of subscribing service, and when the time of first terminal subscribing service exceedes this effective time, then it is invalid to subscribe to.
In above-mentioned message body, also comprise and subscribe to designated terminal information, this subscription designated terminal information does not limit the number of designated terminal.Such as, pair-user uri=sip:ppp@im.x.com/ allows to subscribe to multiple designated terminal simultaneously.
It should be noted that, if the first service subscribing rule comprises the identification information of the second terminal, then message server determination first terminal subscribes to the business of designated terminal, receives the instant message of designated terminal, otherwise message server determination first terminal will receive the instant message of whole terminal.
In embodiments of the present invention, first terminal, the second terminal can be specially PC, smart mobile phone, PAD etc.The number of described first terminal, the second terminal is at least 1.Wherein, first terminal and the second terminal also can be the terminal belonging to same user, or belong to the terminal of different user.
By above-mentioned message body, the business of first terminal to the second terminal is subscribed to.
Further, when described first service subscribing rule comprises indication information, also comprise according to indication information after this step, the instant message that the second terminal that what message server determination first terminal was subscribed to is sends or the step of instant message that the second terminal receives.
Particularly, in embodiments of the present invention, if for representing that the element whether subscribing to the message that subscribed user terminal sends is subscribe=true in above-mentioned message body, for representing that the element whether subscribing to the message that subscribed user terminal receives is subscribe=false, then what message server determination first terminal was subscribed to is the instant message that the second terminal sends; If for representing that the element whether subscribing to the message that subscribed user terminal receives is subscribe=true in above-mentioned message body, for identifying, whether to subscribe to the message element that subscribed user terminal sends be subscribe=false, then what message server determination first terminal was subscribed to is the instant message that the second terminal receives; If for representing that the element whether subscribing to the message that subscribed user terminal receives is subscr ibe=true in above-mentioned message body, for representing that the element whether subscribing to the message that subscribed user terminal sends is subscribe=true, then what message server determination first terminal was subscribed to is the instant message that the second terminal receives, sends.
Step 120, identification information according to described second terminal, described instant message is carried out replication processes when described second terminal sends or receives instant message by described message server.
Particularly, message server obtains the identification information of the second terminal from the first service subscribing rule, determine that the business of first terminal to the second terminal is subscribed to, instant message is carried out replication processes when the second terminal sends or receive instant message by message server.
Described instant message specifically comprises word or figure or multimedia messages etc.
Further, when the first service subscribing rule received in step 110 comprises indication information, described instant message is carried out replication processes when receiving described second terminal and carrying out with third terminal the instant message communicated and specifically comprises by described message server:
If what message server determination first terminal was subscribed to is the instant message that the second terminal sends, then the instant message that the second terminal sends to third terminal is carried out replication processes by message server;
If what message server determination first terminal was subscribed to is the instant message that the second terminal receives, then the instant message that the third terminal that the second terminal receives by message server sends carries out replication processes.
Particularly, if the subscription of message server determination first terminal is the instant message that the second terminal sends, then the instant message that the second terminal sends to third terminal is carried out replication processes by message server; If what message server determination first terminal was subscribed to is the instant message that the second terminal receives, then the instant message that the third terminal that the second terminal receives by message server sends carries out replication processes; If what message server determination first terminal was subscribed to is the instant message that the second terminal sends, receives, then the instant message that the second terminal and third terminal carry out sending, receiving is carried out replication processes by message server;
Step 130, identification information according to described first terminal, described message server sends the described instant message copied to described first terminal.
Particularly, message server obtains the identification information of first terminal from the first service subscribing rule, according to the first identification information, sends the instant message copied to first terminal.That is to say, message server sends the instant message of the second terminal of subscribed business to the first terminal of subscribing service, and then realize message server and no longer the account of multiple terminal and user are bound, namely can be multiple terminal synchronizes and the content obtaining access is provided.
Alternatively, before embodiment of the present invention step 110, also comprise the subscription authorization messages that message server receives the second terminal transmission, by this message, message server can be made to determine the terminal be authorized to, and when authorized terminal sends subscribe message, send the instant message of authorization terminal to authorized terminal.Achieve message server no longer to bind the account of multiple terminal and user, namely can be multiple terminal synchronizes and the content obtaining access is provided.Concrete steps are as follows:
Described message server receives the subscription authorization messages that the second terminal sends, described subscription authorization messages comprises authorization rule, described authorization rule comprises the authorized identification information of terminal and the identification information of described second terminal of subscribing to described second terminal traffic, determines by the terminal of described second authorization terminal for making described message server.
Particularly, when the second terminal wishes that the business of terminal to the second terminal is subscribed to, second terminal sends to message server and subscribes to authorization messages, described subscription authorization messages comprises authorization rule, described authorization rule comprises the identification information of terminal and the identification information of the second terminal of authorized subscription second terminal traffic, with the terminal making message server determine the second authorization terminal.
As shown in following message body.
Such as, in above-mentioned message body ,+865516001031 is the number of authorized user terminal, namely terminal; + 865516001030, for having the number of the user terminal of authorization privilege, that is to say the second terminal.
In above-mentioned message body, also comprise indication information, this indication information is identical with the indication information described in abovementioned steps 110, no longer repeats at this.
Further, in above-mentioned message body, also comprise and subscribe to temporal information, subscribe to designated terminal information etc., this subscription temporal information, subscribe to designated terminal information also with the subscription temporal information described in step 110, to subscribe to designated terminal information identical, no longer repeat at this.Alternatively, after embodiment of the present invention step 110, further comprising the steps of:
Described message server judges whether the identification information of described first terminal is included in the identification information of the described terminal that described authorization rule comprises;
If the identification information of described first terminal is included in the identification information of described terminal, then described message server determines that described first terminal is authorized terminal of subscribing to described second terminal traffic.
Particularly, message server is according to authorization rule, determine by the second authorization terminal, after subscribing to the terminal of the second terminal traffic, when message server receives the first subscribe message of first terminal transmission, message server obtains the first service subscribing rule from the first subscribe message, and from the first service subscribing rule, obtain the flag information of first terminal and the identification information of the second terminal, message server judges whether the identification information of first terminal is included in the identification information of the terminal that authorization rule comprises, if the identification information of first terminal is included in the identification information of terminal, then message server determination first terminal is the terminal of authorized subscription second terminal traffic.
Message server, according to authorization rule, when determining that the second authorization terminal first terminal subscribes to the business of the second terminal, carries out replication processes to instant message.
Alternatively, before embodiment of the present invention step 120, also comprise the step that message server sends a notification message to first terminal, by this step, first terminal can be made to confirm to subscribe to the business of the second terminal, and when the second terminal sends or receive instant message, receive the instant message that the second terminal sends or receives.Concrete steps are as follows:
Described message server sends a notification message to described first terminal, and described notification message confirms to subscribe to the business of described second terminal for making described first terminal.
Particularly, message server is according to the first service subscribing rule, or authorization rule, after determining the first terminal that the business of the second terminal is subscribed to, message server generates and sends a notification message to first terminal, and described notification message confirms to subscribe to the business of the second terminal for making first terminal.
Alternatively, the embodiment of the present invention also comprises the second subscribe message that message server sends according to memory device, the instant message of terminal in its message server subscribed to is sent to memory device, that is to say that the instant message of terminal is copied rear unloading in memory device by message server, by this step, both can realize the flexible customization of instant message, also can realize the flexible storage of instant message.Concrete steps are as follows:
The second subscribe message that the business of described memory device to the terminal that described message server receives that described message server receives memory device transmission is subscribed to, described second subscribe message comprises the second service subscribing rule, and described second service subscribing rule comprises the identification information of terminal and the identification information of described memory device of the subscription of described memory device;
According to the identification information of described terminal, described instant message, when receiving described terminal and carrying out with another terminal the instant message communicated, is carried out replication processes by described message server;
According to the identification information of described memory device, described message server sends the described instant message copied to described memory device, is stored by the described instant message copied to make described memory device.
Particularly, memory device is survived the second subscribe message, described second subscribe message comprises the second service subscribing rule, described second service subscribing rule comprises the identification information of terminal and the identification information of memory device of memory device subscription, and described terminal is specially the terminal corresponding to instant message that message server receives.
Message server receives the second subscribe message, obtains the second subscription rules from the second subscribe message, and obtains the identification information of terminal from the second subscription rules, determines that the business of memory device to a certain terminal is subscribed to.
According to the identification information of the terminal obtained, message server is when receiving terminal and carrying out with another terminal the instant message communicated, and instant message is carried out replication processes by message server.
Message server, according to the identification information of memory device, sends the instant message copied to memory device, stored by the instant message copied to make memory device.
In embodiments of the present invention, memory device also can carry out dilatation process, newly-increased memory device also can send the second subscribe message to message server, and the instant message copied also according to the distribution rules preset, can send to newly-increased memory device by message server.
Described distribution rules, is specially and is preset by message server, to be stored in respectively in different memory devices by the instant message of different terminals.
In embodiments of the present invention, when memory device breaks down, or time expired to the service subscribing of terminal, message server no longer sends the instant message copied to memory device.
Alternatively, after embodiment of the present invention step 110, also comprise message server carries out authentication step to the subscribe message received.By this step, message server processes the subscribe message by authentication, is not carrying out subsequent treatment to the subscribe message not by authentication.
Particularly, message server sends authentication message to first terminal, and first terminal determination message server is carrying out authentication process to the first subscribe message.First terminal sends authorization data to message server, and described authorization data is specially the data of proof first subscribe message legitimacy.Message server, according to the authorization data received, identifies whether the first subscribe message is legal subscribe message.When message server determines that the first subscribe message is legal subscribe message, message server sends acknowledge message to first terminal, and to inform first terminal, its first subscribe message sent is by authentication, and message server continues to perform subsequent step.
Alternatively, the embodiment of the present invention also comprises the step that message server receives the releasing subscribe message that first terminal sends.By this step, first terminal can be made no longer to subscribe to the instant message of the second terminal.
Particularly, first terminal sends to message server and removes subscribe message.Message server is no longer subscribed to the second terminal traffic according to releasing subscribe message determination first terminal.
Therefore, the method of the process instant message provided by the application embodiment of the present invention, the first service subscribing rule that message server sends according to first terminal, determine that the business of first terminal to the second terminal is subscribed to, and when receiving the second terminal and carrying out with third terminal the instant message communicated, instant message is processed, sends the instant message copied to first terminal.Because instant message carries out copying rear transmission by message server, solve prior art binding mode inflexible, dumb, be unfavorable for the universal problem of scheme.Scheme provided by the invention, decreases administrative staff's extra work amount, makes message server no longer according to the binding of administrative staff, can process instant message neatly.
It should be noted that the method for the process business subscribe message that previous embodiment provides can be used for but not limit for following multiple scene.Such as, scene 1, user has multiple terminal (such as, PC, PAD, mobile phone), user use a certain terminal use instant messaging time, other-end can be utilized to subscribe to the business of this terminal, as, subscribe to the message that this terminal receives, when the terminal of other users transfers immediate news to this terminal, the other-end of this user can synchronously receive these instant messages; Scene 2, supervisor goes on business, and ites is desirable to be processed routine work by secretary.Supervisor uses first terminal to arrange authorization rule, and authorizes the business of secretary to first terminal to subscribe to.Secretary uses the business of the second terminal to first terminal to subscribe to, as, the message that secretary uses the second terminal subscribes first terminal to receive, when the terminal of other clients transfers immediate news to the first terminal that supervisor uses, the second terminal that secretary uses receives this instant message, and processes instant message.Supervisor uses first terminal still can obtain the progress of instant message process; Scene 3, a certain company provides a hot line number to user, this hot line number is the service calls of company, several contact staff utilizes attending a banquet of use to subscribe to the instant message of this hot line number reception, when the terminal of user transfers immediate news to service calls, contact staff uses to attend a banquet and receives this instant message, and processes instant message; Scene 4, system manager uses the business of attending a banquet of a certain contact staff of terminal subscribes, as, system manager use terminal attend a banquet reception, send message, the externally terminal of attending a banquet used as contact staff transfers immediate news, or contact staff use attend a banquet receive exterior terminal send instant message time, system manager uses terminal all can receive this instant message so that system manager according to receive the service quality of instant message to contact staff check; Scene 5, in classroom, teacher uses first terminal to use instant messaging, the business of the first terminal that several student uses the second terminal subscribes teacher to use, as the message that student uses the second terminal subscribes teacher to use first terminal to send, when first terminal is to when transferring immediate news to the second terminal, the second terminal that student uses synchronously can receive instant message, carries out racing to be the first to answer a question interaction.
Embodiment two
For ease of the understanding to the embodiment of the present invention, be further explained explanation below in conjunction with accompanying drawing with specific embodiment, embodiment does not form the restriction to the embodiment of the present invention.
Describe the method for the process instant message that the embodiment of the present invention two provides below in detail for Fig. 2, the method flow diagram of the process instant message that Fig. 2 provides for the embodiment of the present invention two, subject of implementation is first terminal in embodiments of the present invention.As shown in Figure 2, this embodiment specifically comprises the following steps:
Step 210, first terminal generate the subscribe message being used for the business of described first terminal to the second terminal and subscribing to.
Particularly, when first terminal prepares the business of subscription second terminal, first terminal generates the subscribe message being used for subscribing to the business of the second terminal.Described subscribe message comprises service subscribing rule, and described service subscribing rule comprises the identification information of first terminal and the identification information of the second terminal.
Further, the specific implementation form of described service subscribing rule describes in detail in previous embodiment one, no longer repeats at this.
Step 220, first terminal send described subscribe message to message server.
Step 230, described first terminal receive the instant message that described second terminal that described message server receives according to the described message server that described subscribe message sends and third terminal carry out communicating.
Particularly, message server obtains the identification information of the second terminal from business subscription rules, determines that the business of first terminal to the second terminal is subscribed to, and instant message is carried out replication processes when the second terminal sends or receive instant message by message server.
Message server, according to the identification information of first terminal, sends the instant message copied to first terminal.
Alternatively, described subscribe message also comprises the indication information being used to indicate the instant message that subscription second terminal sends or receives;
Described indication information is the instant message of the second terminal transmission or the instant message of the second terminal reception for what make message server determination first terminal subscribe to;
Described first terminal receives described second terminal that described message server receives according to the described message server that described subscribe message sends and specifically comprises with the instant message that third terminal carries out communicating:
The instant message that the second terminal that first terminal receipt message server receives according to the message server that indication information sends sends, or; The instant message that the second terminal that first terminal receipt message server receives according to the message server that indication information sends receives.
Therefore, the method of the process instant message provided by the application embodiment of the present invention, the service subscribing rule that message server sends according to first terminal, determine that the business of first terminal to the second terminal is subscribed to, and when receiving the second terminal and carrying out with third terminal the instant message communicated, instant message is processed, sends the instant message copied to first terminal.Because instant message carries out copying rear transmission by message server, solve prior art binding mode inflexible, dumb, be unfavorable for the universal problem of scheme.Scheme provided by the invention, decreases administrative staff's extra work amount, makes message server no longer according to the binding of administrative staff, can process instant message neatly.
Embodiment three
Correspondingly, the embodiment of the present invention additionally provides a kind of message server, its implementation structure as shown in Figure 3, for realizing the method for the process instant message in previous embodiment of the present invention.Described message server comprises with lower unit: receiving element 310, copied cells 320 and transmitting element 330.
The receiving element 310 that described message server comprises, the first subscribe message that the business of described first terminal to the second terminal sent for receiving first terminal is subscribed to, described first subscribe message comprises the first service subscribing rule, described first service subscribing rule comprises the identification information of first terminal and the identification information of described second terminal, and the identification information of described first terminal is transferred to transmitting element, the identification information of the second terminal is transferred to copied cells;
Copied cells 320, for receiving the identification information of described second terminal from described receiving element, according to the identification information of described second terminal, when receiving described second terminal and carrying out with third terminal the instant message communicated, described instant message is carried out replication processes;
Transmitting element 330, for receiving the identification information of described first terminal from described receiving element, according to the identification information of described first terminal, sends the described instant message copied to described first terminal.
Described reception single 310 also for, receive the subscription authorization messages that described second terminal sends, described subscription authorization messages comprises authorization rule, and described authorization rule comprises the authorized identification information of terminal and the identification information of described second terminal of subscribing to described second terminal traffic.
Further, as shown in Figure 4, described message server also comprises: judging unit 410, for judging whether the identification information of described first terminal is included in the identification information of the described terminal that described authorization rule comprises;
First determining unit 420, if be included in the identification information of described terminal for the identification information of described first terminal, then determines that described first terminal is authorized terminal of subscribing to described second terminal traffic;
Described copied cells 320 specifically for, according to described service authorization rule, when determining that first terminal described in described second authorization terminal subscribes to the business of described second terminal, replication processes is carried out to described instant message.
The described first service subscribing rule that described receiving element 310 receives also comprises the indication information being used to indicate and subscribing to the instant message that described second terminal sends or receives;
Further, as shown in Figure 5, described message server also comprises: the second determining unit 510, and for according to described indication information, what determine that described first terminal subscribes to is the instant message that the instant message that sends of described second terminal or described second terminal receive;
Described copied cells 320 specifically for, described second determining unit 510 determine that described first terminal subscribes to be described second terminal send instant message time, the instant message that described second terminal sends to described third terminal is carried out replication processes;
Described second determining unit 510 determine that described first terminal subscribes to be described second terminal receive instant message time, the instant message that the described third terminal that described second terminal receives sends is carried out replication processes.
Described receiving element 310 also for, the second subscribe message that the described memory device receiving memory device transmission is subscribed to the business of terminal in described message server, described second subscribe message comprises the second service subscribing rule, and described second service subscribing rule comprises the identification information of terminal and the identification information of described memory device of the subscription of described memory device;
Described copied cells 320 also for, according to the identification information of described terminal, when receiving described terminal and carrying out with another terminal the instant message communicated, described instant message is carried out replication processes;
Described transmitting element 330 also for, according to the identification information of described memory device, send the described industry instant message copied to described memory device, to make described memory device, the described instant message copied stored.
Therefore, by the message server that the application embodiment of the present invention provides, the first service subscribing rule that message server sends according to first terminal, determine that the business of first terminal to the second terminal is subscribed to, and when receiving the second terminal and carrying out with third terminal the instant message communicated, instant message is processed, sends the instant message copied to first terminal.Because instant message carries out copying rear transmission by message server, solve prior art binding mode inflexible, dumb, be unfavorable for the universal problem of scheme.Scheme provided by the invention, decreases administrative staff's extra work amount, makes message server no longer according to the binding of administrative staff, can process instant message neatly.
Embodiment four
Correspondingly, the embodiment of the present invention additionally provides a kind of terminal organ, its implementation structure as shown in Figure 6, for realizing the method for the process instant message in previous embodiment of the present invention.Described terminal comprises with lower unit: subscriber units 610, transmitting element 620 and receiving element 630.
Described terminal comprises subscriber units 610, for generating the subscribe message of subscribing to for the business of described first terminal to the second terminal, and described subscribe message is transferred to transmitting element;
Transmitting element 620, for receiving described subscribe message from described subscriber units, and sends described subscribe message to message server;
Receiving element 630, for receiving the instant message that described second terminal that described message server receives according to the described message server that described subscribe message sends and third terminal carry out communicating.
The described subscribe message that described subscriber units 610 generates also comprises the indication information being used to indicate and subscribing to the instant message that described second terminal sends or receives;
Described indication information is the instant message of described first terminal transmission or the instant message of described first terminal reception for what make described message server determine described terminal subscribes;
Described receiving element 630 specifically for, receive the instant message that described message server sends according to the described first terminal that the described message server that described indication information sends receives, or;
Receive the instant message that described message server receives according to the described first terminal that the described message server that described indication information sends receives.
Therefore, by the terminal that the application embodiment of the present invention provides, the service subscribing rule that message server sends according to terminal, determine that the business of terminal to first terminal is subscribed to, and when receiving first terminal and carrying out with the second terminal the instant message communicated, instant message is processed, sends the instant message copied to terminal.Because instant message carries out copying rear transmission by message server, solve prior art binding mode inflexible, dumb, be unfavorable for the universal problem of scheme.Scheme provided by the invention, decreases administrative staff's extra work amount, makes message server no longer according to the binding of administrative staff, can process instant message neatly
Embodiment five
In addition, the implementation that the message server that the embodiment of the present invention three provides can also adopt is as follows, in order to realize the method for the process instant message in the aforementioned embodiment of the present invention, as shown in Figure 7, described message server comprises: network interface 710, processor 720 and memory 730.System bus 740 is for interconnection network interface 710, processor 720 and memory 730.
Network interface 710 is for carrying out interactive communication with first terminal, the second terminal.
Memory 730 can be permanent memory, such as hard disk drive and flash memory, and memory 730 is for storing application program, and described application program comprises and can be used for processor 720 is accessed and perform as given an order:
The first subscribe message that the business of described first terminal to the second terminal receiving first terminal transmission is subscribed to, described first subscribe message comprises the first service subscribing rule, and described first service subscribing rule comprises the identification information of described first terminal and the identification information of described second terminal;
According to the identification information of described second terminal, when receiving described second terminal and carrying out with third terminal the instant message communicated, described instant message is carried out replication processes;
According to the identification information of described first terminal, send the described instant message copied to described first terminal.
Further, the application program that described memory 730 stores also comprises and can be used for making described processor 720 perform the instruction of following process:
Receive the subscription authorization messages that the second terminal sends, described subscription authorization messages comprises authorization rule, and described authorization rule comprises the authorized identification information of terminal and the identification information of described second terminal of subscribing to described second terminal traffic;
Further, the application program that described memory 730 stores also comprises and can be used for making described processor 720 perform the instruction of following process:
Judge whether the identification information of described first terminal is included in the identification information of the described terminal that described authorization rule comprises;
If the identification information of described first terminal is included in the identification information of described terminal, then determine that described first terminal is authorized terminal of subscribing to described second terminal traffic;
Further, the application program that described memory 730 stores can be used for making described processor 720 to perform being specially the instruction performing following process receiving instruction when described second terminal and third terminal carry out the instant message communicated, described instant message being carried out replication process:
According to described authorization rule, when determining that first terminal described in described second authorization terminal subscribes to the business of described second terminal, replication processes is carried out to described instant message.
Further, described first service subscribing rule also comprises the indication information being used to indicate and subscribing to the instant message that described second terminal sends or receives;
Further, the application program that described memory 730 stores also comprises and can be used for making described processor 720 perform the instruction of following process:
According to described indication information, what determine that described first terminal subscribes to is the instant message that the instant message that sends of described second terminal or described second terminal receive;
Further, the application program that described memory 730 stores can be used for making described processor 720 to perform being specially the instruction performing following process receiving instruction when described second terminal and third terminal carry out the instant message communicated, described instant message being carried out replication process:
If what determine that described first terminal subscribes to is the instant message that described second terminal sends, then the instant message that described second terminal sends to described third terminal is carried out replication processes;
If what determine that described first terminal subscribes to is the instant message that described second terminal receives, then the instant message that the described third terminal that described second terminal receives sends is carried out replication processes.
Further, the application program that described memory 730 stores also comprises and can be used for making described processor 720 perform the instruction of following process:
The second subscribe message that the business of described memory device to the terminal that described device receives receiving memory device transmission is subscribed to, described second subscribe message comprises the second service subscribing rule, and described second service subscribing rule comprises the identification information of terminal and the identification information of described memory device of the subscription of described memory device;
According to the identification information of described terminal, when receiving described terminal and carrying out with another terminal the instant message communicated, described instant message is carried out replication processes;
According to the identification information of described memory device, send the described instant message copied to described memory device, to make described memory device, the described instant message copied is stored.
Therefore, by the message server that the application embodiment of the present invention provides, the first service subscribing rule that message server sends according to first terminal, determine that the business of first terminal to the second terminal is subscribed to, and when receiving the second terminal and carrying out with third terminal the instant message communicated, instant message is processed, sends the instant message copied to first terminal.Because instant message carries out copying rear transmission by message server, solve prior art binding mode inflexible, dumb, be unfavorable for the universal problem of scheme.Scheme provided by the invention, decreases administrative staff's extra work amount, makes message server no longer according to the binding of administrative staff, can process instant message neatly.
Embodiment six
In addition, the implementation that the terminal that the embodiment of the present invention four provides can also adopt is as follows, in order to realize the method for the process instant message in the aforementioned embodiment of the present invention, as shown in Figure 8, described terminal comprises: network interface 810, processor 820 and memory 830.System bus 840 is for interconnection network interface 810, processor 820 and memory 830.
Network interface 810 is for carrying out interactive communication with message server.
Memory 830 can be permanent memory, such as hard disk drive and flash memory, and memory 830 is for storing application program, and described application program comprises and can be used for processor 820 is accessed and perform as given an order:
Generate the subscribe message being used for the business of described terminal to first terminal and subscribing to;
Described subscribe message is sent to message server;
Receive the instant message that described first terminal that described message server receives according to the described message server that described subscribe message sends and the second terminal carry out communicating.
Further, described subscribe message also comprises the indication information being used to indicate and subscribing to the instant message that described first terminal sends or receives;
Described indication information is the instant message of described first terminal transmission or the instant message of described first terminal reception for what make described message server determine described terminal subscribes;
Further, the described first terminal that the application program that described memory 830 stores can be used for the described message server of described processor 820 execution reception is received according to the described message server that described subscribe message sends is specially with the instruction that the second terminal carries out the instant message process communicated the instruction performing following process:
Receive the instant message that described message server sends according to the described first terminal that the described message server that described indication information sends receives, or;
Receive the instant message that described message server receives according to the described first terminal that the described message server that described indication information sends receives.
Therefore, by the terminal that the application embodiment of the present invention provides, the service subscribing rule that message server sends according to terminal, determine that the business of terminal to first terminal is subscribed to, and when receiving first terminal and carrying out with the second terminal the instant message communicated, instant message is processed, sends the instant message copied to terminal.Because instant message carries out copying rear transmission by message server, solve prior art binding mode inflexible, dumb, be unfavorable for the universal problem of scheme.Scheme provided by the invention, decreases administrative staff's extra work amount, makes message server no longer according to the binding of administrative staff, can process instant message neatly.
Embodiment seven
Correspondingly, embodiment of the present invention device seven additionally provides a kind of system processing instant message, and as shown in Figure 9, described system comprises, the message server that the embodiment of the present invention three provides and the terminal that the embodiment of the present invention four provides;
Or described system comprises: the message server that the embodiment of the present invention five provides and the terminal that the embodiment of the present invention six provides.
Further, described system also comprises: subscribed terminal, and described subscribed terminal is specially the terminal of being subscribed to by described terminal carrying out service.
In embodiments of the present invention, terminal, subscribed terminal can be specially PC, smart mobile phone, PAD etc.
Therefore, the system of the process instant message provided by the application embodiment of the present invention, the first service subscribing rule that message server sends according to terminal, determine that the business of terminal to subscribed terminal is subscribed to, and when receiving subscribed terminal and carrying out with another terminal the instant message communicated, instant message is processed, sends the instant message copied to terminal.Because instant message carries out copying rear transmission by message server, solve prior art binding mode inflexible, dumb, be unfavorable for the universal problem of scheme.Scheme provided by the invention, decreases administrative staff's extra work amount, makes message server no longer according to the binding of administrative staff, can process instant message neatly.
Professional should recognize further, in conjunction with unit and the algorithm steps of each example of embodiment disclosed herein description, can realize with electronic hardware, computer software or the combination of the two, in order to the interchangeability of hardware and software is clearly described, generally describe composition and the step of each example in the above description according to function.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can use distinct methods to realize described function to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
The software module that the method described in conjunction with embodiment disclosed herein or the step of algorithm can 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.
Above-described embodiment; object of the present invention, technical scheme and beneficial effect are further described; be understood that; the foregoing is only the specific embodiment of the present invention; the protection range be not intended to limit the present invention; within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (14)

1. process a method for instant message, it is characterized in that, described method comprises:
The first subscribe message that the business of described first terminal to the second terminal that message server receives first terminal transmission is subscribed to, described first subscribe message comprises the first service subscribing rule, and described first service subscribing rule comprises the identification information of described first terminal and the identification information of described second terminal;
According to the identification information of described second terminal, described instant message, when receiving described second terminal and carrying out with third terminal the instant message communicated, is carried out replication processes by described message server;
According to the identification information of described first terminal, described message server sends the described instant message copied to described first terminal.
2. the method for process instant message according to claim 1, is characterized in that, comprises before the first subscribe message that the business of described first terminal to the second terminal that described message server receives first terminal transmission is subscribed to:
Described message server receives the subscription authorization messages that described second terminal sends, described subscription authorization messages comprises authorization rule, and described authorization rule comprises the authorized identification information of terminal and the identification information of described second terminal of subscribing to described second terminal traffic;
Also comprise after the first subscribe message that the business of described first terminal to the second terminal that described message server receives first terminal transmission is subscribed to:
Described message server judges whether the identification information of described first terminal is included in the identification information of the described terminal that described authorization rule comprises;
If the identification information of described first terminal is included in the identification information of described terminal, then described message server determines that described first terminal is authorized terminal of subscribing to described second terminal traffic;
Described instant message is carried out replication processes when receiving described second terminal and carrying out with third terminal the instant message communicated and specifically comprises by described message server:
According to described authorization rule, described message server, when determining that first terminal described in described second authorization terminal subscribes to the business of described second terminal, carries out replication processes to described instant message.
3. the method for process instant message according to claim 1, is characterized in that, described first service subscribing rule also comprises the indication information being used to indicate and subscribing to the instant message that described second terminal sends or receives;
Also comprise after the first subscribe message that the business of described first terminal to the second terminal that described message server receives first terminal transmission is subscribed to:
According to described indication information, the instant message that described second terminal that what described message server determined that described first terminal subscribes to is sends or the instant message that described second terminal receives;
Described instant message is carried out replication processes when receiving described second terminal and carrying out with third terminal the instant message communicated and specifically comprises by described message server:
If what described message server determined that described first terminal subscribes to is the instant message that described second terminal sends, then the instant message that described second terminal sends to described third terminal is carried out replication processes by described message server;
If what described message server determined that described first terminal subscribes to is the instant message that described second terminal receives, then the instant message that the described third terminal that described second terminal receives sends is carried out replication processes by described message server.
4. the method for process instant message according to claim 1, is characterized in that, described method also comprises:
The second subscribe message that the business of described memory device to the terminal that described message server receives that described message server receives memory device transmission is subscribed to, described second subscribe message comprises the second service subscribing rule, and described second service subscribing rule comprises the identification information of terminal and the identification information of described memory device of the subscription of described memory device;
According to the identification information of described terminal, described instant message, when receiving described terminal and carrying out with another terminal the instant message communicated, is carried out replication processes by described message server;
According to the identification information of described memory device, described message server sends the described instant message copied to described memory device, is stored by the described instant message copied to make described memory device.
5. process a method for instant message, it is characterized in that, described method comprises:
First terminal generates the subscribe message being used for the business of described first terminal to the second terminal and subscribing to;
Described first terminal sends described subscribe message to message server;
Described first terminal receives the instant message that described second terminal that described message server receives according to the described message server that described subscribe message sends and third terminal carry out communicating.
6. the method for process instant message according to claim 5, is characterized in that, described subscribe message also comprises the indication information being used to indicate and subscribing to the instant message that described second terminal sends or receives;
Described indication information for making described message server determine, subscribe to is the instant message that the instant message that sends of described second terminal or described second terminal receive by described first terminal;
Described first terminal receives described second terminal that described message server receives according to the described message server that described subscribe message sends and specifically comprises with the instant message that third terminal carries out communicating:
Described first terminal receives the instant message that described message server sends according to described second terminal that the described message server that described indication information sends receives, or;
Described first terminal receives the instant message that described message server receives according to described second terminal that the described message server that described indication information sends receives.
7. a message server, is characterized in that, described message server comprises:
Receiving element, the first subscribe message that the business of described first terminal to the second terminal sent for receiving first terminal is subscribed to, described first subscribe message comprises the first service subscribing rule, described first service subscribing rule comprises the identification information of first terminal and the identification information of described second terminal, and the identification information of described first terminal is transferred to transmitting element, the identification information of the second terminal is transferred to copied cells;
Copied cells, for receiving the identification information of described second terminal from described receiving element, according to the identification information of described second terminal, when receiving described second terminal and carrying out with third terminal the instant message communicated, described instant message is carried out replication processes;
Transmitting element, for receiving the identification information of described first terminal from described receiving element, according to the identification information of described first terminal, sends the described instant message copied to described first terminal.
8. message server according to claim 7, it is characterized in that, described receiving element also for, receive the subscription authorization messages that described second terminal sends, described subscription authorization messages comprises authorization rule, and described authorization rule comprises the authorized identification information of terminal and the identification information of described second terminal of subscribing to described second terminal traffic;
Described message server also comprises: judging unit, for judging whether the identification information of described first terminal is included in the identification information of the described terminal that described authorization rule comprises;
First determining unit, if be included in the identification information of described terminal for the identification information of described first terminal, then determines that described first terminal is authorized terminal of subscribing to described second terminal traffic;
Described copied cells specifically for, according to described service authorization rule, when determining that first terminal described in described second authorization terminal subscribes to the business of described second terminal, replication processes is carried out to described instant message.
9. message server according to claim 7, is characterized in that, the described first service subscribing rule that described receiving element receives also comprises the indication information being used to indicate and subscribing to the instant message that described second terminal sends or receives;
Described message server also comprises: the second determining unit, and for according to described indication information, what determine that described first terminal subscribes to is the instant message that the instant message that sends of described second terminal or described second terminal receive;
Described copied cells specifically for, described second determining unit determine that described first terminal subscribes to be described second terminal send instant message time, the instant message that described second terminal sends to described third terminal is carried out replication processes;
Described second determining unit determine that described first terminal subscribes to be described second terminal receive instant message time, the instant message that the described third terminal that described second terminal receives sends is carried out replication processes.
10. message server according to claim 7, it is characterized in that, described receiving element also for, the second subscribe message that the described memory device receiving memory device transmission is subscribed to the business of terminal in described message server, described second subscribe message comprises the second service subscribing rule, and described second service subscribing rule comprises the identification information of terminal and the identification information of described memory device of the subscription of described memory device;
Described copied cells also for, according to the identification information of described terminal, when receiving described terminal and carrying out with another terminal the instant message communicated, described instant message is carried out replication processes;
Described transmitting element also for, according to the identification information of described memory device, send the described instant message copied to described memory device, to make described memory device, the described instant message copied stored.
11. 1 kinds of terminals, is characterized in that, described terminal comprises:
Subscriber units, for generating the subscribe message of subscribing to for the business of described first terminal to the second terminal, and transfers to transmitting element by described subscribe message;
Transmitting element, for receiving described subscribe message from described subscriber units, and sends described subscribe message to message server;
Receiving element, for receiving the instant message that described second terminal that described message server receives according to the described message server that described subscribe message sends and third terminal carry out communicating.
12. terminals according to claim 11, is characterized in that, the described subscribe message that described subscriber units generates also comprises the indication information being used to indicate and subscribing to the instant message that described first terminal sends or receives;
Described indication information is the instant message of described first terminal transmission or the instant message of described first terminal reception for what make described message server determine described terminal subscribes;
Described receiving element specifically for, receive the instant message that described message server sends according to the described first terminal that the described message server that described indication information sends receives, or;
Receive the instant message that described message server receives according to the described first terminal that the described message server that described indication information sends receives.
13. 1 kinds of systems processing instant message, it is characterized in that, described system comprises: the message server as described in claim 7 to the arbitrary claim of claim 10 and the terminal as described in claim 11 to any one of claim 12.
The system of 14. process instant messages according to claim 13, it is characterized in that, described system also comprises: subscribed terminal, and described subscribed terminal is specially the terminal of being subscribed to by described terminal carrying out service.
CN201410091088.2A 2014-03-12 2014-03-12 Handle method, message server, terminal and the system of instant message Active CN104917665B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410091088.2A CN104917665B (en) 2014-03-12 2014-03-12 Handle method, message server, terminal and the system of instant message
PCT/CN2014/094513 WO2015135358A1 (en) 2014-03-12 2014-12-22 Method for processing instant message, message server, terminal, and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410091088.2A CN104917665B (en) 2014-03-12 2014-03-12 Handle method, message server, terminal and the system of instant message

Publications (2)

Publication Number Publication Date
CN104917665A true CN104917665A (en) 2015-09-16
CN104917665B CN104917665B (en) 2018-08-21

Family

ID=54070897

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410091088.2A Active CN104917665B (en) 2014-03-12 2014-03-12 Handle method, message server, terminal and the system of instant message

Country Status (2)

Country Link
CN (1) CN104917665B (en)
WO (1) WO2015135358A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106506443A (en) * 2016-09-14 2017-03-15 广东欧珀移动通信有限公司 A kind of information inspection method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079925A (en) * 2006-12-25 2007-11-28 腾讯科技(深圳)有限公司 A method and system for allocating instant communication session
CN101257375A (en) * 2006-12-31 2008-09-03 华为技术有限公司 Method and device for realizing multi-terminal message synchronization
US20100306689A1 (en) * 2007-12-19 2010-12-02 Teliasonera Ab User equipment, storage medium, service center and method
CN102227927A (en) * 2008-11-28 2011-10-26 三星电子株式会社 Method and apparatus for providing communication history
CN102638416A (en) * 2012-03-27 2012-08-15 上海量明科技发展有限公司 Method for checking IM (instant messaging) information when multiple clients are logged in, client and system
CN103326933A (en) * 2013-07-12 2013-09-25 候万春 System and method for realizing safe instant messaging of group

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079925A (en) * 2006-12-25 2007-11-28 腾讯科技(深圳)有限公司 A method and system for allocating instant communication session
CN101257375A (en) * 2006-12-31 2008-09-03 华为技术有限公司 Method and device for realizing multi-terminal message synchronization
US20100306689A1 (en) * 2007-12-19 2010-12-02 Teliasonera Ab User equipment, storage medium, service center and method
CN102227927A (en) * 2008-11-28 2011-10-26 三星电子株式会社 Method and apparatus for providing communication history
CN102638416A (en) * 2012-03-27 2012-08-15 上海量明科技发展有限公司 Method for checking IM (instant messaging) information when multiple clients are logged in, client and system
CN103326933A (en) * 2013-07-12 2013-09-25 候万春 System and method for realizing safe instant messaging of group

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106506443A (en) * 2016-09-14 2017-03-15 广东欧珀移动通信有限公司 A kind of information inspection method and device
CN106506443B (en) * 2016-09-14 2019-08-13 Oppo广东移动通信有限公司 A kind of information inspection method and device

Also Published As

Publication number Publication date
WO2015135358A1 (en) 2015-09-17
CN104917665B (en) 2018-08-21

Similar Documents

Publication Publication Date Title
CN111163130B (en) Network service system and data transmission method thereof
CN104092644A (en) Interaction method, device, client and server
CN102150443A (en) System and methods for communication between instant message users and short message service users
CN103856391A (en) Information communication method and system, and server
CN107920110A (en) A kind of method and device of data sharing
CN101160880A (en) Communications device and method
CN107846507A (en) Method for sending information, device, computer installation and computer-readable recording medium
CN106254206A (en) A kind of information processing method and equipment
CN110365766A (en) Cloud storage method, equipment and computer readable storage medium based on block chain
CN111093160B (en) Calling method, equipment and system
CN103220328A (en) Data synchronous distribution method and device
CN102957594A (en) Message queue-based message processing method, related device and system
CN108173737A (en) A kind of group chat method and system, server, mobile terminal
CN104065618A (en) Method, terminal and server for controlling user permission
CN109769244A (en) Recognition methods, device, equipment and the readable storage medium storing program for executing of abnormal phonecard
CN110519151B (en) Controllable friend adding method and device, terminal equipment and storage medium
CN106533923A (en) Information processing method and device based on instant messaging software
CN102137198A (en) Method for realizing private branch exchange service and gateway equipment
CN107888935A (en) Live social contact method and system
CN103036762B (en) Information processing method in instant messaging and device
CN110213154A (en) Instant communicating method, device, computer installation and storage medium
CN110247959A (en) A kind of data transmission method and device
CN105389734A (en) Page interactive method and system about social circle
CN106888234A (en) A kind of data interactive processing method and device
CN108965786A (en) A kind of electronic whiteboard content sharing 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