Disclosure of Invention
In view of the above, an object of the present invention is to provide a system for providing multimedia ringback tone, which is implemented to provide multimedia ringback tone services for users.
Another objective of the present invention is to provide a method for providing multimedia coloring ring back tones based on the above system.
The system according to the invention comprises at least: a Next Generation Network (NGN) broadband architecture based softswitch, Application Server (AS), Media Resource Server (MRS) and database; wherein,
the soft switch is used for carrying out call connection with the called user terminal after receiving the call request of the calling user terminal and sending a service triggering signaling to the AS;
the AS is used for acquiring multimedia coloring ring back tone data information of a user from the database according to a service triggering signaling sent by the soft switch and sending the acquired multimedia coloring ring back tone data information to the MRS;
MRS is used for playing multimedia color ring to calling user terminal according to multimedia color ring data information obtained from AS;
the database is used for storing the multimedia coloring ring back tone data information customized by the user;
and the signaling transmission among the soft switch, the AS and the MRS adopts a Session Initiation Protocol (SIP).
In the system, the soft switch sends a service triggering signaling to the AS when judging that the called user terminal is in an idle mode.
In the system, the multimedia coloring ring back tone data information is a multimedia coloring ring back tone file customized by a user.
In the system, the multimedia coloring ring back tone data information is the file name and the path of a multimedia coloring ring back tone file customized by a user;
the system further comprises a File Transfer Protocol (FTP) server, wherein the FTP server is used for storing the multimedia polyphonic ringtone file customized by the user;
and the MRS acquires a multimedia color ring file customized by the user from the FTP server according to the multimedia color ring data information acquired from the AS, and then plays the multimedia color ring file to the calling user terminal.
In the system, the system further comprises a polyphonic ringtone Web server which is used for signing a user to customize a multimedia polyphonic ringtone file, transmitting the multimedia polyphonic ringtone file customized by the user to the FTP server and writing the multimedia polyphonic ringtone data information customized by the user into a database.
The method according to the invention comprises the following steps:
a. after receiving a call request of a calling user terminal, the soft switch carries out call connection with a called user terminal and sends a service triggering signaling to an AS;
b. after receiving the service triggering signaling of the soft switch, AS acquires the multimedia coloring ring data information of the user from the database and sends the multimedia coloring ring data information to MRS, MRS plays the multimedia coloring ring to the calling user terminal according to the received multimedia coloring ring data information,
and the signaling transmission among the soft switch, the AS and the MRS adopts SIP.
In the above method, in the step a, the soft switch sends the service triggering signaling to the AS when judging that the called user terminal is in the idle mode.
In the above method, in the step a, the step of determining whether the called user equipment is in the idle mode by the soft switch includes: and judging whether a ringing message returned by the called user terminal is received.
In the above method, the step a further includes, when the called user terminal is judged to be in the idle mode, judging whether the called user terminal is a color ring subscription user, if so, sending a service triggering signaling to the AS; otherwise, directly proceeding call connection.
In the above method, the step a further includes, after the soft switch judges that the called user terminal is a color ring subscription user, adding a color ring access code in front of the number of the called user terminal, and then carrying the color ring access code in the service triggering signaling to send the color ring access code to the AS.
In the above method, the step b further includes that after the AS receives the service triggering signaling of the soft switch, it is judged whether the called user terminal is in the open-account state, if yes, the multimedia coloring ring data information of the user is obtained from the database; otherwise, the default multimedia coloring ring back tone file is directly played to the calling user terminal.
In the above method, the step b further includes that the MRS exchanges media information with the calling user terminal before playing the multimedia coloring ring back tone file to the calling user terminal, establishes a media channel, and then plays the multimedia coloring ring back tone to the calling user terminal through the media channel.
In the above method, the system further comprises an FTP server; step b of the method further comprises that the MRS acquires the multimedia coloring ring back tone file from the FTP server after receiving the multimedia coloring ring back tone data information, and then plays the multimedia coloring ring back tone file to the calling user terminal.
In the above method, the step b further comprises the following steps: c. when the soft switch receives the response signal of the called user terminal, the AS is informed to control the MRS to stop playing the multimedia color ring to the calling user terminal, and the call between the calling user terminal and the called user terminal is established.
In summary, the present invention is a system for providing multimedia coloring ring back tones, which is implemented by adopting a standard SIP protocol based on an NGN broadband network architecture. The system mainly comprises: the system comprises equipment such AS a soft switch, an AS, an MRS, a database and the like, wherein the soft switch receives a call request of a calling user terminal, then carries out call connection with a called user terminal, and triggers the color ring service of the AS when judging that the state of the called user terminal is idle. Then AS receives the trigger signal, acquires the multimedia color ring data information of user from database, and transmits the multimedia color ring data information to MRS, then controls MRS to play multimedia color ring to calling user terminal. And finally, after the soft switch receives the response signal of the called user terminal, the AS is informed to control the MRS to stop playing the multimedia color ring to the calling user terminal, and the call between the calling user terminal and the called user terminal is established.
The MRS can play audio color ring back tone for the user and video color ring back tone for the user, and can exchange media information with the user after acquiring the multimedia color ring back tone data information customized by the user and before playing the multimedia color ring back tone for the user, so that the media format supported by the user can be determined, and finally the aim of providing pure audio or audio and video color ring back tone service for the calling user according to the media capability of the calling user terminal is fulfilled. In addition, the system of the invention is based on NGN broadband network structure, and simultaneously adopts SIP which is a standard and open protocol as a protocol for carrying out signaling interaction among all the constituent devices of the system, so that the transmission capability and the supported protocol of the system can realize the purpose of playing audio and video color ring back tone to users. In addition, the invention transmits through the NGN broadband network, because the speed of data transmission is greater than the speed of data transmission through the narrow band, the audio or video media playing effect finally obtained at the receiving end is also superior to the common narrow band transmission scheme based on the intelligent network. In addition, the solution based on the NGN network has strong expansibility and accords with the development trend of the future communication network.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail with reference to the accompanying drawings.
The invention relates to a scheme for providing multimedia color ring back tone realized by adopting a standard SIP protocol based on a broadband network architecture of NGN, which mainly comprises a system for providing the multimedia color ring back tone and a method for providing the multimedia color ring back tone for a user based on the system.
The structure of the system for providing multimedia coloring ring back tones of the present invention is shown in fig. 1, and as can be seen from the figure, the system mainly comprises: calling user terminal A, called user terminal B, soft switch, AS, MRS and database.
The soft switch is used for carrying out call connection with the called user terminal after receiving the call request of the calling user terminal and sending a service triggering signaling to the AS; in a preferred scheme, when the soft switch determines that the called user terminal is in the idle mode, a service triggering signaling is sent to the AS.
The AS is used for acquiring multimedia coloring ring back tone data information of a user from the database according to a service triggering signaling sent by the soft switch, sending the acquired multimedia coloring ring back tone data information to the MRS, and then controlling the MRS to play the multimedia coloring ring back tone to the calling user terminal; and after receiving the disconnecting request of the soft switch, controlling the MRS to stop playing the multimedia coloring ring back tone;
MRS is used to play multimedia color ring to calling user terminal according to multimedia color ring data information obtained from AS.
The database is used for storing the multimedia coloring ring data information customized by the user.
The functions of the calling user terminal a and the called user terminal B are completely the same as those of the corresponding parts in the existing communication network, the calling user terminal can be an SIP softphone, a Personal Computer (PC), a Public Switched Telephone Network (PSTN) terminal device and the like, and the calling user terminal plays video if supporting video playing, and plays audio if not. The called user terminal B may be a SIP hard phone, a SIP soft phone, a Personal Computer (PC), a PSTN, etc., and will not be described herein.
The above is the basic structure of the system of the present invention, and the following further describes the preferred composition structure of the system of the present invention, i.e. a File Transfer Protocol (FTP) server is added on the basis of the system shown in fig. 1, and is used for storing the customized voice and video file resources.
At this time, the AS is configured to obtain multimedia polyphonic ringtone data information of the user from the database, analyze a file name and a path of a multimedia polyphonic ringtone file customized by the corresponding user according to the obtained multimedia polyphonic ringtone data information, and then send a file name and a path play instruction carrying the multimedia polyphonic ringtone file to the MRS.
The MRS is used for acquiring a corresponding multimedia color ring file from the FTP server according to the file name and the path of the multimedia color ring file in the received playing instruction, and then playing the acquired multimedia color ring file to the calling user terminal A.
The functions of the calling user terminal a and the called user terminal B are the same as the above system, and are not described herein again.
In addition, as shown in fig. 2, the system of the present invention may further include a color ring Web Server (Web Portal Server) based on the above system structure, for supporting a subscriber to log in the color ring Web Server through the internet to customize a personalized multimedia color ring file, and the color ring Web Server is further configured to transmit the multimedia color ring file customized by the subscriber to the FTP Server and write data information of the multimedia color ring customized by the subscriber into the database.
The above is the system structure for providing multimedia ring back tone service for users, and the following further describes the method for implementing multimedia ring back tone service based on the above system, as shown in fig. 3, the overall process of the method of the present invention mainly includes the following steps:
step 301: after receiving the call request of the calling user terminal, the soft switch makes call connection with the called user terminal and sends a service triggering signaling to the AS.
Step 302: after receiving the service triggering signaling of the soft switch, the AS acquires the multimedia coloring ring data information of the user from the database and sends the multimedia coloring ring data information to the MRS, and the MRS plays the multimedia coloring ring to the calling user terminal according to the acquired multimedia coloring ring data information.
The above is the general flow of the method of the present invention, and certainly, after the color ring is played to the calling user terminal, the following steps can be continuously executed:
step 303: when the soft switch receives the response signal of the called user terminal, the AS is informed to control the MRS to stop playing the multimedia coloring ring back tone to the calling user terminal, and a call between the calling user terminal and the called user terminal is established.
The method of the present invention is further described below by using a specific embodiment, as shown in fig. 4, the method of the present embodiment specifically includes the following steps:
step 401: the calling user terminal A sends a calling request to the soft switch, and the request carries the numbers of the calling user terminal A and the called user terminal B.
Step 402: and the soft switch sends the call request to the called user terminal B according to the number of the called user terminal B in the received call request.
Step 403: the soft switch judges whether the called user terminal B is in an idle mode according to whether the called user terminal B returns a response ringing message, if so, the step 404 is executed; otherwise, step 413 is performed.
Since the called user terminal B may be busy or not routing, it needs to first determine its status. In this step, the response ringing message returned by the user terminal B is a standard ringing message in the SIP protocol, i.e., a 180 ringing message.
Step 404: the soft switch judges whether the called user terminal B is a color ring signing user, if yes, step 405 is executed; otherwise, step 414 is performed. The specific judgment method is as follows: and the soft switch judges whether the user is a color ring signing user according to the signing attribute of the registered user number. The subscription attribute is subscription information recorded in the soft switch when the user opens an account.
Step 405: the soft switch adds the CRBT access code in front of the number of the called user terminal B and reports the CRBT access code to the AS, thereby triggering the CRBT service on the AS. Wherein, the CRBT access code is used to mark CRBT service triggering AS.
Step 406: AS judges whether the called user terminal B is in the account opening state, if yes, step 407 is executed; otherwise, step 415 is performed. The specific judgment method is as follows: the AS judges whether the user is in an account opening state or not by inquiring the user data information stored in the database. The user data information is an account opening status record of the user recorded in the AS.
Step 407: AS inquires the database to obtain the file name and path of the multimedia file customized by the called user terminal B. The database returns the query result containing the file name and the path of the multimedia file customized by the called user terminal B to the AS. The multimedia file here includes audio file data and video data.
Step 408: the AS sends a play request with the media information of the calling user terminal A to the MRS. The request includes the file name and path of the acquired multimedia file. The media information specifically refers to information such as media capability supported by the calling user terminal, that is, an IP address, an audio support capability, a video support capability, and the like of the calling user terminal a, where the audio support capability mainly refers to supported audio formats such as: g711, G729, G723, etc., while video support capability mainly refers to supported video formats such as: h263 and MPEG1, etc.
Step 409: MRS obtains the multimedia file from FTP server according to the file name and path of the multimedia file provided by AS. The FTP server then transmits the multimedia file to the MRS.
Step 410: MRS and calling user terminal A exchange media information, establish media channel, then play color ring to calling user terminal A.
The specific process of the MRS exchanging media information with the calling user terminal a includes: MRS sends play confirmation message carrying self media information to AS, then AS sends ringing state message carrying MRS media information to soft switch, then soft switch sends ringing state message carrying MRS media information to calling user terminal A, and returns media negotiation confirmation message to AS, then AS sends final confirmation message to MRS, and returns media negotiation confirmation response message to soft switch, finally MRS sends media stream to calling user terminal A according to media capability of calling user terminal A in received confirmation message, and starts playing color ring. That is, if the calling subscriber terminal supports only audio, only audio stream is transmitted; if the calling terminal can support video, video and audio media streams are transmitted. In addition, the media channel refers to a media stream port created inside the MRS, and media stream information, such as RTP stream, is sent to the calling user terminal a through the port.
Step 411: when receiving the off-hook response message, i.e. 200 message, of the called user terminal B, the softswitch sends a 200OK signaling with the media information of the called user terminal B to the calling user terminal a, and sends a disconnect (Cancel) request to the AS. The 200 messages are standard messages in SIP, like the 180 messages.
Step 412: and after receiving the disconnection request, the AS sends a finishing signaling (BYE) to the MRS to indicate that the MRS finishes playing the multimedia file. After receiving the ending signaling, MRS stops playing the multimedia file to the calling user terminal A and returns an ending response to AS. And after receiving the ending response returned by the MRS, the AS returns a disconnecting response to the soft switch, and releases the control of the soft switch. The calling user terminal A and the called user terminal B carry out normal conversation, and the process is ended.
Step 413: the soft switch directly plays the corresponding prompt tone to the calling user terminal A, processes the same common call, and ends the process.
Step 414: the soft switch directly makes call connection, does not report AS to play the color ring, processes the same common call, and ends the flow.
Step 415: the AS does not query the database, directly instructs the MRS to play the default ring back tone file, and then executes step 411.
The above is the flow of a preferred embodiment of the method of the present invention, and the signaling interaction flow based on the method of this embodiment is shown in fig. 5, which is the same as the flow of fig. 4, and therefore, the description is not repeated here.
In short, the above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.