CN105022838A - Method for allowing camera equipment to have fast access to video files and picture files in memory card of camera equipment - Google Patents

Method for allowing camera equipment to have fast access to video files and picture files in memory card of camera equipment Download PDF

Info

Publication number
CN105022838A
CN105022838A CN201510506486.0A CN201510506486A CN105022838A CN 105022838 A CN105022838 A CN 105022838A CN 201510506486 A CN201510506486 A CN 201510506486A CN 105022838 A CN105022838 A CN 105022838A
Authority
CN
China
Prior art keywords
file
video
picture pick
picture
files
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
CN201510506486.0A
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.)
VYOU TECHNOLOGY Co Ltd
Original Assignee
VYOU 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 VYOU TECHNOLOGY Co Ltd filed Critical VYOU TECHNOLOGY Co Ltd
Priority to CN201510506486.0A priority Critical patent/CN105022838A/en
Publication of CN105022838A publication Critical patent/CN105022838A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • G06F16/137Hash-based
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

A method for allowing camera equipment to have fast access to video files and picture files in a memory card of the camera equipment comprises the following steps that 1, a file index is created, wherein when a power source of the camera equipment is powered on, the camera equipment scans the video files and the picture files in the memory card of the camera equipment, information of all the files is obtained, the file information of all the scanned video files and picture files and the association relationship of the file information are recorded in a Hash table, after a client side is connected with the camera equipment, a video playing list and a picture list recorded in the Hash table of the camera equipment can be automatically obtained, preview pictures recorded by the camera equipment can be downloaded, and the preview pictures are displayed to a human-computer interface; 2, the video files are played, wherein a user selects the preview pictures related to the video files through the human-computer interface, the playing time points of an original video file and the video files is fast located by the camera equipment through file name information of the preview pictures, and playing is started; pictures are downloaded, wherein the user selects the preview pictures related to the picture files through the human-computer interface, the picture files are fast located by the camera equipment through the file name information of the preview pictures, and downloading is started.

Description

