CN102195787B - Message processing method and message session relay protocol server - Google Patents

Message processing method and message session relay protocol server Download PDF

Info

Publication number
CN102195787B
CN102195787B CN 201010127174 CN201010127174A CN102195787B CN 102195787 B CN102195787 B CN 102195787B CN 201010127174 CN201010127174 CN 201010127174 CN 201010127174 A CN201010127174 A CN 201010127174A CN 102195787 B CN102195787 B CN 102195787B
Authority
CN
China
Prior art keywords
meeting
meeting message
message
time
information
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
CN 201010127174
Other languages
Chinese (zh)
Other versions
CN102195787A (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 CN 201010127174 priority Critical patent/CN102195787B/en
Publication of CN102195787A publication Critical patent/CN102195787A/en
Application granted granted Critical
Publication of CN102195787B publication Critical patent/CN102195787B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a message processing method and a message session relay protocol server. The method comprises the following steps of: querying a session message comprising first time information from the stored session messages according to the logout time and login time of user equipment, wherein the first time information comprises the information of time between the logout time and thelogin time; and transmitting the session message comprising the first time information to the user equipment. In the technical scheme of the embodiment of the invention, the session message comprising the first time information is queried from the stored session messages according to the logout time and the login time, the first time information comprises the information of the time between the logout time and the login time, and the session message comprising the first time information is transmitted to the user equipment (UE), thereby enabling the UE to obtain the session message in the offline period of the UE.

Description

Message treatment method and message session transfer protocol server
Technical field
The embodiment of the invention relates to communication technical field, particularly a kind of message treatment method and message session transfer protocol server.
Background technology
In the technology of IP multimedia system meeting-place (IP Multimedia Subsystem Conference), message session host-host protocol (Message Session Rely Protocol, hereinafter to be referred as: MSRP) server can be set up the meeting-place under the cooperation of conference applications server (Conference Application Server), and realize that a plurality of subscriber equipmenies are arranged (User Equipment, hereinafter to be referred as: the UE) meetings and activities of Can Yuing.
Be example with a UE, the 2nd UE and the 3rd UE conference participation activity, a UE sends to the MSRP server with meeting message, and MSRP is transmitted to the 2nd UE and the 3rd UE with meeting message, and abandons this meeting message.At this moment, the 2nd UE is in line states, and then the success of MSRP server is transmitted meeting message to the 2nd UE, makes the 2nd UE receive meeting message.The 3rd UE is in off-line state, and then the MSRP server is transmitted the meeting message failure to the 3rd UE.After this, when the 3rd UE reached the standard grade, because the MSRP server has abandoned the meeting message during the 3rd UE off-line, then the 3rd UE can't obtain the meeting message during the off-line.
Can't obtain the meeting message during this UE off-line when reaching the standard grade again behind the UE off-line in the prior art in sum.
Summary of the invention
The embodiment of the invention provides a kind of message treatment method and message session transfer protocol server, with so that UE obtains the meeting message during this UE off-line when reaching the standard grade.
The embodiment of the invention provides a kind of message treatment method, comprising:
According to off-line time and the on-line time of subscriber equipment, from the meeting message of storage, inquire the meeting message that comprises very first time information, described very first time information comprises the temporal information that is between described off-line time and the described on-line time;
The described meeting message of very first time information that comprises is sent to described subscriber equipment.
The embodiment of the invention provides a kind of message session transfer protocol server, comprising:
Enquiry module, be used for off-line time and on-line time according to subscriber equipment, inquire the meeting message that comprises very first time information from the meeting message of storage, described very first time information comprises the temporal information that is between described off-line time and the described on-line time;
Sending module is used for the described meeting message of very first time information that comprises is sent to described subscriber equipment.
In the technical scheme of present embodiment, from the meeting message of storage, inquire the meeting message that comprises very first time information according to off-line time and on-line time, this very first time information comprises the temporal information that is between this off-line time and this on-line time, and this meeting message that comprises very first time information sent to UE, thereby realized making the meeting message during UE obtains this UE off-line.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do one to the accompanying drawing of required use in embodiment or the description of the Prior Art below introduces simply, apparently, accompanying drawing in describing below is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
The flow chart of a kind of message treatment method that Fig. 1 provides for the embodiment of the invention one;
The flow chart of a kind of message treatment method that Fig. 2 provides for the embodiment of the invention two;
The flow chart of a kind of message treatment method that Fig. 3 provides for the embodiment of the invention three;
The structural representation of a kind of MSRP server that Fig. 4 provides for the embodiment of the invention four;
The structural representation of a kind of MSRP server that Fig. 5 provides for the embodiment of the invention five;
The structural representation of a kind of MSRP server that Fig. 6 provides for the embodiment of the invention six.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
The flow chart of a kind of message treatment method that Fig. 1 provides for the embodiment of the invention one, as shown in Figure 1, this method comprises:
Step 101, MSRP server inquire the meeting message that comprises very first time information according to off-line time and the on-line time of UE from the meeting message of storage, this very first time information comprises the temporal information that is between this off-line time and this on-line time.
In the present embodiment, carry out in the process in meeting, the MSRP server can be stored meeting message.When reaching the standard grade again behind the UE off-line, the MSRP server can inquire from the meeting message of storage and comprise the meeting message that is in the temporal information between this off-line time and this on-line time.
Step 102, MSRP server send to UE with the meeting message that this comprises very first time information.
In the present embodiment, the MSRP server will comprise that the meeting message that is in the temporal information between this off-line time and this on-line time sends to UE, so that UE can obtain the meeting message during this UE off-line when reaching the standard grade.
In the technical scheme of present embodiment, from the meeting message of storage, inquire the meeting message that comprises very first time information according to off-line time and on-line time, this very first time information comprises the temporal information that is between this off-line time and this on-line time, and this meeting message that comprises very first time information sent to UE, thereby realized making the meeting message during UE obtains this UE off-line.
The flow chart of a kind of message treatment method that Fig. 2 provides for the embodiment of the invention two, as shown in Figure 2, this method comprises:
Step 201, MSRP server receive the meeting message of each UE transmission that participates in a conference.
Step 202, MSRP server are that the meeting message that receives arranges temporal information, so that the meeting message that receives comprises the temporal information of setting.
In the present embodiment, MSRP is the time that the temporal information of meeting message setting can receive this meeting message for the MSRP server, and this temporal information can be timestamp.
The MSRP server can add temporal information in the message header of meeting message to.
Step 203, MSRP server are stored the meeting message that receives.
In the present embodiment, the MSRP server can directly be stored in meeting message MSRP server this locality, and for example: the MSRP server can be with the meeting message stores in the disk of MSRP server.Perhaps the MSRP server can be with the meeting message stores in the external network memory device that is arranged in outside the MSRP server, for example: this external network memory device can be disk array, this external network memory device can also not enumerated at this one by one for other storage medium further.For example: in the present embodiment, when the data volume of meeting message hour can be with the meeting message stores in the MSRP server; In can be with the external network memory device of meeting message stores outside the MSRP server when the data volume of meeting message is big.
Perhaps, step 203 can also be carried out by the storage device that is arranged at outside the MSRP server, and this storage device is connected with the MSRP server communication.Then step 203 is: the MSRP server is exported to storage device with the meeting message that receives, and storage device is stored meeting message.Particularly, storage device can directly be stored in storage device this locality with meeting message, and for example: storage device can be with the meeting message stores in the disk of this storage device.Perhaps storage device can be with the meeting message stores in the external network memory device, for example: this external network memory device can be disk array, and this external network memory device can not enumerated at this one by one for other storage medium further.For example: in the present embodiment, when the data volume of meeting message hour can be with the meeting message stores in storage device; In can be with the external network memory device of meeting message stores outside the MSRP server when the data volume of meeting message is big.
In the present embodiment, MSRP server or storage device can be stored meeting message with the form of blocks of files.Then this method also comprises: the mapping relations that MSRP server or storage device are set up and memory time, information identified with the mapping relations of meeting message identifier and meeting message identifier and blocks of files, the meeting message identifier is used for sign meeting message, and the blocks of files sign is used for the blocks of files at sign meeting message place.
Perhaps, in the present embodiment, MSRP server or storage device can be stored meeting message with the form of database table, for example: can be with the meeting message stores in a database table.Then this method also comprises: MSRP server or storage device set up and memory time information and the mapping relations of meeting message identifier and the mapping relations of meeting message identifier and index data record, the meeting message identifier is used for sign meeting message, and index data record is used for sign meeting message in the position of database table.
The off-line time of step 204, MSRP server record UE.
In the present embodiment, when the MSRP server is known the UE off-line, will know that the time of UE off-line is recorded as the off-line time of this UE.
In the present embodiment, the UE off-line comprises UE active off-line, UE goes offline or UE postpones to add meeting.
When UE active off-line, UE sends the off-line notification message to the MSRP server, and the MSRP server is known this UE off-line according to the off-line notification message.
After UE went offline, the MSRP server can't be successfully sends meeting message to this UE, then knew this UE off-line during to this UE transmission meeting message failure when the MSRP server.
UE postpones to add meeting and adds meeting for this UE begins the back in meeting, and is not the situation that added meeting before meeting begins.When UE postpone to add meeting, the MSRP server can think that UE is in off-line state always when beginning from meeting, and then the MSRP server is known this UE off-line when meeting begins.
The on-line time of step 205, MSRP server record UE.
In the present embodiment, when the MSRP server knows that UE reaches the standard grade, will know that time that UE reaches the standard grade is recorded as the on-line time of this UE.
In the present embodiment, carry out in the process in meeting, in the time of need adding meeting as if UE, can send the request message of reaching the standard grade to the MSRP server, the MSRP server receives when reaching the standard grade request message can carry out authentication to UE, knows that when the success of MSRP server authentication and when acknowledge message is reached the standard grade in the UE transmission UE reaches the standard grade.In other words, on finishing UE during line process the MSRP server know that UE reaches the standard grade.
Step 206, MSRP server inquire the meeting message that comprises very first time information according to off-line time and on-line time, and this very first time information comprises the temporal information that is in off-line time and on-line time.
In the present embodiment, when the MSRP server knows that UE reaches the standard grade after off-line, can inquire the meeting message that comprises the temporal information that is between off-line time and the on-line time, this comprises that the meeting message of the temporal information that is between off-line time and the on-line time is the meeting message during the UE off-line.In the present embodiment, when the MSRP server is stored meeting message, can inquire the meeting message that comprises very first time information according to off-line time and on-line time by the MSRP server.When by storage device meeting message being stored, the MSRP server passes through storage device according to off-line time and on-line time and inquires the meeting message that comprises very first time information.Particularly, the MSRP server sends the external inquiry request to storage device, and this external inquiry request comprises off-line time and on-line time; Storage device inquires the meeting message that comprises very first time information according to off-line time and on-line time, and the meeting message that comprises very first time information that will inquire returns to the MSRP server.
When the MSRP server was stored meeting message with the form of blocks of files, the MSRP server was according to off-line time and on-line time, inquired the corresponding meeting message identifier of very first time information from the mapping relations of temporal information and meeting message identifier; From the mapping relations of meeting message identifier and blocks of files sign, inquire this meeting message identifier corresponding file block identification; Inquire first blocks of files from the blocks of files of storage, first blocks of files comprises the blocks of files that this meeting message identifier corresponding file block identification identifies, and inquires the meeting message that comprises very first time information from first blocks of files.
When storage device was stored meeting message with the form of blocks of files, storage device received the external inquiry request that the MSRP server sends, and this external inquiry request comprises off-line time and on-line time; According to off-line time and on-line time, from the mapping relations of temporal information and meeting message identifier, inquire the corresponding meeting message identifier of very first time information; From the mapping relations of meeting message identifier and blocks of files sign, inquire this meeting message identifier corresponding file block identification; From the blocks of files of storage, inquire first blocks of files, this first blocks of files comprises the blocks of files that this meeting message identifier corresponding file block identification identifies, from described first blocks of files, inquire the meeting message that comprises very first time information, and the meeting message that comprises very first time information that will inquire returns to the MSRP server.
When the MSRP server was stored meeting message with the form of database table, the MSRP server was according to off-line time and on-line time, inquired the corresponding meeting message identifier of very first time information from the mapping relations of temporal information and meeting message identifier; From the mapping relations of meeting message identifier and index data record, inquire the index data record of this meeting message identifier correspondence; From the database table of storage, inquire the meeting message that comprises very first time information according to this index data record.Wherein, this index data record is used for sign and comprises that the meeting message of very first time information is in the position of database table.
When storage device was stored meeting message with the form of database table, storage device received the external inquiry request that the MSRP server sends, and this external inquiry request comprises off-line time and on-line time; According to off-line time and on-line time, from the mapping relations of temporal information and meeting message identifier, inquire the corresponding meeting message identifier of very first time information; From the mapping relations of meeting message identifier and index data record, inquire the index data record of this meeting message identifier correspondence; From the database table of storage, inquire the meeting message that comprises very first time information according to this index data record, and the meeting message that comprises very first time information that will inquire returns to the MSRP server.Wherein, this index data record is used for sign and comprises that the meeting message of very first time information is in the position of database table.
Step 207, MSRP server send to UE with the meeting message that this comprises very first time information.
In the present embodiment, carry out in the process in meeting, the MSRP server can continue execution in step 201, until meeting adjourned.Therefore the execution sequence of each step is a kind of example only in the present embodiment, and should not become the restriction to embodiment of the invention technical scheme.
Further, in the present embodiment, when the MSRP server with the meeting message stores when the MSRP server is local, the meeting message of storage can be backuped in the external network memory device.During meeting information drop-out in being stored in the MSRP server, the MSRP server can obtain meeting message from the external network memory device.
In the embodiment of the invention, the MSRP server can also be according to setting the meeting message of storing each UE transmission that participates in a conference, such as, certain UE that participates in a conference need store the meeting message of certain special time period, as: the meeting message of each UE transmission that participates in a conference in 1 hour to 2 hours after meeting begins, or certain UE that participates in a conference need store the meeting message that some specific UE send, as: the UE1 that participates in a conference only need store the meeting message that UE2 sends.Wherein Cun Chu process is identical with embodiment of the invention said process.
In the technical scheme of present embodiment, the MSRP server is that the meeting message that receives arranges temporal information, and meeting message stored, off-line time and the on-line time of recording user equipment, inquire the meeting message that comprises very first time information according to off-line time and on-line time, this very first time information comprises the temporal information that is between off-line time and the on-line time, and the meeting message that will comprise very first time information sends to UE, thereby realized making the meeting message during UE obtains off-line.In the present embodiment, when the meeting message stores is in the MSRP server, the meeting message of storage can also be backuped in the external network memory device, the MSRP server can obtain meeting message from the external network memory device when the meeting information drop-out in the MSRP server, thereby has guaranteed the reliability of meeting message stores.
The embodiment of the invention three provides a kind of message treatment method, and UE can be first UE, the 2nd UE or the 3rd UE in the present embodiment, is that example is described message treatment method with a UE, the 2nd UE and the 3rd UE conference participation.The flow chart of a kind of message treatment method that Fig. 3 provides for the embodiment of the invention three, as shown in Figure 3, this method comprises:
Step 301, a UE send meeting to the conference applications server and set up request.
After the success of request authentication is set up in the meeting that step 302, conference applications server send a UE, set up the meeting of asking for meeting and distribute meeting identification, and the meeting request of setting up sent to the MSRP server, this meeting request of setting up comprises meeting identification.
Step 303, MSRP server are set up meeting.
Step 304, MSRP server return meeting to the conference applications server and set up affirmation, and this meeting is set up and confirmed to comprise meeting identification.
Step 305, conference applications server are set up meeting and are confirmed to return to a UE.
In the present embodiment, confirm to comprise meeting identification to the meeting foundation that a UE returns, so that a UE obtains meeting identification.
Step 306, a UE send the notification message of the 2nd UE to the MSRP server by the conference applications server.
The notification message of the 2nd UE is used for inviting the 2nd UE to add the meeting of having set up.
Step 307, MSRP server send the notification message of the 2nd UE to the 2nd UE, and this notification message comprises meeting identification.
In the present embodiment, the notification message of the 2nd UE that sends to the 2nd UE comprises meeting identification, so that the 2nd UE obtains meeting identification.
Step 308, the 2nd UE adhere to meeting according to the notification message of the 2nd UE, and return the affirmation message of the 2nd UE to the MSRP server.
Step 309, a UE send the notification message of the 3rd UE to the MSRP server by the conference applications server.
Step 310, MSRP server send the notification message of the 3rd UE to the 3rd UE, when the MSRP server time is known the 3rd UE off-line to the notification message failure that the 3rd UE sends the 3rd UE, and will know that the time of the 3rd UE off-line is recorded as the off-line time of the 3rd UE.
Step 311, a UE send to the MSRP server with the first meeting message.
Step 312, MSRP server are that the first meeting message arranges the first meeting message temporal information, so that this first meeting message comprises the first meeting message temporal information, and this first meeting message are stored.
Step 313, MSRP server send to the 2nd UE with the first meeting message.
Step 314, the 2nd UE send to the MSRP server with the second meeting message.
Step 315, MSRP server are that the second meeting message arranges the second meeting message temporal information, so that the second meeting message comprises the second meeting message temporal information, and this second meeting message are stored.
Step 316, MSRP server send to a UE with the second meeting message.
Step 317, the 3rd UE send the request message of reaching the standard grade to the MSRP server.
Step 318, MSRP server carry out authentication to the 3rd UE, send the acknowledge message of reaching the standard grade to the 3rd UE when the success of MSRP server authentication, and this acknowledge message of reaching the standard grade can comprise meeting identification.
In the present embodiment, the 3rd UE reaches the standard grade successfully after receiving the acknowledge message of reaching the standard grade, and the 3rd UE postpones to add meeting.This acknowledge message of reaching the standard grade can comprise meeting identification, and then the 3rd UE can obtain meeting identification from the acknowledge message of reaching the standard grade.
Step 319, MSRP server send to the 3rd UE knows that the 3rd UE reaches the standard grade when reaching the standard grade acknowledge message, and will know that time that the 3rd UE reaches the standard grade is recorded as the on-line time of the 3rd UE.
Step 320, because the first meeting message temporal information and the second meeting message temporal information are between the on-line time of off-line time of the 3rd UE and the 3rd UE, the MSRP server is according to the off-line time of the 3rd UE and the on-line time of the 3rd UE, inquire between the on-line time of off-line time of the 3rd UE and the 3rd UE one and have two meeting message, be respectively the first meeting message and the second meeting message, namely at this moment the temporal information between the on-line time of off-line time of the 3rd UE and the 3rd UE is considered as very first time information, the first meeting message and the second meeting message are the meeting message that comprises very first time information.
Step 321, MSRP server send to the 3rd UE with the first meeting message and the second meeting message.
Step 322, the 2nd UE off-line, and send the off-line notification message of the 2nd UE to the MSRP server.
Step 323, MSRP server are known the 2nd UE off-line according to the off-line notification message of the 2nd UE, and the time of the 2nd UE off-line that will know is recorded as the off-line time of the 2nd UE.
Step 324, the 3rd UE send to the MSRP server with the 3rd meeting message.
Step 325, MSRP server are that the 3rd meeting message arranges the 3rd meeting message temporal information, so that the 3rd meeting message comprises the 3rd meeting message temporal information, and the 3rd meeting message are stored.
Step 326, MSRP server send to a UE with the second meeting message.
Step 327, the 2nd UE send the request message of reaching the standard grade to the MSRP server.
Step 328, MSRP server carry out authentication to the 2nd UE, send the acknowledge message of reaching the standard grade to the 2nd UE when the success of MSRP server authentication.
In the present embodiment, the 2nd UE reaches the standard grade successfully after receiving the acknowledge message of reaching the standard grade.
Step 329, MSRP server send to the 2nd UE knows that the 2nd UE reaches the standard grade when reaching the standard grade acknowledge message, and will know that time that the 2nd UE reaches the standard grade is recorded as the on-line time of the 2nd UE.
Step 330, since the 3rd meeting message temporal information between the on-line time of off-line time of second UE and the 2nd UE, the MSRP server inquires between the on-line time of off-line time of the 2nd UE and the 2nd UE one according to the on-line time of off-line time of the 2nd UE and the 2nd UE and has a meeting message, namely comprises the 3rd meeting message of the 3rd meeting message temporal information.
Step 331, MSRP server send to the 2nd UE with the 3rd meeting message.
Step 332, a UE by the conference applications server to the request that sends that meeting adjourned of MSRP server.
Step 333, the meeting of MSRP server closing, and pass through the conference applications server and close affirmation to UE transmission meeting.
Further, the method for present embodiment can also comprise:
Step 334, the 3rd UE send the request of meeting information query to the MSRP server, and this meeting information query request comprises meeting identification, inquiry zero-time and poll-final time.
In the present embodiment, meeting identification is used for the sign meeting.
After meeting was closed, each UE can also be to the meeting message in the MSRP server lookup meeting.In the present embodiment, the 3rd UE need inquire about and comprise the meeting message that is in inquiry zero-time and the temporal information of poll-final between the time.
Step 335, MSRP server inquire the meeting message in the meeting that this meeting identification identifies from the meeting message of storage.
Owing to can store the meeting message of a plurality of meetings in the MSRP server, therefore can pass through meeting identification and inquire meeting message in the meeting that this meeting identification identifies, in the present embodiment, the meeting message that meeting identification identifies in the meeting can comprise the first meeting message, the second meeting message and the 3rd meeting message.
Step 336, MSRP server are according in inquiry zero-time and the meeting message of poll-final time from the meeting that meeting identification identifies, inquire the meeting message that comprises second temporal information, this second temporal information comprises being in inquires about zero-time and the temporal information of poll-final between the time.
For example: when second temporal information comprises the first meeting message temporal information and the second meeting message temporal information, the MSRP server lookup goes out to comprise the first meeting message of the first meeting message temporal information and comprises the second meeting message of the second meeting message temporal information, i.e. MSRP server lookup is to comprising all meeting message of second temporal information.
Step 337, MSRP server will comprise that the meeting message of second temporal information sends to the 3rd UE.
In the technical scheme of present embodiment, the MSRP server is stored the first meeting message, the second meeting message, the 3rd meeting message that receive, the MSRP server can send to the 3rd UE with the first meeting message during the 3rd UE off-line and the second meeting message when the 3rd UE reaches the standard grade, and the MSRP server can send to the 2nd UE with the 3rd meeting message during the 2nd UE off-line when the 2nd UE reaches the standard grade, thereby obtains the meeting message during the off-line when having realized UE is reached the standard grade.
The structural representation of a kind of MSRP server that Fig. 4 provides for the embodiment of the invention four, as shown in Figure 4, this MSRP server comprises: enquiry module 11 and sending module 12.
Enquiry module 11 inquires the meeting message that comprises very first time information according to off-line time and the on-line time of UE from the meeting message of storage, this very first time information comprises the temporal information that is between off-line time and the on-line time.
Sending module 12 will comprise that the meeting message of very first time information sends to UE.
The MSRP server of present embodiment inquires the meeting message that comprises very first time information according to off-line time and on-line time from the meeting message of storage, this very first time information comprises the temporal information that is between this off-line time and this on-line time, and this meeting message that comprises very first time information sent to UE, thereby realized making the meeting message during UE obtains this UE off-line.
The structural representation of a kind of MSRP server that Fig. 5 provides for the embodiment of the invention five, as shown in Figure 5, present embodiment MSRP server also comprises on the basis of above-described embodiment four: receiver module 13, module 14 and memory module 15 are set.
Receiver module 13 is used for receiving meeting message.
Module 14 is set, and the meeting message that is used to receiver module 13 to receive arranges temporal information, so that the meeting message that receives comprises the temporal information of setting.
Memory module 15 is used for the meeting message that receives is stored.Particularly, memory module 15 can directly be stored in meeting message in the memory module 15; Perhaps memory module 15 can be with the meeting message stores in the external network memory device that is arranged in outside the MSRP server.
Further, this MSRP server can also comprise: logging modle 16.Logging modle 16 is used for off-line time and the on-line time of record UE, and off-line time and on-line time are exported to enquiry module 11.
Further, receiver module 13 also can receive the meeting information query request that UE sends, and this meeting information query request comprises meeting identification, inquiry zero-time and poll-final time, and this meeting identification is used for the sign meeting.Enquiry module 11 inquires the meeting message in the meeting that meeting identification identifies from the meeting message of storage, according to inquiring the meeting message that comprises second temporal information in inquiry zero-time and the meeting message of poll-final time from the meeting that meeting identification identifies, second temporal information comprises being in inquires about zero-time and the temporal information of poll-final between the time.Sending module 12 will comprise that the meeting message of second temporal information sends to UE.
Further, the MSRP server also comprises: set up module 17.
When memory module 15 is stored meeting message with the form of blocks of files, set up the mapping relations of module information 17 settling time and meeting message identifier and the mapping relations of meeting message identifier and blocks of files sign, the meeting message identifier is used for sign meeting message, and the blocks of files sign is used for the blocks of files at sign meeting message place.Temporal information and the mapping relations of meeting message identifier and the mapping relations of meeting message identifier and blocks of files sign that module 17 is set up are set up in memory module 15 storages.Enquiry module 11 according to off-line time and on-line time from the mapping relations of the temporal information of memory module 15 storages and meeting message identifier, inquire the meeting message identifier of very first time information correspondence, from the mapping relations of meeting message identifier and blocks of files sign, inquire this meeting message identifier corresponding file block identification, from the blocks of files of storage, inquire first blocks of files, this first blocks of files comprises the blocks of files that this meeting message identifier corresponding file block identification identifies, and inquires the meeting message that comprises very first time information from described first blocks of files.
When memory module 15 is stored meeting message with the form of database table, set up the mapping relations of module information 17 settling time and meeting message identifier and the mapping relations of meeting message identifier and index data record, the meeting message identifier is used for sign meeting message, and index data record is used for sign meeting message in the position of database table.Temporal information and the mapping relations of meeting message identifier and the mapping relations of meeting message identifier and index data record that module 17 is set up are set up in memory module 15 storages.Enquiry module 11 inquires the corresponding meeting message identifier of very first time information according to off-line time and on-line time from the mapping relations of the temporal information of memory module 15 storages and meeting message identifier, from the mapping relations of meeting message identifier and index data record, inquire the corresponding index data record of this meeting message identifier, from the database table of storage, inquire the meeting message that comprises very first time information according to this index data record.Wherein, this index data record is used for sign and comprises that the meeting message of very first time information is in the position of database table.
The MSRP server of present embodiment is that the meeting message that receives arranges temporal information, and meeting message stored, off-line time and the on-line time of recording user equipment, inquire the meeting message that comprises very first time information according to off-line time and on-line time, this very first time information comprises the temporal information that is between off-line time and the on-line time, and the meeting message that will comprise very first time information sends to UE, thereby realized making the meeting message during UE obtains this UE off-line.
The structural representation of a kind of MSRP server that Fig. 6 provides for the embodiment of the invention six, as shown in Figure 6, present embodiment MSRP server also comprises on the basis of above-described embodiment four: receiver module 13 and module 14 is set.
Receiver module 13 is used for receiving meeting message.
Module 14 is set, the meeting message that is used to receiver module 13 to receive arranges temporal information, so that the meeting message that receives comprises the temporal information of setting, and the meeting message that receives exported to the storage device that is arranged at outside the MSRP server, for storage device the meeting message that receives is stored.Particularly, storage device can directly be stored in meeting message in the storage device; Perhaps storage device can be with the meeting message stores in the external network memory device that is arranged in outside the MSRP server.
In the present embodiment, when by storage device meeting message being stored, enquiry module 11 passes through storage device and inquires the meeting message that comprises very first time information.Particularly, enquiry module 11 sends the external inquiry request to storage device, and this external inquiry request comprises off-line time and on-line time; Storage device
Storage device receives enquiry module 11 and inquires the meeting message that comprises very first time information according to off-line time and on-line time, and the meeting message that comprises very first time information that will inquire returns to enquiry module 11.
Further, this MSRP server can also comprise: logging modle 16.Logging modle 16 is used for off-line time and the on-line time of record UE, and off-line time and on-line time are exported to enquiry module 11.
Further, receiver module 13 also can receive the meeting information query request that UE sends, and this meeting information query request comprises meeting identification, inquiry zero-time and poll-final time, and this meeting identification is used for the sign meeting.Enquiry module 11 inquires the meeting message in the meeting that meeting identification identifies from the meeting message of storage, according to inquiring the meeting message that comprises second temporal information in inquiry zero-time and the meeting message of poll-final time from the meeting that meeting identification identifies, second temporal information comprises being in inquires about zero-time and the temporal information of poll-final between the time.Sending module 12 will comprise that the meeting message of second temporal information sends to UE.
Further, when storage device is stored meeting message with the form of blocks of files, the mapping relations that storage device is set up and memory time, information identified with the mapping relations of meeting message identifier and meeting message identifier and blocks of files, the meeting message identifier is used for sign meeting message, and the blocks of files sign is used for the blocks of files at sign meeting message place.Storage device receives the external inquiry request that enquiry module 11 sends, and this external inquiry request comprises off-line time and on-line time.Storage device according to off-line time and on-line time from the mapping relations of the temporal information of storage and meeting message identifier, inquire the meeting message identifier of very first time information correspondence, from the mapping relations of meeting message identifier and blocks of files sign, inquire this meeting message identifier corresponding file block identification, from the blocks of files of storage, inquire first blocks of files, this first blocks of files comprises the blocks of files that this meeting message identifier corresponding file block identification identifies, from described first blocks of files, inquire the meeting message that comprises very first time information, and the meeting message that comprises very first time information that will inquire returns to enquiry module 11.
Further, when storage device is stored meeting message with the form of database table, storage device set up and memory time information and the mapping relations of meeting message identifier and the mapping relations of meeting message identifier and index data record, the meeting message identifier is used for sign meeting message, and index data record is used for sign meeting message in the position of database table.Storage device receives the external inquiry request that enquiry module 11 sends, and this external inquiry request comprises off-line time and on-line time.Storage device inquires the corresponding meeting message identifier of very first time information according to off-line time and on-line time from the mapping relations of the temporal information of storage and meeting message identifier, from the mapping relations of meeting message identifier and index data record, inquire the corresponding index data record of this meeting message identifier, from the database table of storage, inquire the meeting message that comprises very first time information according to this index data record, and the meeting message that comprises very first time information that will inquire returns to enquiry module 11.Wherein, this index data record is used for sign and comprises that the meeting message of very first time information is in the position of database table.
The difference of present embodiment and above-described embodiment five is that present embodiment is stored the meeting message that receives by the storage device that is arranged at outside the MSRP server, thereby has reduced the load of MSRP server, and has improved MSRP server reliability of operation.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment puts down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (10)

1. a message treatment method is characterized in that, comprising:
According to off-line time and the on-line time of subscriber equipment, from the meeting message of storage, inquire the meeting message that comprises very first time information, described very first time information comprises the temporal information that is between described off-line time and the described on-line time;
The described meeting message of very first time information that comprises is sent to described subscriber equipment;
Receive the meeting information query request that described subscriber equipment sends, the request of described meeting information query comprises meeting identification, inquiry zero-time and poll-final time, and described meeting identification is used for the sign meeting;
From the meeting message of described storage, inquire the meeting message in the meeting that described meeting identification identifies;
According to described inquiry zero-time and described poll-final time, inquire the meeting message that comprises second temporal information in the meeting message from the meeting that described meeting identification identifies, described second temporal information comprises and is in described inquiry zero-time and the temporal information of described poll-final between the time;
The described meeting message of second temporal information that comprises is sent to described subscriber equipment.
2. method according to claim 1 is characterized in that, also comprises:
For the meeting message that receives arranges temporal information, so that the meeting message that receives comprises the temporal information of setting;
The meeting message that receives is stored.
3. method according to claim 1 and 2 is characterized in that, also comprises:
Record the off-line time of described subscriber equipment and record the on-line time of described subscriber equipment.
4. method according to claim 2 is characterized in that, the described meeting message that receives is stored comprises: the meeting message that receives is stored with the form of blocks of files;
Described method also comprises: set up and mapping relations that memory time, information identified with the mapping relations of meeting message identifier and meeting message identifier and blocks of files, described meeting message identifier is used for sign meeting message, and described blocks of files sign is used for the blocks of files at sign meeting message place;
Described off-line time and on-line time according to subscriber equipment inquire the meeting message that comprises very first time information and comprise from the meeting message of storage: inquire the corresponding meeting message identifier of described very first time information from the mapping relations of described temporal information and meeting message identifier; From the mapping relations of described meeting message identifier and blocks of files sign, inquire described meeting message identifier corresponding file block identification; Inquire first blocks of files from the blocks of files of storage, described first blocks of files comprises the blocks of files that described meeting message identifier corresponding file block identification identifies; From described first blocks of files, inquire the described meeting message that comprises very first time information.
5. method according to claim 2 is characterized in that, the described meeting message that receives is stored comprises: the meeting message that receives is stored with the form of database table;
Described method also comprises: set up and memory time information and the mapping relations of meeting message identifier and the mapping relations of meeting message identifier and index data record, described meeting message identifier is used for sign meeting message, and described index data record is used for sign meeting message in the position of database table;
Described off-line time and on-line time according to subscriber equipment inquire the meeting message that comprises very first time information and comprise from the meeting message of storage: inquire the corresponding meeting message identifier of very first time information from the mapping relations of described temporal information and meeting message identifier; From the mapping relations of meeting message identifier and index data record, inquire the index data record of described meeting message identifier correspondence; From the database table of storage, inquire the meeting message that comprises very first time information according to described index data record.
6. a message session transfer protocol server is characterized in that, comprising:
Enquiry module, be used for off-line time and on-line time according to subscriber equipment, inquire the meeting message that comprises very first time information from the meeting message of storage, described very first time information comprises the temporal information that is between described off-line time and the described on-line time;
Sending module is used for the described meeting message of very first time information that comprises is sent to described subscriber equipment;
Also comprise: receiver module and module is set;
Described receiver module is used for receiving meeting message;
The described module that arranges, the meeting message that is used to described receiver module to receive arranges temporal information, so that the meeting message that receives comprises the temporal information of setting;
Described receiver module also is used for receiving the meeting information query request that described subscriber equipment sends, and the request of described meeting information query comprises meeting identification, inquiry zero-time and poll-final time, and described meeting identification is used for the sign meeting;
Described enquiry module, also be used for inquiring meeting message the meeting that described meeting identification identifies from the meeting message of storage, inquire the meeting message that comprises second temporal information according to described inquiry zero-time and described poll-final time in the meeting message from the meeting that described meeting identification identifies, described second temporal information comprises and is in described inquiry zero-time and the temporal information of described poll-final between the time;
Described sending module also is used for the described meeting message of second temporal information that comprises is sent to described subscriber equipment.
7. message session transfer protocol server according to claim 6 is characterized in that,
The described module that arranges also is used for the meeting message that receives is exported to the storage device that is arranged at outside the described message session transfer protocol server, for described storage device the meeting message that receives is stored; Perhaps
Described message session transfer protocol server also comprises: with described the memory module that module is connected is set, is used for the meeting message that receives is stored.
8. according to claim 6 or 7 described message session transfer protocol servers, it is characterized in that, also comprise: logging modle;
Described logging modle is used for described off-line time of record and described on-line time, and described off-line time and described on-line time are exported to described enquiry module.
9. message session transfer protocol server according to claim 7 is characterized in that, when described memory module was stored the meeting message that receives, described memory module was used for meeting message is stored with the form of blocks of files;
Described message session transfer protocol server also comprises:
Set up module, be used for the mapping relations that settling time, information identified with the mapping relations of meeting message identifier and meeting message identifier and blocks of files;
Described memory module, also be used for described temporal information and the mapping relations of meeting message identifier and the mapping relations of meeting message identifier and blocks of files sign of setting up module foundation of storage, the meeting message identifier is used for sign meeting message, and the blocks of files sign is used for the blocks of files at sign meeting message place;
Described enquiry module, also be used for according to off-line time and on-line time from the temporal information of described memory module storage and the mapping relations of meeting message identifier, inquire the meeting message identifier of very first time information correspondence, from the mapping relations of meeting message identifier and blocks of files sign, inquire this meeting message identifier corresponding file block identification, from the blocks of files of storage, inquire first blocks of files, described first blocks of files comprises the blocks of files that this meeting message identifier corresponding file block identification identifies, and inquires the meeting message that comprises very first time information from described first blocks of files.
10. message session transfer protocol server according to claim 7 is characterized in that, when described memory module was stored the meeting message that receives, described memory module was used for meeting message is stored with the form of database table;
Described message session transfer protocol server also comprises:
Set up module, for settling time information and the mapping relations of meeting message identifier and the mapping relations of meeting message identifier and index data record, the meeting message identifier is used for sign meeting message, and index data record is used for sign meeting message in the position of database table;
Described memory module also is used for described temporal information and the mapping relations of meeting message identifier and the mapping relations of meeting message identifier and index data record of setting up module foundation of storage;
Described enquiry module, also be used for inquiring very first time information corresponding meeting message identifier from the temporal information of described memory module storage with the mapping relations of meeting message identifier according to off-line time and on-line time, from the mapping relations of meeting message identifier and index data record, inquire the corresponding index data record of described meeting message identifier, from the database table of storage, inquire the meeting message that comprises very first time information according to described index data record.
CN 201010127174 2010-03-17 2010-03-17 Message processing method and message session relay protocol server Active CN102195787B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010127174 CN102195787B (en) 2010-03-17 2010-03-17 Message processing method and message session relay protocol server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010127174 CN102195787B (en) 2010-03-17 2010-03-17 Message processing method and message session relay protocol server

Publications (2)

Publication Number Publication Date
CN102195787A CN102195787A (en) 2011-09-21
CN102195787B true CN102195787B (en) 2013-09-11

Family

ID=44603213

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010127174 Active CN102195787B (en) 2010-03-17 2010-03-17 Message processing method and message session relay protocol server

Country Status (1)

Country Link
CN (1) CN102195787B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105391623A (en) * 2015-12-10 2016-03-09 网易(杭州)网络有限公司 Temporary offline session message reservation method, apparatus and system
CN111147875B (en) * 2019-12-25 2022-07-08 视联动力信息技术股份有限公司 Service duration display method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794723A (en) * 2005-10-11 2006-06-28 华为技术有限公司 Processing method of off-line message
CN1863174A (en) * 2006-01-12 2006-11-15 华为技术有限公司 Instant message system and message processing method
CN101106543A (en) * 2007-08-20 2008-01-16 北京亿企通信息技术有限公司 A method for processing offline data in instant communication tool

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7561595B2 (en) * 2005-09-30 2009-07-14 Nokia Corporation Method and apparatus for instant messaging

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794723A (en) * 2005-10-11 2006-06-28 华为技术有限公司 Processing method of off-line message
CN1863174A (en) * 2006-01-12 2006-11-15 华为技术有限公司 Instant message system and message processing method
CN101106543A (en) * 2007-08-20 2008-01-16 北京亿企通信息技术有限公司 A method for processing offline data in instant communication tool

Also Published As

Publication number Publication date
CN102195787A (en) 2011-09-21

Similar Documents

Publication Publication Date Title
CN101841520B (en) Domain name system and information processing method and device for domain name system
CN100558109C (en) The load balancing implementation method and the system of dialogue-based initiation protocol
CN103139326A (en) Method, device and system for tracing internet protocol (IP)
US10078872B2 (en) System and method for managing and processing channel lines in a communication network
CN104113466A (en) Harassing phone call identification method, client, server and system
US8489695B2 (en) Proxy communications on a social network
CN103856440A (en) Message processing method, server and message processing system based on distributed bus
CN108600316B (en) Data management method, system and equipment of cloud storage service
CN105099894A (en) Message pushing method, device and system
CN104348848A (en) Method, terminal equipment and server for managing pictures
CN103414798A (en) Communication method, device and system based on network address translation
CN102143195A (en) Method, device and service system providing service information
CN102195787B (en) Message processing method and message session relay protocol server
CN104883338A (en) Recording control method, and SIP server and recording server
CN103929623A (en) Method for processing video data in video monitoring system
CN109525633B (en) Block chain network, message sending method and message receiving method based on block chain network
CN103986710A (en) Method, device and system for transmitting information
CN102075355B (en) Log system and using method thereof
CN101827068B (en) Business scenario reduction method and device
CN103414836A (en) Processing method and appliance for getting access to teleconference based on IP
CN107222392B (en) Communication method, device, system and computer storage medium
CN101989978A (en) Method, device and system for forwarding data by real time streaming protocol (RTSP) proxy
CN105007448A (en) System and method for recording video conference
CN110913020B (en) Data transmission method and device for workgroup
CN108040000A (en) A kind of information transferring method and equipment

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