Method for browser to start external application program through middle device
An external application and intermediate device technology, applied in the directions of inter-program communication, multi-programming device, program startup/switching, etc., can solve the problem that the browser does not start the application program API interface, the browser and the webpage cannot start the external application program, and finally Web pages cannot read the full path, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0033] In the general-purpose browser of HTTP agreement, described intermediary device runs on the local computer independently of browser; Described browser obtains the complete path of external application program and starts external application program through intermediary device; Described intermediary device includes local Web Service interface and API interface, and the intermediate device provides the API interface through the Web Service interface; the browser calls the Web Service interface provided by the intermediate device through the HTTP protocol; the browser reads the external application program by calling the API interface of the intermediate device full path, and the browser starts the external application by calling the API interface of the intermediate device.
[0034] Due to security policies in common browsers, its Although the label can select a file in the local computer and read the data in it, the final webpage cannot read the full path of the file t...
Embodiment 2
[0037] This embodiment is further optimized on the basis of Embodiment 1, and the API interface includes a first API interface and a second API interface.
[0038] The web application program running in the browser invokes the Web Service interface provided by the intermediary device through the HTTP protocol, and the intermediary device starts the first API interface to read the complete path of the local external application program of the computer, so that the browser can transfer the external application program The full path of the browser is stored in the browser Web application; the browser uses the full path as a parameter to call the second API interface provided by the intermediate device, and the second API interface calls the operating system API, thereby starting the external application.
[0039] The invention obtains the complete path of the external application program through the intermediate device and starts the external application program through the interm...
Embodiment 3
[0042] This embodiment is further optimized on the basis of embodiment 2, as figure 1 As shown, the web application program of the browser invokes the Web Service interface provided by the intermediate device through the HTTP protocol; the intermediate device reads the complete path of the external application program through the first API interface, and when the browser calls the first API interface of the intermediate device Afterwards, if the intermediate device does not respond, a window for starting the intermediate device pops up in the browser, and the user restarts the intermediate device; if the intermediate device responds, the intermediate device pops up a file selection window, and the user selects the target file through the window, and the intermediate device's The first API interface returns the full path of the external application; the web application of the browser obtains the full path of the external application and saves the full path of the external progra...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

