Summary of the invention
In view of above-mentioned analysis, the present invention aims to provide a kind of method and system of supporting active push of uniform resource locator in short message mode, does not support the problem of short message mode PUSH URL in order to solve existing redirected flow process.
Object of the present invention is mainly achieved through the following technical solutions:
The invention provides a kind of method of supporting active push of uniform resource locator in short message mode, comprising:
Service enabler generates and is redirected URL(uniform resource locator) and is inserted in reservations database according to the active push URL(uniform resource locator) service request of terminal, then generates new URL(uniform resource locator) and returns to this terminal with short message mode;
When this terminal is according to new URL(uniform resource locator), while asking corresponding streaming media server or Download Server that respective service is provided, streaming media server or Download Server pass through content delivery network by new URL(uniform resource locator);
Content delivery network takes out corresponding redirected URL(uniform resource locator) from reservations database according to new URL(uniform resource locator), and carries out authenticating and charging relevant treatment according to this redirected URL(uniform resource locator).
Further, described service enabler generates and is redirected URL(uniform resource locator) and is inserted in reservations database according to the active push URL(uniform resource locator) service request of terminal, then generates new URL(uniform resource locator) and specifically comprises with the step that short message mode returns to this terminal:
Whether the service content that service enabler is searched this terminal request according to the active push URL(uniform resource locator) service request of terminal exists on streaming media server or Download Server, when confirming to exist, choose a streaming media server or Download Server and provide service for this terminal, generate to be redirected URL(uniform resource locator) and to be also inserted in reservations database, the redirected URL(uniform resource locator) of generation using session identification as it unique identification in reservations database;
Service enabler is according to the redirected URL(uniform resource locator) generating, and generates new URL(uniform resource locator) together with the session identification corresponding with this redirected URL(uniform resource locator), and this new URL(uniform resource locator) is returned to this terminal with short message mode.
Further, described redirected URL(uniform resource locator) at least comprises: terminal is for asking Media Resource Server or Download Server to provide the field, content delivery network of service for carrying out the field of authenticating and charging relevant treatment.
Further, described service enabler is according to the redirected URL(uniform resource locator) generating, together with the session identification corresponding with this redirected URL(uniform resource locator), generate new URL(uniform resource locator), and the step that this new URL(uniform resource locator) is returned to this terminal with short message mode specifically comprises:
Service enabler takes out terminal for asking Media Resource Server or Download Server that the field of service is provided from the redirected URL(uniform resource locator) generating, together with the session identification corresponding with this redirected URL(uniform resource locator), generate new URL(uniform resource locator), and new URL(uniform resource locator) is returned to described terminal with short message mode.
Further, described content delivery network takes out corresponding redirected URL(uniform resource locator) from reservations database according to new URL(uniform resource locator), and the step of carrying out authenticating and charging relevant treatment according to this redirected URL(uniform resource locator) specifically comprises:
Content delivery network obtains session identification the new URL(uniform resource locator) of coming from service enabler transparent transmission is resolved, according to this session identification, from reservations database, take out the redirected URL(uniform resource locator) corresponding with this session identification, and carry out authenticating and charging relevant treatment according to this redirected URL(uniform resource locator).
The present invention also provides a kind of system of supporting active push of uniform resource locator in short message mode, comprising: service enabler, content delivery network, at least one streaming media server or Download Server, wherein,
Service enabler, for generating and be redirected URL(uniform resource locator) and be inserted into reservations database according to the active push URL(uniform resource locator) service request of terminal, generates new URL(uniform resource locator) simultaneously and returns to this terminal with short message mode;
Streaming media server or Download Server, for when terminal provides service according to new URL(uniform resource locator) request streaming media server or Download Server, pass through content delivery network by new URL(uniform resource locator);
Content delivery network, for taking out corresponding redirected URL(uniform resource locator) according to the new URL(uniform resource locator) receiving from reservations database, and carries out authenticating and charging processing according to this redirected URL(uniform resource locator).
Further, described service enabler specifically comprises: the first generation module and the second generation module, wherein
The first generation module, for search the service content of this terminal request according to the active push URL(uniform resource locator) request of terminal, on streaming media server or Download Server, whether exist, when confirming to exist, choose a streaming media server or Download Server and provide service for this terminal, generate to be redirected URL(uniform resource locator) and to be also inserted in reservations database, the redirected URL(uniform resource locator) of generation using session identification as it unique identification in reservations database;
The second generation module, for the redirected URL(uniform resource locator) generating according to the first generation module, together with the session identification corresponding with this redirected URL(uniform resource locator), generate new URL(uniform resource locator), and new URL(uniform resource locator) is returned to this terminal with short message mode.
Further, described redirected URL(uniform resource locator) at least comprises: terminal is for asking Media Resource Server or Download Server to provide the field, content delivery network of service for carrying out the field of authenticating and charging relevant treatment.
Further, described the second generation module specifically for, from be redirected URL(uniform resource locator), take out terminal for asking Media Resource Server or Download Server that the field of service is provided, together with the session identification corresponding with this redirected URL(uniform resource locator), generate new URL(uniform resource locator), and this new URL(uniform resource locator) returns to described terminal with short message mode.
Further, described content delivery network specifically for, being resolved, the new URL(uniform resource locator) of coming from service enabler transparent transmission obtains session identification, according to this session identification, from reservations database, take out the redirected URL(uniform resource locator) corresponding with this session identification, and carry out authenticating and charging relevant treatment according to this redirected URL(uniform resource locator).
Beneficial effect of the present invention is as follows:
The present invention by by Redirect URL data inserting storehouse and generate new URL with short message mode to UE, and CDN takes out and to find corresponding Redirect URL to carry out charging authentication according to new URL, solved the problem that existing redirected flow process is not supported short message mode PUSH URL.
Other features and advantages of the present invention will be set forth in the following description, and, the becoming apparent from specification of part, or understand by implementing the present invention.Object of the present invention and other advantages can be realized and be obtained by specifically noted structure in the specification write, claims and accompanying drawing.
Embodiment
Below in conjunction with accompanying drawing, specifically describe the preferred embodiments of the present invention, wherein, accompanying drawing forms the application's part, and together with embodiments of the present invention for explaining principle of the present invention.For purpose of clarity and simplification, when it may make theme of the present invention smudgy, by illustrating in detail of known function and structure in omission device described herein.
First, by reference to the accompanying drawings described in 1 pair of embodiment of the present invention, method is elaborated.
As shown in Figure 1, Fig. 1 is the schematic flow sheet of method described in the embodiment of the present invention, specifically can comprise the steps:
Step 101:UE (mobile terminal) is by the WEB door of wireless network access mobile stream media system;
By the audio-video frequency media file in mobile stream media system, the mode with list is presented on the page step 102:WEB door, returns to UE;
Step 103:UE is according to the service content of selecting user to select, to SE (Service Engine, service enabler) send PUSH URL service request (request of some direct broadcast service), this service request can be the request message of a HTTP (HyperText Transfer Protocol, HTML (Hypertext Markup Language)) form;
Step 104:SE retrieves in its oneself data-base content record sheet, search the service content of UE user's request at SS (Streaming Server, streaming media server) on, whether exist, if existed, and there is available SS, select this SS to provide related service for this UE user; If available SS has many, select wherein a SS to provide related service for this UE user;
Step 105:SE generates Redirect URL, the sessionID (session identification) of usining is inserted in reservations database as the unique identification of Redirect URL, and this Redirect URL mainly comprises two parts content: UE for asking the field of SS service and CDN for the field of authenticating and charging; The present invention is in example, and the reservations database of employing adopts original database server in mobile stream media system, and a database can certainly be set in addition;
Step 106:SE generates new short URL and returns to this UE with short message mode, be that SE chooses UE in Redirect URL for asking the field of SS service as new URL, and new URL is carried in http response message and with note, returns to this UE by WEB door, wherein, result code in the message header of response message is 200 (representing successfully to find to provide for this UE user the SS of service), has comprised new URL in the message body of response message;
Step 107: this UE receives after the response message of SE, parses the new URL in response message, and this new URL is carried in RTSP (Real-time Streaming Protocol, real-time streaming protocol) message and initiates service request to this SS;
Step 108: this SS receives after the service request of UE, and this new URL is passed through to CDN (Content Delivery Network, content delivery network);
Step 109:CDN (Content Delivery Network, content delivery network) according to this service request, from URL, parse sessionID field, according to sessionID field, from reservations database, take out the Redirect URL that the URL new with this is corresponding, to carry out the service processing of subsequent authentication charging;
Step 110: the bit stream data of demand (telecommunication) service, the service content that provides UE to need are provided to UE this SS.
Said process be take terminal request point direct broadcast service and the method for the invention is illustrated as example, for terminal request download service, what service content was now provided is no longer streaming media server, but Download Server, other processing procedures are identical, repeat no more herein.
In the embodiment of the present invention, new URL has just chosen the field for request service in Redirect URL, and for example, for a direct broadcast service, the Redirect URL of generation is:
rtsp://10.42.109.118:554/CACHELABEL/1/vod/30000000026700000814.3gp?userid=13900000003&userip=10.42.109.146&spid=1000&pid=123&cid=aspen1982&subcontentid=aspen19 82×tamp=20100610171239&life=3600&contenttype=2&preview=0&playlistid=aspen1982&proxy=0&oma=0&chargeuserid=13900000003&subcontentsize=&mimetype=&enkey=EF77286A40517E90DA7F5EB0FBDF5AB1;
The new URL generating according to the above-mentioned URL of resetting is:
rtsp://10.42.109.118:554/CACHELABEL/1/vod/30000000026700000814.3gp?session=1。
Again for example, for download service, the Redirect URL of generation is:
http://10.42.109.120:8084/CACHELABEL/1/vod/30000000026700000814.3gp?userid=13900000003&userip=10.42.109.146&spid=1000&pid=123&cid=aspen1982&subcontentid=aspen19 82×tamp=20100610171239&1ife=3600&contenttype=1&preview=0&playlistid=aspen1982&proxy=0&oma=0&chargeuserid=13900000003&subcontentsize=&mimetype=video/3gpp&enkey=EF77286A40517E90DA7F5EB0FBDF5AB2;
The new URL generating according to the above-mentioned URL of resetting is:
http://1042109120:8084/CACHELABEL/1/vod/3000000002670000 2。
By above-mentioned two examples, can see, because new URL has removed UE for asking SS/DLS that the field of service is provided, thereby byte number greatly reduces, only need to just new URL can be notified to UE by a note, UE just can ask corresponding SS/DLS that service content is provided according to the new URL in this note like this, when follow-up CDN carries out charging authentication, according to sessionID, go to search corresponding Redirect URL in reservations database again and carry out respective handling, concrete authenticating and charging processing procedure is existing ripe solution in the prior art, repeat no more herein.
Below in conjunction with system described in 2 pairs of embodiment of the present invention of accompanying drawing, be elaborated.
As shown in Figure 2, Fig. 2 is the structural representation of system described in the embodiment of the present invention, specifically can comprise: service enabler, content delivery network, at least one streaming media server or Download Server, below will be elaborated to each equipment.
(1) service enabler, main being responsible for generates and is redirected URL(uniform resource locator) and is inserted in reservations database according to the active push URL(uniform resource locator) service request of terminal, generates new URL(uniform resource locator) simultaneously and returns to this terminal with short message mode; Redirected URL(uniform resource locator) at least comprises: terminal is for asking Media Resource Server that the field of service and the content delivery network field for authenticating and charging is provided.
Service enabler specifically comprises: the first generation module and the second generation module, wherein
The first generation module, according to the service content of searching this terminal request according to the active push URL(uniform resource locator) request of terminal, on streaming media server or Download Server, whether exist, when confirming to exist, choose a streaming media server or Download Server and provide service for this terminal, generate to be redirected URL(uniform resource locator) and to be also inserted in reservations database, the redirected URL(uniform resource locator) of generation using session identification as it unique identification in reservations database;
The second generation module, the redirected URL(uniform resource locator) generating according to the first generation module, together with the session identification corresponding with this redirected URL(uniform resource locator), generate new URL(uniform resource locator), and new URL(uniform resource locator) is returned to this terminal with short message mode be exactly specifically, the second generation module takes out terminal for asking Media Resource Server or Download Server that the field of service is provided from be redirected URL(uniform resource locator), together with the session identification corresponding with this redirected URL(uniform resource locator), generate new URL(uniform resource locator), and this new URL(uniform resource locator) returns to described terminal with short message mode.
(2) streaming media server or Download Server, be mainly responsible for, when terminal provides service according to new URL(uniform resource locator) request streaming media server or Download Server, new URL(uniform resource locator) being passed through to content delivery network;
(3) content delivery network, main being responsible for taken out corresponding redirected URL(uniform resource locator) according to the new URL(uniform resource locator) receiving from reservations database, and carries out authenticating and charging processing according to this redirected URL(uniform resource locator); Be exactly specifically, being resolved, the new URL(uniform resource locator) of coming from service enabler transparent transmission obtains session identification, according to this session identification, from reservations database, take out the redirected URL(uniform resource locator) corresponding with this session identification, and carry out authenticating and charging relevant treatment according to this redirected URL(uniform resource locator).
Specific implementation process for system modules described in the embodiment of the present invention, is described in detail in said method, so locate to repeat no more.
In sum, the embodiment of the present invention provides the method and system of supporting note active push URL(uniform resource locator), by by Redirect URL data inserting storehouse and generate new URL with short message mode to UE, and CDN takes out and to find corresponding Redirect URL to carry out charging authentication according to new URL, solved the problem that existing redirected flow process is not supported short message mode PUSH URL.
Above; be only the present invention's embodiment preferably, but protection scope of the present invention is not limited to this, is anyly familiar with in technical scope that those skilled in the art disclose in the present invention; the variation that can expect easily or replacement, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claims.