CN106227868A - The classifying method of video file and device - Google Patents

The classifying method of video file and device Download PDF

Info

Publication number
CN106227868A
CN106227868A CN201610614800.1A CN201610614800A CN106227868A CN 106227868 A CN106227868 A CN 106227868A CN 201610614800 A CN201610614800 A CN 201610614800A CN 106227868 A CN106227868 A CN 106227868A
Authority
CN
China
Prior art keywords
video file
categorizing
key content
key
key frame
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
Application number
CN201610614800.1A
Other languages
Chinese (zh)
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201610614800.1A priority Critical patent/CN106227868A/en
Publication of CN106227868A publication Critical patent/CN106227868A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/13File access structures, e.g. distributed indices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses the categorization arrangement of a kind of video file, the categorization arrangement of video file includes: acquisition module, is used for obtaining reference video file and treating categorizing video file;Extraction module, for extracting the first key content of key frame in reference video file and treating the second key content of key frame in categorizing video file;Matching module, for obtain with first key content mate the second key content corresponding treat categorizing video;Using corresponding for the second key content of coupling, processing module, for treating that categorizing video is as the video file similar with reference video file.The present invention also proposes the classifying method of a kind of video file.The present invention realizes the classification of video file, carries out unloading with the similar video file obtaining classification or deletes batch runs, improves efficiency when video file carries out similar batch processing.

Description

