WO2012163177A1 - Method for processing multimedia file and network side device in communication system - Google Patents
Method for processing multimedia file and network side device in communication system Download PDFInfo
- Publication number
- WO2012163177A1 WO2012163177A1 PCT/CN2012/073648 CN2012073648W WO2012163177A1 WO 2012163177 A1 WO2012163177 A1 WO 2012163177A1 CN 2012073648 W CN2012073648 W CN 2012073648W WO 2012163177 A1 WO2012163177 A1 WO 2012163177A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- multimedia file
- multimedia
- network side
- side device
- client
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
- H04L65/1069—Session establishment or de-establishment
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/61—Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
- H04L65/612—Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for unicast
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/563—Data redirection of data network streams
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
Definitions
- the processing method of the multimedia file and the network side device in the communication system The application is submitted to the Chinese Patent Office on October 10, 2011, and the application number is 2011 10304828. 2.
- the invention name is "the processing method of the multimedia file and the communication system"
- the priority of the Chinese patent application of the "network side device” is incorporated herein by reference.
- the present invention relates to communication technologies, and in particular, to a method for processing a multimedia file and a network side device in the communication system.
- the mobile terminal may not be able to obtain the multimedia file corresponding to the play address of the multimedia file when the web support capability is limited.
- the embodiments of the present invention provide a multimedia file processing method and a network side device in a communication system, which are used to obtain a multimedia file corresponding to a play address of a multimedia file included in a web page.
- An aspect of the present invention provides a method for processing a multimedia file, including:
- the network side device obtains the web page corresponding to the address information according to the address information sent by the client on the mobile terminal;
- the network side device parses the web page to obtain a play address of the multimedia file; the network side device sends the play address of the multimedia file to the client, so that The client obtains a multimedia file corresponding to a play address of the multimedia file.
- Another aspect of the present invention provides a network side device, including:
- an obtaining unit configured to obtain, according to address information sent by the client on the mobile terminal, a web page corresponding to the address information
- a parsing unit configured to parse the web page obtained by the obtaining unit, and obtain a play address of the multimedia file
- a sending unit configured to send, to the client, a play address of the multimedia file obtained by the parsing unit, so that the client obtains a multimedia file corresponding to a play address of the multimedia file.
- the network side device obtains the web page corresponding to the address information according to the address information sent by the client on the mobile terminal, and then parses the web page to obtain the play address of the multimedia file, and Sending the play address of the multimedia file to the client, so that the client can obtain the multimedia file corresponding to the play address of the multimedia file included in the web page.
- FIG. 1A is a schematic diagram of a system architecture according to an embodiment of the present invention.
- FIG. 1B is a schematic flowchart of a method for processing a multimedia file according to an embodiment of the present invention
- FIG. 2B is a schematic flowchart of a method for processing a multimedia file according to another embodiment of the present invention
- FIG. 3 is a schematic structural diagram of a network side device in a communication system according to another embodiment of the present invention
- FIG. 4 is a schematic structural diagram of a network side device in the corresponding embodiment of FIG. 2A and FIG. 2B.
- the technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention.
- the embodiments are a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
- FIG. 1A is a schematic diagram of a system architecture according to an embodiment of the present invention, as shown in FIG. 1A.
- the execution entity network side device of the method provided in this embodiment may be a newly newly set network side device, and may also be a function added to at least one of the existing network side devices. Specifically, for example: at least one of a web server and a multimedia server; in addition, the network side device may be partially completed by the web server, and another part of the function is completed by the multimedia server, and the two complete the entire processing flow through interaction, this embodiment There is no restriction on the network side device for this. After the client obtains the multimedia file corresponding to the play address of the above multimedia file, the client can play the obtained multimedia file.
- the mobile terminal may include but is not limited to a mobile phone, a personal digital assistant.
- a web server that provides the original web page.
- a multimedia server for providing storage and transmission of multimedia content in a web page.
- a network side server configured to parse the web page, obtain a play address of the multimedia file, and send the play address of the multimedia file to the mobile terminal, so that the client obtains the multimedia file corresponding to the play address of the multimedia file.
- FIG. 1B is a schematic flowchart of a method for processing a multimedia file according to an embodiment of the present invention. As shown in FIG. 1B, the method for processing a multimedia file in this embodiment may include:
- the network side device obtains the web page corresponding to the address information according to the address information sent by the client on the mobile terminal;
- the network side device can locate the uniform resource according to the client sent by the mobile terminal.
- (Uniform Resource Locator, abbreviated as URL) address obtain the web page corresponding to the URL address.
- the network side device parses the foregoing web page to obtain a play address of the multimedia file.
- the network side device may parse the web page obtained in 101 according to the obtained multimedia label, and obtain a play address of the multimedia file.
- the network side device sends the play address of the multimedia file to the client, so that the client obtains the multimedia file corresponding to the play address of the multimedia file.
- the network side device may specifically send a playlist to the client, where the playlist includes a play address of the multimedia file.
- the manner in which the network side device sends the playlist may include, but is not limited to, an extensible markup language (referred to as the phoenix), a short message, and a jason format based on the Hyper Text Transfer Protocol (HTTP). Format the language.
- the network side device may specifically parse the obtained web page, obtain a play address of the multimedia file on the multimedia server, and map the play address of the multimedia file on the multimedia server to the network side device.
- the playback address of the multimedia file on the network side device of the above mapping may be sent to the client.
- the network side device may further obtain the multimedia file corresponding to the play address of the multimedia file on the multimedia server from the multimedia server by using the play address of the multimedia file on the multimedia server. If the multimedia capability information of the client does not support (or cannot be parsed) the multimedia file obtained from the foregoing multimedia server, the network side device may further perform the foregoing obtained multimedia server according to the obtained multimedia capability information of the client. The multimedia file corresponding to the play address of the multimedia file is converted into the multimedia file supported by the client.
- the multimedia capability information of the client may include, but is not limited to, at least one of the following information: file format information, for example: AVI, FLASH, MPEG4 or 3GP, etc.; multimedia data encoding and decoding mode, for example: H.264 or H. 263 and so on.
- the network side device in this embodiment may further convert the multimedia file corresponding to the play address of the specified multimedia file on the multimedia server into a multimedia file supported by most clients, for example, a file in an AVI format.
- the network side device may further perform the step of: “the network side device maps a play address of the multimedia file on the multimedia server to a play address of the multimedia file on the network side device” according to “102”, And storing a mapping relationship between a play address of the multimedia file on the multimedia server and a play address of the multimedia file on the network side device.
- the network side device may further receive the play request sent by the client, where the play request includes a play address of the multimedia file on the network side device, and the network side device may And the saved mapping relationship, the play address of the multimedia file on the multimedia server corresponding to the play address of the multimedia file on the network side device included in the play request sent by the client, and sending the foregoing to the client Obtaining a multimedia file corresponding to a play address of the multimedia file on the multimedia server or sending the converted multimedia file supported by the client.
- the address is mapped to the play address of the multimedia file on the network side device "ht tp: ⁇ multimedia server IP: por t/s rc", and the mapping relationship is saved.
- the request is for the multimedia server IP: por t, and then requested to play on the multimedia server according to the "src-playing address on the multimedia server”.
- multimedia on the multimedia server can be transcoded into a multimedia format that the client can play.
- the network side device saves an identifier ID and a mapping relationship between the ID and the play address on the multimedia server, and returns only the ID as a parameter to the client, and the ID and the multimedia server.
- the mapping relationship of the play address is sent to the multimedia server, so that when the client requests the multimedia server to transmit the ID to the multimedia server, the multimedia server obtains the play address on the multimedia server to complete the play.
- the network side device obtains the address information sent by the client on the mobile terminal. After the web page corresponding to the address information is obtained, the web page is parsed to obtain a play address of the multimedia file, and the play address of the multimedia file is sent to the client, so that the client can obtain the multimedia file included in the web page.
- the playback address corresponds to the multimedia file.
- the parsing unit and the multimedia conversion unit can be divided into networks.
- the process is shown in FIG. 2B.
- the parsing unit and the multimedia conversion unit may be combined as a single device on the network side, as shown in FIG. 4; or, the parsing unit may be disposed on the web server.
- the multimedia conversion unit can also be disposed on the multimedia server, as shown in FIG. 4, and the process thereof is shown in FIG. 2A.
- FIG. 2A and 2B are schematic flowcharts of a method for processing a multimedia file according to an embodiment of the present invention.
- the main difference is that the resolution unit and the multimedia conversion unit are located on the network side, and the specific process thereof is not substantially different.
- the method for processing a multimedia file in this embodiment may include:
- the user inputs a URL address in a client on the mobile terminal.
- the client sends the foregoing URL address to the parsing unit.
- the parsing unit sends the foregoing URL address to the web server.
- the web server sends the web page corresponding to the URL address to the parsing unit.
- the parsing unit parses the webpage, obtains a play address of the multimedia file on the multimedia server, and maps a play address of the multimedia file on the multimedia server to a play address of the multimedia file on the multimedia conversion unit, and saves the multimedia server. a mapping relationship between a play address of the multimedia file and a play address of the multimedia file on the multimedia conversion unit;
- the parsing unit sends the saved mapping relationship to the multimedia conversion unit.
- the parsing unit returns a playlist to the client, where the playlist includes a play address of the multimedia file on the multimedia conversion unit mapped above;
- the user selects a name of the multimedia file in a playlist received by the client on the mobile terminal.
- the client sends a play request to the multimedia conversion unit, where the play request includes a play address of the multimedia file on the multimedia conversion unit and multimedia capability information of the client.
- the multimedia conversion unit obtains, according to the mapping relationship obtained above, the play address of the multimedia file on the multimedia server corresponding to the play address of the multimedia file on the multimedia conversion unit included in the play request, and performs the same with the multimedia server. Interacting, obtaining a multimedia file corresponding to a play address of the multimedia file on the multimedia server;
- the multimedia conversion unit may convert, according to the obtained multimedia capability information of the client, the multimedia file corresponding to the play address of the multimedia file on the multimedia server obtained above to the multimedia file supported by the client.
- the above conversion may be performed in real time according to the current request, or may be performed in advance.
- the multimedia conversion unit may further store the multimedia file supported by the client after the conversion, so that the client does not need to execute 210 and 211 at the next request, and directly executes 212 and 21 3;
- the rule that the multimedia conversion unit stores the multimedia file supported by the client after the conversion may include, but is not limited to, at least one of the following rules:
- the number of times the client requests to acquire the multimedia file is within a preset number of times, and the multimedia file is stored;
- the latest time when the client requests to acquire the multimedia file is within a preset time range, and the multimedia file is stored;
- the multimedia file is stored within the pre-set size range to store the multimedia file.
- the priority order of the above rule application may be further set, for example, considering the above "the number of times the client requests to obtain a multimedia file", and then considering "the latest request of the client to obtain a multimedia file. Time”, and finally consider “the size of the multimedia file” and so on.
- the multimedia conversion unit sends, to the client, the multimedia file supported by the converted client.
- the client plays the obtained multimedia file supported by the client on another interface.
- the parsing unit obtains the address information sent by the client on the mobile terminal.
- the play address of the multimedia file on the multimedia server is obtained by parsing the web page, and is mapped to a play address of the multimedia file on the multimedia conversion unit, and the mapping relationship is sent to the client.
- a playback address of the multimedia file on the multimedia conversion unit so that the client utilizes the play address of the multimedia file on the multimedia conversion unit, requests the multimedia server to obtain the corresponding multimedia file through the multimedia conversion unit, and formats the multimedia file.
- the format of the multimedia file converted to the client is sent to the client, so that the client can obtain the multimedia file corresponding to the play address of the multimedia file included in the web page.
- FIG. 3 is a schematic structural diagram of a network side device in a communication system according to another embodiment of the present invention.
- the network side device in this embodiment may include an obtaining unit 31, a parsing unit 32, and a sending unit 33.
- the obtaining unit 31 is configured to obtain a web page corresponding to the address information according to the address information sent by the client on the mobile terminal;
- the parsing unit 32 is configured to parse the web page obtained by the obtaining unit, and obtain a play address of the multimedia file;
- the unit 33 is configured to send the play address of the multimedia file obtained by the parsing unit to the client, so that the client obtains the multimedia file corresponding to the play address of the multimedia file.
- the functions of the method in the embodiment of FIG. 1 and the parsing unit and the network side device in the embodiment corresponding to FIG. 2 can be implemented by the related functional units in the network side device provided in this embodiment.
- the parsing unit 32 in this embodiment may specifically parse the web page, obtain a play address of the multimedia file on the multimedia server, and map the play address of the multimedia file on the multimedia server to the multimedia file on the network side device.
- the sending unit 33 in this embodiment may specifically send the network mapped by the parsing unit 32 to the client. The playback address of the multimedia file on the side device.
- the parsing unit 32 in this embodiment may further obtain the multimedia file corresponding to the play address of the multimedia file on the multimedia server from the multimedia server by using the play address of the multimedia file on the multimedia server.
- the parsing unit 32 in this embodiment may further convert, according to the obtained multimedia capability information of the client, the format of the multimedia file corresponding to the play address of the multimedia file on the obtained multimedia server to the client.
- the format of the supported multimedia files may be converted, according to the obtained multimedia capability information of the client, the format of the multimedia file corresponding to the play address of the multimedia file on the obtained multimedia server to the client.
- the parsing unit 32 in this embodiment may further save a mapping relationship between a play address of the multimedia file on the multimedia server and a play address of the multimedia file on the network side device.
- the parsing unit receives the play request sent by the client, where the play request includes the play address of the multimedia file on the network side device, and further obtains the multimedia file on the network side device according to the saved mapping relationship. a play address corresponding to the play address of the multimedia file on the multimedia server, and sending, to the client, the multimedia file corresponding to the play address of the multimedia file on the multimedia server obtained above or sending the converted multimedia supported by the client file.
- the obtaining unit obtains the web page corresponding to the address information according to the address information sent by the client on the mobile terminal, and then obtains the web page obtained by the unit through the parsing unit, obtains the playing address of the multimedia file, and sends the The unit sends the play address of the multimedia file obtained by the parsing unit to the client, so that the client can obtain the multimedia file corresponding to the play address of the multimedia file included in the web page.
- the disclosed system, apparatus, and method may be implemented in other manners.
- the device embodiments described above are merely illustrative.
- the division of the unit is only a logical function division.
- there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
- Another point that is shown or discussed between each other The coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
- the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solution of the embodiment.
- each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
- the above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium.
- the above software functional units are stored in a storage medium and include a number of instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform some of the steps of the methods described in various embodiments of the present invention.
- the foregoing storage medium includes: u disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, and the like. The medium of the code.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Provided in an embodiment of the present invention is a method for processing a multimedia file and a network side device in a communication system. The method comprises: according to address information sent by a client-side on a mobile terminal, obtaining a web page corresponding to the address information; parsing the web page to obtain the play address of the multimedia file; sending the play address of the multimedia file to the client-side so that the client-side obtains the multimedia file corresponding to the play address of the multimedia file. In the embodiment of the present invention, after the web page corresponding to the address information is obtained according to the address information sent by the client-side on the mobile terminal, the web page is parsed to obtain the play address of the multimedia file, and the play address of the multimedia file is sent to the client-side so that the client-side can obtain the multimedia file corresponding to the play address of the multimedia file contained in the web page.
Description
多媒体文件的处理方法及通信系统中的网络侧设备 本申请要求于 2011 年 10 月 10 日提交中国专利局、 申请号为 2011 10304828. 2、 发明名称为 "多媒体文件的处理方法及通信系统中的网络 侧设备" 的中国专利申请的优先权, 其全部内容通过引用结合在本申请中。 The processing method of the multimedia file and the network side device in the communication system The application is submitted to the Chinese Patent Office on October 10, 2011, and the application number is 2011 10304828. 2. The invention name is "the processing method of the multimedia file and the communication system" The priority of the Chinese patent application of the "network side device" is incorporated herein by reference.
技术领域 本发明实施例涉及通信技术, 尤其涉及一种多媒体文件的处理方法及通 信系统中的网络侧设备。 The present invention relates to communication technologies, and in particular, to a method for processing a multimedia file and a network side device in the communication system.
背景技术 随着通信技术的发展, 移动终端集成了越来越多的应用功能, 通过万维 网 (Wor ld Wide Web , 简称 WW或 Web )服务器浏览 Web页面就是其中的一 项重要应用功能。 BACKGROUND With the development of communication technologies, mobile terminals integrate more and more application functions, and browsing Web pages through a Wor ld Wide Web (WW or Web) server is one of the important application functions.
然而, 如果 Web页面中包含多媒体文件的播放地址, 移动终端在 Web支 持能力受到限制时, 可能无法获得该多媒体文件的播放地址对应的多媒体文 件。 However, if the web page contains the play address of the multimedia file, the mobile terminal may not be able to obtain the multimedia file corresponding to the play address of the multimedia file when the web support capability is limited.
发明内容 本发明实施例提供一种多媒体文件的处理方法及通信系统中的网络侧 设备, 用以获得 Web页面中所包含的多媒体文件的播放地址对应的多媒体文 件。 SUMMARY OF THE INVENTION The embodiments of the present invention provide a multimedia file processing method and a network side device in a communication system, which are used to obtain a multimedia file corresponding to a play address of a multimedia file included in a web page.
本发明一方面提供了一种多媒体文件的处理方法, 包括: An aspect of the present invention provides a method for processing a multimedia file, including:
网络侧设备根据移动终端上的客户端发送的地址信息, 获得所述地址信 息对应的 Web页面; The network side device obtains the web page corresponding to the address information according to the address information sent by the client on the mobile terminal;
所述网络侧设备解析所述 Web页面, 获得多媒体文件的播放地址; 所述网络侧设备向所述客户端发送所述多媒体文件的播放地址, 以使得
所述客户端获得所述多媒体文件的播放地址对应的多媒体文件。 The network side device parses the web page to obtain a play address of the multimedia file; the network side device sends the play address of the multimedia file to the client, so that The client obtains a multimedia file corresponding to a play address of the multimedia file.
本发明另一方面提供了一种网络侧设备, 包括: Another aspect of the present invention provides a network side device, including:
获得单元, 用于根据移动终端上的客户端发送的地址信息, 获得所述地 址信息对应的 Web页面; And an obtaining unit, configured to obtain, according to address information sent by the client on the mobile terminal, a web page corresponding to the address information;
解析单元, 用于解析所述获得单元获得的 Web页面, 获得多媒体文件的 播放地址; a parsing unit, configured to parse the web page obtained by the obtaining unit, and obtain a play address of the multimedia file;
发送单元, 用于向所述客户端发送所述解析单元获得的多媒体文件的播 放地址, 以使得所述客户端获得所述多媒体文件的播放地址对应的多媒体文 件。 And a sending unit, configured to send, to the client, a play address of the multimedia file obtained by the parsing unit, so that the client obtains a multimedia file corresponding to a play address of the multimedia file.
由上述技术方案可知, 本发明实施例通过网络侧设备根据移动终端上的 客户端发送的地址信息, 获得该地址信息对应的 Web页面之后, 继而解析上 述 Web页面, 获得多媒体文件的播放地址, 并向上述客户端发送上述多媒体 文件的播放地址,使得上述客户端能够获得 Web页面中所包含的多媒体文件 的播放地址对应的多媒体文件。 附图说明 为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作一简单地介绍, 显而易见地, 下 面描述中的附图是本发明的一些实施例, 对于本领域普通技术人员来讲, 在 不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。 According to the foregoing technical solution, the network side device obtains the web page corresponding to the address information according to the address information sent by the client on the mobile terminal, and then parses the web page to obtain the play address of the multimedia file, and Sending the play address of the multimedia file to the client, so that the client can obtain the multimedia file corresponding to the play address of the multimedia file included in the web page. BRIEF DESCRIPTION OF THE DRAWINGS In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description of the drawings used in the embodiments or the prior art description will be briefly described below. The drawings are some embodiments of the present invention, and those skilled in the art can obtain other drawings based on these drawings without any creative work.
图 1 A为本发明实施方式的系统架构的示意图; 1A is a schematic diagram of a system architecture according to an embodiment of the present invention;
图 1 B为本发明一实施例提供的多媒体文件的处理方法的流程示意图; 图 2A为本发明另一实施例提供的多媒体文件的处理方法的流程示意图; 图 2B为本发明另一实施例提供的多媒体文件的处理方法的流程示意图; 图 3 为本发明另一实施例提供的通信系统中的网络侧设备的结构示意 图; FIG. 1B is a schematic flowchart of a method for processing a multimedia file according to an embodiment of the present invention; FIG. 2B is a schematic flowchart of a method for processing a multimedia file according to another embodiment of the present invention; Schematic diagram of a method for processing a multimedia file; FIG. 3 is a schematic structural diagram of a network side device in a communication system according to another embodiment of the present invention;
图 4为图 2A和图 2B对应实施例中的网络侧设备的结构示意图。
具体实施方式 为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本发 明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于 本发明中的实施例, 本领域普通技术人员在没有作出创造性劳动前提下所获 得的所有其他实施例, 都属于本发明保护的范围。 4 is a schematic structural diagram of a network side device in the corresponding embodiment of FIG. 2A and FIG. 2B. The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. The embodiments are a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
图 1A为本发明实施方式的系统架构的示意图, 如图 1A所示。 FIG. 1A is a schematic diagram of a system architecture according to an embodiment of the present invention, as shown in FIG. 1A.
需要说明的是: 本实施例提供的方法的执行主体网络侧设备可以为单独 新设置的网络侧设备,还可以为在现有的网络侧设备中的至少一个上增加的 功能, (图中未专门示出) , 例如: Web服务器和多媒体服务器中的至少一 个; 另外, 网络侧设备可以一部分功能由 Web服务器完成, 另一部分功能由 多媒体服务器完成, 两者通过交互完成整个处理流程, 本实施例对此不进行 限制网络侧设备。客户端获得上述多媒体文件的播放地址对应的多媒体文件 之后, 客户端则可以播放获得的多媒体文件。 It should be noted that: the execution entity network side device of the method provided in this embodiment may be a newly newly set network side device, and may also be a function added to at least one of the existing network side devices. Specifically, for example: at least one of a web server and a multimedia server; in addition, the network side device may be partially completed by the web server, and another part of the function is completed by the multimedia server, and the two complete the entire processing flow through interaction, this embodiment There is no restriction on the network side device for this. After the client obtains the multimedia file corresponding to the play address of the above multimedia file, the client can play the obtained multimedia file.
需要说明的是: 移动终端可以包括但不限于手机、 个人数字助理 It should be noted that: The mobile terminal may include but is not limited to a mobile phone, a personal digital assistant.
( Per sona l Di g i ta l As s i s tant , 简称 PDA ) 、 无线手持设备、 无线上网本、 便携电脑、 MP 3播放器和 MP4播放器; 移动终端上的客户端可以包括但不限于 客户端软件和浏览器, 用于完成流媒体解析和播放。 (Per sona l Di gi ta l As sis tant, PDA for short), wireless handheld devices, wireless netbooks, portable computers, MP3 players and MP4 players; clients on mobile terminals can include but are not limited to client software and Browser, used to complete streaming media parsing and playback.
Web服务器, 用于提供原始的 Web页面。 A web server that provides the original web page.
多媒体服务器, 用于提供 Web页面中多媒体内容的存储和传输。 A multimedia server for providing storage and transmission of multimedia content in a web page.
网络侧服务器, 用于解析 Web页面, 获得多媒体文件的播放地址, 并向 移动终端发送所述多媒体文件的播放地址, 以使得所述客户端获得所述多媒 体文件的播放地址对应的多媒体文件。 And a network side server, configured to parse the web page, obtain a play address of the multimedia file, and send the play address of the multimedia file to the mobile terminal, so that the client obtains the multimedia file corresponding to the play address of the multimedia file.
图 1B为本发明一实施例提供的多媒体文件的处理方法的流程示意图, 如 图 1B所示, 本实施例的多媒体文件的处理方法可以包括: FIG. 1B is a schematic flowchart of a method for processing a multimedia file according to an embodiment of the present invention. As shown in FIG. 1B, the method for processing a multimedia file in this embodiment may include:
1 01、 网络侧设备根据移动终端上的客户端发送的地址信息, 获得上述 地址信息对应的 Web页面; 1 01. The network side device obtains the web page corresponding to the address information according to the address information sent by the client on the mobile terminal;
例如: 网络侧设备可以根据移动终端上的客户端发送的统一资源定位
( Uniform Resource Locator, 简称 URL)地址, 获得该 URL地址对应的 Web 页面。 For example: The network side device can locate the uniform resource according to the client sent by the mobile terminal. (Uniform Resource Locator, abbreviated as URL) address, obtain the web page corresponding to the URL address.
102、 网络侧设备解析上述 Web页面, 获得多媒体文件的播放地址; 例如: 网络侧设备可以根据获得的多媒体标签, 对 101中获得的 Web页面 进行解析, 获得多媒体文件的播放地址。 其中, 多媒体标签可以为 <div class="player" id="player ">, 或者还可以为如下形式 102. The network side device parses the foregoing web page to obtain a play address of the multimedia file. For example, the network side device may parse the web page obtained in 101 according to the obtained multimedia label, and obtain a play address of the multimedia file. The multimedia tag can be <div class="player" id="player ">, or it can be in the following form
<object width="970" height="84" <object width="970" height="84"
codebase="ht tp: //download, macromedia, coiri/ pub/ s hockwa ve / cabs / f lash/ swf lash, cab#vers ion=7, 0, 0, 0" Codebase="ht tp: //download, macromedia, coiri/ pub/ s hockwa ve / cabs / f lash/ swf lash, cab#vers ion=7, 0, 0, 0"
id=" object -flash- layer" Id=" object -flash- layer"
classid="clsid: D27CDB6E-AE6D-llcf-96B8-444553540000"> Classid="clsid: D27CDB6E-AE6D-llcf-96B8-444553540000">
<param value=" images/ trainbar. swf ?cid=1583&pid=27&area=成都" name= " movie" > <param value=" images/ trainbar. swf ?cid=1583&pid=27&area=Chengdu" name= " movie" >
<param value="high" name="qual i ty "> <param value="high" name="qual i ty ">
<param value="always " name="al lowScr iptAccess "> <param value="always " name="al lowScr iptAccess ">
<param value="opaque" name="wmode"> <param value="opaque" name="wmode">
<param value=" true" name="al lowFul lScreen"> <param value=" true" name="al lowFul lScreen">
<embed width="970" height="84" al lowful lscreen=" true" <embed width="970" height="84" al lowful lscreen=" true"
type="ap l icat ion/ x-shockwave-f lash" Type="ap l icat ion/ x-shockwave-f lash"
lugins age="ht t pi / /www, ma cromed i a . c om/ g o / getf las h layer " quality="high" f lashvars="cid=1583&pid=27&area= 成 都 " wmode=" opaque" Lugins age="ht t pi / /www, ma cromed i a . c om/ g o / getf las h layer " quality="high" f lashvars="cid=1583&pid=27&area= Chengdu " wmode=" opaque"
al lowscri tacces s=" always " id="embed_f lash- layer " Al lowscri tacces s=" always " id="embed_f lash- layer "
src=" images/ trainbar. swf " > Src=" images/ trainbar. swf " >
</ embed> </ embed>
</ aram> </ aram>
</ aram> </ aram>
</ aram>
</ aram> </ aram> </ aram>
</ aram> </ aram>
</object> </object>
可以看出, 通过标识码 1* 1&31^& 3=" (^(1=1583& 1(1=27&&^&=成都", 得 到参数 c id=1583&p id=27&area=成都,再根据当前的 Web服务器的地址进行拼 装成实际的多媒体文件的播放地址 h 11 ρ:〃 web s e r ve r: po r t / ρ 1 ay e r地址? c id=1583&pid=27&area=成都。 It can be seen that by the identification code 1* 1&31^& 3=" (^(1=1583& 1(1=27&&^&= Chengdu), the parameter c id=1583&p id=27&area=Chengdu is obtained, and then according to the current web server The address is assembled into the actual multimedia file play address h 11 ρ:〃 web ser ve r: po rt / ρ 1 ay er address? c id=1583&pid=27&area=Chengdu.
103、 网络侧设备向上述客户端发送上述多媒体文件的播放地址, 以使 得上述客户端获得上述多媒体文件的播放地址对应的多媒体文件。 103. The network side device sends the play address of the multimedia file to the client, so that the client obtains the multimedia file corresponding to the play address of the multimedia file.
例如: 网络侧设备具体可以向上述客户端发送播放列表, 该播放列表中 包含上述多媒体文件的播放地址。 其中, 网络侧设备发送播放列表的方式可 以包括但不限于基于超文本传输协议 ( Hyper Text Transfer Protocol , 简 称 HTTP ) 的可扩展标记语言 ( extens ible Markup Language , 简称鳳) 、 短消息和 jason格式的格式化语言。 For example, the network side device may specifically send a playlist to the client, where the playlist includes a play address of the multimedia file. The manner in which the network side device sends the playlist may include, but is not limited to, an extensible markup language (referred to as the phoenix), a short message, and a jason format based on the Hyper Text Transfer Protocol (HTTP). Format the language.
可选地, 在 102中, 网络侧设备具体可以解析上述获得的 Web页面, 获得 多媒体服务器上的多媒体文件的播放地址, 并将上述多媒体服务器上的多媒 体文件的播放地址映射为网络侧设备上的多媒体文件的播放地址; 相应地, 在 103中, 网络侧设备具体可以向上述客户端发送上述映射的网络侧设备上 的多媒体文件的播放地址。 Optionally, in the network device, the network side device may specifically parse the obtained web page, obtain a play address of the multimedia file on the multimedia server, and map the play address of the multimedia file on the multimedia server to the network side device. The playback address of the multimedia file on the network side device of the above mapping may be sent to the client.
进一步地, 另一实施例中, 网络侧设备还可以进一步利用上述多媒体服 务器上的多媒体文件的播放地址,从上述多媒体服务器获得上述多媒体服务 器上的多媒体文件的播放地址对应的多媒体文件。如果客户端的多媒体能力 信息不支持(或者无法解析)上述从上述多媒体服务器获得的多媒体文件, 那么, 上述网络侧设备还可以进一步根据获得的上述客户端的多媒体能力信 息, 将上述获得的上述多媒体服务器上的多媒体文件的播放地址对应的多媒 体文件转换为上述客户端支持的多媒体文件。 其中, 客户端的多媒体能力信 息可以包括但不限于下述信息中的至少一项: 文件格式信息, 例如: AVI、 FLASH, MPEG4或 3GP等; 多媒体数据编解码方式, 例如: H. 264或 H. 263等。
可选地, 本实施例中的网络侧设备还可以预先将多媒体服务器上的指定 多媒体文件的播放地址对应的多媒体文件转换为大多数客户端支持的多媒 体文件, 例如: AVI格式的文件。 Further, in another embodiment, the network side device may further obtain the multimedia file corresponding to the play address of the multimedia file on the multimedia server from the multimedia server by using the play address of the multimedia file on the multimedia server. If the multimedia capability information of the client does not support (or cannot be parsed) the multimedia file obtained from the foregoing multimedia server, the network side device may further perform the foregoing obtained multimedia server according to the obtained multimedia capability information of the client. The multimedia file corresponding to the play address of the multimedia file is converted into the multimedia file supported by the client. The multimedia capability information of the client may include, but is not limited to, at least one of the following information: file format information, for example: AVI, FLASH, MPEG4 or 3GP, etc.; multimedia data encoding and decoding mode, for example: H.264 or H. 263 and so on. Optionally, the network side device in this embodiment may further convert the multimedia file corresponding to the play address of the specified multimedia file on the multimedia server into a multimedia file supported by most clients, for example, a file in an AVI format.
可选地, 本实施例中, 网络侧设备还可以进一步根据 102中的 "网络侧 设备将上述多媒体服务器上的多媒体文件的播放地址映射为网络侧设备上 的多媒体文件的播放地址" 的步骤, 保存上述多媒体服务器上的多媒体文件 的播放地址与上述网络侧设备上的多媒体文件的播放地址的映射关系。相应 地, 在 103之后, 本实施例中, 网络侧设备还可以进一步接收上述客户端发 送的播放请求, 上述播放请求中包含上述网络侧设备上的多媒体文件的播放 地址, 网络侧设备则可以根据上述保存的映射关系, 获得与上述客户端发送 的播放请求中所包含的上述网络侧设备上的多媒体文件的播放地址对应的 上述多媒体服务器上的多媒体文件的播放地址, 并向上述客户端发送上述获 得的上述多媒体服务器上的多媒体文件的播放地址对应的多媒体文件或者 发送上述转换的上述客户端支持的多媒体文件。 Optionally, in this embodiment, the network side device may further perform the step of: “the network side device maps a play address of the multimedia file on the multimedia server to a play address of the multimedia file on the network side device” according to “102”, And storing a mapping relationship between a play address of the multimedia file on the multimedia server and a play address of the multimedia file on the network side device. Correspondingly, after the 103, in this embodiment, the network side device may further receive the play request sent by the client, where the play request includes a play address of the multimedia file on the network side device, and the network side device may And the saved mapping relationship, the play address of the multimedia file on the multimedia server corresponding to the play address of the multimedia file on the network side device included in the play request sent by the client, and sending the foregoing to the client Obtaining a multimedia file corresponding to a play address of the multimedia file on the multimedia server or sending the converted multimedia file supported by the client.
例如: 网络侧设备解析获得多媒体服务器上的播放地址后, 将该地址映 射为网络侧设备上的多媒体文件的播放地址 " ht tp:〃多媒体服务器 IP: por t/s rc" , 保存该映射关系 "ht tp:〃多媒体服务器 IP: por t/src=多媒 体服务器上的播放地址" , 返回该网络侧设备上的多媒体文件的播放地址和 映射关系给客户端, 这样客户端在请求播放多媒体的时候, 实际上请求的是 多媒体服务器 IP: por t , 之后根据 "src-多媒体服务器上的播放地址" 到多 媒体服务器上请求播放。 此外, 还可以将多媒体服务器上的多媒体转码成客 户端能够播放的多媒体格式。 For example, after the network side device parses the play address on the multimedia server, the address is mapped to the play address of the multimedia file on the network side device "ht tp: 〃 multimedia server IP: por t/s rc", and the mapping relationship is saved. "ht tp: 〃 multimedia server IP: por t / src = play address on the multimedia server", returns the play address and mapping relationship of the multimedia file on the network side device to the client, so that the client is requesting to play multimedia In fact, the request is for the multimedia server IP: por t, and then requested to play on the multimedia server according to the "src-playing address on the multimedia server". In addition, multimedia on the multimedia server can be transcoded into a multimedia format that the client can play.
当然也有其他方式实现上述地址映射的过程, 比如网络侧设备保存一个 标识 ID以及该 ID与多媒体服务器上的播放地址的映射关系, 只将该 ID作为参 数返回给客户端,将该 ID与多媒体服务器上的播放地址的映射关系发送给多 媒体服务器, 这样客户端到多媒体服务器请求播放时, 传递该 ID给多媒体服 务器, 则多媒体服务器通过该 ID获得多媒体服务器上的播放地址完成播放。 Of course, there are other ways to implement the above address mapping process. For example, the network side device saves an identifier ID and a mapping relationship between the ID and the play address on the multimedia server, and returns only the ID as a parameter to the client, and the ID and the multimedia server. The mapping relationship of the play address is sent to the multimedia server, so that when the client requests the multimedia server to transmit the ID to the multimedia server, the multimedia server obtains the play address on the multimedia server to complete the play.
本实施例中, 网络侧设备根据移动终端上的客户端发送的地址信息, 获
得该地址信息对应的 Web页面之后, 继而解析上述 Web页面, 获得多媒体文件 的播放地址, 并向上述客户端发送上述多媒体文件的播放地址, 使得上述客 户端能够获得 Web页面中所包含的多媒体文件的播放地址对应的多媒体文 件。 In this embodiment, the network side device obtains the address information sent by the client on the mobile terminal. After the web page corresponding to the address information is obtained, the web page is parsed to obtain a play address of the multimedia file, and the play address of the multimedia file is sent to the client, so that the client can obtain the multimedia file included in the web page. The playback address corresponds to the multimedia file.
参考前述实施例的实现,将图 1A和 1 B对应的实施例中网络侧设备的一部 分功能由解析单元完成, 另一部分功能由多媒体转换单元完成, 其中, 解析 单元与多媒体转换单元可以分设为网络侧的两个单独设备, 其流程参见图 2B; 或者, 解析单元与多媒体转换单元还可以合设作为网络侧的一个单独设 备, 如图 4所示; 或者, 解析单元还可以设置在 Web服务器上, 多媒体转换单 元还可以设置在多媒体服务器上, 如图 4所示, 其流程参见图 2A。 Referring to the implementation of the foregoing embodiment, a part of the functions of the network side device in the embodiment corresponding to FIG. 1A and FIG. 1B are performed by the parsing unit, and another part of the function is completed by the multimedia converting unit, wherein the parsing unit and the multimedia converting unit can be divided into networks. For the two separate devices on the side, the process is shown in FIG. 2B. Alternatively, the parsing unit and the multimedia conversion unit may be combined as a single device on the network side, as shown in FIG. 4; or, the parsing unit may be disposed on the web server. The multimedia conversion unit can also be disposed on the multimedia server, as shown in FIG. 4, and the process thereof is shown in FIG. 2A.
图 2A和 2B为本发明实施例提供的多媒体文件的处理方法的流程示意图, 由于其主要区别在于解析单元和多媒体转换单元在网络侧的位置, 其具体流 程没有实质的不同, 因而, 仅以如图 2B所示为例, 本实施例的多媒体文件的 处理方法可以包括: 2A and 2B are schematic flowcharts of a method for processing a multimedia file according to an embodiment of the present invention. The main difference is that the resolution unit and the multimedia conversion unit are located on the network side, and the specific process thereof is not substantially different. As shown in FIG. 2B, the method for processing a multimedia file in this embodiment may include:
201、 用户在移动终端上的客户端中输入 URL地址; 201. The user inputs a URL address in a client on the mobile terminal.
202、 客户端向解析单元发送上述 URL地址; 202. The client sends the foregoing URL address to the parsing unit.
203、 解析单元向 Web服务器发送上述 URL地址; 203. The parsing unit sends the foregoing URL address to the web server.
204、 Web服务器向解析单元发送上述 URL地址对应的 Web页面; 204. The web server sends the web page corresponding to the URL address to the parsing unit.
205、 解析单元解析上述 Web页面, 获得多媒体服务器上的多媒体文件的 播放地址, 并将上述多媒体服务器上的多媒体文件的播放地址映射为多媒体 转换单元上的多媒体文件的播放地址, 以及保存上述多媒体服务器上的多媒 体文件的播放地址与多媒体转换单元上的多媒体文件的播放地址之间的映 射关系; 205. The parsing unit parses the webpage, obtains a play address of the multimedia file on the multimedia server, and maps a play address of the multimedia file on the multimedia server to a play address of the multimedia file on the multimedia conversion unit, and saves the multimedia server. a mapping relationship between a play address of the multimedia file and a play address of the multimedia file on the multimedia conversion unit;
206、 解析单元向多媒体转换单元发送保存的映射关系; 206. The parsing unit sends the saved mapping relationship to the multimedia conversion unit.
207、 解析单元向客户端返回播放列表, 该播放列表中包含上述映射的 多媒体转换单元上的多媒体文件的播放地址; 207. The parsing unit returns a playlist to the client, where the playlist includes a play address of the multimedia file on the multimedia conversion unit mapped above;
208、 用户在移动终端上的客户端接收到的播放列表中选择多媒体文件 的名字;
209、 客户端向多媒体转换单元发送播放请求, 上述播放请求中包含上 述多媒体转换单元上的多媒体文件的播放地址和客户端的多媒体能力信息;208. The user selects a name of the multimedia file in a playlist received by the client on the mobile terminal. 209. The client sends a play request to the multimedia conversion unit, where the play request includes a play address of the multimedia file on the multimedia conversion unit and multimedia capability information of the client.
210、 多媒体转换单元根据上述获得的映射关系, 获得与上述播放请求 中所包含的上述多媒体转换单元上的多媒体文件的播放地址对应的上述多 媒体服务器上的多媒体文件的播放地址, 并与多媒体服务器进行交互, 获得 上述多媒体服务器上的多媒体文件的播放地址对应的多媒体文件; The multimedia conversion unit obtains, according to the mapping relationship obtained above, the play address of the multimedia file on the multimedia server corresponding to the play address of the multimedia file on the multimedia conversion unit included in the play request, and performs the same with the multimedia server. Interacting, obtaining a multimedia file corresponding to a play address of the multimedia file on the multimedia server;
211、 较优的, 多媒体转换单元可以根据获得的上述客户端的多媒体能 力信息, 将上述获得的上述多媒体服务器上的多媒体文件的播放地址对应的 多媒体文件转换为上述客户端支持的多媒体文件。上述转换可以是根据当前 的请求实时的进行, 或者预先进行。 211. Preferably, the multimedia conversion unit may convert, according to the obtained multimedia capability information of the client, the multimedia file corresponding to the play address of the multimedia file on the multimedia server obtained above to the multimedia file supported by the client. The above conversion may be performed in real time according to the current request, or may be performed in advance.
可选地, 多媒体转换单元还可以进一步对转换之后的上述客户端支持的 多媒体文件进行存储, 以使得该客户端下次请求时无需执行 210和 211 , 直接 执行 212和 21 3; Optionally, the multimedia conversion unit may further store the multimedia file supported by the client after the conversion, so that the client does not need to execute 210 and 211 at the next request, and directly executes 212 and 21 3;
具体的, 多媒体转换单元存储转换之后的上述客户端支持的多媒体文件 的规则可以包括但不限于下列规则中的至少一个: Specifically, the rule that the multimedia conversion unit stores the multimedia file supported by the client after the conversion may include, but is not limited to, at least one of the following rules:
客户端请求获取多媒体文件的次数在预先设置的次数范围之内, 则存储 该多媒体文件; The number of times the client requests to acquire the multimedia file is within a preset number of times, and the multimedia file is stored;
客户端请求获取多媒体文件的最近时间在预先设置的时间范围之内, 则 存储该多媒体文件; The latest time when the client requests to acquire the multimedia file is within a preset time range, and the multimedia file is stored;
多媒体文件的大小在预先设置的大小范围之内则, 存储该多媒体文件。 较优的, 为简化存储和提高利用率, 还可以进一步设定上述规则应用的 优先顺序, 例如先考虑上述 "客户端请求获取多媒体文件的次数" , 再考 虑 "客户端请求获取多媒体文件的最近时间" , 最后再考虑 "多媒体文件的 大小" 等等。 The multimedia file is stored within the pre-set size range to store the multimedia file. Preferably, in order to simplify storage and improve utilization, the priority order of the above rule application may be further set, for example, considering the above "the number of times the client requests to obtain a multimedia file", and then considering "the latest request of the client to obtain a multimedia file. Time", and finally consider "the size of the multimedia file" and so on.
212、 多媒体转换单元向客户端发送上述转换的客户端支持的多媒体文 件; 212. The multimedia conversion unit sends, to the client, the multimedia file supported by the converted client.
21 3、 客户端在另一个界面上播放获得的该客户端支持的多媒体文件。 本实施例中, 解析单元根据移动终端上的客户端发送的地址信息, 获得
该地址信息对应的 Web页面之后, 通过解析上述 Web页面, 获得多媒体服务器 上的多媒体文件的播放地址, 并映射为多媒体转换单元上的多媒体文件的播 放地址, 并向上述客户端发送上述具有映射关系的多媒体转换单元上的多媒 体文件的播放地址, 以使客户端利用该多媒体转换单元上的多媒体文件的播 放地址, 通过多媒体转换单元向多媒体服务器请求获得对应的多媒体文件, 并将该多媒体文件的格式转换为客户端支持的多媒体文件的格式发送给客 户端, 使得上述客户端能够获得 Web页面中所包含的多媒体文件的播放地址 对应的多媒体文件。 21 3. The client plays the obtained multimedia file supported by the client on another interface. In this embodiment, the parsing unit obtains the address information sent by the client on the mobile terminal. After the web page corresponding to the address information, the play address of the multimedia file on the multimedia server is obtained by parsing the web page, and is mapped to a play address of the multimedia file on the multimedia conversion unit, and the mapping relationship is sent to the client. a playback address of the multimedia file on the multimedia conversion unit, so that the client utilizes the play address of the multimedia file on the multimedia conversion unit, requests the multimedia server to obtain the corresponding multimedia file through the multimedia conversion unit, and formats the multimedia file. The format of the multimedia file converted to the client is sent to the client, so that the client can obtain the multimedia file corresponding to the play address of the multimedia file included in the web page.
需要说明的是: 对于前述的各方法实施例, 为了简单描述, 故将其都表 述为一系列的动作组合, 但是本领域技术人员应该知悉, 本发明并不受所描 述的动作顺序的限制, 因为依据本发明, 某些步骤可以采用其他顺序或者同 时进行。 其次, 本领域技术人员也应该知悉, 说明书中所描述的实施例均属 于优选实施例, 所涉及的动作和模块并不一定是本发明所必须的。 It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present invention is not limited by the described action sequence. Because certain steps may be performed in other sequences or concurrently in accordance with the present invention. In addition, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
在上述实施例中, 对各个实施例的描述都各有侧重, 某个实施例中没有 详述的部分, 可以参见其他实施例的相关描述。 In the above embodiments, the descriptions of the various embodiments are different, and the parts that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
图 3为本发明另一实施例提供的通信系统中的网络侧设备的结构示意 图, 如图 3所示, 本实施例的网络侧设备可以包括获得单元 31、 解析单元 32 和发送单元 33。 其中, 获得单元 31用于根据移动终端上的客户端发送的地址 信息, 获得上述地址信息对应的 Web页面; 解析单元 32用于解析上述获得单 元获得的 Web页面, 获得多媒体文件的播放地址; 发送单元 33用于向上述客 户端发送上述解析单元获得的多媒体文件的播放地址, 以使得上述客户端获 得上述多媒体文件的播放地址对应的多媒体文件。 FIG. 3 is a schematic structural diagram of a network side device in a communication system according to another embodiment of the present invention. As shown in FIG. 3, the network side device in this embodiment may include an obtaining unit 31, a parsing unit 32, and a sending unit 33. The obtaining unit 31 is configured to obtain a web page corresponding to the address information according to the address information sent by the client on the mobile terminal; the parsing unit 32 is configured to parse the web page obtained by the obtaining unit, and obtain a play address of the multimedia file; The unit 33 is configured to send the play address of the multimedia file obtained by the parsing unit to the client, so that the client obtains the multimedia file corresponding to the play address of the multimedia file.
上述图 1对应实施例中方法、 图 2对应的实施例中的解析单元和网络侧设 备的功能可以由本实施例提供的网络侧设备中的相关功能单元实现。 The functions of the method in the embodiment of FIG. 1 and the parsing unit and the network side device in the embodiment corresponding to FIG. 2 can be implemented by the related functional units in the network side device provided in this embodiment.
具体地, 本实施例中的解析单元 32具体可以解析上述 Web页面, 获得多 媒体服务器上的多媒体文件的播放地址, 将上述多媒体服务器上的多媒体文 件的播放地址映射为网络侧设备上的多媒体文件的播放地址; 相应地, 本实 施例中的发送单元 33则具体可以向上述客户端发送解析单元 32映射的网络
侧设备上的多媒体文件的播放地址。 Specifically, the parsing unit 32 in this embodiment may specifically parse the web page, obtain a play address of the multimedia file on the multimedia server, and map the play address of the multimedia file on the multimedia server to the multimedia file on the network side device. Correspondingly, the sending unit 33 in this embodiment may specifically send the network mapped by the parsing unit 32 to the client. The playback address of the multimedia file on the side device.
可选地, 本实施例中的解析单元 32还可以进一步利用上述多媒体服务器 上的多媒体文件的播放地址,从上述多媒体服务器获得上述多媒体服务器上 的多媒体文件的播放地址对应的多媒体文件。 Optionally, the parsing unit 32 in this embodiment may further obtain the multimedia file corresponding to the play address of the multimedia file on the multimedia server from the multimedia server by using the play address of the multimedia file on the multimedia server.
可选地, 本实施例中的解析单元 32还可以进一步根据获得的上述客户端 的多媒体能力信息, 将上述获得的上述多媒体服务器上的多媒体文件的播放 地址对应的多媒体文件的格式转换为上述客户端支持的多媒体文件的格式。 Optionally, the parsing unit 32 in this embodiment may further convert, according to the obtained multimedia capability information of the client, the format of the multimedia file corresponding to the play address of the multimedia file on the obtained multimedia server to the client. The format of the supported multimedia files.
可选地, 本实施例中的解析单元 32还可以进一步保存上述多媒体服务器 上的多媒体文件的播放地址与上述网络侧设备上的多媒体文件的播放地址 的映射关系。 相应地, 解析单元接收到客户端发送的播放请求, 上述播放请 求中包含上述网络侧设备上的多媒体文件的播放地址, 可以进一步根据上述 保存的映射关系, 获得与上述网络侧设备上的多媒体文件的播放地址对应的 上述多媒体服务器上的多媒体文件的播放地址, 并向上述客户端发送上述获 得的上述多媒体服务器上的多媒体文件的播放地址对应的多媒体文件或者 发送上述转换的上述客户端支持的多媒体文件。 Optionally, the parsing unit 32 in this embodiment may further save a mapping relationship between a play address of the multimedia file on the multimedia server and a play address of the multimedia file on the network side device. Correspondingly, the parsing unit receives the play request sent by the client, where the play request includes the play address of the multimedia file on the network side device, and further obtains the multimedia file on the network side device according to the saved mapping relationship. a play address corresponding to the play address of the multimedia file on the multimedia server, and sending, to the client, the multimedia file corresponding to the play address of the multimedia file on the multimedia server obtained above or sending the converted multimedia supported by the client file.
本实施例中, 获得单元根据移动终端上的客户端发送的地址信息, 获得 该地址信息对应的 Web页面之后, 通过解析单元解析获得单元获得的 Web页 面, 获得多媒体文件的播放地址, 并由发送单元向上述客户端发送解析单元 获得的多媒体文件的播放地址, 使得上述客户端能够获得 Web页面中所包含 的多媒体文件的播放地址对应的多媒体文件。 In this embodiment, the obtaining unit obtains the web page corresponding to the address information according to the address information sent by the client on the mobile terminal, and then obtains the web page obtained by the unit through the parsing unit, obtains the playing address of the multimedia file, and sends the The unit sends the play address of the multimedia file obtained by the parsing unit to the client, so that the client can obtain the multimedia file corresponding to the play address of the multimedia file included in the web page.
所属领域的技术人员可以清楚地了解到, 为描述的方便和简洁, 上述描 述的系统, 装置和单元的具体工作过程, 可以参考前述方法实施例中的对应 过程, 在此不再赘述。 A person skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中, 应该理解到, 所揭露的系统, 装置和 方法, 可以通过其它的方式实现。 例如, 以上所描述的装置实施例仅仅是示 意性的, 例如, 所述单元的划分, 仅仅为一种逻辑功能划分, 实际实现时可 以有另外的划分方式, 例如多个单元或组件可以结合或者可以集成到另一个 系统, 或一些特征可以忽略, 或不执行。 另一点, 所显示或讨论的相互之间
的耦合或直接耦合或通信连接可以是通过一些接口, 装置或单元的间接耦合 或通信连接, 可以是电性, 机械或其它的形式。 In the several embodiments provided by the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed. Another point that is shown or discussed between each other The coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作 为单元显示的部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者也可以分布到多个网络单元上。 可以根据实际的需要选择其中的部分或 者全部单元来实现本实施例方案的目的。 The units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solution of the embodiment.
另外, 在本发明各个实施例中的各功能单元可以集成在一个处理单元 中, 也可以是各个单元单独物理存在, 也可以两个或两个以上单元集成在一 个单元中。 上述集成的单元既可以采用硬件的形式实现, 也可以采用硬件加 软件功能单元的形式实现。 In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
上述以软件功能单元的形式实现的集成的单元, 可以存储在一个计算机 可读取存储介质中。 上述软件功能单元存储在一个存储介质中, 包括若干指 令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等) 执行本发明各个实施例所述方法的部分步骤。 而前述的存储介质包括: u盘、 移动硬盘、 只读存储器(Read-Only Memory , 简称 ROM ) 、 随机存取存储器 ( Random Acces s Memory , 简称 RAM ) 、 磁碟或者光盘等各种可以存储程序 代码的介质。 The above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium. The above software functional units are stored in a storage medium and include a number of instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform some of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: u disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, and the like. The medium of the code.
最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对其 限制; 尽管参照前述实施例对本发明进行了详细的说明, 本领域的普通技术 人员应当理解: 其依然可以对前述各实施例所记载的技术方案进行修改, 或 者对其中部分技术特征进行等同替换; 而这些修改或者替换, 并不使相应技 术方案的本质脱离本发明各实施例技术方案的范围。
It should be noted that the above embodiments are only for explaining the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art that: The technical solutions described in the foregoing embodiments are modified, or some of the technical features are equivalently replaced; and the modifications or substitutions do not deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1、 一种多媒体文件的处理方法, 其特征在于, 包括: A method for processing a multimedia file, comprising:
网络侧设备根据移动终端上的客户端发送的地址信息, 获得所述地址信 息对应的 Web页面; The network side device obtains the web page corresponding to the address information according to the address information sent by the client on the mobile terminal;
所述网络侧设备解析所述 Web页面, 获得多媒体文件的播放地址; 所述网络侧设备向所述客户端发送所述多媒体文件的播放地址 , 以使得 所述客户端获得所述多媒体文件的播放地址对应的多媒体文件。 The network side device parses the web page to obtain a play address of the multimedia file; the network side device sends a play address of the multimedia file to the client, so that the client obtains the play of the multimedia file The multimedia file corresponding to the address.
2、 根据权利要求 1所述的方法, 其特征在于, 2. The method of claim 1 wherein
所述网络侧设备解析所述 Web页面, 获得多媒体文件的播放地址, 包括: 所述网络侧设备解析所述 Web页面, 获得多媒体服务器上的多媒体文件 的播放地址; The network side device parses the web page to obtain a play address of the multimedia file, and the method includes: the network side device parsing the web page, and obtaining a play address of the multimedia file on the multimedia server;
所述网络侧设备将所述多媒体服务器上的多媒体文件的播放地址映射 为网络侧设备上的多媒体文件的播放地址; The network side device maps a play address of the multimedia file on the multimedia server to a play address of the multimedia file on the network side device;
所述网络侧设备向所述客户端发送所述多媒体文件的播放地址, 包括: 所述网络侧设备向所述客户端发送所述映射的网络侧设备上的多媒体 文件的播放地址。 The sending, by the network side device, the play address of the multimedia file to the client, the network side device sending, by the network side device, a play address of the multimedia file on the mapped network side device to the client.
3、 根据权利要求 2所述的方法, 其特征在于, 所述方法还包括: 所述网络侧设备利用所述多媒体服务器上的多媒体文件的播放地址 ,从 所述多媒体服务器获得所述多媒体服务器上的多媒体文件的播放地址对应 的多媒体文件。 The method according to claim 2, wherein the method further comprises: the network side device obtaining the multimedia server from the multimedia server by using a play address of the multimedia file on the multimedia server The multimedia file corresponds to the playback address of the multimedia file.
4、 根据权利要求 1—3任一权利要求所述的方法, 其特征在于, 所述方法 还包括: The method according to any one of claims 1 to 3, wherein the method further comprises:
所述网络侧设备根据获得的所述客户端的多媒体能力信息, 将所述多媒 体文件的格式转换为所述客户端支持的多媒体文件的格式。 And the network side device converts the format of the multimedia file into a format of the multimedia file supported by the client according to the obtained multimedia capability information of the client.
5、 根据权利要求 2或 3所述的方法, 其特征在于, 所述网络侧设备将所 述多媒体服务器上的多媒体文件的播放地址映射为网络侧设备上的多媒体 文件的播放地址之后, 还包括: The method according to claim 2 or 3, wherein after the network side device maps the play address of the multimedia file on the multimedia server to the play address of the multimedia file on the network side device, the network side device further includes :
所述网络侧设备保存所述多媒体服务器上的多媒体文件的播放地址与 所述网络侧设备上的多媒体文件的播放地址的映射关系。 The network side device saves a play address of the multimedia file on the multimedia server Mapping relationship of playing addresses of multimedia files on the network side device.
6、 根据权利要求 5所述的方法, 其特征在于, 所述网络侧设备向所述客 户端发送所述映射的网络侧设备上的多媒体文件的播放地址之后, 还包括: 所述网络侧设备接收所述客户端发送的播放请求, 所述播放请求中包含 所述网络侧设备上的多媒体文件的播放地址; The method according to claim 5, after the network side device sends the play address of the multimedia file on the mapped network side device to the client, the method further includes: the network side device Receiving a play request sent by the client, where the play request includes a play address of the multimedia file on the network side device;
所述网络侧设备根据所述保存的映射关系, 获得与所述网络侧设备上的 多媒体文件的播放地址对应的所述多媒体服务器上的多媒体文件的播放地 址; And the network side device obtains, according to the saved mapping relationship, a play address of the multimedia file on the multimedia server corresponding to a play address of the multimedia file on the network side device;
所述网络侧设备向所述客户端发送所述获得的所述多媒体服务器上的 多媒体文件的播放地址对应的多媒体文件或者发送所述转换的所述客户端 支持的多媒体文件。 And the network side device sends, to the client, the multimedia file corresponding to the play address of the multimedia file on the obtained multimedia server, or sends the converted multimedia file supported by the client.
7、 一种通信系统中的网络侧设备, 其特征在于, 包括: A network side device in a communication system, comprising:
获得单元, 用于根据移动终端上的客户端发送的地址信息, 获得所述地 址信息对应的 Web页面; And an obtaining unit, configured to obtain, according to address information sent by the client on the mobile terminal, a web page corresponding to the address information;
解析单元, 用于解析所述获得单元获得的 Web页面, 获得多媒体文件的 播放地址; a parsing unit, configured to parse the web page obtained by the obtaining unit, and obtain a play address of the multimedia file;
发送单元, 用于向所述客户端发送所述解析单元获得的多媒体文件的播 放地址, 以使得所述客户端获得所述多媒体文件的播放地址对应的多媒体文 件。 And a sending unit, configured to send, to the client, a play address of the multimedia file obtained by the parsing unit, so that the client obtains a multimedia file corresponding to a play address of the multimedia file.
8、 根据权利要求 7所述的设备, 其特征在于, 8. Apparatus according to claim 7 wherein:
所述解析单元具体用于 The parsing unit is specifically configured to
解析所述 Web页面, 获得多媒体服务器上的多媒体文件的播放地址, 将 所述多媒体服务器上的多媒体文件的播放地址映射为网络侧设备上的多媒 体文件的播放地址; Parsing the web page, obtaining a play address of the multimedia file on the multimedia server, and mapping a play address of the multimedia file on the multimedia server to a play address of the multimedia file on the network side device;
所述发送单元具体用于 The sending unit is specifically configured to
向所述客户端发送所述解析单元映射的网络侧设备上的多媒体文件的 播放地址。 Sending, to the client, a play address of the multimedia file on the network side device mapped by the parsing unit.
9、 根据权利要求 8所述的设备, 其特征在于, 所述解析单元还用于 利用所述多媒体服务器上的多媒体文件的播放地址,从所述多媒体服务 器获得所述多媒体服务器上的多媒体文件的播放地址对应的多媒体文件。 9. The device according to claim 8, wherein the parsing unit is further configured to: And obtaining, by the multimedia server, a multimedia file corresponding to a play address of the multimedia file on the multimedia server by using a play address of the multimedia file on the multimedia server.
10、 根据权利要求厂 9任一权利要求所述的设备, 其特征在于, 所述解 析单元还用于 10. Apparatus according to any of claims 9 wherein said analysis unit is further
根据获得的所述客户端的多媒体能力信息 , 将所述多媒体服务器上的多 媒体文件的播放地址对应的多媒体文件的格式转换为所述客户端支持的多 媒体文件的格式。 And converting, according to the obtained multimedia capability information of the client, a format of the multimedia file corresponding to the play address of the multimedia file on the multimedia server to a format of the multimedia file supported by the client.
11、 根据权利要求 8或 9所述的设备, 其特征在于, 所述解析单元还用于 保存所述多媒体服务器上的多媒体文件的播放地址与所述网络侧设备 上的多媒体文件的播放地址的映射关系。 The device according to claim 8 or 9, wherein the parsing unit is further configured to save a play address of the multimedia file on the multimedia server and a play address of the multimedia file on the network side device Mapping relations.
12、 根据权利要求 11所述的设备, 其特征在于, 所述解析单元还用于 接收所述客户端发送的播放请求, 所述播放请求中包含所述网络侧设备 上的多媒体文件的播放地址, 根据所述保存的映射关系, 获得与所述网络侧 设备上的多媒体文件的播放地址对应的所述多媒体服务器上的多媒体文件 的播放地址, 并向所述客户端发送所述获得的所述多媒体服务器上的多媒体 文件的播放地址对应的多媒体文件或者发送所述转换的所述客户端支持的 多媒体文件。 The device according to claim 11, wherein the parsing unit is further configured to receive a play request sent by the client, where the play request includes a play address of a multimedia file on the network side device. Obtaining, according to the saved mapping relationship, a play address of the multimedia file on the multimedia server corresponding to a play address of the multimedia file on the network side device, and sending the obtained the obtained message to the client a multimedia file corresponding to a play address of the multimedia file on the multimedia server or a multimedia file supported by the client that is sent by the conversion.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110304828.2 | 2011-10-10 | ||
CN2011103048282A CN103036929A (en) | 2011-10-10 | 2011-10-10 | Multimedia file processing method and network side equipment in communication system |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2012163177A1 true WO2012163177A1 (en) | 2012-12-06 |
Family
ID=47258362
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2012/073648 WO2012163177A1 (en) | 2011-10-10 | 2012-04-09 | Method for processing multimedia file and network side device in communication system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103036929A (en) |
WO (1) | WO2012163177A1 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103327411B (en) * | 2013-06-03 | 2017-02-01 | 贝壳网际(北京)安全技术有限公司 | Video playing method, device and system for mobile terminal browser |
CN103607668B (en) * | 2013-11-21 | 2017-01-11 | 优视科技有限公司 | Video play method and apparatus |
WO2015062388A1 (en) | 2013-10-31 | 2015-05-07 | 优视科技有限公司 | Picture loading method and device and video playback method and device |
CN105592324B (en) * | 2015-07-30 | 2017-07-11 | 广州市动景计算机科技有限公司 | Media resource address resolution and acquisition methods, system and server and client side |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101355574A (en) * | 2008-07-30 | 2009-01-28 | 优视动景(北京)技术服务有限公司 | Method for on-line playing stream media files by a mobile terminal |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1988547A (en) * | 2005-12-23 | 2007-06-27 | 腾讯科技(深圳)有限公司 | Method, server and system for online playing medium file |
CN101534414A (en) * | 2008-03-11 | 2009-09-16 | 中兴通讯股份有限公司 | Method and terminal for playing streaming media |
-
2011
- 2011-10-10 CN CN2011103048282A patent/CN103036929A/en active Pending
-
2012
- 2012-04-09 WO PCT/CN2012/073648 patent/WO2012163177A1/en active Application Filing
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101355574A (en) * | 2008-07-30 | 2009-01-28 | 优视动景(北京)技术服务有限公司 | Method for on-line playing stream media files by a mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN103036929A (en) | 2013-04-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10957326B2 (en) | Device identifier dependent operation processing of packet based data communication | |
KR101120796B1 (en) | Session description message extensions | |
CN104104649B (en) | Method, device and system for page login | |
JP2016500190A (en) | Information presentation method, apparatus, program, and recording medium | |
WO2014063550A1 (en) | Method and system for microblog resource sharing | |
US9876840B2 (en) | Method and apparatus for dynamically generating media sequences on demand for HTTP live streaming | |
JP2007272868A5 (en) | ||
CN102131114B (en) | Method and system for providing playlist | |
JP2015505387A (en) | Dynamic service integration system and method | |
WO2012028103A1 (en) | Method and system for accessing micro blog, and method and system for sending picture on micro blog website | |
JP2014532338A (en) | Method and device for transmitting streaming media | |
CN104796439A (en) | Webpage pushing method, webpage pushing client, webpage pushing server and webpage pushing system | |
CN102542858B (en) | Course playing method and system | |
WO2012163177A1 (en) | Method for processing multimedia file and network side device in communication system | |
KR20210056180A (en) | Method and apparatus for providing web service using edge computing service | |
WO2021012723A1 (en) | Multimedia file storage and access method | |
WO2013091317A1 (en) | Application service combination method, device and system | |
US9516131B2 (en) | Media playback profile mapping | |
TW201644247A (en) | System, Terminal, Server, and Method for Data Transmission | |
CN107040505B (en) | Media data transmission method and device | |
CN103067481B (en) | Data transmission method, equipment and system | |
WO2011110117A2 (en) | Method, device and system for positioning playing of multi-code rate based on hypertext transfer protocol | |
CN116684703A (en) | Streaming media data transmission method and related equipment based on proximity service communication protocol | |
US20160127491A1 (en) | Cloud service system, cloud sevice device, and method using same | |
CN105432053B (en) | Information object acquisition methods, server and user equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 12793819 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 12793819 Country of ref document: EP Kind code of ref document: A1 |