CN107483979A - A kind of video dragging method and device applied to caching server - Google Patents

A kind of video dragging method and device applied to caching server Download PDF

Info

Publication number
CN107483979A
CN107483979A CN201710817117.2A CN201710817117A CN107483979A CN 107483979 A CN107483979 A CN 107483979A CN 201710817117 A CN201710817117 A CN 201710817117A CN 107483979 A CN107483979 A CN 107483979A
Authority
CN
China
Prior art keywords
video
key frame
weight
file
caching server
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
CN201710817117.2A
Other languages
Chinese (zh)
Other versions
CN107483979B (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.)
China Science And Technology Co Ltd
Original Assignee
China Science And 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 China Science And Technology Co Ltd filed Critical China Science And Technology Co Ltd
Priority to CN201710817117.2A priority Critical patent/CN107483979B/en
Publication of CN107483979A publication Critical patent/CN107483979A/en
Application granted granted Critical
Publication of CN107483979B publication Critical patent/CN107483979B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2387Stream processing in response to a playback request from an end-user, e.g. for trick-play
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/658Transmission by the client directed to the server
    • H04N21/6587Control parameters, e.g. trick play commands, viewpoint selection

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a kind of video dragging method applied to caching server, the selection method of key frame includes, and selects some video subelements from all video subelement equal intervals, and assign the first weight;The start frame of some story boards based on video file plot itself and branch scape is selected from all video subelements, and assigns the second weight that weights are higher than the first weight;The start frame of some great result and plot turnovers based on video file plot itself is selected from all video subelements, and assigns the 3rd weight that weights are higher than the second weight;Some marker frames based on client's mark video file are selected from all video subelements, and assign the 4th weight that weights are higher than the 3rd weight.Compared with the key frame picked out at equal intervals of prior art, the determination of key frame of the embodiment of the present invention is more scientific, and Objective is stronger.

Description