The classifying method of video file and device
Technical field
The present invention relates to field of intelligent control technology, particularly relate to classifying method and the device of a kind of video file.
Background technology
In modern society, the commonly used mobile terminal of user carries out shooting and the storage of video file, due to terminal Limited storage space, for ensureing normal photographing and the storage of video file, user it is frequently necessary to carry out the video file of storage As delete and forwarding etc. processes.
For improving the treatment effeciency of video file, user generally requires and video file is carried out batch processing, at batch Often entirely selected video file by user during reason, put in order point successively according to video file each in file display interface Choosing or frame choosing realize the selection of batch video file, but user generally requires and similar video file is carried out batch processing such as deposits Store up at identical file, then need user to carry out the class of each video file of artificial cognition on the basis of above-mentioned batch selects The different types of video file that type is chosen with cancellation, efficiency when causing carrying out video file similar batch processing is low.
Summary of the invention
Present invention is primarily targeted at classifying method and the device proposing a kind of video file, it is intended to solve video literary composition Part carries out inefficient technical problem during similar batch processing.
For achieving the above object, the present invention provides the categorization arrangement of a kind of video file, the classification dress of described video file Put and include:
Acquisition module, is used for obtaining reference video file and treating categorizing video file;
Extraction module, for extract key frame in described reference video file the first key content and described in wait to sort out Second key content of key frame in video file;
Matching module, for obtain with described first key content mate described second key content corresponding described in treat Categorizing video;
Processing module, for using coupling described second key content corresponding described in treat categorizing video as with described ginseng Examine the video file that video file is similar.
Alternatively, described extraction module includes:
Object extracting unit, for extracting the first couple of preset kind in each key frame in described reference video file As, and obtain the number of times that each described first object occurs in key frame each described, and extract successively described in each and treat Categorizing video file, described in extracting until categorizing video file time, obtains treat in categorizing video file described in extracting each Second object of preset kind in individual key frame, and obtain each described second object extract described in treating categorizing video file Described key frame in occur number of times;
Key content signal generating unit, for extracting described first object of predetermined number according to described occurrence number, and will Described first object extracted is as described first key content, and wherein, described first object of extraction is in key each described Occurrence number in frame is more than undrawn described first object in each described key frame;And according to described occurrence number Extract described second object of predetermined number, and using described second object of extraction as described second key content, wherein, carry Described second object taken occurrence number in key frame each described is more than the institute treating categorizing video file described in extraction State undrawn described second object in key frame.
Alternatively, described matching module is additionally operable to:
Obtain second key content identical with described first key content corresponding treat categorizing video;
Or, calculate the matching degree of described second key content and described first key content, obtain matching degree more than pre- If what the second key content of threshold value was corresponding treats categorizing video.
Alternatively, described acquisition module includes:
Output unit, for exporting the information selecting reference video file, to point out user to select reference video literary composition Part, wherein, when receiving video file categorizing instructions, described acquisition module obtain in video file reference video file and Treat categorizing video file;
Processing unit, for when detecting that video file chooses operation, using the video file chosen as reference video File;And using the video file of the described video file categorizing instructions of triggering as treating categorizing video file, or, ought be above Video file in part display interface is as treating categorizing video file.
Alternatively, the categorization arrangement of described video file also includes:
Choose module, for choosing the video file similar with described reference video file.
Additionally, for achieving the above object, the present invention also proposes the classifying method of a kind of video file, described video file Classifying method includes:
Obtain reference video file and treat categorizing video file;
Extract key frame in described reference video file the first key content and described in treat in categorizing video file close Second key content of key frame;
Categorizing video is treated described in acquisition is corresponding with described second key content of described first key content coupling, and will Treat that categorizing video is as similar with described reference video file video literary composition described in described second key content of coupling is corresponding Part.
Alternatively, in described extraction described reference video file key frame the first key content and described in treat that classification regards In frequency file, the step of the second key content of key frame includes:
Extract the first object of preset kind in each key frame in described reference video file, and obtain described in each The number of times that first object occurs in key frame each described;
According to described occurrence number extract predetermined number described first object, and using extract described first object as Described first key content, wherein, described first object of extraction occurrence number in key frame each described is more than each Undrawn described first object in described key frame;
Extract successively and described in each, treat categorizing video file, described in extracting until categorizing video file time, obtain and extract Described in treat the second object of preset kind in each key frame in categorizing video file, and obtain each described second object The number of times occurred in treating the described key frame of categorizing video file described in extracting;
According to described occurrence number extract predetermined number described second object, and using extract described second object as Described second key content, wherein, described second object of extraction occurrence number in key frame each described is more than extracting Described in treat undrawn described second object in the described key frame of categorizing video file.
Alternatively, described acquisition with described first key content coupling described second key content corresponding described in wait to return The step of class video includes:
Obtain second key content identical with described first key content corresponding treat categorizing video;
Or, calculate the matching degree of described second key content and described first key content, obtain matching degree more than pre- If what the second key content of threshold value was corresponding treats categorizing video.
Alternatively, described acquisition reference video file and treat that the step of categorizing video file includes:
Output selects the information of reference video file, to point out user to select reference video file, wherein, is receiving During to video file categorizing instructions, perform reference video file in described acquisition video file and treat the step of categorizing video file Suddenly;
When detecting that video file chooses operation, using the video file chosen as reference video file;
Using the video file of the described video file categorizing instructions of triggering as treating categorizing video file, or, ought be above Video file in part display interface is as treating categorizing video file.
Alternatively, described using coupling described second key content corresponding described in treat categorizing video as with described reference After the step of the video file that video file is similar, the classifying method of described video file also includes:
Choose the video file similar with described reference video file.
The classifying method of video file that the present invention proposes and device, extract in the key frame in reference video file first Key content and the second key content in treating the key frame of categorizing video file, in the second key content and first are crucial When holding coupling, it is believed that the second key content correspondence of this coupling treats that categorizing video file is similar with reference video file, then may be used Corresponding with described second key content of the first key content coupling is treated that categorizing video is as similar with reference video file Video file, it is achieved the classification of video file, to carry out unloading or to delete batch sorting out the similar video file that obtains Process operation, improve efficiency when video file is carried out similar batch processing.
Accompanying drawing explanation
Fig. 1 is the hardware architecture diagram realizing each one optional mobile terminal of embodiment of the present invention;
Fig. 2 is the electrical structure block diagram of camera in Fig. 1;
Fig. 3 is the high-level schematic functional block diagram of the categorization arrangement first embodiment of video file of the present invention;
Fig. 4 is the refinement high-level schematic functional block diagram of extraction module in Fig. 3 of the present invention;
Fig. 5 is the high-level schematic functional block diagram of categorization arrangement the 4th embodiment of video file of the present invention;
Fig. 6 is the schematic flow sheet of the classifying method first embodiment of video file of the present invention;
Fig. 7 be video file of the present invention classifying method in extract the first key content and the second key content refinement flow process Schematic diagram;
Fig. 8 is the schematic flow sheet of classifying method the 4th embodiment of video file of the present invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further referring to the drawings.
Detailed description of the invention
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The mobile terminal realizing each embodiment of the present invention is described referring now to accompanying drawing.In follow-up description, use For representing the suffix explanation only for the beneficially present invention of such as " module ", " parts " or " unit " of element, itself Not specific meaning.Therefore, " module " can mixedly use with " parts ".
Mobile terminal can be implemented in a variety of manners.Such as, the terminal described in the present invention can include such as moving Phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP The mobile terminal of (portable media player), guider etc. and consolidating of such as numeral TV, desk computer etc. Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that, mobile except being used in particular for Outside the element of purpose, structure according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is the hardware configuration signal realizing each optional mobile terminal of embodiment one of the present invention.
Mobile terminal 100 can include wireless communication unit 110, A/V (audio/video) input block 120, user's input Unit 130, output unit 150, memorizer 160, interface unit 170, controller 180 and power subsystem 190 etc..Fig. 1 illustrates There is the mobile terminal of various assembly, it should be understood that be not required for implementing all assemblies illustrated.Can be alternatively Implement more or less of assembly.Will be discussed in more detail below the element of mobile terminal.
Wireless communication unit 110 generally includes one or more assembly, and it allows mobile terminal 100 and radio communication device Or the radio communication between network.Such as, wireless communication unit can include broadcast reception module 111 and mobile communication module At least one in 112.
Broadcast reception module 111 receives broadcast singal and/or broadcast via broadcast channel from external broadcasting management server Relevant information.Broadcast channel can include satellite channel and/or terrestrial channel.Broadcast management server can be to generate and send Broadcast singal and/or the server of broadcast related information or the broadcast singal generated before receiving and/or broadcast related information And send it to the server of terminal.Broadcast singal can include that TV broadcast singal, radio signals, data are broadcasted Signal etc..And, broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast phase Pass information can also provide via mobile communications network, and in this case, broadcast related information can be by mobile communication mould Block 112 receives.Broadcast singal can exist in a variety of manners, and such as, it can be with the electronics of DMB (DMB) Program guide (EPG), the form of electronic service guidebooks (ESG) etc. of digital video broadcast-handheld (DVB-H) and exist.Broadcast Receiver module 111 can be broadcasted by using various types of broadcasters to receive signal.Especially, broadcast reception module 111 Can be by using such as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), digital video wide Broadcast-hand-held (DVB-H), forward link media (MediaFLO@) data broadcaster, received terrestrial digital broadcasting integrated service Etc. (ISDB-T) digital broadcast apparatus receives digital broadcasting.Broadcast reception module 111 may be constructed such that and is adapted to provide for extensively Broadcast the various broadcasters of signal and above-mentioned digital broadcast apparatus.Via broadcast reception module 111 receive broadcast singal and/ Or broadcast related information can be stored in memorizer 160 (or other type of storage medium).
Mobile communication module 112 sends radio signals to base station (such as, access point, node B etc.), exterior terminal And in server at least one and/or receive from it radio signal.Such radio signal can include that voice leads to Words signal, video calling signal or the various types of data sending according to text and/or Multimedia Message and/or receiving.
A/V input block 120 is used for receiving audio or video signal.A/V input block 120 can include camera 121 He Mike 122, the camera 121 static images to being obtained by image capture apparatus in Video Capture pattern or image capture mode Or the view data of video processes.Picture frame after process may be displayed on display unit 151.Process through camera 121 After picture frame can be stored in memorizer 160 (or other storage medium) or via wireless communication unit 110 carry out send out Send, two or more cameras 121 can be provided according to the structure of mobile terminal.Mike 122 can be in telephone calling model, note Record pattern, speech recognition mode etc. operational mode receives sound (voice data) via mike, and can be by so Acoustic processing be voice data.Audio frequency (voice) data after process can be converted in the case of telephone calling model can The form output of mobile communication base station it is sent to via mobile communication module 112.Mike 122 can implement various types of making an uproar Sound eliminates (or suppression) algorithm and with the noise of elimination (or suppression) generation during receiving and send audio signal or does Disturb.
User input unit 130 can generate key input data to control each of mobile terminal according to the order of user's input Plant operation.User input unit 130 allows user to input various types of information, and can include keyboard, metal dome, touch Plate (such as, detection due to touched and cause resistance, pressure, the sensitive component of change of electric capacity etc.), roller, rocking bar etc. Deng.Especially, when touch pad is superimposed upon on display unit 151 as a layer, touch screen can be formed.
Interface unit 170 is used as at least one external device (ED) and is connected, with mobile terminal 100, the interface that can pass through.Such as, External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing Line FPDP, memory card port, for connect have the port of device of identification module, audio frequency input/output (I/O) end Mouth, video i/o port, ear port etc..Identification module can be that storage is for verifying that user uses each of mobile terminal 100 Kind of information and subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) can be included Etc..It addition, the device (hereinafter referred to as " identification device ") with identification module can be to take the form of smart card, therefore, know Other device can be connected with mobile terminal 100 via port or other attachment means.Interface unit 170 may be used for receive from The input (such as, data message, electric power etc.) of external device (ED) and the input received is transferred in mobile terminal 100 One or more elements or may be used between mobile terminal and external device (ED) transmit data.
It addition, when mobile terminal 100 is connected with external base, interface unit 170 can serve as allowing electricity by it Power provides the path of mobile terminal 100 from base or can serve as allowing from the various command signals of base input by it It is transferred to the path of mobile terminal.May serve as identifying that mobile terminal is from various command signals or the electric power of base input The no signal being accurately fitted within base.Output unit 150 is configured to provide defeated with vision, audio frequency and/or tactile manner Go out signal (such as, audio signal, video signal, alarm signal, vibration signal etc.).Output unit 150 can include display Unit 151 and dio Output Modules 152 etc..
Display unit 151 may be displayed on the information processed in mobile terminal 100.Such as, it is in electricity when mobile terminal 100 During words call mode, display unit 151 can show and call or other (such as, text messaging, multimedia file that communicate Download etc.) relevant user interface (UI) or graphic user interface (GUI), or when checking file, display unit 151 can Display comprises the file display interface of multiple file identification.When mobile terminal 100 is in video calling pattern or image capturing During pattern, display unit 151 can show image and/or the image of reception of capture, illustrate video or image and relevant merit UI or GUI of energy etc..
Meanwhile, when display unit 151 and touch pad the most superposed on one another with formed touch screen time, display unit 151 can serve as input equipment and output device.Display unit 151 can include liquid crystal display (LCD), thin film transistor (TFT) In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least A kind of.Some in these display may be constructed such that transparence is watched from outside with permission user, and this is properly termed as transparent Display, typical transparent display can for example, TOLED (transparent organic light emitting diode) display etc..According to specific The embodiment wanted, mobile terminal 100 can include two or more display units (or other display device), such as, move Dynamic terminal can include outernal display unit (not shown) and inner display unit (not shown).Touch screen can be used for detection and touches Input pressure and touch input position and touch input area.
Dio Output Modules 152 can mobile terminal be in call signal receive pattern, call mode, logging mode, Time under the isotype such as speech recognition mode, broadcast reception mode, that wireless communication unit 110 is received or at memorizer 160 The voice data transducing audio signal of middle storage and be output as sound.And, dio Output Modules 152 can provide with mobile The audio frequency output (such as, call signal receives sound, message sink sound etc.) that the specific function that terminal 100 performs is relevant. Dio Output Modules 152 can include pick up, buzzer etc..
Memorizer 160 can store the process performed by controller 180 and the software program controlling operation etc., or can Temporarily to store the data (such as, telephone directory, message, still image, video etc.) that oneself maybe will export through output.And And, memorizer 160 can with storage about when touch be applied to touch screen time the vibration of various modes of output and audio signal Data.
Memorizer 160 can include the storage medium of at least one type, and storage medium includes flash memory, hard disk, multimedia Card, card-type memorizer (such as, SD or DX memorizer etc.), random access storage device (RAM), static random-access memory (SRAM), read only memory (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..And, mobile terminal 100 can be connected execution memorizer with by network The network storage device cooperation of the storage function of 160.
Controller 180 generally controls the overall operation of mobile terminal.Such as, controller 180 performs and voice call, data Control that communication, video calling etc. are relevant and process.It addition, controller 180 can include for reproducing (or playback) many matchmakers The multi-media module 181 of volume data, multi-media module 181 can construct in controller 180, or it is so structured that with control Device 180 separates.Controller 180 can perform pattern recognition process, with the handwriting input that will perform on the touchscreen or picture Draw input and be identified as character or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides operation each unit Suitable electric power needed for part and assembly.
Various embodiment described herein can be to use such as computer software, hardware or its any combination of calculating Machine computer-readable recording medium is implemented.Implementing for hardware, embodiment described herein can be by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can Program gate array (FPGA), processor, controller, microcontroller, microprocessor, be designed to perform function described herein At least one in electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 180. Software is implemented, the embodiment of such as process or function can with allow to perform the single of at least one function or operation Software module is implemented.Software code value can be come by the software application (or program) write with any suitable programming language Implementing, software code value can be stored in memorizer 160 and be performed by controller 180.
So far, oneself is through describing mobile terminal according to its function.Below, for the sake of brevity, will describe such as folded form, Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc. is as showing Example.Therefore, the present invention can be applied to any kind of mobile terminal, and is not limited to slide type mobile terminal.
With reference to the electrical structure block diagram that Fig. 2, Fig. 2 are camera in Fig. 1.
Photographic lens 1211 is made up of, for single-focus lens or varifocal mirror the multiple optical lens being used for being formed shot object image Head.Photographic lens 1211 can move under the control of lens driver 1221 in the direction of the optical axis, lens driver 1221 According to the control signal from lens driving control circuit 1222, control the focal position of photographic lens 1211, at zoom lens In the case of, it is possible to control focal length.Lens driving control circuit 1222 is according to the control command from microcomputer 1217 The driving carrying out lens driver 1221 controls.
It is configured with near the position of the shot object image formed on the optical axis of photographic lens 1211, by photographic lens 1211 and takes the photograph Element 1212.Imaging apparatus 1212 is for imaging shot object image and obtaining image data.On imaging apparatus 1212 Two dimension and be arranged in a matrix the photodiode constituting each pixel.Each photodiode produces the photoelectricity corresponding with light income Switching current, this opto-electronic conversion electric current is carried out charge accumulation by the capacitor being connected with each photodiode.The front table of each pixel Face is configured with the RGB color filter of Bayer arrangement.
Imaging apparatus 1212 is connected with imaging circuit 1213, and this imaging circuit 1213 carries out electric charge in imaging apparatus 1212 Accumulate control and picture signal reads and controls, carry out after picture signal (analog picture signal) the reduction replacement noise of this reading Waveform shaping, and then carry out gain raising etc. to become suitable signal level.Imaging circuit 1213 is with A/D converter 1214 even Connecing, this A/D converter 1214 carries out analog digital conversion to analog picture signal, (following to bus 1227 output digital image signal Referred to as view data).
Bus 1227 is the transmission path for being transmitted in the various data that the inside of camera reads or generates.In bus 1227 are connected to above-mentioned A/D converter 1214, are additionally connected to image processor 1215, jpeg processor 1216, microcomputer Calculation machine 1217, SDRAM (Synchronous Dynamic random access memory, SDRAM (Synchronous dynamic random access memory)) 1218, memory interface (hereinafter referred to as memory I/F) 1219, LCD (Liquid Crystal Display, liquid crystal display Device) driver 1220.
Image processor 1215 carries out OB to the view data of output based on imaging apparatus 1212 and subtracts each other process, white balance Adjustment, color matrix computing, gamma conversion, colour difference signal process, noise removal process, change process simultaneously, edge treated etc. are each Plant image procossing.Jpeg processor 1216 is when by Imagery Data Recording in record medium 1225, according to JPEG compression mode pressure Contract the view data read from SDRAM1218.Additionally, jpeg processor 1216 carries out JPEG to carry out image reproducing to show The decompression of view data.When decompressing, read record file in record medium 1225, at jpeg processor 1216 In implement decompression after, the view data of decompression is temporarily stored in SDRAM1218 and carries out on LCD1226 Display.It addition, in the present embodiment, decompress mode as compression of images and use JPEG mode, but Compress softwares H.264 contracting mode is not limited to this, it is of course possible to use MPEG, TIFF, other the compressed and decompressed mode such as.
Microcomputer 1217 plays the function in the control portion overall as this camera, is uniformly controlled the various process of camera Sequence.Microcomputer 1217 is connected to operating unit 1223 and flash memory 1224.
Operating unit 1223 includes but not limited to physical button or virtual key, and this entity or virtual key can be electricity Source button, key of taking pictures, edit key, dynamic image button, reproduction button, menu button, cross key, OK button, deletion button, The operational controls such as the various load button such as large buttons and various input keys, detect the mode of operation of these operational controls,.
Testing result is exported to microcomputer 1217.Additionally, the front surface at the LCD1226 as display is provided with Touch panel, the touch location of detection user, this touch location is exported to microcomputer 1217.Microcomputer 1217 According to the testing result of the operating position from operating unit 1223, perform the various process sequences corresponding with the operation of user.
Flash memory 1224 storage is for performing the program of the various process sequences of microcomputer 1217.Microcomputer 1217 The control that camera is overall is carried out according to this program.Additionally, flash memory 1224 stores the various adjusted values of camera, microcomputer 1217 Read adjusted value, carry out the control of camera according to this adjusted value.
SDRAM1218 is can the electric volatile memory rewritten for temporarily store view data etc..Should SDRAM1218 temporarily stores from the view data of A/D converter 1214 output with at image processor 1215, jpeg processor 1216 grades have carried out the view data after processing.
Memory interface 1219 is connected with record medium 1225, carries out view data and the literary composition being attached in view data Part first-class data write record medium 1225 and the control read from record medium 1225.Record medium 1225 for example, can The record such as the memory card of disassembled and assembled freely medium on camera main-body, but it is not limited to this, it is also possible to it is to be built in camera main-body In hard disk etc..
Lcd driver 1210 is connected with LCD1226, and the view data after being processed by image processor 1215 is stored in SDRAM1218, when needing display, reads the view data of SDRAM1218 storage and shows on LCD1226, or, at JPEG The view data managing device 1216 compressed is stored in SDRAM1218, and when needs show, jpeg processor 1216 reads The compressed view data of SDRAM1218, then decompress, the view data after decompressing is carried out by LCD1226 Display.
LCD1226 is arranged in the back side of camera main-body to carry out image and shows.This LCD1226LCD), but it is not limited to this, also The various display floaters (LCD1226) such as organic EL can be used, but be not limited to this, it would however also be possible to employ the various display such as organic EL Panel.
Based on above-mentioned mobile terminal hardware configuration and the electrical structure schematic diagram of camera, each is real to propose the inventive method Execute example.
As it is shown on figure 3, the high-level schematic functional block diagram of the categorization arrangement first embodiment that Fig. 3 is video file of the present invention.Need It is emphasized that it will be apparent to those skilled in the art that functional block diagram shown in Fig. 3 is only the example of a preferred embodiment Figure, those skilled in the art, around the functional module of the categorization arrangement of the video file shown in Fig. 3, can carry out new merit easily Supplementing of energy module;The title of each functional module is self-defined title, is only used for assisting the categorization arrangement understanding this video file Each program function block, be not used in restriction technical scheme, the core of technical solution of the present invention is, each self-defining name The functional module function to be reached claimed.
The present embodiment proposes the categorization arrangement of a kind of video file, and the categorization arrangement of video file includes:
Acquisition module 10, is used for obtaining reference video file and treating categorizing video file;
Detecting that video file categorizing instructions or similar video file process instruction and (delete such as similar video file and refer to Make) time, acquisition module 10 can perform obtain reference video file and treat the operation of categorizing video file.This video file is sorted out Instruction or similar video file are processed instruction and can be triggered by the video file chosen, and this video file chosen can be reference Video file, user can continue selection and treat categorizing video file, it is possible to by the video file in current display interface or terminal The video file of middle preservation is as treating categorizing video file;Or, user also can directly trigger video file by control etc. and return Class instruction or similar video file process instruction, now need to export information prompting user and select reference video file, I.e. acquisition module 10 includes: output unit, for exporting the information selecting reference video file, to point out user to select ginseng Examining video file, wherein, when receiving video file categorizing instructions, acquisition module obtains reference video file in video file And treat categorizing video file;Processing unit, for when detecting that video file chooses operation, makees the video file chosen For reference video file;And using the video file of triggering video file categorizing instructions as treating categorizing video file, or, will Video file in current file display interface is as treating categorizing video file.
It is understood that the control that can pass through in file display interface or other instruction are (such as touch operation or language Sound instruction etc.) trigger video file categorizing instructions, then when receiving file categorizing instructions, successively by current display interface Each video file as reference video file, and using all video files in current display interface as treat categorizing video literary composition Part, it is achieved the classification to the video file in current display interface, such as, by a certain video file in current display interface (with reference to first video file of DISPLAY ORDER) is as current reference video file, all videos literary composition in current display interface Part, as currently treating categorizing video file, similar with current reference video file treats categorizing video file to obtain;Then, will With current reference video file be not similar treat categorizing video file as currently treating categorizing video file, with currently wait to return Class video file chooses a video file as current reference video file, with obtain currently treat in categorizing video file with The video file that current reference video file is similar, by that analogy until completing the classification of All Files.Obtain and current reference The similar video file of video file realizes especially by extraction module 20, matching module 30 and processing module 40, below can It is described in detail, does not repeats them here.Above-mentioned acquisition treat that categorizing video file can include that reference video file also can not wrap Include reference video file.
Extraction module 20, for extracting in the key frame in reference video file the first key content and treating categorizing video The second key content in the key frame of file;
All being marked with key frame in each video file, this key frame is used for embodying the main contents of this video file, Can be according to key frame marker extraction reference video file and the key frame treated in categorizing video file.Can extract in each key frame The object of preset kind, such as personage and building, the type of this object can be set as required by user, can basis Contour feature differentiates different personages and building, also can pass through other details further for carrying high-resolution accuracy further Personage that feature resolution is different and building, such as, distinguish different personages by face, and determine according to the object extracted First key content and the second key content.When extracting each until the second key content of categorizing video, can sort out waiting The second key content association that video is corresponding.
Matching module 30, for obtain with first key content mate the second key content corresponding treat categorizing video;
Processing module 40, for using coupling the second key content corresponding treat categorizing video as with reference video file Similar video file.
The matching condition of the first key content and the second key content can be configured by user or developer, due to Comprise multiple object in first key content, then the object in part the first key content and the second key content is the most identical Time, it is believed that the first key content and the second key content coupling;Or also can calculate in the first key content and the second key Hold the matching degree of the object comprised, when matching degree is more than predetermined threshold value, it is believed that the first key content and the second key content Join.After finding out the second key content mated with the first key content, the second key content directly obtaining coupling is corresponding Treat categorizing video file.
The categorization arrangement of the video file that the present embodiment proposes, extracts the first key in the key frame in reference video file Content and the second key content in treating the key frame of categorizing video file, at the second key content and the first key content Timing, it is believed that the second key content correspondence of this coupling treats that categorizing video file is similar with reference video file, then can by with What the second key content of the first key content coupling was corresponding treats that categorizing video is as similar with reference video file video literary composition Part, it is achieved the classification of video file, carries out unloading with the similar video file obtaining classification or deletes batch runs, Improve efficiency when video file is carried out similar batch processing.
Further, with reference to Fig. 4, the second enforcement of the categorization arrangement of video file of the present invention is proposed based on first embodiment Example, in the present embodiment, extraction module 20 includes:
Object extracting unit 21, for extracting the first couple of preset kind in each key frame in reference video file As, and obtain the number of times that each first object occurs in each key frame, and extract each successively and treat categorizing video file, When extracting until categorizing video file, obtain in each key frame treated in categorizing video file extracted the of preset kind Two objects, and obtain the number of times that each second object occurs in the key frame treating categorizing video file extracted;
Key content signal generating unit 22, for extracting the first object of predetermined number, and by extraction according to occurrence number First object is as the first key content, and wherein, the first object of extraction occurrence number in each key frame is more than each Undrawn first object in key frame;And the second object according to occurrence number extraction predetermined number, and by extraction Second object is as the second key content, and wherein, the second object of extraction occurrence number in each key frame is more than extracting The key frame treating categorizing video file in undrawn second object.
With instantiation, the matching process of above-mentioned first key content and the second key content is illustrated below:
First extract the key frame in reference video file, the key frame picture such as extracted be Image1, Image2 ... Imagen, then carry out the extraction of the first object according to default object type to each key frame picture, it is known that The first object identified in Image1 is: personage P1, P2, building;B1, B2, the first object identified in Image2 is: Personage P2, P3, animal: A1, building B 2;.......
The first object going out all keys picture recognition collects, and is ranked up according to the number of times occurred, row Result after sequence is: P2 occurs C1 time, and B2 occurs C2 time, and P1 occurs C3 time, and A1 occurs C4 time ...., wherein C1 > C2 > C3 > C4, when predetermined number is 3, it can be deduced that first object of first 3 is: P2, B2, P1, then can be using P2, B2, P1 as first Key content;Being ordered as descending sequence it is understood that above-mentioned, those skilled in the art are according to the program also deformable Go out by the little mode arriving sequence, then after ranking, first object of 3 is more the first object of occurrence number, then by after ranking 3 the first objects being are as the first key content.
The most successively each is treated that categorizing video carries out the extraction of the second key content, extract process and the first key content Extraction similar process do not repeat them here.
The open scheme of the present embodiment only will appear from the more object of number of times as key content, with avoid first crucial in Hold and object in the second key content is too many, improve the first key content and the second key content carries out the effect mated Rate.
It is understood that the extracting mode of the first key content and the second key content can use it in the present invention Its mode the most only gathers certain object in key frame, such as personage, then by equal for all objects of extracting in reference video file As the first key content, will treat that all objects extracted in categorizing video file are all as the second key content.
In other variant embodiment, the first key content and the second key content are alternatively in key frame the object occurred Type, then can extract the type of the object of appearance in key frame, as key frame be Image1, Image2 ... Imagen, Then according to default object type, each key frame picture is carried out the extraction of object type, it is known that the object identified in Image1 Type is: personage and building;The object type identified in Image2 is: personage, animal and building;...., finally Object type in each key frame is collected, to generate the first key content, or also can be according in the second embodiment Scheme add up each object type occurrence number in each key frame, and take out the object of predetermined number according to occurrence number Type, and using the quantity type that extracts as the first key content, the second key content is in like manner.
Further, categorization arrangement the 3rd embodiment of video file of the present invention is proposed based on first or second embodiments, Matching module 30 is additionally operable in the present embodiment:
Obtain second key content identical with the first key content corresponding treat categorizing video;
Or, calculate the second key content and the matching degree of the first key content, obtain matching degree more than predetermined threshold value What the second key content was corresponding treats categorizing video.
In the present embodiment, the first key content and the second key content identical refer to the first key content comprises right As the most identical with the object that comprises in the second key content, the i.e. first key content and the second key content coupling.
Second key content and the matching degree of the first key content, can be phase in the second key content and the first key content The quantity of same object and the percentage ratio of the total quantity of object in the first key content.Such as first key content be personage P1, Building B 1 and building B 2, and the second key content be personage P1, personage P2 and building B 2, now the first key content and Object identical in second key content is personage P1 and building B 2, and the quantity of the most identical object is 2, the first key content The total quantity of middle object is 3, i.e. matching degree is 2/3=66.6%;Or, the weight that predeterminable different types of object is corresponding Value, when having the object of object the second key content identical in the first key content, obtains the weighted value that identical object is corresponding, It is weighted averagely obtaining final matching degree according to this weighted value.Such as, the first key content be personage P1, building B 1 and Building B 2, and the second key content be personage P1, personage P2 and building B 2, now the first key content and second crucial in Object identical in appearance is personage P1 and building B 2, and figure picture is 0.5 with respective weights value, the Quan Zhongwei that building is identical 0.2, then matching degree is 0.7.
In technical scheme disclosed in the present embodiment, identical at the first key content and the second key content, or the second pass Think when the matching degree of key and the first key content is more than predetermined threshold value that the first key content and the second key content mate, improve The efficiency that video file is sorted out.
Further, with reference to Fig. 5, the categorization arrangement of video file of the present invention is proposed based on the first to the 3rd any embodiment 4th embodiment, in the present embodiment, the categorization arrangement of video file also includes:
Choose module 50, for choosing the video file similar with reference video file.
After directly choosing the video file similar with reference video file, user can be directly based upon this video file chosen Operate accordingly, the such as operation such as deletion, unloading, compression or Video processing, rise to the treatment effeciency of video file.
It is understood that find out similar with reference video file until categorizing video file time, it is possible to regard similar Frequency file carries out other operation, and such as this similar video file of labelling, is processed the video file of labelling by user, as Deletion, unloading, compression or Video processing etc. operate, i.e. the categorization arrangement of this video file also includes mark module, is used for marking Remember the video file similar with reference video file;Or the classification of this video file may have batch processing instruction triggers, this Time can according to this batch processing instruction similar video file is processed.
When video file is entered to sort out (seeing first embodiment), may sort out many group video file groups, often Video file in group video file group is similar, then different video file groups can be stored in different files.
The present invention further provides the classifying method of a kind of video file.
Schematic flow sheet with reference to the classifying method first embodiment that Fig. 6, Fig. 6 are video file of the present invention.
The classifying method of a kind of video file of the present embodiment, the classifying method of video file includes step:
Step S10, obtains reference video file and treats categorizing video file;
Detecting that video file categorizing instructions or similar video file process instruction and (delete such as similar video file and refer to Make) time, can perform obtain reference video file and treat the operation of categorizing video file.This video file categorizing instructions or with Class video file is processed instruction and can be triggered by the video file chosen, and this video file chosen can be reference video file, User can continue selection and treat categorizing video file, it is possible to by regarding of preserving in the video file in current display interface or terminal Frequency file is as treating categorizing video file;Or, user also can by the directly triggering video file categorizing instructions such as control or Similar video file processes instruction, now needs to export information prompting user and selects reference video file, i.e. step S10 bag Include: output selects the information of reference video file, to point out user to select reference video file, wherein, regards receiving During frequency file categorizing instructions, perform to obtain reference video file in video file and treat the step of categorizing video file;In inspection Measure video file when choosing operation, using the video file chosen as reference video file;Triggering video file is sorted out and refers to The video file of order as treating categorizing video file, or, the video file in current file display interface is sorted out as waiting Video file.
It is understood that the control that can pass through in file display interface or other instruction are (such as touch operation or language Sound instruction etc.) trigger video file categorizing instructions, then when receiving file categorizing instructions, successively by current display interface Each video file as reference video file, and using all video files in current display interface as treat categorizing video literary composition Part, it is achieved the classification to the video file in current display interface, such as, by a certain video file in current display interface (with reference to first video file of DISPLAY ORDER) is as current reference video file, all videos literary composition in current display interface Part, as currently treating categorizing video file, similar with current reference video file treats categorizing video file to obtain;Then, will With current reference video file be not similar treat categorizing video file as currently treating categorizing video file, with currently wait to return Class video file chooses a video file as current reference video file, with obtain currently treat in categorizing video file with The video file that current reference video file is similar, by that analogy until completing the classification of All Files.Obtain and current reference The similar video file of video file realizes especially by step S20 and step S30, below can be described in detail, at this not Repeat again.Above-mentioned acquisition treat that categorizing video file can include that reference video file also may not include reference video file.
Step S20, extracts the first key content of key frame in reference video file and treats to close in categorizing video file Second key content of key frame;
All being marked with key frame in each video file, this key frame is used for embodying the main contents of this video file, Can be according to key frame marker extraction reference video file and the key frame treated in categorizing video file.Can extract in each key frame The object of preset kind, such as personage and building, the type of this object can be set as required by user, can basis Contour feature differentiates different personages and building, also can pass through other details further for carrying high-resolution accuracy further Personage that feature resolution is different and building, such as, distinguish different personages by face, and determine according to the object extracted First key content and the second key content.When extracting each until the second key content of categorizing video, can sort out waiting The second key content association that video is corresponding.
Step S30, what acquisition was corresponding with the second key content of the first key content coupling treats categorizing video;
Using corresponding for the second key content of coupling, step S40, treats that categorizing video is as similar with reference video file Video file.
The matching condition of the first key content and the second key content can be configured by user or developer, due to Comprise multiple object in first key content, then the object in part the first key content and the second key content is the most identical Time, it is believed that the first key content and the second key content coupling;Or also can calculate in the first key content and the second key Hold the matching degree of the object comprised, when matching degree is more than predetermined threshold value, it is believed that the first key content and the second key content Join.After finding out the second key content mated with the first key content, the second key content directly obtaining coupling is corresponding Treat categorizing video file.
The classifying method of the video file that the present embodiment proposes, extracts the first key in the key frame in reference video file Content and the second key content in treating the key frame of categorizing video file, at the second key content and the first key content Timing, it is believed that the second key content correspondence of this coupling treats that categorizing video file is similar with reference video file, then can by with What the second key content of the first key content coupling was corresponding treats that categorizing video is as similar with reference video file video literary composition Part, it is achieved the classification of video file, carries out unloading with the similar video file obtaining classification or deletes batch runs, Improve efficiency when video file is carried out similar batch processing.
Further, with reference to Fig. 7, the second enforcement of the classifying method of video file of the present invention is proposed based on first embodiment Example, in the present embodiment, step S20 includes:
Step S21, extracts the first object of preset kind in each key frame in reference video file, and obtains each The number of times that first object occurs in each key frame;
Step S22, extracts the first object of predetermined number according to occurrence number, and using the first object of extraction as first Key content, wherein, the first object of extraction occurrence number in each key frame is not more than extracting in each key frame The first object;
Step S23, extracts each successively and treats categorizing video file, when extracting until categorizing video file, obtains and extracts Each key frame treated in categorizing video file in the second object of preset kind, and obtain each second object and extracting Treat the number of times occurred in the key frame of categorizing video file;
Step S24, extracts the second object of predetermined number according to occurrence number, and using the second object of extraction as second Key content, wherein, the second object of extraction occurrence number in each key frame treats categorizing video file more than extract Key frame in undrawn second object.
With instantiation, the matching process of above-mentioned first key content and the second key content is illustrated below:
First extract the key frame in reference video file, the key frame picture such as extracted be Image1, Image2 ... Imagen, then carry out the extraction of the first object according to default object type to each key frame picture, it is known that The first object identified in Image1 is: personage P1, P2, building;B1, B2, the first object identified in Image2 is: Personage P2, P3, animal: A1, building B 2;.......
The first object going out all keys picture recognition collects, and is ranked up according to the number of times occurred, row Result after sequence is: P2 occurs C1 time, and B2 occurs C2 time, and P1 occurs C3 time, and A1 occurs C4 time ...., wherein C1 > C2 > C3 > C4, when predetermined number is 3, it can be deduced that first object of first 3 is: P2, B2, P1, then can be using P2, B2, P1 as first Key content;Being ordered as descending sequence it is understood that above-mentioned, those skilled in the art are according to the program also deformable Go out by the little mode arriving sequence, then after ranking, first object of 3 is more the first object of occurrence number, then by after ranking 3 the first objects being are as the first key content.
The most successively each is treated that categorizing video carries out the extraction of the second key content, extract process and the first key content Extraction similar process do not repeat them here.
The open scheme of the present embodiment only will appear from the more object of number of times as key content, with avoid first crucial in Hold and object in the second key content is too many, improve the first key content and the second key content carries out the effect mated Rate.
It is understood that the extracting mode of the first key content and the second key content can use it in the present invention Its mode the most only gathers certain object in key frame, such as personage, then by equal for all objects of extracting in reference video file As the first key content, will treat that all objects extracted in categorizing video file are all as the second key content.
In other variant embodiment, the first key content and the second key content are alternatively in key frame the object occurred Type, then can extract the type of the object of appearance in key frame, as key frame be Image1, Image2 ... Imagen, Then according to default object type, each key frame picture is carried out the extraction of object type, it is known that the object identified in Image1 Type is: personage and building;The object type identified in Image2 is: personage, animal and building;...., finally Object type in each key frame is collected, to generate the first key content, or also can be according in the second embodiment Scheme add up each object type occurrence number in each key frame, and take out the object of predetermined number according to occurrence number Type, and using the quantity type that extracts as the first key content, the second key content is in like manner.
Further, classifying method the 3rd embodiment of video file of the present invention is proposed based on first or second embodiments, Step S30 includes in the present embodiment:
Obtain second key content identical with the first key content corresponding treat categorizing video;
Or, calculate the second key content and the matching degree of the first key content, obtain matching degree more than predetermined threshold value What the second key content was corresponding treats categorizing video.
In the present embodiment, the first key content and the second key content identical refer to the first key content comprises right As the most identical with the object that comprises in the second key content, the i.e. first key content and the second key content coupling.
Second key content and the matching degree of the first key content, can be phase in the second key content and the first key content The quantity of same object and the percentage ratio of the total quantity of object in the first key content.Such as first key content be personage P1, Building B 1 and building B 2, and the second key content be personage P1, personage P2 and building B 2, now the first key content and Object identical in second key content is personage P1 and building B 2, and the quantity of the most identical object is 2, the first key content The total quantity of middle object is 3, i.e. matching degree is 2/3=66.6%;Or, the weight that predeterminable different types of object is corresponding Value, when having the object of object the second key content identical in the first key content, obtains the weighted value that identical object is corresponding, It is weighted averagely obtaining final matching degree according to this weighted value.Such as, the first key content be personage P1, building B 1 and Building B 2, and the second key content be personage P1, personage P2 and building B 2, now the first key content and second crucial in Object identical in appearance is personage P1 and building B 2, and figure picture is 0.5 with respective weights value, the Quan Zhongwei that building is identical 0.2, then matching degree is 0.7.
In technical scheme disclosed in the present embodiment, identical at the first key content and the second key content, or the second pass Think when the matching degree of key and the first key content is more than predetermined threshold value that the first key content and the second key content mate, improve The efficiency that video file is sorted out.
Further, with reference to Fig. 8, the classifying method of video file of the present invention is proposed based on the first to the 3rd any embodiment 4th embodiment, in the present embodiment, also includes after step S40:
Step S50, chooses the video file similar with reference video file.
After directly choosing the video file similar with reference video file, user can be directly based upon this video file chosen Operate accordingly, the such as operation such as deletion, unloading, compression or Video processing, rise to the treatment effeciency of video file.
It is understood that find out similar with reference video file until categorizing video file time, it is possible to regard similar Frequency file carries out other operation, and such as this similar video file of labelling, is processed the video file of labelling by user, as Deletion, unloading, compression or Video processing etc. operate;Or the classification of this video file may have batch processing instruction triggers, Now according to the instruction of this batch processing, similar video file can be processed.
When video file is entered to sort out (seeing first embodiment), may sort out many group video file groups, often Video file in group video file group is similar, then different video file groups can be stored in different files.
It should be noted that in this article, term " includes ", " comprising " or its any other variant are intended to non-row Comprising of his property, so that include that the process of a series of key element, method, article or device not only include those key elements, and And also include other key elements being not expressly set out, or also include intrinsic for this process, method, article or device Key element.In the case of there is no more restriction, statement " including ... " key element limited, it is not excluded that including this The process of key element, method, article or device there is also other identical element.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive above-described embodiment side Method can add the mode of required general hardware platform by software and realize, naturally it is also possible to by hardware, but a lot of in the case of The former is more preferably embodiment.Based on such understanding, prior art is done by technical scheme the most in other words The part going out contribution can embody with the form of software product, and this computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions with so that a station terminal equipment (can be mobile terminal, calculate Machine, server, air-conditioner, or the network equipment etc.) perform each embodiment of the present invention method.
These are only the preferred embodiments of the present invention, not thereby limit the scope of the claims of the present invention, every utilize this Equivalent structure or equivalence flow process that bright description and accompanying drawing content are made convert, or are directly or indirectly used in other relevant skills Art field, is the most in like manner included in the scope of patent protection of the present invention.

