CN103391287A - Streaming media delivery system and method - Google Patents

Streaming media delivery system and method Download PDF

Info

Publication number
CN103391287A
CN103391287A CN2013102917152A CN201310291715A CN103391287A CN 103391287 A CN103391287 A CN 103391287A CN 2013102917152 A CN2013102917152 A CN 2013102917152A CN 201310291715 A CN201310291715 A CN 201310291715A CN 103391287 A CN103391287 A CN 103391287A
Authority
CN
China
Prior art keywords
adapter
streaming media
player
responsor
parameter
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.)
Granted
Application number
CN2013102917152A
Other languages
Chinese (zh)
Other versions
CN103391287B (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.)
Alibaba China Co Ltd
Original Assignee
Unification Infotech (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 Unification Infotech (beijing) Co Ltd filed Critical Unification Infotech (beijing) Co Ltd
Priority to CN201310291715.2A priority Critical patent/CN103391287B/en
Publication of CN103391287A publication Critical patent/CN103391287A/en
Application granted granted Critical
Publication of CN103391287B publication Critical patent/CN103391287B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a streaming media delivery system and method. The streaming media delivery system comprises a player launching a streaming media request, a parameter processor storing request information, a responder responding to the request and a configuration adapter. The configuration adapter comprises an adapter responder, an adapter converter and a parameter processor. The adapter responder obtains, splices and integrates streaming media materials. The adapter converter obtains the request information, stores the request information through the parameter processor, converts the stored information to the request parameter of the original system and stores the request parameter in the parameter processor. The parameter processor stores information requested to be carried by the player. The streaming media delivery method includes that the streaming media request is launched; the request information is obtained and converted to the request parameter of the original system and stored in the parameter processor; the streaming media materials are obtained, spliced and integrated; Extensive Makeup Language (XML) conversion is performed between the adapter and an interface protocol of the player so as to transmit the streaming media material information to the player.

Description

A kind of Streaming Media jettison system and method
Technical field
The invention belongs to the Streaming Media field, especially relate to a kind of Streaming Media jettison system and method.
Background technology
Current Streaming Media field, the Streaming Media jettison system is by player and the mutual realization of remote web server.namely by the embedded player of web browser (mainly), or other client (as itudou/, liking strange skill) embedded player under computer operating system, or mobile communication equipment terminals is (as ipad, iphone, htc) embedded player, initiate the http request, this request is carried stream media information and (is comprised Streaming Media ID, the Streaming Media duration, the Streaming Media type), cookie, user profile (comprises user ID, User IP, the user accessed duration the same day), pass to remote web server by network, use this solicited message constructing variable processor, server is by different requests, return to different Streaming Medias.The request of every kind of Streaming Media type, server end have the responsor (paste for example responsor, in plug in responsor, suspend responsor, footmark responsor, page response device) of unique correspondence, process request accordingly.Therefore responsor generally has five to eight (seeing accompanying drawing 1).But, these responsor set, corresponding with unique player kernel, and along with the fast development of network, and mobile client is in recent years rapidly universal, various streaming media playing environment occurred, cause Streaming Media to throw in environment also varied, single player kernel, and corresponding responsor set, streaming media playing, the Streaming Media that can't meet various clients are thrown in demand.
According to existing technical implementation way, different player kernels, need different responsor set.A kind of new player kernel namely occurs, need to again develop a cover Streaming Media and throw in responsor, cost consumption is huge, probably because the switching of player version or roll off the production line causes output value greatly to reduce.Therefore input, the output ratio of this implementation, be low-down.Along with the differentiation trend of various clients, player is in rising trend, the developer of responsor will be very passive, and development task is more and more heavier.Therefore a kind of response policy of server flexibly, the development cost with lower, the different demands of can adapt to, compatible various players, Streaming Media being thrown in environment, be very important.
The stream media system adapter, just for addressing this problem, a kind of scheme of designing, it is take same set of responsor as basis, exploitation by adapter, realize the different demands that a plurality of players, Streaming Media are thrown in environment, the relative new responsor set of cover of the development cost of adapter, be low-down.And flexibility is very strong, and a kind of new player kernel of every appearance, or Streaming Media input environment, revise adapter and can realize compatibility.See (accompanying drawing 2).
Summary of the invention
The invention provides a kind of Streaming Media jettison system, this system comprises for the player of initiating the Streaming Media request, is used for the parameter Processor of storage resource request information, the front subsides responsor that request responds to Streaming Media, in plug in responsor, suspend responsor, footmark responsor, page response device, it is characterized in that this system is new adapter corresponding to player configurations, described adapter comprises:
The adapter responsor, be used for obtaining Streaming Media material and convection current media materials information according to the required parameter after conversion and carry out assembly unit and integrate, the XML conversion of player interface agreement;
The adapter transducer, be used for obtaining player requests information and operation parameter processor RequestParams stores, and be used for parameter Processor RequestParams canned data being converted to the original system required parameter and being stored in the above-mentioned parameter processor;
Parameter Processor RequestParams, be used for the information that the Memory player request is carried.
Further, the conversion of adapter transducer comprises: according to the mapping relations between parameter, the value that implication is identical is mapped, and the value of new argument is stored by revising parameter Processor RequestParams.
Further, the adapter responsor comprises and obtains material module and agreement assembling module, and the request msg of obtaining after the material module is used for change is passed to the input engine,, according to different material types, passes to the disparate modules of input engine to carry out transferring of material; What return to the adapter responsor is the material list, and this material list comprises the required all types material of new player, and described agreement assembling module is used for assembly unit and integrates Streaming Media material information.
Further, the adapter responsor return Streaming Media material information to player after, with releasing resource.
The present invention also provides a kind of Streaming Media put-on method, it is characterized in that:
Step (1) player is initiated the Streaming Media request;
Step (2) adapter transducer obtains player requests information and operation parameter processor RequestParams stores, and is used for parameter Processor RequestParams canned data is converted to the original system required parameter and is stored in parameter Processor;
Step (3) adapter responsor obtains the Streaming Media material according to the required parameter after changing and convection current media materials information is carried out the assembly unit integration;
Carry out the XML conversion between step (4) adapter and player interface agreement in order to send Streaming Media material information to player.
Further, the conversion of adapter transducer described in step (2) comprises: according to the mapping relations between parameter, the value that implication is identical is mapped, and the value of new argument is stored by revising parameter Processor RequestParams.
Further, the request msg of obtaining after the material module is used for changing that further comprises wherein of obtaining of adapter responsor described in step (3) is passed to the input engine,, according to different material types, pass to the disparate modules of input engine to carry out transferring of material; Described assembly unit integrate comprise return to the adapter responsor be the material list, this material list comprises the required all types material of new player, agreement assembling module wherein is used for assembly unit and integrates Streaming Media material information.
Further, the method comprises: the adapter responsor return Streaming Media material information to player after, with releasing resource.。
Description of drawings
Fig. 1 is the structure chart of existing Streaming Media jettison system.
Fig. 2 is the structure chart according to Streaming Media jettison system of the present invention.
Fig. 3 is the flow chart according to the inventive method.
Fig. 4 is according to basic data schematic diagram of the present invention.
Fig. 5 is the structure chart according to adapter of the present invention.
Fig. 6 is the structure chart according to adapter responsor of the present invention.
Embodiment
The invention will be further described below in conjunction with the drawings and specific embodiments.
The present invention is a kind of Streaming Media jettison system and method, increases the compatibility of stream media system by this invention, reduces player and the heavily coupling of throwing between engine, make between player and input engine communicate by letter more flexible.
As shown in Figure 3, player is initiated the Streaming Media request to the general flow of system, carries stream media information, cookie, user profile, as: Streaming Media ID---itemID, user ID---userID.After adapter responsor Servlet receives request, pass to adapter transducer Parser.Adapter transducer Parser analysis request parameter, stored valuable information in the player requests such as Streaming Media ID, user ID with all solicited message constructing variable processor RequestParams(, and the non-real physical device of this parameter Processor, this processor is object in internal memory, object has the data structure of oneself, the attribute that oneself is arranged, the attribute number is not limit.Solicited message deposits in respectively in the attribute of RequestParams.)。Adapter transducer Parser takes the parameter Processor RequestParams that has constructed, the original system required parameter is as Streaming Media ID---sid, user ID---uid, adapter Parser realizes the conversion of parameter, itemID transfers sid to, it is in order to construct existing parameter Processor that userID transfers the uid(conversion to, throw in like this engine and need not change interface, can identify.), construct existing parameter Processor, return to adapter Servlet.
Adapter responsor Servlet obtains the Streaming Media material to throwing in engine.After taking material, adapter responsor Servlet will arrange material information.Because it is different from existing agreement to return to the agreement of player, adapter responsor Servlet, according to agreement, carries out assembly unit with the player desired data by character string, material information is assembled into the form of New Deal, returns to player.Every kind of adapter is just realized the assembly unit of agreement one to one.
Adapter structure as shown in Figure 5, has comprised adapter responsor Servlet, adapter transducer Parser, parameter Processor RequestParams.Adapter responsor (Servlet) inside also comprises two modules, as shown in Figure 6, has comprised and has obtained material module and agreement assembling module.Each component representation in adapter is as follows: 1) parameter Processor RequestParams:
Function: the full detail that the Memory player request is carried contains user profile, page info, stream media information etc.Attribute: corresponding with parameter in the player requests agreement.Parameter Processor RequestParams only has memory function, the process that structured value grows out of nothing.Initial condition is empty, does not store any information, and structure i.e. the process of storage.
2) adapter transducer Parser:
Function: conversion parameter processor RequestParams canned data, transform to throwing in the list of engine core parameter, shield the information gap opposite sex that different player requests are brought, be kernel object.
Attribute: request: solicited message; Response: adapter return information.
Method: get *(), to player requests information, screens.* be the concept of having used regular expression, get *() is the general designation of a plurality of methods, as getUnionId---and obtain the id of alliance method, realized the Base64 deciphering of the id of alliance; GetIP---obtain the User IP method, realized from repeatedly obtaining source IP function routing forwarding.Parser can obtain player requests information by these method adapter transducers.
Perform () realizes the solicited message translation function.Perform () takes the data of storage from parameter Processor RequestParams, according to the implication of value, the translation data form, deposit existing parameter Processor in.If do not change, throw in None-identified of engine, need make again the input engine of a differentiation, development cost is huge.
With reference to figure 3, different player requests, so-called difference is that agreement is different, two kinds of situations are specifically arranged: the one, parameter name is different, and the 2nd, parameter list different (as new argument, or lacking some parameter), adapter transducer Parser is according to the mapping relations between parameter, the value that implication is identical is mapped, and the value of new argument, by revising parameter Processor RequestParams, is stored.Shield the information gap alienation realization like this that different player requests are brought.For example: existing player parameter A BC, new player parameter A BD,, for new argument D, can map to parameters C, deposits the space of C in.If new player parameter is ABCD, need to revise existing parameter Processor, increase parameter D.
3) adapter responsor Servlet:
Function: realized the major function of adapter, and play the part of overall scheduling, the control the role.
Use process() realized calling of parameter Processor RequestParams, the obtaining of Streaming Media material, the assembly unit of Streaming Media material information is integrated, the XML conversion of player interface agreement.As Fig. 2, existing Streaming Media jettison system, be that different responsors return to different materials, and returning in the present invention adapter is material list (be the material information list, each material information comprises a material address)! This material list comprises the required all types material of new player, as the player first, only throws in front subsides, time-out, footmark, and the agreement assembling module in adapter responsor Servlet will once return to 3 kinds of Streaming Media materials and carry out the assembly unit integration.
Obtain the material module and be used for obtaining the Streaming Media material, data acquisition system comprises: 1) prerollIdeas: the set of front subsides Streaming Media material.2) postrollIdeas: paste afterwards the set of Streaming Media material.3) cornerIdeas: footmark Streaming Media material set.4) pauseIdeas: suspend the set of Streaming Media material.5) minibannerIdeas:minibanner miniflow media column material set.
Be stored in adapter responsor Servlet, return Streaming Media material information to player after, with releasing resource.
In set each field of basic data as shown in Figure 4, wherein, adIdea: Streaming Media material object.Stored stream media material full detail.Cp: throw in the N+ statistical information.ShowTimes: the user has watched number of times.IesParam: third party's detected parameters.Pl: paste position before expression in front subsides, meaningless in other type, be defaulted as 0 during structure, can only arrange afterwards, be fixed as 1 a mouthful sowing time, mouthful broadcasts as a kind of Streaming Media form paster Streaming Media a kind of.But last the broadcast.AdPos: Streaming Media position (be Streaming Media in the streaming media playing process, the ordinal position that represents) is used for data team statistics.
At first, the protocol data that will obtain in the adapter responsor after the material module will be changed is passed to the input engine,, according to different material types, passes to the disparate modules of input engine to carry out transferring of material.Throw in engine the corresponding multiple Streaming Media type of a plurality of modules is arranged, every kind of Streaming Media type has a material list acquisition module.The Streaming Media type comprises front subsides, time-out, footmark etc.For example, certain player is only asked front subsides Streaming Media, and adapter after the existing parameter Processor RequestParams of structure, passes to it front subsides material list acquisition module of throwing in engine so, namely returns to corresponding material list.
The Streaming Media material information of returning is stored in each Ideas.
Take player in the potato station as example, obtain front subsides, rear subsides, footmark, time-out, the set of minibanner material, owing to inserting during in the potato station, player is not supported, so obtain the material module in adapter, insert material in skipping over.The minbanner of player in the potato station, need to peel away with front subsides, so adapter carries out special processing to front subsides material prerollIdeas.Traversal prerollIdeas, obtain the material A that binds minibanner.Convert material A to the minibanner type, join the set of minibanner material.
The flow process brief introduction of XML conversion of carrying out the docking port agreement as an example of the potato player example is as follows:
The material data format that the adapter responsor is taken, player can not Direct Recognition, as front subsides material, need to be ads node (a kind of node type in the XML text) according to protocol conversion, material ID 97256 need transfer nodal community id to, the Streaming Media duration need transfer nodal community dt in 30 seconds, finally was converted to the XML text that player can be identified.
As follows according to the technique effect that technical scheme of the present invention obtains:
Technical solution of the present invention is with great flexibility, and extremely low development cost, maintenance cost, meet increasing player kernel, Streaming Media input environmental demand.A kind of player kernel of every increase, or increase a kind of Streaming Media input environment, only need revise the stream media system adapter, increase by 1~2 class file, can realize corresponding Streaming Media input function.Reduced development cost.
The foregoing is only preferred embodiment of the present invention, be not limited to the invention, all any modifications of making, be equal to replacement and improvement etc., within all being contained in protection scope of the present invention within the invention spirit and principle.

