1. Field of the Invention
The present invention relates to a technology of placing a link between different applications through data displayed on the screen.
2. Description of the Related Art
The Applicant has filed a patent for the technology of transmitting the information (inquiry information or information to be processed when a request is issued to a linked application) obtained from the image data of a first application displayed on the screen to a second application without amending the two existing applications to be linked, receiving a processing result from the second application, and using the result in the process of the first application (patent literature 1). This refers to an application linking program called a screen plug. In the present specifications, an application issuing a request to process by transmitting information including an image is called a target application (hereinafter referred to simply as a “target APL”), and an application which receives a request and returns a processing result is called a linked application (hereinafter referred to simply as a “linked APL”).
However, in the conventional linking system, the data obtained from a target APL is transmitted to a linked APL without any amendment. Therefore, for example, a target APL manages the name of a place by a place name such as 1234 Second Avenue, Chicago, Ill. 60626”, etc. while a linked APL cannot link applications because of different formats of data when an address is managed by postal code such as “206-xxxx”, etc. Similar problems occur when symbols “¥”, “,”, etc. in the expression of an amount are used.
When information required by a linked APL is distributed among applications other than a target APL, all information cannot be obtained, and insufficient information can be transmitted. On the other hand, the information received from a linked APL cannot be transmitted to an application if it does not belong to linked APLs.
[Patent Literature 1] PCT/JP03/00802
The present invention aims at providing an application linking method and a program capable of converting inquiry information from a target APL to a linked APL and a processing result from the linked APL into the format of a destination.
The present invention also aims at providing an application linking technology of collecting information from an application related to a target APL (hereinafter referred to as a “related APL”) and transmitting the information to a linked APL, transmitting collected information to a plurality of linked APLs, and outputting a received processing result from a linked APL to not only a target APL but also a linked APL of the target APL.
According to an aspect of the present invention, an application linking method includes: a collecting step of collecting, from a window displayed by at least one first application, necessary information item for an operation of at least one second application; a first converting step of performing data conversion on an unmatched information item to a data format of the second application when the collected information items contain items not matching the data format of the second application; a step of transmitting a matching information item and a data-converted information item whichever is necessary to the second application; a step of receiving a processing result transmitted from the second application; a second converting step of performing data conversion on an unmatched processing result to a predetermined format when a processing result contains data not matching the predetermined format; and an output step of outputting a processing result matching a predetermined format and a data-converted processing result in a predetermined position of the window with a predetermined data attribute.
According to another aspect of the present invention, an application linking support software (simply referred to as a present software) includes descriptions of steps to be performed by a computer, including: a collecting step of collecting, from a window displayed by at least one first application, necessary information item for an operation of at least one second application; a converting step of performing data conversion on an unmatched information item to a data format of the second application when the collected information items contain items not matching the data format of the second application; and a step of transmitting a matching information item and a data-converted information item whichever is necessary to the second application.
The present software can further include descriptions of steps to be performed by a computer, including: a step of receiving a processing result transmitted from the second application; a converting step of performing data conversion on an unmatched processing result to a predetermined format when the received processing result contains data not matching the predetermined format; and an output step of outputting a processing result matching a predetermined format and a data-converted processing result to a predetermined position of the window with a predetermined data attribute.
The present software can further include output item definition data containing a predetermined position and a predetermined data attribute for each processing result, and an output step outputs the processing result based on the output item definition data.
The present software can further include first data conversion definition data including descriptions of an identifier of an information item or a processing result and a converting method relating to an unmatched information item, processing result, or both, and the converting step performs data conversion according to data conversion definition information.
The above-mentioned information item can be either image data or an object.
According to a further aspect of the present invention, the computer-readable storage medium storing a application linking support software can be provided.
The present invention is described below in detail by referring to the embodiments and the attached drawings. The same components shown in a plurality of figures are assigned the same-reference numerals.
The principle of the present invention is explained below by referring to
The display screen 22 is assumed to be provided with a window Wt displayed by the target APL 40, a window Wr displayed by the related APL 50, and a window displayed by any other application.
The screen plug 100 comprises a system setting program 110 for flexible customization depending on the target APL to be linked by a user and the linked APL so that there can be a link between a broad target APL (and its related APL) and a linked APL. The contents set by a user using the system setting program 110 are recorded in the configuration DB 150 having the name of a linking process. For each linking process requested by a user, any number of configuration DBs 150 can be generated.
When the configuration DB 150 is generated by setting a system, the screen plug 100 is activated with the linking process name specified, and is operated depending on the setting contents of the configuration DB 150. The screen plug 100 at least comprises the linking information collection program 200 for identifying the window(s) of the target APL 40 and the related APL 50 set in the configuration DB 150 from among the windows currently being displayed on the display screen 22, and the communications (or linked) unit 300 for passing the collected link data to the linked APL 60. Furthermore, the screen plug 100 can also comprise the data output unit 360 for receiving the processing result from the linked APL 60 by the communications unit 300, and outputting the processing result received by the communications unit 300 to the target APL 40 and the related APL 50 or the display windows of them. The linking information collection program 200 or the data output unit 360 or both of them can comprise a data conversion unit 230 for converting a data format depending on the destination of data.
In the attached drawings, the enclosure of “” indicates an imprint of a seal. In this document, the present invention is explained using an imprint, but the imprint can be replaced with any biometrics information (pattern) capable of identifying a person. In this case, the element 60 can be a biometrics pattern checking system in place of the seal check system.
The windows Wt and Wr can contain not only an image of bit map data, but also various objects. These objects include, in addition to an HTML tag, a URL (uniform resource locator), various objects supported by the OS.
On the other hand, a seal checking program 60 receives a 9-digit CIF number, a client name of text data, and an imprint image which is image data as input, and the received imprint image is compared with a registered imprint image specified by a CIF number and a client name. Then, a comparison result of OK or NG and the current date in a form of “yyyy/mm/dd” are returned.
When the screen plug 100 is activated with the seal check specified as a linking process name, the screen plug 100 detects windows Wt and Wr on the display screen, retrieves the CIF number of “042-631682” and the client name of “” from the window Wt, and retrieves an imprint image from the window Wr. At this time, since the CIF number of “042-631682” does not match the input specifications of the seal checking program 60, the hyphen (symbol -) of the CIF number retrieved from the window Wr is deleted into 9-digit numeral of “042631682”. The above-mentioned client name, the converted CIF number, and the imprint are transmitted to the seal checking program 60 through the communications unit 300. The check results of OK and NG are converted into “The imprint has been authenticated.” and “The imprint cannot be authenticated.” The confirmation date of “yyyy/mm/dd” is converted into a format of “year of yyyy, month of mm, day of dd”. Thus, the converted data is output to a predetermined window through the data output unit 360.
By referring to an example of the above-mentioned linking, the operation of the screen plug 100 according to an embodiment of the present invention is explained below. First, the method of making settings by the system setting program 110 such that a desired linking operation can be realized is explained, and then a linking operation after setting the system is described.
In steps 126 and 128, the linking information collection unit 200 defines input/output of each window as an information source when linking information is collected from the display screen 22.
First, in step 140, the screen data in the window to be processed is obtained. Then, in step 142, a screen name 171 is set. In this case, the number or an ID of the screen, the name of the screen (window name), and the application name displaying the screen can be set.
Then, in step 144, The screen type determination information for definition of the image data in the window to be used in identifying a window is defined. That is, the coordinates of the image portion to be used in identifying the window to be processed, and the actual bit map data of the position are registered. For example, in the case of the window Wt of the remittance process by the target APL 40, since the image portion of the “remittance process” in the upper left window, and the image portion of the upper right portion of “Menu 00201” are used in specifying the window Wt, a pair of opposing coordinates in a rectangular area corresponding to the respective image positions and the image data of the rectangular area are registered. In the example of
Then, in step 146, a recognition (input) item for definition of information in a window to be collected by the linking information collection unit 200 is defined. That is, the display position of each piece of information to be collected in a window to be processed and the data attribute indicating the attribute of data displayed in the position are registered. For example, in the example shown in
Finally, in step S148, output item definition for definition of an item to be output (or embedded) in the window being processed is performed. That is, the coordinates indicating the position of the window in which information is to be embedded, the data name to be embedded, and the data attribute of a data-embedded item are set for each piece of data to be embedded. In the case of the Wt displayed on the target APL 40, the data to be output is a check result and a confirmation date, the coordinates of the embedded rectangular area, the embedded data name, and the data attribute of the embedded rectangular area are registered. In this case again, an item ID can be added for discrimination of each piece of registered data. For example, in the example shown in
As described above, in step 126 shown in
It is desired that the above-mentioned item ID is added such that each piece of definition information can be discriminated and the type of a set data item and the type of window can also be discriminated. For example, in the above-mentioned example, two or three alphabetical characters and three digits of numbers are combined, but the alphabetical portions can be replaced with CHK, IN, and OUT, thereby discriminating the screen type determination information 172, the recognition item definition information 174, and the output item definition information 176. Furthermore, by comparison of the input/output definition information between the windows Wt and Wr, it is clear that the window Wt is discriminated from the window Wr by assigning 0 or 1 to the first digit of the numerical portion of the item ID. Thus, by setting the item ID, the item data retrieval speed can be increased in the actual linking operation.
In
When the above-mentioned setting is completed, it is checked in step 134 shown in
The order of each setting operations shown in
The data set as described above is stored in the configuration DB 150 and used in the linking operation of the screen plug 100. The linking operation for a seal check of the screen plug 100 is explained below.
In the screen type determining step 201, it is determined in the determining step 202 whether or not the window input/output definition information 170 to be processed has been completely processed. If YES, the linking information collecting operation is terminated. If there is unprocessed window input/output definition information 170, a piece of window input/output definition information 170 is read from the configuration DB 150 in step 204. In step 206, an unprocessed window on the display screen 22 is fetched, and it is checked according to the screen type determination information 172 whether or not it matches the window of the current window input/output definition information 170. For example, if the current window is a window Wt, then it is determined whether or not the image segmented as CHK001 from the rectangular area (51,54-160,74) matches the image data of the item CHK001 of the screen type determination information 172 and whether or not the image segmented as CHK002 from the rectangular area (474,37-541,56) matches the image data of the item CHK002of the screen type determination information 172 as shown in
In and after steps 220, each window (referred to as a “current window”) received from the screen type determining process 201 is processed. In step 220, an item (for example, a record of CHK001 corresponding to the CIF number) of the recognition item definition information 174 is read. In step 222, as shown in
Then, the data converting step 230 is performed. In the data-converting step 230, it is first determined in the determining step S232 whether or not the current item name (that is, the item name of the item read in step 220) is in the data conversion definition information 178. If NO, the data converting step 230 is terminated and control is passed to step 224. If the determination in step 232 is YES, then the data retrieved in step 222 is converted in the converting method defined according to the data conversion definition information 178 in step 234 as shown in
If YES in the determining step 224, control is returned to step 201, and the process is performed on the next window (in the example shown in
After terminating the linking information collecting process shown in
The linked APL 60 compares the registered imprint of “” (CIF number=042631682) with the imprint transmitted from the communications unit 300 and makes a seal check, thereby returning the check result to the communications unit 300.
The CPU 11 obtains the check result (that is, the link result) in step 308, and terminates the linking process shown in
If the linked APL 60 issues “OK” as a result of a check result, and if it is assumed to return a checked image obtained by overlapping a read imprint with a reported imprint in addition to the reported imprint registered in the linked APL 60, then the data output unit 360 can display these imprint images on the screen as shown in
In step 364, the window input/output definition information 170 containing the output item definition information 176 whose columns are not blank is set as a process target, and the screen type determining process subroutine 201 shown in
In step 366, a record is read from the output item definition information 176 of the current window input/output definition information 170. In the example shown in
In the example shown in
In the determining step 370, if it is determined that there is no unprocessed record in the output item definition information 176, then control is returned to step 201, and the output process is performed on the next window (that is, the next window input/output definition information 170). As a result, when the process of outputting data to the window Wt of the related APL 50 is performed, the check result is output as shown in
Thus, according to the screen plug 100 of the present invention, link data can be collected from the display windows of a plurality of applications. Additionally, a processing result of a linked application can be output to the windows of a plurality of applications (these applications can be those from which link data have been collected, other applications, or both of them).
In the above-mentioned examples, link data is collected from display windows of a plurality of applications and transmitted to a linked application, and a processing result of a linked application is output to the windows of a plurality of applications. However, depending on the use, data can be only passed to a linking application, and a processing result of the linking application is not always returned to a target APL. That is, the data conversion unit 230 is not required.
As described above, according to the screen plug 100, applications can be linked without any amendment to a target application, a related application, or a linked application.
According to the present invention, inquiry information from a target APL to a linked APL and a processing result from a linked APL can be converted to the format of a destination.
Furthermore, according to the present invention, information can also be collected from a related APL related to a target APL, transmitted to the linked APL, and passed to a plurality of linked APLs. A processing result received from a linked APL can be output not only to a target APL but also to a linked APL related to a target APL.
The above-mentioned embodiments are only examples for explanation of the present invention. Therefore, various changed, amendments and additions can be easily made by one skilled in the art to the above-mentioned embodiments based on the technical concept or principle of the present invention.
For example, in the explanation above, the target APL 40 is discriminated from the related APL 50 for convenience in explanation, but these two applications are not practically different in software processing. Therefore, a target application and a related application are not different from each other in a process performed on a plurality of target applications.
In the above-mentioned embodiment, there is one linked APL 60, but it is obvious that there can be a plurality of them. In this case, for example, as in the case in which a plurality of database are distributed, the same linking information (inquiry information) can be transmitted to a plurality of linked applications, and different linking information can be transmitted to a plurality of linked applications. Thus, when a plurality of linked applications are used, the communications unit 300 and the data output unit 360 can select and integrate link results from a plurality of linked applications.
In the above-mentioned embodiments, it is assumed that the “remittance process” and “menu 00201” which are portions in the window for use in determination on the screen are bit map images. However, it is not necessary that the portions for determination in a window are image data, but can be an object such as an HTML tag, a URL, etc.
In the above-mentioned embodiment, the screen plug 100 is provided on the target application side, but the screen plug 100 can also be provided on the linked application side, thereby enabling display screen data to be converted between linked applications.
Number | Date | Country | Kind |
---|---|---|---|
2004-101435 | Mar 2004 | JP | national |