CN100484105C - Instant message system and message processing method - Google Patents

Instant message system and message processing method Download PDF

Info

Publication number
CN100484105C
CN100484105C CNB2006100012860A CN200610001286A CN100484105C CN 100484105 C CN100484105 C CN 100484105C CN B2006100012860 A CNB2006100012860 A CN B2006100012860A CN 200610001286 A CN200610001286 A CN 200610001286A CN 100484105 C CN100484105 C CN 100484105C
Authority
CN
China
Prior art keywords
message
client
server
instant
function 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.)
Active
Application number
CNB2006100012860A
Other languages
Chinese (zh)
Other versions
CN1863174A (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 CNB2006100012860A priority Critical patent/CN100484105C/en
Publication of CN1863174A publication Critical patent/CN1863174A/en
Application granted granted Critical
Publication of CN100484105C publication Critical patent/CN100484105C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The invention is a realtime message system and a message processing method, comprising the steps of: when receiving a message, participating functional server judges whether client end is on-line; if on-line, judging whether priority of this message is higher than those of the other ones received at the same time according to message priority parameters: if yes, first sending this message, otherwise sending messages in normal sequence and ending message sending; if not on-line, judging whether the priority of this message is higher than that of an off-line storage message according to the priority parameters: if yes, storing this message, otherwise discarding this message and ending message sending. And the invention provides a realtime message system, for processing messages by priority, and storing and sending off-line system message.

Description

A kind of immediate news systems and message treatment method
Technical field
The present invention relates to network communication field, particularly relate to a kind of immediate news systems and message treatment method.It can carry out instant messaging on mobile communications network, Internet network, the mobile network comprises existing 2G, 2.5G, and 3G, multimedia subsystem or the like.
Background technology
It is the instant messaging of representative that one of main activities that chat is people in using modern communications and last network process, the main tool of chat become with MSN, OICQ (claiming QQ again) from chatroom, the forum at initial stage.Most people are as long as online will opened oneself instant chat software MSN or QQ.According to statistics, up to now, the whole world has people more than 100,000,000 to use MSN to exchange on the net approximately.Instant messaging has become the communication service of new century fashion undoubtedly.
Instant messaging belongs to a kind of individual based on instant (Presence) to individual, the individual mobile data services to the classes of messages of group.
(Open Mobile Alliance, OMA) standard formulation has been done for mobile instant message to Open Mobile Alliance by International Standards Organization, and two class immediate news systems are arranged in the Current Standard specification version.The first kind is based on radio countryside protocol (Wireless Village, WV) immediate news systems, it is based on HTTP/wireless access protocol/short-message system (Hyper Text Transport Protocol/Wireless Access Protocol/Short Message System, HTTP/WAP/SMS) Cheng Zai agreement, can support the 2.5G/3G network, second class is based on initial session protocol/instant message transmission and presence utilization expansion (Session Initiated Protocol/SIP Instant Message and PresenceLeveraging Extensions, SIP/SIPLE) immediate news systems of agreement, it is based on the agreement of SIP/SIMPLE carrying, support is based on IP Multimedia System (IP Multimedia Subsystem, IP network IMS).
There is such use scene in the immediate news systems: before, during and after the user uses instant messaging etc. under the situation, immediate news systems can be to user's transmitting system message, notice instant message client service related information allows the user select answering system message or the like.
So-called system message is meant a kind of message of specific type, and it is sent by server of instant message, can have different purposes, for example advice of charge information, service announcements, operation indication or the like.May comprise whether needing to allow user's answering system message, one offer option list, information notice of user etc. in the system message.
Existing meeting in the immediate news systems of SIP/SIMPLE instant message (IM) standard, the priority that does not have message is respectively to pending, deferred information stores processor etc.
So just exist following defective: if server sends an important message for example is that advice of charge arrives client, and this moment, client was not online or just busy, and message can't send to client this moment so; When client was reached the standard grade once more, if message is not stored, then client just can't be received this message forever.
On the other hand, the message of the transmission in the immediate news systems may be a lot, has different priority, if all message offline storage all, because message is given large batch of client often, the memory space and the network traffics that need are all very big, all cause huge load for like this server and network.
Summary of the invention
A kind of immediate news systems and the message treatment method that the objective of the invention is to overcome above-mentioned defective and provide, it realizes respectively pending, off-line system message stores being sent processing etc. according to the priority of message in existing message based on the SIP/SIMPLE immediate news systems.
For realizing the message treatment method of a kind of instant message that the object of the invention provides, comprise the following steps:
Steps A) after the participation function server of instant message client ownership received that other clients or message are initiated message that server sends, the participation function server of ownership judged whether described instant message client is online; If online, then send to described instant message client; Otherwise continue;
Step B) participate in priority level that function server judges this message according to the priority parameters in the message whether greater than the priority level of the offline storage message of setting, if, then with this message stores; Otherwise, abandon this message; End sends to be handled.
Described steps A) can comprise the following steps:
When instant information client side is online, participates in function server and judge according to the priority parameters in the message whether message priority is not higher than other message of receiving simultaneously, if then preferentially send this message; Otherwise, send message according to normal ordering; End sends to be handled.
Described instant message processing method can also comprise the following steps:
Step C) when instant information client side signs in to the participation function server of ownership, the participation function server does not according to priority find out the deferred information to instant message client in the offline storage message of storage, and sends it to instant message client.
Described message is system message.
Described steps A) can also comprise the following steps:
Steps A 1) message is initiated server when instant message client transmitting system message, and message is initiated the core network that server sends a message to the place;
Steps A 2) message is initiated the core network at server place by analyzing the sip message head, with the core network of forwards to the participation function server place of instant message client ownership;
Steps A 3) participates in the function server core network by analyzing the sip message head, with the participation function server of forwards to the instant message client ownership.
Described step B) can also comprise the following steps:
Step B1) the participation function server of instant message client ownership is initiated server response SIP 202 Accepted message by the core network at place to message after receiving message;
Step B2) core network that participates in function server is initiated SIP 202Accepted forwards the core network of server by analyzing the sip message head to message;
Step B3) core network of message initiation server is initiated server with SIP 202Accepted forwards to message by analyzing the sip message head.
Further, described step B) can also may further comprise the steps:
After the participation function server of instant message client ownership judges that message priority is not more than preferential other set point of default and abandons message, initiate server response SIP 603 Decline message, finish then to message.
Further, described step B) can also may further comprise the steps:
The participation function server of instant message client ownership has different memory times according to the other message of the different priorities of default, be set the memory time of the other message of different priorities, just store the participation function server of instant message client ownership then into, when instant message client is not logined when reaching memory time, this message is deleted from the participation function server of instant message client ownership.
Described step C) can may further comprise the steps:
Step C1) instant message client uses professional success to the participation function server registration of its ownership;
Step C2) participates in according to priority other in the offline storage message of storage, not the finding out of function server and need directly to push the deferred information of instant message to client;
Step C3) sets up message session trunk protocol data channel between Gui Shu participation function server and the instant message client;
Step C4) Gui Shu participation function server sends to instant message client after by message session trunk protocol data channel message being encapsulated;
Step C5) instant message client is responded MSRP 200 OK message to the participation function server of ownership;
Step C6) after instant messaging communication finishes, disconnects message session trunk protocol data channel between the participation function server of ownership and the instant message client.
The present invention also provides a kind of immediate news systems, comprises client, and message is initiated the participation function server of server and client side's ownership, it is characterized in that described participation function server comprises the priority judging treatmenting module;
The priority judging treatmenting module be used for the priority of message is judged, and the priority level according to message sends to client with message when client is online; When client is not online, judge that according to the priority parameters in the message whether the priority level of message is greater than the priority level of setting, when greater than the priority level set, store described message, when client signs in to the participation function server of ownership, message is sent to client.
Described participation function server can also comprise message storage module;
Message storage module when being used for when client not online and described message priority not greater than the priority level set, is stored described message; And when client signs in to attribution server, by from wherein reading described message.
Described immediate news systems can also comprise the initial session protocol core network at the participation function server place of client and ownership thereof, and message is initiated the initial session protocol core network at server place.
Described participation function server can comprise the server with participation function of client ownership and the server with deferred information function.
It can be the controlled function server that described message is initiated server, perhaps other client attribution server, the perhaps particular server of operator.
The invention has the beneficial effects as follows: immediate news systems of the present invention and method can make the SIP/SIMPLE immediate news systems according to the priority level of message message be distinguished transmission, and can be when the user be not online, determine whether the needs offline storage according to priority level, can in time obtain the high message of priority level after reaching the standard grade, make SIP/SIMPLE instant messaging system more perfect on solution message RELEASE PROBLEM, thereby enriched user's business experience.
Description of drawings
Fig. 1 is an immediate news systems structural representation of the present invention;
Fig. 2 is the process chart that the immediate news systems server is received SIPMESSAGE;
Fig. 3 is the Message Processing flow chart of client immediate news systems issue when not online;
After Fig. 4 was the client login, message pushed the process chart of (PUSH);
Fig. 5 is the Message Processing flow chart of client immediate news systems issue when online.
Embodiment
Further describe immediate news systems of the present invention and message treatment method below in conjunction with accompanying drawing 1~5.
In each embodiment of the present invention, all initiate the system message of server transmission and carry out the priority judgment processing at the message in the immediate news systems, it can be controlled function server (Controlling IM Function Server) that this message is initiated server, also can be the particular server of operator, by system message and other message or the like of open interface transmission.
The message that is sent also can be that message is initiated other message that server sends, as common message; Also can be other message that client sends to server or other clients.
The present invention is the instant messaging in instant message (IM) system that carries out on mobile communications network, Internet network, and wherein the mobile network comprises existing 2G, 2.5G, 3G and IP multimedia subsystem, IMS mobile communications networks such as (IMS).More particularly, the present invention is based on the immediate news systems among the SIP/SIMPLE, adopts initial session protocol (SIP), at the application of immediate news systems.
Wherein, each embodiment is described with SIP/IP core (Core) network among the present invention, wherein SIP/IP core (Core) network is the core network part that belongs to 3GPP and 3GPP2 definition IP multimedia subsystem, IMS (IMS), as CSCF (Call Session Control Function, CSCF) or IP network.
Client Client_A and message are initiated the instant messaging session passage of server S erver_X foundation for pressing known message session trunk protocol (Message Session Relay Protocol, MSRP) the instant message transmission channel (Channel) of Jian Liing.
In each embodiment, the implication of each entity is as follows:
Client_A represents to add the client at the user A place of SIP/SIMPLE instant message (IM) system;
Server_X represents the SIP/SIMPLE server of instant message of transmitting system message, may be the particular server etc. of controlled function server (Controlling IM Function Server), other user attaching servers, operator, promptly message be initiated server;
Server_A represents the SIMPLE IM server that Client_A belongs to, and supposes that Server_A possesses the role of participation function (Participating) and the role of deferred information function (Deferred IM), promptly participates in function server.
Participate in function server Server_A and can comprise possessing server that participates in function and the server that possesses the deferred information function, promptly the participation function server of client ownership comprises possessing server that participates in function and the server that possesses the deferred information function.Belong to different server if participate in participation function and the deferred information function of function server Server_A, then need to increase the function that participates in mutual deferred information processing between function and the deferred information function, this is existing technology, no longer describes in detail in the present invention.。
SIP/IP Core A represents initial session protocol (SIP) core network at the participation function server Server_A place of client Client_A and ownership.
SIP/IP Core_X represents initial session protocol (SIP) core network at Server_X place.
As shown in Figure 1, immediate news systems among the present invention comprises client Client_A, message is initiated server S erver_X and is participated in function server Server_A, and initial session protocol (SIP) the core network SIP/IPCORE_A at the participation function server Server_A place of client Client_A and ownership thereof.
Wherein, participate in function server Server_A and also comprise priority judging treatmenting module 1 and message storage module 2,
Priority judging treatmenting module 1, be used for judging for the priority of client Client_A, and the priority level according to system message sends to client Client_A with system message when client Client_A is online to the system message that message initiation server S erver_X issues; When client Client_A is not online, judge that according to the priority parameters in the message whether the priority level of system message is greater than the priority level of setting, storage system message sends to client Client_A with system message when client Client_A signs in to the participation function server Server_A of ownership when greater than the priority level set.
Message storage module 2, when being used for not online and system message priority level greater than the priority level set as client Client_A, storage system message; And when client Client_A signs in to attribution server Server_A, by priority judging treatmenting module 1 from read system message wherein.
System message in embodiments of the present invention, form (schema) to existing systems message is changed, increased the priority parameters smsg_level of system message, made the priority judging treatmenting module 1 that participates among the function server Server_A carry out the priority level judgment processing according to priority parameters smsg_level.
System message form in the embodiment of the invention is as follows:
<?xml?version="1.0"encoding="UTF-8"?>
<xs:schema
targetNamespace="urn:oma:params:xml:ns:im:system-message"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns="urn:oma:params:xml:ns:im:system-message"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xs:element?name="system-message">
<xs:complexType>
<xs:sequence>
<xs:elementname="smsg-type"minOccurs="1">
<xs:simpleType>
<xs:restriction?base="xs:string">
<xs:enumeration?value="request"/>
<xs:enumeration?value="response"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element?name="smsg"minOccurs="1"maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element?name="smsg-text"type="xs:string"minOccurs="1"/>
<xs:elementname="smsg-level"type="xs:positiveInteger"minOccurs="0"
MaxOccurs=" 1 "/〉 // priority parameters
<xs:element?name="smsg-response-type"minOccurs="1">
<xs:simpleType>
<xs:restriction?base="xs:string">
<xs:enumeration?value="no-answer"/>
<xs:enumeration?value="only-one-answer"/>
<xs:enumeration?value="multiple-answer"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="answer-options" minOccurs="0"
maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="answer-option-id" type="xs:string"
minOccurs="1"/>
<xs:element name="answer-option-texr" type="xs:string"
Occurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element?name="time-out"type="xs:positiveInteger"minOccurs="0"/>
<xs:element?name="restrict-access"type="xs:empty"minOccurs="0"/>
<xs:element?name="verification"minOccurs="0">
<xs:complexType>
<xs:choice>
<xs:element?name="verification-text"type="xs:string"minOccurs="0"
/>
<xs:element name="verification-uri" type="xs:any?URI"
minOccurs="0"/>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute?name="id"type="xs:string"use="required"/>
</xs:complexType>
</xs:element>
As shown in Figure 2, the instant message processing method in the embodiment of the invention comprises the following steps:
Step 1) participates in function server Server_A receive that message is initiated SIP MESSAGE message that server S erver_X sends after, judge whether client Client_A is online, if online, the processing method of then pressing embodiment two sends SIP MESSAGE message to client Client_A; Otherwise continue;
Step 2) participate in function server Server_A and judge whether this message is system message, if not, then handle according to common deferred information handling process; Otherwise continue;
Step 3) priority judging treatmenting module 1 judges that the priority level of priority parameters smsg-level of system message is whether greater than the set point of the priority level of default, if not, then abandon system message, and initiate server S erver_X to transmit leg message and respond SIP 603 Decline message, finish then; Otherwise continue;
It is deferred information (Deferred IM) that step 4) is stored this system message, and initiates server response SIP 202 Accepted message to transmit leg message, finishes then.
Explanation is when client when online and not online respectively below, and immediate news systems is to the processing method process of system message:
Embodiment one:
In the present embodiment, message is initiated server S erver_X and is being given client Client_A transmitting system message, and this moment, client Client_A was not online.
It comprises the following steps:
Steps A) message is initiated server S erver_X sending system message, after the participation function server Server_A of ownership receives system message, judge that client Client_A is not online, whether the priority level of further judging its priority parameters smsg-level greater than the setting offline storage system message priority level of user and/or system, and will store message storage module 2 into greater than this setting grade other system message.
As shown in Figure 3, comprise the following steps:
Steps A 1) message is initiated server S erver_X to user A (corresponding to client Client_A) transmitting system message, uses the SIPMESSAGE message bearing, wherein comprises the priority parameters of system message, for example smsg-level=1; Also include the address of user A and the condition code in Accept-Contact; Message is initiated the initial session protocol core network SIP/IP Core_X that server S erver_X sends a message to the Server_X place;
Steps A 2) the initial session protocol core network SIP/IP Core_X at Server_X place is by analyzing the sip message head, with the initial session protocol core network SIP/IP Core_A of SIPMESSAGE forwards to the participation function server Server_A place of client Client_A ownership;
Steps A 3) initial session protocol core network SIP/IP Core_A is by the sip message head, with the participation function server Server_A of SIPMESSAGE forwards to client Client_A ownership;
Steps A 4) after participation function server Server_A receives SIPMESSAGE message, judge that client Client_A is not online and be system message, whether the priority level of priority parameters smsg-level of then further judging system message is greater than the setting offline storage system message priority level of user and/or system, if greater than the priority level of setting, then need storage, the participation function server Server_A of ownership is stored as deferred information (Deferred IM) with system message, and the setting rank, store message storage module 2 into; Otherwise, this system message is abandoned;
In embodiments of the present invention, described rank can be the transmission rank of the system message of client when online, the rank that system message is stored by message storage module 2 when also having client off-line.
Preferably, priority judging treatmenting module 1 has different memory times according to the other message of the different priorities of default, such as: the memory time that priority is high is long, low memory time is short, be set the memory time of the other message of different priorities, just store message storage module 2 then into, when client is not logined when reaching memory time, this message is deleted from message storage module 2.
Steps A 5) participation function server Server_A initiates server S erver_X response SIP202Accepted message by the initial session protocol core network SIP/IP Core_A of Server_A to message, and system message is received in expression;
Steps A 6) initial session protocol core network SIP/IP Core_A initiates SIP 202 Accepted forwards the initial session protocol core network SIP/IP Core_X of server S erver_X by analyzing the sip message head to message;
Steps A 7) initial session protocol core network SIP/IP Core_X arrives Server_X by analyzing the sip message head with SIP 202 Accepted forwards.
Step B) when client Client_A signs in to the participation function server Server_A of ownership, priority judging treatmenting module 1 among the participation function server Server_A finds out the off-line system message to client Client_A in the offline storage message of message storage module 2 storages, and sends it to client Client_A.
When the following describes client Client_A and logining again, the participation function server Server_A of ownership is for the processing method of system message.
When client Client_A signed in to the participation function server Server_A of ownership, the priority judging treatmenting module 1 that participates in function server Server_A can be handled the system message of offline storage in the following manner:
Mode one: the system message that priority is high directly pushes (PUSH) separately and gives clients corresponding Client_A;
Mode two: the system message of structure SIP MESSAGE form sends to client Client_A;
Mode three: push (PUSH) with common deferred information (Deferred IM) and give the user, before can being presented at the high system message of priority;
Mode four: with common deferred information (Deferred IM), issue the deferred information notice earlier, and then select to obtain, can be presented at the high system message of priority the front of deferred information notice by client Client_A;
Concrete which kind of mode that adopts, relevant with being provided with of the configuration of instant message (IM) system and client Client_A, relevant such as the selection of mode three, four with being provided with of client.
Be example in mode one in the present embodiment:
In the present embodiment, common deferred information does not send by pushing (PUSH) mode, has only off-line system message to send by pushing (PUSH) mode.
Also can be that all deferred informations all pass through to push (PUSH) mode and send, procedure be identical with present embodiment, does not just have the system message judgement.
As shown in Figure 4, it comprises the following steps:
Step B1) client Client_A uses the professional success of instant message (IM) to the participation function server Server_A of its ownership registration;
Step B2) participating in priority judging treatmenting module 1 among the function server Server_A according to priority finds out in the offline storage message of rank in message storage module 2 of parameter s msg-level and needs directly to push off-line system message that (PUSH) gives client Client_A, it can be the off-line system message that priority is higher than the priority level of system and/or user's setting, or whole off-line system message;
Step B3) sets up message session trunk protocol (MSRP) data channel between Gui Shu participation function server Server_A and the client Client_A;
Step B4) Gui Shu participation function server Server_A is packaged into message content by MSRP SEND with system message and sends to client Client_A;
The participation function server Server_A that is an ownership below is packaged into the example that message content sends to client Client_A by MSRP SEND with system message:
MSRP?dkei38sd?SEND
To-Path:msrp://user2.imserver.com:7777/iau39;tcp
From-Path:msrp://imserver.com:8888/9di4ea;tcp
Message-ID:452
Content-Type:message/sip
MESSAGE?sip:user2@imerver.com?SIP/2.0
Via:SIP/2.0/TCP?user1pc.imserver.com;branch=z9hG4bK776sgdkse
Max-Forwards:70
From:sip:user1@imserver.com;tag=49583
To:sip:user2@imserver.com
Call-ID:asd88asd77a@1.2.3.4
Date:Thu,21Feb?2002?13:02:03?GMT
CSeq:1MESSAGE
Content-Type:vnd.oma.system-message+xml
Content-Length:......
<?xml?version="1.0"encoding="UTF-8"?>
<system-message
xmlns="urn:oma:params:xml:ns:im:system-message"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:oma:params:xml:ns:im:system-message">
<smsg-type>request</smsg-type>
<smsg?id="ghi789">
<smsg-text>Info:you?have?subscribed?a?new?service?and?it?is?freed?in?one?month.If?you
would?not?like?to?use?it?please?unsubscribe?it.</smsg-text>
<smsg-level>1</smsg-text>
<smsg-response-type>no-answer</smsg-response-type>
</smsg>
</system-message>
Step B5) client Client_A responds MSRP200OK message to the participation function server Server_A of ownership, and MSRP SEND message is received in expression;
If have multiple pieces of system message to need to send, repeat above-mentioned steps.
Step B6) after instant messaging communication finishes, disconnects message session trunk protocol (MSRP) data channel between the participation function server Server_A of ownership and the client Client_A.
Embodiment two:
In the present embodiment, message is initiated server S erver_X and is given client Client_A transmitting system message, and client Client_A is online.
Steps A ') message initiation server S erver_X sending system message, after the participation function server Server_A of ownership receives system message, judge that client Client_A is online, whether the rank that priority judging treatmenting module 1 is further judged its priority parameters smsg-level is greater than the initialization system message level of user and/or system, if the rank greater than setting then preferentially sends to client Client_A with system message; Otherwise, by normal processes transmitting system message.
As shown in Figure 5, comprise the following steps:
Steps A 1 ') message initiates server S erver_X to user A (corresponding to client Client_A) transmitting system message, with SIP MESSAGE message bearing, wherein comprises the priority parameters smsg-level=1 of system message; Include the address of user A and the condition code in Accept-Contact; Message is initiated the initial session protocol core network SIP/IP Core_X that server S erver_X sends a message to the Server_X place;
Steps A 2 ') the initial session protocol core network SIP/IP Core_X at Server_X place is by analyzing the sip message head, with the initial session protocol core network SIP/IP Core_A of SIPMESSAGE forwards to the participation function server Server_A place that client Client_A belongs to;
Steps A 3 ') initial session protocol core network SIP/IP Core_A is by analyzing the sip message head, the participation function server Server_A that SIP MESSAGE forwards is belonged to client Client_A;
Steps A 4 ') ownership participation function server Server_A receive SIPMESSAGE message after, judge that client Client_A is online and be system message, then priority judging treatmenting module 1 further judge system message priority parameters smsg-level rank whether greater than the priority parameters smsg-level rank of other system message received simultaneously or common message, if, then preferentially send native system message to client Client_A, send the low message of other ranks again; Otherwise, to be sent by normal ordering etc.;
Steps A 5 ') participate in function server Server_A transmits SIPMESSAGE to client Client_A by the initial session protocol core network SIP/IP Core_A of Server_A system message;
Steps A 6 ') the initial session protocol core network SIP/IP Core_A of Server_A is by analyzing the sip message head, with the SIPMESSAGE forwards to client Client_A;
Steps A 7 ') client Client_A responds the initial session protocol core network SIP/IP Core_A of SIP200OK message to Server_A, and system message is received in expression;
Steps A 8 ') the initial session protocol core network SIP/IP Core_A of Server_A is by analyzing the sip message head, with the participation function server Server_A of SIP 200 OK forwards to ownership;
Steps A 9 ') the initial session protocol core network SIP/IP Core_A of participation function server Server_A by Server_A of ownership initiate server S erver_X to system message and transmit SIP 200OK message.
Steps A 10 ') initial session protocol core network SIP/IP Core_A is by analyzing the sip message head, with the initial session protocol core network SIP/IP Core_X of SIP 200 OK forwards to message initiation server S erver_X;
Steps A 11 ') initial session protocol core network SIP/IP Core_X is by analyzing the sip message head, and the SIP200OK forwards is initiated server S erver_X to message, finishes this system message transmission.
In the present embodiment, setting client does not need answering system message, if need the system message of answer, then client Client_A is by the participation of user A, and the answering system message that sends SIP MESSAGE is initiated server S erver_X to message.
The present invention is provided with different ranks according to different message, thereby can give different processing for message according to different ranks, message is distinguished transmission, and can be when the user be not online, determine whether the needs offline storage according to priority, can in time obtain the high system message of priority after client is reached the standard grade, improve the SIP/SIMPLE immediate news systems, thereby enrich user's business experience.
Each embodiment of the present invention is just in order to make those of ordinary skills understand the present invention; and to detailed description that the present invention carried out; but can expect; those of ordinary skills can also make other variation and modification in the scope that does not break away from claim of the present invention and contained, these variations and revising all in protection scope of the present invention.