Claims (8)

1. Streaming Media jettison system, this system comprises: the player that is used for initiating the Streaming Media request; The parameter Processor that is used for storage resource request information; Be used for the front subsides responsor that request responds to Streaming Media, plug in responsor, time-out responsor, footmark responsor, page response device, it is characterized in that: this system is new adapter corresponding to player configurations, and described adapter comprises:
The adapter responsor, be used for obtaining Streaming Media material and convection current media materials information according to the required parameter after conversion and carry out assembly unit and integrate, the XML conversion of player interface agreement;
The adapter transducer, be used for obtaining player requests information and operation parameter processor RequestParams stores, and be used for parameter Processor RequestParams canned data being converted to the original system required parameter and being stored in the above-mentioned parameter processor;
Parameter Processor RequestParams, be used for the information that the Memory player request is carried.
2. system according to claim 1 is characterized in that:
The conversion of adapter transducer further comprises: according to the mapping relations between parameter, the value that implication is identical is mapped, and the value of new argument is stored by revising parameter Processor RequestParams.
3. system according to claim 1 is characterized in that:
The adapter responsor further comprises and obtains material module and agreement assembling module, and the request msg of obtaining after the material module is used for change is passed to the input engine,, according to different material types, passes to the disparate modules of input engine to carry out transferring of material; What return to the adapter responsor is the material list, and this material list comprises the required all types material of new player, and described agreement assembling module is used for assembly unit and integrates Streaming Media material information.
4. system according to claim 3 is characterized in that:
The adapter responsor return Streaming Media material information to player after, with releasing resource.
5. Streaming Media put-on method is characterized in that:
Step (1) player is initiated the Streaming Media request;
Step (2) adapter transducer obtains player requests information and operation parameter processor RequestParams stores, and is used for parameter Processor RequestParams canned data is converted to the original system required parameter and is stored in parameter Processor;
Step (3) adapter responsor obtains the Streaming Media material according to the required parameter after changing and convection current media materials information is carried out the assembly unit integration;
Carry out the XML conversion between step (4) adapter and player interface agreement in order to send Streaming Media material information to player.
6. method according to claim 5 is characterized in that:
The conversion of adapter transducer described in step (2) further comprises: according to the mapping relations between parameter, the value that implication is identical is mapped, and the value of new argument is stored by revising parameter Processor RequestParams.
7. method according to claim 5 is characterized in that:
The request msg of obtaining after the material module is used for changing that further comprises wherein of obtaining of adapter responsor described in step (3) is passed to the input engine,, according to different material types, passes to the disparate modules of input engine to carry out transferring of material; Described assembly unit integrate further comprise return to the adapter responsor be the material list, this material list comprises the required all types material of new player, agreement assembling module wherein is used for assembly unit and integrates Streaming Media material information.
8. method according to claim 5 is characterized in that the method further comprises:
The adapter responsor return Streaming Media material information to player after, with releasing resource.
CN201310291715.2A 2013-07-11 2013-07-11 A kind of Streaming Media jettison system and method Expired - Fee Related CN103391287B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310291715.2A CN103391287B (en) 2013-07-11 2013-07-11 A kind of Streaming Media jettison system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310291715.2A CN103391287B (en) 2013-07-11 2013-07-11 A kind of Streaming Media jettison system and method

