Unlock instant, AI-driven research and patent intelligence for your innovation.

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.

Active Publication Date: 2021-06-01
CHENGDU DBAPP SECURITY
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] There are two main reasons why the browser cannot start the external application: on the one hand, the browser and the web page cannot start the external application because the browser does not have the full path of the external application; on the other hand, the browser does not have the path to start the application API interface
Due to security policies in common browsers, its Although the tag can select a file on the local computer and read the data in it, the final web page cannot read the full path of the file through the interface provided by the browser, nor can it run the read data as an application

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for browser to start external application program through middle device
  • Method for browser to start external application program through middle device

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for a browser to start an external application program through an intermediate device. The browser starts an external application program through an intermediate device; the intermediate device includes a local Web Service interface and an API interface, and the intermediate device uses the Web Service interface to An API interface is provided; the browser invokes the Web Service interface provided by the intermediary through the HTTP protocol, and the intermediary initiates an external application program by invoking the API interface. The API interface includes a first API interface and a second API interface; the intermediate device reads the complete path of the external application program through the first API interface, and the intermediate device starts the external application program through the second API interface. The invention expands the application function of the browser and has better application prospects.

Description

technical field [0001] The invention belongs to the technical field of mobile communication, and in particular relates to a method for a browser to start an external application program through an intermediate device. Background technique [0002] When the user displays the local application program in the user device through the web browser, the external application program cannot be directly run in the browser web page, because the browser does not have an interface to start the application program; on the other hand, even if the user device has locally installed The external application program required by the user, when the user needs to run the local external application program while browsing the website, the full path of the application program cannot be obtained. The external application program is for the browser program, and other application programs other than the browser program that interact with the browser can be referred to as external application programs o...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/48G06F9/54
Inventor 陈超一范渊吴永越郑学新刘韬
Owner CHENGDU DBAPP SECURITY