Claims (17)

1. the message treatment method of an instant message is characterized in that, comprises the following steps:
Steps A) after the participation function server of instant message client ownership received that other clients or message are initiated message that server sends, the participation function server of ownership judged whether described instant message client is online; If online, then send to described instant message client; Otherwise continue;
Step B) participate in priority level that function server judges this message according to the priority parameters in the message whether greater than the priority level of the offline storage message of setting, if, then with this message stores; Otherwise, abandon this message; End sends to be handled.
2. message treatment method according to claim 1 is characterized in that, described steps A) comprise the following steps:
When instant information client side is online, participates in function server and judge according to the priority parameters in the message whether message priority is not higher than other message of receiving simultaneously, if then preferentially send this message; Otherwise, send message according to normal ordering; End sends to be handled.
3. instant message processing method according to claim 1 is characterized in that, also comprises the following steps:
Step C) when instant information client side signs in to the participation function server of ownership, the participation function server does not according to priority find out the deferred information to instant message client in the offline storage message of storage, and sends it to instant message client.
4. according to each described instant message processing method of claim 1 to 3, it is characterized in that described message is system message.
5. instant message processing method according to claim 4 is characterized in that, described steps A) also comprise the following steps:
Steps A 1) message is initiated server when instant message client transmitting system message, and message is initiated the core network that server sends a message to the place;
Steps A 2) message is initiated the core network at server place by analyzing the sip message head, with the core network of forwards to the participation function server place of instant message client ownership;
Steps A 3) participates in the function server core network by analyzing the sip message head, with the participation function server of forwards to the instant message client ownership.
6. instant message processing method according to claim 4 is characterized in that, described step B) also comprise the following steps:
Step B1) the participation function server of instant message client ownership is initiated server response SIP 202 Accepted message by the core network at place to message after receiving message;
Step B2) core network that participates in function server is initiated SIP 202Accepted forwards the core network of server by analyzing the sip message head to message;
Step B3) core network of message initiation server is initiated server with SIP 202Accepted forwards to message by analyzing the sip message head.
7. according to each described instant message processing method of claim 1 to 3, it is characterized in that described step B) further comprising the steps of:
After the participation function server of instant message client ownership judges that message priority is not more than preferential other set point of default and abandons message, initiate server response SIP 603 Decline message, finish then to message.
8. according to each described instant message processing method of claim 1 to 3, it is characterized in that described step B) further comprising the steps of:
The participation function server of instant message client ownership has different memory times according to the other message of the different priorities of default, be set the memory time of the other message of different priorities, just store the participation function server of instant message client ownership then into, when instant message client is not logined when reaching memory time, this message is deleted from the participation function server of instant message client ownership.
9. instant message processing method according to claim 3 is characterized in that, described step C) may further comprise the steps:
Step C1) instant message client uses professional success to the participation function server registration of its ownership;
Step C2) participates in function server and according to priority in the offline storage message of storage, do not find out the deferred information that need directly be pushed to instant message client;
Step C3) sets up message session trunk protocol data channel between Gui Shu participation function server and the instant message client;
Step C4) Gui Shu participation function server sends to instant message client after by message session trunk protocol data channel message being encapsulated;
Step C5) instant message client is responded MSRP200OK message to the participation function server of ownership;
Step C6) after instant messaging communication finishes, disconnects message session trunk protocol data channel between the participation function server of ownership and the instant message client.
10. instant message processing method according to claim 3 is characterized in that, described step C) further comprising the steps of:
The message of the participation function server structure SIP MESSAGE form of instant message client ownership sends to instant message client.
11. instant message processing method according to claim 3 is characterized in that, described step C) further comprising the steps of:
The participation function server of instant message client ownership is pushed to client with the system message of storage with common message, before the high system message of priority level is presented at.
12. instant message processing method according to claim 3 is characterized in that, described step C) further comprising the steps of:
The participation function server of instant message client ownership with the system message of storage with common message, issue the deferred information notice earlier, and then select to obtain deferred information by instant message client, the high system message of priority is presented at the front of deferred information notice.
13. an immediate news systems comprises client, message is initiated the participation function server of server and client side's ownership, it is characterized in that described participation function server comprises priority judging treatmenting module (1);
Priority judging treatmenting module (1) be used for the priority of message is judged, and the priority level according to message sends to client with message when client is online; When client is not online, judge that according to the priority parameters in the message whether the priority level of message is greater than the priority level of setting, when greater than the priority level set, store described message, when client signs in to the participation function server of ownership, message is sent to client.
14. immediate news systems according to claim 13 is characterized in that, described participation function server also comprises message storage module (2);
Message storage module (2) when being used for when client not online and described message priority not greater than the priority level set, is stored described message; And when client signs in to attribution server, by priority judging treatmenting module (1) from wherein reading described message.
15. according to claim 13 or 14 described immediate news systems, it is characterized in that, the initial session protocol core network that also comprises the participation function server place of client and ownership thereof, and message is initiated the initial session protocol core network at server place.
16., it is characterized in that described participation function server comprises the server with participation function of client ownership and the server with deferred information function according to claim 13 or 14 described immediate news systems.
17., it is characterized in that it is the controlled function server that described message is initiated server, perhaps other client attribution server, the perhaps particular server of operator according to claim 13 or 14 described immediate news systems.
CNB2006100012860A 2006-01-12 2006-01-12 Instant message system and message processing method Active CN100484105C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100012860A CN100484105C (en) 2006-01-12 2006-01-12 Instant message system and message processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100012860A CN100484105C (en) 2006-01-12 2006-01-12 Instant message system and message processing method