A kind of video dragging method and device applied to caching server
Technical field
The present invention relates to communication technical field, is more particularly to related to a kind of video dragging method applied to caching server And device.
Background technology
Modern life rhythm is more and more faster, and entertainment way is also very abundant.It is no longer unique that video is appreciated in online Entertainment way, and there is no the time of big completely to finish watching whole video.More modes are passed through using fragment The mode of dragging appreciates highlight segments therein.
Player used in video file broadcasting is all supported to pull in general video website, and pulling mode is generally divided into two Kind, a kind of is the pulling mode based on byte, and another is time-based pulling mode.Current pulling mode be all with Machine and blindness is stronger, it is necessary to which target fragment can just be found by repeatedly pulling.
The content of the invention
The present invention proposes a kind of video dragging method and device applied to caching server, for solving current drag It is all that randomness and blindness are stronger, it is necessary to repeatedly pull the problem of just finding target fragment to drag mode.
The first object of the present invention is to disclose a kind of video dragging method applied to caching server, including following step Suddenly:
Receive the dragging that video file is dragged to the specified location request that client is sent;
If caching server does not have the video file, the video file is replicated to caching server;
The video file is divided into multiple video subelements, and some video subelements are selected from all video subelements As key frame;
According to the position for pulling the request determination specified location in the video file, and determine most similar Key frame;
Using position corresponding to the key frame as the specified location pulled in asking;
The video file content of the specified location on caching server is sent to client;
The selection method of the key frame include from all video subelement equal intervals select some video subelements and Unequal interval selects some video subelements from all video subelements.
Preferably, the selection method of key frame is selected from all video subelements, including:
Some video subelements are selected from all video subelement equal intervals, and assign the first weight;
Some story boards based on video file plot itself and branch are selected from all video subelements The start frame of scape, and assign the second weight that weights are higher than the first weight;
Some great results and feelings based on plot of the video file itself are selected from all video subelements The start frame of turnover is saved, and assigns the 3rd weight that weights are higher than the second weight;
Some marker frames based on client's mark video file are selected from all video subelements, and assign weights Higher than the 4th weight of the 3rd weight;
The video subelement and its weight information picked out, it is stored in key frame letter one-to-one with the video file Cease in meta file.
Preferably, it is described determine most similar key frame method be, it is described determine most similar key frame method be, In the case of equal at the interval pulled between the specified location asked and key frame, the high pass of preferential specified weights Key frame is the specified location.
Preferably, the story board, branch scape, great result and plot turnover start frame automatically determined according to drama or It is artificial to determine.
Preferably, the marker frame is that same client to the video file, within a specified time specify by final dragging Position.
Preferably, the key frame information meta file, including key frame information index part and key frame video section.
Preferably, the key frame information meta file real-time update, in the key frame information meta file, the key frame Information index and key frame video are reversed by weight size.
A further object of the present invention is to disclose a kind of video dragging device applied to caching server, including,
Client pulls request reception unit, receives the dragging that video file is dragged to specified location that client is sent Request;
Key frame module of selection, by the selection method of the key frame, key frame is selected from all video subelements;
Specified location screening unit, according to the position for pulling the request determination specified location in the video file Put, and determine most similar key frame;
Specified location determining unit, using position corresponding to the key frame as the specified location pulled in asking;
Video file content transmitting element, the video file content of the specified location on caching server is sent to Client.
Preferably, in addition to, key frame information meta file memory cell, key frame information meta file is stored.
Preferably, the key frame information meta file memory cell is key frame server.
Brief description of the drawings
Fig. 1 is the key frame schematic diagram selected in the video dragging method applied to caching server of prior art;
Fig. 2 is the selection method flow chart of the key frame of the embodiment of the present invention;
Fig. 3 is the key frame schematic diagram selected of the embodiment of the present invention;
Fig. 4 is the flow chart of the video dragging method applied to caching server of the embodiment of the present invention;
Fig. 5 is the most similar key frame of determination of the video dragging method applied to caching server of the embodiment of the present invention Method flow chart;
Fig. 6 is the structural representation of the video dragging device applied to caching server of the embodiment of the present invention;
Fig. 7 is the video dragging device applied to caching server containing key frame server of the embodiment of the present invention System construction drawing;
Embodiment
To describe technology contents, construction feature, institute's reached purpose and effect of the present invention in detail, embodiment is hereby enumerated below It is explained in detail.
The embodiment of the invention discloses a kind of video dragging method applied to caching server, as shown in Fig. 2 key frame Selection method include,
S11, some video subelements are selected from all video subelement equal intervals, and assign the first weight;
S21, selected from all video subelements some story boards based on video file plot itself and The start frame of branch scape, and assign the second weight that weights are higher than the first weight;
S31, some great results based on plot of the video file itself are selected from all video subelements The start frame transferred with plot, and assign the 3rd weight that weights are higher than the second weight;
S41, some marker frames based on client's mark video file are selected from all video subelements, and assigned Weights are higher than the 4th weight of the 3rd weight.
The weighted that the embodiment of the present invention is picked out shows to select key frame in the weight of mathematically general significance Priority parameter index.
The key frame that the embodiment of the present invention is picked out, as shown in figure 3, key frame includes the sub from all videos of the first weight Video subelement F1, F3, F7 that unit equal intervals are selected, in addition to the second weight from all video subelements between non-grade Every video subelement F2, the F6 selected.Also include the video that unequal interval is selected from all video subelements of the 3rd weight Subelement F4.The video subelement F5 that also unequal interval from all video subelements including the 4th weight is selected.Video Unit F 5 is endowed the first weight in the first weight assignment selected at equal intervals, and this video subelement F5 chooses in unequal interval The 4th weight is endowed again during four weight assignment of choosing.
The interval of the embodiment of the present invention, can be time-based interval or the interval based on byte.
The embodiment of the present invention, it is determined that the method for most similar key frame, as shown in figure 5, including,
If the interval pulled between the request determination specified location and the 4th closest weight key frame is less than Equal to the interval between the 3rd weight key frame, then the pass using the 4th closest weight key frame as the specified location Key frame;Pull the interval that request determines between the specified location and the 4th closest weight key frame if described and be more than and the Interval between three weight key frames, then continue to judge the 3rd weight key frame, even described pull asks to determine described specify Interval between position and the 3rd closest weight key frame is less than or equal to interval between the second weight key frame, then Key frame of the 3rd closest weight key frame as the specified location;If described pull the request determination specified location Interval between the 3rd closest weight key frame is more than interval between the second weight key frame, then continues judgement the Two weight key frames, if the interval pulled between the request determination specified location and the second closest weight key frame Less than or equal to the interval between the first weight key frame, then using the second closest weight key frame as the specified location Key frame;If the interval pulled between the request determination specified location and the second closest weight key frame is more than With the interval between the first weight key frame, the then key using the first closest weight key frame as the specified location Frame.
Compared with the key frame picked out at equal intervals of Fig. 1 prior arts, the determination more section of key frame of the embodiment of the present invention Learn, Objective is stronger.
Preferably, the story board, branch scape, great result and plot turnover start frame automatically determined according to drama or It is artificial to determine.The determination of second weight and the 3rd weight key frame, can be according to the independent camera lens in the script of director, field Scape and the relevant information of great result and plot turnover, by machine come automatic identification formatted file, such as No. 1 camera lens, the No. 2 camera lenses ..., the 1st scene, the 1st scene ..., automatically generate key frame.If lack associated script data, Ke Yitong Cross and play the mode that video artefacts determine and determine key frame.
Preferably, the determination of the 4th weight key frame is marker frame, is that same client is being specified to the video file Final dragging specified location in time.Such as the position that customer end A pulled for the last time within five minutes after repeatedly pulling Put, be objective result position.Specified time can determine with the personal operating frequency of statistical analysis to optimize, and the time is too short to make Into redundancy key frames, the time is oversize, and objective result twice can be caused there was only one, cause the key frame of loss marker.It is different Customer end A and B operation due to target difference that may be present, therefore without same processing.Whether identical client is Judgement can be based on IP address.
The embodiment of the invention discloses a kind of video dragging method applied to caching server, as shown in figure 4, including,
S101, receive the dragging that video file is dragged to the specified location request that client is sent;
S102, if caching server does not have the video file, the video file is replicated to slow from video server Deposit server;
S201, by the selection method of the key frame, key frame is selected from all video subelements;
S301, according to the position for pulling the request determination specified location in the video file, and determine most Similar key frame;
S401, using position corresponding to the key frame as the specified location pulled in asking;
S501, the video file content of the specified location on caching server is sent to client.
By the dragging method of the present embodiment, the specified location formulation for the dragging request that buffer service can be to client Specified location optimizes, it is easier to hit, reduces randomness and blindness.
Preferably, generation and the one-to-one key frame information meta file of the video file, the key frame information Store in the key frame message file.The key frame information meta file, including key frame information index part and key frame Video section.The key frame information meta file real-time update, in the key frame information meta file, the key frame information rope Draw and reversed with key frame video by weight size.Meta file can be .xml forms .Afa forms or other forms.First text Part key frame information index part real-time update, is reversed, it is possible to reduce search time by weight size, it is not necessary to is run through whole Meta file.
The embodiment of the invention also discloses a kind of video dragging device applied to caching server, as shown in fig. 6, bag Include,
Receiving unit 101, receive the dragging that video file is dragged to the specified location request that client is sent;
Module of selection 201, by the selection method of the key frame, key frame is selected from all video subelements;
Screening unit 301, according to the position for pulling the request determination specified location in the video file, and It is determined that most similar key frame;
Determining unit 401, using position corresponding to the key frame as the specified location pulled in asking;
Transmitting element 501, the video file content of the specified location on caching server is sent to client.
Preferably, in addition to, meta file memory cell 601, key frame information meta file is stored.
As shown in fig. 7, meta file memory cell 601 is key frame server.
The embodiment of the present invention, key frame server can be as the data base calls of caching server.
As another preferred embodiment, key frame server, transmission connection can also be directly established with client.
In summary, only the preferred embodiments of the invention, does not limit protection scope of the present invention with this, all according to the present invention The equivalent changes and modifications that the scope of the claims and description are made, it is all within the scope of patent of the present invention covers.

