Method and device for embedding desktop application program into web page

A technology for desktop applications and web pages, applied in the computer field, can solve problems such as cumbersome methods, inability to exit the process, and complicated linkage update operations, and achieve the effect of fast data interaction

Active Publication Date: 2022-03-08
北京万相融通科技股份有限公司
View PDF13 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the process of realizing the present invention, the inventor finds that there are at least the following problems in the prior art: 1. In the web page, JS (JavaScript, a kind of literal translation scripting language) calls the page development language, such as C# (an object-oriented object-oriented language issued by Microsoft Corporation) NET Framework), the method is very cumbersome; 2. When the web page is closed during loading, the process cannot exit; 3. The class object must inherit all the operation methods in the predetermined class, and must Write it in the predetermined method of the class; 4. All properties and methods of the class object need to write the corresponding JS script, and register and bind; 5. If you perform different data operations, you need to write a large number of class objects; 6. If the front page is updated, or the properties and methods of the class are updated, complicated follow-up linkage update operations will be generated

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 device for embedding desktop application program into web page
  • Method and device for embedding desktop application program into web page

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0018] Such as figure 1 As shown, it is a flow chart of a method for embedding a desktop application into a webpage in an embodiment of the present invention, including:

[0019] 101. Based on the object storage of the embedded framework, bind and register the object information of the data operation;

[0020] 102. When it is detected that data is sent to the webpage through the desktop application, convert the data format in the object information into a dat...

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

Embodiments of the present invention provide a method and device for embedding a desktop application into a webpage, the method comprising: binding and registering object information for data operations based on an embedded framework object memory; data, according to the object information of the registered data operation, the data format in the object information is converted into a data format adapted to the web page; based on the converted object information, the response method corresponding to the current object information is invoked, and The execution result of the response method is fed back to the desktop application program. Through the present invention, the accurate and fast data interaction between the desktop application program and the webpage can be realized by only occupying less memory.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for embedding a desktop application program into a web page. Background technique [0002] With the development of computer technology, the functions of applications are becoming more and more powerful. Applications often need to interact with web pages. In current technology, it is usually implemented through the embedded framework of Chromium, a web browser developed by Google. The application interacts with the data of the web page. [0003] In the process of realizing the present invention, the inventor finds that there are at least the following problems in the prior art: 1. In the web page, JS (JavaScript, a kind of literal translation scripting language) calls the page development language, such as C# (an object-oriented object-oriented language issued by Microsoft Corporation) NET Framework), the method is very cumbersome; 2. When the web page is cl...

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/455
CPCG06F9/45529
Inventor 闫少建李霈马玉田周聪赵金龙王建军
Owner 北京万相融通科技股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products