Claims (10)

1. the categorization arrangement of a video file, it is characterised in that the categorization arrangement of described video file includes:
Acquisition module, is used for obtaining reference video file and treating categorizing video file;
Extraction module, for extract key frame in described reference video file the first key content and described in treat categorizing video Second key content of key frame in file;
Matching module, for obtain with described first key content mate described second key content corresponding described in wait to sort out Video;
Processing module, for treating that categorizing video regards as with described reference described in corresponding for described second key content of coupling The video file that frequency file is similar.
2. the categorization arrangement of video file as claimed in claim 1, it is characterised in that described extraction module includes:
Object extracting unit, for extracting the first object of preset kind in each key frame in described reference video file, And obtain the number of times that each described first object occurs in key frame each described, and extract successively and wait to sort out described in each Video file, described in extracting until categorizing video file time, obtains each pass treated described in extracting in categorizing video file Second object of preset kind in key frame, and obtain each described second object in the institute treating categorizing video file described in extraction State the number of times occurred in key frame;
Key content signal generating unit, for extracting described first object of predetermined number according to described occurrence number, and will extract Described first object as described first key content, wherein, described first object of extraction is in key frame each described Occurrence number more than undrawn described first object in each described key frame;And extract according to described occurrence number Described second object of predetermined number, and using described second object of extraction as described second key content, wherein, extraction Described second object occurrence number in key frame each described is more than the described pass treating categorizing video file described in extraction Undrawn described second object in key frame.
3. the categorization arrangement of video file as claimed in claim 1, it is characterised in that described matching module is additionally operable to:
Obtain second key content identical with described first key content corresponding treat categorizing video;
Or, calculate the matching degree of described second key content and described first key content, obtain matching degree more than presetting threshold What the second key content of value was corresponding treats categorizing video.
4. the categorization arrangement of the video file as described in any one of claim 1-3, it is characterised in that described acquisition module bag Include:
Output unit, for exporting the information selecting reference video file, to point out user to select reference video file, its In, when receiving video file categorizing instructions, described acquisition module obtains in video file reference video file and waits to return Class video file;
Processing unit, for when detecting that video file chooses operation, using the video file chosen as reference video file; And using the video file of the described video file categorizing instructions of triggering as treating categorizing video file, or, current file is shown Show that the video file in interface is as treating categorizing video file.
5. the categorization arrangement of the video file as described in any one of claim 1-3, it is characterised in that returning of described video file Class device also includes:
Choose module, for choosing the video file similar with described reference video file.
6. the classifying method of a video file, it is characterised in that the classifying method of described video file includes:
Obtain reference video file and treat categorizing video file;
Extract key frame in described reference video file the first key content and described in treat key frame in categorizing video file The second key content;
Categorizing video is treated described in acquisition is corresponding with described second key content of described first key content coupling, and will coupling Described second key content corresponding described in treat that categorizing video is as the video file similar with described reference video file.
7. the classifying method of video file as claimed in claim 6, it is characterised in that described extraction described reference video file First key content of middle key frame and described in treat that the step of the second key content of key frame in categorizing video file includes:
Extract the first object of preset kind in each key frame in described reference video file, and obtain each described first The number of times that object occurs in key frame each described;
Described first object of predetermined number is extracted according to described occurrence number, and using described first object of extraction as described First key content, wherein, described first object of extraction occurrence number in key frame each described is more than described in each Undrawn described first object in key frame;
Extract successively and described in each, treat categorizing video file, described in extracting until categorizing video file time, obtain the institute extracted State the second object of preset kind in each key frame treated in categorizing video file, and obtain each described second object and carrying The number of times occurred in the described key frame of categorizing video file is treated described in taking;
Described second object of predetermined number is extracted according to described occurrence number, and using described second object of extraction as described Second key content, wherein, described second object of extraction occurrence number in key frame each described is more than the institute extracted State undrawn described second object in the described key frame treating categorizing video file.
8. the classifying method of video file as claimed in claim 6, it is characterised in that in described acquisition is crucial with described first Hold coupling described second key content corresponding described in treat that the step of categorizing video includes:
Obtain second key content identical with described first key content corresponding treat categorizing video;
Or, calculate the matching degree of described second key content and described first key content, obtain matching degree more than presetting threshold What the second key content of value was corresponding treats categorizing video.
9. the classifying method of the video file as described in any one of claim 6-8, it is characterised in that described acquisition reference video File and treat that the step of categorizing video file includes:
Output selects the information of reference video file, to point out user to select reference video file, wherein, regards receiving During frequency file categorizing instructions, perform reference video file in described acquisition video file and treat the step of categorizing video file;
When detecting that video file chooses operation, using the video file chosen as reference video file;
Using the video file of the described video file categorizing instructions of triggering as treating categorizing video file, or, current file is shown Show that the video file in interface is as treating categorizing video file.
10. the classifying method of the video file as described in any one of claim 6-8, it is characterised in that the described institute by coupling State the second key content corresponding described in treat the categorizing video step as the video file similar with described reference video file Afterwards, the classifying method of described video file also includes:
Choose the video file similar with described reference video file.
CN201610614800.1A 2016-07-29 2016-07-29 The classifying method of video file and device Pending CN106227868A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610614800.1A CN106227868A (en) 2016-07-29 2016-07-29 The classifying method of video file and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610614800.1A CN106227868A (en) 2016-07-29 2016-07-29 The classifying method of video file and device