Publications (2)

Publication Number Publication Date
CN103391287A true CN103391287A (en) 2013-11-13
CN103391287B CN103391287B (en) 2017-03-08

Family

ID=49535444

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310291715.2A Expired - Fee Related CN103391287B (en) 2013-07-11 2013-07-11 A kind of Streaming Media jettison system and method

Country Status (1)

Country Link
CN (1) CN103391287B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1570812A (en) * 2003-07-18 2005-01-26 北京航空航天大学 Implement method of assembly adapter
CN102118719A (en) * 2009-12-30 2011-07-06 北京邮电大学 Mobile intelligent information service system, adaptation converting device and method
CN102137047A (en) * 2011-03-21 2011-07-27 华中科技大学 Multiparameter media adapter gateway and adaption method thereof
CN103139211A (en) * 2013-02-06 2013-06-05 中山大学 Multi-screen adaptive display system and implementation method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1570812A (en) * 2003-07-18 2005-01-26 北京航空航天大学 Implement method of assembly adapter
CN102118719A (en) * 2009-12-30 2011-07-06 北京邮电大学 Mobile intelligent information service system, adaptation converting device and method
CN102137047A (en) * 2011-03-21 2011-07-27 华中科技大学 Multiparameter media adapter gateway and adaption method thereof
CN103139211A (en) * 2013-02-06 2013-06-05 中山大学 Multi-screen adaptive display system and implementation method thereof

