CN103716720A - Data adaptation method and system of video data - Google Patents
Data adaptation method and system of video data Download PDFInfo
- Publication number
- CN103716720A CN103716720A CN201310740122.XA CN201310740122A CN103716720A CN 103716720 A CN103716720 A CN 103716720A CN 201310740122 A CN201310740122 A CN 201310740122A CN 103716720 A CN103716720 A CN 103716720A
- Authority
- CN
- China
- Prior art keywords
- inverted index
- file
- data
- video
- terminal
- 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.)
- Pending
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a data adaptation method and system of video data, and relates to the information retrieval technology. The method comprises that the steps that a reverse index result set of a preset video file is obtained from a reverse index file of the preset video file, adaptation processing based on various types of terminals is carried out on the reverse index result set according to the preset adaptation rule, and the video data suitable for the various types of terminals are provided. The video data suitable for the various types of terminals are provided through the data adaptation method and system.
Description
Technical field
The present invention relates to information retrieval technique, relate in particular to a kind of data adaptation method and system thereof of video data.
Background technology
Along with scientific and technological development, increasing user is by internet hunt and watch various video frequency programs.The video information providing due to the Internet is very abundant, and has continuous variation and renewal speed feature faster, has produced multiple search engine thereupon and has carried out Video Information Retrieval Techniques:.
From channel, traditional mode is that user uses computer to watch online video frequency program, and new trend is user, uses the equipment on-lines such as the mobile devices such as mobile phone or intelligent television to watch video frequency program.
But, the data, services of single type can not be only provided for above-mentioned polytype terminal equipment, need to process to meet to basic data dissimilar terminal (or its user's) demand.
In sum, in known prior art, exist data server that the problem of corresponding video data is not provided respectively for different terminal equipment type, be therefore necessary to propose improved technical scheme and address the above problem.
Summary of the invention
Main purpose of the present invention is to provide a kind of data adaptation method and system thereof of video data, to solve video data that prior art exists, for different terminal equipment type, does not provide respectively the problem of corresponding video data.
In order to address the above problem, according to an aspect of the present invention, provide a kind of data adaptation method of video data, it comprises: from the inverted index file of the video file set up in advance, obtain the inverted index result set for video file; According to default adaptation rule, described inverted index result set is carried out to the adaptation processing based on polytype terminal, the video data that is suitable for polytype terminal is provided.
Wherein, described polytype terminal comprises: TV, mobile terminal, computer; Described adaptation rule is according to the following parameter setting of polytype terminal: copyright, data traffic, platform.
Wherein, the default adaptation rule of described basis carries out the adaptation processing based on polytype terminal to described inverted index result set, comprising: the fitting relation of setting up parameter and the data in described inverted index result set of described terminal according to the type of described terminal.
Wherein, described method also comprises: the inverted index file of setting up video file; Describedly from the inverted index file of the video file set up in advance, obtain the inverted index result set for video file, specifically comprise: receive the retrieving information for video resource information; In described inverted index file, mate described retrieving information; According to the data in the described inverted index file mating with described retrieving information, obtain inverted index result set.
Wherein, set up in advance the inverted index file of video file, comprising: by default participle mode, video file information is carried out to word segmentation processing and obtain keyword; Set up described keyword and there is the index relative between the video file information of described keyword, thereby set up the inverted index file of video file.
According to a further aspect in the invention, also provide a kind of data adaption system of video data, it comprises: acquisition module, obtains the inverted index result set for video file for the inverted index file of the video file from setting up in advance; Adaptation processing module, for according to default adaptation rule, described inverted index result set being carried out to the adaptation processing based on polytype terminal, provides the video data that is suitable for polytype terminal.
Wherein, described polytype terminal comprises: TV, mobile terminal, computer; Described adaptation rule is according to the following parameter setting of polytype terminal: copyright, data traffic, platform.
Wherein, described adaptation processing module is also for setting up the fitting relation of the parameter of described terminal and the data of described inverted index result set according to the type of described terminal.
Wherein, described system also comprises: set up module, for setting up the inverted index file of video file; Described acquisition module is further used for, and receives the retrieving information for video resource information, in described inverted index file, mates described retrieving information, according to the data in the described inverted index file mating with described retrieving information, obtains inverted index result set.
Wherein, the described module of setting up comprises: keyword acquisition module, carries out word segmentation processing for the participle mode by default to video file information and obtains keyword; Inverted index is set up module, for setting up described keyword and having the index relative between the video file information of described keyword, thereby sets up the inverted index file of video file.
According to technical scheme of the present invention, by obtaining the inverted index result set of video file, obtain basic data, and basic data is carried out to the adaptation processing based on polytype terminal, thereby the video data that is suitable for polytype terminal is provided.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, forms the application's a part, and schematic description and description of the present invention is used for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of the data adaptation method of video data according to an embodiment of the invention;
Fig. 2 is the flow chart of the data adaptation method of video data according to another embodiment of the present invention;
Fig. 3 is the structured flowchart of the ordering system of video resource information according to an embodiment of the invention;
Fig. 4 is the structured flowchart of the ordering system of video resource information according to another embodiment of the present invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with drawings and the specific embodiments, the present invention is described in further detail.
According to embodiments of the invention, provide a kind of data adaptation method of video data.
Fig. 1 is that as shown in Figure 1, the method comprises according to the flow chart of the data adaptation method of the video data of the embodiment of the present invention:
Step S102 obtains the inverted index result set for video file from the inverted index file of the video file set up in advance.
The data model matching by the data source with multiple source, sets up and meets the data structure of searching for framework, thereby set up the inverted index file of video file.The externally query engine of (user) is provided, reception is for the retrieving information of video resource information, in described inverted index file, mate described retrieving information, according to the data inverted index result in the described inverted index file mating with described retrieving information, and the output packet inverted index result set that contains a plurality of video informations.
Wherein, the source channel of above-mentioned data source comprises: DB(video database), xml(extend markup language), file system etc.
Please refer to Fig. 2 below, further, step S102 can comprise the following steps:
Step S202, sets up the inverted index file of video file.
Particularly, by default participle mode, video file information is carried out to word segmentation processing and obtain keyword, set up keyword and there is the index relative between the video file information of keyword, thereby set up the inverted index file of video file.
Step S204, receives the retrieving information for video resource information.
Step S206 mates described retrieving information in described inverted index file.
Step S208, obtains inverted index result set according to the data in the described inverted index file mating with described retrieving information.
Step S104, carries out the adaptation processing based on polytype terminal according to default adaptation rule to described inverted index result set, and the video data that is suitable for polytype terminal is provided.
The inverted index result set obtaining is the basic data of consolidation form, if basic data is not carried out to adaptation processing, can not directly offer user and use.
Before execution step S104, need to set in advance adaptation rule, the video data of dissimilar terminal has different adaptation rules.In an embodiment of the present invention, described polytype terminal comprises: TV (intelligent television), mobile terminal, computer.Mobile terminal can be further subdivided into mobile phone and PAD again.
First, the data format of the video data of playing on these dissimilar terminal equipments is different, and playing video data also has other ask for something on these dissimilar terminal equipments, for example: copyright, data traffic, platform.According to the type of described terminal, set up the fitting relation of parameter and the data in described inverted index result set of described terminal, describe in detail below.
For same video data resource, for dissimilar terminal, there is respectively copyright.Specifically, video data resource can have copyright according to TV, mobile terminal (mobile phone and PAD), computer philosophy.When only, in the situation that obtain the copyright of all terminal equipments, can provide the video data of all types terminal equipment; If have the terminal equipment of a certain type not obtain copyright, the video data of the type terminal equipment can not be provided.
In addition, dissimilar terminal equipment is also different for the requirement of data traffic.Computer user generally surfs the Net by broadband connection, and data traffic is not had to strict restriction; And cellphone subscriber generally surfs the Net by modes such as 3G, more responsive to data flow-rate ratio.And dissimilar terminal equipment also has difference for the requirement of fault-tolerance, therefore, to video data, need to carry out above-mentioned adaptation processing according to terminal type, to meet the requirement of different user.
In present stage, some users' ISP(is ISP) be also different, for example, telecommunications and UNICOM.For these different ISP platforms, carry out the adaptation processing of video data, can bring different experience to user.
According to above-described embodiment, by obtaining the inverted index result set of video file, obtain basic data, and basic data is carried out to the adaptation processing based on terminal type, the video data that is suitable for polytype terminal can be provided.
According to embodiments of the invention, also provide a kind of data adaption system of video data.
Fig. 3 is according to the structured flowchart of the ordering system of the video resource information of the embodiment of the present invention, and as shown in Figure 3, described system at least comprises: acquisition module 10 and adaptation processing module 20, describe structure and the annexation of each module below in detail.
It couples adaptation processing module 20 mutually with acquisition module 10, for according to default adaptation rule, described inverted index result set being carried out to the adaptation processing based on polytype terminal, provides the video data that is suitable for polytype terminal.Particularly, adaptation processing module 20 is set up the fitting relation of parameter and the data in described inverted index result set of described terminal according to the type of described terminal.
With reference to figure 4, in one embodiment of the invention, on the basis of Fig. 3, described data adaption system also comprises: module 30 is set, and it couples mutually with adaptation processing module 20, for the adaptation rule of the video data of polytype terminal is set.
Wherein, described polytype terminal comprises: TV, mobile terminal, computer.Described adaptation rule is according to the following parameter setting of polytype terminal: copyright, data traffic, platform.It should be noted that, can adaptation rule be set according to an above-mentioned parameter in the present invention, can adaptation rule be set according to the combination of above-mentioned parameter yet, the present invention does not limit.
Continuation is with reference to figure 4, and described data adaption system also includes:
Set up module 40, it couples mutually with acquisition module 10, for setting up the inverted index file of video file.Based on this, acquisition module 10 is further used for, reception, for the retrieving information of video resource information, is mated described retrieving information in described inverted index file, according to the data in the described inverted index file mating with described retrieving information, obtains inverted index result set.
Wherein, set up module 40 and further comprise: keyword acquisition module (not shown), for the participle mode by default, video file information is carried out to word segmentation processing and obtain keyword; Inverted index is set up module (not shown), for setting up described keyword and having the index relative between the video file information of described keyword, thereby sets up the inverted index file of video file.
The operating procedure of method of the present invention is corresponding with the architectural feature of system, can cross-reference, repeat no longer one by one.
In sum, according to technical scheme of the present invention, by obtaining the inverted index result set of video file, obtain basic data, and basic data is carried out to the adaptation processing based on polytype terminal, thereby the video data that is suitable for polytype terminal is provided.
The foregoing is only embodiments of the invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in claim scope of the present invention.
Claims (10)
1. a data adaptation method for video data, is characterized in that, comprising:
From the inverted index file of the video file set up in advance, obtain the inverted index result set for video file;
According to default adaptation rule, described inverted index result set is carried out to the adaptation processing based on polytype terminal, the video data that is suitable for polytype terminal is provided.
2. method according to claim 1, is characterized in that, described polytype terminal comprises: TV, mobile terminal, computer;
Described adaptation rule is according to the following parameter setting of polytype terminal: copyright, data traffic, platform.
3. method according to claim 2, is characterized in that, the default adaptation rule of described basis carries out the adaptation processing based on polytype terminal to described inverted index result set, comprising:
According to the type of described terminal, set up the fitting relation of parameter and the data in described inverted index result set of described terminal.
4. method according to claim 1, is characterized in that, also comprises: the inverted index file of setting up video file;
Describedly from the inverted index file of the video file set up in advance, obtain the inverted index result set for video file, specifically comprise:
Reception is for the retrieving information of video resource information;
In described inverted index file, mate described retrieving information;
According to the data in the described inverted index file mating with described retrieving information, obtain inverted index result set.
5. method according to claim 4, is characterized in that, sets up in advance the inverted index file of video file, comprising:
By default participle mode, video file information is carried out to word segmentation processing and obtain keyword;
Set up described keyword and there is the index relative between the video file information of described keyword, thereby set up the inverted index file of video file.
6. a data adaption system for video data, is characterized in that, comprising:
Acquisition module, obtains the inverted index result set for video file for the inverted index file of the video file from setting up in advance;
Adaptation processing module, for according to default adaptation rule, described inverted index result set being carried out to the adaptation processing based on polytype terminal, provides the video data that is suitable for polytype terminal.
7. system according to claim 6, is characterized in that, described polytype terminal comprises: TV, mobile terminal, computer;
Described adaptation rule is according to the following parameter setting of polytype terminal: copyright, data traffic, platform.
8. system according to claim 7, is characterized in that, described adaptation processing module is also for setting up the fitting relation of the parameter of described terminal and the data of described inverted index result set according to the type of described terminal.
9. system according to claim 6, is characterized in that, also comprises:
Set up module, for setting up the inverted index file of video file;
Described acquisition module is further used for, and receives the retrieving information for video resource information, in described inverted index file, mates described retrieving information, according to the data in the described inverted index file mating with described retrieving information, obtains inverted index result set.
10. system according to claim 9, is characterized in that, the described module of setting up comprises:
Keyword acquisition module, carries out word segmentation processing for the participle mode by default to video file information and obtains keyword;
Inverted index is set up module, for setting up described keyword and having the index relative between the video file information of described keyword, thereby sets up the inverted index file of video file.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310740122.XA CN103716720A (en) | 2013-12-26 | 2013-12-26 | Data adaptation method and system of video data |
PCT/CN2014/093176 WO2015096609A1 (en) | 2013-12-26 | 2014-12-05 | Method and system for creating inverted index file of video resource |
US15/101,698 US20160306811A1 (en) | 2013-12-26 | 2014-12-05 | Method and system for creating inverted index file of video resource |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310740122.XA CN103716720A (en) | 2013-12-26 | 2013-12-26 | Data adaptation method and system of video data |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103716720A true CN103716720A (en) | 2014-04-09 |
Family
ID=50409210
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310740122.XA Pending CN103716720A (en) | 2013-12-26 | 2013-12-26 | Data adaptation method and system of video data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103716720A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015096609A1 (en) * | 2013-12-26 | 2015-07-02 | 乐视网信息技术(北京)股份有限公司 | Method and system for creating inverted index file of video resource |
CN105898393A (en) * | 2015-12-29 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | Media data play control method and system, client and server |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101669328A (en) * | 2007-02-09 | 2010-03-10 | 达丽星网络有限公司 | Method and apparatus for the adaptation of multimedia content in telecommunications networks |
CN103428525A (en) * | 2013-07-22 | 2013-12-04 | 华中科技大学 | Online inquiry and play control method and system for network videos and television programs |
-
2013
- 2013-12-26 CN CN201310740122.XA patent/CN103716720A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101669328A (en) * | 2007-02-09 | 2010-03-10 | 达丽星网络有限公司 | Method and apparatus for the adaptation of multimedia content in telecommunications networks |
CN103428525A (en) * | 2013-07-22 | 2013-12-04 | 华中科技大学 | Online inquiry and play control method and system for network videos and television programs |
Non-Patent Citations (1)
Title |
---|
郑增榕,林世平: "基于Lucene的中文倒排索引技术的研究", 《计算机技术与发展》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015096609A1 (en) * | 2013-12-26 | 2015-07-02 | 乐视网信息技术(北京)股份有限公司 | Method and system for creating inverted index file of video resource |
CN105898393A (en) * | 2015-12-29 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | Media data play control method and system, client and server |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101639841B (en) | Method and system for providing multimedia data searching and querying service | |
US20170127102A1 (en) | Method and electronic device for video recommendation | |
CN101237457B (en) | A service discovery method, system and device | |
CN103533460A (en) | Method, device, terminal and system for sharing television service | |
US11265621B2 (en) | Video push method, device and computer-readable storage medium | |
CN111031400A (en) | Barrage presenting method and system | |
CN111031389A (en) | Video processing method, electronic device and storage medium | |
CN103024491B (en) | The video broadcasting method of mobile terminal and system | |
CN105828158A (en) | Multi-window video playing-based playing quality adjusting method and device | |
CN104584505A (en) | Conveying state information for streaming media | |
CN111327921A (en) | Video data processing method and device | |
CN111970539B (en) | Data coding method based on deep learning and cloud computing service and big data platform | |
EP2344951B1 (en) | Conditional processing method and apparatus | |
CN105141998A (en) | Smart television voice remote controller control method and system based on DLNA (Digital Living Network Alliance) | |
CN103517135A (en) | Method, system and television capable of playing MP4-format video files continuously | |
CN104469445A (en) | Device for automatically setting developments of television program according to plots | |
EP3040877A1 (en) | Method and system for processing associated content | |
CN103618779A (en) | Method and system for resource sharing | |
CN103414921A (en) | Establishing method for distribution type IPTV multi-terminal video switching service | |
US9032021B2 (en) | Method for providing customized advertisement/news on scalable application service system | |
CN106209824A (en) | The cloud edit methods of data, system and the client of cloud editor | |
CN103716720A (en) | Data adaptation method and system of video data | |
US20100083336A1 (en) | Method and apparatus for providing rich media service | |
CN106375319A (en) | Audio and video transcoding scheduling method, apparatus, device and system | |
CN103714158A (en) | Vertical search method and system for video websites |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C41 | Transfer of patent application or patent right or utility model | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20151225 Address after: Room six, building 19, building 68, No. 100089 South Road, Haidian District, Beijing Applicant after: LETV CLOUD COMPUTING CO., LTD. Address before: Room six, building 19, building 68, No. 100089 South Road, Haidian District, Beijing Applicant before: LeTV Information Technology (Beijing) Co., Ltd. |
|
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140409 |
|
RJ01 | Rejection of invention patent application after publication |