CN104363237B - A kind of processing method and its system of the Internet media resource metadata - Google Patents

A kind of processing method and its system of the Internet media resource metadata Download PDF

Info

Publication number
CN104363237B
CN104363237B CN201410676051.6A CN201410676051A CN104363237B CN 104363237 B CN104363237 B CN 104363237B CN 201410676051 A CN201410676051 A CN 201410676051A CN 104363237 B CN104363237 B CN 104363237B
Authority
CN
China
Prior art keywords
plug
script
media resource
unit
resource metadata
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
CN201410676051.6A
Other languages
Chinese (zh)
Other versions
CN104363237A (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.)
Institute of Acoustics CAS
Shanghai 3Ntv Network Technology Co Ltd
Original Assignee
Institute of Acoustics CAS
Shanghai 3Ntv Network Technology 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 Institute of Acoustics CAS, Shanghai 3Ntv Network Technology Co Ltd filed Critical Institute of Acoustics CAS
Priority to CN201410676051.6A priority Critical patent/CN104363237B/en
Publication of CN104363237A publication Critical patent/CN104363237A/en
Application granted granted Critical
Publication of CN104363237B publication Critical patent/CN104363237B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to a kind of processing method and its system of the Internet media resource metadata, this method obtains and parsed media resource metadata information from multiple media resource business using script plug-in unit, similar media resource metadata is integrated into by data visualization after consistent data structure, polymerization by analysis classification and is presented to user.The system includes plug-in management module, script language interpreter and data memory module.The characteristics of present invention need not be compiled using script, realizes dynamic load and the renewal of script plug-in unit;Obtain media resource metadata in real time simultaneously, it is to avoid there is the problem of data are delayed.

Description

