CN100508519C - Recording system, recording apparatus, and control method thereof - Google Patents
Recording system, recording apparatus, and control method thereof Download PDFInfo
- Publication number
- CN100508519C CN100508519C CNB038188015A CN03818801A CN100508519C CN 100508519 C CN100508519 C CN 100508519C CN B038188015 A CNB038188015 A CN B038188015A CN 03818801 A CN03818801 A CN 03818801A CN 100508519 C CN100508519 C CN 100508519C
- Authority
- CN
- China
- Prior art keywords
- image generator
- layer
- communication protocol
- image
- communication
- 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
Links
- 238000000034 method Methods 0.000 title claims description 36
- 238000004891 communication Methods 0.000 claims abstract description 112
- 238000012545 processing Methods 0.000 claims description 18
- 230000008859 change Effects 0.000 claims description 5
- 239000003550 marker Substances 0.000 description 36
- 238000007639 printing Methods 0.000 description 20
- 230000006870 function Effects 0.000 description 19
- 230000008569 process Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 8
- 230000004044 response Effects 0.000 description 6
- KLDZYURQCUYZBL-UHFFFAOYSA-N 2-[3-[(2-hydroxyphenyl)methylideneamino]propyliminomethyl]phenol Chemical compound OC1=CC=CC=C1C=NCCCN=CC1=CC=CC=C1O KLDZYURQCUYZBL-UHFFFAOYSA-N 0.000 description 5
- 241001269238 Data Species 0.000 description 5
- 201000001098 delayed sleep phase syndrome Diseases 0.000 description 5
- 208000033921 delayed sleep phase type circadian rhythm sleep disease Diseases 0.000 description 5
- 238000006243 chemical reaction Methods 0.000 description 3
- 238000012790 confirmation Methods 0.000 description 3
- 239000004973 liquid crystal related substance Substances 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000004140 cleaning Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000009792 diffusion process Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- JEIPFZHSYJVQDO-UHFFFAOYSA-N ferric oxide Chemical compound O=[Fe]O[Fe]=O JEIPFZHSYJVQDO-UHFFFAOYSA-N 0.000 description 1
- 238000003702 image correction Methods 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/00127—Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture
- H04N1/00278—Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture with a printing apparatus, e.g. a laser beam printer
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/90—Buffering arrangements
- H04L49/9063—Intermediate storage in different physical parts of a node or terminal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N2201/00—Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
- H04N2201/0008—Connection or combination of a still picture apparatus with another apparatus
- H04N2201/0015—Control of image communication with the connected apparatus, e.g. signalling capability
- H04N2201/0027—Adapting to communicate with plural different types of apparatus
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N2201/00—Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
- H04N2201/0008—Connection or combination of a still picture apparatus with another apparatus
- H04N2201/0034—Details of the connection, e.g. connector, interface
- H04N2201/0046—Software interface details, e.g. interaction of operating systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N2201/00—Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
- H04N2201/0077—Types of the still picture apparatus
- H04N2201/0084—Digital still camera
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N2201/00—Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
- H04N2201/32—Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
- H04N2201/3201—Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
- H04N2201/3204—Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title of data relating to a user, sender, addressee, machine or electronic recording medium
- H04N2201/3205—Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title of data relating to a user, sender, addressee, machine or electronic recording medium of identification information, e.g. name or ID code
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Multimedia (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
- Communication Control (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
A physical layer which depends on hardware of a general-purpose interface determines whether an image supply device supports a predetermined communication protocol. A transport layer which controls communication as an upper layer of the physical layer determines whether the image supply device supports the predetermined communication protocol. When either of the physical and transport layers determines that the image supply device supports the predetermined communication protocol, the image supply device is decided to support the predetermined communication protocol. When both of the physical and transport layers do not determine that the image supply device supports the predetermined communication protocol, an application layer serving as an upper layer of the transport layer determines whether the image supply device supports the predetermined communication protocol.
Description
Technical field
The present invention relates to a kind of based on Imagery Data Recording record images system, recording equipment and control method thereof from the image generator of for example digital camera.
Background technology
Recent years, can become the digital camera (image sensing apparatus) of DID to be widely used by the simple operations photographic images and with the image transitions of taking.For print by the image of this camera and with this printing as photo, captured DID temporarily is input to PC (computer) from digital camera, and carries out image processing by PC.Then, handled data are outputed to the color printer of print image data from PC.
On the contrary, developed the color printing system that the intervention that can be directly DID is sent to color printer and need not PC from digital camera just can print data, and direct (PD) printer of photo that storage snaps into color printer and prints the image that is stored in the shooting in the storage card can directly be installed, described storage card is installed in the digital camera and stores the image of sensing.
Especially when view data directly is sent to printer and is printed from digital camera, because the standard of digital camera is different with method of operation between different dealers, therefore need appearance can handle the photo direct printer of various dealers' digital camera.This photo direct printer not only receives and prints the view data from digital camera above-mentioned, and receives and print the view data from cell phone, PDA and miscellaneous equipment.In addition, this printer has various functions.This printer must confirm with the image generator whether they can intercom mutually according to predetermined communication protocol.
In confirming the process that whether can communicate, must prepare special-purpose order or the like in accordance with new communication protocol.Under the situation that does not change existing rule (PTP (picture transportation protocol) etc.), whether very difficult affirmation can communicate.
Summary of the invention
The present invention considers that above-mentioned situation makes, and its register system, recording equipment and control method thereof that a kind of communication function that can confirm the image generator that connected fast is provided is as its feature.
According to the present invention, a kind of recording equipment is provided, it is connected to the image generator by general-purpose interface, receives view data from the image generator, and recording image data, and it comprises:
Be used for making the physical layer of the hardware that depends on general-purpose interface to determine whether the image generator supports first of predefined communication protocol to determine device;
Be used for making as the transport layer of the upper strata control communication of physical layer and determine whether the image generator supports second of the communication protocol of being scheduled to determine device; With
Control device, be used for when described first and second any one that determine devices determine that described image generator is supported predefined communication protocol, judge this image generator support predefined communication protocol, and be used for when described first and second determine that device does not all determine that described image generator is supported predefined communication protocol, making the application layer on the upper strata of serving as transport layer determine whether the image generator supports predefined communication protocol.
From the description below in conjunction with accompanying drawing, other features and advantages of the present invention will be more obvious, and wherein same reference numeral refers to identical and similar parts in its drawings attached.
Description of drawings
The accompanying drawing that is contained in the specification and constitutes a specification part has shown embodiments of the invention, and comes together to explain principle of the present invention with specification.
Fig. 1 has described the perspective illustration of PD printer according to an embodiment of the invention;
Fig. 2 has described the schematic diagram according to the control panel of the PD printer of this embodiment;
Fig. 3 is the block diagram that shows according to this embodiment critical piece configuration relevant with control PD printer;
Fig. 4 is the block diagram of demonstration according to the ASIC configuration of the PD printer of this embodiment;
Fig. 5 is the block diagram of demonstration according to the configuration of the digital camera of this embodiment;
Fig. 6 has described the PD printer that comprises CDPS and the interface of digital camera and the concept map of software arrangements that is used for explaining according to this embodiment;
Fig. 7 is the flow chart that is used for explaining the CDPS signal procedure affirmation processing of carrying out according to this embodiment in the PD printer; With
Fig. 8 has described and has been used for being undertaken by the PTP in the step S9 of Fig. 7 the view of CDPS service discovering (CDPS_ServiceDiscovery).
Embodiment
Describe the preferred embodiments of the present invention below with reference to the accompanying drawings in detail.
Fig. 1 has described the perspective illustration of photo direct printer (after this being called the PD printer) 1000 according to an embodiment of the invention.PD printer 1000 has printing and receives the common PC printer function of print data and print directly from this view data of getting of storage medium of for example storage card or print directly the function of the view data that receives from digital camera from master computer (PC).
With reference to figure 1, according to this embodiment, the main body that constitutes the frame of PD printer 1000 has lower casing 1001, upper casing 1002, outlet cap 1003 (access cover) and as the discharge dish 1004 of external component.Lower casing 1001 has almost constituted the latter half of PD printer 1000, and upper casing 1002 has almost constituted the first half of main body.By making up these shells, formed the hollow structure of memory space with the mechanical device that will describe the storage back.Opening is formed at respectively on the top and anterior face of main body.An end portion of discharge dish 1004 rotatably supported by lower casing 1001, and coils 1004 Unscrew/the close opening on the front surface that is formed on lower casing 1001.Therefore, in case allow printer carry out print processing, discharge dish 1004 is rotated towards front surface side and opens this opening, so that type face can be discharged from this opening.The type face of being discharged is overlayed on the discharge dish 1004 successively.Discharge dish 1004 has two bracket panel 1004a and 1004b.When these bracket panels were extracted out as required, the loading zone of type face can be exaggerated/reduce by three strides.
An end portion of outlet cap 1003 is rotatably supported by upper casing 1002 so that can opening/closing be formed at the opening of main body upper surface.When outlet cap 1003 is opened, can changes and be contained in the interior printhead assembly (not shown) of main body, print cartridge (not shown) etc.Though do not illustrate, when outlet cap 1003 opening/closings, be formed at the ledge swivelling cover opening/closing lever that covers on 1003 the rear surface.By using the position of rotation of detection levers such as micro switch, can detect the opening/closing state of flap.
Fig. 2 has described the schematic diagram according to the control panel 1010 of the PD printer 1000 of this embodiment.
With reference to figure 2, liquid crystal display 1006 shows the menu entries that is used for being provided with the data relevant with the clauses and subclauses name of 1006 the left and right sides printing in the unit.For example comprise first number that to print or the image sets (appointment of start frame appointment/print frame) of specifying frame number in these shown clauses and subclauses, last number (end) of the image sets of printing, the umber of printing (duplicating quantity), the type (paper type) of employed paper (type face) in print processing, the setting (layout) of the quantity of the photo that will print on every type face, the appointment of print quality (quality), relevant appointment (date printing) of whether printing shooting date, relevant appointment (image correction) of whether printing revised photo, the demonstration of the quantity of the type face that print processing is required (number of print pages), or the like.Select or specify these clauses and subclauses by using cursor key 2001.Reference marker 2002 is represented mode key.Whenever by this key once, just can change the type (index prints, all frames are printed, the single frames printing, etc.) of printing, and light a corresponding LED 2003 according to selected printing type.Reference marker 2004 representatives are used for safeguarding the key of safeguarding of printer (for example cleaning printhead).The printing initiating key that reference marker 2005 representatives are maybe pushed when being provided with when the decision maintenance when indication beginning print processing.The printing cancel key that reference marker 2006 representatives are pushed when cancelling print processing or safeguarding.
Describe and configuration below with reference to Fig. 3 according to the relevant major part of the control of the PD printer 1000 of this embodiment.Note, the common means in Fig. 3 in identical reference marker representative and the accompanying drawing in the above, and omit description to it.
With reference to figure 3, reference marker 3000 is represented controller (control board).Reference marker 3001 is represented ASIC (special-purpose customization LSI).The back will be described the configuration of ASIC 3001 with reference to the block diagram of figure 4.Reference marker 3002 is represented DSP (digital signal processor), and it comprises CPU, and carries out described various controls in back and the image processing such as be transformed into carrier chrominance signal (CMYK), convergent-divergent, gamma conversion, error diffusion from luminance signal (RGB).Reference marker 3003 is represented memory, and it has the storage area that serves as the program storage 3003a that is used for storing the control program that the CPU by DSP 3002 carries out, and is used for the RAM district of storage running program and is used for the working region of storing image data etc.Reference marker 3004 is represented Printer Engine. and in this embodiment, printer configuration has the Printer Engine of the ink-jet printer of the ink printed coloured image that uses multicolour.Reference marker 3005 is represented the USB connector as the port that is used for connecting digital camera 3012.Reference marker 3006 representatives are used for connecting the connector of browser 1011.Reference marker 3008 is represented usb hub (USB HUB).When PD printer 1000 when carrying out print processing from the view data of PC 3010, usb hub 3008 allows to pass through from the data that PC 3010 receives, and via USB 3021 these data is outputed to Printer Engine 3004.In this mode, the PC 3010 that is connected to printer can carry out print processing (printer serves as common PC printer) by waiting with Printer Engine 3004 direct swap datas, signal.Reference marker 3009 is represented power connector, the dc voltage that its output is come from commercial AC power conversions by power supply 3011.PC3010 is common personal computer.The storage card of being mentioned above reference marker 3011 representatives (PC card); 3012 represent digital camera (DSC:Digital Still Camera).
Note, between controller 3000 and Printer Engine 3004, come switching signal by USB3021 or IEEE1284 bus 3022.
Fig. 4 is the block diagram that shows the configuration of ASIC 3001.In Fig. 4, identical reference marker is represented the parts identical with top accompanying drawing, and the descriptions thereof are omitted equally.
Reference marker 4001 is represented the PC card, and it is used for reading the view data that is stored in the PC card 3011 that is inserted, and data are write in the PC card 3011.Reference marker 4002 is represented the IEEE1284 interface, and it is used for and Printer Engine 3004 swap datas.IEEE1284 interface 4002 is buses of using when printing is stored in view data in digital camera 3012 or the PC card 3011.Reference marker 4003 is represented USB interface, and it is used for and PC 3010 swap datas.Reference marker 4004 is represented the usb host interface, itself and digital camera 3012 swap datas.Reference marker 4005 is represented the control panel interface, and it receives various operation signals from control panel 1010, and the output video data is waited until display unit 1006.Reference marker 4006 is represented browser interface, and it is controlled at the demonstration of the view data on the browser 1011.The interface that is connected with various switches, LED 4009 etc. is controlled in reference marker 4007 representatives.Reference marker 4008 is represented cpu i/f, itself and DSP 3002 swap datas.Reference marker 4010 is represented internal bus (ASIC bus), and it links to each other with these interfaces.
Fig. 5 is the block diagram of demonstration according to the typical arrangement example of the DSC 3012 of this embodiment of the invention.In the digital camera of the PD printer 1000 in can being connected to this embodiment, some device does not possess display 2700 (back will be described).
With reference to figure 5, the CPU of the whole DSC of reference marker 3100 representative controls; The ROM of the processing sequence of mark 3101 representative storage CPU 3100.Reference marker 3102 representatives are as the RAM of the working region of CPU3100; Mark 3103 representatives are used for carrying out the switches set of various operations, and comprise various switches, cursor key or the like.LCD 2700 is used for confirming the image of sensing and shows menu when carrying out various the setting.Reference marker 3105 representatives mainly comprise the optical unit of lens and drive system thereof.Reference marker 3106 is represented the CCD element; Mark 3107 representatives drive and control the driver of optical unit 3105 under the control of CPU.Reference marker 3108 representatives are used for connecting storage medium 3109 (compact flash
TMStorage card, smart media card or the like) connector; Mark 3110 representative is used for connecting the USB interface (the slave unit side of USB) of PC or the PD printer 1000 of this embodiment.
In this embodiment, main example connect the situation that PD printer 1000 and DSC3012 print therein.The purpose of present embodiment provides a kind of PD printer, its can connect each dealer's digital camera and such as the device (DSPD:Digital Still Photography Device (digital still photographic equipment)) of cell phone and memory device to for example image output device of PD printer 1000, and can print based on the view data of obtaining from these devices.Below description is used for connecting PD printer 1000 and the communication protocol of these DSPD to print according to this embodiment.Present embodiment has been advised a kind of new CDPS (the direct print service of Canon), and wherein, the Control on Communication between PD printer and DSPD is undertaken by using general file and general format, and no matter its interface how.
The principle of print service function is employed in the agreement of the various comnnnication protocol structure (for example, USB PTP (rest image class) and mass storage class, bluetooth OBEX and Upnp) that are used between DSPD and the image output device.Print service function is one group of execution function in application layer, and it does not also rely on various interface.
Fig. 6 has described the hierarchy view that shows the interface function when being connected as the DSC 3012 of typical DSPD with as the PD printer 1000 of typical image output equipment.
With reference to figure 6, reference marker 600 and 603 is represented applying portion; Mark 601 and 602 representatives are used for the physical layer of USB I/F and bluetooth.DSC 3012 and PD printer 1000 comprise that respectively applying portion 600 and 603 is to make up the CDPS system.The CDPS system postulation is installed the structure such as the PTP and the BIP of protocol layer and file system in MSC (mass storage class), as 601 and 602 represented.The entity of print service function is present in applying portion 600 and 603, and print service function is performed by the part that therein CDPS is converted to every kind of agreement.
In this mode, directly print service can realize between DSC 3012 and PD printer 1000, and regardless of physical interface how.
Fig. 7 shows in this embodiment, confirms whether to support between PD printer 1000 and DSC 3012 process chart of communication protocol CDPS.Fig. 8 describes and to be used for the view handled among the step S9 of key-drawing 7.Before the processing of describing Fig. 7, the affirmation that is used for communication protocol CDPS business in the key-drawing 8 is handled.
In 1402, printer 1000 distributes as a kind of resource DSC 3012 in OpenSession.If desired, issue is used for distributing handle to give data object or carries out the startup request of specific initialized program.If DSC 3012, then begins PTP communication as affirmation (OK) is returned in this response.1403, if handle (GetObjectHandles) (memory I D:FFFFFF from DSC 3012 all script format of request, object type: script), so just return the tabulation (ObjectHandleArray 1404) of all handles of being held by DSC 3012.1405, obtain the information of relevant i object handle (handle i) (i=1 is to n (n is a handle number)) from PD printer 1000.1406, obtain i object (object i data).If this object comprises the password (for example, " Marco ") of the sign of representing DSC3012, PD printer 1000 is just in 1407 given transmission object information (SendObjectInfo) so.If receive the confirmation (OK) in response to this, this object just is transferred to DSC 3012 by SendObject from PD printer 1000 so.This object comprises that for example conduct is to " Pole " of the password (key) of the response of key above-mentioned.Thereby, can judge between PD printer 1000 and DSC 3012 whether PD printer 1000 and DSC 3012 support CDPS.
In the above example, must return " Marco " (password) in response to " GetObiect i " at DSC 3012 and search for all images file of being held by DSC 3012 before.When holding a lot of image file, PD printer 1000 need take a long time and receive " Marco ".
For example, when the storage card of camera 3012 stored great amount of images data (object), the attribute of All Files that must confirm to comprise view data was to set up script handle list.After this, only need set up the script handle of script file.Need take a long time and notify printer 1000 these script handle list.Camera 3012 and printer 1000 confirm whether they have the time of the communication function that meets predefined communication protocol with elongated.
In order to prevent this situation, adopt communication function that a kind of image generator (being DSC 3012 in this case) that can confirm to be connected to PD printer 1000 fast is provided in the following method and printer and the control method thereof that is transformed into this communication pattern.
Whether can be transformed into predetermined communication mode and be that each layer in a plurality of hierarchical layer that realize the interface between PD printer 1000 and the DSC3012 determine.When in any hierarchical layer, confirming to determine to change, immediately mode switch is arrived this communication pattern by result according to affirmation.At this moment, carry out affirmation from lower floor successively.If determine and to change, so just use the password in the above-mentioned application layer finally to carry out affirmation.
Fig. 7 be show in this embodiment PD printer 1000 and DSC 3012 between whether support the affirmation process chart of communication protocol CDPS.In this example, PD printer 1000 and DSC 3012 couple together by USB interface.
At step S1,, so just set up USB I/F if PD printer 1000 and DSC 3012 are coupled together by USB cable.
Issue GetStringDescriptor orders device (DSC3012) information that obtains in USB I/F.This device (DSC 3012) returns manufacturer (producer) and ProductName (product) in response to the GetStringDescriptor order.
At step S2, determine with ProductName whether the DSC 3012 that is connected supports communication protocol CDPS based on the manufacturer's name that is included in the string, this string is with index 1 and 2 (index 1, index 2) expression manufacturer (producer) and ProductName (product) by the USB interface definition.Support CDPS if determine DSC 3012, flow process advances to the next CDPS that sets of step S3 and supports sign in memory 3003 so, and proceeds to step S4.If be NO in step S2, flow process advances to step S4 from step S2 so.
At step S4, foundation is communicated by letter as the PTP on the upper strata of USB I/F layer (601 among Fig. 6 and 602).Flow process advances to step S5 and issues " GetDeviceInfo " to DSC 3012.Based on the manufacturer's name and the ProductName (comprising version) that are included in response to " GetDeviceInfo " " manufacturer ", " model " " device version " from " DeviceInfoDataset " that DSC 3012 returns and " sequence number " definite DSC 3012 that is connected etc.And determine based on this manufacturer's name and ProductName whether the DSC 3012 that is connected supports above-mentioned communication protocol CDPS.
As a kind of definite method, can determine whether the information of returning comprises book character string, code or the like, and whether the quantity of character is the quantity of being scheduled to, or whether the content of returning has changed repeatedly.
Support CDPS if determine DSC 3012, flow process advances to step S6 and supports sign to set CDPS in memory 3003 so, and advances to step S7.If at step S5 is NO, then flow process advances to step S7 from step S5.
At step S7, determine the CDPS in memory 3003 supports whether sign is ON, if be YES in step S7, flow process advances to step S8 with the communication of beginning based on CDPS so.
If determine that at step S7 the CDPS in memory 3003 supports to be masked as OFF, promptly, corresponding information above-mentioned is not at the string that is obtained, such as being described in the order of the GetStringDescriptor among the USB I/F, corresponding information perhaps above-mentioned is not included among " the DeviceInfo Dataset " according to PTP, and flow process advances to step S9 and determines by the PTP agreement whether DSC 3012 supports CDPS so.If be YES in step S10, flow process advances to step S8 with the communication of beginning based on CDPS so; If be NO, finish to confirm to handle, and do not enter the CDPS communication pattern.
CDPS in USB I/F supports to confirm not to be based on and is based on the information of using for example other order of GetVendorDescriptor to obtain by GetStringDescriptor order acquired information and carries out.
In this embodiment, confirm in physics except application layer and transport layer, to carry out.Yet, always confirm in this is two-layer, not carry out, also can in any layer, carry out, as long as finish before being confirmed to be affirmation in application layer, and can skip affirmation in the application layer.As confirmation method, can also adopt other method.
[second embodiment]
In first embodiment, be confirmed to be and in constituting a plurality of hierarchical layer of interface, carry out.In a second embodiment,
1, at least one hierarchical layer, be confirmed to be indispensable, and
2, in this case, be subjected to the lowermost layer of many hardware constraints, that is, being confirmed to be in the USB interface in the above-described embodiments is dispensable.
More particularly, in first embodiment, whether can be transformed into CDPS and in physics, transmission and application layer, check.If, so just be omitted in the inspection in the application layer, and mode switch is to the CDPS pattern by in the layer lower, checking final definite CDPS of support among the step S7 at Fig. 7 than application layer.On the contrary, in a second embodiment, if determine among step S3 in Fig. 7 example or the step S5 to be transformed into CDPS, flow process directly advances to step S8 to enter into the CDPS pattern so.
By this set, can use less installation to bear and stably realize connecting at a high speed, kept development and extensibility in the future simultaneously.
[the 3rd embodiment 1
In first and second embodiment, because PD printer 1000 serves as usb host, so carry out affirmation by printer 1000.In the USB-OTG that serves as main frame such as DSC 3012 (On The Go) system, above-mentioned relation is opposite.In this case, DSC 3012 confirms whether can be transformed into CDPS.
Just, in the 3rd embodiment, the position of PD printer 1000 and DSC 3012 is exchanged in Fig. 8.The flow chart of Fig. 7 is used as the processing of DSC 3012 and explains.
In first to the 3rd embodiment, the PTP agreement is used to USB interface, but the present invention is not limited thereto.For example, in by WLAN connection or SCSI connection, before application program confirms whether support CDPS, also can confirm whether support CDPS by interface hardware and the module of in interface, carrying out such as the bluetooth among Fig. 6.
The present invention can be applied to comprise multiple arrangement (for example, master computer, interface arrangement, reader, printer) or the system of the equipment (for example, photocopier or facsimile equipment) that is made of single assembly.
Purpose of the present invention can also be used for realizing that the storage medium (or recording medium) of software code of the function (processing of carrying out at the photograph pusher side and the various print processing of carrying out in printer side) of the foregoing description is provided for system or equipment in storage, and the computer of this system or equipment (or CPU or MPU) is achieved when reading and carrying out the program code that is stored in this storage medium.In this case, the program code that reads from storage medium is realized the function of the foregoing description, and program code stored storage medium has constituted the present invention.When carrying out the program code that reads, realizes by computer the function of the foregoing description.And, when operation on computers OS operating parts such as (operating systems) or all during based on the actual treatment of the instruction of this program code, realized the function of the foregoing description.
When the program code that reads from storage medium is written in the memory that is inserted into the function expansion card in the computer or is connected in the memory in the functional expansion unit of computer, and the CPU operating part of function expansion card or functional expansion unit or all can further realize the function of the foregoing description during based on the actual treatment of this code instructions.
As mentioned above, according to each embodiment, image generator (for example, camera) and be connected such as the printing device of printer.View data is transferred to printing device from the image generator and is printed.In this configuration, before application layer is confirmed whether to support predefined communication protocol, in the physical layer that depends on interface hardware or depend in the transport layer of communication protocol and confirm whether image generator and printing device support the communication protocol of being scheduled to.Support this communication protocol if in physics or transport layer, confirm image generator and printing device, just can omit the affirmation of application layer and handle.
Thereby, can confirm rapidly whether image generator and printing equipment support predefined communication protocol.
These embodiment adopt the affirmation in depending on the physical layer of hardware to handle, can realize quick affirmation, but have low degree-of-freedom that the affirmation in application layer is handled has the high degree of freedom, but need the long affirmation time, and the affirmation in transport layer is between physical layer and the application layer.If the affirmation of finishing in the layer lower than application layer before the affirmation of application layer is handled is handled, the affirmation that so just can be omitted in the application layer is handled.
Especially, spend than confirming that the longer time of all object handles uses the PTP agreement to confirm whether can communicate by predetermined communication protocol in application layer.
According to the present invention, by confirm whether can communicate by above-mentioned communication protocol in the upper strata in lower level, the affirmation that can be omitted in the upper strata is handled.
In addition, thus can be by automatically perform the time that shortens application layer according to the communication of predefined communication protocol according to the communication of in the upper strata, setting up.
Be transformed into predefined communication protocol and become smoothly, this produces good usability.
In these embodiments, will whether support the affirmation processing of communication protocol to be set at affirmation " support communication protocol ".The present invention not specific limited also can be applied in other affirmation that realizes inventive concept processing in these examples.
For example, confirm to handle the affirmation that can be set to " not supporting communication protocol ".As the concrete example of this confirmation method, be similar to affirmation to " support communication protocol ", can in USBI/F, analyze the descriptor information that obtains by descriptor capture command such as GetStringDescriptor.For PTP, can analyze by catch the data set information that operation obtains such as the data set of GetDeviceInfo.
When the communication protocol determining not support to be scheduled to, just cancel conversion process to the upper strata.Even handle and be not transformed into the upper strata, also can determine not set up the communication of using the upper strata to be undertaken by predefined communication protocol.
If determine and to communicate by predefined communication protocol, so just be used at least one display unit of image generator and image printer demonstration and cannot control quickly by the demonstration that predetermined protocol communicates and provide alarm to the user by setting.
In these embodiments, the PD printer is set to usb host, and DSC is set to slave unit.Specific limited is not in this combination in the present invention, and any device can serve as main frame and slave unit, as long as can realize that spirit of the present invention is just passable.
The image generator that can expect except digital camera, also comprises PDA, cell phone, TV, recording apparatus, image memory device etc.
General-purpose interface also is included in for example connection of the network of internet except comprising USB above-mentioned and IEEE1394.
The present invention is not limited to top embodiment, and can make variations and modifications within the spirit and scope of the present invention.Therefore, propose following claims and inform scope of the present invention to the public.
Claims (27)
1, a kind ofly be connected to the recording equipment of image generator via general-purpose interface, it receives view data from this image generator, and writes down this view data, it is characterized in that this recording equipment comprises:
Be used for making the physical layer that depends on general-purpose interface hardware to determine whether this image generator supports first of predefined communication protocol to determine device;
Be used for making the transport layer of communicating by letter to determine whether this image generator supports second of this predefined communication protocol to determine device as the upper strata control of physical layer; With
Control device, be used for when described first and second determine that in the devices any one determines that this image generator is supported this predefined communication protocol, judge that this image generator supports this predefined communication protocol, and when described first and second determine that device does not all have this image generator of determining to support this predefined communication protocol, make the application layer on the upper strata of serving as transport layer determine whether this image generator supports this predefined communication protocol.
2, according to the equipment of claim 1, wherein, described first determines that device determines based at least one in the two of manufacturer's name of the image generator that sends by this general-purpose interface and device information.
3, according to the equipment of claim 1, wherein, described second determines that device determines based at least one in the two of manufacturer's name of the image generator that sends by this transport layer and device information.
4, a kind of between multiple arrangement the register system of exchange message to write down, it is characterized in that comprising:
Be used in each layer of a plurality of hierarchical layer that constitute the interface between the described multiple arrangement, determining whether to be transformed into definite device of predetermined communication mode; With
When being used in described definite device is determined in described a plurality of hierarchical layer any one, can being transformed into this predetermined communication mode, the communication pattern between this multiple arrangement is controlled to be the control device of this predetermined communication mode.
5, according to the system of claim 4, wherein, determine to be to use determining of password for one in described a plurality of hierarchical layer.
6, according to the system of claim 4, wherein, in described a plurality of hierarchical layer one determine based among exabyte, ProductName and this three of sequence number name at least any one.
7, according to the system of claim 4, wherein, described definite device sequence ground is that each layer execution is determined in described a plurality of hierarchical layer, and when when given layer is determined to change, is omitted in the definite processing in the succeeding layer.
8, according to the system of claim 4, wherein, the one deck at least in described a plurality of hierarchical layer is indispensable for the interface between described multiple arrangement.
9, according to the system of claim 4, wherein, described a plurality of hierarchical layer comprise at least two among this three of physical layer, transport layer and application layer.
10, according to the system of claim 9, wherein, described physical layer comprises USB.
11, according to the system of claim 9, wherein, described transport layer comprises PTP.
12, according to the system of claim 4, wherein, described multiple arrangement comprises the image output device that is used for document image.
13, according to the system of claim 4, wherein, described multiple arrangement comprises provides the image of image generator.
14, a kind ofly be used to control the method that is connected to the recording equipment of image generator via general-purpose interface, this recording equipment receives view data from the image generator, and recording image data, it is characterized in that this method comprises:
Be used for making the physical layer that depends on general-purpose interface hardware to determine whether this image generator supports first determining step of predefined communication protocol;
Be used for making the transport layer of communicating by letter to determine whether this image generator supports second determining step of this predefined communication protocol as the upper strata control of physical layer; With
Controlled step, be used for when determining that this image generator is supported this predefined communication protocol in any one step in described first and second determining steps, judge that this image generator supports this predefined communication protocol, and when in described first and second determining steps, all not having this image generator of determining to support this predefined communication protocol, make the application layer of serving as the transport layer upper strata determine whether this image generator supports this predefined communication protocol.
15,, wherein, in first determining step, determine based at least one in the two of manufacturer's name of the image generator that receives via this general-purpose interface and device information according to the method for claim 14.
16,, wherein, in described second determining step, determine based at least one in the two of manufacturer's name of this image generator that sends via transport layer and device information according to the method for claim 14.
17, a kind ofly be connected to the recording equipment of image generator via general-purpose interface, it receives view data from this image generator, and writes down this view data, it is characterized in that this recording equipment comprises:
Be used for making the physical layer that depends on general-purpose interface hardware to determine whether this image generator supports first of predefined communication protocol to determine device;
Be used for making the transport layer of controlling communication as the upper strata of physical layer to determine whether this image generator supports second of this predefined communication protocol to determine device; With
Control device, be used for when described first and second determine that in the devices any one determines that this image generator is supported this predefined communication protocol, judge that this image generator supports this predefined communication protocol, with when described first and second determine that device determines that all this image generator is not supported this predefined communication protocol, make the application layer on the upper strata of serving as transport layer determine whether this image generator supports this predefined communication protocol.
18, according to the recording equipment of claim 17, wherein, described first determines that device determines based at least one in the two of manufacturer's name of this image generator that sends via general-purpose interface and device information.
19, according to the recording equipment of claim 17, wherein, described second determines that device determines based at least one in the two of manufacturer's name of this image generator that sends via transport layer and device information.
20, a kind ofly be used to control the method that is connected to the recording equipment of image generator via general-purpose interface, this recording equipment receives view data from this image generator, and recording image data, it is characterized in that this method comprises:
Be used for making the physical layer that depends on general-purpose interface hardware to determine whether this image generator supports first determining step of predefined communication protocol;
Be used for making the transport layer of controlling communication as the upper strata of physical layer to determine whether this image generator supports second determining step of this predefined communication protocol; With
Controlled step, be used for when determining that this image generator is supported this predefined communication protocol in any one step in described first and second determining steps, judge that this image generator supports this predefined communication protocol, with when in described first and second determining steps, determining that all this image generator is not supported this predefined communication protocol, make the application layer on the upper strata of serving as transport layer determine whether the image generator supports this predefined communication protocol.
21,, wherein, in first determining step, determine based at least one in the two of manufacturer's name of this image generator that receives via general-purpose interface and device information according to the method for claim 20.
22,, wherein, in described second determining step, determine based at least one in the two of manufacturer's name of this image generator that sends via transport layer and device information according to the method for claim 20.
23, a kind of communication means that has a plurality of communication hierarchical layer between image generator and image recording structure comprises:
Exchange step, be used for when beginning between this image generator and this image recording structure communication or when this image generator and this image recording structure linked together, in scheduled communication hierarchical layer exchange message;
Determining step is used for determining whether in this scheduled communication hierarchical layer and can communicating by predefined communication protocol in the upper layer communication hierarchical layer of this scheduled communication hierarchical layer based on the information in described exchange step exchange; With
The beginning step is used for when when described determining step is determined to communicate, and need not to determine in the upper layer communication hierarchical layer that the possibility that communicates by this predefined communication protocol just begins to communicate by this predefined communication protocol.
24, according to the method for claim 23, wherein, described upper layer communication hierarchical layer comprises application layer, and described communication possibility determine be to use the PTP agreement to carry out.
25, a kind of communication means that has a plurality of communication hierarchical layer between image generator and image recording structure comprises:
Exchange step, be used for when beginning between this image generator and this image recording structure communication or when this image generator and this image recording structure linked together, exchange message in the scheduled communication hierarchical layer;
Determining step is used for the information that exchanges based in described exchange step, determines whether in this scheduled communication hierarchical layer and can communicate by predefined communication protocol in the upper layer communication hierarchical layer of described scheduled communication hierarchical layer; With
Communication steps is used for when when described determining step is determined to communicate, and the communication of cancellation in the upper layer communication hierarchical layer of described scheduled communication hierarchical layer is set up and handled.
26, according to the method for claim 25, wherein, described upper layer communication hierarchical layer comprises application layer, and the communication possibility determine be to use the PTP agreement to carry out.
27, according to the method for claim 25, further comprise the demonstration controlled step, be used for when setting up in communication steps cancellation when handling, on the display unit of at least one in the two of this image generator and this image recording structure, show and to communicate by this predefined communication protocol.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP228031/2002 | 2002-08-05 | ||
JP2002228031A JP3524541B2 (en) | 2002-08-05 | 2002-08-05 | RECORDING SYSTEM, RECORDING DEVICE, ITS CONTROL METHOD, COMMUNICATION DEVICE, ITS METHOD, PROGRAM, AND STORAGE MEDIUM |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1675908A CN1675908A (en) | 2005-09-28 |
CN100508519C true CN100508519C (en) | 2009-07-01 |
Family
ID=31492235
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB038188015A Expired - Fee Related CN100508519C (en) | 2002-08-05 | 2003-08-04 | Recording system, recording apparatus, and control method thereof |
Country Status (6)
Country | Link |
---|---|
EP (1) | EP1527591A4 (en) |
JP (1) | JP3524541B2 (en) |
CN (1) | CN100508519C (en) |
AU (1) | AU2003250543A1 (en) |
CA (1) | CA2493594C (en) |
WO (1) | WO2004014042A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1981510B (en) * | 2004-07-08 | 2011-04-13 | 佳能株式会社 | Image processing apparatus and control method of the same |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1277367A (en) * | 1999-06-11 | 2000-12-20 | 鸿友科技股份有限公司 | Data storage expansion device applied to digital camera |
CN1290884A (en) * | 1999-08-19 | 2001-04-11 | 索尼公司 | Image processing and printing method and device, printing system method and recording medium |
CN1337648A (en) * | 2001-06-28 | 2002-02-27 | 北京山鑫海达科技发展有限公司 | High-speed real-time image record system |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0787480B2 (en) * | 1987-11-11 | 1995-09-20 | 松下電器産業株式会社 | Multi-protocol processor |
JP2821205B2 (en) * | 1989-11-02 | 1998-11-05 | 株式会社日立製作所 | Communication protocol high-speed processing method |
US5457784A (en) | 1992-03-05 | 1995-10-10 | Metacomp, Inc. | Interfacing system using an auto-adapting multi-ported control module between an i/o port and a plurality of peripheral adaptors via bus extending cables |
US5457581A (en) | 1992-04-10 | 1995-10-10 | Ampex Corporation | Timing recovery on longitudinal magnetic tape record channels based on capstan velocity feed forward |
US5784581A (en) * | 1996-05-03 | 1998-07-21 | Intel Corporation | Apparatus and method for operating a peripheral device as either a master device or a slave device |
JP4537502B2 (en) * | 1997-11-20 | 2010-09-01 | 富士フイルム株式会社 | Image data communication system, image data communication method, digital camera constituting image data communication system, and image data transmission method |
US6334160B1 (en) | 1999-01-28 | 2001-12-25 | Hewlett-Packard Co. | Apparatus and method for providing multiple protocols through a common connector in a device |
-
2002
- 2002-08-05 JP JP2002228031A patent/JP3524541B2/en not_active Expired - Fee Related
-
2003
- 2003-08-04 EP EP03766723A patent/EP1527591A4/en not_active Withdrawn
- 2003-08-04 WO PCT/JP2003/009870 patent/WO2004014042A1/en active Application Filing
- 2003-08-04 CN CNB038188015A patent/CN100508519C/en not_active Expired - Fee Related
- 2003-08-04 CA CA 2493594 patent/CA2493594C/en not_active Expired - Fee Related
- 2003-08-04 AU AU2003250543A patent/AU2003250543A1/en not_active Abandoned
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1277367A (en) * | 1999-06-11 | 2000-12-20 | 鸿友科技股份有限公司 | Data storage expansion device applied to digital camera |
CN1290884A (en) * | 1999-08-19 | 2001-04-11 | 索尼公司 | Image processing and printing method and device, printing system method and recording medium |
CN1337648A (en) * | 2001-06-28 | 2002-02-27 | 北京山鑫海达科技发展有限公司 | High-speed real-time image record system |
Also Published As
Publication number | Publication date |
---|---|
JP3524541B2 (en) | 2004-05-10 |
JP2004072351A (en) | 2004-03-04 |
WO2004014042A1 (en) | 2004-02-12 |
CA2493594A1 (en) | 2004-02-12 |
EP1527591A1 (en) | 2005-05-04 |
CA2493594C (en) | 2006-11-21 |
CN1675908A (en) | 2005-09-28 |
EP1527591A4 (en) | 2010-08-11 |
AU2003250543A1 (en) | 2004-02-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100356311C (en) | Image supply device, recording system, and recording control method | |
RU2248032C1 (en) | Recording system and method for controlling thereof | |
KR100855801B1 (en) | Print apparatus and control method thereof, image providing apparatus and control method thereof | |
CN100409679C (en) | Digital camera and control method thereof, and printing system | |
RU2355020C2 (en) | Imaging device and method of controlling this device | |
US20050134892A1 (en) | Image supply apparatus, control method therefor, and printing system | |
CN1777864B (en) | System and method for outputting images | |
RU2313823C2 (en) | Device for providing images and recording device, recording system, which includes these devices, and method for controlling communication between these devices | |
CN100508519C (en) | Recording system, recording apparatus, and control method thereof | |
US20050128528A1 (en) | Recording system, recording apparatus, and control method therefor | |
CN100415534C (en) | Recording apparatus, image supply device, and recording system, and control method and program thereof | |
US8035832B2 (en) | Recording system and controlling method therefor | |
EP1522011B1 (en) | Recording system and controlling method therefor | |
KR100627607B1 (en) | Recording system, recording device and control method | |
JP2004310613A (en) | Image data transfer system, and its method | |
JP4367902B2 (en) | Recording system, image supply device, printing apparatus, and control method therefor | |
KR100731190B1 (en) | Image feeder, its control method and printing system | |
JP4110133B2 (en) | Image supply apparatus and control method thereof | |
KR20050016497A (en) | Printing apparatus and control method thereof, and printing system | |
JP2005161592A (en) | Printing apparatus | |
JP2006012119A (en) | Image supply device, printer, and its control method | |
JP2005001389A (en) | Image processing apparatus, image supply apparatus, and their control method and print system |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20090701 Termination date: 20190804 |