Claims (10)

1. a kind of video dragging method applied to caching server, it is characterised in that comprise the following steps:
The dragging for pulling current play position to the specified location of video file that client is sent is received to ask;
If caching server does not have the video file, the video file is replicated to caching server from video server;
Key frame is selected from all video subelements of the video file, key frame includes some videos selected at equal intervals Some video subelements that subelement and unequal interval are selected;
According to the position for pulling the request determination specified location in the video file, and determine most similar key Frame;
Using position corresponding to the key frame as the specified location pulled in asking;
The video file content of the specified location on caching server is sent to client.
2. it is applied to the video dragging method of caching server as claimed in claim 1, it is characterised in that
The selection method of key frame is selected from all video subelements, including:
Some video subelements are selected from all video subelement equal intervals, and assign the first weight;
Some story boards based on video file plot itself and branch scape are selected from all video subelements Start frame, and assign the second weight that weights are higher than the first weight;
Some great results and plot turn based on plot of the video file itself are selected from all video subelements The start frame of folding, and assign the 3rd weight that weights are higher than the second weight;
Some marker frames based on client's mark video file are selected from all video subelements, and assigns weights and is higher than 4th weight of the 3rd weight;
The video subelement and its weight information picked out, it is stored in key frame information member one-to-one with the video file In file.
3. it is applied to the video dragging method of caching server as claimed in claim 1, it is characterised in that the determination most phase The method of near key frame is the equal situation in the interval between the specified location for pulling request and key frame Under, the high key frame of preferential specified weights is the specified location.
4. it is applied to the video dragging method of caching server as claimed in claim 2, it is characterised in that the story board, The start frame of branch scape, great result and plot turnover is automatically determined according to drama or manually determined.
5. it is applied to the video dragging method of caching server as claimed in claim 2, it is characterised in that the marker frame is Same client is to the video file within a specified time final dragging specified location.
6. it is applied to the video dragging method of caching server as claimed in claim 2, it is characterised in that the key frame letter Cease meta file, including key frame information index part and key frame video section.
7. it is applied to the video dragging method of caching server as claimed in claim 6, it is characterised in that the key frame letter Meta file real-time update is ceased, in the key frame information meta file, the key frame information index and key frame video press weight Size reverses.
A kind of 8. video dragging device applied to caching server, it is characterised in that including,
Client pulls request reception unit, receives the dragging that video file is dragged to specified location that client is sent and asks Ask;
Key frame module of selection, by the selection method of the key frame, key frame is selected from all video subelements;
Specified location screening unit, ask to determine position of the specified location in the video file according to described pull, And determine most similar key frame;
Specified location determining unit, using position corresponding to the key frame as the specified location pulled in asking;
Video file content transmitting element, the video file content of the specified location on caching server is sent to client End.
9. it is applied to the video dragging device of caching server as claimed in claim 8, it is characterised in that also include, it is crucial Frame information meta file memory cell, store key frame information meta file.
10. it is applied to the video dragging device of caching server as claimed in claim 9, it is characterised in that the key frame Information word file storage unit is key frame server.
CN201710817117.2A 2017-09-12 2017-09-12 A kind of video dragging method and device applied to cache server Active CN107483979B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710817117.2A CN107483979B (en) 2017-09-12 2017-09-12 A kind of video dragging method and device applied to cache server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710817117.2A CN107483979B (en) 2017-09-12 2017-09-12 A kind of video dragging method and device applied to cache server

