User interface extension system, user interface extension method, and user interface extension program
The user interface expansion system addresses the limitation of conventional UI extensions by using Accessibility APIs and image processing to apply UI enhancements to non-web systems, enhancing operability and efficiency across diverse systems.
Patent Information
- Application Number
- JP2022564975
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-11-27
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2040-11-27
AI Technical Summary
Conventional user interface extensions are limited to web systems due to architectural constraints and cannot be applied to screens other than web system screens, as they rely on DOM tree manipulation which is not present in other systems.
A user interface expansion system that operates a transparent web browser independently of the system screen, using Accessibility APIs and image processing to identify a base point UI and distribute data between existing and additional UIs, allowing UI extensions to be applied to a wide range of systems.
Enables user interface enhancements across various systems without modifying the existing system, improving operability and efficiency by displaying additional UIs and distributing data effectively.
Smart Images

Figure 0007563480000001 
Figure 0007563480000002 
Figure 0007563480000003
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a user interface extension system, a user interface extension method, and a user interface extension program. [Background technology]
[0002] User interface (UI) extension techniques have been proposed to improve system operation by displaying additional UI on the screen of an existing system.
[0003] Conventional UI extensions are targeted at Web systems. For example, conventional UI extensions use methods such as a proxy server, a browser add-on, or inter-process communication for a Web system's HTTP (Hypertext Transfer Protocol) response or a DOM (Document Object Model) rendered in a Web browser. In this way, conventional UI extensions insert HTML (HyperText Markup Language) or JavaScript (registered trademark) into the Web system, thereby enabling the display of an additional UI. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2018-5344 A Summary of the Invention [Problem to be solved by the invention]
[0005] However, it is difficult to apply the user interface extension to a wide range of systems with conventional UI extensions. For example, due to architectural constraints, conventional UI extensions may not be applicable to screens other than those of Web systems.
[0006] The present application has been made in view of the above, and has an object to apply user interface extensions to a wide range of systems. [Means for solving the problem]
[0007] A user interface extension system according to an embodiment of the present disclosure includes a base point search unit that searches for a base point UI, which serves as a base point for displaying an additional user interface (UI) to be added to a screen of the system, from the screen of the system, and a display control unit that displays a new screen with a transparent background superimposed on the screen of the system, and displays the additional UI on the new screen at a position based on the base point UI. Effect of the Invention
[0008] According to one aspect of the embodiment, the user interface extensions can be applied to a wide range of systems. [Brief description of the drawings]
[0009] [Figure 1] FIG. 1 is an explanatory diagram showing an example of a conventional UI extension. [Diagram 2] FIG. 2 is an explanatory diagram illustrating an example of UI extension according to an implementation example. [Figure 3A] FIG. 3A is an explanatory diagram showing an example of display control of an additional UI. [Figure 3B] FIG. 3B is an explanatory diagram showing an example of display control of an additional UI. [Figure 3C] FIG. 3C is an explanatory diagram showing an example of display control of an additional UI. [Figure 4] FIG. 4 is a diagram illustrating an example of a user interface extension system according to an embodiment. [Diagram 5] FIG. 5 is a diagram illustrating an example of a rule storage unit according to the embodiment. [Figure 6] FIG. 6 is an explanatory diagram showing an example of a base point search process for searching for a base UI that serves as a base point for displaying an additional UI. [Figure 7]FIG. 7 is an explanatory diagram showing an example of a display control process for controlling the display of an additional UI. [Figure 8] FIG. 8 is an explanatory diagram showing an example of a data distribution process for distributing data between an existing UI and an additional UI. [Figure 9A] FIG. 9A is an explanatory diagram showing an example of a timing generation process for generating a timing for redisplaying an additional UI. [Figure 9B] FIG. 9B is an explanatory diagram showing an example of a timing generation process for generating a timing for redisplaying an additional UI. [Figure 10] FIG. 10 is a flowchart illustrating an example of a process for expanding the UI of a screen of an existing system, which is executed by the terminal device according to the embodiment. [Figure 11] FIG. 11 is a flowchart illustrating an example of a process for monitoring an existing system, which is executed by the terminal device according to the embodiment. [Figure 12] FIG. 12 is a flowchart illustrating an example of a process for searching for a base UI of an existing system, which is executed by the terminal device according to the embodiment. [Figure 13] FIG. 13 is a flowchart illustrating an example of a process for controlling the display of an additional UI, which is executed by the terminal device according to the embodiment. [Figure 14] FIG. 14 is a flowchart illustrating an example of a process for monitoring a change in an existing system, which is executed by the terminal device according to the embodiment. [Figure 15] FIG. 15 is a flowchart illustrating an example of a process for distributing data between an existing UI and an additional UI, which is executed by the terminal device according to the embodiment. [Figure 16] FIG. 16 is a diagram illustrating an example of a hardware configuration. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Hereinafter, an embodiment of the present disclosure will be described in detail with reference to the drawings. Note that the present invention is not limited to this embodiment. Details of one or more embodiments are described in the following description and drawings. In addition, multiple embodiments can be appropriately combined within a range that does not cause contradiction in the processing contents. In addition, the same parts in the following one or more embodiments are given the same reference numerals, and duplicated explanations are omitted.
[0011] 1. Overview This section provides an overview of some implementations described herein. It is to be understood that this overview is provided for the convenience of the reader and is not intended to limit the invention or the embodiments described in the following sections.
[0012] Conventionally, UI extensions for web systems have been proposed. Conventional UI extensions display additional UIs by inserting HTML into the DOM tree rendered in a web browser. In conventional UI extensions, both the existing UI and the additional UI exist in the DOM tree on the same web browser.
[0013] In conventional UI extensions, data can be distributed between the existing UI and the additional UI by executing JavaScript that manipulates the DOM on the web browser. Data distribution includes, for example, reflecting values input to the additional UI in the existing UI. However, due to the above-mentioned mechanism, it is difficult to apply conventional UI extensions to systems other than web systems.
[0014] 1 is an explanatory diagram showing an example of a conventional UI extension. In the example of Fig. 1, a screen 10 is a screen of a Web system (for example, a screen of an existing business system). The screen 10 includes an existing UI 11.
[0015] First, a conventional UI extension displays an additional UI 12 by inserting additional HTML into the DOM tree of a screen 10 of a Web system. In the example of Fig. 1, an existing UI 11 and an additional UI 12 exist in the same Web browser.
[0016] Next, the conventional UI extension distributes data between the existing UI 11 and the additional UI 12 by executing an API that manipulates the DOM tree in JavaScript (step S12). The existing UI 11 and the additional UI 12 exist in the same Web browser. For this reason, the conventional UI extension can distribute data relatively easily by manipulating the DOM tree with a program (JavaScript) that runs on the Web browser. However, since the conventional UI extension manipulates the DOM tree, it is difficult to apply the conventional UI extension to systems other than Web systems.
[0017] Therefore, the user interface extension system according to the embodiment provides UI extension that can be applied regardless of the implementation of the system. The user interface extension system operates a web browser with a transparent background of the same size as the screen of the existing system on top of the screen independently of the screen, and displays an additional UI in the web browser. Furthermore, the user interface extension system uses an Accessibility API and keyboard emulation using image processing in combination to distribute data between the existing UI, which is completely independent of the additional UI, and the additional UI.
[0018] Fig. 2 is an explanatory diagram showing an example of UI extension according to an implementation example. In the example of Fig. 2, a screen 10 may be a screen of a system other than a Web system, or may be a screen of a Web system.
[0019] In the UI extension according to the implementation example, the user interface extension system displays an additional UI in an independent Web browser 20 with a transparent background (step S21). The Web browser 20 is completely independent from the screen 10. That is, the process of the Web browser 20 is different from the process of the screen 10.
[0020] In order to support various implementations of systems other than a web browser, the user interface extension system combines an Accessibility API and virtual keyboard operations to distribute data between the existing UI and the additional UI (step S22).
[0021] When the UI of the existing system can utilize the Accessibility API, the user interface extension system operates the existing system using the Accessibility API to reflect the contents of the additional UI in the existing UI.
[0022] If the UI of the existing system cannot use the Accessibility API, the user interface extension system virtually executes a copy-paste operation of a keyboard. Specifically, the user interface extension system copies the content of the additional UI and pastes the content into the existing UI, thereby reflecting the content of the additional UI in the existing UI.
[0023] As a result, the user interface extension system can dramatically improve the operability of existing business systems without modifying them, thereby making business operations more efficient. Furthermore, the user interface extension system can make it possible to apply UI extensions to a wide range of systems and services other than Web systems.
[0024] 2. Introduction Nowadays, various systems are used for business operations. Since the actual business operations change daily, it is important to update the business systems to match the actual business operations. For example, assume that a new menu is added to a service. In this example, if the business system does not support the new menu, the users of the business system will not be able to carry out operations related to the new menu on the business system.
[0025] Therefore, UI extension technology has been proposed to update business systems in a timely manner. The UI extension technology for extending the UI of a business system is discussed in detail, for example, in the above-mentioned Patent Document 1. The UI extension technology controls the display of a UI added to the screen of the business system.
[0026] 3A, 3B, and 3C are explanatory diagrams showing an example of display control of an additional UI. In FIG. 3A, 3B, and 3C, the additional UI is displayed on a screen of an existing system, such as a screen of a business system. In addition, a base UI that serves as a base point of display is specified for the additional UI. The base UI is a UI that exists on the screen of an existing Web system. When this base UI is displayed on the screen, the additional UI is displayed on the screen based on relative coordinates from the base UI. In the following, the "base UI" may be written as the "base UI."
[0027] Conventional UI extensions insert additional UI at the end of the DOM tree that constitutes the screen of an existing system. Conventional UI extensions can display additional UI without causing the impact of directly modifying the screen of an existing Web system.
[0028] In the example of Fig. 3A, the screen 30 of the existing system includes an existing UI 31 and a base UI 32. The base UI 32 is a UI that serves as a base point for displaying an additional UI 31 displayed on the screen 30 of the existing system. The arrows shown in Fig. 3A indicate the correspondence between the DOM tree of the screen and the appearance of the screen. A conventional UI extension displays an additional UI by inserting HTML of the additional UI at the end of the DOM tree rendered in a web browser.
[0029] In the example of FIG. 3A, an additional UI 33 (a text box) is displayed by a conventional UI extension. The conventional UI extension inserts HTML of the additional UI 33 into the DOM of the screen 30 of the existing system. However, systems other than Web systems do not have a DOM tree in the first place. For this reason, when a UI extension targets a system other than a Web system, the conventional UI extension cannot display the additional UI on the system screen by the method of inserting HTML of the additional UI into the DOM tree.
[0030] 3B, similarly to the case of FIG 3A, the screen 30 of the existing system includes an existing UI 31 and a base UI 32. Also, an additional UI 33 is displayed on the screen 30 of the existing system.
[0031] In order to determine whether to display an additional UI, the conventional UI extension specifies a base UI from among the UIs displayed on the existing system screen. Then, when the base UI is displayed, the conventional UI extension performs control to display the corresponding additional UI.
[0032] In the example of Fig. 3B, the base UI 32 is the base UI corresponding to the additional UI 31. If the base UI 32 is displayed, the additional UI 33 is also displayed. If the base UI 32 is not displayed, the additional UI 33 is not displayed.
[0033] As described above, conventional UI extensions are targeted at Web systems. The conventional UI extension calls a JavaScript API that manipulates the DOM tree (step S31). As a result, the conventional UI extension checks whether a base UI exists (step S32). For example, the conventional UI extension can easily check whether a base UI exists by checking the execution result of "document.getElementById("text01")" based on the id information.
[0034] However, as described above, systems other than Web systems do not have DOM trees in the first place, so when a UI extension targets a system other than a Web system, the conventional UI extension cannot check whether a base UI exists by using an API that manipulates the DOM tree.
[0035] In the example of FIG. 3C, screen 40 of the existing system includes existing U41, existing U42, and additional UI43. The conventional UI extension distributes data between the UI displayed in the existing system and the additional UI. For example, when a value is selected in the added UI (pull-down), the conventional UI extension reflects information corresponding to the selected value in the UI (text box) of the existing system. In this way, the conventional UI extension realizes UI efficiency such as simplified input.
[0036] In the conventional UI extension, both the additional UI and the existing UI exist in the same DOM tree rendered in the Web browser. Therefore, the conventional UI extension can easily realize the following two processes in data distribution by calling a JavaScript API that operates the DOM tree (step S41).
[0037] The first process is to reflect the operation on the additional UI in the existing UI on the system screen (step S42). The second process is to reflect the information of the existing UI on the system screen in the additional UI (step S43).
[0038] For example, when a conventional UI extension sets a value in an existing UI in response to a selection of an additional UI, the conventional UI extension executes JavaScript such as the following: For example, the JavaScript to be executed is "if ($("#ext01").val()=="pattern1"){$("text01").val("option1");$("text02").val("option2");}".
[0039] However, as described above, systems other than Web systems do not have DOM trees in the first place, so when a UI extension targets a system other than a Web system, the conventional UI extension cannot distribute data using an API that manipulates the DOM tree.
[0040] As described above, the conventional UI extension inserts an additional UI at the end of the DOM tree. For this reason, the conventional UI extension makes it difficult to display an additional UI on the screen of a system having a GUI other than a Web system.
[0041] To realize UI extension that can be applied to systems other than Web systems, the following three processes are considered to be necessary for a system having various GUI implementations. The first process is a display process that displays the additional UI on the system screen. The second process is an identification process that identifies a base UI. The third process is a distribution process that distributes data between an existing UI and the additional UI. Specifically, the third process includes a process that reflects an operation on the additional UI in the existing UI on the system screen, and a process that reflects information of the existing UI on the system screen in the additional UI.
[0042] Therefore, in order to apply UI extension to systems other than Web systems, the user interface extension system according to the embodiment executes the process described below.
[0043] A user interface extension system according to an embodiment displays an additional UI on a system screen. The user interface extension system operates a web browser with a transparent background on top of the system screen, independently of the system screen, and displays the additional UI in the transparent web browser.
[0044] The user interface extension system also identifies the base UI. For example, the user interface extension system identifies the base UI in the following two ways depending on the implementation of the system. The first method is to identify the UI by the Accessibility API using the property values of the base UI. The second method is to identify the UI by image processing such as pattern matching using a captured image of the base UI.
[0045] Furthermore, the user interface extension system distributes data between the existing UI and the additional UI. For example, the user interface extension system distributes data in the following two ways depending on the implementation of the system. In the first method, the user interface extension system uses an Accessibility API to obtain and change properties of the existing UI, thereby distributing data. In the second method, the user interface extension system distributes data via the clipboard by keyboard copy and paste operations.
[0046] This allows the user interface extension system to apply UI extension to systems other than Web systems. The user interface extension system can display an additional UI on a screen of a system having a GUI of a system other than a Web system. The user interface extension system can also distribute data between an existing UI and the additional UI.
[0047] [3. User Interface Extension System Configuration] Next, a configuration example of a user interface extension system according to an embodiment will be described with reference to FIG.
[0048] Fig. 4 is a diagram showing an example of a user interface extension system 1 according to an embodiment. As shown in Fig. 4, the user interface extension system 1 includes a terminal device 100 and a content providing device 200. Although not shown in Fig. 4, the user interface extension system 1 may include a plurality of terminal devices 100 and a plurality of content providing devices 200.
[0049] In the user interface extension system 1, the terminal device 100 and the content providing device 200 are each connected to a network N by wire or wirelessly. The network N is, for example, the Internet, a Wide Area Network (WAN), a Local Area Network (LAN), etc. The components of the user interface extension system 1 can communicate with each other via the network N.
[0050] [3-1. Components] The terminal device 100 is an information processing device that executes a process for extending a user interface. The terminal device 100 may be any type of information processing device, including a client device. An example of the configuration of the terminal device 100 will be described in detail in the next section.
[0051] The content providing device 200 is an information processing device used by a content provider. The content provider provides content to the terminal device 100. The term "content" may include various types of information related to a screen, such as an application screen (i.e., a window) or the contents of a Web page. The content providing device 200 may be any type of information processing device, including a server.
[0052] [3-2. Terminal Device Configuration] Next, a configuration example of the terminal device 100 will be described.
[0053] As shown in FIG. 4, the terminal device 100 includes a communication unit 110, an input unit 120, an output unit 130, an existing system 140, a storage unit 150, and a control unit 160.
[0054] (Communication unit 110) The communication unit 110 is realized by, for example, a network interface card (NIC) or the like. The communication unit 110 is connected to a network by wire or wirelessly. The communication unit 110 is communicatively connected to the content providing device 200 via the network N. The communication unit 110 can transmit and receive information to and from the content providing device 200 via the network.
[0055] (Input unit 120) The input unit 120 is an input device that accepts various operations from a user of the terminal device 100. For example, the input unit 120 is realized by a keyboard, a mouse, operation keys, or the like.
[0056] (Output unit 130) The output unit 130 is a display device for displaying various types of information. For example, the output unit 130 is realized by a liquid crystal display, an organic EL (Electro Luminescence) display, etc. When a touch panel is adopted in the terminal device 100, the input unit 120 and the output unit 130 are integrated.
[0057] (Existing System 140) The existing system 140 is existing software such as a business system or various applications. The existing system 140 receives content from the content providing device 200. The existing system 140 also has a UI. The received content is provided to the user of the terminal device 100 via this UI.
[0058] 4, the existing system 140 is shown as software installed in the terminal device 100, but is not limited to this. The existing system 140 may be installed in the content providing device 200. However, the UI of the existing system 140 is assumed to exist in the terminal device 100.
[0059] (Storage unit 150) The storage unit 150 is realized by, for example, a semiconductor memory element such as a random access memory (RAM) or a flash memory, or a storage device such as a hard disk or an optical disk. As shown in FIG. 4, the storage unit 150 has a rule storage unit 151 and a clipboard storage unit 152.
[0060] (Rule storage unit 151) The rule storage unit 151 stores rules related to system definitions. A rule includes at least one system definition.
[0061] Fig. 5 is a diagram illustrating an example of the rule storage unit 151 according to the embodiment. As illustrated in Fig. 5, the rule storage unit 151 stores rules including a plurality of system definitions. Each system definition includes a system judgment condition, an environment setting (monitoring interval, monitoring event), and at least one additional UI setting (base point definition, display condition, appearance definition, operation definition).
[0062] System criteria include, for example, a process name (eg, myapplication.exe) and a window title name (eg, myapplication).
[0063] The environment setting includes at least one of a monitoring interval indicating a timing for monitoring a change in the existing system or a monitoring event indicating a list of events to be used as a change in the existing system. For example, the environment setting includes a monitoring interval (e.g., 5 seconds) and a monitoring event (e.g., a mouse wheel event, a window resize event).
[0064] The additional UI setting includes a base definition, a display condition, an appearance definition, or an action definition. For example, the additional UI setting includes at least one of 1) a base definition including a capture image or a property value that is information of the UI of the existing system that serves as a base when the UI to be added is displayed, 2) a display condition indicating a condition under which the UI to be added is displayed, 3) an appearance definition indicating the appearance of the UI to be added, or 4) an action definition indicating the behavior of the UI to be added.
[0065] (Clipboard storage unit 152) The clipboard storage unit 152 stores the clipboard. The clipboard is used by the data distribution unit 164, which will be described later.
[0066] (Control unit 160) The control unit 160 is a controller, and is realized by a processor such as a CPU (Central Processing Unit) or MPU (Micro Processing Unit) executing various programs (corresponding to an example of a user interface extension program) stored in a storage device inside the terminal device 100 using a RAM or the like as a working area. The control unit 160 may also be realized by an integrated circuit such as an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or a GPGPU (General Purpose Graphic Processing Unit).
[0067] As shown in FIG. 4, the control unit 160 has a first timing generation unit 161, a base point search unit 162, a display control unit 163, a data distribution unit 164, and a second timing generation unit 165, and realizes or executes the functions and actions of information processing described below. One or more processors of the terminal device 100 can realize the functions of each control unit in the control unit 160 by executing instructions stored in one or more memories of the terminal device 100. Note that the internal configuration of the control unit 160 is not limited to the configuration shown in FIG. 4, and may be other configurations as long as they perform information processing described later. For example, the display control unit 163 may perform all or part of information processing described later for units other than the display control unit 163.
[0068] As an example, the control unit 160 is implemented as a first application installed in the terminal device 100. In this example, the above-mentioned existing system 140 is implemented as a second application installed in the terminal device 100.
[0069] (First timing generating unit 161) The first timing generating unit 161 determines the timing to search for a base UI from the screen of the system. For example, the first timing generating unit 161 monitors the existing system 140. Then, the first timing generating unit 161 determines the timing to search for a base UI from the screen of the existing system 140 based on whether the screen of the existing system 140 is visibly displayed. In this manner, the first timing generating unit 161 adjusts the timing to search for a base UI. The first timing generating unit 161 can monitor the existing system 140 by using a method such as UI Automation or a global hook.
[0070] As an example, the first timing generating unit 161 acquires system judgment conditions and environmental settings from all system definitions of rules stored in the rule storage unit 151. Each time the monitoring interval of the environmental settings elapses, the first timing generating unit 161 judges whether a window of a system that matches the system judgment conditions is displayed in the foreground on the desktop. If the window is displayed in the foreground, the first timing generating unit 161 calls the base point searching unit 162 using all additional UI settings included in the system definition as input.
[0071] (Base point search unit 162) The base point search unit 162 searches for a base UI that serves as a base point for displaying an additional UI to be added to a screen of the system from the screen of this system. For example, the base point search unit 162 uses an additional UI setting saved in the rule stored in the rule storage unit 151 as an input. Then, the base point search unit 162 searches for a UI (base UI) that matches the base definition from the screen of the existing system 140 at the timing instructed by the first timing generation unit 161.
[0072] As an example, the base point search unit 162 is called at a timing instructed by the first timing generation unit 161. When a property value is set as the base point definition, the base point search unit 162 searches for a UI (base point UI) that matches the property value of the base point definition using an Accessibility API. When a capture image is set as the base point definition, the base point search unit 162 uses, as input, the capture image of the base point definition and a capture image showing the current display of the screen of the existing system. Then, the base point search unit 162 searches for a UI (base point UI) that matches the capture image of the base point definition by any image processing method such as template matching.
[0073] When the base point UI is found and the display condition is set as the base point definition, the base point search unit 162 acquires a value from the base point UI by information processing (acquisition of a value) described later with respect to the data distribution unit 164. Then, the base point search unit 162 determines whether the value of the base point UI matches the display condition.
[0074] The base point search unit 162 returns a match or mismatch as the determination result. If the determination result is a match, the base point search unit 162 returns the coordinates and size of the base point UI together with the determination result. In addition, the base point search unit 162 adds the base point UI to the second timing generation unit 165 as a monitoring target. If the base point UI is not found, the base point search unit 162 returns a mismatch as the determination result.
[0075] In this way, the base point searching unit 162 identifies a base UI that is the target of displaying an additional UI, based on the property values of the UI used in the Accessibility API and the results of image processing of the captured image of the system screen.
[0076] 6 is an explanatory diagram showing an example of a base point search process for searching for a base UI that is a base point for displaying an additional UI. The base point search unit 162 identifies a UI that is a base point from an existing system (for example, the existing system 140).
[0077] When a UI extension targets a Web system, it can easily identify the base UI by using a JavaScript API that manipulates the DOM. However, when a UI extension targets an arbitrary system, it cannot use a unified mechanism such as a JavaScript API.
[0078] Therefore, in order to support implementation of various systems, the base point search unit 162 identifies a UI to be a base point by using both the Accessibly API and image processing. The rules stored in the rule storage unit 151 described above hold a base point definition for identifying a base point. The base point search unit 162 can set, in this base point definition, either a property value for identifying a base point UI with the Accessibility API or a captured image for identifying a base point UI by image processing.
[0079] In the example of Fig. 6, process 51 is a process of identifying a base UI by an Accessibility API. Depending on the implementation of the system, the base point search unit 162 can use the Accessibility API. For example, in an implementation such as Windows Presentation Foundation (WPF) of Windows (registered trademark), the base point search unit 162 can use UI Automation or the like. Also, in an implementation such as Swing of Java (registered trademark), the base point search unit 162 can use Java Access Bridge or the like. When the base point search unit 162 can use the Accessibility API, the base point search unit 162 can acquire property values of each UI constituting the system screen.
[0080] The base point search unit 162 can set a property value in the base point definition of the rule stored in the rule storage unit 151. In this case, the base point search unit 162 can sequentially acquire property values of the UI of the target existing system by the Accessibility API. The base point search unit 162 can identify the UI to be the base point by determining whether there is an acquired property value that matches the property value of the base point definition.
[0081] In the example of FIG. 6, the process 52 is a process for identifying a base UI by image processing. When the UI of the system is constructed by a unique implementation, the base search unit 162 may not be able to use the Accessibility API. Even in such a case, the base search unit 162 can set a capture image as the base definition. The base search unit 162 can identify the base UI by matching the current capture image of the system screen with the capture image set in the base definition by image processing such as template matching.
[0082] (Display control unit 163) The display control unit 163 displays a new screen with a transparent background by overlapping it with the system screen. Then, the display control unit 163 displays an additional UI on this new screen at a position based on the base UI.
[0083] For example, the display control unit 163 uses as input the additional UI settings saved in the rules stored in the rule storage unit 151 and the search results of the base point search unit 162. Then, the display control unit 163 displays a Web browser with a transparent background, whose window size matches the window size of the screen of the existing system 140, on the top of the screen of the existing system 140. Furthermore, the display control unit 163 displays the additional UI in this Web browser according to the appearance definition.
[0084] As an example, the display control unit 163 uses as input the determination result, the coordinates of the base UI, and the size of the base UI output by the base point search unit 162. If the determination result is a match, the display control unit 163 calculates the display position of the additional UI from the coordinates of the base UI and the relative coordinates set in the appearance definition.
[0085] If the corresponding additional UI is not displayed on the transparent web browser, the display control unit 163 newly displays the additional UI at the calculated display position according to the HTML information set in the appearance definition. If the corresponding additional UI is already displayed, the display control unit 163 corrects the current display position of the additional UI to the calculated display position.
[0086] If the determination result is a mismatch and the corresponding additional UI is already displayed on the transparent web browser, the display control unit 163 hides the corresponding additional UI.
[0087] Regarding operation events to a transparent area in the transparent web browser, the transparent web browser may distribute all operation events generated in an area where no additional UI is displayed to an existing system displayed below the transparent web browser. For example, the transparent web browser may distribute all operation events to the existing system without processing any of the operation events for the area where no additional UI is displayed.
[0088] In this way, the display control unit 163 operates a web browser with a transparent background that is independent of the system screen, and displays an additional UI in the web browser.
[0089] Fig. 7 is an explanatory diagram showing an example of a display control process for controlling the display of an additional UI. In the example of Fig. 7, the display control unit 163 displays the additional UI on the system screen 60. The system screen 60 is a screen of an existing system.
[0090] The display control unit 163 operates the Web browser 70 with a transparent background on top of the Web browser 70, independent of the system screen 60, and displays the UI 71 on the transparent Web browser 70. The system screen 60 may be implemented by Windows WPF or Java Swing, etc. When the user of the terminal device 100 looks at the system screen 60 from the front, the UI 71 appears to have been added to the original system screen 60, similar to a conventional UI extension.
[0091] (Data Distribution Department 164) The data distribution unit 164 distributes data between the existing UI on the screen of the system and the additional UI. For example, the data distribution unit 164 uses the additional UI setting saved in the rules stored in the rule storage unit 151 as an input. Then, the data distribution unit 164 distributes data input or displayed in each UI between the additional UI displayed in the transparent web browser by the display control unit 163 and the UI displayed in the existing system 140 according to the operation definition.
[0092] As an example, the data distribution unit 164 provides data distribution corresponding to at least one operation definition among a value acquisition, a value setting, and a click operation, which is saved in a rule stored in the rule storage unit 151 .
[0093] For example, when the operation definition is value acquisition, the data distribution unit 164 acquires a value displayed on the UI of the existing system 140. Then, the data distribution unit 164 reflects the acquired value as it is in the additional UI displayed on the transparent web browser by the display control unit 163. Alternatively, the data distribution unit 164 processes or converts the acquired value and reflects the value in the additional UI.
[0094] In the above-mentioned value acquisition, the data distribution unit 164 judges whether the UI of the existing system (e.g., existing system 140) to be targeted is compatible with the Accessibility API. If the UI of the existing system to be targeted is compatible with the Accessibility API, the data distribution unit 164 acquires the value displayed on the UI of the existing system using the Accessibility API. If the UI of the existing system to be targeted is not compatible with the Accessibility API, the data distribution unit 164 acquires the value displayed on the UI of the existing system via the clipboard stored in the clipboard storage unit 152 by performing a keyboard copy operation on the UI of the existing system.
[0095] When the operation definition is a value setting, the data distribution unit 164 acquires the value displayed in the additional UI displayed in the transparent Web browser by the display control unit 163. Then, the data distribution unit 164 reflects the acquired value as it is in the UI of the existing system 140.
[0096] In the above-mentioned value setting, the data distribution unit 164 judges whether the UI of the existing system (e.g., existing system 140) to be targeted is compatible with the Accessibility API. If the UI of the existing system to be targeted is compatible with the Accessibility API, the data distribution unit 164 uses the Accessibility API to reflect the value in the UI of the existing system. If the UI of the existing system to be targeted is not compatible with the Accessibility API, the data distribution unit 164 reflects the value in the UI of the existing system via the clipboard stored in the clipboard storage unit 152 by performing a paste operation of the keyboard on the UI of the existing system.
[0097] When the action definition is a click operation and the click operation is performed on an additional UI displayed in a transparent Web browser by the display control unit 163, the data distribution unit 164 reflects this click operation in the UI of the existing system 140.
[0098] For example, the data distribution unit 164 determines whether the UI of the target existing system (e.g., existing system 140) is compatible with the Accessibility API. If the UI of the target existing system is compatible with the Accessibility API, the data distribution unit 164 uses the Accessibility API to reflect a click operation in the UI of the existing system. If the UI of the target existing system is not compatible with the Accessibility API, the data distribution unit 164 temporarily minimizes the entire transparent web browser. Then, the data distribution unit 164 reflects the click operation in the UI of the existing system by generating a click event at the coordinates where the UI of the existing system is displayed.
[0099] Fig. 8 is an explanatory diagram showing an example of a data distribution process for distributing data between an existing UI and an additional UI. In the example of Fig. 8, the data distribution unit 164 distributes data between the existing UI and the additional UI by using an Accessibility API or a virtual keyboard operation.
[0100] As mentioned above, when UI extension targets a Web system, not only the existing UI but also the additional UI exists in the same DOM tree. For this reason, data can be easily circulated by using a JavaScript API that manipulates the DOM. However, when the screen of the existing system is implemented using Windows WPF or Java Swing, this screen does not have a DOM tree. The transparent Web browser that displays the additional UI is completely independent from the screen of the existing system. Therefore, using the conventional method (method that uses a JavaScript API), it is difficult to circulate data between the existing UI and the additional UI.
[0101] Therefore, in order to support implementation of various systems, the data distribution unit 164 enables data distribution between the existing UI and the additional UI by using the Accessibly API in combination with virtual keyboard operations.
[0102] Regarding the Accessibly API, when the data distribution unit 164 can use the Accessibly API, the data distribution unit 164 acquires an API for operating each UI constituting the screen of the system. By calling these APIs, the data distribution unit 164 can set values for the UIs and acquire values from the UIs.
[0103] 8, first, the data distribution unit 164 obtains the value of the additional UI by calling a JavaScript API for the transparent web browser (step S80A-1). For example, the data distribution unit 164 can easily obtain the value of the additional UI by using a method called "$("ext01").val()".
[0104] Next, the data distribution unit 164 calls an API that sets the value of the Accessibly API, and reflects the value acquired from the additional UI in the UI of the existing system (step S80A-2).
[0105] Regarding virtual keyboard operations, as described above, when the UI of the system is constructed by a unique implementation, the data distribution unit 164 may not be able to use the Accessibly API. Even in such a case, the data distribution unit 164 can cause the software to execute keyboard copy or paste operations by virtual keyboard operations. The data distribution unit 164 can distribute data between the existing UI and the additional UI via the clipboard.
[0106] In the example of FIG. 8, first, the data distribution unit 164 acquires the value of an additional UI, similarly to the case of the Accessibly API (step S80B-1).
[0107] Next, the data circulation unit 164 sets the value acquired from the additional UI in the clipboard (step S80B-2).
[0108] Next, the data distribution unit 164 focuses on an existing UI for which data distribution is desired (step S80B-3). In other words, the existing UI for which data distribution is desired is an existing UI for which the user of the terminal device 100 wants to distribute data.
[0109] Next, the data circulation unit 164 executes a keyboard operation of pasting from the software (step S80B-4). That is, the human (user) does not operate the keyboard.
[0110] (Second timing generating unit 165) The second timing generating unit 165 determines the timing to redisplay the additional UI displayed by the display control unit 163 based on whether a predetermined event has occurred on the screen of the system. For example, the second timing generating unit 165 uses, as an input, the environmental settings saved in the rules stored in the rule storage unit 151. Then, the second timing generating unit 165 monitors changes in the existing system 140 and indicates the timing when the additional UI needs to be redisplayed. In this way, the second timing generating unit 165 adjusts the timing to redisplay the additional UI. The second timing generating unit 165 can monitor changes in the existing system 140 using a method such as UI Automation or a global hook.
[0111] More specifically, when an event set as a monitored event in the environment settings is observed from a window of a system that matches the system judgment conditions, the second timing generation unit 165 calls a process that matches the type of event.
[0112] With respect to the above-mentioned monitoring events and the processes that are called, the second timing generating section 165 can execute at least one of the following four processes.
[0113] Regarding the first process, when a mouse wheel event occurs in a window of a target system (for example, existing system 140), second timing generation unit 165 uses all additional UI settings included in the corresponding system definition as input to call base point search unit 162. In this way, second timing generation unit 165 causes the display position of the additional UI to follow the change in the display position of the base UI caused by scrolling the mouse wheel.
[0114] As for the second process, when a window resize event occurs in a target system (e.g., existing system 140), second timing generation unit 165 resizes the corresponding transparent web browser so that the size of the web browser follows the size of the system window. After resizing, second timing generation unit 165 calls base point search unit 162 using all additional UI settings included in the corresponding system definition as input. In this way, second timing generation unit 165 makes the display position of the additional UI follow the change in the display position of the base point UI due to the resize of the window.
[0115] As for the third process, when an update event such as a drawing reload occurs in a window of a target system (for example, existing system 140), second timing generation unit 165 deletes all additional UIs displayed in the corresponding transparent web browser. After deleting the additional UIs, second timing generation unit 165 calls base point search unit 162 using all additional UI settings included in the corresponding system definition as input. As a result, second timing generation unit 165 switches the display of the additional UIs in response to a change in the display content of the system screen.
[0116] As for the fourth process, when a mouse click event or a focus change event occurs in a window of a target system (for example, existing system 140), second timing generation unit 165 identifies a UI in which the corresponding event occurred. If the corresponding UI matches a base UI registered as a monitoring target by base point search unit 162, the additional UI setting including a base point definition corresponding to the base point UI is used as an input to call base point search unit 162. As a result, second timing generation unit 165 switches the display of the corresponding additional UI in response to a change in the value of the base point UI.
[0117] 9A and 9B are diagrams illustrating an example of a timing generation process for generating a timing for redisplaying an additional UI.
[0118] As described above, the transparent web browser that displays the additional UI is completely independent from the screen of the existing system 140. For this reason, the following measures may be required. Note that in the conventional user interface extension, the existing UI and the additional UI exist in the same DOM tree. For this reason, the conventional user interface extension does not need to take the following measures into consideration.
[0119] The first response is to detect a change in the value of the base UI and notify the additional UI (an independent transparent Web system) of the change in value. The second response is to delete (clear) the UI added to the transparent Web system or to specify the timing of redrawing. For such responses, the control unit 160 has a second timing generation unit 165.
[0120] The condition "a certain value is set in the base UI" frequently appears as a display condition for additional UI. In such cases, when the user changes the value of the base UI, it is necessary to check the value of the base UI, determine whether the value matches the display condition, and control the display of the additional UI.
[0121] In conventional UI extensions, the target of UI extension was Web systems. Therefore, by using the JavaScript event listener function to register a listener for an event that you want to observe, you can easily obtain changes in the base UI value. However, in the UI extension according to the implementation example, the target existing systems include systems other than Web systems. Therefore, it is not easy to register a listener for an event of an existing UI.
[0122] Therefore, the second timing generating unit 165 determines whether the existing UI that was clicked or the existing UI whose focus has been changed is the base UI at the timing when the mouse click or focus change event occurs. In any system implementation, the mouse click or focus change is an event that is easily observed.
[0123] When it is determined that the clicked existing UI or the existing UI whose focus has been changed is the base UI, the second timing generation unit 165 calls the processing of the base search unit 162 for the corresponding additional UI and checks the display condition of the corresponding additional UI again. In this way, the second timing generation unit 165 notifies the additional UI of the timing when the value of the base UI may have been changed, thereby enabling display control of the additional UI. In this way, the second timing generation unit 165 monitors mouse clicks and focus changes, and notifies of the possibility that a change in the value of the base UI has occurred.
[0124] Regarding the timing when the base UI value may have changed, a mouse click or focus change event does not always occur at the timing when the base UI value has changed. As a result, the base UI value may not have changed. Even in such a case, there is no inconvenience in rechecking the display conditions. If an event other than a mouse click and a focus change event may occur at the timing when the base UI value has changed, the second timing generating unit 165 may monitor the other event. When the other event occurs, the second timing generating unit 165 may notify the possibility that a change in the base UI value has occurred, as in the case of a mouse click or focus change.
[0125] In addition, if the Accessibility API allows the registration of a listener for an event such as a value change for a base UI, the second timing generation unit 165 can also register a listener for each base UI. When an event occurs, the second timing generation unit 165 can notify the corresponding additional UI of the timing at which the value of the base UI was changed.
[0126] In the example of FIG. 9A, a base UI 91 and a corresponding additional UI 92 are displayed on a screen 90 of an existing system. The display condition for the additional UI 92 is that "the value of the base UI is 'aaa'." In many cases, a mouse click or focus change event occurs at the timing when the value of the base UI 91 is changed. The second timing generation unit 165 detects the change in the value of the base UI 91 at the timing when the value of the base UI 91 is changed, and hides the additional UI 92.
[0127] On the other hand, in the example of FIG. 9B, the second timing generating unit 165 deletes (clears) all UIs added to the transparent Web browser, and performs new display control.
[0128] In traditional UI extensions, the existing UI and the additional UI are displayed in the same web browser DOM tree, so it is self-evident when the additional UI is removed (cleared) or redrawn.
[0129] For example, when a web page that displays additional UI is reloaded, the entire DOM tree is deleted once and the new DOM tree is reloaded, so the additional UI is also deleted (cleared), and after the new DOM tree is loaded, the required additional UI is redrawn.
[0130] However, in the UI extension according to the implementation example, the existing UI is completely independent from the area in which the additional UI is displayed. Even if the existing UI is reloaded, the additional UI will remain as is. It is possible to switch between hidden and visible by the display control process at each monitoring interval. However, the additional UI cannot be reloaded. It is also possible to reload a new additional UI each time (i.e., delete the additional UI and then add a UI) without hiding the additional UI by the display control process. In this case, the contents entered by the user into the additional UI are cleared at each monitoring interval, which is unusable as a user interface extension.
[0131] Therefore, the second timing generating unit 165 makes it possible to arbitrarily set the update (reload) event (for example, when the update button of the screen of the existing system is pressed, when the tab is switched, etc.). Then, when an update event occurs, the second timing generating unit 165 deletes (clears) all UIs added to the corresponding transparent Web browser, and performs new display control. In this way, the second timing generating unit 165 makes it possible to redraw the additional UIs.
[0132] In the example of FIG. 9B, the base UI 91 and the corresponding additional UI 92 are displayed on the screen 90 of the existing system. In this example, the entire scroll area is redrawn, and the base UI 91 disappears. In a UI extension targeted at a conventional Web system, the additional UI 92 is automatically deleted. However, in a UI extension according to the implementation example, the additional UI 92 is left as it is. At best, the additional UI 92 is hidden, and the additional UI 92 is not deleted (cleared). The second timing generation unit 165 applies new display control to the additional UI 92. The new display control will be described in detail below with reference to FIG. 14.
[0133] [4. UI extension process flow] Next, a procedure of a UI extension process performed by the terminal device 100 according to the embodiment will be described with reference to FIGS. 10, 11, 12, 13, 14, and 15. FIG.
[0134] FIG. 10 is a flowchart showing an example of a process for extending the UI of a screen of an existing system, which is executed by the terminal device 100 according to the embodiment.
[0135] 10, first, the first timing generating unit 161 of the terminal device 100 monitors the existing system (step S101). The monitoring of the existing system will be described in detail below with reference to FIG.
[0136] Next, the base point search unit 162 of the terminal device 100 determines whether the current time is the timing to search for the base UI of the existing system (step S102). If it is determined that the current time is not the timing to search for the base UI of the existing system (step S102: No), the processing procedure returns to step S101.
[0137] When it is determined that the current time is the timing to search for the base UI of the existing system (step S102: Yes), the base search unit 162 searches for the base UI of the existing system (step S103). The search for the base UI of the existing system will be described in detail below with reference to FIG.
[0138] Next, the display control unit 163 of the terminal device 100 controls the display of the additional UI (step S104). The control of the display of the additional UI will be described in detail below with reference to FIG.
[0139] Next, the second timing generating unit 165 of the terminal device 100 monitors changes in the existing system (step S105). Monitoring changes in the existing system will be described in detail below with reference to FIG.
[0140] Next, the base point search unit 162 determines whether the current time is the timing to re-display the additional UI (step S106). If it is determined that the current time is the timing to re-display the additional UI (step S106: Yes), the process returns to step S103.
[0141] When it is determined that the current time is not the timing to redisplay the additional UI (step S106: No), the second timing generating unit 165 of the terminal device 100 distributes data between the existing UI and the additional UI (step S107). The distribution of data between the existing UI and the additional UI will be described in detail below with reference to FIG. 15.
[0142] 10, the terminal device 100 executes step S107 after step S105 and step S106, but the order is not limited to this. The terminal device 100 may monitor changes in the existing system after data is circulated between the existing UI and the additional UI.
[0143] 11 is a flowchart showing an example of a process for monitoring an existing system, which is executed by the terminal device 100 according to the embodiment. The first timing generating unit 161 of the terminal device 100 executes monitoring of the existing system in parallel for each system definition stored in the rule storage unit 151.
[0144] 11, first, the first timing generating unit 161 determines whether the time set in the monitoring interval has elapsed (step S201) based on the system definition stored in the rule storage unit 151. If it is determined that the time set in the monitoring interval has not elapsed (step S201: No), the first timing generating unit 161 executes step S201 again.
[0145] When it is determined that the time set in the monitoring interval has elapsed (step S201: Yes), the first timing generating unit 161 determines whether a window of a system that matches the system determination condition is displayed in the foreground on the desktop (step S202).When it is determined that a window of a system that matches the system determination condition is not displayed in the foreground on the desktop (step S202: No), the processing procedure returns to step S201.
[0146] When it is determined that a window of a system that matches the system determination condition is displayed in the foreground on the desktop (step S202: Yes), the first timing generation unit 161 uses all additional UI settings included in the system definition as input to call the base point search unit 162 (step S203). In other words, the first timing generation unit 161 instructs the base point search unit 162 to search for a base UI. This allows the base point search unit 162 to determine whether the current time is the timing to search for a base UI of an existing system.
[0147] 12 is a flowchart illustrating an example of a process for searching for a base UI of an existing system, which is executed by the terminal device 100 according to the embodiment. The base search unit 162 of the terminal device 100 searches for a base UI of the existing system for each additional UI setting stored in the rule storage unit 151.
[0148] 12, first, the base point search unit 162 determines whether or not there is an instruction to search for a base UI (step S301). If it is determined that there is no instruction to search for a base UI (step S301: No), the base point search unit 162 waits until it is time to search for a base UI of an existing system. Then, the base point search unit 162 executes step S301 again.
[0149] When it is determined that an instruction to search for a base UI has been issued (step S301: Yes), the base search unit 162 determines whether processing of all additional UI settings has been completed (step S302). When it is determined that processing of all additional UI settings has been completed (step S302: Yes), the processing procedure ends.
[0150] If it is determined that the processing of all additional UI settings has not been completed (step S302: No), the base point searching unit 162 acquires a base point definition from the rule storage unit 151 (step S303).
[0151] Next, the base point search unit 162 searches for a base UI based on the acquired base point definition (step S304). The base point search unit 162 executes the search for the base UI in parallel for each base point definition.
[0152] In one example, the base point searching unit 162 sequentially acquires property values of UIs of existing systems using an Accessibility API, and searches for a UI (base point UI) that matches the property values of the base point definition (step S304A-1).
[0153] In another example, the base point search unit 162 acquires a capture image of a target existing system (step S304B-1). Next, the base point search unit 162 searches for a UI (base point UI) that matches the capture image of the base point definition from among the capture images of the existing system (step S304B-2).
[0154] Next, the base point search unit 162 determines whether the base UI has been found (step S305). If it is determined that the base UI has not been found (step S305: No), the display control unit 163 is called using the corresponding additional UI setting and the determination result (mismatch) as input. Then, the base point search unit 162 executes step S302 again.
[0155] If it is determined that the base UI has been found (step S305: Yes), the base point searching unit 162 determines whether there is a display condition (step S307).
[0156] If it is determined that there is a display condition (step S307: Yes), the base point search unit 162 determines whether the value of the base point UI matches the display condition (step S308). In other words, if the base point search unit 162 can acquire the display condition, the base point search unit 162 executes step S308. The base point search unit 162 can acquire the value of the base point UI by, for example, the information processing (acquisition of a value) described above with respect to the data distribution unit 164.
[0157] If it is determined that the value of the base UI matches the display condition (step S308: Yes), the base point search unit 162 acquires the coordinates and size of the base UI (step S309). If it is determined that the value of the base UI does not match the display condition (step S308: No), the process proceeds to step S306.
[0158] If it is determined that there is no display condition (step S307: No), the process proceeds to step S309. In other words, if the base point searching unit 162 cannot acquire the display condition, the base point searching unit 162 executes step S309.
[0159] Next, the base point searching unit 162 adds the base UI to the second timing generating unit 165 as a monitoring target (step S310).
[0160] Next, the base point search unit 162 uses the corresponding additional UI setting, the determination result (match), the coordinates of the base UI, and the size of the base UI as input to call the display control unit 163 (step S311). Then, the base point search unit 162 executes step S302 again.
[0161] 13 is a flowchart showing an example of a process for controlling the display of an additional UI executed by the terminal device 100 according to the embodiment. The display control unit 163 of the terminal device 100 controls the display of the additional UI based on the additional UI setting, the determination result (match or mismatch) of the base point search unit 162, and the coordinates and size of the base point UI.
[0162] 13, first, the display control unit 163 determines whether the value of the base UI matches the display condition (step S401). If it is determined that the value of the base UI does not match the display condition (step S401: No), the display control unit 163 determines whether the additional UI is already displayed on the transparent Web browser (step S402). If it is determined that the additional UI is not yet displayed on the transparent Web browser (step S402: No), the processing procedure ends.
[0163] If it is determined that the additional UI is already displayed on the transparent web browser (step S402: Yes), the display control unit 163 hides the additional UI (step S403).
[0164] In step S401, if it is determined that the value of the base UI matches the display conditions (step S401: Yes), the display control unit 163 calculates the display position of the additional UI on the transparent Web browser from the relative coordinates, coordinates, and size set in the appearance definition of the additional UI setting (step S404).
[0165] Next, the display control unit 163 determines whether the additional UI is already displayed on the transparent Web browser (step S405). If it is determined that the additional UI is already displayed on the transparent Web browser (step S405: Yes), the display control unit 163 corrects the display position of the additional UI to the calculated display position (step S406).
[0166] If it is determined that the additional UI is not yet displayed on the transparent web browser (step S405: No), the display control unit 163 newly displays the additional UI at the calculated display position according to the HTML information set in the appearance definition stored in the rule memory unit 151 (step S407).
[0167] 14 is a flowchart showing an example of a process for monitoring changes in an existing system, which is executed by the terminal device 100 according to the embodiment. The second timing generating unit 165 of the terminal device 100 executes step S500 of monitoring changes in the existing system in parallel for each system definition stored in the rule storage unit 151.
[0168] In one example, the second timing generating section 165 determines whether the event set as the monitoring event has occurred (step S500A-1). If it is determined that the event set as the monitoring event has not occurred (step S500A-1: No), the second timing generating section 165 executes step S500A-1 again.
[0169] If it is determined that the event set as the monitored event has occurred (step S500A-1: Yes), the second timing generating section 165 executes a process corresponding to the event (step S500A-2). Then, the second timing generating section 165 executes step S500A-1 again.
[0170] In another example, the second timing generating section 165 determines whether a mouse wheel event has occurred (step S500B-1). If it is determined that a mouse wheel event has not occurred (step S500B-1: No), the second timing generating section 165 executes step S500B-1 again.
[0171] When it is determined that a mouse wheel event has occurred (step S500B-1: Yes), the second timing generation unit 165 calls the base point search unit 162 using all additional UI settings included in the system definition as input (step S500B-2). In other words, the second timing generation unit 165 instructs the base point search unit 162 to search for a base UI. This allows the base point search unit 162 to determine whether the current time is the timing to redisplay the additional UI. Then, the second timing generation unit 165 executes step S500B-1 again.
[0172] In yet another example, the second timing generating section 165 determines whether a window size change event has occurred (step S500C-1). If it is determined that a window size change event has not occurred (step S500C-1: No), the second timing generating section 165 executes step S500C-1 again.
[0173] If it is determined that a window size change event has occurred (step S500C-1: Yes), second timing generation section 165 acquires the window size of the target existing system (step S500C-2).
[0174] Next, the second timing generating section 165 changes the size of the corresponding transparent Web browser to the acquired window size (step S500C-3).
[0175] Next, the second timing generation unit 165 calls the base point search unit 162 using all the additional UI settings included in the system definition as input (step S500C-4). As a result, the base point search unit 162 can determine whether the current time is the timing to redisplay the additional UI. The second timing generation unit 165 then executes step S500C-1 again.
[0176] In yet another example, the second timing generating section 165 determines whether an update event has occurred (step S500D-1). If it is determined that an update event has not occurred (step S500D-1: No), the second timing generating section 165 executes step S500D-1 again.
[0177] If it is determined that an update event has occurred (step S500D-1: Yes), the second timing generating section 165 deletes all additional UIs displayed in the corresponding transparent Web browser (step S500D-2).
[0178] Next, the second timing generation unit 165 calls the base point search unit 162 using all the additional UI settings included in the system definition as input (step S500D-3). As a result, the base point search unit 162 can determine whether the current time is the timing to redisplay the additional UI. The second timing generation unit 165 then executes step S500D-1 again.
[0179] In yet another example, the second timing generating section 165 determines whether a mouse click event or a focus change event has occurred (step S500E-1). If it is determined that a mouse click event and a focus change event have not occurred (step S500E-1: No), the second timing generating section 165 executes step S500E-1 again.
[0180] If it is determined that a mouse click event or a focus change event has occurred (step S500E-1: Yes), the second timing generating section 165 identifies the UI in which the corresponding event has occurred (step S500E-2).
[0181] Next, the second timing generating unit 165 determines whether the identified UI matches the base UI registered as a monitoring target (step S500E-3). If it is determined that the identified UI does not match the base UI registered as a monitoring target (step S500E-3: No), the second timing generating unit 165 executes step S500E-1 again.
[0182] If it is determined that the identified UI matches the base UI registered as a monitoring target (step S500E-3: Yes), the second timing generation unit 165 uses the additional UI setting including the base definition corresponding to the base UI as an input to call the base point search unit 162 (step S500E-4). As a result, the base point search unit 162 can determine whether the current time is the timing to redisplay the additional UI. Then, the second timing generation unit 165 executes step S500E-1 again.
[0183] 15 is a flowchart showing an example of a process for distributing data between an existing UI and an additional UI, which is executed by the terminal device 100 according to the embodiment. The data distribution unit 164 of the terminal device 100 executes step S600 for distributing data between the existing UI and the additional UI in parallel for each behavior of the UI indicated by the operation definition stored in the rule storage unit 151.
[0184] Regarding the acquisition of the value, the data circulation unit 164 determines whether the UI of the existing system supports the Accessibility API (step S600A-1).
[0185] If it is determined that the UI of the existing system is compatible with the Accessibility API (step S600A-1: Yes), the data distribution unit 164 uses the Accessibility API to obtain the values displayed in the UI of the existing system specified in the operation definition (step S600A-2).
[0186] Next, the data distribution unit 164 processes and converts the acquired values as necessary, and reflects the acquired values in the additional UI displayed in the transparent Web browser specified in the operation definition (step S600A-3).
[0187] In step S600A-1, if it is determined that the UI of the existing system does not support the Accessibility API (step S600A-1: No), the data distribution unit 164 focuses on the UI of the existing system specified in the operation definition (step S600A-4).
[0188] Next, the data circulation unit 164 executes a copy operation via the keyboard (for example, Ctrl-A, Ctrl-C, etc.) from the software (step S600A-5). That is, a human does not operate the keyboard.
[0189] Next, the data distribution unit 164 acquires the value of the clipboard from the clipboard storage unit 152 (step S600A-6). Then, the data distribution unit 164 executes step S600A-3.
[0190] Regarding the setting of values, the data circulation unit 164 acquires values that are displayed in the additional UI displayed in the transparent Web browser and that are specified in the operation definition (step S600B-1).
[0191] Next, the data circulation unit 164 determines whether the UI of the existing system supports the Accessibility API (step S600B-2).
[0192] If it is determined that the UI of the existing system is compatible with the Accessibility API (step S600B-2: Yes), the data distribution unit 164 uses the Accessibility API to reflect the acquired values in the UI of the existing system specified in the operation definition (step S600B-3).
[0193] If it is determined that the UI of the existing system does not support the Accessibility API (step S600B-2: No), the data circulation unit 164 focuses on the UI of the existing system specified in the operation definition (step S600B-4).
[0194] Next, the data distribution unit 164 sets the acquired value in the clipboard (step S600B-5).
[0195] Next, the data circulation unit 164 executes a paste operation (for example, Ctrl-V) via the keyboard from the software (step S600B-6). That is, a human being does not operate the keyboard.
[0196] Regarding the click operation, the data circulation unit 164 determines whether the UI of the existing system supports the Accessibility API (step S600C-1).
[0197] If it is determined that the UI of the existing system is compatible with the Accessibility API (step S600C-1: Yes), the data distribution unit 164 uses the Accessibility API to reflect the click operation in the UI of the existing system specified in the operation definition (step S600C-2).
[0198] If it is determined that the UI of the existing system does not support the Accessibility API (step S600C-1: No), the data circulation unit 164 temporarily minimizes the entire transparent Web browser (step S600C-3).
[0199] Next, the data distribution unit 164 generates a click event at the coordinates where the UI of the existing system is displayed (step S600C-4).
[0200] 5. Effects As described above, the user interface extension system 1 according to the embodiment includes the base point search unit 162 and the display control unit 163.
[0201] In the user interface extension system 1 according to the embodiment, a base point search unit 162 searches for a base UI, which serves as a base point for displaying an additional user interface (UI) to be added to a screen of the system, from the screen of the system. Also, in the user interface extension system 1 according to the embodiment, a display control unit 163 displays a new screen with a transparent background, superimposed on the screen of the system, and displays the additional UI on the new screen at a position based on the base UI.
[0202] As a result, the user interface extension system 1 according to the embodiment can apply user interface extension to a wide range of systems.
[0203] Furthermore, in the user interface extension system 1 according to the embodiment, a new screen independent of the system is displayed superimposed on the system screen.
[0204] As a result, the user interface extension system 1 according to the embodiment can provide user interface extension that can be applied regardless of the implementation of the system.
[0205] Furthermore, in the user interface extension system 1 according to the embodiment, the base search unit 162 searches for a base UI based on a property value of the base UI used in the accessibility API or a captured image of the system screen.
[0206] This allows the user interface extension system 1 according to the embodiment to search for a base UI from a screen of a system that does not have a DOM tree.
[0207] Furthermore, the user interface extension system 1 according to the embodiment includes a data distribution unit 164 that distributes data between the existing UI and the additional UI on the system screen by using an accessibility API or a virtual keyboard operation.
[0208] This allows the user interface extension system 1 according to the embodiment to reflect the contents of the additional UI in the UI of a system screen that does not have a DOM tree.
[0209] Moreover, the user interface extension system 1 according to the embodiment includes a first timing generation unit 161 that monitors the system and determines a first timing for searching for a base UI from the system screen based on whether the system screen is visibly displayed. Moreover, in the user interface extension system 1 according to the embodiment, the base point search unit 162 searches for a base UI based on the first timing determined by the first timing generation unit 161.
[0210] This allows the user interface extension system 1 according to the embodiment to search for the base UI at an appropriate timing.
[0211] In addition, the user interface extension system 1 according to the embodiment has a second timing generating unit 165 that monitors changes in the system and determines a second timing for re-displaying the additional UI displayed by the display control unit 163 based on whether a specified event has occurred on the system screen.
[0212] This allows the user interface extension system 1 according to the embodiment to redisplay the additional UI at an appropriate timing.
[0213] 6. Other Embodiments The user interface extension system 1 according to the above embodiment may be implemented in various different forms other than the above embodiment. Therefore, other embodiments of the above user interface extension system 1 will be described below.
[0214] [6-1. Execution subject of UI extension processing by terminal device] The content providing device 200 may execute part of the processing executed by the terminal device 100 in the above-described embodiment. For example, the content providing device 200 may execute all or part of the information processing described above with respect to the first timing generating unit 161, the base point searching unit 162, and the second timing generating unit 165.
[0215] For example, the existing system 140 may be installed in the content providing device 200. In this case, the content providing device 200 may perform the above-mentioned information processing regarding the first timing generating unit 161, the base point searching unit 162, and the second timing generating unit 165. However, it is assumed that the UI of the existing system 140 exists in the terminal device 100. The terminal device 100 can perform the above-mentioned information processing regarding the display control unit 163 and the data distribution unit 164 via this UI.
[0216] 4, the user interface extension system 1 includes the terminal device 100 and the content providing device 200. The content providing device 200 may share part of the information processing described above with respect to the first timing generating unit 161, the base point searching unit 162, and the second timing generating unit 165.
[0217] [7. Other] In addition, among the processes described in the above embodiments, some of the processes described as being performed automatically can be performed manually. Alternatively, all or some of the processes described as being performed manually can be performed automatically using a known method. In addition, the information including the processing procedures, specific names, various data, and parameters shown in the above documents and drawings can be changed arbitrarily unless otherwise specified. For example, the various information shown in each drawing is not limited to the illustrated information.
[0218] In addition, each component of each device shown in the figure is a functional concept, and does not necessarily have to be physically configured as shown in the figure. In other words, the specific form of distribution and integration of each device is not limited to that shown in the figure, and all or part of them can be functionally or physically distributed and integrated in any unit according to various loads, usage conditions, etc.
[0219] 4 may be held in a storage server or the like, rather than being held by the terminal device 100. In this case, the terminal device 100 acquires various information such as display conditions by accessing the storage server.
[0220] [8. Hardware Configuration] 16 is a diagram showing an example of a hardware configuration The terminal device 100 and the content providing device 200 according to the above-described embodiments are realized by a computer 1000 having a configuration as shown in FIG.
[0221] 16 shows an example of a computer in which a program is executed to realize the terminal device 100 and the content providing device 200. The computer 1000 has, for example, a memory 1010 and a CPU 1020. The computer 1000 also has a hard disk drive interface 1030, a disk drive interface 1040, a serial port interface 1050, a video adapter 1060, and a network interface 1070. These components are connected by a bus 1080.
[0222] The memory 1010 includes a ROM (Read Only Memory) 1011 and a RAM 1012. The ROM 1011 stores a boot program such as a BIOS (Basic Input Output System). The hard disk drive interface 1030 is connected to a hard disk drive 1090. The disk drive interface 1040 is connected to a disk drive 1100. A removable storage medium such as a magnetic disk or an optical disk is inserted into the disk drive 1100. The serial port interface 1050 is connected to a mouse 1110 and a keyboard 1120, for example. The video adapter 1060 is connected to a display 1130, for example.
[0223] The hard disk drive 1090 stores, for example, an OS (Operating System) 1091, an application program 1092, a program module 1093, and program data 1094. That is, a program that defines each process of the terminal device 100 and the content providing device 200 is implemented as a program module 1093 in which code executable by the computer 1000 is written. The program module 1093 is stored, for example, in the hard disk drive 1090. For example, a program module 1093 for executing the same process as the functional configuration in the terminal device 100 and the content providing device 200 is stored in the hard disk drive 1090. The hard disk drive 1090 may be replaced with an SSD (Solid State Drive).
[0224] Furthermore, setting data used in the processing of the above-described embodiment is stored as program data 1094, for example, in memory 1010 or hard disk drive 1090. Then, CPU 1020 reads out program module 1093 or program data 1094 stored in memory 1010 or hard disk drive 1090 into RAM 1012 as necessary, and executes the program.
[0225] Note that the program module 1093 and the program data 1094 are not limited to being stored in the hard disk drive 1090, but may be stored in, for example, a removable storage medium and read by the CPU 1020 via the disk drive 1100 or the like. Alternatively, the program module 1093 and the program data 1094 may be stored in another computer connected via a network (LAN, WAN, etc.). Then, the program module 1093 and the program data 1094 may be read by the CPU 1020 from the other computer via the network interface 1070.
[0226] Although some of the embodiments of the present application have been described in detail above with reference to the drawings, these are merely examples and the present invention is not limited to the specific examples. The features described in this specification can be implemented in other forms that have been modified and improved in various ways based on the knowledge of those skilled in the art, including the forms described in the section on the preferred embodiment of the invention.
[0227] Moreover, the above-mentioned "section, module, unit" can be read as "means" or "circuit", etc. For example, a display control unit can be read as a display control means or a display control circuit. [Explanation of symbols]
[0228] 1 User Interface Extension System 100 Terminal Equipment 110 Communications Department 120 Input section 130 Output section 140 Existing Systems 150 Storage section 151 Rule Memory Section 152 Clipboard memory section 160 Control section 161 First timing generator 162 Base point search section 163 Display control section 164 Data Distribution Department 165 Second Timing Generator 200 Content providing device
Claims
1. a base point searching unit that searches for a base point UI that serves as a base point for displaying an additional user interface (UI) to be added to a system window of a first application from the system window of the first application; a display control unit that displays a new window of a second application with a transparent background overlapping with a system window of the first application, and displays the additional UI on the transparent background of the second application at a position based on the base UI, wherein the second application is operationally independent from the first application; A user interface extension system comprising:
2. The base point search unit searches for the base point UI based on a property value of the base point UI used in an accessibility API or a captured image of a window of the system.
2. The user interface extension system according to claim 1.
3. The system further includes a data distribution unit that distributes data between an existing UI of a window of the system and the additional UI by using an accessibility API or a virtual keyboard operation.
3. The user interface extension system according to claim 1 or 2.
4. a first timing generation unit that monitors the system and determines a first timing for searching for the base UI from a window of the system based on whether a window of the system is visibly displayed; The base point search unit searches for the base point UI based on a first timing determined by a first timing generation unit.
4. The user interface extension system according to claim 1, wherein the user interface extension system comprises: a user interface extension unit;
5. The display control unit further includes a second timing generation unit that monitors changes in the system and determines a second timing for redisplaying the additional UI displayed by the display control unit based on whether a predetermined event occurs in a window of the system.
5. The user interface extension system according to claim 1, wherein the user interface extension system comprises: a user interface extension unit;
6. 1. A computer-implemented method for enhancing a user interface, comprising: a base point searching step of searching for a base point UI, which is a base point for displaying an additional user interface (UI) to be added to a system window of a first application, from the system window of the first application; a display control step of displaying a new window of a second application with a transparent background overlapping the system window of the first application, and displaying the additional UI on the transparent background of the second application at a position based on the base UI, wherein the second application is operationally independent from the first application; 1. A user interface extension method comprising:
7. a base point search procedure for searching, from the system window of the first application, for a base point UI that serves as a base point for displaying an additional user interface (UI) to be added to the system window of the first application; a display control procedure for displaying a new window of a second application with a transparent background overlapping a system window of the first application, and displaying the additional UI on the transparent background of the second application at a position based on the base UI, wherein the second application is operationally independent from the first application; A user interface extension program that causes a computer to execute the above.
Citation Information
Patent Citations
Display signal processor and display signal processing method, recording medium and program
JP2006350490A
Display / execution operation auxiliary program
JP2015035120A
Operation assist system, operation assist method, and operation assist program
JP2017072872A
Function extension system, function extension method, and function extension program
JP2018005344A
User interface extending device
JP2020074096A