A kind of method of video and photo files in its storage card of picture pick-up device fast access
Technical field
The present invention relates to the file access method of picture pick-up device, is specifically a kind of method of video and photo files in its storage card of picture pick-up device fast access.
Background technology
Present picture pick-up device is widely applied in the life of people; such as drive recorder, IPCam or operation DV etc.; this kind equipment all uses TF storage card as storage medium usually; TF card has three kinds of files usually; one is used for depositing long video file (conveniently arrange and mostly be 3 minutes video files); one is used for depositing photo files, also has a kind of for depositing the preview file be associated with long video file and photo files.Preview file all generates when taking original usually simultaneously.
Usually the file in TF card can be created very frequently when using picture pick-up device, delete, revise, the operation such as inquiry, and the operation such as establishment, deletion, amendment, inquiry that the picture pick-up device file management system used now generally adopts the sqlite database of increasing income be stored in TF card to realize file, therefore be in fact to TF card frequent visit to the frequent operation of the file management system sqlite database of picture pick-up device, so such operation is more slowly; And needing this part data of revising frequently in TF card due to access file management system, the life-span of TF card also can greatly reduce.Therefore find one and can improve storing card operation performance, and the method extending storage card serviceable life is very important.
Summary of the invention
The present invention seeks to for above-mentioned technical matters, a kind of method that can improve video and photo files in storing card operation performance, its storage card of picture pick-up device fast access in prolongation storage card life-span to be provided.
Technical solution of the present invention is as follows:
The invention discloses a kind of method of video and photo files in its storage card of picture pick-up device fast access, the method comprises following sequential step:
Step one, creates file index: first, when opening the power supply of picture pick-up device, picture pick-up device scans video file original in its storage card and photo files, obtains the information of each file; Secondly, in the internal memory of picture pick-up device, set up Hash table, each video file that writing scan is arrived in Hash table and the fileinfo of photo files and incidence relation thereof; 3rd, after client connects picture pick-up device, the video play lists recorded in meeting automatic acquisition picture pick-up device Hash table and photo list, and download the preview picture of picture pick-up device record; Finally, preview picture is shown to man-machine interface;
Step 2, playing video file: user selects the preview picture that is associated of video file by man-machine interface, picture pick-up device is by the file name information of preview picture, and quick position, to the play time of former video file and video file, starts broadcasting; Download photo: the preview picture that user selects photo files to be associated by man-machine interface, picture pick-up device is by the file name information of preview picture, and quick position, to photo files, starts to download.
Further, in the method, the constituted mode of video files names is: prefix-_ file start times _ duration _ identifier _ suffix; The constituted mode of photo files title is: the relative time _ identifier _ suffix of prefix-_ file start times _ shooting; In step, picture pick-up device is by each file automatic acquisition file name of scanning and type, and by the initial time of Study document name acquiring video file, duration, type, obtain the relative shooting time of photo files, incidence relation with video file.
Preview file comprises: the preview picture be associated with photo files, the preview picture be associated with video file, the preview picture be associated with ten seconds short video files.
In addition, when deleting video file or photo files or revise information operating, picture pick-up device can be searched Hash table and find corresponding file to carry out associative operation; When picture pick-up device takes new video file or photo files, automatically upgrade Hash table.
Picture pick-up device can be drive recorder, IPCam or operation DV; In the random access memory (RAM) that the internal memory of a kind of described picture pick-up device of step can be picture pick-up device.
The invention has the advantages that: one, the inventive method can video and photo files in memory card in fast access picture pick-up device, the increasing of All Files back end, delete, revise query manipulation, all realized by the tables of data in internal memory, relative to the existing operation to the data system on memory card, greatly accelerate running speed; Two, because the mode of the inventive method fast access avoids in frequent visit memory card, effectively extended in the life-span of memory card.
Embodiment
Concrete explanation is done to the good embodiment of one of the present invention below.
The invention discloses a kind of method of video and photo files in its storage card of picture pick-up device fast access, be applicable to car registering instrument, IPCam or run DV.The method first defines the building form of file name, and the constituted mode of video files names is: prefix-_ file start times _ duration _ identifier _ suffix; The constituted mode of photo files title is: the relative time _ identifier _ suffix of prefix-_ file start times _ shooting; Different prefixes, suffix define the different relevance of file.This method also defines the location mode of different file, video file, photo files and preview file (comprise the preview picture be associated with photo files, the preview picture be associated with video file, the preview picture that associates with ten seconds short video files, preview file is all the file having picture pick-up device automatically to generate after having taken) are left in video, photo and thumb tri-files respectively.The sequential step that in its storage card of picture pick-up device fast access disclosed by the invention, the method for video and photo files realizes is as follows:
Step one, creates file index.
Step 1a, when opening the power supply of picture pick-up device, picture pick-up device scans the video file in its storage card and photo file, obtain the information of each file in these two files, these information comprise title and the type of each file, and by the initial time of Study document name acquiring video file, duration, type, obtain the relative shooting time of photo files, incidence relation with video file;
Step 1b, shows at the inner Hash that sets up of the random access memory (RAM) of picture pick-up device, each video file obtained in recording step 1a in Hash table and the information of photo files;
Step 1c, after client connects picture pick-up device, the video play lists recorded in meeting automatic acquisition picture pick-up device Hash table and photo list, and download the preview picture of picture pick-up device record;
Step 1d, is shown to man-machine interface by preview picture.
Step 2, playing video file: user selects the preview picture that is associated of video file by man-machine interface, picture pick-up device is by the file name information of preview picture, and quick position, to the play time of former video file and video file, starts broadcasting; Download photo: the preview picture that user selects photo files to be associated by man-machine interface, picture pick-up device is by the file name information of preview picture, and quick position, to photo files, starts to download.
In addition, when deleting video file or photo files or revise information operating, picture pick-up device can be searched Hash table and find corresponding file to carry out associative operation; When picture pick-up device takes new video file or photo files, picture pick-up device can record the information in Hash table automatically.

