Summary of the invention
More convenient handy interface can be arranged when fundamental purpose of the present invention provides software development, and then improve the above-mentioned disappearance of commonly using means.
The present invention is a kind of instruction conversion interface, be applicable between a digital image pick-up and the application target, have a button on this digital image pick-up, this instruction conversion interface comprises: comparison list, set up a corresponding pass of this button and a task code for the user; One target instruction target word narration archives, for the user to should task code and write required target instruction target word narration; One detecting means, signal is connected in this table of comparisons and button, and it is pressed in response to this button, and then according to the corresponding relation of this table of comparisons this task code is output; An and compiler, signal is connected in these detecting means, this target instruction target word narration archives, this digital image pick-up and this application target, it reads in corresponding these target instruction target word narration archives and receives the digital image data that this digital image pick-up returns in response to the input of this task code, these target instruction target word narration archives and this digital image data are carried out being sent to this application target execution after the conversion process.
According to above-mentioned conception, this application target that instruction conversion interface was suitable for can be the application program with this digital image pick-up operate together.
According to above-mentioned conception, this application target that instruction conversion interface was suitable for can be a website.
According to above-mentioned conception, can link up by a driver between this compiler and this digital image pick-up in the instruction conversion interface.
According to above-mentioned conception, should the detecting means can receive the trigger pip that this button is pressed and is exported passively in the instruction conversion interface.
According to above-mentioned conception, should the detecting means in the instruction conversion interface can detect this button on one's own initiative and whether be pressed.
According to above-mentioned conception, the digital image capture device can be an image scanner in the instruction conversion interface.
According to above-mentioned conception, digital image pick-up can be a digital camera in the instruction conversion interface.
Another technical scheme of the present invention is: a kind of instruction conversion interface, be applicable between an information processor and the application target, have a button on this information processor, this instruction conversion interface comprises: comparison list, set up a corresponding relation of this button and a task code for the user; One target instruction target word narration archives, for the user to should task code and write required target instruction target word narration; One detecting means, signal is connected in this table of comparisons and button, and it is pressed in response to this button, and then according to the corresponding relation of this table of comparisons this task code is output; An and compiler, signal is connected in these detecting means, this target instruction target word narration archives, this information processor and this application target, it reads in corresponding these target instruction target word narration archives in response to the input of this task code, and receive the data that this information processor returns, these target instruction target word narration archives and this data are carried out being sent to this application target execution after the conversion process.
According to above-mentioned conception, this information processor that instruction conversion interface was suitable for can be and a digital image pick-up, and this data that is back to this compiler is a digital image pick-up.
According to above-mentioned conception, the digital image capture device can be an image scanner in the instruction conversion interface.
According to above-mentioned conception, digital image pick-up can be a digital camera in the instruction conversion interface.
According to above-mentioned conception, this application target that instruction conversion interface was suitable for can be the application program with this information processor operate together.
According to above-mentioned conception, this application target that instruction conversion interface was suitable for can be a website.
According to above-mentioned conception, link up with a driver between this compiler and this information processor in the instruction conversion interface.
According to above-mentioned conception, should the detecting means connect the trigger pip that key is pressed and is exported in the instruction conversion interface for receiving this passively.
Whether rod should the detecting means be pressed for detecting this button on one's own initiative in the instruction conversion interface according to above-mentioned conception.
A technical scheme more of the present invention is: a kind of instruction conversion interface, be applicable between an information processor and the application target, has a button on this information processor, this instruction conversion interface comprises: target instruction target word narration archives, and it stores the user to the target instruction target word that predetermined function write narration that should button; And a compiler, after this button is pressed, just read in these target instruction target word narration archives and receive the data that this information processor returns, these target instruction target word narration archives and this data are carried out being sent to this application target after the conversion process carry out.
According to above-mentioned conception, this information processor that instruction conversion interface was suitable for can be a digital image pick-up, and this data that is back to this compiler is a digital image data.
According to above-mentioned conception, the digital image capture device can be an image scanner in the instruction conversion interface.
According to above-mentioned conception, digital image pick-up can be a digital camera in the instruction conversion interface.
According to above-mentioned conception, this application target that instruction conversion interface was suitable for can be the application program with this information processor operate together.
According to above-mentioned conception, this application target that instruction conversion interface was suitable for can be a website.
According to above-mentioned conception, can link up by a driver between this compiler and this information processor in the instruction conversion interface.
According to above-mentioned conception, more can comprise in the instruction conversion interface: comparison list, set up a corresponding relation of this button and a task code for the user; And detecting means, signal is connected in this table of comparisons and button, its in response to this button is pressed according to the corresponding relation of this table of comparisons, and then export this task code to this compiler, this compiler reads in these target instruction target word narration archives and receives this data that this information processor returns in response to the input of this task code, these target instruction target word narration archives and this data are carried out being sent to this application target execution after the conversion process.
According to above-mentioned conception, should the detecting means in the instruction conversion interface for can receive the trigger pip that this button is pressed and is exported passively.
According to above-mentioned conception, should the detecting means whether be pressed in the instruction conversion interface for detecting this button on one's own initiative.
Embodiment
See also Fig. 1, for the present invention for the preferred embodiment function block schematic diagram that develops an instruction conversion interface that between an information processor and an application target, this information processor describes with a digital image pick-up 10 (for example image scanner or digital camera) in this preferred embodiment, have n button 101 on this digital image pick-up 10,102,10n, as for 12 of application targets can be respectively and an application program of these digital image pick-up 10 operate together (ApplicationProgram, AP) 121 or be linked to a website (Website) 122 on the Internet.And its instruction conversion interface consist predominantly of comparison list 111, a plurality of target instruction target word narration archives 1121 ..., 112n, detecting means 113 and a compiler 114, wherein this table of comparisons 111 for users set up n button 101,102 ..., the corresponding relation between 10n and n task code.For instance, when digital image pick-up 10 is an image scanner, task code is except having " scanning and unlatching (Scan-N-open) " in advance, " scanning and storage (Scan-N-Save) ", " copy (Quick-Copy) fast ", " advance rank copies (Advance-Copy) ", " fax (Fax) ", " e-mail (E-mail) ", " character identification and unlatching (OCR-N-Open) ", " character identification and storage (OCR-N-Save) ", " start software face version (Activate Software Panel) ", outside " being scanned up to a webpage (Scanto Web) ", still can reserve a plurality of " task codes to be set " provides the developer of application target to use.And the instruction type that the developer of application target need utilize this instruction conversion interface to provide, the action of corresponding task code representative and write required target instruction target word narration, so form these target instruction target words that 114 of this compilers can understand narrate archives 1121 ..., one of among the 112n.As for 113 signals of detecting means be connected in this table of comparisons 111 and n button 101,102 ..., on the 10n, when it is pressed in response to a certain button, corresponding task code is output according to the corresponding relation of being set up in this table of comparisons 111.The embodiment of detecting means 113 can be divided into two kinds, and one is for to receive the trigger pip that these buttons are pressed and are exported passively, and second whether it be pressed for just detecting these buttons at set intervals on one's own initiative.
Compiler 114 signals be connected in these detecting means 113, these target instruction target words narration archives 1121 ..., 112n, this digital image pick-up 10 and this application target 12, wherein link up with being connected of this digital image pick-up 10 by a data source driver 13 (Data Source Driver).And in response to the input of this task code, compiler 114 will read in corresponding these target instruction target word narration archives and receive the digital image data that this digital image pick-up 10 is returned, and then these target instruction target word narration archives and this digital image data are carried out being sent to 12 execution of visit application target after the conversion process.
Below for example the instruction conversion interface operation steps that operates between an image scanner and a Games Software program is narrated, for example, one Games Software program developer can utilize a button (for example button 101) the formation one corresponding relation in a task code to be set set up one on their own task code and n the button of " changing character head (Replace Role ' s Head) ", and then deposits in this table of comparisons 111 (can utilize the button editing machine 21 shown in Fig. 2,3 and the function square of task code editing machine 22 to finish).And the instruction editing machine 23 (functional block diagram as shown in Figure 4) that recycling this instruction conversion interface of Games Software program developer this moment is provided, write the action of its task code representative as required target instruction target word narration, and then form these target instruction target words narration archives 1121 that 114 of this compilers can understand ..., one of among the 112n, above example, the content of these target instruction target word narration archives can be following narration:
Open this Games Software program (open AP)
Carry out " creating recreation " (Execute " Create Game ")
Carry out " selection " (Execute " Select ")
Carry out " replacing head " project (Execute " Replace Head ")
The input that And when detecting means 113 are pressed in response to this button 101, just can make corresponding task code " change character head (Replace Role ' s Head) " according to the corresponding relation of being set up in this table of comparisons 111 and be output to this compiler 114. compilers 114 then " change character head (ReplaceRole ' s Head) " in response to this task code and read in these corresponding target instruction target word narration archives and receive the digital image data (for example utilizing image scanner that player's photograph is scanned resulting head phantom or utilizes digital camera that the player is taken resulting head phantom) that this digital image pick-up 10 captures and returns; And then this target instruction target word narration archives and this digital image data are carried out conversion process, compiling becomes in being sent on this Games Software program behind the procedure code that can carry out on this Games Software program to be carried out.
Above-mentioned application target 12 except can be an application program (Application Program, AP) outside, still be linked to the station (Website) 122 on the Internet.Thus, the Website development person also can utilize instruction conversion interface of the present invention to link digital image pick-up 10 and this website 122, by edit definition to the table of comparisons 111 and target instruction target word narration archives, when a certain button on the digital image pick-up is pressed, compiler 114 can read in corresponding these target instruction target word narration archives and receive the digital image data that this digital image pick-up 10 captures and returns, and then this target instruction target word narration archives and this digital image data are carried out conversion process, compiling becomes be sent to utilization on this website 122 behind the receptible data formats of institute on this website 122.
In sum, the disclosed instruction conversion interface of the present invention can be built in software development or website when putting, the developer is provided a convenient handy interface, and then strengthen information processor (as the information household electrical appliances, computer peripheral) and the integration between application target (for example application software or website), make that the button on the information processor can be according to the demand of application targets such as different software or website, change its back that is pressed a succession of action that operates in information processor and application target that can trigger, and then improve the above-mentioned disappearance of commonly using means, reach development fundamental purpose of the present invention.
The disclosed instruction conversion interface of the present invention can optionally select for use the software program or the mode of hardware unit to realize; and the present invention invents to such an extent that thought and be to modify the right neither protection domain that takes off claims of the present invention as all by the personage Ren Shi craftsman who has the knack of this skill.