A kind of processing method and its system of the Internet media resource metadata
Technical field
The present invention relates to computer networking technology, more particularly to a kind of the Internet media resource metadata processing method and Its system.
Background technology
As Internet industry flourishes, the network bandwidth constantly increases, and the Internet media resource content business is risen one after another, Provide the user more colourful multimedia resource.Increasing the Internet media resource also gives the classification searching of user Bring many constant.
Current media resource metadata aggregation solution is that each media money is obtained and stored using high-performance server The multimedia resource metadata information of source contents business.When user needs to access or searches for media resource, server is in caching number According to it is middle searching end-user request media resource and return to media resource metadata.Because server is to media resource metadata Acquisition and parsing have certain delayed, therefore the feelings of the data cached hysteresis media content quotient data of aggregate server occur Condition, causes the media resource metadata for the newest media resource metadata or caching for no media content business occur disabled Situation.In addition, a large amount of servers need to be set up by carrying out the polymerization of multimedia resource metadata using aggregate server, more data are disposed Node, is invested higher.The access profile of terminal user is limited to the index range of server, there is great dependence to server, And the stability of server determines the stability that terminal user uses.
The content of the invention
It is an object of the invention to obtain the Internet media resource metadata in real time, multimedia resource is provided for terminal user Metadata polymerization result.
To realize above-mentioned purpose, on the one hand, the invention provides a kind of processing side of the Internet media resource metadata Method, this method includes:Run Script language plug-in, is obtained and parsing interconnecting medium asset meta-data information, by the media of isomery Resource metadata is integrated into consistent data structure, and polymerize presentation to the result after integration.
Preferably, script plug-in unit includes multiple script language files, a description file and multiple resource files, leads to Cross script language files and resource file the function of script plug-in unit is described into visualization and be presented to user.
Preferably, by Run Script language plug-in, the web data of the portal website of parsing internet media resource business, Obtain corresponding media resource metadata.
Preferably, by Run Script language plug-in, obtain corresponding by the open interface of the Internet media resource business Media resource metadata.
Preferably, by Run Script language plug-in, corresponding media resource member number is obtained by third party's development interface According to.
Preferably, by script plug-in unit upgrade server obtain script plug-in unit version information, and with it is current Script plug-in version information is compared;If there is the script plug-in unit of highest version, then inserted from the script Part upgrade server is downloaded and updates the script plug-in unit of the highest version.
On the other hand, the invention provides a kind of processing system of the Internet media resource metadata, the system includes:Insert Part management module, script language interpreter and data memory module, wherein plug-in management module are used for by parsing script The description file of plug-in unit, is identified and distinguishes to script plug-in unit, obtains the description information and resource information of each plug-in unit, Set up data structure and store relevant information;Script language interpreter is used for Run Script language plug-in, passes through Run Script language Say that plug-in unit is obtained and parsing interconnecting medium asset meta-data information;Data memory module is used to realize perform script language plug-in mistake Returned data in journey, while the dissimilar medium resource metadata of return is integrated into consistent data structure.
Preferably, script language interpreter specifically for:Run Script language plug-in, parsing internet media resource business's The web data or open interface of portal website obtain corresponding media resource metadata.
Preferably, script language interpreter specifically for:Run Script language plug-in, is obtained by third party's development interface Corresponding media resource metadata.
The characteristics of present invention need not be compiled using script, realizes dynamic load and the renewal of script plug-in unit;Together When in real time obtain media resource metadata, it is to avoid there is the problem of data are delayed.
Brief description of the drawings
Fig. 1 is the processing method application scenarios schematic diagram of the Internet media resource metadata provided in an embodiment of the present invention;
Fig. 2 is the processing system structural representation of the Internet media resource metadata provided in an embodiment of the present invention;
Fig. 3 is the Internet media resource metadata process flow figure provided in an embodiment of the present invention;
Fig. 4 is the processing system workflow schematic diagram of the Internet media resource metadata.
Embodiment
Below by drawings and examples, technical scheme is described in further detail.
Fig. 1 is the processing method application scenarios schematic diagram of the Internet media resource metadata provided in an embodiment of the present invention. As shown in figure 1, the processing system of the Internet media resource data carries out initialization operation first on startup, search for currently available Plug-in unit, parsing description file, initializes the state of each plug-in unit.Above-mentioned script plug-in unit include multiple script language files, One description file and multiple resource files, are described the function of script plug-in unit visually by describing file and resource file Change is presented to user.Script plug-in unit obtains corresponding media resource metadata according to execute instruction, for example, obtaining internet The web data of the portal website of media resource business, related media asset metadata is obtained by parsing operation;Or, by mutual The open interface of networked media resource business obtains related media asset metadata;Or, obtain related by third party's interface Media resource metadata.
The processing system of the Internet media resource data supports the verification of script plug-in unit, peace loading, unloading, runs, stops Only and update;The more new file of script plug-in unit is stored on script plug-in unit upgrade server, the Internet media resource data Processing system by obtaining the plug-in version number on script plug-in unit upgrade server, be compared with local version number;If There is highest version plug-in unit, download and update highest version plug-in unit.
The description file example of script plug-in unit is as follows, is a script for obtaining Sina's video media metadata information The description file of language plug-in, content includes the id of plug-in unit, name, version, developer's information, python script file titles, The relevant informations such as plug-in unit description.Description file uses XML file format.
The partial code for obtaining the python script plug-in units of Sina's video metadata is as follows.By downloading and parsing net Page data gets media content metadata information, including:The member number such as scoring, type, director, protagonist and brief introduction of media content It is believed that breath.
Fig. 2 is the processing system structural representation of the Internet media resource metadata provided in an embodiment of the present invention.Such as Fig. 2 Shown, the system includes plug-in management module 31, script language interpreter 32 and data memory module 33.
Plug-in management module 31 is used for the file path by search configuration, by the description text for parsing script plug-in unit Part, is identified and distinguishes to script plug-in unit, obtains the description information and resource information of each plug-in unit, sets up data structure And store relevant information.
Script language interpreter 32 is used to initialize predetermined script plug-in unit, is obtained by Run Script language plug-in With parsing interconnecting medium asset meta-data information, and readjustment ability of the plug-in script language to other modules is provided.
Specifically, script plug-in unit obtains corresponding media resource metadata, can specifically there is three according to execute instruction The mode of kind:
First way, script plug-in unit obtains the web data of the portal website of the Internet media resource business, passes through Parsing obtains related media asset metadata;
The second way, script plug-in unit obtains related media asset by the open interface of the Internet media resource business Metadata;
The third mode, script plug-in unit obtains related media asset metadata by third party's development interface.
Data memory module 33 is used to realize the data that return during perform script language plug-in, while by the different of return The integration of structure media resource metadata is processed as consistent data structure, and there is provided used to other modules.
Fig. 3 is the Internet media resource metadata process flow figure provided in an embodiment of the present invention.As shown in figure 3, This method comprises the following steps:
Step 1, initialization operation is carried out when the processing system of the Internet media resource metadata starts first, search is current Plug-in unit can be used, parsing description file initializes the state of each plug-in unit;
Step 2, the processing system of the Internet media resource metadata carry out polymerization parsing media resource classification item when, Corresponding parameter is transmitted to plug-in unit according to specific classification item;Plug-in unit obtains execute instruction by analytic parameter;
Step 3, plug-in unit, from the corresponding media resource metadata of resource station for acquiring, can specifically have according to execute instruction Three kinds of modes:
(1) plug-in unit obtains the web data of the portal website of the Internet media resource business, and related media is obtained by parsing Resource metadata;
(2) plug-in unit obtains related media asset metadata by the open interface of the Internet media resource business;
(3) plug-in unit obtains related media asset metadata by third party's development interface;
Step 4, plug-in unit returns to the media resource metadata got the processing system of the Internet media resource metadata Data Integration is consistent data structure, data visualization after polymerization by system, the processing system of the Internet media resource metadata It is presented to user;
Step 5, the processing system of the Internet media resource metadata is cleared up when anterior plug-in calls shared resource, is next time Call and prepare.
Fig. 4 is the processing system workflow schematic diagram of the Internet media resource metadata.As shown in figure 4, the flow bag Include following steps:
Step 1, plug-in unit is detected when the processing system of the Internet media resource metadata starts first with the presence or absence of updating, such as In the presence of being then updated corresponding plug-in unit;
Specifically, plug-in version number is obtained by script plug-in unit upgrade server, be compared with local plug-in version number. If there is highest version plug-in unit, download and update highest version plug-in unit.
Step 2, the processing system of the Internet media resource metadata carries out initial work, starts card module and reads in Plug-in unit, while initializtion script language interpreter, initialize successfully, into etc. the stage to be called;
Step 3, when user checks project, call and the plug-in unit corresponding to list items and transmit string token as ginseng Number;
Step 4, plug-in unit obtains execute instruction by analytic parameter, obtains and parses by media resource business or third party Media resource metadata, metadata is returned to the processing system of the Internet media resource metadata;
Step 5, the processing system of the Internet media resource metadata serves data to caller, passes through suitable form Presented;
Step 6, the processing system of the Internet media resource metadata clears up this plug-in unit and performs shared resource, waits next time Call.
The characteristics of embodiment of the present invention need not be compiled using script, realizes the dynamic load and more of script plug-in unit Newly;Obtain media resource metadata in real time simultaneously, it is to avoid there is the problem of data are delayed.
It is last it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention and it is unrestricted.Although ginseng The present invention is described in detail according to embodiment, it will be understood by those within the art that, to the technical side of the present invention Case is modified or equivalent substitution, and without departure from the spirit and scope of technical solution of the present invention, it all should cover in the present invention Right among.