Also Published As

Publication number Publication date
CN103391287B (en) 2017-03-08

Similar Documents

Publication Publication Date Title
CN106453288B (en) A kind of distributed micro services frame system that supporting asynchronous mode and its implementation
CN104010039B (en) Multi-radar remote monitoring system and method based on WebSocket
CN101631143B (en) Multi-server system in load-balancing environment and file transmission method thereof
CN107888666A (en) A kind of cross-region data-storage system and method for data synchronization and device
CN103945000A (en) Load balance method and load balancer
US20130290453A1 (en) System and method for a connector being able to adapt to newer features introduced to a messaging provider with only configuration changes
Chellouche et al. Flexible user profile management for context-aware ubiquitous environments
CN104767810A (en) Cloud-client cooperative service system and cloud-client cooperative work method
CN104834649B (en) It can realize the smart machine and multiple-equipment team working method of more equipment collaborations
CN109697020A (en) A kind of date storage method, server and system
CN110233767A (en) Service configuration method, system, device and the readable storage medium storing program for executing of distributed type assemblies
CN105009115B (en) The method and apparatus for obtaining Internet resources
CN104320347A (en) Method and device for initiatively updating LLDP
US20220179713A1 (en) Ai processing method and apparatus
CN203504603U (en) Server configuration of mobile Internet voice community
CN104572816B (en) Information processing method and electronic equipment
CN102316142B (en) Method for realizing p2p-based remote video education
CN104038518B (en) information processing method, server and terminal device
CN107734397A (en) Television advertisement obtaining and displaying method, advertisement server, television and system
CN109218272A (en) Media content method for pushing, device, server, system and storage medium
CN105429981A (en) Game voice transmission method, terminal, voice service module and game system
CN103391287A (en) Streaming media delivery system and method
CN110166823A (en) Throw screen method and relevant apparatus
CN106210176B (en) Information-pushing method, apparatus and system
CN102497402B (en) Content injection method and system thereof, and content delivery method and system thereof

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
CP01 Change in the name or title of a patent holder

Address after: 100080 Beijing Haidian District city Haidian street A Sinosteel International Plaza No. 8 block 5 layer D

Patentee after: YOUKU INFORMATION TECHNOLOGY (BEIJING) Co.,Ltd.

Address before: 100080 Beijing Haidian District city Haidian street A Sinosteel International Plaza No. 8 block 5 layer D

Patentee before: HEYI INFORMATION TECHNOLOGY (BEIJING) Co.,Ltd.

CP01 Change in the name or title of a patent holder
TR01 Transfer of patent right

Effective date of registration: 20200618

Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Alibaba (China) Co.,Ltd.

Address before: 100080 Beijing Haidian District city Haidian street A Sinosteel International Plaza No. 8 block 5 layer D

Patentee before: YOUKU INFORMATION TECHNOLOGY (BEIJING) Co.,Ltd.

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170308

Termination date: 20200711

CF01 Termination of patent right due to non-payment of annual fee