CN109862325A - A kind of USB flash disk camera system and its implementation - Google Patents

A kind of USB flash disk camera system and its implementation Download PDF

Info

Publication number
CN109862325A
CN109862325A CN201910152318.4A CN201910152318A CN109862325A CN 109862325 A CN109862325 A CN 109862325A CN 201910152318 A CN201910152318 A CN 201910152318A CN 109862325 A CN109862325 A CN 109862325A
Authority
CN
China
Prior art keywords
processing module
video
usb
flash disk
file
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
CN201910152318.4A
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.)
Zhuhai Haiqi Semiconductor Co Ltd
Original Assignee
Zhuhai Haiqi Semiconductor 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 Zhuhai Haiqi Semiconductor Co Ltd filed Critical Zhuhai Haiqi Semiconductor Co Ltd
Priority to CN201910152318.4A priority Critical patent/CN109862325A/en
Publication of CN109862325A publication Critical patent/CN109862325A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a kind of USB flash disk camera system, including simulation files system, which is the file system established in memory;Image processing module, the image processing module are used to receive raw image data from camera, and the raw image data is converted to and is damaged or lossless compression image formatted data;Video processing module, for treated damages or lossless compression image formatted data is converted to video formatted data and writes the simulation files system by image processing module;USB massive store agreement and driving are transferred to USB massive store host for receiving the request from USB massive store host and response, and by the video formatted data of simulation files system.The present invention increases without main control device supports UVC agreement and corresponding application software, can transmit and show real-time video information by the USB Mass Storage agreement and media player supported.

Description

A kind of USB flash disk camera system and its implementation
Technical field
The present invention relates to USB camera, especially a kind of USB flash disk camera system and its implementation.
Background technique
With the continuous development of contemporary electronic technology and universal, USB camera is also increasingly used in various occasions, Such as PC, vehicle device, monitoring host computer, plate etc..Since every kind of USB device requires to support corresponding agreement, so USB camera needs Support UVC (USB video Class) agreement, main control device needs UVC and application software to support, but many main control devices UVC agreement is not supported, so not being available USB camera.But all can many consumer main control devices (such as vehicle device) Support USB flash disk (USB Mass Storage) and video playback capability (Media Player).In addition, also there is USB flash disk camera system It is transmitted using the form of image file by USB, real-time is poor.
Summary of the invention
In order to solve the above technical problems, realizing USB without using UVC agreement the purpose of the invention is to realize Camera function and the good USB flash disk camera system and its implementation of real-time.
The technical solution adopted by the present invention is that:
A kind of USB flash disk camera system, including
Simulation files system, the simulation files system are the file system established in memory;
Image processing module, the image processing module are used to receive raw image data from camera, and will be described original Image data, which is converted to, to be damaged or lossless compression image formatted data;
Video processing module, for by image processing module treated damage or lossless compression image formatted data convert For video formatted data and write the simulation files system;
USB massive store agreement and driving, for receiving the request from USB massive store host and response, with And the video formatted data of simulation files system is transferred to USB massive store host.
Further, simulation files system described in the USB flash disk camera system includes formatted file and video file, the lattice Formula file is used to store the configuration information of camera, image processing module and video processing module;The video file is for depositing Store up the video formatted data of the video processing module write-in.
Further, the USB flash disk camera system further includes standard file system, and the standard file system is outer for accessing Portion stores equipment, and the video formatted data that described image processing module is converted is saved in the file of External memory equipment.
Wherein, the External memory equipment includes SD card or USB flash disk.
Further, the USB flash disk camera system further includes clock processing module, and the clock processing module is for periodically reading The configuration information of the formatted file storage is taken, and the corresponding configuration information of update is sent to camera, image processing module And video processing module.
A method of realizing USB flash disk camera system, it is characterised in that: include the following steps
S1, simulation files system is established;
S2, initialisation image processing module and video processing module;
S3, image processing module receive raw image data from camera, and the raw image data has been converted to Damage or lossless compression image formatted data;
Treated damages or lossless compression image formatted data is converted to by image processing module for S4, video processing module Video formatted data simultaneously writes the simulation files system;
S5, initialization USB massive store agreement and driving;
S6, the connection for establishing USB flash disk camera system and main control device;
S7, USB massive store agreement and the enumeration request of driving processing USB massive store host are until having enumerated At;
The request of simulation files system is read in S8, USB massive store agreement and driving response, reads simulation files system System data transmission to USB massive store host;
Video file content information is read in S9, USB massive store agreement and driving response, reads simulation files system Video formatted data is transferred to USB massive store host.
It further, further include initialization standard file system between the step S1 and S2, standard file system access is visited Ask External memory equipment.
Further, the step S4 further includes the video format number that standard file system converts described image processing module According in the file for being saved in External memory equipment.
Beneficial effects of the present invention:
The relatively traditional UVC related application of the present invention, the present invention is without main control device increase support UVC agreement and accordingly Real-time view can be transmitted and be shown to application software by the USB Mass Storage agreement and media player supported Frequency information.
Detailed description of the invention
A specific embodiment of the invention is described further with reference to the accompanying drawing.
Fig. 1 is the connection schematic diagram between USB flash disk camera system and main control device of the present invention.
Specific embodiment
As shown in Figure 1, be a kind of USB flash disk camera system of the invention, including
Simulation files system 1, the simulation files system 1 are the file system established in memory;
Image processing module 2, the image processing module 2 are used to receive raw image data from camera 5, and by the original Beginning image data, which is converted to, to be damaged or lossless compression image formatted data;
Video processing module 3, for by image processing module 2 treated damage or lossless compression image formatted data turn It is changed to video formatted data and writes the simulation files system 1;
USB massive store agreement and driving 4, for receiving the request from USB massive store host and response, with And the video formatted data of simulation files system 1 is transferred to USB massive store host.
Main control device applied by the corresponding present invention, including USB massive store host, file system, video Player and text editor, USB massive store host is for accessing external USB flash disk and reading data, and file system is for visiting Ask that the video formatted data asked in USB flash disk outside, video player are used to play the video formatted data that transmission comes.
As the further refinement of the technical program, simulation files system 1 described in the USB flash disk camera system includes format File and video file, the formatted file are used to store the configuration of camera 5, image processing module 2 and video processing module 3 Information;The video file is used to store the video formatted data that the video processing module 3 is written.
In addition, the USB flash disk camera system further includes standard file system 6, the standard file system 6 is outer for accessing Portion stores equipment, and the video formatted data that described image processing module 2 is converted is saved in the file of External memory equipment, As being locally stored for video formatted data.Wherein, the External memory equipment includes SD card or USB flash disk.
As the further improvement of the technical program, the USB flash disk camera system further includes clock processing module 7, described Clock processing module 7 is used to periodically read the configuration information of the formatted file storage, and the corresponding configuration information of update is sent out It send to camera 5, image processing module 2 and video processing module 3, in order to which modules obtain upgrading in favor of better work Make.
The invention also includes the technical solution with the same inventive concept of above system, i.e., a kind of realization USB flash disk camera system Method, it is characterised in that: include the following steps
S1, simulation files system 1 is established;
S2, initialisation image processing module 2 and video processing module 3;
S3, image processing module 2 receive raw image data from camera 5, and the raw image data is converted to It damages or lossless compression image formatted data;
S4, video processing module 3 by image processing module 2 treated damage or lossless compression image formatted data convert For video formatted data and write the simulation files system 1;
S5, initialization USB massive store agreement and driving 4;
S6, the connection for establishing USB flash disk camera system and main control device;
The enumeration request of 4 processing USB massive store host of S7, USB massive store agreement and driving is until having enumerated At;
The request of simulation files system 1 is read in S8, USB massive store agreement and 4 response of driving, reads simulation files system The system data transmission of system 1 is to USB massive store host;
Video file content information is read in S9, USB massive store agreement and 4 response of driving, reads simulation files system 1 Video formatted data be transferred to USB massive store host.
It further include initialization standard file system 6, standard text as the supplement of the above method, between the step S1 and S2 The access access External memory equipment of part system 6.
Correspondingly, the step S4 further includes the video format that standard file system 6 converts described image processing module 2 Data are saved in the file of External memory equipment.
The above description is only a preferred embodiment of the present invention, and the present invention is not limited to above embodiment, as long as with Essentially identical means realize that the technical solution of the object of the invention belongs within protection scope of the present invention.

Claims (8)

1. a kind of USB flash disk camera system, it is characterised in that: including
Simulation files system (1), the simulation files system (1) are the file system established in memory;
Image processing module (2), the image processing module (2) are used to receive raw image data from camera (5), and will be described Raw image data, which is converted to, to be damaged or lossless compression image formatted data;
Video processing module (3), for by image processing module (2) treated damage or lossless compression image formatted data turn It is changed to video formatted data and writes the simulation files system (1);
USB massive store agreement and driving (4), for receiving the request from USB massive store host and response, and The video formatted data of simulation files system (1) is transferred to USB massive store host.
2. a kind of USB flash disk camera system according to claim 1, it is characterised in that: the simulation files system (1) includes Formatted file and video file, the formatted file is for storing camera (5), image processing module (2) and video processing mould The configuration information of block (3);The video file is used to store the video formatted data of the video processing module (3) write-in.
3. a kind of USB flash disk camera system according to claim 1, it is characterised in that: it further include standard file system (6), The standard file system (6) is for accessing External memory equipment, and the video format that described image processing module (2) are converted Data are saved in the file of External memory equipment.
4. a kind of USB flash disk camera system according to claim 3, it is characterised in that: the External memory equipment includes SD Card or USB flash disk.
5. a kind of USB flash disk camera system according to claim 2, it is characterised in that: it further include clock processing module (7), The clock processing module (7) is used to periodically read the configuration information of formatted file storage, and by the corresponding configuration of update Information is sent to camera (5), image processing module (2) and video processing module (3).
6. a kind of method for realizing USB flash disk camera system, it is characterised in that: include the following steps
S1, simulation files system (1) is established;
S2, initialisation image processing module (2) and video processing module (3);
S3, image processing module (2) receive raw image data from camera (5), and the raw image data is converted to It damages or lossless compression image formatted data;
S4, video processing module (3) by image processing module (2) treated damage or lossless compression image formatted data convert For video formatted data and write the simulation files system (1);
S5, initialization USB massive store agreement and driving (4);
S6, the connection for establishing USB flash disk camera system and main control device;
S7, USB massive store agreement and the enumeration request of driving (4) processing USB massive store host are completed until enumerating;
The request of simulation files system (1) is read in S8, USB massive store agreement and driving (4) response, reads simulation files system Unite (1) system data transmission to USB massive store host;
Video file content information is read in S9, USB massive store agreement and driving (4) response, is read simulation files system (1) Video formatted data be transferred to USB massive store host.
7. realizing the method for USB flash disk camera system according to claim 6, it is characterised in that: between the step S1 and S2 It further include initialization standard file system (6), standard file system (6) access access External memory equipment.
8. realizing the method for USB flash disk camera system according to claim 6, it is characterised in that: the step S4 further includes mark The video formatted data that described image processing module (2) is converted is saved in the file of External memory equipment by quasi- file system (6) In.
CN201910152318.4A 2019-02-28 2019-02-28 A kind of USB flash disk camera system and its implementation Pending CN109862325A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910152318.4A CN109862325A (en) 2019-02-28 2019-02-28 A kind of USB flash disk camera system and its implementation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910152318.4A CN109862325A (en) 2019-02-28 2019-02-28 A kind of USB flash disk camera system and its implementation

Publications (1)

Publication Number Publication Date
CN109862325A true CN109862325A (en) 2019-06-07

Family

ID=66899471

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910152318.4A Pending CN109862325A (en) 2019-02-28 2019-02-28 A kind of USB flash disk camera system and its implementation

Country Status (1)

Country Link
CN (1) CN109862325A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105208267A (en) * 2015-08-25 2015-12-30 豪威科技(上海)有限公司 USB camera and USB camera identification method and system
CN107622541A (en) * 2017-08-08 2018-01-23 建荣半导体(深圳)有限公司 A kind of storage device, USB camera and its driving recording method, system
US20180098035A1 (en) * 2012-08-10 2018-04-05 Logitech Europe S.A. Wireless video camera and connection methods including multiple video or audio streams

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180098035A1 (en) * 2012-08-10 2018-04-05 Logitech Europe S.A. Wireless video camera and connection methods including multiple video or audio streams
CN105208267A (en) * 2015-08-25 2015-12-30 豪威科技(上海)有限公司 USB camera and USB camera identification method and system
CN107622541A (en) * 2017-08-08 2018-01-23 建荣半导体(深圳)有限公司 A kind of storage device, USB camera and its driving recording method, system

Similar Documents

Publication Publication Date Title
US7007127B2 (en) Method and related apparatus for controlling transmission interface between an external device and a computer system
US6128670A (en) Image input device employing a personal computercard/interface or generic interface
JPWO2006035738A1 (en) Host controller
US8266371B2 (en) Non-volatile storage device, host device, non-volatile storage system, data recording method, and program
JP2008547068A (en) USB-SD storage device having a plurality of DMA channels, storage method thereof and recording medium
US20040103242A1 (en) Solid state disk on module with high speed data transmission
CN114461541A (en) Chip data reading method, writing method, device, equipment and storage medium
US7409477B2 (en) Memory card having a processor coupled between host interface and second interface wherein internal storage code provides a generic interface between host interface and processor
US20070024607A1 (en) Monitor and extended display identification data (EDID) access method thereof
US20030146976A1 (en) Digital camera system enabling remote monitoring
US6728108B2 (en) Access device of memory card
CN101911035B (en) Bridge circuit interfacing a processor to external devices via memory address mapping
TW201344444A (en) Motherboard and data processing method thereof
CN109862325A (en) A kind of USB flash disk camera system and its implementation
WO2019196634A1 (en) Data processing method and apparatus
CN102207921B (en) Based on system and the method thereof of UASP protocol realization multiport Storage Media
US7212363B2 (en) Magnetic disk apparatus
CN210776642U (en) Automatic disk splicing device for multiple TF cards
CN100378638C (en) External MS memory card interface switching device
CN216623226U (en) Data storage circuit
US20090043945A1 (en) Non-Volatile Memory System and Method for Reading Data Therefrom
JP4513054B2 (en) Information terminal
US20230030967A1 (en) Storage device and method for controlling storage device
CN210222734U (en) Read-only lock for directly mounting apple computer into hard disk for data reading
CN113778925A (en) Method for reading and writing off-board RAM data through CPCI bus and off-board data reading and writing module

Legal Events

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

Application publication date: 20190607

RJ01 Rejection of invention patent application after publication