Publications (1)

Publication Number Publication Date
CN106227868A true CN106227868A (en) 2016-12-14

Family

ID=57536318

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610614800.1A Pending CN106227868A (en) 2016-07-29 2016-07-29 The classifying method of video file and device

Country Status (1)

Country Link
CN (1) CN106227868A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106708994A (en) * 2016-12-16 2017-05-24 维沃移动通信有限公司 Picture selection method and mobile terminal
CN108391140A (en) * 2018-02-28 2018-08-10 北京奇艺世纪科技有限公司 A kind of analysis method and device of video frame
CN110008362A (en) * 2019-03-05 2019-07-12 青岛海信网络科技股份有限公司 A kind of case classifying method and device
CN110443171A (en) * 2019-07-25 2019-11-12 腾讯科技(武汉)有限公司 Classification method, device, storage medium and the terminal of video file

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103177091A (en) * 2013-03-08 2013-06-26 深圳先进技术研究院 Method and system for video classification
US20140375886A1 (en) * 2013-06-19 2014-12-25 Set Media, Inc. Automatic face discovery and recognition for video content analysis
CN105426515A (en) * 2015-12-01 2016-03-23 小米科技有限责任公司 Video classification method and apparatus
CN105426829A (en) * 2015-11-10 2016-03-23 深圳Tcl新技术有限公司 Video classification method and device based on face image

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103177091A (en) * 2013-03-08 2013-06-26 深圳先进技术研究院 Method and system for video classification
US20140375886A1 (en) * 2013-06-19 2014-12-25 Set Media, Inc. Automatic face discovery and recognition for video content analysis
CN105426829A (en) * 2015-11-10 2016-03-23 深圳Tcl新技术有限公司 Video classification method and device based on face image
CN105426515A (en) * 2015-12-01 2016-03-23 小米科技有限责任公司 Video classification method and apparatus

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106708994A (en) * 2016-12-16 2017-05-24 维沃移动通信有限公司 Picture selection method and mobile terminal
CN108391140A (en) * 2018-02-28 2018-08-10 北京奇艺世纪科技有限公司 A kind of analysis method and device of video frame
CN108391140B (en) * 2018-02-28 2021-06-01 北京奇艺世纪科技有限公司 Video frame analysis method and device
CN110008362A (en) * 2019-03-05 2019-07-12 青岛海信网络科技股份有限公司 A kind of case classifying method and device
CN110443171A (en) * 2019-07-25 2019-11-12 腾讯科技(武汉)有限公司 Classification method, device, storage medium and the terminal of video file
CN110443171B (en) * 2019-07-25 2022-11-29 腾讯科技(武汉)有限公司 Video file classification method and device, storage medium and terminal

