WO2008110087A1 - Mehtod for playing multimedia, system, client-side and server - Google Patents
Mehtod for playing multimedia, system, client-side and server Download PDFInfo
- Publication number
- WO2008110087A1 WO2008110087A1 PCT/CN2008/070361 CN2008070361W WO2008110087A1 WO 2008110087 A1 WO2008110087 A1 WO 2008110087A1 CN 2008070361 W CN2008070361 W CN 2008070361W WO 2008110087 A1 WO2008110087 A1 WO 2008110087A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- file
- multimedia
- play
- multimedia file
- index
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B27/10—Indexing; Addressing; Timing or synchronising; Measuring tape travel
- G11B27/19—Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier
- G11B27/28—Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B27/10—Indexing; Addressing; Timing or synchronising; Measuring tape travel
- G11B27/102—Programmed access in sequence to addressed parts of tracks of operating record carriers
- G11B27/107—Programmed access in sequence to addressed parts of tracks of operating record carriers of operating tapes
Definitions
- Multimedia playback method system, client and server
- the present invention relates to the field of communications, and more particularly to a method, system, client, and server for multimedia playback.
- BACKGROUND OF THE INVENTION With the development of network transmission technologies and streaming media technologies, multimedia live broadcast services provided through the Internet are becoming more and more popular, and a large number of webcasting softwares have emerged.
- the webcasting software needs to obtain the playing data from the Internet before playing the program.
- the playing data is received to a certain extent, the playing is triggered, and the screen is normally displayed to the user.
- the process of acquiring and accumulating the playback data by the player is called buffering when the playback data is started to be displayed until the user sees the first frame. Any network playback software has this buffering process before the screen data can be seen.
- the buffering time is different.
- the advertisements played during the buffering period are called buffered advertisements, and the contents of the buffered advertisements are in the form of material files.
- the material file here is actually a multimedia file, and all the material files mentioned below are multimedia files.
- the original buffered advertisement has a one-to-one relationship with the material file, that is, a material file contains only one buffered advertisement content, which is looped during buffering. If the buffering time is too long, the user will repeatedly watch the same buffer advertisement repeatedly, which is easy to get bored. From a commercial point of view, repeated repetitions also waste valuable buffering advertising opportunities.
- the current material file integrates multiple buffered advertisement contents, so when playing the material file in one buffer time, the user can view multiple buffered advertisement contents, but the playback order of the buffered advertisements in the material file is generated. It has been determined that this time each buffer During this period, playback can only start from the same buffered content, which may result in some ads never being played.
- the embodiment of the invention provides a multimedia playing method, including:
- index file where the index file includes an identifier of at least one multimedia file and a play attribute
- At least one of the acquired multimedia files is played according to the play attribute included in the index file.
- the embodiment of the invention provides a multimedia playing system, including:
- a server configured to provide a multimedia file, and generate an index file, where the index file includes an identifier of at least one multimedia file and a play attribute;
- a client configured to receive an index file from a server and obtain a multimedia file corresponding to each of the at least one multimedia file identifier included in the index file; and play at least the acquired multimedia file according to a play attribute included in the file one.
- the embodiment of the invention further provides a multimedia playing system, including:
- An embodiment of the present invention provides a multimedia playback server, including: a first module, configured to generate an index file, where the index file includes an identifier of at least one multimedia file and a play attribute.
- the embodiment of the invention provides a multimedia playing client, including:
- a first module configured to obtain an index file from a server, where the index file includes an identifier of at least one multimedia file and a play attribute; and acquire a multimedia file corresponding to each of the at least one multimedia file identifier included in the index file;
- a second module configured to control, according to a play attribute in the index file, the third module to play at least one of the multimedia files acquired by the first module;
- the third module is configured to play at least one of the acquired multimedia files.
- the embodiment of the invention further provides a multimedia playing client, including:
- a first module configured to generate an index file, where the index file includes an identifier of at least one multimedia file and a play attribute;
- a second module configured to acquire a multimedia file corresponding to each of the at least one multimedia file identifier included in the index file generated by the first module
- a third module configured to control, according to the play attribute included in the index file, the fourth module to play at least one of the multimedia files acquired by the second module;
- the fourth module is configured to play at least one of the acquired multimedia files.
- FIG. 1 is a flow chart of a method for playing a material file according to an embodiment of the present invention.
- FIG. 3 is a schematic structural diagram of a material file playing in an embodiment of the present invention.
- FIG. 4 is a schematic structural diagram of a material file playing according to another embodiment of the present invention.
- BEST MODE FOR CARRYING OUT THE INVENTION In order to make the objects, technical solutions and advantages of the present invention more comprehensible, the present invention will be further described in detail with reference to the accompanying drawings. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
- FIG. 1 is a flowchart of a method for playing a material file according to an embodiment of the present invention. As shown in FIG. 1 , the specific process of the method is as follows:
- the material file is stored in the server, and the inherent attributes of each material file are also stored in the server, such as the duration of the material file, the content of the material file, the playing geographic range, the playing object, and the like, wherein the material file may be buffered.
- the content of the advertisement such as content containing multiple buffered advertisement contents or a buffered advertisement, may also be other audio and video files and the like.
- the server may, according to the client personalized data carried in the request message, such as the geographical location of the client, the age of the user, the gender of the user, and the occupation of the user. And the like, to match the intrinsic property of the material file stored thereon, determine at least one material file from the stored material file as the material file to be played, and determine the material according to the intrinsic property of the at least one material file to be played.
- the play attribute of the file may include a play permission of the material file, a play priority, a play period (ie, a validity period of the material file), and the like, and then generate an index file, where the index file includes the at least one material file to be played.
- the server may also determine the play attribute of the at least one material file to be played based on the business strategy of the advertising operator.
- the server when the index file request message reported by the client includes the client personalized data, such as the geographical location of the client, the age of the user, the gender of the user, the occupation of the user, etc., the server according to the personalized data of the client. Determine the most suitable material file to be played, to generate an index file that best matches the client's personality. For example, when the client personalization data received by the server indicates that the client is located in a commercial area and the age is 25 years old, the server can search for the intrinsic attributes of all the stored material files based on the information, and play the geographical range in the intrinsic attribute. The material file for the commercial area and the playing object is selected as the material file to be played. It can also be understood that the index file request message reported by the client may not include the client personalized data, so that the server may determine at least one material file from the stored material file as a material file to be played by random selection or the like.
- the client personalized data such as the geographical location of the client, the age of the user, the gender of the user, the occupation of the user, etc
- the server does not need to generate an index file after receiving the index file request message reported by the client. Instead, after the client logs in, the server actively detects the characteristic data of the client, such as the geographical location of the client, so as to match the intrinsic properties of the material file stored thereon according to the characteristic data, thereby from the stored material file. Determine at least one material file as the material file to be played.
- the index file may further include a correspondence between the at least one material file to be played and the channel.
- the correspondence between the material file and the channel is a many-to-many mapping relationship, that is, one material file can be placed on multiple channels, and each channel can serve multiple material files.
- step S101 the client obtains an index file and a material file, wherein the material file
- the client can download the index file and the material file from the server, and the direct download method can be adopted here.
- the client needs to first download the index file from the server, and then download the corresponding material file according to the material file identifier in the index file.
- the process of the client downloading the index file and the material file from the server may be: The client first downloads the index file from the server, and checks whether the material files corresponding to the material file identifier included in the index file are stored locally; if there is at least one material If the file is not stored locally, at least one material file that is not stored locally is downloaded.
- the process of downloading the index file and the material file from the server by the client may also be that the client downloads the index file from the server, and then downloads all the material files corresponding to the material file identifier in the index file from the server.
- step S102 the client generates a play queue for each channel based on the index file.
- the client determines the play permission and the play period of each material file according to the play attribute of each material file in the obtained index file, that is, by interpreting the play attribute of each material file in the obtained index file,
- the playback permission and the playback period information that the client can recognize, and the material files having the playback permission and the playback period are organized into a play queue according to the playback channel.
- the process of generating a play queue includes: organizing all material files corresponding to the same channel into one play queue. As for whether or not each material file can be played, when it is played, etc., it can be asked and determined one by one during playback.
- the material file can be played back in all channels by default.
- the play queues composed of the material files do not have an explicit sequence of play, and should be understood here as a set of each material file.
- the client determines a play policy according to the index file, where the play policy includes a play start point and a play order, and then the client plays the material file in the play queue in the buffer time according to the determined play policy, until the buffer ends.
- the play priority does not include the play priority
- the client may select any material file in the play queue as the play start point, and the subsequent material files may also be played in a random manner. In this way, some of the material files that are not caused by insufficient buffering time can never be played, and the exposure of the material files can be equalized to some extent.
- the client first generates a play queue according to the play permission and the play period of the material file, and then confirms the play start point and the play order according to the priority of the material file during playback.
- the client may also compose a material file having a play right and a play time period into a play queue according to the priority, and the play queue has an explicit play order, so that the play file is in the play queue according to the material file during playback.
- the material files are played in sequence, in order.
- FIG. 2 shows a flow of a method of playing a material file in another embodiment of the present invention. As shown in Figure 2, the specific process of the method is as follows:
- the server generates an index file based on the material files stored on it.
- step S201 the client obtains an index file and a material file.
- step S202 the client composes all the material files corresponding to each channel into one play queue.
- step S203 the client randomly selects a material file from the play queue as Broadcast start point.
- step S204 the client queries whether the selected material file has the playing right, and can confirm according to the previously downloaded index file, or can send it to the server for confirmation immediately; if yes, go to step S205; otherwise, go to step S206.
- step S205 after confirming that the selected material file has the play permission, the material file is played, and the playback ends to step S206.
- step S206 the next material file in the play queue is selected, and this step can be performed in the same manner as step S203.
- step S207 it is asked whether the buffering time has ended; if yes, the process goes to step S208; otherwise, the process proceeds to step S204.
- step S208 the playback of the material file is stopped.
- the index file is generated by the server.
- the generation of the index file can also be performed by the client. If the client needs, according to its own characteristics, such as personalized data or feature data, query and match the material files stored on the server and their intrinsic properties, determine at least one material file from the material files stored in the server as soon as possible. Playing the material file, determining the play attribute of the material file according to the intrinsic property of the at least one material file to be played, and then generating an index file, where the index file includes the identifier of the at least one material file to be played and its playing Attributes.
- the client FIG. 3 is a system structure for playing a material file in the embodiment of the present invention. As shown in FIG.
- the system includes a server 100, and a plurality of clients (client 200, client 300, ... client N) connected thereto.
- clients clients 200, client 300, ... client N
- connection relationship between the devices in the embodiment of the present invention is for the purpose of clearly explaining the information interaction and control process, and therefore should be regarded as a logical connection relationship, and should not be limited to a physical connection.
- the server 100 is configured to store the material file and its intrinsic attributes, and according to the stored material The file and its intrinsic attributes, determining at least one material file as the material file to be played, and determining a play attribute of the at least one material file to be played, and composing the identifier of the at least one material file to be played and its play attribute into an index file .
- Each client (client 200, client 300, ... client N) is connected to the server 100, and is configured to download an index file from the server 100 and a material file corresponding to the material file identifier in the index file, and according to the index
- the playback properties in the file control the playback of these footage files.
- server 100 can also be used to store material files and their intrinsic properties.
- Each client (client 200, client 300, ... client N) is configured to query the material file and its intrinsic attributes stored on the matching server 100 when needed, and determine at least one material file as soon as it is to be played. a material file, and determining a play attribute of the material file according to an intrinsic attribute of the at least one material file to be played, and then generating an index file, where the index file includes an identifier of the at least one material file to be played and a play attribute thereof, The material files corresponding to the material file identifiers in the index file are downloaded from the server 100, and the play of the material files is controlled according to the play attributes in the index file.
- a typical server 100 can be a dedicated advertisement server, or a large website server with advertisement servo function, etc., and thus the scope of protection of the present invention should not be limited to a particular type of server.
- Each client 200 can be a variety of terminal devices capable of playing video or pictures, such as a personal computer (PC), a personal digital assistant (PDA), a mobile phone (MP), and the like. Therefore, the scope of protection of the present invention should not be limited to a particular type of client.
- PC personal computer
- PDA personal digital assistant
- MP mobile phone
- FIG. 4 is a schematic structural diagram of a material file playing according to another embodiment of the present invention.
- the system includes a server 100 and a client 200.
- the server 100 includes a transceiver module 401, a database 402, and a policy generation module 403.
- the client 200 includes a download module 501 and plays. Control module 502 and player 503.
- the transceiver module 401 is connected to the database 402 and the policy generation module 403 for interacting with the client 200 to exchange various messages, such as the index file generated by the policy generation module 403, to the client 200.
- the database 402 is coupled to the transceiver module 401 and the policy generation module 403 for storing material files and their inherent attributes.
- the policy generation module 403 is connected to the database 402 and the transceiver module 401, and determines at least one material file as a playable material file according to the material file and its intrinsic attributes stored in the database 402, and determines a play attribute of the playable material file.
- An index file is generated, and the index file is fed back to the client 200 through the transceiver module 401.
- the downloading module 501 is connected to the play control module 502, and is configured to download an index file from the policy generation module 403 of the server 100; and is further configured to download the material file from the database 402, where the material file corresponds to the material file identifier in the index file; or On the client 200
- the play control module 502 is connected to the download module 501 and the player 503, and is configured to control the player 503 to play the material file corresponding to the material file identifier in the index file according to the index file downloaded by the download module 501, and play the material file in the player 503. At the same time, it is judged whether or not the buffer is ended, and the player 503 is instructed to stop the playback of the material file at the end of the judgment.
- the server 100 may include a transceiver module 401 and a database 402.
- the client 200 includes a download module 501, a policy generation module 403, a play control module 502, and a player 503.
- the transceiver module 401 and the database 402 are used to record the material files in the database 402. Sent to the client 200.
- the policy generation module 403 queries the database 402 through the transceiver module 401 to dynamically generate an index file.
- the downloading module 501 is configured to download the material file corresponding to the material file identifier in the index file from the database 402; or to download and index from the database 402 when the client 200 does not store all the material files corresponding to the material file identifier in the index file.
- the material file in the file identifies the material file that corresponds to the client but is not stored by the client.
- the play control module 502 is connected to the policy generation module 403 and the player 503, and is configured to control the player 503 to play the material file corresponding to the material file identifier in the index file according to the index file generated by the policy generation module 403, and play the content file in the player 503.
- the material file is judged whether or not the buffer is ended, and the player 503 is instructed to stop the playback of the material file at the end of the judgment.
- the player 503 is connected to the play control module 502 for playing the material file corresponding to the material file identifier in the index file.
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Information Transfer Between Computers (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
A method for playing multimedia, a system for playing multimedia, a client-side and a server. The method includes that: generates an indexing file, the indexing file comprises at least an identification of the multimedia file and a playing attribute; obtains the multimedia file corresponding to at least one identification of the multimedia file which is comprised in the indexing file respectively; plays one of the obtained multimedia file according to the playing attribute which is comprised in the indexing file.
Description
多媒体播放方法、 系统、 客户端以及服务器 Multimedia playback method, system, client and server
技术领域 本发明涉及通信领域, 更具体地说, 涉及多媒体播放的方法、 系统、 客户端以及服务器。 发明背景 随着网络传输技术和流媒体技术的发展, 通过互联网提供的多媒体 直播服务正日益普及, 涌现出了众多网络直播软件。 TECHNICAL FIELD The present invention relates to the field of communications, and more particularly to a method, system, client, and server for multimedia playback. BACKGROUND OF THE INVENTION With the development of network transmission technologies and streaming media technologies, multimedia live broadcast services provided through the Internet are becoming more and more popular, and a large number of webcasting softwares have emerged.
网络直播软件在播放节目之前, 需要从互联网上获取播放数据, 当 播放数据接收到一定的程度后, 便触发播放, 将画面正常显示给用户。 在开始获取播放数据到用户看到第一帧画面的时间段内, 播放器获取和 积累播放数据的过程称为緩沖, 任何网络播放软件在可以看到画面数据 之前, 都存在这个緩沖过程, 只是緩沖时间长短不同而已。 而在緩沖时 间段内播放的广告, 则被称为緩沖广告, 緩沖广告的内容以素材文件的 形式存在。 这里素材文件其实为一种多媒体文件, 下文提到的所有素材 文件均为多媒体文件。 The webcasting software needs to obtain the playing data from the Internet before playing the program. When the playing data is received to a certain extent, the playing is triggered, and the screen is normally displayed to the user. The process of acquiring and accumulating the playback data by the player is called buffering when the playback data is started to be displayed until the user sees the first frame. Any network playback software has this buffering process before the screen data can be seen. The buffering time is different. The advertisements played during the buffering period are called buffered advertisements, and the contents of the buffered advertisements are in the form of material files. The material file here is actually a multimedia file, and all the material files mentioned below are multimedia files.
最初的緩沖广告与素材文件是一对一的关系, 即一个素材文件中只 包含一个緩沖广告的内容, 在緩沖时循环播放。 如果緩沖时间过长, 用 户将会反复多次观看同一个緩沖广告, 容易产生厌倦, 从商业角度看, 多次重复也浪费了宝贵的緩沖广告时机。 The original buffered advertisement has a one-to-one relationship with the material file, that is, a material file contains only one buffered advertisement content, which is looped during buffering. If the buffering time is too long, the user will repeatedly watch the same buffer advertisement repeatedly, which is easy to get bored. From a commercial point of view, repeated repetitions also waste valuable buffering advertising opportunities.
目前的素材文件则集成了多个緩沖广告内容, 因此在一个緩沖时间 内播放该素材文件时, 用户可以观看到多个緩沖广告内容, 但是由于素 材文件生成时, 其内的緩沖广告的播放次序就已经确定, 这样每次緩沖
期间都只能从相同的緩沖广告内容开始播放, 从而可能导致某些广告从 不被播放。 发明内容 本发明实施例提供了多媒体播放方法、 系统、 客户端以及服务器, 从而实现灵活的媒体播放。 The current material file integrates multiple buffered advertisement contents, so when playing the material file in one buffer time, the user can view multiple buffered advertisement contents, but the playback order of the buffered advertisements in the material file is generated. It has been determined that this time each buffer During this period, playback can only start from the same buffered content, which may result in some ads never being played. SUMMARY OF THE INVENTION Embodiments of the present invention provide a multimedia playing method, system, client, and server, thereby implementing flexible media playing.
本发明实施例提供了一种多媒体播放方法, 包括: The embodiment of the invention provides a multimedia playing method, including:
生成索引文件, 所述索引文件包含至少一个多媒体文件的标识以及 播放属性; Generating an index file, where the index file includes an identifier of at least one multimedia file and a play attribute;
获取与索引文件包含的所述至少一个多媒体文件标识各自对应的 多媒体文件; Obtaining a multimedia file corresponding to each of the at least one multimedia file identifier included in the index file;
根据所述索引文件包含的播放属性至少播放所获取的多媒体文件 之一。 At least one of the acquired multimedia files is played according to the play attribute included in the index file.
本发明实施例提供了一种多媒体播放系统, 包括: The embodiment of the invention provides a multimedia playing system, including:
服务器, 用于提供多媒体文件, 生成索引文件, 所述索引文件包含 至少一个多媒体文件的标识以及播放属性; a server, configured to provide a multimedia file, and generate an index file, where the index file includes an identifier of at least one multimedia file and a play attribute;
客户端, 用于从服务器接收索引文件并获取与所述索引文件包含的 所述至少一个多媒体文件标识各自对应的多媒体文件; 根据所述索弓 I文 件包含的播放属性至少播放所获取的多媒体文件之一。 a client, configured to receive an index file from a server and obtain a multimedia file corresponding to each of the at least one multimedia file identifier included in the index file; and play at least the acquired multimedia file according to a play attribute included in the file one.
本发明实施例还提供了一种多媒体播放系统, 包括: The embodiment of the invention further provides a multimedia playing system, including:
服务器, 用于提供多媒体文件; Server for providing multimedia files;
客户端, 用于生成索引文件, 所述索引文件包含至少一个多媒体文 件的标识以及播放属性; 从服务器获取与所述索引文件包含的所述至少 一个多媒体文件标识各自对应的多媒体文件; 根据所述索弓 I文件包含的 播放属性至少播放所获取的多媒体文件之一。
本发明实施例提供了一种多媒体播放服务器, 包括: 第一模块, 用于生成索引文件, 所述索引文件包含至少一个多媒体 文件的标识以及播放属性。 a client, configured to generate an index file, where the index file includes an identifier of at least one multimedia file and a play attribute; and acquire, from the server, a multimedia file corresponding to each of the at least one multimedia file identifier included in the index file; The playback function contained in the cable I file at least plays one of the acquired multimedia files. An embodiment of the present invention provides a multimedia playback server, including: a first module, configured to generate an index file, where the index file includes an identifier of at least one multimedia file and a play attribute.
本发明实施例提供了一种多媒体播放客户端, 包括: The embodiment of the invention provides a multimedia playing client, including:
第一模块, 用于从服务器中获取索引文件, 所述索引文件包含至少 一个多媒体文件的标识以及播放属性; 并获取与所述索引文件包含的所 述至少一个多媒体文件标识各自对应的多媒体文件; a first module, configured to obtain an index file from a server, where the index file includes an identifier of at least one multimedia file and a play attribute; and acquire a multimedia file corresponding to each of the at least one multimedia file identifier included in the index file;
第二模块, 用于根据索引文件中的播放属性控制第三模块至少播放 第一模块所获取的多媒体文件之一; a second module, configured to control, according to a play attribute in the index file, the third module to play at least one of the multimedia files acquired by the first module;
第三模块 , 用于至少播放所获取的多媒体文件之一。 The third module is configured to play at least one of the acquired multimedia files.
本发明实施例还提供了一种多媒体播放客户端, 包括: The embodiment of the invention further provides a multimedia playing client, including:
第一模块, 用于生成索引文件, 所述索引文件包含至少一个多媒体 文件的标识以及播放属性; a first module, configured to generate an index file, where the index file includes an identifier of at least one multimedia file and a play attribute;
第二模块 , 用于获取与第一模块生成的索引文件包含的所述至少一 个多媒体文件标识各自对应的多媒体文件; a second module, configured to acquire a multimedia file corresponding to each of the at least one multimedia file identifier included in the index file generated by the first module;
第三模块, 用于根据索引文件包含的播放属性控制第四模块至少播 放第二模块所获取的多媒体文件之一; a third module, configured to control, according to the play attribute included in the index file, the fourth module to play at least one of the multimedia files acquired by the second module;
第四模块 , 用于至少播放所获取的多媒体文件之一。 The fourth module is configured to play at least one of the acquired multimedia files.
在本发明实施例中, 服务器或客户端根据存储在服务器中的多媒体 文件, 生成索引文件; 客户端根据索引文件中的多媒体文件的播放属性 来播放对应的多媒体文件。 由于可以为不同的緩沖期生成不同的索引文 件, 这样每次緩沖期间播放的多媒体文件及其播放属性都有可能不同于 以往, 这就极大地提高了对多媒体文件播放进行控制的灵活性。
附图简要说明 图 1为本发明实施例中素材文件播放的方法流程图。 In the embodiment of the present invention, the server or the client generates an index file according to the multimedia file stored in the server; the client plays the corresponding multimedia file according to the play attribute of the multimedia file in the index file. Since different index files can be generated for different buffer periods, the multimedia files played during each buffer and their playback properties may be different from the past, which greatly improves the flexibility of controlling the playback of multimedia files. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a flow chart of a method for playing a material file according to an embodiment of the present invention.
图 2为本发明另一个实施例中素材文件播放的方法流程图。 2 is a flow chart of a method for playing a material file according to another embodiment of the present invention.
图 3为本发明实施例中素材文件播放的系统结构。 FIG. 3 is a schematic structural diagram of a material file playing in an embodiment of the present invention.
图 4为本发明另一实施例中素材文件播放的系统结构。 实施本发明的方式 为了使本发明的目的、 技术方案及优点更加清楚明白, 以下结合附 图及实施例, 对本发明进行进一步详细说明。 应当理解, 此处所描述的 具体实施例仅仅用以解释本发明, 并不用于限定本发明。 FIG. 4 is a schematic structural diagram of a material file playing according to another embodiment of the present invention. BEST MODE FOR CARRYING OUT THE INVENTION In order to make the objects, technical solutions and advantages of the present invention more comprehensible, the present invention will be further described in detail with reference to the accompanying drawings. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
图 1为本发明实施例中素材文件播放的方法流程, 如图 1所示, 该 方法具体过程如下: FIG. 1 is a flowchart of a method for playing a material file according to an embodiment of the present invention. As shown in FIG. 1 , the specific process of the method is as follows:
将素材文件存储在服务器中, 在服务器中还存储有各个素材文件的 固有属性, 如该素材文件的时长、 内容筒介、 播放地理范围、 播放对象 等等, 其中素材文件中包含的可以是緩沖广告的内容, 如包含多个緩沖 广告内容或一个緩沖广告的内容, 也可以是其它音视频文件等。 The material file is stored in the server, and the inherent attributes of each material file are also stored in the server, such as the duration of the material file, the content of the material file, the playing geographic range, the playing object, and the like, wherein the material file may be buffered. The content of the advertisement, such as content containing multiple buffered advertisement contents or a buffered advertisement, may also be other audio and video files and the like.
服务器可以在接收到客户端上报的索引文件请求消息之后, 根据索 弓 I文件请求消息中携带的客户端个性化数据, 如客户端所在的地理位 置、 用户的年龄、 用户的性别、 用户的职业等信息, 来匹配其上存储的 素材文件的固有属性, 从存储的素材文件中确定至少一个素材文件作为 即将播放的素材文件, 同时根据该至少一个即将播放的素材文件的固有 属性来确定该素材文件的播放属性, 播放属性可以包括素材文件的播放 权限、 播放优先级、 播放时段(即该素材文件的有效期)等, 然后生成 索引文件, 该索引文件中包括该至少一个即将播放的素材文件的标识及
其播放属性。 After receiving the index file request message reported by the client, the server may, according to the client personalized data carried in the request message, such as the geographical location of the client, the age of the user, the gender of the user, and the occupation of the user. And the like, to match the intrinsic property of the material file stored thereon, determine at least one material file from the stored material file as the material file to be played, and determine the material according to the intrinsic property of the at least one material file to be played. The play attribute of the file, the play attribute may include a play permission of the material file, a play priority, a play period (ie, a validity period of the material file), and the like, and then generate an index file, where the index file includes the at least one material file to be played. Logo and Its playback properties.
服务器也可以根据广告运营商的商业策略来确定该至少一个即将 播放的素材文件的播放属性。 The server may also determine the play attribute of the at least one material file to be played based on the business strategy of the advertising operator.
可以理解当客户端上报的索引文件请求消息中包含客户端个性化 数据时, 如客户端所在的地理位置、 用户的年龄、 用户的性别、 用户的 职业等信息, 服务器就根据客户端的个性化数据确定最适合的即将播放 的素材文件, 从而生成最符合客户端个性的索引文件。 如当服务器接受 到的客户端个性化数据显示客户端位于某一商业闹区、 年龄为 25 岁, 则服务器可以根据这些信息搜索其所有存储的素材文件的固有属性, 将 固有属性中播放地理范围为该商业闹区、 播放对象为年轻人的素材文件 选择出来作为即将播放的素材文件。 同样可以理解客户端上报的索引文 件请求消息中可以不包含客户端个性化数据, 这样服务器可以采用随机 选择等方式从存储的素材文件中确定至少一个素材文件作为即将播放 的素材文件。 It can be understood that when the index file request message reported by the client includes the client personalized data, such as the geographical location of the client, the age of the user, the gender of the user, the occupation of the user, etc., the server according to the personalized data of the client. Determine the most suitable material file to be played, to generate an index file that best matches the client's personality. For example, when the client personalization data received by the server indicates that the client is located in a commercial area and the age is 25 years old, the server can search for the intrinsic attributes of all the stored material files based on the information, and play the geographical range in the intrinsic attribute. The material file for the commercial area and the playing object is selected as the material file to be played. It can also be understood that the index file request message reported by the client may not include the client personalized data, so that the server may determine at least one material file from the stored material file as a material file to be played by random selection or the like.
还可以理解的是, 服务器也无需在接收到客户端上报的索引文件请 求消息之后, 生成索引文件。 而是在客户端登录后, 服务器主动侦测客 户端的特性数据, 如客户端所处的地理位置等, 从而根据这些特性数据 匹配其上存储的素材文件的固有属性, 从而从存储的素材文件中确定至 少一个素材文件作为即将要播放的素材文件。 It can also be understood that the server does not need to generate an index file after receiving the index file request message reported by the client. Instead, after the client logs in, the server actively detects the characteristic data of the client, such as the geographical location of the client, so as to match the intrinsic properties of the material file stored thereon according to the characteristic data, thereby from the stored material file. Determine at least one material file as the material file to be played.
在本发明的实施例中, 索引文件还可以包括该至少一个即将要播放 的素材文件与频道的对应关系。 在一个示例方案中, 素材文件与频道的 对应关系是多对多的映射关系, 即一个素材文件可以投放在多个频道 上, 每个频道可以投放多个素材文件。 In an embodiment of the present invention, the index file may further include a correspondence between the at least one material file to be played and the channel. In an example scenario, the correspondence between the material file and the channel is a many-to-many mapping relationship, that is, one material file can be placed on multiple channels, and each channel can serve multiple material files.
在步骤 S101中, 客户端获取索引文件以及素材文件, 其中素材文件
在本实施例中, 客户端可以从服务器中下载索引文件以及素材文 件, 这里可以采取直接下载的方式。 本领域技术人员很容易理解, 客户 端需要首先从服务器中下载索引文件, 然后根据索引文件中的素材文件 标识下载相应的素材文件。 In step S101, the client obtains an index file and a material file, wherein the material file In this embodiment, the client can download the index file and the material file from the server, and the direct download method can be adopted here. Those skilled in the art can easily understand that the client needs to first download the index file from the server, and then download the corresponding material file according to the material file identifier in the index file.
客户端从服务器中下载索引文件以及素材文件的过程可以是: 客户 端首先从服务器中下载索引文件, 并查看索引文件包含的素材文件标识 对应的素材文件是否均存储在本地; 若有至少一个素材文件未存储在本 地, 则下载未存储在本地的至少一个素材文件。 The process of the client downloading the index file and the material file from the server may be: The client first downloads the index file from the server, and checks whether the material files corresponding to the material file identifier included in the index file are stored locally; if there is at least one material If the file is not stored locally, at least one material file that is not stored locally is downloaded.
当然, 客户端从服务器中下载索引文件以及素材文件的过程也可以 是客户端从服务器中下载索引文件后, 再从服务器中下载全部与索引文 件中素材文件标识对应的素材文件。 Of course, the process of downloading the index file and the material file from the server by the client may also be that the client downloads the index file from the server, and then downloads all the material files corresponding to the material file identifier in the index file from the server.
在步骤 S102 中, 客户端根据索引文件为每个频道生成一个播放队 列。 In step S102, the client generates a play queue for each channel based on the index file.
在一个示例方案中, 客户端根据获取的索引文件中的各素材文件的 播放属性, 确定各素材文件的播放权限、 播放时段, 即通过解释获取的 索引文件中的各素材文件的播放属性, 得到客户端可以识别的播放权限 以及播放时段信息, 将具有播放权限以及播放时段有效的素材文件按照 播放频道组织成一个播放队列。 In an example solution, the client determines the play permission and the play period of each material file according to the play attribute of each material file in the obtained index file, that is, by interpreting the play attribute of each material file in the obtained index file, The playback permission and the playback period information that the client can recognize, and the material files having the playback permission and the playback period are organized into a play queue according to the playback channel.
在另一示例方案中, 生成播放队列的过程包括: 将所有与同一频道 对应的素材文件组织成一个播放队列。 至于各素材文件能否播放, 在什 么时间播放等等, 可以在播放时再逐个询问和确定。 In another example scenario, the process of generating a play queue includes: organizing all material files corresponding to the same channel into one play queue. As for whether or not each material file can be played, when it is played, etc., it can be asked and determined one by one during playback.
当索引文件中不存在素材文件与播放频道的对应关系时, 可以默认 该素材文件可以在所有频道中播放。 When there is no correspondence between the material file and the playback channel in the index file, the material file can be played back in all channels by default.
这里各素材文件组成的播放队列并不具有明确的先后播放顺序, 在 这里应理解为各素材文件的一个集合。
在步骤 S103中, 客户端根据索引文件确定播放策略, 其中播放策略 包括播放起始点和播放次序, 然后客户端根据确定的播放策略在緩沖时 间内播放播放队列中的素材文件, 直至緩沖结束。 Here, the play queues composed of the material files do not have an explicit sequence of play, and should be understood here as a set of each material file. In step S103, the client determines a play policy according to the index file, where the play policy includes a play start point and a play order, and then the client plays the material file in the play queue in the buffer time according to the determined play policy, until the buffer ends.
在一个示例方案中播放属性中包括播放优先级, 则客户端首先确定 播放队列中各素材文件的优先级顺序, 然后按照优先级顺序确定播放起 始点以及播放次序, 即:将具有最高优先级的素材文件作为播放起始点, 将具有次优先级的素材文件放在第二个播放, 如此类推。 当某些素材文 件的播放优先级相等时, 可以采取随机方式对这些素材文件进行排序。 In an example scenario, the playback attribute includes a play priority, and the client first determines the priority order of each material file in the play queue, and then determines the play start point and the play order according to the priority order, that is, the highest priority The material file serves as the starting point for playback, and the material file with the second priority is placed in the second play, and so on. When some material files have the same playback priority, these material files can be sorted in a random manner.
在另一示例方案中播放属性中不包括播放优先级, 则客户端可选取 播放队列中的任一素材文件作为播放起始点, 而其后的素材文件也都可 以采取随机方式进行播放。 这种方式可避免緩沖时间不够导致的部分素 材文件始终无法播放 , 在一定程度上可使素材文件的曝光率均等。 In another example scenario, the play priority does not include the play priority, and the client may select any material file in the play queue as the play start point, and the subsequent material files may also be played in a random manner. In this way, some of the material files that are not caused by insufficient buffering time can never be played, and the exposure of the material files can be equalized to some extent.
从以上实施例可以看出, 客户端首先根据素材文件的播放权限和播 放时段生成一个播放队列, 在播放时再根据素材文件的优先级来确认播 放起始点和播放次序。 在实际操作中, 也可以是客户端将具有播放权限 并且播放时段有效的素材文件按照优先级组成一个播放队列, 该播放队 列具有明确的播放顺序, 这样在播放时按照素材文件在播放队列中的先 后顺序, 依次播放该素材文件。 As can be seen from the above embodiment, the client first generates a play queue according to the play permission and the play period of the material file, and then confirms the play start point and the play order according to the priority of the material file during playback. In actual operation, the client may also compose a material file having a play right and a play time period into a play queue according to the priority, and the play queue has an explicit play order, so that the play file is in the play queue according to the material file during playback. The material files are played in sequence, in order.
图 2示出了本发明的另一实施例中素材文件播放的方法流程。 如图 2 所示, 该方法具体过程如下: FIG. 2 shows a flow of a method of playing a material file in another embodiment of the present invention. As shown in Figure 2, the specific process of the method is as follows:
服务器根据存储其上的素材文件生成索引文件。 The server generates an index file based on the material files stored on it.
在步骤 S201中, 客户端获取索引文件以及素材文件。 In step S201, the client obtains an index file and a material file.
在步骤 S202中,客户端将每个频道对应的所有素材文件组成一个播 放队列。 In step S202, the client composes all the material files corresponding to each channel into one play queue.
在步骤 S203 中, 客户端从播放队列中随机选取一个素材文件作为
播^始点。 In step S203, the client randomly selects a material file from the play queue as Broadcast start point.
在步骤 S204中, 客户端查询选取的素材文件是否具有播放权限, 可 根据此前下载的索引文件进行确认, 也可以即时地发送给服务器进行确 认; 若是, 则转步骤 S205; 否则转步骤 S206。 In step S204, the client queries whether the selected material file has the playing right, and can confirm according to the previously downloaded index file, or can send it to the server for confirmation immediately; if yes, go to step S205; otherwise, go to step S206.
在步骤 S205中, 确认选取的该素材文件具有播放权限后, 则播放该 素材文件, 播放结束转步骤 S206。 In step S205, after confirming that the selected material file has the play permission, the material file is played, and the playback ends to step S206.
在步骤 S206中, 选取播放队列中的下一个素材文件, 此步骤可以采 取与步骤 S203相同的方式, 进行随机的选取。 In step S206, the next material file in the play queue is selected, and this step can be performed in the same manner as step S203.
在步骤 S207中, 询问緩沖时间是否结束; 若是, 则转步骤 S208; 否 则转向执行步骤 S204。 In step S207, it is asked whether the buffering time has ended; if yes, the process goes to step S208; otherwise, the process proceeds to step S204.
在步骤 S208中, 停止播放素材文件。 In step S208, the playback of the material file is stopped.
在以上描述的方法中, 由服务器端生成索引文件, 实际上, 索引文 件的生成也可以由客户端来执行。 如客户端在需要的时候根据自身的特 点, 如个性化数据或特性数据, 查询并匹配服务器上存储的素材文件及 其固有属性, 从服务器中存储的素材文件中确定至少一个素材文件作为 即将要播放的素材文件, 同时根据该至少一个即将播放的素材文件的固 有属性来确定该素材文件的播放属性, 然后生成索引文件, 该索引文件 中包含该至少一个即将播放的素材文件的标识及其播放属性。 这样客户 图 3为本发明实施例中素材文件播放的系统结构。 如图 3所示, 该 系统包括服务器 100, 以及与其相连的多个客户端 (客户端 200、 客户 端 300... ...客户端 N ) 。 应当说明的是, 本发明实施例图示中各设备之 间的连接关系是为了清楚阐释其信息交互及控制过程的需要, 因此应当 视为逻辑上的连接关系, 而不应仅限于物理连接。 In the method described above, the index file is generated by the server. In fact, the generation of the index file can also be performed by the client. If the client needs, according to its own characteristics, such as personalized data or feature data, query and match the material files stored on the server and their intrinsic properties, determine at least one material file from the material files stored in the server as soon as possible. Playing the material file, determining the play attribute of the material file according to the intrinsic property of the at least one material file to be played, and then generating an index file, where the index file includes the identifier of the at least one material file to be played and its playing Attributes. Thus, the client FIG. 3 is a system structure for playing a material file in the embodiment of the present invention. As shown in FIG. 3, the system includes a server 100, and a plurality of clients (client 200, client 300, ... client N) connected thereto. It should be noted that the connection relationship between the devices in the embodiment of the present invention is for the purpose of clearly explaining the information interaction and control process, and therefore should be regarded as a logical connection relationship, and should not be limited to a physical connection.
服务器 100用于存储素材文件及其固有属性, 以及根据存储的素材
文件及其固有属性, 确定至少一个素材文件作为即将播放的素材文件, 并确定该至少一个即将播放的素材文件的播放属性, 将该至少一个即将 播放的素材文件的标识及其播放属性组成索引文件。 The server 100 is configured to store the material file and its intrinsic attributes, and according to the stored material The file and its intrinsic attributes, determining at least one material file as the material file to be played, and determining a play attribute of the at least one material file to be played, and composing the identifier of the at least one material file to be played and its play attribute into an index file .
各客户端(客户端 200、 客户端 300... ...客户端 N )与服务器 100相 连, 用于从服务器 100下载索引文件以及与索引文件中素材文件标识对 应的素材文件, 并根据索引文件中的播放属性控制这些素材文件的播 放。 Each client (client 200, client 300, ... client N) is connected to the server 100, and is configured to download an index file from the server 100 and a material file corresponding to the material file identifier in the index file, and according to the index The playback properties in the file control the playback of these footage files.
在实际应用中,也可以服务器 100用于存储素材文件及其固有属性。 各客户端(客户端 200、 客户端 300... ...客户端 N )用于在需要时查询匹 配服务器 100上存储的素材文件及其固有属性, 确定至少一个素材文件 作为即将要播放的素材文件, 同时根据该至少一个即将播放的素材文件 的固有属性来确定该素材文件的播放属性, 然后生成索引文件, 该索引 文件中包含该至少一个即将播放的素材文件的标识及其播放属性, 再从 服务器 100下载与索引文件中素材文件标识对应的素材文件, 并根据索 引文件中的播放属性控制这些素材文件的播放。 In practical applications, server 100 can also be used to store material files and their intrinsic properties. Each client (client 200, client 300, ... client N) is configured to query the material file and its intrinsic attributes stored on the matching server 100 when needed, and determine at least one material file as soon as it is to be played. a material file, and determining a play attribute of the material file according to an intrinsic attribute of the at least one material file to be played, and then generating an index file, where the index file includes an identifier of the at least one material file to be played and a play attribute thereof, The material files corresponding to the material file identifiers in the index file are downloaded from the server 100, and the play of the material files is controlled according to the play attributes in the index file.
典型的服务器 100可为一个专用的广告伺服器, 或者是一个具有广 告伺服功能的大型网站服务器等, 因此本发明的保护范围不应限定为某 种特定类型的服务器。 A typical server 100 can be a dedicated advertisement server, or a large website server with advertisement servo function, etc., and thus the scope of protection of the present invention should not be limited to a particular type of server.
典型的各客户端 200可为各种能够播放视频或画面的终端设备, 例 如个人计算机 ( Personal Computer, PC )、个人数字助理( Personal Digital Assistant, PDA ) 、 移动电话(Mobile Phone, MP )等, 因此本发明的 保护范围不应限定为某种特定类型的客户端。 Each client 200 can be a variety of terminal devices capable of playing video or pictures, such as a personal computer (PC), a personal digital assistant (PDA), a mobile phone (MP), and the like. Therefore, the scope of protection of the present invention should not be limited to a particular type of client.
图 4为本发明另一实施例中素材文件播放的系统结构。如图 4所示, 该系统包括服务器 100和客户端 200,其中服务器 100包括收发模块 401、 数据库 402和策略生成模块 403; 客户端 200包括下载模块 501、 播放
控制模块 502和播放器 503。 FIG. 4 is a schematic structural diagram of a material file playing according to another embodiment of the present invention. As shown in FIG. 4, the system includes a server 100 and a client 200. The server 100 includes a transceiver module 401, a database 402, and a policy generation module 403. The client 200 includes a download module 501 and plays. Control module 502 and player 503.
收发模块 401与数据库 402以及策略生成模块 403相连, 用于与客 户端 200之间交互各种消息, 如将策略生成模块 403生成的索引文件反 馈到客户端 200。 The transceiver module 401 is connected to the database 402 and the policy generation module 403 for interacting with the client 200 to exchange various messages, such as the index file generated by the policy generation module 403, to the client 200.
数据库 402与收发模块 401以及策略生成模块 403相连, 用于存储 素材文件及其固有属性。 The database 402 is coupled to the transceiver module 401 and the policy generation module 403 for storing material files and their inherent attributes.
策略生成模块 403与数据库 402以及收发模块 401相连, 根据数据 库 402中存储的素材文件及其固有属性, 确定至少一个素材文件作为可 播放的素材文件, 并确定所述可播放的素材文件的播放属性, 生成索引 文件, 并通过收发模块 401将索引文件反馈给客户端 200。 The policy generation module 403 is connected to the database 402 and the transceiver module 401, and determines at least one material file as a playable material file according to the material file and its intrinsic attributes stored in the database 402, and determines a play attribute of the playable material file. An index file is generated, and the index file is fed back to the client 200 through the transceiver module 401.
下载模块 501与播放控制模块 502相连, 用于从服务器 100的策略 生成模块 403下载索引文件; 还用于从数据库 402下载素材文件, 其中 该素材文件与索引文件中的素材文件标识对应; 或者用于在客户端 200 The downloading module 501 is connected to the play control module 502, and is configured to download an index file from the policy generation module 403 of the server 100; and is further configured to download the material file from the database 402, where the material file corresponds to the material file identifier in the index file; or On the client 200
402下载与索引文件中素材文件标识对应但客户端未存储的素材文件。 402 downloads the material file corresponding to the material file identifier in the index file but not stored by the client.
播放控制模块 502与下载模块 501和播放器 503相连, 用于根据下 载模块 501下载的索引文件, 控制播放器 503播放与索引文件中素材文 件标识对应的素材文件, 以及在播放器 503播放素材文件的同时判断緩 沖是否结束, 并在判断结束时指令播放器 503停止素材文件的播放。 The play control module 502 is connected to the download module 501 and the player 503, and is configured to control the player 503 to play the material file corresponding to the material file identifier in the index file according to the index file downloaded by the download module 501, and play the material file in the player 503. At the same time, it is judged whether or not the buffer is ended, and the player 503 is instructed to stop the playback of the material file at the end of the judgment.
播放器 503与播放控制模块 502相连, 用于播放与索引文件中素材 文件标识对应的素材文件。 The player 503 is connected to the play control module 502 for playing the material file corresponding to the material file identifier in the index file.
在实际应用中,也可以是服务器 100包括收发模块 401、数据库 402; 客户端 200包括下载模块 501、 策略生成模块 403、 播放控制模块 502 和播放器 503。 In a practical application, the server 100 may include a transceiver module 401 and a database 402. The client 200 includes a download module 501, a policy generation module 403, a play control module 502, and a player 503.
此时收发模块 401与数据库 402, 用于将数据库 402中的素材文件
发送给客户端 200。 At this time, the transceiver module 401 and the database 402 are used to record the material files in the database 402. Sent to the client 200.
策略生成模块 403通过收发模块 401查询数据库 402, 动态地生成 索引文件。 The policy generation module 403 queries the database 402 through the transceiver module 401 to dynamically generate an index file.
下载模块 501用于从数据库 402下载与索引文件中素材文件标识对 应的素材文件; 或者用于在客户端 200未存储所有与索引文件中素材文 件标识对应的素材文件时, 从数据库 402下载与索引文件中素材文件标 识对应但客户端未存储的素材文件。 The downloading module 501 is configured to download the material file corresponding to the material file identifier in the index file from the database 402; or to download and index from the database 402 when the client 200 does not store all the material files corresponding to the material file identifier in the index file. The material file in the file identifies the material file that corresponds to the client but is not stored by the client.
播放控制模块 502与策略生成模块 403和播放器 503相连, 用于根 据策略生成模块 403生成的索引文件, 控制播放器 503播放与索引文件 中素材文件标识对应的素材文件, 以及在播放器 503播放素材文件的同 时判断緩沖是否结束, 并在判断结束时指令播放器 503停止素材文件的 播放。 The play control module 502 is connected to the policy generation module 403 and the player 503, and is configured to control the player 503 to play the material file corresponding to the material file identifier in the index file according to the index file generated by the policy generation module 403, and play the content file in the player 503. The material file is judged whether or not the buffer is ended, and the player 503 is instructed to stop the playback of the material file at the end of the judgment.
播放器 503与播放控制模块 502相连, 用于播放与索引文件中素材 文件标识对应的素材文件。 The player 503 is connected to the play control module 502 for playing the material file corresponding to the material file identifier in the index file.
以上所述仅为本发明的较佳实施例而已, 并不用以限制本发明, 凡 在本发明的精神和原则之内所作的任何修改、 等同替换和改进等, 均应 包含在本发明的保护范围之内。
The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection of the present invention. Within the scope.
Claims
1、 一种多媒体播放的方法, 其特征在于, 包括: A method for playing multimedia, characterized in that it comprises:
生成索引文件, 所述索引文件包含至少一个多媒体文件的标识以及 播放属性; Generating an index file, where the index file includes an identifier of at least one multimedia file and a play attribute;
获取与索引文件包含的所述至少一个多媒体文件标识各自对应的 多媒体文件; Obtaining a multimedia file corresponding to each of the at least one multimedia file identifier included in the index file;
根据所述索引文件包含的播放属性至少播放所获取的多媒体文件 之一。 At least one of the acquired multimedia files is played according to the play attribute included in the index file.
2、 根据权利要求 1 所述的方法, 其特征在于, 所述生成索引文件 包括: 根据所存储的各个多媒体文件的固有属性确定至少一个多媒体文 件作为可播放的多媒体文件, 并确定所述可播放的多媒体文件的播放属 性, 生成索引文件, 所述索引文件包含所述可播放的多媒体文件的标识 及其播放属性。 2. The method according to claim 1, wherein the generating the index file comprises: determining at least one multimedia file as a playable multimedia file according to the stored inherent attributes of the respective multimedia files, and determining the playable The play attribute of the multimedia file generates an index file, and the index file includes an identifier of the playable multimedia file and a play attribute thereof.
3、 根据权利要求 2所述的方法, 其特征在于, 从所存储的各个多 媒体文件中确定至少一个其固有属性与用户的个性化数据匹配的多媒 体文件, 作为可播放的多媒体文件。 3. The method according to claim 2, wherein at least one multimedia file whose intrinsic attribute matches the personalized data of the user is determined from the stored multimedia files as a playable multimedia file.
4、 根据权利要求 2所述的方法, 其特征在于, 从所存储的各个多 媒体文件中确定至少一个其固有属性与主动侦测到的客户端特性数据 相匹配的多媒体文件, 作为可播放的多媒体文件。 The method according to claim 2, wherein at least one multimedia file whose intrinsic attribute matches the actively detected client characteristic data is determined from the stored multimedia files as a playable multimedia file.
5、 根据权利要求 1 所述的方法, 其特征在于, 所述获取与索引文 件包含的所述至少一个多媒体文件标识各自对应的多媒体文件包括: 查看索引文件包含的多媒体文件标识对应的多媒体文件是否均存 储在本地; 若有至少一个多媒体文件未存储在本地, 则下载未存储在本 地的至少一个多媒体文件。 The method according to claim 1, wherein the acquiring the multimedia file corresponding to each of the at least one multimedia file identifier included in the index file comprises: viewing whether the multimedia file corresponding to the multimedia file identifier included in the index file is All are stored locally; if at least one multimedia file is not stored locally, at least one multimedia file not stored locally is downloaded.
6、 根据权利要求 1 所述的方法, 其特征在于, 所述索引文件进一
步包含所述至少一个多媒体文件与频道的对应关系; 6. The method according to claim 1, wherein the index file is further The step includes a correspondence between the at least one multimedia file and a channel;
则在至少播放所获取的多媒体文件之一时, 根据所述至少一个多媒 体文件与频道的对应关系, 在相应的频道上播放多媒体文件。 And playing the multimedia file on the corresponding channel according to the correspondence between the at least one multimedia file and the channel when at least one of the acquired multimedia files is played.
7、 根据权利要求 1 所述的方法, 其特征在于, 在至少播放所获取 的多媒体文件之一时, 根据所获取的各个多媒体文件的播放属性选择至 少一个多媒体文件, 将所选择的多媒体文件组成一个队列, 并至少播放 所述队列中的一个多媒体文件。 The method according to claim 1, wherein, when at least one of the acquired multimedia files is played, at least one multimedia file is selected according to the acquired playing attributes of the respective multimedia files, and the selected multimedia files are combined into one Queue, and play at least one multimedia file in the queue.
8、 根据权利要求 7所述的方法, 其特征在于, 所述播放属性至少 包括播放权限和播放时段, 所述所选择的多媒体文件包括具有播放权限 且播放时段有效的多媒体文件。 8. The method according to claim 7, wherein the play attribute comprises at least a play right and a play period, and the selected multimedia file comprises a multimedia file having a play right and the play period is valid.
9、 根据权利要求 8所述的方法, 其特征在于, 所述播放属性进一 步包括播放优先级; 9. The method according to claim 8, wherein the playing attribute further comprises a play priority;
在组成所述队列之后, 进一步确定所述队列的播放起始点及播放次 序, 并按照所述播放起始点及播放次序播放所述队列中的多媒体文件。 After the queue is formed, the play start point and the play sequence of the queue are further determined, and the multimedia files in the queue are played according to the play start point and the play order.
10、 根据权利要求 2、 3或 4所述的方法, 其特征在于, 所述各个 多媒体文件的固有属性包括: 多媒体文件的播放时长、 内容筒介、 播放 对象及播放地理范围中的任一项或任几项。 The method according to claim 2, 3 or 4, wherein the intrinsic attributes of the multimedia files include: a duration of a multimedia file, a content cartridge, a playback object, and a playback geographic range. Or any number of items.
11、 根据权利要求 1至 9任一所述的方法, 其特征在于, 所述多媒 体文件中包含緩沖广告。 The method according to any one of claims 1 to 9, characterized in that the multimedia file contains a buffer advertisement.
12、 一种多媒体播放的系统, 其特征在于, 包括: 12. A multimedia playback system, comprising:
服务器, 用于提供多媒体文件, 生成索引文件, 所述索引文件包含 至少一个多媒体文件的标识以及播放属性; a server, configured to provide a multimedia file, and generate an index file, where the index file includes an identifier of at least one multimedia file and a play attribute;
客户端, 用于从服务器接收索引文件并获取与所述索引文件包含的 所述至少一个多媒体文件标识各自对应的多媒体文件; 根据所述索弓 I文 件包含的播放属性至少播放所获取的多媒体文件之一。
a client, configured to receive an index file from a server and obtain a multimedia file corresponding to each of the at least one multimedia file identifier included in the index file; and play at least the acquired multimedia file according to a play attribute included in the file one.
13、 根据权利要求 12所述的系统, 其特征在于, 所述服务器根据 所存储的各个多媒体文件的固有属性, 确定至少一个多媒体文件作为可 播放的多媒体文件, 并确定所述可播放的多媒体文件的播放属性, 生成 索引文件, 其中所述索引文件包含所述可播放的多媒体文件的标识及其 播放属性。 The system according to claim 12, wherein the server determines at least one multimedia file as a playable multimedia file according to the stored inherent attributes of the respective multimedia files, and determines the playable multimedia file. The play attribute generates an index file, wherein the index file includes an identifier of the playable multimedia file and a play attribute thereof.
14、 根据权利要求 13 所述的系统, 其特征在于, 所述服务器进一 步接收客户端上报的用户个性化数据, 则所述服务器从所存储的各个多 媒体文件中确定至少一个其固有属性与所述接收到的用户个性化数据 相匹配的多媒体文件, 作为可播放的多媒体文件。 The system according to claim 13, wherein the server further receives user personalized data reported by the client, and the server determines at least one of its inherent attributes from the stored multimedia files and the The received multimedia data matching the user's personalized data is used as a playable multimedia file.
15、 根据权利要求 13 所述的系统, 其特征在于, 所述服务器在客 户端登录后, 侦测客户端特性数据, 则所述服务器从所存储的各个多媒 体文件中确定至少一个其固有属性与所述侦测到的客户端特性数据相 匹配的多媒体文件, 作为可播放的多媒体文件。 The system according to claim 13, wherein the server detects client characteristic data after the client logs in, and the server determines at least one inherent attribute from each stored multimedia file. The detected multimedia data of the client characteristic data is matched as a playable multimedia file.
16、 一种多媒体播放的系统, 其特征在于, 包括: 16. A system for multimedia playback, comprising:
服务器, 用于提供多媒体文件; Server for providing multimedia files;
客户端, 用于生成索引文件, 所述索引文件包含至少一个多媒体文 件的标识以及播放属性; 从服务器获取与所述索引文件包含的所述至少 一个多媒体文件标识各自对应的多媒体文件; 根据所述索弓 I文件包含的 播放属性至少播放所获取的多媒体文件之一。 a client, configured to generate an index file, where the index file includes an identifier of at least one multimedia file and a play attribute; and acquire, from the server, a multimedia file corresponding to each of the at least one multimedia file identifier included in the index file; The playback function contained in the cable I file at least plays one of the acquired multimedia files.
17、 根据权利要求 16所述的系统, 其特征在于, 17. The system of claim 16 wherein:
客户端根据服务器提供的各个多媒体文件的固有属性确定至少一 个多媒体文件作为可播放的多媒体文件, 并确定所述可播放的多媒体文 件的播放属性, 生成索引文件, 所述索引文件包含所述可播放的多媒体 文件的标识以其播放属性。 Determining, by the client, at least one multimedia file as a playable multimedia file according to an intrinsic attribute of each multimedia file provided by the server, and determining a play attribute of the playable multimedia file, generating an index file, where the index file includes the playable file The identity of the multimedia file is determined by its playback properties.
18、 一种多媒体播放的服务器, 其特征在于, 包括:
第一模块, 用于生成索引文件, 所述索引文件包含至少一个多媒体 文件的标识以及播放属性。 18. A server for multimedia playback, comprising: The first module is configured to generate an index file, where the index file includes an identifier of at least one multimedia file and a play attribute.
19、 根据权利要求 18所述的服务器, 其特征在于, 包括: 第二模块, 用于存储至少一个多媒体文件及其固有属性; 则第一模块根据第二模块存储的多媒体文件的固有属性, 确定至少 一个多媒体文件作为可播放的多媒体文件, 并确定所述可播放的多媒体 文件的播放属性, 生成索引文件, 所述索引文件包含所述可播放的多媒 体文件的标识及其播放属性。 The server according to claim 18, comprising: a second module, configured to store at least one multimedia file and its intrinsic attributes; and then the first module determines, according to an intrinsic attribute of the multimedia file stored by the second module, And playing at least one multimedia file as a playable multimedia file, and determining a play attribute of the playable multimedia file, and generating an index file, where the index file includes an identifier of the playable multimedia file and a play attribute thereof.
20、 根据权利要求 18或 19所述的服务器, 其特征在于, 进一步包 括: The server according to claim 18 or 19, further comprising:
第三模块, 用于将第一模块生成的索引文件以及第二模块存储的与 索引文件包含的多媒体文件标识对应的多媒体文件提供给客户端。 And a third module, configured to provide the index file generated by the first module and the multimedia file corresponding to the multimedia file identifier included in the index file stored by the second module to the client.
21、 一种多媒体播放的客户端, 其特征在于, 包括: 21. A client for multimedia playback, comprising:
第一模块, 用于从服务器中获取索引文件, 所述索引文件包含至少 一个多媒体文件的标识以及播放属性; 并获取与所述索引文件包含的所 述至少一个多媒体文件标识各自对应的多媒体文件; a first module, configured to obtain an index file from a server, where the index file includes an identifier of at least one multimedia file and a play attribute; and acquire a multimedia file corresponding to each of the at least one multimedia file identifier included in the index file;
第二模块, 用于根据索引文件中的播放属性控制第三模块至少播放 第一模块所获取的多媒体文件之一; a second module, configured to control, according to a play attribute in the index file, the third module to play at least one of the multimedia files acquired by the first module;
第三模块 , 用于至少播放所获取的多媒体文件之一。 The third module is configured to play at least one of the acquired multimedia files.
22、 根据权利要求 21 所述的客户端, 其特征在于, 所述第一模块 从服务器下载与所述索引文件包含的所述至少一个多媒体文件标识各 自对应的多媒体文件。 The client according to claim 21, wherein the first module downloads, from the server, a multimedia file corresponding to the at least one multimedia file identifier included in the index file.
23、 一种多媒体播放的客户端, 其特征在于, 包括: 23. A client for multimedia playback, comprising:
第一模块, 用于生成索引文件, 所述索引文件包含至少一个多媒体 文件的标识以及播放属性;
第二模块, 用于获取与第一模块生成的索引文件包含的所述至少一 个多媒体文件标识各自对应的多媒体文件; a first module, configured to generate an index file, where the index file includes an identifier of at least one multimedia file and a play attribute; a second module, configured to acquire a multimedia file corresponding to each of the at least one multimedia file identifier included in the index file generated by the first module;
第三模块, 用于根据索引文件包含的播放属性控制第四模块至少播 放第二模块所获取的多媒体文件之一; a third module, configured to control, according to the play attribute included in the index file, the fourth module to play at least one of the multimedia files acquired by the second module;
第四模块, 用于至少播放所获取的多媒体文件之一。 The fourth module is configured to play at least one of the acquired multimedia files.
24、 根据权利要求 23 所述的客户端, 其特征在于, 所述第一模块 根据存储的多媒体文件的固有属性, 确定至少一个多媒体文件作为可播 放的多媒体文件, 并确定所述可播放的多媒体文件的播放属性, 生成索 引文件, 所述索引文件包含所述可播放的多媒体文件的标识及其播放属 性。
The client according to claim 23, wherein the first module determines at least one multimedia file as a playable multimedia file according to an intrinsic attribute of the stored multimedia file, and determines the playable multimedia The play attribute of the file generates an index file, and the index file includes an identifier of the playable multimedia file and a play attribute thereof.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2007100735027A CN100505630C (en) | 2007-03-13 | 2007-03-13 | A method and system for broadcasting buffered advertisement in polling mode under the network living broadcast environment |
CN200710073502.7 | 2007-03-13 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2008110087A1 true WO2008110087A1 (en) | 2008-09-18 |
Family
ID=38906971
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2008/070361 WO2008110087A1 (en) | 2007-03-13 | 2008-02-26 | Mehtod for playing multimedia, system, client-side and server |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN100505630C (en) |
WO (1) | WO2008110087A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109445576A (en) * | 2018-09-30 | 2019-03-08 | 联想(北京)有限公司 | Control method and control system |
Families Citing this family (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100505630C (en) * | 2007-03-13 | 2009-06-24 | 腾讯科技(深圳)有限公司 | A method and system for broadcasting buffered advertisement in polling mode under the network living broadcast environment |
CN101198022B (en) * | 2007-12-26 | 2010-06-02 | 青岛海信移动通信技术股份有限公司 | Method for inter cutting video information in stream media broadcasting or buffering course |
CN102055942B (en) * | 2009-10-28 | 2013-03-20 | 厦门雅迅网络股份有限公司 | Method for playing image-text advertisements based on mobile communication network |
CN102209270A (en) * | 2011-06-03 | 2011-10-05 | 深圳创维数字技术股份有限公司 | Advertisement playing system and method based on set top box |
CN103096138B (en) * | 2011-11-08 | 2016-03-09 | 财团法人资讯工业策进会 | TV advertising product information display system and method |
CN102547409B (en) * | 2011-12-26 | 2014-12-10 | 深圳市龙视传媒有限公司 | Advertisement data interactive system and method |
CN102665101A (en) * | 2012-04-25 | 2012-09-12 | 深圳市茁壮网络股份有限公司 | Advertisement data processing method, device and system |
CN102708504B (en) * | 2012-05-15 | 2015-06-17 | 合一网络技术(北京)有限公司 | Virtual micro carousel advertising method on basis of network video and device thereof |
CN105009606B (en) * | 2012-11-30 | 2018-11-09 | 麦恩电子股份有限公司 | The system and method for caching received content on radio system simultaneously for providing information searching |
CN103607649A (en) * | 2013-11-29 | 2014-02-26 | 乐视网信息技术(北京)股份有限公司 | Advertisement insertion method and player |
CN103747057A (en) * | 2013-12-26 | 2014-04-23 | 方正国际软件有限公司 | Individualized playing device for cartoons and individualized playing method for cartoons |
CN103747299B (en) * | 2014-01-14 | 2015-08-19 | 合一信息技术(北京)有限公司 | The method and system of the random carousel of information |
CN103731684B (en) * | 2014-01-26 | 2017-06-16 | 飞狐信息技术(天津)有限公司 | A kind of point is multicast to live video switching method, equipment and system |
CN104202625B (en) * | 2014-08-26 | 2018-01-02 | 青岛海信电器股份有限公司 | A kind of media file processing method and equipment |
US9473804B1 (en) * | 2015-06-12 | 2016-10-18 | Ebay Inc. | Dynamic content reordering |
CN104980804A (en) * | 2015-07-28 | 2015-10-14 | 驰众信息技术(上海)有限公司 | Video arranging management method for terminal display equipment |
CN105678574A (en) * | 2015-12-31 | 2016-06-15 | 合一网络技术(北京)有限公司 | Advertisement alternative playing method and system |
CN108271035A (en) * | 2018-01-29 | 2018-07-10 | 武汉斗鱼网络科技有限公司 | Advertisement broadcast method, device and client in live streaming |
CA3091833C (en) * | 2018-02-26 | 2023-12-19 | Colin York Smith | Systems and methods for broadcasting digital data to a plurality of receivers |
CN108989853B (en) | 2018-08-24 | 2020-04-21 | 阿里巴巴集团控股有限公司 | Multimedia material processing method and device and multimedia playing equipment |
CN114630187B (en) * | 2022-03-04 | 2022-09-27 | 广东创道控股集团有限公司 | Accurate customer acquisition system applying signal cloud computing processing |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2001093474A2 (en) * | 2000-05-26 | 2001-12-06 | Thomson Licensing S.A. | System and method for inserting advertisements in a multimedia internet broadcast |
WO2006010685A1 (en) * | 2004-06-30 | 2006-02-02 | Thomson Licensing | Method for displaying audiovisual sequences at receiver level and receiver for displaying said sequences |
CN1852410A (en) * | 2006-04-07 | 2006-10-25 | Ut斯达康通讯有限公司 | Method and apparatus for realizing individualized advertisement on TV |
CN101079721A (en) * | 2007-03-13 | 2007-11-28 | 腾讯科技(深圳)有限公司 | A method and system for broadcasting buffered advertisement in polling mode under the network living broadcast environment |
-
2007
- 2007-03-13 CN CNB2007100735027A patent/CN100505630C/en active Active
-
2008
- 2008-02-26 WO PCT/CN2008/070361 patent/WO2008110087A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2001093474A2 (en) * | 2000-05-26 | 2001-12-06 | Thomson Licensing S.A. | System and method for inserting advertisements in a multimedia internet broadcast |
WO2006010685A1 (en) * | 2004-06-30 | 2006-02-02 | Thomson Licensing | Method for displaying audiovisual sequences at receiver level and receiver for displaying said sequences |
CN1852410A (en) * | 2006-04-07 | 2006-10-25 | Ut斯达康通讯有限公司 | Method and apparatus for realizing individualized advertisement on TV |
CN101079721A (en) * | 2007-03-13 | 2007-11-28 | 腾讯科技(深圳)有限公司 | A method and system for broadcasting buffered advertisement in polling mode under the network living broadcast environment |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109445576A (en) * | 2018-09-30 | 2019-03-08 | 联想(北京)有限公司 | Control method and control system |
Also Published As
Publication number | Publication date |
---|---|
CN101079721A (en) | 2007-11-28 |
CN100505630C (en) | 2009-06-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2008110087A1 (en) | Mehtod for playing multimedia, system, client-side and server | |
US11616818B2 (en) | Distributed control of media content item during webcast | |
US9361645B2 (en) | Internet radio and broadcast method with discovery settings | |
EP1536352B1 (en) | System for accessing content items over a network | |
US8069262B2 (en) | Method, system and apparatus for playing advertisements | |
US8544050B2 (en) | Rule-based playlist engine | |
JP4903047B2 (en) | Method and apparatus for organizing and reproducing data | |
US20090119710A1 (en) | Method and apparatus for enhancing support for user-generated content delivery | |
US20100070490A1 (en) | System and method for enhanced smart playlists with aggregated media collections | |
US20020147985A1 (en) | Video distribution system and video distribution method | |
JP4830889B2 (en) | Information distribution system, information distribution method, node device, etc. | |
KR100367714B1 (en) | Internet broadcasting system and method using the technique of dynamic combination of multimedia contents and targeted advertisement | |
JP2009540467A (en) | Method and apparatus for managing multimedia content | |
US20100070537A1 (en) | System and method for managing a personalized universal catalog of media items | |
EP3160101B1 (en) | Multi-media resource management method, cloud server and electronic device | |
US20130144985A1 (en) | Terminal, distribution system, distribution server, playback method, and program | |
CN1953385A (en) | Method for audio/video task calculation, method for providing summary information for, and apparatus for the same | |
EP1992145B1 (en) | Managing playlists | |
US20240414417A1 (en) | Systems, methods and computer products for dynamic segment resolution and transferring dynamic-segment metadata across media playback devices | |
US20170054780A1 (en) | Real-time file generation and delivery |
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: 08715097 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC OF 150110 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 08715097 Country of ref document: EP Kind code of ref document: A1 |