Summary of the invention
Consider the problems referred to above and make the present invention that for this reason, main purpose of the present invention is to provide a kind of transmission plan of interface delivering report message.
According to embodiments of the invention, provide a kind of transmission method of interface delivering report message.
The method comprises: step S202, the source multimedia message central is in the situation of supporting to obtain the interface delivering report message of interface between the multimedia message central of document form, the purpose multimedia message central generates the file that writes the interface delivering report message of interface between the multimedia message central, in the interface delivering report message writing in files with interface between the multimedia message central; And step S204, the source multimedia message central obtains the file that writes after the message by file transfer protocol (FTP) (FTP), and obtains the interface delivering report message of interface between the multimedia message central the file after writing message.
Wherein, before step S202, further comprise: whether steps A, source multimedia message central support to obtain the interface delivering report message of document form according to the configuration determination source multimedia message central of itself; If judged result is support, then execution in step S202 and step S204; If judged result is not for supporting, execution in step B then; And step B, the purpose multimedia message central directly is sent to interface delivering report message the source multimedia message central.
In above-mentioned steps S202, timing and/or quantitative spanned file, and with one or more interface delivering report message writing in files.
In addition, in step S204, the source multimedia message central obtains the file that writes after the message from the config directory in the purpose multimedia message central.
At this moment, before step S204, further comprise: file transfer protocol (FTP) user name, the file transfer protocol (FTP) password of source multimedia message central are set, and in the purpose multimedia message central, config directory are set.Wherein, respectively each source multimedia message central is arranged config directory at the purpose multimedia message central.
In addition, after step S204, the method may further include: relevant information and the transmission state of the interface delivering report message of interface between the Original submission source user terminal of source multimedia message central query source user terminal and the multimedia message central, and according to relevant information and transmission state generation source ticket.
Before steps A, can further include: when the interface delivering report message of interface was sent to the source user terminal between the source user demanding terminal is with Original submission source user terminal and multimedia message central, the source user terminal was sent the request of obtaining the interface delivering report message of interface between source user terminal and the multimedia message central.
A kind of transmission method of interface delivering report message is provided according to another embodiment of the present invention.
The method comprises: first step, and purpose multimedia message central spanned file is in the interface delivering report message writing in files with interface between the multimedia message central; And second step, the source multimedia message central obtains the file that writes after the message in the mode of file transfer protocol (FTP), and obtains interface delivering report message the file after writing message.
Wherein, before first step, further comprise: whether the source multimedia message central is supported to obtain interface delivering report message in the file transfer protocol (FTP) mode according to the configuration determination source multimedia message central of itself; If judged result is then carried out first step and second step for supporting; If judged result is then carried out third step for not supporting; And third step, the purpose multimedia message central directly is sent to interface delivering report message the source multimedia message central.
By the interface delivering report message of the present invention with interface between the document form transferring multimedia message center, can improve the transmission success rate of the interface delivering report message of interface between the multimedia message central, reduce the amount of information between the multimedia message central, and improved the efficient of processing delivery report.
Embodiment
A kind of transmission method of interface delivering report message is provided in the present embodiment.
Before describing the method, at first the system that can realize according to the method for present embodiment will be described.
Fig. 1 shows the structure according to the multimedia message central system of the embodiment of the invention.As shown in Figure 1, this system comprises:
Multimedia message central (MMSC) be used for preserving and repeating multimedia news, and responsible user is about the management of multimedia service;
User terminal is used for edited multimedia short messages, and sends by WAP gateway, receives Multimedia Message, its with MMSC between be connected by the MM1 interface;
Link by the MM3 interface between the EMAIL server, itself and multimedia message central, be used for the sending and receiving multimedia mail;
Other MMSC links by the MM4 interface therebetween, is mainly used in transmitting mutually the user's of the different multimedia message centrals that belong to message;
Link by the MM6 interface between the customer data base, itself and multimedia message central, be used for concentrating and carry out preservation and the inquiry of user profile;
Adopt the MM7 interface to link between the valued added applications, itself and multimedia message central, valued added applications provider entity is responsible for sending and receiving message; And
Adopt the MM8 interface to link between the charging center, itself and multimedia message central, the obtaining of charging Call Detail Record.
Based on said system, the below will describe the method according to the embodiment of the invention in detail.
As shown in Figure 2, transmission method according to interface delivering report message between the multimedia message central of the embodiment of the invention comprises: step S202, purpose multimedia message central spanned file, with interface between the multimedia message central (namely, above-mentioned MM4 interface, if and be not particularly limited, the interface delivering report message that hereinafter occurs all refers to the MM4 interface delivering report message) the interface delivering report message writing in files in; And step S204, the source multimedia message central obtains the file that writes after the message, and obtains interface delivering report message the file after writing message.
Wherein, before step S202, further comprise: whether steps A, source multimedia message central support to obtain the interface delivering report message of document form according to the configuration determination source multimedia message central of itself; If judged result is support, then execution in step S202 and step S204; If judged result is not for supporting, execution in step B then; And step B, the purpose multimedia message central directly is sent to interface delivering report message the source multimedia message central.
Wherein, the purpose of judging in the steps A is in order to prevent that some multimedia message central from can not process the interface delivering report message of document form, to cause receiving file.Can adopt traditional SMTP mode in step B, carry out the required Signalling exchange of SMTP, not with this message writing in files, but directly the transmission interface delivering report message arrives the source multimedia message central.
And, in above-mentioned steps S202, timing and/or quantitative spanned file, and with one or more interface delivering report message writing in files.
In addition, in step S204, the source multimedia message central obtains the file that writes after the message from the config directory in the purpose multimedia message central.
In addition, in the method, preferably, the source multimedia message central can obtain the file that writes after the message by file transfer protocol (FTP) (FTP), this is because FTP is the file of commonly using, and has good versatility, and has desirable efficiency of transmission.
At this moment, before step S204, further comprise: file transfer protocol (FTP) user name, file transfer protocol (FTP) password that the source multimedia message central is set, and in the purpose multimedia message central, config directory being set, the source multimedia message central just can extract the message in the config directory File like this.Wherein, can to each source multimedia message central config directory be set respectively at the purpose multimedia message central, preferably, config directory can be corresponding with the ID of purpose multimedia message central.
And, after step S204, may further include: relevant information and the transmission state of the original submission message of source multimedia message central query source user terminal, namely, the interface delivering report message of the Original submission interface MM1 of query source user terminal (namely, the MM1 interface delivering report message that sends in the step 3.1 among Fig. 3) relevant information and transmission state, and according to the relevant information that obtains and transmission state generation source ticket.
In addition, before above-mentioned steps A, can further include: when the source user demanding terminal was sent to the source user terminal with the interface delivering report message of Original submission interface MM1, the source user terminal was sent the request of the interface delivering report message that obtains this Original submission MM1.
Fig. 3 shows the detailed process of the concrete processing of said method when terminal sends message to terminal.In conjunction with the system shown in Fig. 1, as shown in Figure 3, it can may further comprise the steps:
Step 3.1, the source user terminal is submitted to the source multimedia message central with the Multimedia Message of MM1 interface;
Step 3.2, source multimedia message central are returned MM1 interface submission message response after receiving this message;
Step 3.3, the source multimedia message central arrives the purpose multimedia message central according to the routing iinformation of purpose termination number with forwarding multimedia message;
Step 3.4, the purpose multimedia message central is back to the source multimedia message central with the response of MM4 interface forwarding messages;
Step 3.5, the purpose multimedia message central is sent to the purpose user terminal with MM1 interface notice message;
Step 3.6, the purpose user terminal is back to the purpose multimedia message central with MM1 interface announce response message;
Step 3.7, the purpose user terminal obtains multimedia message request according to notice message with the MM1 interface and sends to the purpose multimedia message central;
Step 3.8, the purpose multimedia message central obtains the Multimedia Message response with the MM1 interface and is sent to the purpose user terminal;
Step 3.9, the purpose user terminal is sent to the purpose multimedia message central with MM1 interface acknowledge message;
Step 3.10, the purpose multimedia message central produces the destination party ticket (namely, purpose ticket (T ticket)), the source multimedia message central is according to its Multimedia Message MM4 interface delivering report message of supporting document form whether of configuration determination of itself, if support, then delivering report message information is write in the file, this document can be regularly, quantitatively produce, and can write many multimedia delivery report information contents by a file; If do not support, then adopt traditional SMTP mode, that is, not with MM4 delivering report message writing in files, but directly this message is sent to the source multimedia message central;
Step 3.11, the source multimedia message central is according to arranging regularly by the delivering report message message file under the config directory in the FTP extraction purpose multimedia message central; (that is, having realized transmission method according to MM4 interface delivering report message of the present invention by step 3.10 and step 3.11)
Step 3.12, the source multimedia message central is processed according to the delivering report message message file that obtains, the relevant information (field) of the MM1 interface delivering message that sends in the step 3.1 before the inquiry and transmission state are (for example, send successfully, with send the state that unsuccessfully waits), generation source ticket ticket (namely, transmit leg (O ticket), the words in this ticket and the step 3.10 are basic identical), and the delivering report message that whether requires the interface of the MM1 that will send among the step S3.1 according to the source user terminal is sent to the source user terminal and sends the request of obtaining this message.
In sum, the present invention adopts File Transfer Protocol to come bearing multimedia message MM4 interface delivering report message, the source multimedia message central writes the file of the interface delivering report message of MM4 interface from purpose multimedia message central active obtaining, can effectively overcome owing to the command interactions such as HELO, MAIL FROM, RECP TO, DATA, QUIT in the smtp protocol are caused slowly, reduced time delay, reduced simultaneously multimedia message central shared number of links and related resource when the MM4 interface is processed delivery report and take; In addition, the MM4 interface delivering report message that causes that can avoid occurring in correlation technique sends failed MMSC anomaly.
Cost of the present invention is low, realization is simple, by means of technical scheme of the present invention, can improve the transmission success rate of MM interface delivering report message between the multimedia message central, reduce the amount of information between the multimedia message central, improved and processed the efficient of delivery report, thereby helped the lifting of whole multimedia message central performance.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.