Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
Figure 1A is the schematic diagram of the system architecture of embodiment of the present invention, shown in Figure 1A.
Need to prove: the executive agent network equipment of the method that the present embodiment provides can be independent newly-installed network equipment, can also be at least one function that increases in existing network equipment, (not illustrating specially among the figure), for example: at least one in Web server and the multimedia server; In addition, network equipment can part of functions be finished by Web server, and another part function is finished by multimedia server, and both are by finishing alternately whole handling process, and the present embodiment does not carry out the limiting network side apparatus to this.Client obtains after multimedia file corresponding to the broadcast address of above-mentioned multimedia file, and client then can be play the multimedia file of acquisition.
Need to prove: portable terminal can include but not limited to mobile phone, personal digital assistant (Personal Digital Assistant is called for short PDA), radio hand-held equipment, wireless Internet access basis, portable computer, MP3 player and MP4 player; Client on the portable terminal can include but not limited to client software and browser, is used for finishing Streaming Media and resolves and play.
Web server is used for providing the original Web page.
Multimedia server is used for providing storage and the transmission of Web page content of multimedia.
Network side server is used for resolving the Web page, obtains the broadcast address of multimedia file, and sends the broadcast address of described multimedia file to portable terminal, so that described client obtains multimedia file corresponding to the broadcast address of described multimedia file.
The schematic flow sheet of the processing method of the multimedia file that Figure 1B provides for one embodiment of the invention, as shown in Figure 1B, the processing method of the multimedia file of the present embodiment can comprise:
101, network equipment obtains the Web page corresponding to address above mentioned information according to the address information of the transmission of the client on the portable terminal;
For example: network equipment can be located (Uniform Resource Locator is called for short URL) address according to the unified resource that the client on the portable terminal sends, obtain the Web page corresponding to this URL address.
102, network equipment is resolved the above-mentioned Web page, obtains the broadcast address of multimedia file;
For example: network equipment can be according to the multimedia label that obtains, and the Web page that obtains in 101 is resolved, and obtains the broadcast address of multimedia file.Wherein, the multimedia label can be<div class=" player " id=" player " 〉, perhaps can also be following form
Can find out, by identification code flashvars=" cid=1583﹠amp; Pid=27﹠amp; Area=Chengdu ", obtain parameter c id=1583﹠amp; Pid=27﹠amp; Is area=Chengdu assembled into the broadcast address http://webserver:port/player address of actual multimedia file again according to the address of current Web server? cid=1583﹠amp; Pid=27﹠amp; Area=Chengdu.
103, network equipment sends the broadcast address of above-mentioned multimedia file to above-mentioned client, so that above-mentioned client obtains multimedia file corresponding to the broadcast address of above-mentioned multimedia file.
For example: network equipment specifically can send playlist to above-mentioned client, comprises the broadcast address of above-mentioned multimedia file in this playlist.Wherein, the mode that network equipment sends playlist can include but not limited to based on HTML (Hypertext Markup Language) (Hyper Text Transfer Protocol, the formatted language of extend markup language abbreviation HTTP) (eXtensible Markup Language is called for short XML), short message and jason form.
Alternatively, in 102, network equipment specifically can be resolved the Web page of above-mentioned acquisition, obtain the broadcast address of the multimedia file on the multimedia server, and the broadcast address of the multimedia file on the above-mentioned multimedia server is mapped as the broadcast address of the multimedia file on the network equipment; Correspondingly, in 103, network equipment specifically can send to above-mentioned client the broadcast address of the multimedia file on the network equipment of above-mentioned mapping.
Further, among another embodiment, network equipment can also further utilize the broadcast address of the multimedia file on the above-mentioned multimedia server, obtains the multimedia file corresponding to broadcast address of the multimedia file on the above-mentioned multimedia server from above-mentioned multimedia server.If the multimedia capability information of client is not supported (perhaps can't resolve) above-mentioned multimedia file that obtains from above-mentioned multimedia server, so, above-mentioned network equipment can also further according to the multimedia capability information of the above-mentioned client that obtains, be converted to the multimedia file corresponding to broadcast address of the multimedia file on the above-mentioned multimedia server of above-mentioned acquisition the multimedia file of above-mentioned client support.Wherein, the multimedia capability information of client can include but not limited at least one in the following information: file format information, such as: AVI, FLASH, MPEG4 or 3GP etc.; The multi-medium data code encoding/decoding mode, such as: H.264 or H.263 wait.
Alternatively, the network equipment in the present embodiment can also be converted to the multimedia file corresponding to broadcast address of the appointment multimedia file on the multimedia server multimedia file of most of clients supports in advance, for example: the file of AVI form.
Alternatively, in the present embodiment, network equipment can also be further according to the step of " network equipment is mapped as the broadcast address of the multimedia file on the above-mentioned multimedia server broadcast address of the multimedia file on the network equipment " in 102, preserve the mapping relations of the broadcast address of the broadcast address of the multimedia file on the above-mentioned multimedia server and the multimedia file on the above-mentioned network equipment.Correspondingly, after 103, in the present embodiment, network equipment can also further receive the playing request that above-mentioned client sends, the broadcast address that comprises the multimedia file on the above-mentioned network equipment in the above-mentioned playing request, network equipment then can be according to the mapping relations of above-mentioned preservation, the broadcast address of the multimedia file on above-mentioned multimedia server corresponding to the broadcast address of the multimedia file on the above-mentioned network equipment that comprises in the playing request that obtains to send with above-mentioned client, and send multimedia file corresponding to the broadcast address of the multimedia file on the above-mentioned multimedia server of above-mentioned acquisition to above-mentioned client or send the multimedia file of the above-mentioned client support of above-mentioned conversion.
For example: after network equipment is resolved the broadcast address that obtains on the multimedia server, this address is mapped as the broadcast address " http: // multimedia server IP:port/src " of the multimedia file on the network equipment, preserve these mapping relations " http: the broadcast address the on // multimedia server IP:port/src=multimedia server ", return the broadcast address of the multimedia file on this network equipment and mapping relations to client, client is in the request play multimedia like this, in fact that request is multimedia server IP:port, asks to play to multimedia server according to " broadcast address on the src=multimedia server " afterwards.The multimedia form that in addition, can also become client to play the multi-media transcoding on the multimedia server.
Certainly also there are other modes to realize the process of address above mentioned mapping, preserve the mapping relations of the broadcast address on a sign ID and this ID and the multimedia server such as network equipment, only this ID is returned to client as parameter, the mapping relations of the broadcast address on this ID and the multimedia server are sent to multimedia server, when client is play to the multimedia server request like this, transmit this ID to multimedia server, then multimedia server is finished broadcast by the broadcast address that this ID obtains on the multimedia server.
In the present embodiment, the address information that network equipment sends according to the client on the portable terminal, obtain after the Web page corresponding to this address information, then resolve the above-mentioned Web page, obtain the broadcast address of multimedia file, and send the broadcast address of above-mentioned multimedia file to above-mentioned client, so that above-mentioned client can obtain the multimedia file corresponding to broadcast address of the multimedia file that comprises in the Web page.
Realization with reference to previous embodiment, the part of functions of network equipment is finished by resolution unit among the embodiment that Figure 1A and 1B is corresponding, another part function is finished by the multimedia converting unit, wherein, resolution unit and multimedia converting unit can be divided into two specific installations of network side, and its flow process is referring to Fig. 2 B; Perhaps, resolution unit and multimedia converting unit can also be closed a specific installation of establishing as network side, as shown in Figure 4; Perhaps, resolution unit can also be arranged on the Web server, and the multimedia converting unit can also be arranged on the multimedia server, and as shown in Figure 4, its flow process is referring to Fig. 2 A.
The schematic flow sheet of the processing method of the multimedia file that Fig. 2 A and 2B provide for the embodiment of the invention, because its main distinction is that resolution unit and multimedia converting unit are in the position of network side, its idiographic flow does not have tangible difference, thereby, only to be depicted as example such as Fig. 2 B, the processing method of the multimedia file of the present embodiment can comprise:
201, input URL address in the client of user on portable terminal;
202, client sends above-mentioned URL address to resolution unit;
203, resolution unit sends above-mentioned URL address to Web server;
204, Web server sends the Web page corresponding to above-mentioned URL address to resolution unit;
205, resolution unit is resolved the above-mentioned Web page, obtain the broadcast address of the multimedia file on the multimedia server, and the broadcast address of the multimedia file on the above-mentioned multimedia server is mapped as the broadcast address of the multimedia file on the multimedia converting unit, and preserve the mapping relations between the broadcast address of the broadcast address of the multimedia file on the above-mentioned multimedia server and the multimedia file on the multimedia converting unit;
206, resolution unit sends the mapping relations of preserving to the multimedia converting unit;
207, resolution unit is returned playlist to client, comprises the broadcast address of the multimedia file on the multimedia converting unit of above-mentioned mapping in this playlist;
208, the client of user on portable terminal to playlist in select the name of multimedia file;
209, client sends playing request to the multimedia converting unit, comprises the broadcast address of the multimedia file on the above-mentioned multimedia converting unit and the multimedia capability information of client in the above-mentioned playing request;
210, the multimedia converting unit is according to the mapping relations of above-mentioned acquisition, obtain the broadcast address of the multimedia file on the above-mentioned multimedia server corresponding with the broadcast address of multimedia file on the above-mentioned multimedia converting unit that comprises in the above-mentioned playing request, and carry out alternately with multimedia server, obtain the multimedia file corresponding to broadcast address of the multimedia file on the above-mentioned multimedia server;
211, more excellent, the multimedia converting unit can according to the multimedia capability information of the above-mentioned client that obtains, be converted to the multimedia file corresponding to broadcast address of the multimedia file on the above-mentioned multimedia server of above-mentioned acquisition the multimedia file of above-mentioned client support.Above-mentioned conversion can be according to real-time the carrying out of current request, perhaps carries out in advance.
Alternatively, the multimedia converting unit can also be further be stored the multimedia file of the above-mentioned client support after the conversion, so that need not to carry out 210 and 211 during this client request next time, directly carries out 212 and 213;
Concrete, the rule of the multimedia file of the above-mentioned client support after the multimedia converting unit storage conversion can include but not limited at least one in the following rule:
Client-requested is obtained the number of times of multimedia file within the number of times scope that sets in advance, and then stores this multimedia file;
Client-requested is obtained the nearest time of multimedia file within the time range that sets in advance, and then stores this multimedia file;
The size of multimedia file then, is stored this multimedia file within the magnitude range that sets in advance.
More excellent, for simplifying storage and increasing operation rate, can also further set the priority of above-mentioned rule application, for example consider first above-mentioned " client-requested is obtained the number of times of multimedia file ", consider again " client-requested is obtained the nearest time of multimedia file ", consider again at last " size of multimedia file " etc.
212, the multimedia converting unit sends the multimedia file of the client support of above-mentioned conversion to client;
213, client is play the multimedia file of this client support that obtains at another interface.
In the present embodiment, the address information that resolution unit sends according to the client on the portable terminal, obtain after the Web page corresponding to this address information, by resolving the above-mentioned Web page, obtain the broadcast address of the multimedia file on the multimedia server, and be mapped as the broadcast address of the multimedia file on the multimedia converting unit, and send the broadcast address of the multimedia file on the above-mentioned multimedia converting unit with mapping relations to above-mentioned client, so that client is utilized the broadcast address of the multimedia file on this multimedia converting unit, obtain corresponding multimedia file by the multimedia converting unit to the multimedia server request, and be that the form of the multimedia file of client support sends to client with the format conversion of this multimedia file, so that above-mentioned client can obtain the multimedia file corresponding to broadcast address of the multimedia file that comprises in the Web page.
Need to prove: for aforesaid each embodiment of the method, for simple description, therefore it all is expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not subjected to the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in the specification all belongs to preferred embodiment, and related action and module might not be that the present invention is necessary.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, do not have the part that describes in detail among certain embodiment, can be referring to the associated description of other embodiment.
The structural representation of the network equipment in the communication system that Fig. 3 provides for another embodiment of the present invention, as shown in Figure 3, the network equipment of the present embodiment can comprise and obtains unit 31, resolution unit 32 and transmitting element 33.Wherein, obtain the address information that unit 31 is used for according to the transmission of the client on the portable terminal, obtain the Web page corresponding to address above mentioned information; Resolution unit 32 is used for resolving the Web page that above-mentioned acquisition unit obtains, and obtains the broadcast address of multimedia file; Transmitting element 33 is used for sending to above-mentioned client the broadcast address of the multimedia file of above-mentioned resolution unit acquisition, so that above-mentioned client obtains multimedia file corresponding to the broadcast address of above-mentioned multimedia file.
Correlation function in the network equipment that resolution unit among embodiment corresponding to method among the corresponding embodiment of above-mentioned Fig. 1, Fig. 2 and the function of network equipment can be provided by the present embodiment realizes.
Particularly, resolution unit 32 in the present embodiment specifically can be resolved the above-mentioned Web page, obtain the broadcast address of the multimedia file on the multimedia server, the broadcast address of the multimedia file on the above-mentioned multimedia server is mapped as the broadcast address of the multimedia file on the network equipment; Correspondingly, 33 of transmitting elements in the present embodiment specifically can send to above-mentioned client the broadcast address of the multimedia file on the network equipment of resolution unit 32 mappings.
Alternatively, resolution unit 32 in the present embodiment can also further be utilized the broadcast address of the multimedia file on the above-mentioned multimedia server, obtains the multimedia file corresponding to broadcast address of the multimedia file on the above-mentioned multimedia server from above-mentioned multimedia server.
Alternatively, resolution unit 32 in the present embodiment can also be further according to the multimedia capability information of the above-mentioned client that obtains, and the format conversion of the multimedia file that the broadcast address of the multimedia file on the above-mentioned multimedia server of above-mentioned acquisition is corresponding is the form of the multimedia file of above-mentioned client support.
Alternatively, the mapping relations of the broadcast address of the broadcast address of the multimedia file on the above-mentioned multimedia server of the 32 all right further preservations of the resolution unit in the present embodiment and the multimedia file on the above-mentioned network equipment.Correspondingly, resolution unit receives the playing request that client sends, the broadcast address that comprises the multimedia file on the above-mentioned network equipment in the above-mentioned playing request, can be further according to the mapping relations of above-mentioned preservation, obtain the broadcast address of the multimedia file on the above-mentioned multimedia server corresponding with the broadcast address of multimedia file on the above-mentioned network equipment, and send multimedia file corresponding to the broadcast address of the multimedia file on the above-mentioned multimedia server of above-mentioned acquisition to above-mentioned client or send the multimedia file of the above-mentioned client support of above-mentioned conversion.
In the present embodiment, obtain the address information that the unit sends according to the client on the portable terminal, obtain after the Web page corresponding to this address information, resolve the Web page that obtains the unit acquisition by resolution unit, obtain the broadcast address of multimedia file, and sent the broadcast address of the multimedia file that resolution unit obtains to above-mentioned client by transmitting element, so that above-mentioned client can obtain the multimedia file corresponding to broadcast address of the multimedia file that comprises in the Web page.
The those skilled in the art can be well understood to, and is the convenience described and succinct, the system of foregoing description, and the specific works process of device and unit can with reference to the corresponding process among the preceding method embodiment, not repeat them here.
In several embodiment that the application provides, should be understood that, disclosed system, apparatus and method can realize by another way.For example, device embodiment described above only is schematic, for example, the division of described unit, only be that a kind of logic function is divided, during actual the realization other dividing mode can be arranged, for example a plurality of unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, the shown or coupling each other discussed or direct-coupling or communication connection can be by some interfaces, indirect coupling or the communication connection of device or unit can be electrically, machinery or other form.
Described unit as separating component explanation can or can not be physically to separate also, and the parts that show as the unit can be or can not be physical locations also, namely can be positioned at a place, perhaps also can be distributed on a plurality of network element.Can select according to the actual needs wherein some or all of unit to realize the purpose of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in the processing unit, also can be that the independent physics of unit exists, and also can be integrated in the unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, the form that also can adopt hardware to add SFU software functional unit realizes.
The above-mentioned integrated unit of realizing with the form of SFU software functional unit can be stored in the computer read/write memory medium.Above-mentioned SFU software functional unit is stored in the storage medium, comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the part steps of the described method of each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (Read-Only Memory, abbreviation ROM), the various media that can be program code stored such as random access memory (Random Access Memory is called for short RAM), magnetic disc or CD.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment puts down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.