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

Interface development method and device

A technology of interface and graphical user interface, which is applied in the computer field, can solve the problems of long development cycle, heavy workload, and heavy workload of modifying the interface, and achieve the effect of long development cycle and heavy workload

Inactive Publication Date: 2018-09-28
GUANGDONG POWER GRID CO LTD +1
View PDF2 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] In view of this, the purpose of the present invention is to provide a method and device for interface development, to alleviate the existing interface development method has a large workload, a long development cycle, and it is difficult to separate the interface from the business logic, and the workload is large when modifying the interface. Difficult technical issues in post-maintenance

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
  • Interface development method and device
  • Interface development method and device
  • Interface development method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0041] A method of interface development, refer to figure 1 , the method includes:

[0042] 102. Using C++ to encapsulate the open-source browser engine to obtain the interface engine core module, wherein the interface engine core module is an independent application program library;

[0043] In the embodiment of the present invention, the open source browser engine includes a Chromium engine. Chromium is a web browser developed by Google. Released under multiple free copyrights such as the BSD license and open source, the development of Chromium may have started as early as 2006. Chromium is the engine behind Google's chrome browser, and its purpose is to create a secure, stable and fast universal browser.

[0044] By using C++ to encapsulate the open source browser engine, you can get the interface engine core module, specifically the WebEngine Core module, which is an independent application library that encapsulates the interaction with the Chromium engine.

[0045] Beca...

Embodiment 2

[0073] A device for interface development, refer to Figure 4 , the device consists of:

[0074] The first encapsulation module 11 is used to adopt C++ to encapsulate an open-source browser engine to obtain an interface engine core module, wherein the interface engine core module is an independent application library;

[0075] The independent module 12 is used to use the interface engine core module to independently separate page rendering and script operation in the GUI process, and store the page rendering and script operation in the page engine process;

[0076] The second packaging module 13 is used to encapsulate the interface engine core module to obtain the interface engine tool control, wherein the interface engine tool control provides an interactive interface between C++ and scripts, and when an interface engine tool control is instantiated, an interface engine tool control will be created. page engine process;

[0077] The rendering and running module 14 is used f...

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 an interface development method and device. The method comprises the following steps: adopting a browser engine with C++ encapsulating an open source and obtaining an interfaceengine core module; using the interface engine core module to independently generate page rendering and script running in a graphical user interface process; storing the page rendering and script running in the page engine process; encapsulating the interface engine core module to obtain an interface engine tool control; carrying out page rendering and scrip running in the page engine process, andperforming asynchronous communication on the page engine process and the interface engine tool control so as to obtain an interface separate from the business logic. The method uses page rendering and script running to carry out the front-end technology development interface; C++ develops the business logic; the interface is completely separated from the business logic; the page rendering and script running have a large number of free open source components, which greatly improves the interface development efficiency and alleviates the problems of long development cycle for interface development, difficulty for separating the interface and the business logic and difficulty for maintenance in the later stage in the existing method.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to an interface development method and device. Background technique [0002] Traditional PC client interface development generally adopts the following methods: one is to use C++ language and MFC framework for development. The MFC framework provides a variety of common controls that are consistent with the native interface style of the operating system, such as button controls, list controls, multi-select controls, and radio controls. In many projects, the native interface style controls are difficult to meet the aesthetic requirements, and a lot of customization and beautification work is required for the controls. The other is to use C# language and WinForm framework for development. Similar to MFC, WinForm provides a variety of controls consistent with the native interface style of the operating system, and provides more powerful functions than MFC, but it is still difficult ...

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
IPC IPC(8): G06F8/38
CPCG06F8/38
Inventor 林冠强张元彦莫天文
Owner GUANGDONG POWER GRID 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