Claims (5)

1. a kind of processing method of the Internet media resource metadata, it is characterised in that method includes:
Run Script language plug-in, is obtained and parsing interconnecting medium asset meta-data information, by the media resource metadata of isomery Consistent data structure is integrated into, and presentation is polymerize to the result after integration;
It is described to be included by Run Script language plug-in, acquisition and parsing interconnecting medium asset meta-data information step:Run pin This language plug-in, the web data of the portal website of parsing internet media resource business obtains corresponding media resource metadata; Or
It is described to be included by Run Script language plug-in, acquisition and parsing interconnecting medium asset meta-data information step:Run pin This language plug-in, corresponding media resource metadata is obtained by the open interface of the Internet media resource business;Or
It is described to be included by Run Script language plug-in, acquisition and parsing interconnecting medium asset meta-data information step:Run pin This language plug-in, corresponding media resource metadata is obtained by third party's development interface.
2. according to the method described in claim 1, it is characterised in that the script plug-in unit includes multiple scripts text Part, a description file and multiple resource files, are inserted the script by the script language files and resource file The function of part describes visualization and is presented to user.
3. according to the method described in claim 1, it is characterised in that also include before Run Script language plug-in step:It is logical The version information that script plug-in unit upgrade server obtains script plug-in unit is crossed, and is believed with current script plug-in version Breath is compared;If there is the script plug-in unit of highest version, then downloaded simultaneously from the script plug-in unit upgrade server Update the script plug-in unit of the highest version.
4. a kind of processing system of the Internet media resource metadata, it is characterised in that the system includes:
Plug-in management module, for the description file by parsing script plug-in unit, script plug-in unit is identified and Distinguish, obtain the description information and resource information of each plug-in unit, set up data structure and store relevant information;
Script language interpreter, the script plug-in unit predetermined for initializing is obtained by Run Script language plug-in and conciliate Interconnecting medium asset meta-data information is analysed, and readjustment ability of the plug-in script language to other modules is provided;
Data memory module, for realizing returned data during perform script language plug-in, while by the dissimilar medium of return Resource metadata is integrated into consistent data structure;
The script language interpreter specifically for:
Run Script language plug-in, the web data of the portal website of parsing internet media resource business obtains corresponding media Resource metadata;Or
Run Script language plug-in, corresponding media resource metadata is obtained by the open interface of the Internet media resource business; Or
Run Script language plug-in, corresponding media resource metadata is obtained by third party's development interface.
5. system according to claim 4, it is characterised in that the system also includes:Script plug-in unit upgrade service Device, the more new file for storing script plug-in unit.
CN201410676051.6A 2014-11-21 2014-11-21 A kind of processing method and its system of the Internet media resource metadata Expired - Fee Related CN104363237B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410676051.6A CN104363237B (en) 2014-11-21 2014-11-21 A kind of processing method and its system of the Internet media resource metadata

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410676051.6A CN104363237B (en) 2014-11-21 2014-11-21 A kind of processing method and its system of the Internet media resource metadata

