Method and device for embedding desktop application program into web page

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

Active Publication Date: 2018-11-27
北京万相融通科技股份有限公司
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

The embodiment of the invention provides a method and a device for embedding a desktop application program into a web page. The method comprises the following steps: an object memory based on an embedded framework binds and registers object information operated by data; Converting a data format in the object information into a data format adapted to the web page according to the registered objectinformation operated by the data when data sent to the web page through the desktop application is detected; Based on the converted object information, a response method corresponding to the current object information is called, and the execution result of the response method is fed back to the desktop application. The invention realizes the accurate and fast data exchange between the desktop application program and the web page 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 Applications(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