Publications (2)

Publication Number Publication Date
CN1863174A CN1863174A (en) 2006-11-15
CN100484105C true CN100484105C (en) 2009-04-29

Family

ID=37390504

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100012860A Active CN100484105C (en) 2006-01-12 2006-01-12 Instant message system and message processing method

Country Status (1)

Country Link
CN (1) CN100484105C (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102195787B (en) * 2010-03-17 2013-09-11 华为技术有限公司 Message processing method and message session relay protocol server
CN101834859A (en) * 2010-04-16 2010-09-15 王家焱 System and method for actively releasing contents by server
CN102185801A (en) * 2011-05-19 2011-09-14 深圳市蓝凌软件股份有限公司 Information processing method in instant messaging and instant messaging tool
US8407306B1 (en) * 2012-06-25 2013-03-26 Google Inc. Systems and methods for managing message delivery based on message priority
CN103023756B (en) * 2012-12-07 2016-09-07 百度在线网络技术(北京)有限公司 Message treatment method based on instant messaging, system, client and server
CN103973461A (en) * 2013-02-06 2014-08-06 阿里巴巴集团控股有限公司 Notification message pushing method and message server
CN104065628B (en) * 2013-03-22 2017-08-11 腾讯科技(深圳)有限公司 Conversation processing method and device
CN104123296A (en) * 2013-04-26 2014-10-29 阿里巴巴集团控股有限公司 Method and device for generating message indexes so as to present messages to receiver
CN104796435A (en) * 2015-05-08 2015-07-22 集怡嘉数码科技(深圳)有限公司 Message pushing method and message server
CN105072019A (en) * 2015-07-24 2015-11-18 北京元心科技有限公司 Processing method and processing system for instant communication messages
CN105868247A (en) * 2015-12-15 2016-08-17 乐视网信息技术(北京)股份有限公司 Information display method and apparatus
CN107147504A (en) * 2017-03-31 2017-09-08 北京奇艺世纪科技有限公司 A kind of information push method and device
CN107426309B (en) * 2017-07-17 2019-02-01 北京深思数盾科技股份有限公司 A kind of information synchronization method, apparatus and system
CN111092802B (en) * 2018-10-23 2022-09-16 中国移动通信有限公司研究院 Message interaction method, sending equipment and receiving equipment

Also Published As

Publication number Publication date
CN1863174A (en) 2006-11-15

Similar Documents

Publication Publication Date Title
CN100484105C (en) Instant message system and message processing method
CN101088304B (en) A method and arrangement for providing communication group information to a client
CN100488177C (en) Method and device for realizing pocket transmission news service
US9397968B2 (en) Method for processing deferred message
CN101578891B (en) Method and system for establishing session for message communication between converged ip messaging service client and short messaging service client
CN102958107B (en) A kind of method of capability query, communication terminal and application server
US8176147B2 (en) Method and messaging system for managing media contents in uniform storage
CN1794722B (en) Method of transfering off-line message and instant message server
CN1859380B (en) Method for obtaining off line message
US9426295B2 (en) Method and device for distributing mobile attendant call
US20060171380A1 (en) Method and system for integrated communications with access control list, automatic notification and telephony services
US7991848B2 (en) Method and apparatus for sending instant message disposition notification request and response in a converged-IP messaging service and system thereof
US9426108B2 (en) Method for storing conversation upon user&#39;s request in CPM system, and system thereof
US20080270553A1 (en) Method and System for Instant Notification of Communication Block Information
US20080114835A1 (en) Method and system for using chat room in instant message system by instant message user not belonging to the instant message system
CN102299810B (en) Method and system for notifying group change event
CN1997009A (en) A filtering method for instant message
CN101199185A (en) Multimedia transfer for wireless networks
CN101232465A (en) Method for transmitting document in conference system, document transmitting system and conference server
CN102138315A (en) Service sharing among IMS users
CN102388631A (en) System and method for establishing session upon satisfaction of particular conditions
US20150149552A1 (en) Method and apparatus for establishing a social relationship in a social service providing system
CN106161201B (en) method, device and system for participating in group chat by using mailbox account as identifier
CN101834730A (en) Multimedia conferencing control method and system
CN102065099B (en) Signaling and bearing separated communication system

Legal Events

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