Claims (6)

1. the method for video and photo files in its storage card of picture pick-up device fast access, is characterized in that, comprise following sequential step:
Step one, creates file index: first, when opening the power supply of picture pick-up device, picture pick-up device scans the video file in its storage card and photo files, obtains the information of each file; Secondly, in the internal memory of picture pick-up device, set up Hash table, each video file that writing scan is arrived in Hash table and the fileinfo of photo files and incidence relation thereof; 3rd, after client connects picture pick-up device, the video play lists recorded in meeting automatic acquisition picture pick-up device Hash table and photo list, and download the preview picture of picture pick-up device record; Finally, preview picture is shown to man-machine interface;
Step 2, playing video file: user selects the preview picture that is associated of video file by man-machine interface, picture pick-up device is by the file name information of preview picture, and quick position, to the play time of former video file and video file, starts broadcasting; Download photo: the preview picture that user selects photo files to be associated by man-machine interface, picture pick-up device is by the file name information of preview picture, and quick position, to photo files, starts to download.
2. the method for video and photo files in its storage card of picture pick-up device fast access according to claim 1, is characterized in that: in the method, the constituted mode of video files names is: prefix-_ file start times _ duration _ identifier _ suffix; The constituted mode of photo files title is: the relative time _ identifier _ suffix of prefix-_ file start times _ shooting;
In described step one, picture pick-up device is by each file automatic acquisition file name of scanning and type, and by the initial time of Study document name acquiring video file, duration, type, obtain the relative shooting time of photo files, incidence relation with video file.
3. the method for video and photo files in its storage card of picture pick-up device fast access according to claim 1, is characterized in that: described preview picture comprises: the preview picture be associated with photo files, the preview picture be associated with video file, the preview picture be associated with ten seconds short video files.
4. the method for video and photo files in its storage card of picture pick-up device fast access according to claim 1, it is characterized in that: when deleting video file or photo files or revise information operating, picture pick-up device can be searched Hash table and find corresponding file to carry out associative operation; When picture pick-up device takes new video file or photo files, automatically upgrade Hash table.
5. the method for video and photo files in its storage card of picture pick-up device fast access according to claim 1, is characterized in that: the random access memory saving as picture pick-up device in the described picture pick-up device in step one.
6. the method for video and photo files in its storage card of picture pick-up device fast access according to claim 1-5 any one claim, is characterized in that: described picture pick-up device is drive recorder, IPCam or operation DV.
CN201510506486.0A 2015-08-18 2015-08-18 Method for allowing camera equipment to have fast access to video files and picture files in memory card of camera equipment Pending CN105022838A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510506486.0A CN105022838A (en) 2015-08-18 2015-08-18 Method for allowing camera equipment to have fast access to video files and picture files in memory card of camera equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510506486.0A CN105022838A (en) 2015-08-18 2015-08-18 Method for allowing camera equipment to have fast access to video files and picture files in memory card of camera equipment

Publications (1)

Publication Number Publication Date
CN105022838A true CN105022838A (en) 2015-11-04

Family

ID=54412807

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510506486.0A Pending CN105022838A (en) 2015-08-18 2015-08-18 Method for allowing camera equipment to have fast access to video files and picture files in memory card of camera equipment

Country Status (1)