Similar Documents

Publication Publication Date Title
CN105430295B (en) Image processing apparatus and method
CN105100609B (en) The adjusting method of mobile terminal and acquisition parameters
CN105516423A (en) Mobile terminal, data transmission system and mobile terminal shoot method
CN105096241A (en) Face image beautifying device and method
CN105704369B (en) A kind of information processing method and device, electronic equipment
CN104811554B (en) The switching method and terminal of camera mode
CN105357444B (en) focusing method and device
CN105472240B (en) Image-pickup method and device
CN105407295B (en) Mobile terminal filming apparatus and method
CN103813108A (en) Array camera, mobile terminal, and methods for operating the same
CN106227868A (en) The classifying method of video file and device
CN105120164B (en) The processing means of continuous photo and method
CN106134189B (en) Image processing apparatus, photographic device, image processing method and program
CN106028098A (en) Video recording method, device, and terminal
CN105959554A (en) Video shooting apparatus and method
CN109788268A (en) Terminal and its white balance correction control method and computer readable storage medium
CN105915812A (en) Mobile terminal and exposing method and apparatus for the same
CN104822099A (en) Video packaging method and mobile terminal
CN104883494B (en) A kind of method and device of video capture
CN105872361A (en) Shooting guidance device, system and method
CN104967772B (en) Photographic method and device
CN104796625A (en) Picture synthesizing method and device
CN105335458A (en) Picture previewing method and apparatus
CN105163035A (en) Mobile terminal shooting system and mobile terminal shooting method
CN104751488A (en) Photographing method for moving track of moving object and terminal equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20161214