Publications (2)

Publication Number Publication Date
CN104363237A CN104363237A (en) 2015-02-18
CN104363237B true CN104363237B (en) 2017-09-19

Family

ID=52530463

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410676051.6A Expired - Fee Related CN104363237B (en) 2014-11-21 2014-11-21 A kind of processing method and its system of the Internet media resource metadata

Country Status (1)

Country Link
CN (1) CN104363237B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104811776B (en) * 2015-04-09 2018-02-02 小米科技有限责任公司 Multi-medium play method and device
US9692815B2 (en) * 2015-11-12 2017-06-27 Mx Technologies, Inc. Distributed, decentralized data aggregation
CN105471984A (en) * 2015-11-23 2016-04-06 深圳创维-Rgb电子有限公司 Network resource integration platform and method
CN114116044A (en) * 2021-11-02 2022-03-01 杭州网易云音乐科技有限公司 Multimedia resource processing method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6148336A (en) * 1998-03-13 2000-11-14 Deterministic Networks, Inc. Ordering of multiple plugin applications using extensible layered service provider with network traffic filtering
CN101441567A (en) * 2008-11-18 2009-05-27 宇龙计算机通信科技(深圳)有限公司 Method and system for supporting multiple-language user interface in mobile terminal
CN101699445A (en) * 2009-11-13 2010-04-28 曾玄杰 Media playing management method, device and system
CN102141922A (en) * 2010-01-29 2011-08-03 腾讯科技(深圳)有限公司 Micro kernel pluggable program application system and implementation method thereof
CN103036871A (en) * 2012-11-19 2013-04-10 北京奇虎科技有限公司 Support device and method of application plug-in of browser

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6148336A (en) * 1998-03-13 2000-11-14 Deterministic Networks, Inc. Ordering of multiple plugin applications using extensible layered service provider with network traffic filtering
CN101441567A (en) * 2008-11-18 2009-05-27 宇龙计算机通信科技(深圳)有限公司 Method and system for supporting multiple-language user interface in mobile terminal
CN101699445A (en) * 2009-11-13 2010-04-28 曾玄杰 Media playing management method, device and system
CN102141922A (en) * 2010-01-29 2011-08-03 腾讯科技(深圳)有限公司 Micro kernel pluggable program application system and implementation method thereof
CN103036871A (en) * 2012-11-19 2013-04-10 北京奇虎科技有限公司 Support device and method of application plug-in of browser

Also Published As

Publication number Publication date
CN104363237A (en) 2015-02-18

Similar Documents

Publication Publication Date Title
KR102185864B1 (en) Server-side rendering method and system of native content for presentation
US9600470B2 (en) Method and system relating to re-labelling multi-document clusters
US20150378721A1 (en) Methods for managing applications using semantic modeling and tagging and devices thereof
US20110136542A1 (en) Method and apparatus for suggesting information resources based on context and preferences
CN106575298A (en) Fast rendering of websites containing dynamic content and stale content
CN108846753B (en) Method and apparatus for processing data
CN104363237B (en) A kind of processing method and its system of the Internet media resource metadata
US11308275B2 (en) Management of content tailoring by services
CN106407361A (en) Method and device for pushing information based on artificial intelligence
US20160321268A1 (en) Entity-driven logic for improved name-searching in mixed-entity lists
US20150012533A1 (en) Method and client device for accessing webpage
WO2015000342A1 (en) Method and client device for accessing webpage
CN106227893A (en) A kind of file type acquisition methods and device
WO2013032621A1 (en) Data infrastructure for providing interconnectivity between platforms, devices, and operating systems
US8954988B1 (en) Automated assessment of terms of service in an API marketplace
CN107479868A (en) A kind of interface loading method, device and equipment
US20170344515A1 (en) Distributing content via content publishing platforms
CN104063475A (en) User-defined list processing method and device
US20140095527A1 (en) Expanding high level queries
CN106294417A (en) A kind of data reordering method, device and electronic equipment
CN106201010B (en) Method for adding word bank and device
CN110147381B (en) Information processing method, system and recording medium
CN110119483A (en) Display methods, device, terminal device and the storage medium of multimedia file
CN110489740B (en) Semantic analysis method and related product
CN104217021B (en) Reading server, terminal device and its method for showing reading content

Legal Events

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

Granted publication date: 20170919

Termination date: 20201121

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