Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and system for calling local application by webpage

A local application and webpage technology, which is applied in the field of web browsers, can solve the problems of no longer supporting the original plug-in function and the use of new browsers, so as to improve the utilization rate of investment, broad application prospects, and protect the existing investment.

Inactive Publication Date: 2020-06-26
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Aiming at the defect that the above-mentioned new version browser of the prior art no longer supports the original plug-in function, and the function relying on the original plug-in cannot be used in the new version browser, the present invention provides a method and system for calling a local application by a web page to solve The above technical issues

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 and system for calling local application by webpage
  • Method and system for calling local application by webpage
  • Method and system for calling local application by webpage

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0060] like figure 1 As shown, the present invention provides a method for calling a local application by a web page, including the following steps:

[0061] S1. Configure the webpage to automatically start the local service of the windows system by using the network protocol through the browser, and pass parameters to the local service;

[0062] S2. Configure the local service to automatically parse the parameters passed by the webpage, search for the executable file required by the webpage locally, connect and execute the executable file, and return the execution result code to the webpage; the executable file includes native controls and local applications; local Both local controls and local applications in the service list can be provided for web pages;

[0063] S3. The configuration webpage analyzes the execution result according to the execution result code returned by the local service, and displays the execution result in the setting area of ​​the webpage, and the loca...

Embodiment 2

[0065] like figure 2 As shown, the present invention provides a method for calling a local application by a web page, including the following steps:

[0066] S1. Configure the webpage to automatically start the local service of the windows system by using the network protocol through the browser, and pass parameters to the local service;

[0067] S2. Configure the local service to automatically analyze the parameters passed by the webpage, search for the executable file required by the webpage locally, connect and execute the executable file, and return the execution result code to the webpage; the specific steps are as follows:

[0068] S21. Configure the local service to automatically parse the parameters passed by the webpage;

[0069] S22. Configure the local service to obtain the executable file required by the webpage locally according to the parsed parameters;

[0070] S23. Configure the local service to search, connect and execute the executable file locally; the sp...

Embodiment 3

[0085] like image 3 As shown, the present invention provides a system for calling a local application by a web page, including:

[0086] The local server startup module 1 is used to configure the webpage to automatically start the local service through the browser using the network protocol, and transfer parameters to the local service;

[0087] Executable file connection module 2, which is used to configure the local service to automatically parse the parameters passed by the webpage, search for the executable file required by the webpage locally, connect and execute the executable file, and return the execution result code to the webpage; the executable file connection module 2 includes:

[0088] The parameter parsing unit 2.1 is used to configure the local service to automatically parse the parameters passed by the webpage;

[0089] The executable file obtaining unit 2.2 is configured to configure the local service to obtain the executable file required by the webpage ac...

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 provides a method and system for calling a local application by a webpage, and the method comprises the following steps: S1, configuring the webpage, automatically starting a local service of a windows system through a browser by using a network protocol, and transmitting parameters to the local service; S2, configuring a local service to automatically analyze parameters transmittedby the webpage, locally searching an executable file required by the webpage, connecting and executing the executable file, and returning an execution result code to the webpage; S3, enabling the configuration webpage to analyze an execution result according to the execution result code returned by the local service, displaying the execution result in a webpage setting area, and ending local application calling, wherein the system comprises a local server starting module, an executable file connection module and an execution result analysis module. According to the invention, the original control or the local application program used as the local application does not need to be modified, and the effect that the webpage directly calls the control or the local application program is achievedby adding the local service.

Description

technical field [0001] The invention belongs to the technical field of web browsers, and in particular relates to a method and a system for invoking a local application by a web page. Background technique [0002] ActiveX controls are small programs used on the Internet, sometimes called plug-ins, that allow animation to be played, or help perform tasks. [0003] NPAPI plug-in is a necessary plug-in for browser flash animation playback. It supports Firefox browser. It is suitable for video playback, web page effects and some web games. It can view content and videos across screens and browsers. [0004] Currently on the market in the built-in browser IE of the Windows operating system, the way to implement web pages calling local programs is to use ActiveX technology, while browsers such as Chrome and FireFox have NPAPI plug-in technology. Microsoft's next-generation browser Edge no longer supports ActiveX controls, and Chrome and FireFox no longer support NPAPI plug-in tec...

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 Applications(China)
IPC IPC(8): G06F9/445
CPCG06F9/44526
Inventor 宁林林
Owner INSPUR SUZHOU INTELLIGENT TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products