The present invention relates to the field of the Multimedia Messaging Service (MMS) interworking of telecommunication industry, particularly to an implementing method for removing duplication protection via an interworking gateway though which forwarding messages are received and according to the returned forwarding response status, and a multimedia messaging service interworking gateway.
At present, China Mobile, China Unicom and other operators have set up MMSC (Multimedia Messaging Service Center) and realized MMS function on the platform. So far, the MMSC is one of the SMS (Short Message Service) technologies with the highest development level, of which the greatest feature is support to multimedia function. The MMSC may transmit video clips, pictures, sound and words in virtue of high speed transmission technology EDCE (Enhanced Data rates for GSM Evolution) and GPRS (General Packet Radio Service) by using WAP as a carrier. Not only the multimedia transmission can be implemented between mobile phones, but the multimedia transmission can also be implemented between mobile phones and computers. In order to implement the interworking of Multimedia Messaging Service (MMS) among different operators, according to the requirements of interconnection subcommittee of ministry of industry and information technology on implementing the MMS interworking, China Mobile, China Unicom and other operators need to set up dedicated Multimedia Messaging Service Interworking Gateway (MMSIG) to support MMS interworking.
During implementing of interworking, as the interworking gateway between two operators lacks a synchronous mechanism in determining of message sending status, causing a same message to be sent repeatedly, and making user experience reduced.
For a sender, after receiving a feedback message, it needs to wait for the next reply signaling before reporting of completing forwarding, as shown in
The object of the present invention is to address the defect of the prior art by providing operators with a method for reducing the repeated sending and repeated billing during the MMS interworking, and in order to remove duplication protection for MMS interworking forwarding message, during transmitting messages on a single-link and double-link, the specific SMTP-interactive-status code is taken as a criterion.
The technical solution of the present invention is as follows:
An implementing method of removing duplication protection for MMS interworking forwarding message, includes the following steps:
A. the original MMSIG sends information to the recipient MMSIG at the opposite end. The information is a forwarding message request;
B. the recipient MMSIG determines a transmission type of a link according to a setting status of the request signaling of the original MMSIG, and determines whether the message is successfully received according to the status-identification-code fed back by the request signaling or a response signaling. If successfully received, then go to step C; if not successfully received, then return to step A; and
C. delivering the normally received information to an MMSC.
In the method, when the recipient MMSIG determines the original MMSIG transmits information on a single link, the recipient MMSIG may determine receiving a status of the information according to the status-identification code fed back by the request signaling.
Further, in the single-link transmitting information mode, an acknowledgement request field in the request signaling may be set to be “NO”, requesting not to return the response signaling, and using the SMTP-interactive-status code of the request signaling as status feedback of message processing.
In the method, the SMTP-interactive-status code may be “250 OK”.
In the method, when the request signaling of the original MMSIG and the response signaling of the recipient MMSIG are transmitted on double links, the recipient MMSIG may determine receiving status of the information according to the status-identification code fed back by the response signaling.
Further, in the double-link transmission mode, an acknowledgement request field in the request signaling may be set to be “YES”, requesting to return the response signaling, and using the SMTP-interactive-status code of the response signaling as the status feedback of message processing.
In the method, the interactive-status code of the response signaling may be “250 OK”.
A system of removing duplication protection for MMS interworking forwarding message, wherein the system comprises an original MMSIG and a recipient MMSIG, and corresponding MMSCs; the original MMSIG and the recipient MMSIG are connected to their corresponding MMSCs respectively. The original MMSIG is used to send information to the recipient MMSIG at an opposite end, wherein the information is a forwarding message request; the recipient MMSIG is used to determine the transmission type of the link of the original MMSIG according to the setting status of the request signaling of the original MMSIG, and to determine whether the information is successfully received according to the status-identification code fed back by the signaling, and to deliver the normally received message to the corresponding MMSC.
In the system, it may further comprise user terminals. The user terminals are connected to the corresponding MMSCs and used to determine according to the SMTP-interactive-status code fed back by the users whether the users have successfully read the information delivered by the MMSC.
An MMSIG, for removing duplication protection for MMS interworking forwarding message, may be respectively used as an originator or a receiver to connect with MMSC. The MMSIG is set as follows:
When the MMSIG is an originator, it sets the status of request signaling and sends information to the opposite MMSIG as a receiver. The information is a forwarding message request. Thereby, the opposite MMSIG as the receiver determines a transmission type of the link of the MMSIG according to the setting status of the request signaling and determines according to the status-identification code fed back by the request signaling or the response signaling whether the information is successfully received. If successfully received, the normally received information will be delivered to the MMSC; and
When the MMSIG is a receiver, it receives the information sent by the opposite MMSIG as an originator. The information is a forwarding message request. The MMSIG determines the transmission type of the link of the opposite MMSIG as an originator according to the setting status of the request signaling of the opposite MMSIG as the originator and determines according to a status-identification code fed back by the request signaling or the response signaling whether the information is successfully received. If successfully received, the normally received information will be delivered to the MMSC.
A method, system and MMSIG of removing the duplication protection for MMS interworking forwarding message are provided by the present invention. The method, system and MMSIG implement information transmission on different links according to the different value of the acknowledgement request field “Acknowledgement Request” of the request signaling using SMTP-interactive-status code as a criterion, to realize the low consuming of system resource, almost no delay and a high success rate of transmitting, and to avoid the problem of user dissatisfaction about repeated retry caused by exception reception of response message at the sending end; meanwhile, when an interworking gateway initiatively originates a forwarding message, the present invention optimizes the request flow and avoids repeated transmission caused by status inconsistency on multiple links.
The present invention provides an implementing method and system of removing the duplication protection for MMS interworking forwarding message. To make the objects, technical solutions and advantages of the present invention more evident and definite, the present invention will be further described in details in conjunction with the following drawings and embodiments.
In order to solve the problem of transmission delay and low transmission success rate caused by the inconsistency between original MMSIG and recipient MMSIG at the opposite end during MMS interworking, the present invention adopts a system and method of synchronous control to optimize conventional message flow, the core of which is to determine whether to return response message according to the different value of the acknowledgement request field “Acknowledgement Request” in the request signaling. When the acknowledgement request field is set to be “NO”, it requests not to return the response message and uses the SMTP-interactive-status code as a criterion; when the acknowledgement request field is set to be “YES”, it requests to return the response message, and determines whether the returned SMTP-sending-status code is received according to the replying status of response signaling, if received then the forwarding is successful, so as to complete the normal service processing and continue the forwarding. As shown in
According to the system, the method adopted by the present invention mainly include: the first step, as an original Multimedia Messaging Service Interworking Gateway (original MMSIG), through setting the field “Acknowledgement Request” in a request signaling message to be “NO”, it requests not to return response message and uses the SMTP-interactive-status code of the request signaling as the status feedback of message processing. “250 OK” means success of sending, while “non 250-OK” means failure of sending, and whether to activate a retry of the sending will be decided according to the type of the error code. As the sending is on the same link, when the request signaling is sent out, there will instantly be an interactive-status code as the status feedback of message processing. Whether the sending is successful is determined based on the reception of this interactive-status code, so as to achieve the intention of no delay and timely transmitting. In conjunction with
step 1: an original MMSIG sends a forwarding message request to an recipient MMSIG at the opposite end;
step 2: the recipient MMSIG receives the forwarding message request and uses the SMTP-interactive-status code of the forwarding message request as the status feedback of message processing. “250 OK” means success of sending. The message status will be switched over to the status for waiting a delivery report, and the multimedia message will be normally delivered to the recipient MMSC. If what received is “non 250-OK”, it means failure of sending, whether to activate retry of sending is determined according to the type of the error code, and returns to step 1;
step 3: the forwarding message request being successfully sent, the recipient MMSIG sends a delivery report request to the original MMSIG and the SMTP-interactive-status code of the delivery report request is used as status feedback of message processing. “250 OK” means success of sending, and the multimedia message will be delivered to the original MMSC. If what received is “non 250-OK”, it means failure of sending, and whether to activate retry of sending will be decided according to the type of the error code;
step 4: after the delivery report is successfully sent, the recipient MMSIG sends a reading report request to the original MMSIG, and determines the returned SMTP-interactive-status code according to whether the user has read the reading report request or not. “250 OK” means success of sending, and the message will be sent to the MMSC finally, to report that the user has successfully read this reading report. “Non 250-OK” means failure of sending, and whether to activate retry of sending will be decided according to the type of the error code.
In
The second step: as a recipient MMSIG, it determines message status respectively according to whether the original MMSIG requests response feedback. For a message not requesting a response feedback, i.e. the value of the message field “Acknowledgement Request” of the request signaling is set to be “NO”, the information will be transmitted on the same link. When the request signaling is sent out, an SMTP-interactive-status code is used as a status feedback of message processing, if the message is received normally, SMTP “250 OK” will be returned and the multimedia message will be delivered normally to MMSC, as described in
step 1: the original MMSIG sends a forwarding message request to the recipient MMSIG at opposite end;
step 2: the original MMSIG requests the recipient MMSIG to return the forwarding message. After the recipient MMSIG receives the forwarding message request, it will determine the replying status of the forwarding message response, confirm that the original MMSIG receives the forwarding message response and returns successful status “250 OK” at the same time. Then the message status is switched to a waiting status for a delivery report, while the recipient MMSIG performs normal service processing, and delivers this multimedia message to the MMSC and continues forwarding. If the sending of forwarding message response fails, or the originator receives “non 250-OK” and deems the sending fails, the receiver will discard the original forwarding message, waiting for the originator retrying and returning to step 1;
step 3: the forwarding message request being successfully sent, the recipient MMSIG sends a delivery report request to the original MMSIG, the original MMSIG determines the replying status of the delivery report response, and confirms that the recipient MMSIG receives the delivery report response message and returns successful status code “250 OK” at the same time, and deliver the multimedia message to the MMSC. If the sending of the delivery report response fails or “non 250-OK” is received, the sending will be deemed failed, and the original MMSIG will discard the original delivery report and wait for the resending of the recipient MMSIG;
step 4: after the delivery report is successfully sent, the recipient MMSIG sends a reading report request to the original MMSIG. The recipient MMSIG determines replying status of reading report response, confirms that the recipient MMSIG receives response message of the delivery report and returns “250 OK” at the same time as success status feedback of message processing. “250 OK” means success of sending. In the end, the message will be sent to the MMSC. If the sending of reading report response fails or “non 250-OK” is received, deeming that the sending fails, the original MMSIG will discard the original reading report, and wait for retry of the recipient MMSIG.
Below the present invention is further described based on the message flows in conjunction with
(i) IO (Interworking Gateway Originated) Flow
Taking a pair of signaling MM4_forward.REQ/MM4_forward.RES (forwarding message request/forwarding message response) for example, in order to avoid failing message due to network reason when the other side returns forwarding message response, the original MMSIG should minimize the inconsistency of message status resulting from transmission on different links and try to achieve the goal of sending messages on one link. Therefore, no return is requested for optional message MM4_forward.RES (forwarding message response) through setting the “Acknowledgement Request” in MM4_forward.REQ (forwarding message request) signaling to be “NO”. According to this principle, during the SMTP protocol interactive process of sending MM4_forward.REQ (forwarding message request) signaling, the message sending status is determined based on the status code returned by the recipient MMSIG at opposite end. If “250 OK” is returned, it means success of sending, and the message status will be switched over to the waiting status of delivery report. If 4XX or 5XX status code is returned, whether to retry will be determined based on the error code situation. The messages needing retry will be inserted into the retry queue to wait for the next retry. For a message not needing retry, a failure bill and termination log will be issued directly and the message flow will be terminated.
Through adjusting the value of the field within the range permitted by standards, the problem of synchronic status of MM4 forwarding message under SMTP protocol is effectively improved. As an original MMSIG, it may definitely request not to return MM4_forward.RES message, and determine message forwarding status according to the SMTP-interactive-status code of MM4_forward.REQ instead; but as a recipient MMSIG, it must be compatible with different circumstances of whether the original MMSIG requests MM4_forward.RES or not. In view of the above analytical process, the original MMSIG is suggested to adopt the mode of not requesting MM4_forward.RES. The processing flow of the delivery report and the reading report are similar with that of the forwarding message. The detailed flow is shown in
(ii) IT (Interworking Gateway Terminated) Flow
According to the analysis on the above IO flow, it is suggested to adopt the message interaction process of not requesting to return MM4_forward.RES. Anyway, it is a suggestion only. As the recipient MMSIG, it must be compatible with a plurality of realization methods within the range permitted by standards. Therefore, here different formats of requests from the originator must be properly adapted, and the problem of repeated sending should be solved. Taking a pair of signaling MM4_forward.REQ/MM4_forward.RES for example, to ensure the message not being processed repeatedly, when MM4_forward.REQ message is received, firstly the value of acknowledgement request field of the signaling MM4_forward.REQ will be determined, and then it will be processed respectively according to the different value:
1. If the value is set to be “NO”, then no need to return MM4_forward.RES message is needed.
This circumstance tallies with the foregoing suggested mode and is also most reliable and effective. Status code is returned according to the reception condition of MM4_forward.REQ message. “250 OK” is returned if normal, and 4XX or 5XX error code is returned if exception. The original MMSIG will regard this status code as a sign of whether the forwarding is successful. Therefore, for a message which returns successful status code “250 OK”, the recipient MMSIG will carry out service processing directly and continue to forward the message; for a message which returns exception error code, the recipient MMSIG will discard this message, and the opposite original MMSIG will control whether to retry. This control mode does not have the problem of repeated forwarding and repeated billing. The message flow is shown in
2. If the value is set to be “YES”, MM4_forward.RES message needs to be returned. The details are shown in
According to the descriptions above, the implementing method for removing duplication protection is introduced from two perspectives of both originator and receiver. This method achieves the effect of removing duplication protection in a simple and effective manner. As proved by practice, it is a practical and feasible method.
It should be noted that the above embodiments are intended to illustrate the technical solution of the present invention only and not to limit the present invention. Although the present invention is described in details by referring to preferred embodiments, those skilled in the art should understand all modifications or identical replacements of the technical solution of the present invention made without departing from the spirit and range of the technical solution of the present invention shall be within the claims of the present invention.
A method and system for implementing removing duplication protection for MMS interworking forwarding message is provided by the present invention. According to different value of acknowledgement request field “Acknowledgement Request” of the request signaling and through using SMTP-interactive-status code as a criterion, information transmission on different links with low system depletion is implemented, almost no delay and high transmission success rate, avoiding the problem of user dissatisfaction about repeated retry caused by the exception reception of response message of the originator; meanwhile when an interworking gateway initiatively originates a forwarding message, it can optimize request flow and avoid repeated transmission caused by status inconsistency of a plurality of links.
Number | Date | Country | Kind |
---|---|---|---|
200810142493.7 | Aug 2008 | CN | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/CN2009/000901 | 8/7/2009 | WO | 00 | 1/19/2011 |