Publications (2)

Publication Number Publication Date
CN107483979A true CN107483979A (en) 2017-12-15
CN107483979B CN107483979B (en) 2019-12-03

Family

ID=60584880

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710817117.2A Active CN107483979B (en) 2017-09-12 2017-09-12 A kind of video dragging method and device applied to cache server

Country Status (1)

Country Link
CN (1) CN107483979B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020126203A1 (en) * 2001-03-09 2002-09-12 Lg Electronics, Inc. Method for generating synthetic key frame based upon video text
US20020178232A1 (en) * 1997-12-10 2002-11-28 Xavier Ferguson Method of background downloading of information from a computer network
CN101287107A (en) * 2008-05-29 2008-10-15 腾讯科技(深圳)有限公司 Demand method, system and device of media file
CN101588473A (en) * 2009-06-18 2009-11-25 北京浪弯融科科技有限责任公司 Multimedia time shifting broadcasting method and system
CN102006500A (en) * 2010-10-29 2011-04-06 蓝汛网络科技(北京)有限公司 Video dragging method and device applied to cache server
CN102611945A (en) * 2011-12-19 2012-07-25 北京蓝汛通信技术有限责任公司 Streaming media slicing method, slicing server and streaming media demand system
CN103024561A (en) * 2011-09-28 2013-04-03 深圳市快播科技有限公司 Method and device for displaying dragging progress bar
WO2013075342A1 (en) * 2011-11-26 2013-05-30 华为技术有限公司 Video processing method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020178232A1 (en) * 1997-12-10 2002-11-28 Xavier Ferguson Method of background downloading of information from a computer network
US20020126203A1 (en) * 2001-03-09 2002-09-12 Lg Electronics, Inc. Method for generating synthetic key frame based upon video text
CN101287107A (en) * 2008-05-29 2008-10-15 腾讯科技(深圳)有限公司 Demand method, system and device of media file
CN101588473A (en) * 2009-06-18 2009-11-25 北京浪弯融科科技有限责任公司 Multimedia time shifting broadcasting method and system
CN102006500A (en) * 2010-10-29 2011-04-06 蓝汛网络科技(北京)有限公司 Video dragging method and device applied to cache server
CN103024561A (en) * 2011-09-28 2013-04-03 深圳市快播科技有限公司 Method and device for displaying dragging progress bar
WO2013075342A1 (en) * 2011-11-26 2013-05-30 华为技术有限公司 Video processing method and device
CN102611945A (en) * 2011-12-19 2012-07-25 北京蓝汛通信技术有限责任公司 Streaming media slicing method, slicing server and streaming media demand system

