CN103092603B - Player collocation method and system and corresponding player - Google Patents

Player collocation method and system and corresponding player Download PDF

Info

Publication number
CN103092603B
CN103092603B CN201210532372.XA CN201210532372A CN103092603B CN 103092603 B CN103092603 B CN 103092603B CN 201210532372 A CN201210532372 A CN 201210532372A CN 103092603 B CN103092603 B CN 103092603B
Authority
CN
China
Prior art keywords
player
function
configuration
unit
node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201210532372.XA
Other languages
Chinese (zh)
Other versions
CN103092603A (en
Inventor
林洋
胡曰锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
LeTV Information Technology Beijing Co Ltd
Original Assignee
LeTV Information Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by LeTV Information Technology Beijing Co Ltd filed Critical LeTV Information Technology Beijing Co Ltd
Priority to CN201210532372.XA priority Critical patent/CN103092603B/en
Publication of CN103092603A publication Critical patent/CN103092603A/en
Application granted granted Critical
Publication of CN103092603B publication Critical patent/CN103092603B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The present invention solves user or partner demand personalized for player function, diversified, it is to avoid playing function and pattern needed for the substantial amounts of overlapping development of player code, rapid configuration, it is provided that a kind of player collocation method and system.The invention has the beneficial effects as follows the change for current player function and component, and according to user or the multiformity of partner's demand, functions various to player and component configure flexibly and effectively, generate different-style, the player of difference in functionality, greatly reduce the workload of developer, be effectively increased resource utilization.

Description

Player collocation method and system and corresponding player
Technical field
The invention belongs to video playback field, relate to a kind of player collocation method and system.
Background technology
At present, traditional web player, on the one hand various functions and the realization of component (such as player casing, skin, button), main being solidificated in webpage by code is completed, these functions or element once change, need again to rewrite code, and be solidificated in webpage, thus cause the work of a lot of repetition.On the other hand, the function complexity that player provides is loaded down with trivial details, in addition to having basic playing function, in addition it is also necessary to increase other miscellaneous functions, but these functions for some users or partner it is not necessary to, operating experience even can be made troubles by the most too much function;For for developer, pay the function that wisdom is developed with work, but can not get well using, waste and exploit natural resources in a large number.
Along with user or partner, for the raising of web player individual requirement, traditional web player configuration modification method, needing overlapping development repeatedly, cause a large amount of wastes of time and resource, this can not meet the most far away diversified demand.
Summary of the invention
The present invention solves above-mentioned user or partner demand personalized for player, diversified, avoid substantial amounts of overlapping development, playing function and pattern needed for rapid configuration, a kind of player collocation method is provided, including: step 1, the component of described player is saved in respectively in storage server, described component is grouped and is defined as some separate units;Step 2, selects described separate unit, it is organized according to specific structure, forms described player framework;Step 3, generates player configuration file according to described player framework, and is saved in storage server;Step 4, when calling described player, by reading described player configuration file, resolves described player framework, loads described separate unit, form the player with specific function.
Preferably, the component of described player, it is the basic functional units of composition player, comprises some play parameter, at least include the storage address of described component.
In any of the above-described scheme preferably, described storage server, is for storing described player component, the equipment of described configuration file.
In any of the above-described scheme preferably, described component is saved in described storage server, is that described component stores in the server with certain form.Such as, described component is saved in described storage server with swf file.
In any of the above-described scheme preferably, described separate unit, it is the set of component described in a group, completes specific function, a described component should be included at least.
In any of the above-described scheme preferably, described tissue, is the specific selection according to described player function, and the separate unit described in selection is combined, according to ad hoc structure, edlin of going forward side by side.
In any of the above-described scheme preferably, described ad hoc structure, use tree structure.
In any of the above-described scheme preferably, described tree structure, including root node and child node, it is made up of described separate unit.Described root node, has and only one, corresponding to a configuration player project;Described child node, is stored among root node, the composition function having corresponding to described player.Preferably, during described root node includes initialization unit or kernel unit at least one.
In any of the above-described scheme preferably, described child node comprises basic function child node and other function child nodes.Described basic function child node, prerequisite basic function when being the loading of described player, is the basis of described player existence.Other function child nodes described, are the autgmentability functions that can select during the loading of described player to be loaded into, are the embodiments personalized, diversified of described player.
In any of the above-described scheme preferably, by increasing or deleting described child node method, increase or delete the separate unit of described player, it is achieved the increase of described player function or deletion.
In any of the above-described scheme preferably, described editor includes the interpolation for described child node information.Increase by a new node, configure described nodal information, i.e. configure the New function that described player has.
In any of the above-described scheme preferably, described editor also includes the deletion for described child node information.Deletion of node, the function represented by described node will delete, deletes together with all nodal functions under this grade of described child node and described child node.
In any of the above-described scheme preferably, described editor also includes the amendment for described child node information.Amendment node, the represented function of described node will modify and be preserved by fresh information.
In any of the above-described scheme preferably, described editor also includes the parsing for described child node information.Resolve node, i.e. traversal and read described nodal information, the function represented by described node, represent with tree structure.
In any of the above-described scheme preferably, described generation player configuration file, i.e. preserve described root node and described child node data message.
In any of the above-described scheme preferably, selection XML file is carrier, preserves described configuration file.
The invention still further relates to realize the system of above-mentioned player collocation method, including storage server, function definition module, function editor module, function memory module and function allocating module, wherein said function definition module is for being grouped and be defined as some separate units by the component of the described player being saved in respectively in storage server;Described function editor module is used for selecting described separate unit, it is organized according to specific structure, forms described player framework;Described function memory module is for generating player configuration file according to described player framework, and is saved in described storage server;Described function allocating module is used for when calling described player, and the reading and saving described configuration file in described storage server resolves described player framework, loads described separate unit, forms the player with specific function.
Preferably, described separate unit includes at least one described component, and the play parameter of described component.
Preferably, described component, it is the basic functional units of composition player, comprises some play parameter, at least include the storage address of described component.
In any of the above-described scheme preferably, described storage server, is for storing described player component, the equipment of described configuration file.Such as, IBM X server catalyst Catalyst.
In any of the above-described scheme preferably, described component is saved in described storage server, is that described component stores in the server with certain form.Such as, described component is saved in described storage server with swf file.
In any of the above-described scheme preferably, described tissue, is the specific selection according to described player function, and the separate unit described in selection is combined, according to ad hoc structure, edlin of going forward side by side.
In any of the above-described scheme preferably, described ad hoc structure includes tree structure.
In any of the above-described scheme preferably, described tree structure, including root node and child node, it is made up of described separate unit.Described root node, has and only one, corresponding to a configuration player project;Described child node is stored among root node, the composition function having corresponding to described player.Preferably, described root node at least includes following separate unit: initialization unit, kernel unit and control unit.
In any of the above-described scheme preferably, described player configuration file preserves with XML file format.
In any of the above-described scheme preferably, described system provides the method that described configuration file quickly creates, i.e. it is introduced directly into the configuration file existed, and carries out the amendment of component described in described separate unit on this basis, the described player framework that systematic function is similar.
In any of the above-described scheme preferably, at least one during the attribute of described root node includes project name, importing history item, importing XML file, generation project configuration filename, explanation and order information.Described project name, is the name being different from sundry item that this project rises.Described importing history item, i.e. filters out the history item record meeting described item characteristic.Described importing XML file, the XML data file that will record described player function imports and carries out the parsing of file content, generates corresponding functional configuration structure, it is provided that the mode of player function described in a kind of fast assembling.Described generation project configuration filename, will the filename that preserves of described item-function configuration information.Described explanation, is the description information of this described project.
In any of the above-described scheme preferably, at least one during the attribute of described child node includes the setting of structure type, structure title, structure content, structure attribute, explanation, structural order information.Described structure type is the structure attribute of presently described functional node, is defaulted as node type.Described structure name is referred to as the title of described functional node.Described structure content is the content that described functional node is corresponding, such as, can be numeral, URL information.Described structure attribute is set to the specific attribute of described child node, such as arrange most number of retries, first retry the time, again repeat load interval.Described explanation is the description information to this functional node described.Described structural order is presently described functional node order in whole node.
In any of the above-described scheme preferably, described child node comprises basic function child node and other function child nodes.Described basic function child node, prerequisite basic function when being the loading of described player, is the basis of described player existence.Other function child nodes described, are the autgmentability functions that can select during the loading of described player to be loaded into, are the embodiments personalized, diversified of described player.Preferably, at least one during described basic function child node comprises pretreatment dispensing unit and kernel setup unit.
In any of the above-described scheme preferably, described pretreatment unit, mainly create and configure pretreatment information node, completing the setting to player init state information.
In any of the above-described scheme preferably, described kernel setup unit, mainly create and configure kernel information node, completing the setting to player kernel information.
In any of the above-described scheme preferably, other function subelements described, comprise at least one in resource load mode dispensing unit, shell dispensing unit, skin dispensing unit, ad content dispensing unit, extension content dispensing unit, content recommendation dispensing unit.
In any of the above-described scheme preferably, described editor includes the interpolation for described child node information.Increase by a new node, configure described nodal information, i.e. configure the New function that described player has.
In any of the above-described scheme preferably, described system is configured through increasing or deleting described child node method, increases or delete the separate unit of described player, it is achieved the increase of described player function or deletion.
In any of the above-described scheme preferably, described editor also includes the deletion for described child node information.Deletion of node, the function represented by described node will delete, deletes together with all nodal functions under this grade of described child node and described child node.
In any of the above-described scheme preferably, described editor also includes the amendment for described child node information.Amendment node, the represented function of described node will modify and be preserved by fresh information.
In any of the above-described scheme preferably, described editor also includes the parsing for described child node information.Resolve node, i.e. traversal and read described nodal information, the function represented by described node, represent with tree structure.
In any of the above-described scheme preferably, described generation player configuration file, i.e. preserve described root node and described child node data message.
In any of the above-described scheme preferably, selection XML file is carrier, preserves described configuration file
When player loads, read XML configuration file, according to described configuration file, described nodal information is resolved, load relevant function or element, generate the player needed for described client or partner.
Player collocation method and system according to the present invention are for current player function and the change of component, and according to user or the multiformity of partner's demand, functions various to player and component configure flexibly and effectively, generate different-style, the player of difference in functionality, greatly reduce the workload of developer, be effectively increased resource utilization.
The invention still further relates to a kind of player, carry out configuring this player by configuring system according to the player in any of the above-described scheme of the present invention, and configured according to the player collocation method in the either a program of the present invention by above-mentioned.
Accompanying drawing explanation
In order to make the present invention readily appreciate, the specific embodiment of the present invention is described presently in connection with accompanying drawing.
Fig. 1 shows the schematic flow sheet of a preferred embodiment of the player collocation method according to the present invention;
Fig. 2 shows the functional schematic of the configuration structure of the embodiment illustrated in fig. 1 of the player collocation method according to the present invention;
Fig. 3 shows the configuration file structural representation of the embodiment illustrated in fig. 1 of the player collocation method according to the present invention.
Detailed description of the invention
Preferred implementation one
Fig. 1 show a preferred embodiment of the player collocation method according to the present invention, comprising: step 1, is saved in respectively by the component of described player in storage server, is grouped and is defined as some separate units by described component;Step 2, selects described separate unit, it is organized according to specific structure, forms described player framework;Step 3, generates player configuration file according to described player framework, and is saved in storage server;Step 4, when calling described player, by reading described player configuration file, resolves described player framework, loads described separate unit, form the player with specific function.
Step 101, by the component of player respectively be saved in storage server in, described component is grouped and is defined as some separate units.
In this step 101, each player component is individually saved in storage server with document form, a series of described components is grouped together into a new set, it is achieved that described player specific function, described new set is defined as separate unit.
Step 102, selection separate unit, organize it according to specific structure, form player framework.
In this step 102, described specific structure preferably tree structure, comprise root node and child node, be made up of described separate unit.Each project has and an only described root node, and the attribute of this root node includes project name, imports history item, imports XML file, generates project configuration filename, explanation and order information.Each project has some described child nodes, and the attribute of each child node includes the setting of structure type, structure title, structure content, structure attribute, explanation, structural order information.Described separate unit is organized, be realize to the establishment of described child node information, configure, revise, deletion action.
Step 103, according to player framework generate player configuration file, and be saved in storage server in.
In this step 103, by all separate unit information of configuration with tree structure, generate configuration file according to XML format, be saved in storage server.
Step 104, when calling player, by reading player configuration file, resolve player framework, load separate unit, formed and there is the player of specific function.
In this step 104, when calling specific function player, it is necessary first to read configuration file from server end, resolve nodal information, and according to the particular content of described nodal information, load described separate unit from server end, form described specific function player.
By with step, complete the configuration to described player function, and configuration information is stored in storage server, when player loads later, it is only necessary to read described configuration information, according to its attribute description, call described separate unit, complete the framework of described player.
Preferred implementation two
Based on described player collocation method, the configuration structure function of a preferred embodiment of the present invention is as shown in Figure 2.
Function definition module, comprises separate unit defined function, a series of players composition element combinations is formed a new set, it is achieved that described player specific function together, described new set is defined as separate unit.
Function editor module, is editor's player configuration project, i.e. creates function child node under root node.Described function child node comprises basic function node and other functional nodes.
Player basic function configuration module, the i.e. configuration to described basic function nodal information.
Preferably, the configuration of described basic function comprises pretreatment configuration and kernel setup.
Described pretreatment configures, and mainly creates and configures pretreatment information node, completing the setting to player init state information.Described pretreatment information node, comprise the approach to cooperation (loading developer or partner's player) arranged with partner, the address information at DNS(player place is set), calculate platform bandwidth (the bandwidth calculation instrument that developer provides), set and promote link (URL of promotional content), arrange and whether close statistics (0 represents that closedown, 1 expression are opened).
Described kernel setup, mainly creates and configures kernel information node, completing the setting to player kernel information.Described kernel information node, comprise and kernel plug-in unit URL is set, play heart beating and report (unit is the second), the duration (being defaulted as 420 seconds) of each video segment, load the time (being defaulted as 60 seconds) that next described video segment needs to wait, whether using data pattern to carry out video playback, (0 expression does not uses, 1 represents employing), (0 expression does not uses whether to use P2P mode playback, 1 represents employing), whether kernel possesses broadcasting writing function, and (0 represents do not possess, 1 represents possess), whether kernel possesses automatic chain broadcast function, and (0 represents do not possess, 1 represents possess), whether can use hardware-accelerated (0 represent do not use, 1 represents use), the need of carrying out user password checking, (0 expression need not kernel, 1 represents needs).
Player other functional configuration modules optional, i.e. the configuration to other functional nodes described.
The most preferably, described other functional configuration modules optional, comprise the configuration of resource load mode, shell configuration, skin configuration, ad content configuration, extension content configuration, content recommendation configuration.
Described resource load mode configures, and comprises and arranges plug-in unit load mode and advertisement material load mode.The main body that can load according to resource, sets relevant loading attribute.Such as, the main body of loading can be video type file, flash file, bitmap file and text file, according to main body, resets most number of retries (retrymax), retries the time (first) first, again repeat to load interval (gap).Such as, video file retrymax is 3, first be 8000ms, gap be 3000ms;Flash file retrymax is 5, first be 8000ms, gap be 3000ms;Bitmap file retrymax is 13, first be 6000ms, gap be 3000ms;Text file retrymax is 5, first be 5000ms, gap be 3000ms.
Described shell configures, and comprises the whether show log instrument (0 represent do not show, 1 represents display) of arranging, whether show that (0 expression does not shows feedback entrance instrument, 1 represents display), if show locally stored instrument (0 expression does not shows, 1 represents display), whether show that (0 expression does not shows sectional drawing instrument, 1 represents display), if display help information instrument (0 expression does not shows, 1 represents display), whether show video information instrument (0 expression does not shows, 1 represents display).
Described skin configures, and comprises skin style setting, and control group is arranged, and function panel configuration and top are arranged.Described skin style setting, arranges title (skin title), and skin URL(deposits the URL of skin resource file) and style introduction (style belonging to skin, such as Win8 style, Mac style etc.).Described control group is arranged, and is arranged under non-full frame state and the most automatically hides (0 represents hiding, and 1 expression is not hidden), whether settings button shows that (0 expression does not shows, 1 represents display), whether next collection button shows (0 expression does not shows, 1 represents display), arrange widescreen, whether narrow screen shows that (0 expression does not shows, 1 represents display), whether list button shows (0 expression does not shows, 1 represents display), the setting (0 expression does not shows, 1 represents display) whether information shows.nullDescribed function panel configures,Whether dock hurdle zoom button shows that (0 expression does not shows,1 represents display),Whether dock hurdle definition button shows that (0 expression does not shows,1 represents display),Whether dock hurdle switch lamp button shows that (0 expression does not shows,1 represents display),Dock shares on hurdle whether button shows that (0 expression does not shows,1 represents display),Whether dock hurdle watching focus button shows that (0 expression does not shows,1 represents display),Whether pop-up button in dock hurdle shows that (0 expression does not shows,1 represents display),Dock test the speed on hurdle button whether show (0 represent do not show,1 represents display),Whether dock hurdle feedback button shows that (0 expression does not shows,1 represents display),Dock hurdle accelerates whether button shows that (0 expression does not shows,1 represents display),Dock changes on hurdle whether skin button shows that (0 expression does not shows,1 represents display),Whether dock hurdle expansion plugin list button shows that (0 expression does not shows,1 represents display).The setting of described top, arranges whether top search column shows (0 expression does not shows, 1 represents display), and whether rotary-top function shows (0 expression does not shows, 1 expression shows).
Described ad content configures, and comprises skin plug-in unit URL, uses ad system (acquiescence uses), heart beating reports (unit is the second, gives tacit consent to 5 seconds), single time spot (default setting is 15 seconds), the single time spot allows multiple (default setting is 5), ad system attribute.Described ad system attribute, comprises adline, advertisement position URL, if load this advertisement (acquiescence is).Described adline, comprise front bumper advertisements, mouth advertisement, promote advertisement, suspend advertisement, in insert advertisement, bak stay, Corner Sign Advertisement, word chain advertisement.
Described extension content configures, including the setting (URL of plug-in unit) of the various plug-in units to self-defined extension player, such as clock plug-in unit, network tachymeter plug-in unit, Shopping directery plug-in unit.
Described content recommendation configures, including the setting (URL of plug-in unit) to skin plug-in unit path.
In the present embodiment preferably, for described nodal information (including described root node and described child node), resolved by traversal, show with tree structure.
In the present embodiment preferably, for described nodal information, the increase of New function can be reached by increasing new node.
In the present embodiment preferably, for described nodal information, the change of function can be reached by revising its attribute.
In the present embodiment preferably, for described nodal information, the removal of function can be reached by deleting this level and downstream site content.
Function memory module, is to preserve data in xml format, and generates XML configuration file, i.e. to newly configured player function information, file preserves in xml format.The invention is not restricted to XML file, those skilled in the art is it is contemplated that other storage forms being similar to XML file function can also be had.
Described XML configuration file, is the personalized player function set customized for client or partner, and when described client or partner call, player can load described XML configuration file, forms personalized player according to file content.
Function allocating module, it is achieved that the player with specific function calls.When player loads, first read the profile information of storage server end, and resolve, according to described configuration file node content, load separate unit from described server end, form specific function player.
Such as, according to the demand of partner, defining a web player, it has: Win8 style skin;Control group is hidden under non-full frame state automatically, display " next collection " button;Network tachymeter expansion plugin is provided.
First, set up a functional configuration project, generate the attributes such as root node root, setting item title (XX cooperation player), importing history item (nothing), importing XML file (nothing), generation project configuration filename (pccs.xml), explanation (with XX collaborative project) and order (1).
Then under root, newly-built pretreatment information node init, approach to cooperation (letv) with partner is set, arrange DNS(http: //www.letv.com), calculate platform bandwidth (letv), set and promote link (http://i7.imgs.letv.com/player/swfPlayer.swf), closedown statistics (0) is set.
Under root, newly-built kernel information node kernel, arrange kernel plug-in unit URL(http: //player.letvcdn.com/p/201209/19/newplayer/plugins/Kernel. v1.swf), play heart beating and report (180 seconds), the duration (420 seconds) of each video segment, load the time (90 seconds) that next described video segment needs to wait, data pattern whether is used to carry out video playback (1), whether use P2P mode playback (1), whether kernel possesses broadcasting writing function (1), whether kernel possesses automatic chain broadcast function (1), whether can use hardware-accelerated (1), kernel is the need of carrying out user password checking (1).
Under root, newly-built skin node skin, title (skin_02) is set, and style introduction (Win8 style) skin URL(http: //player.letvcdn.com/p/201209/19/newplayer/plugins/skin_wi n8.swf), control group is arranged under non-full frame state hides (0) automatically, and next collection button shows (1).
Under root, newly-built resource loads node loadStyle, arranges plug-in unit load mode (retryMax=" 3 " First=" 8000 " gap=" 3000 ");Advertisement material load mode, the main body of loading can be video type file (retryMax=" 2 " First=" 8000 " gap=" 3000 "), flash file (retryMax=" 2 " First=" 8000 " gap=" 3000 "), bitmap file (retryMax=" 2 " First=" 6000 " gap=" 3000 ") and text file (retryMax=" 2 " First=" 5000 " gap=" 3000 ").
Under root, newly-built extension content node extend, the various plug-in units (network tachymeter (recommendation)) of self-defined extension player are set.
After being provided with, by foregoing, being saved in pccs.xml file, DCA document content architecture is as shown in Figure 3.
Pccs.xml file content is as follows:
<?xml version="1.0" encoding="utf-8"?>
<!-- This section contains information for configuring the letvPlayer 2.0. -->
<root>
<!--initial configuration item-->
<init>
<!--the current type of cooperation of player-->
<typefrom><![CDATA[letv]]></typefrom>
<!--player place DNS-->
<dns><![CDATA[http://www.letv.com]]></dns>
<!--calculating platform bandwidth-->
<tag>letv</tag>
<!--sharing player address-->
<shareSwf><![CDATA[http://i7.imgs.letv.com/player/swfPlayer.swf]]></shareSwf>
<!--closing vv statistics: 1 for opening, other situations are for closing-->
<closeDebug><![CDATA[1]]></closeDebug>
</init>
<!-- Kernel setup item-->
<kernel>
<!--kernel plug-in unit path-->
<url><![CDATA[http://player.letvcdn.com/p/201209/19/newplayer/plugins/Kernel.v1.swf]]></url>
<!--playing heart beating and report, unit is the second-->
<playAction><![CDATA[180]]></playAction>
<!--wait and how long start to load next section (being defaulted as 60s)-->
<leaveEndTime>90</leaveEndTime>
<!--each section needs how long (be defaulted as 7 minutes)-->
<preTime>420</preTime>
<!--if FlashPlayer version is supported, CDN plays and uses data pattern to carry out video playback-->
<dataMode>1</dataMode>
<!--if FlashPlayer version is supported, acquiescence uses P2P play mode-->
<p2p>1</p2p>
<!--kernel possesses broadcasting writing function-->
<record>1</record>
<!--kernel possesses automatic chain broadcast function-->
<continuration>1</continuration>
<!--if FlashPlayer version is supported, it is possible to use hardware-accelerated-->
<gpu>1</gpu>
<!--kernel needs to carry out user's passport judgement-->
<identity>1</identity>
</kernel>
<!--skin configuration item-->
<skin>
<!--skin style configuration, select Win8 style-->
<skinStyle>
<item>
<id>skin_02</id>
<url><![CDATA[http://player.letvcdn.com/p/201209/19/newplayer/plugins/skin_win8.swf]]></url>
<title><![CDATA [Win8 style]]></title>
</item>
</skinStyle>
<!--control group configuration-->
<controlBar>
<!--control group is hidden under non-full frame state automatically-->
<autoHide>0</autoHide>
<!--next collection button of control group shows -->
<nextBtn>1</nextBtn>
</controlBar>
</skin>
<!--player part resource load mode configuration item-->
<!--retryMax: retry loading number of times-->
<!--first: load resource time-out duration (unit: millisecond) for the first time-->
<!--gap: load resource time-out duration (unit: millisecond) for the first time-->
<loadStyle>
<!--configuration of plug-in unit load mode-->
<plugins retryMax="3" first="8000" gap="3000"/>
<!--configuration of advertisement material load mode-->
<ad>
<video retryMax="2" first="8000" gap="3000"/>
<flash retryMax="2" first="8000" gap="3000"/>
<bitmap retryMax="2" first="6000" gap="3000"/>
<text retryMax="2" first="5000" gap="3000"/>
</ad>
</loadStyle>
<!--expansion plugin configuration item-->
<extend>
<item>
<title>network tachymeter (is recommended)</title>
<url><![CDATA[http://img1.c0.letv.com/ptv/player/newPlayer/plugins/extend/LetvExtend_TestSpeedTool.swf]]></url>
<eventid>extend_plugin_testspeed</eventid>
<shutdown>1</shutdown>
<openapi>1</openapi>
<position>
<!--have horizontalCenter to ignore left and right, have verticalCenter to ignore top and bottom-->
<horizontalCenter>0</horizontalCenter>
<verticalCenter>0</verticalCenter>
</position>
</item>
</extend>
</root>
When calling this partner's user's players, read the content in pccs.xml file and resolve, calling each function of player and element, generating player needed for partner.
Foregoing detailed description illustrates the various embodiments of system and/or process by embodiment and/or schematic diagram.With regard to these schematic diagrams and/or comprise one or more function and/or operation for, it will be understood by those skilled in the art that each function in these schematic diagrams or embodiment and/or operation can individually and/or jointly to realize by various hardware, software, firmware or actually its combination in any.
It should be understood that method described herein with combined with hardware or software, or can combine a combination of both and realize in due course.Therefore, the method of the present invention, the program code in tangible mediums such as being included in such as floppy disk, CD-ROM, hard disk drive or any other machinable medium can be used (i.e., instruction) form, wherein, in the case of program code performs on programmable computers, calculating equipment generally includes storage medium (including volatile memory and/or memory element), at least one input equipment and at least one outut device that processor, this processor are readable.One or more programs can such as, by using API, and the process that reusable control etc. realizes or describes in conjunction with the present invention.Such program preferably realizes with high level procedural or Object-Oriented Programming Language, with computer system communication.However, if it is desired to, this program can realize by assembler language or machine language.In any case, language can be compiler language or interpretative code, and realizes combining with hardware.
It should be noted that include but not limited to the combination in any between each part mentioned above according to the category of the player collocation method of the present invention and the scheme of system.
Although illustrate and describing the present invention referring particularly to its preferred embodiment, it will be appreciated by those skilled in the art that can be to make the various changes in form and details without deviating from the scope of the present invention described in appended claims.Specific embodiment above in association with the present invention is described in detail, but is not limitation of the present invention.Every technical spirit according to the present invention, to any simple modification made for any of the above embodiments, all still falls within the scope of technical solution of the present invention.

Claims (24)

1. a player collocation method, it is characterised in that comprise the steps:
Step 1: the component of described player is saved in respectively in storage server, described component is grouped and is defined as some separate units;
Step 2: select described separate unit, organizes it according to specific structure, forms described player framework;
Step 3: generate player configuration file according to described player framework, and be saved in storage server;
Step 4: when calling described player, by reading described player configuration file, resolves described player framework, loads described separate unit, forms the player with specific function.
2. player collocation method as claimed in claim 1, it is characterised in that described separate unit includes at least one described component, and the play parameter of described component.
3. player collocation method as claimed in claim 1, it is characterised in that the most described specific structure includes tree structure.
4. player collocation method as claimed in claim 3, it is characterised in that described separate unit forms the child node of described tree structure root node, and described root node includes at least one in initialization unit or kernel unit.
5. player collocation method as claimed in claim 4, it is characterised in that by increasing or deleting described child node method, increase or delete the separate unit of described player, it is achieved the increase of described player function or deletion.
6. player collocation method as claimed in claim 1, it is characterised in that described player configuration file preserves with XML file format.
7. player collocation method as claimed in claim 2, it is characterised in that described play parameter includes the storage address of described component.
8. player collocation method as claimed in claim 1, it is characterised in that: described storage server is for storing described player component, the equipment of described configuration file.
9. player collocation method as claimed in claim 4, it is characterised in that: described root node only has one, corresponding to a configuration player project.
10. a player configuration system, for realizing the player collocation method of any of the above-described claim, described system includes storing server, function definition module, function editor module, function memory module and function allocating module, and wherein said function definition module is for being grouped and be defined as some separate units by the component of the described player being saved in respectively in storage server;Described function editor module is used for selecting described separate unit, it is organized according to specific structure, forms described player framework;Described function memory module is for generating player configuration file according to described player framework, and is saved in described storage server;Described function allocating module is used for when calling described player, and the reading and saving described player configuration file in described storage server resolves described player framework, loads described separate unit, forms the player with specific function.
11. player as claimed in claim 10 configuration systems, it is characterised in that described separate unit includes at least one described component, and the play parameter of described component.
12. player as claimed in claim 11 configuration systems, it is characterised in that described specific structure includes tree structure.
13. players as claimed in claim 12 configuration systems, it is characterised in that described separate unit forms the child node of described tree structure root node, and described root node at least includes following separate unit: initialization unit, kernel unit and control unit.
14. player as claimed in claim 13 configuration systems, it is characterised in that this system is configured through increasing or deleting described child node method, increases or delete the separate unit of described player, it is achieved the increase of described player function or deletion.
15. player as claimed in claim 14 configuration systems, it is characterised in that described player configuration file preserves with XML file format.
16. player as claimed in claim 15 configuration systems, it is characterized in that, described system provides the method that described configuration file quickly creates, i.e. it is introduced directly into the configuration file existed, and carry out the amendment of component described in described separate unit on this basis, the described player framework that systematic function is similar.
17. the system such as claim 13, it is characterised in that: the attribute of described root node includes at least one in project name, importing history item, importing XML file, generation project configuration filename, explanation and order information.
The system of 18. such as claim 13, it is characterised in that: the attribute of described child node includes at least one in the setting of structure type, structure title, structure content, structure attribute, explanation, structural order information.
The system of 19. such as claim 13, it is characterised in that: described child node comprises basic function child node and other function child nodes.
The system of 20. such as claim 19, it is characterised in that: described basic function child node comprises at least one in pretreatment dispensing unit and kernel setup unit.
The system of 21. such as claim 20, it is characterised in that: described pretreatment unit is disposed for creating and configuring pretreatment information node, completes the setting to player init state information.
22. such as claim 20 or the system of 21, it is characterised in that: described kernel setup cell location becomes to be used for creating and configure kernel information node, completes the setting to player kernel information.
The system of 23. such as claim 19, it is characterised in that: other function subelements described comprise at least one in resource load mode dispensing unit, shell dispensing unit, skin dispensing unit, ad content dispensing unit, extension content dispensing unit, content recommendation dispensing unit.
24. 1 kinds of players, configure described player by player configuration system, it is characterised in that: described player configuration system is that the player such as claim 10-23 configures system, and configures according to the player collocation method such as claim 1-9.
CN201210532372.XA 2012-12-10 2012-12-10 Player collocation method and system and corresponding player Expired - Fee Related CN103092603B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210532372.XA CN103092603B (en) 2012-12-10 2012-12-10 Player collocation method and system and corresponding player

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210532372.XA CN103092603B (en) 2012-12-10 2012-12-10 Player collocation method and system and corresponding player

Publications (2)

Publication Number Publication Date
CN103092603A CN103092603A (en) 2013-05-08
CN103092603B true CN103092603B (en) 2016-08-10

Family

ID=48205214

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210532372.XA Expired - Fee Related CN103092603B (en) 2012-12-10 2012-12-10 Player collocation method and system and corresponding player

Country Status (1)

Country Link
CN (1) CN103092603B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103500103A (en) * 2013-10-25 2014-01-08 乐视网信息技术(北京)股份有限公司 Method and device for cooperative configuration management
CN104007963B (en) * 2014-05-06 2017-11-07 北京猎豹网络科技有限公司 The method and apparatus for generating the skin file of browser readable
CN105100916B (en) * 2015-07-09 2019-03-08 北京奇虎科技有限公司 A kind of production method and device of video player
CN108205534B (en) * 2016-12-16 2021-07-06 北京搜狗科技发展有限公司 Skin resource display method and device and electronic equipment
CN107124643A (en) * 2017-03-27 2017-09-01 武汉斗鱼网络科技有限公司 It is a kind of to handle the method and apparatus that live display is set
CN106850692B (en) * 2017-03-30 2020-03-20 成都长天信息技术有限公司 Method and device for determining streaming media playing mode
CN109040822B (en) * 2018-07-16 2021-06-22 北京奇艺世纪科技有限公司 Player configuration method and device and storage medium
CN109144644A (en) * 2018-08-17 2019-01-04 上海哔哩哔哩科技有限公司 Player control method, device and storage medium based on user demand
CN111711862A (en) * 2020-06-30 2020-09-25 上海幽癸信息科技有限公司 Marking method, playing method and retrieval method of audio and video clips
CN114531614B (en) * 2022-02-17 2023-09-15 北京字跳网络技术有限公司 Video playing method, device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101593207A (en) * 2009-07-06 2009-12-02 孟智平 The method and system of a kind of structure and generation webpage
CN102053851A (en) * 2010-12-23 2011-05-11 福建星网视易信息***有限公司 Method for remotely editing interface for embedded terminal
CN102355455A (en) * 2011-08-31 2012-02-15 中国铁道科学研究院电子计算技术研究所 Video information processing method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101593207A (en) * 2009-07-06 2009-12-02 孟智平 The method and system of a kind of structure and generation webpage
CN102053851A (en) * 2010-12-23 2011-05-11 福建星网视易信息***有限公司 Method for remotely editing interface for embedded terminal
CN102355455A (en) * 2011-08-31 2012-02-15 中国铁道科学研究院电子计算技术研究所 Video information processing method

Also Published As

Publication number Publication date
CN103092603A (en) 2013-05-08

Similar Documents

Publication Publication Date Title
CN103092603B (en) Player collocation method and system and corresponding player
US10897449B2 (en) Social media messaging platform for creating and sharing moments
CN104516892B (en) It is associated with dissemination method, system and the terminal of the user-generated content of rich media information
CN103297327B (en) Information push method, device and display terminal
CN108228253A (en) A kind of APP construction methods and system
JP2023502859A (en) Barrage processing method, device, electronic equipment and program
CN101697156B (en) A kind of method and system of constructing chain web pages
US20140122083A1 (en) Chatbot system and method with contextual input and output messages
CN103546782A (en) Method and system for dynamically adding advertisements during video playing
CN103500186A (en) Method and device for loading pictures in browser and browser
CN102027470A (en) System and method for presenting a contextual action
CN101630329A (en) Method and system for interaction of video elements and web page elements in web pages
CN106412015B (en) A kind of data publication method, equipment and system
CN104360840A (en) Game development method and device based on HTML5
Vivo et al. The role of the media industry when participation is a product
CN113268226A (en) Page data generation method and device, storage medium and equipment
CN102929912A (en) Method and system for generating microblog pictures
CN105700925A (en) APP interface implementation method and apparatus
US20170169474A1 (en) Internet-based display material system and internet-based display material producing method
CN104615700A (en) Method for collecting webpage objects in browser, browser client side and system
CN102253807A (en) Interactive interface design method and system based on social network television
CN103500187A (en) Method and device for processing pictures in browser and browser
JP2024056704A (en) Dynamic integration of customized supplemental media content
Ryczko et al. Hashkat: large-scale simulations of online social networks
CN103942213A (en) Data paging method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160810

Termination date: 20161210