A kind of Media Stream method for down loading, system and device
Technical field
The present invention relates to field of communication transmission, particularly relate to a kind of Media Stream method for down loading, system and device.
Background technology
Telecommunication value-added service is the power producer of telecommunications industry development, and telecommunications industry is by the demand that should be used for satisfying the user of various value-added services, and brings into play the ability of communication network to greatest extent.
Existing operation system is to set up respectively according to different types of service, as SMS platform, multimedia message platform etc.Obstacle on such operation system possesses skills for exploitation across a network or the fused business of striding each separate platform has increased the cost of operator's supervising the network simultaneously, and its shortcoming is as follows:
Need the different various interfaces of webserver form support; Do not have unified security mechanism and controlling mechanism, be unfavorable for operator's unified management access service; Business development/integrated complexity, exploitation threshold height, cost height; The composite service exploitation is complicated, composite service charging realization and across a network business development, fusion difficulty.
Prior art one related to the present invention is for overcoming the deficiency of traditional business access module, and comprehensive the access arisen at the historic moment.As shown in Figure 1, the comprehensive access is a kind of new service architecture, third party SP (Service Provider, service provider)/CP (Content Provider, the service provider) can adopt unification mode such as comprehensive access gate to insert communication network, visit telecommunication service ability.Realize: unified access, unified management, unifiedly represent, unified authentication, the unified charging, provide a kind of good operation management platform to operator, but the inventor is in realizing process of the present invention, find that there is following shortcoming in prior art:
Comprehensive access gate will certainly become a bottleneck of communication system as the unified access point of signaling and Media Stream.Concrete condition is as described below:
When needs used the business of certain SP/CP, SP/CP at first will arrive comprehensive access gate and carry out various authentications (as the authentication of user validation, order relations etc.), just says that also managing signaling stream will pass through comprehensive access gate; If various authorities are all passed through, SP/CP just can begin to send user's information requested to user by comprehensive access gate so, just Media Stream sends the user to through comprehensive access gate, and for example the user uses the mobile phone screen TV of certain CP, from the SP down-load music etc.
Because the transmission of signaling flow and Media Stream all needs to pass through comprehensive access gate, simultaneously because the flow of Media Stream may be very huge, as information such as screen file, audio files, the bandwidth of inevitable requirement comprehensive access gate and performance are all very high like this, continuous growth along with business, comprehensive access gate will inevitably become a kind of bottleneck, and the business that has a strong impact on SP/CP is used, and finally may cause system unavailable.
Prior art two related to the present invention is in order to solve the problem of traditional business system, and as shown in Figure 2, SP/CP self is exactly a DownLoad server, is a trusteeship and operation system, just carries out the user in the operator authenticating and charging time and deducts fees.In this framework mode, SP/CP is user's a access point, it is again the savepoint of content, the user directly sends the service downloading request to SP/CP, SP/CP is to comprehensive access gate and the O﹠M system authentication of chargeing, SP/CP after receiving Authentication Response directly to user's returned content, thereby make the data traffic of comprehensive access gate significantly reduce.
The inventor finds that also there is following shortcoming in prior art two in realizing process of the present invention:
Directly preserve content information by SP/CP, when the user when checking these content informations, operator can't monitor these content informations, and the download space of illegal contents will be provided to SP/CP like this, with regard to present legal system, operator can not tolerate that this sample loading mode exists.
Summary of the invention
The problem that the embodiment of the invention will solve provides a kind of Media Stream method for down loading, brings impact to solve the huge Media Stream of flow to comprehensive access gate.
For achieving the above object, the embodiment of the invention proposes a kind of Media Stream method for down loading on the one hand, may further comprise the steps:
Comprehensive access gate obtains the SP/CP information in the subscription request message that Download Server transmits;
Described comprehensive access gate carries out media channel according to described SP/CP information and SP/CP to be consulted, and the address information of described Download Server is sent to described SP/CP;
Described Download Server receives and transmits the Media Stream that described SP/CP issues according to described address information to the transmit leg of described subscription request message.
The embodiment of the invention also proposes a kind of Media Stream download system on the one hand, comprising:
Download Server is used to transmit subscription request message, and transmits the Media Stream that described SP/CP issues according to described address information to the transmit leg of described subscription request message;
Comprehensive access gate comprises:
Receiver module is used to receive the subscription request message of described Download Server forwarding and the media channel of described SP/CP transmission is consulted request;
Negotiation module is used for receiving described media channel when consulting request at described receiver module, obtains the address information of described Download Server;
Sending module is used for described subscription request message is sent to described SP/CP, and the address information of the described Download Server that described negotiation module is obtained sends to described SP/CP.
The embodiment of the invention also proposes comprehensive access gate on the one hand, comprising:
Receiver module is used to receive the subscription request message of Download Server forwarding and the media channel of described SP/CP transmission is consulted request;
Negotiation module is used for receiving described media channel when consulting request at described receiver module, obtains the address information of described Download Server;
Sending module is used for described subscription request message is sent to described SP/CP, and the address information of the described Download Server that described negotiation module is obtained sends to described SP/CP.
The embodiment of the invention also proposes a kind of SP/CP on the one hand, is used for carrying out media channel with described comprehensive access gate and consults, and obtains the address information of described Download Server, issues Media Stream according to described address information, comprising:
Receiver module is used to receive the address information of subscription request message and Download Server;
Negotiation module is used for after described receiver module receives described subscription request message, triggers media channel and consults, and obtains the address information of described Download Server;
Sending module is used for sending media channel to described comprehensive access gate and consults request, and the address information of the described Download Server that obtains according to described negotiation module issues Media Stream.
Compared with prior art, the technical scheme of the embodiment of the invention has the following advantages:
The media channel of consulting to set up without comprehensive access gate by media channel sends Media Stream, optimizes the access performance of this comprehensive access gate.
Description of drawings
Fig. 1 is the operation system schematic diagram in the prior art one of the present invention;
Fig. 2 is the operation system schematic diagram in the prior art two of the present invention;
Fig. 3 is the Media Stream download business system schematic in the embodiment of the invention;
Fig. 4 is the method flow schematic diagram that the Media Stream in the embodiment of the invention is downloaded;
Fig. 5 is the Media Stream download business schematic flow sheet in the embodiment of the invention.
Embodiment
Below in conjunction with drawings and Examples, the specific embodiment of the present invention is described in further detail:
Fig. 3 is the system architecture schematic diagram that a kind of Media Stream is downloaded in the embodiment of the invention, comprising:
Download Server 1 is used to transmit subscription request message, and transmits the Media Stream that described SP/CP3 issues according to described address information to the transmit leg of described subscription request message;
Comprehensive access gate 2 is used for obtaining the SP/CP information of the subscription request message that described Download Server 1 transmits, and carries out the media channel negotiation according to described SP/CP information with SP/CP3, and the address information of described Download Server 1 is sent to described SP/CP3.
Wherein comprehensive access gate 2 comprises:
Receiver module 21 is used to receive the subscription request message of Download Server 1 forwarding and the media channel of described SP/CP3 transmission is consulted request;
Negotiation module 22 is used for receiving described media channel when consulting request at described receiver module 21, obtains the address information of described Download Server 1;
Sending module 23 is used for described subscription request message is sent to described SP/CP3, and the address information of the described Download Server 1 that described negotiation module 22 is obtained sends to described SP/CP3.
Wherein said comprehensive access gate 2 also comprises authentication module 24, be used for receiving and carry out authenticating and charging when described media channel is consulted request, trigger described negotiation module 22 in authenticating and charging success back and obtain the address information of described Download Server 1 and/or trigger described sending module 23 and send the address information that sends described Download Server 1 to described SP/CP3 at described receiver module 21.
In this Media Stream download system, also comprise SP/CP3, be used for carrying out media channel and consult with described comprehensive access gate, obtain the address information of described Download Server, issue Media Stream according to described address information.Comprise:
Receiver module 31 is used to receive the address information of subscription request message and Download Server;
Negotiation module 32 is used for after described receiver module 31 receives described subscription request message, triggers media channel and consults, and obtains the address information of described Download Server 1;
Sending module 33 is used for sending media channels to described comprehensive access gate 2 and consults request, and the address information of the described Download Server 1 that obtains according to described negotiation module 32 issues Media Stream.
As shown in Figure 3, signaling flow and Media Stream carry out separate processes, by comprehensive access gate 2 as bridger, when the medium of SP/CP3 need be transferred to the user, SP/CP3 by the Download Server of knowing in the signaling flow 1 (for example: Service Enabler directly sends to, DownLoad, Streaming etc.), send the user to by Download Server 1 then.Method flow such as Fig. 4 may further comprise the steps:
Step S401, comprehensive access gate obtain the SP/CP information in the subscription request message that Download Server transmits.
Step S402, comprehensive access gate carry out media channel according to SP/CP information and SP/CP to be consulted, and the address information of described Download Server is sent to described SP/CP.
Step S403, Download Server receive and transmit the Media Stream that SP/CP issues according to address information to the transmit leg of subscription request message.
In this step, in order to protect the rights and interests of operator, can introduce authenticating and charging mechanism, comprehensive access gate triggers the negotiation of SP/CP initiation media channel after subscription request message is routed to described SP/CP; Comprehensive access gate carries out authenticating and charging receiving media channel that SP/CP issues according to request message when consulting request then, obtains the address information of Download Server after the authenticating and charging success, and the address information of Download Server is sent to described SP/CP.Perhaps comprehensive access gate is receiving the address information of obtaining described Download Server when media channel that SP/CP issues according to described request message is consulted request, carry out authenticating and charging then, after authenticating and charging success, will trigger described sending module the address information of described Download Server is sent to described SP/CP.
The method that further embodiment of this invention provides a kind of Media Stream to download, the music that provides by certain CP of mobile phone-downloaded with the user is concrete scene, Download Server is for downloading DownLoad (also can be Download Server such as Streaming Media Streaming).As shown in Figure 5, may further comprise the steps:
Step S501, the user sends the music download request message to DownLoad.This message is the specified format message that assigned number sends down-load music.
Step S502, after DownLoad forwarding device is received the message of specified format, through behind the number analysis, the request message of finding this user becomes the message format with the comprehensive access gate agreement to be transmitted to comprehensive access gate this message conversion to certain CP.
Step S503 after comprehensive access gate is received message, carries out number analysis, and specifies the access authentication of CP, authentication by after this message is routed to corresponding C P.
Step S504, after CP receives request message, analyze message and find it is that the user downloads the XX song, CP sends media channel to comprehensive access gate and consults request (media channel spreads the IP and the port of the middleware of giving the user as CP with music media, is meant that here DownLoad transmits the IP and the Port of device).
Step S505, comprehensive access gate receive that media channel consults request, and charging request message is sent to the affirmation of chargeing of O﹠M system.
After step S506, O﹠M system carry out success and deduct fees, return the successful response message that charges to comprehensive access gate.
After step S507, comprehensive access gate receive the authenticating and charging success message, IP and the Port message of professional basic capacity parts DownLoad is returned to CP;
Step S508, CP will specify the Media Stream of music to pass to IP and Port that comprehensive access gate returns;
Step S509, DownLoad are handed down to the user after receiving music media stream.
Description by the foregoing description, the technical scheme of the embodiment of the invention has the following advantages: the media channel of consulting to set up without comprehensive access gate by media channel sends Media Stream, can so that huge medium flow without comprehensive access gate, comprehensive access gate only need be paid close attention to signaling flow and management flow like this, can significantly reduce performance hit, thereby optimize the access performance of this comprehensive access gate platform.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better execution mode under a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium, comprise that some instructions are with so that a station terminal equipment (can be mobile phone, personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be looked protection scope of the present invention.