Also Published As

Publication number Publication date
CN107483979B (en) 2019-12-03

Similar Documents

Publication Publication Date Title
CN105308673B (en) For managing the method for the output in HDMI sources, system and medium
CN101529467B (en) Method, apparatus and system for generating regions of interest in video content
US11146859B2 (en) Method and apparatus for executing content
CN111770355B (en) Media server determination method, device, server and storage medium
CN107835444A (en) Information interacting method, device, voice frequency terminal and computer-readable recording medium
JP4389964B2 (en) Information processing apparatus, information processing method, and program
EP2499825B1 (en) Mosaic application for generating output utilizing content from multiple television receivers
US20190325019A1 (en) Method and apparatus for identifying type of text information, storage medium, and electronic apparatus
US20110158557A1 (en) Image server and image transmission method thereof
CN110517692A (en) Hot word audio recognition method and device
CN107085611A (en) A kind of reality-virtualizing game video sharing method
CN107484016A (en) Video dubs switching method, television set and computer-readable recording medium
CN108574877A (en) Live broadcasting method, Zhu Boduan, viewer end, equipment, system and storage medium
CN108228477B (en) Method and system for acquiring operation data based on storage capacity
CN114402383A (en) Electronic device and method for controlling voice recognition thereof
CN107483979A (en) A kind of video dragging method and device applied to caching server
JP2012005041A (en) Terminal apparatus, and server
US11895367B2 (en) Systems and methods for resolving recording conflicts
CN104184737B (en) A kind of video capture device recommends method and apparatus
CN108174245B (en) Method and system for presenting dynamic content based on video data
CN112243136A (en) Content playing method, video storage method and equipment
CN106165436A (en) Use optical character recognition that Set Top Box is carried out double-direction control
CN109064223A (en) A kind of virtual present presentation method, device, server and storage medium
CN104281675A (en) Method and equipment for acquiring media files
CN108259815B (en) Video key frame forwarding method and device and video live broadcast system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant