CN1277167C - Method for accomplishing multi-mode switch when a digital video is connected with a computer - Google Patents

Method for accomplishing multi-mode switch when a digital video is connected with a computer Download PDF

Info

Publication number
CN1277167C
CN1277167C CN 03156967 CN03156967A CN1277167C CN 1277167 C CN1277167 C CN 1277167C CN 03156967 CN03156967 CN 03156967 CN 03156967 A CN03156967 A CN 03156967A CN 1277167 C CN1277167 C CN 1277167C
Authority
CN
China
Prior art keywords
digital camera
computer
interface
computing machine
equipment
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.)
Expired - Fee Related
Application number
CN 03156967
Other languages
Chinese (zh)
Other versions
CN1525285A (en
Inventor
谢律
石红
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vimicro Corp
Original Assignee
Vimicro Corp
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 Vimicro Corp filed Critical Vimicro Corp
Priority to CN 03156967 priority Critical patent/CN1277167C/en
Publication of CN1525285A publication Critical patent/CN1525285A/en
Application granted granted Critical
Publication of CN1277167C publication Critical patent/CN1277167C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)

Abstract

The present invention relates to a method for realizing multi-mode conversion when a digital camera is connected with a computer. The method comprises the following procedures: a plurality of logic interfaces of different types are arranged in the USB interface module of a digital camera; different use modes, namely different use logic interfaces, are selected by a human-machine interface before the digital camera is connected with a computer; the digital camera sends corresponding configuration parameters to the computer according to the logic interface type which is selected for use; the computer identifies a mode in which the device works according to the configuration parameters for describing the device, which are sent by the digital camera. The digital camera can be selected to work in various modes as an independent mobile memory, an independent computer camera head, a compound device of a mobile memory and a computer camera head, etc. when the digital camera is connected with the computer by the method of the present invention. Users can conveniently make a choice according to self requirements.

Description

When linking to each other with computing machine, realizes digital camera the method that multi-mode is switched
Technical field
The present invention relates to the digital vedio recording field, particularly relate to a kind of digital camera that makes and when joining, realize the method that multi-mode is switched, it can be used as different equipment according to user's selection with computing machine.
Background technology
Along with the continuous development of digital vedio recording technology, various digital vedio recording products have begun to enter in a large number huge numbers of families.Digital camera can convert the scenery that photographs to digital format by inter-process and deposit in storage chip and needn't use film, and it can also be directly connected on computing machine, televisor or the printer, even under certain condition, digital camera can also directly be linked on mobile telephone or the handheld computer.With respect to traditional camera, the advantage of digital camera is apparent, and therefore, it more and more is subjected to liking of people.
Corresponding to digital camera, computer camera based on same image taking technology has also produced great impact power in the multimedia application field, and it can connect functions such as machine realization videophone, Web conference, dynamic video E-mail, computer shooting, picture editor, card making in conjunction with related software.
In addition, development along with data storage technology, the based semiconductor storage medium, such as flash memory (Flash Memory), the mobile storage means of technical design, fast, low in energy consumption with its writing speed, can plug at any time, removable, can store jumbo file and data, and do not need excellent performance such as specific mechanical hook-up drives and become the main flow of mobile storage product day by day, as various plug type portable hard drives.Chinese patent application 02114882.1 " supporting the semiconductor memory method and the device of multiple interfaces " also discloses a kind of semiconductor memory method and device of supporting multiple interfaces, is used for data handling system.
But, the function of above-mentioned these devices only is confined to use as a simple peripheral hardware memory storage, perhaps simple digital camera uses, do not realize the combination of various functions, when need realizing different functions, the user just need different devices to finish respectively, this is not only very inconvenient, and has caused the waste on the cost.
Though occurred double mode digital camera in the prior art, it both can be used as digital camera and had taken the open air picture recording of taking pictures to, caught splendid moment and fragment, also can be used as computer camera, connected machine and realized dynamic camera function.But computer camera and two kinds of purposes of plug type flash memory device are carried out combination, a device can be used as these two kinds of equipment respectively, even being further used as an equipment complex with this two kinds of functions combinations and realization simultaneously, digital camera of the prior art but still can not be finished.
In addition, along with development of Communication Technique, cell phone multimedia message sends and video communication also enters modern society's life day by day, if the user can or be pre-stored in image in the digital camera with the image taken, music, multimedia file such as animation and Flash directly is sent to devices such as mobile phone, perhaps with this digital camera as the mobile phone that can link to each other with mobile communication terminal with digital camera, can very big enjoyment concerning the cellphone subscriber, in addition, content of multimedia is because its data volume is relatively large, usually be not suitable for being stored in the mobile communication terminal, if a flash memory device that can be used for mobile phone is arranged, the user just can deposit in lot of data this device so, and needn't take the storage space of mobile phone.
Summary of the invention
The object of the present invention is to provide a kind of digital camera that makes to realize the method that multi-mode is switched, utilize this method, the user its with can select as required to use when computing machine joins as different equipment.
For satisfying above-mentioned purpose, the present invention proposes a kind ofly to realize the method that multi-mode is switched when digital camera is linked to each other with computing machine that it comprises the following steps:
A plurality of dissimilar logic interfacings are set in the usb interface module of digital camera;
Digital camera with select different use patterns promptly to select the logic interfacing of using by man-machine interface before computing machine connects;
Send corresponding configuration parameters according to selected use logic interfacing type digital camera to computing machine;
Which kind of mode of operation computing machine is by the configuration parameter of the description equipment that sends from described digital camera is discerned this device.
Wherein, when a plurality of dissimilar logic interfacing is set, one type logic interfacing wherein can be made as default interface in the USB interface device.
The contrast prior art the invention has the advantages that:
Pass through the method for the invention, digital camera can be selected as flash memory device independently when joining with computing machine, independently a plurality of patterns such as equipment complex of computer camera and flash memory device and computer camera are used, and the user can select easily according to the needs of oneself.
Above and other objects of the present invention, feature and advantage are from below in conjunction with accompanying drawing be not will become more obvious the specific descriptions of certain embodiments.
Description of drawings
Fig. 1 is the structure diagram of digital camera in the method for the invention.
Fig. 2 is the building-block of logic of the usb interface unit of digital camera in the method for the invention.
Fig. 3 is the operational diagram of usb interface unit and usb host when digital camera is as a flash memory device in the method for the invention.
Fig. 4 is the operational diagram of USB interface and usb host when digital camera is as a computer camera in the method for the invention.
Fig. 5 is the operational diagram of USB interface and usb host when digital camera is as the equipment complex of a flash memory device and computer camera in the method for the invention.
Embodiment
In the following description, known function or structure will no longer describe in detail, to avoid there be unnecessary obscuring with content of the present invention.
As shown in Figure 1, a digital camera, comprise: one is used to obtain the target image image pickup module 2 that line correlation handles of going forward side by side, a memory module 3 that is used for the data message that memory image acquisition module 2 or communication interface transmit, the main control module 1 controlling and coordinate described multimode NC shooting device 10 each several part operate as normal, a usb interface unit 6, wherein, in described usb interface unit 6, include interface section 8, a plurality of dissimilar logic interfacings are set in interface section 8; The different configuration parameters of usb interface module when providing 7 storages of a memory module to describe this device for different mode; A man-machine interface 4 of selecting this device for different mode is provided, and the user can utilize this man-machine interface unit 4 to use the selection of pattern by 1 pair of this device of main control module before device 10 of the present invention is pegged graft with principal computer 20.
In the standard of USB, the FPDP (endpoint) that all can include several different types in each USB device (device), these FPDP form different logic interfacing (interface), and each USB device is made of these different logic interfacings; The interface that is combined to form for ejusdem generis one group port, one or more interfaces form an equipment, if an equipment comprises more than one interface, and the parameter value of representing interface class (INTERFACE CLASS) and subclass (INTERFACE SUBCLASS) in the characterising parameter of these several interfaces is described these several interfaces inhomogeneous the time, and this equipment just can be referred to as equipment complex (composite device).Each USB device all has a cover configuration parameter to describe its logical device logic interfacing and FPDP, the configuration parameter that different USB device is corresponding different, the main control module is transferred to PC to these configuration parameters by the control port of standard, and what PC just can judge that USB connects by these parameters has been the equipment of what pattern.
In order to adapt to the requirement of various dissimilar peripherals, USB provides four kinds of different data transmission types: control (Control) mode transmits, synchronously (isochronous) mode (interrupt) mode that transmits, interrupts transmit, in a large number (bulk) transmit.Each equipment all must have and have the port of a CONTROL type to carry out the data stream of the STANDARD REQUESTS (standard commands) in the USB standard.
As shown in Figure 2, comprise 80, one MASS STORAGE of a Control (control) port (high capacity storage) interface 81 and a VENDOR SPECIFICED (User Defined) interface 84 in the method for the invention in the logical device of the usb segment 8 of digital camera.Wherein Control port 80 is default port endpoint0, be used to transmit configuration and control information, MASS STORAGE interface 81 contains a BULK IN port 82 and a BULK OUT port 83, this class interface is mainly used in a large amount of data that transmit and receive, under the situation that does not have again simultaneously to require bandwidth and interval time, in order to guarantee transmission, the logic interfacing when MASSSTORAGE interface 81 is used to as described device as flash memory device in the present invention.VENDOR SPECIFICED interface 84 contains an ISOCHRONOUS port 85 and an INTERRUPT port 86, the logic interfacing when VENDOR SPECIFICED interface 84 is used to described device in the present invention as computer camera.Usb host receives from Control port 80 and determines the end in the device description parameter of coming or the interface characterising parameter (descriptors) is that the equipment of what type is linked into system, and then loads the corresponding driving program.
As shown in Figure 3, the operational diagram of usb segment 8 during as a flash memory device for digital camera in the method for the invention 10.For portable hard drive, require two end points of OUT of an IN of hardware supported BULK type to carry out SCSI (Small Computer Systems Interface, small computer system interface) data stream of command set, the interface that these two end points form must be the MASSSTORAGE type of standard, so, relevant parameter such as INTERFACE CLASS CODE (interface type code) in the description of interface, SUBCLASS CODE (subtype code) and PROTOCL CODE (protocol code) must be defined as the types value of MASS STORAGE standard device, at this time, main frame just knows that present equipment is a USB MASS STORAGE CLASS DEVICE.In device of the present invention, with MASS STORAGE interface 81 as logic interfacing, in parameter configuration memory module 7, store characterising parameter value corresponding to this type interface, after device of the present invention and principal computer are pegged graft, CONTROL end points 80 transmits the standard request data, main frame has detected equipment and has inserted, and from the describing word that CONTROL end points 80 is sent, this equipment is judged as a flash memory device, the data stream of the scsi command between BULK IN end points 82 and 83 execution of BULK OUT end points and the usb host transmits, at this moment, main frame does not also know to have the existence of VENDORSPECIFICED interface 84, VENDOR SPECIFICED interface 84 is not carried out any operation yet, main frame loads the driver of flash memory device, described equipment as one independently portable hard drive move, jpeg file (still picture) and avi file (shooting that the MOTIONJPEG file is just said usually) that the user takes have been preserved with the form of file in the inside, and the user at this time can operate device of the present invention as a common hard disk.
When the user wants with described digital camera that independently computer camera uses as one, it selects equipment mode by man-machine interface 4, send request to main control module 1, it is VENDOR SPECIFICED interface 84 that main control module 1 will be installed needed interface conversion, as shown in Figure 4, and when PC sends standard request control CONTROL port transmission configuration parameter corresponding, CONTROL end points 80 transmission standard/User Defined request data stream, an ISOCHRONOUS end points 85 transmits real-time view data, an INTERRUPT end points 86 is reported accident, the interface that these two end points form is the interface of a VENDORSPECIFICED type, at this moment, main frame does not also know to have the existence of MASS STORAGE interface 81, MASS STORAGE interface 81 is not carried out any operation yet, main frame loads the driver of computer camera, described equipment as one independently computer camera move, as a monitor, can clap JPEG and avi file to the display of PC.
When the user wants described digital camera used as the equipment complex of a flash memory device and computer camera, it switches to corresponding mode of operation with man-machine interface 4, at this moment, this just requires two dissimilar interfaces as top two kinds of equipment, main control module 1 provides the configuration parameter of corresponding description equipment, and the INTERFACE NUMBER in the device description (interface number) is configured to 2.As shown in Figure 5, MASS STORAGE interface 81 and VENDOR SPECIFICED interface 84 all can be discerned by main frame, and carry out separately and operate accordingly, main frame loads the driver of flash memory device and computer camera simultaneously, described equipment moves as the equipment complex of a flash memory device and computer camera, that is to say, can be when being connected simultaneously as portable hard drive and computer camera with PC, the user can operation hard disk limit, limit sees the real-time image from digital camera lens.
In addition, owing to need prepare different drivings for different equipment, computing machine could be identified as different USB device to this device, therefore described digital camera is that different equipment has been prepared different PID (product identifiers), this pid value is a parameter in the device description, expression PRODUCT INDEX (product ID), in the ENUMERATE of computer Recognition equipment (enumerating) process, described digital camera provides different pid values, according to this different PID, computing machine will be installed different drivers, different driver correspondences different USB device, the user just can operate this digital camera as different USB device.
Of the present inventionly when being linked to each other with computing machine, realizes digital camera the method that multi-mode is switched, be not restricted to listed utilization in instructions and the embodiment, it can be applied to various suitable the present invention's field fully, for those skilled in the art, can easily realize additional advantage and make amendment, therefore under the situation of the spirit and scope of the universal that does not deviate from claim and equivalency range and limited, the examples shown that the present invention is not limited to specific details, representational equipment and illustrates here and describe.

Claims (2)

1, a kind ofly realize the method that multi-mode is switched when digital camera is linked to each other with computing machine, it is characterized in that, comprising:
A plurality of dissimilar logic interfacings are set in the usb interface module of digital camera;
Digital camera with select different use patterns promptly to select the logic interfacing of using by man-machine interface before computing machine connects; The described different choice pattern that provides comprises single equipment pattern and equipment complex pattern;
Send corresponding configuration parameters according to selected use logic interfacing type digital camera to computing machine;
When the user selects the equipment complex pattern, the main control module of digital camera provides configuration parameter corresponding in the configuration parameter module to computing machine, wherein configuration parameter comprises interface number of parameters and the product identifiers parameter of representing distinct device at least, and pluralize interface number parameter configuration this moment;
Computing machine is installed different drivers by the configuration parameter of the description equipment that sends from described digital camera being discerned this device for which kind of mode of operation and according to the product identifiers parameter.
2, method according to claim 1 is characterized in that, when a plurality of dissimilar logic interfacing is set in usb interface module, one type logic interfacing wherein can be made as default interface.
CN 03156967 2003-06-03 2003-09-16 Method for accomplishing multi-mode switch when a digital video is connected with a computer Expired - Fee Related CN1277167C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 03156967 CN1277167C (en) 2003-06-03 2003-09-16 Method for accomplishing multi-mode switch when a digital video is connected with a computer

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN03137249 2003-06-03
CN03137249.X 2003-06-03
CN 03156967 CN1277167C (en) 2003-06-03 2003-09-16 Method for accomplishing multi-mode switch when a digital video is connected with a computer

Publications (2)

Publication Number Publication Date
CN1525285A CN1525285A (en) 2004-09-01
CN1277167C true CN1277167C (en) 2006-09-27

Family

ID=34314811

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 03156967 Expired - Fee Related CN1277167C (en) 2003-06-03 2003-09-16 Method for accomplishing multi-mode switch when a digital video is connected with a computer

Country Status (1)

Country Link
CN (1) CN1277167C (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100750117B1 (en) 2005-01-19 2007-08-21 삼성전자주식회사 Method and apparatus for setting the class of USB device
CN100419640C (en) * 2006-12-08 2008-09-17 北京中星微电子有限公司 Method and system to realize selectivity standby of complex apparatus
CN101150655B (en) * 2007-10-30 2010-04-21 深圳华为通信技术有限公司 A media displaying method and a TV terminal
US8953797B2 (en) * 2012-02-27 2015-02-10 Gvbb Holdings S.A.R.L. Configuring audiovisual systems
CN109992317A (en) * 2019-04-12 2019-07-09 苏州浪潮智能科技有限公司 A kind of TPM initial method and relevant apparatus

Also Published As

Publication number Publication date
CN1525285A (en) 2004-09-01

Similar Documents

Publication Publication Date Title
US8639812B2 (en) Apparatus and system for managing multiple computers
CN1304969C (en) Image-display system and method, image-display program, projector and projector-control method, and projector-control program
JP5036702B2 (en) Multiple computer management apparatus and system
CN102591493B (en) Mouse cursor synchronization method for internet protocol K virtual machine (IPKVM) system
CN102694980A (en) Mobile terminal, and remote control system and remote control method of mobile terminal camera
CN101395656A (en) Image control apparatus and image control method
CN1779634A (en) Device and method for enhancing output display of portable apparatus
US20070233921A1 (en) Data transfer device and data transfer system
CN110971855A (en) DVR system and method based on USB Type-C interface
JP2002325239A (en) Data conference system and data conference terminal, and storage medium for storing data conference program
CN1277167C (en) Method for accomplishing multi-mode switch when a digital video is connected with a computer
JP2000341572A (en) Digital camera
JP4578794B2 (en) MULTISYSTEM, DATA STORAGE ACCESS DEVICE, AND DATA STORAGE ACCESS METHOD
CN100553305C (en) Television set image scaling apparatus
CN2712005Y (en) Multi-mode digital video camera device
CN1525340A (en) Multimode digital video device
US6496196B2 (en) Information recording and replaying apparatus and method of controlling same
CN1512764A (en) Multifunctional digital camera shooting device and method
US20030221040A1 (en) Data transfer system
CN2854700Y (en) Radio filmslide player based on embedded system
CN1520156A (en) Multi purposes digital camera device
CN100339851C (en) System and method of realizing remote electronic photo album
CN111683077B (en) Virtual reality equipment and data processing method
JPH04295947A (en) Computer having bus which can perform dynamic allotment
CN1208950C (en) Multi functional digital camera device having application program and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20060927

Termination date: 20120916