Country Link
CN (1) CN105022838A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114913622A (en) * 2021-02-10 2022-08-16 博泰车联网科技(上海)股份有限公司 Video display method and system of automobile data recorder and computer storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101709977A (en) * 2009-11-30 2010-05-19 深圳市戴文科技有限公司 Realization method of road book navigation and road book navigation terminal
CN102289484A (en) * 2011-08-03 2011-12-21 Tcl集团股份有限公司 Method for scanning multimedia files of storage equipment based on android system
CN103246729A (en) * 2013-05-09 2013-08-14 北京暴风科技股份有限公司 Method and system for processing multi-media files of android mobile terminal
CN104066007A (en) * 2013-03-19 2014-09-24 鸿富锦精密工业(深圳)有限公司 Cloud service device, video playback multi-screen preview method and system
CN104216980A (en) * 2014-07-24 2014-12-17 英方软件(上海)有限公司 Classification method for serialized operations of file system
WO2015007125A1 (en) * 2013-07-15 2015-01-22 腾讯科技(深圳)有限公司 Method and apparatus for scanning file in memory

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101709977A (en) * 2009-11-30 2010-05-19 深圳市戴文科技有限公司 Realization method of road book navigation and road book navigation terminal
CN102289484A (en) * 2011-08-03 2011-12-21 Tcl集团股份有限公司 Method for scanning multimedia files of storage equipment based on android system
CN104066007A (en) * 2013-03-19 2014-09-24 鸿富锦精密工业(深圳)有限公司 Cloud service device, video playback multi-screen preview method and system
CN103246729A (en) * 2013-05-09 2013-08-14 北京暴风科技股份有限公司 Method and system for processing multi-media files of android mobile terminal
WO2015007125A1 (en) * 2013-07-15 2015-01-22 腾讯科技(深圳)有限公司 Method and apparatus for scanning file in memory
CN104216980A (en) * 2014-07-24 2014-12-17 英方软件(上海)有限公司 Classification method for serialized operations of file system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114913622A (en) * 2021-02-10 2022-08-16 博泰车联网科技(上海)股份有限公司 Video display method and system of automobile data recorder and computer storage medium
WO2022170731A1 (en) * 2021-02-10 2022-08-18 博泰车联网科技(上海)股份有限公司 Video display method and system for driving recorder, and computer storage medium

Similar Documents

Publication Publication Date Title
KR100921845B1 (en) Method, system, computer programs and devices for management of media items
WO2016070534A1 (en) Method and system for scanning local media file
US8620883B2 (en) Apparatus and methods of reconciling different versions of an ordered list
US20060195486A1 (en) File management apparatus and method, program therefore, and recording medium
CN102340699B (en) Preserve TV user history and use the method and system of information
US20050062695A1 (en) Display device and system
CN104202655B (en) A kind of audio-video document method for down loading and device
CN103605778B (en) Method, device and system for locating video file
CN106649721B (en) File duplicate removal method and device
CN105760483A (en) Saving method, retrieval method and retrieval system for multi-media files
CN103778208A (en) Method for cooperating working directory or document access and system thereof
CN102411629A (en) File scanning method and device based on android system
CN1851692A (en) Picture data storage and read method
CN109040769A (en) Direct broadcast time-shift method and device based on HLS protocol
CN105022838A (en) Method for allowing camera equipment to have fast access to video files and picture files in memory card of camera equipment
JP2006254372A (en) Data capturing device, data capturing method, and program
CN109862423B (en) Video seek method, device, terminal and computer readable storage medium
CN104317951A (en) Method and device for cleaning memory space based on prefix database
WO2021037072A1 (en) Buffer information updating method and apparatus, device, and medium
JP2003256432A5 (en)
CA2909885C (en) Systems and methods for file management by mobile computing devices
US20100138589A1 (en) Storage optimizations by directory compaction in a fat file system
JP2007189340A (en) Image display apparatus, image display method, and program
JP2011113594A (en) Content data reproduction device
EP2634706A2 (en) System and method for multimedia stream data searching and retrieval

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 518000, Guangdong, Nanshan District province Shenzhen software industry base, finance building, 12 floor

Applicant after: Staring (Shenzhen) technology Limited by Share Ltd

Address before: Longgang District of Shenzhen City, Guangdong province 518000 Bantian Street South pit community Reservoir Road 1 Cultural Street building two the four floor of No. 188-288

Applicant before: VYOU TECHNOLOGY CO., LTD.

COR Change of bibliographic data
RJ01 Rejection of invention patent application after publication

Application publication date: 20151104

RJ01 Rejection of invention patent application after publication