Desktop application framework, construction method, desktop application running method and storage medium

A desktop application and operation method technology, applied in the direction of instruments, electrical digital data processing, calculation, etc., can solve problems such as long compilation time, difficult language learning, and difficult coding, so as to reduce the learning threshold, improve development efficiency and debugging Efficiency and easy deployment

Pending Publication Date: 2020-05-15
KYLAND TECH CO LTD
View PDF5 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the C++ language has its natural weaknesses, such as the difficulty of learning the language, the heavy workload of coding, the difficulty of coding, the long compilation time, and the fact that the C++ language does not support garbage collection, etc.

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
  • Desktop application framework, construction method, desktop application running method and storage medium
  • Desktop application framework, construction method, desktop application running method and storage medium
  • Desktop application framework, construction method, desktop application running method and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] In order to make the purpose, technical solution and advantages of the application clearer, the application will be further described in detail below in conjunction with the accompanying drawings.

[0045]The invention proposes an Electron desktop application framework suitable for PLC development. The framework includes a UI interactive business layer, a Go binding layer and a business service layer from top to bottom. The UI interaction business layer mainly provides the UI interface to realize human-computer interaction; the business service layer is used to provide various business logics related to the PLC business, and is implemented in Golang language to be compatible with the embedded C language; the Go binding layer is used as the middle layer to the upper and lower layers An interface is provided to transmit binary stream data between the UI interaction business layer and the business service layer. The desktop application built based on the three-tier framewo...

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 desktop application framework, which comprises a UI interaction service layer used for providing a UI interface, creating service data of a corresponding service according toan instruction received through the UI interface and packaging the service data to generate a binary stream and / or receiving a binary stream of the callback service data, unpacking and taking out thecallback service data, and correspondingly displaying the callback service data through a UI, a business service layer realized by adopting a Golang language and used for receiving the binary stream,unpacking and taking out business data and executing corresponding business by using the business data and / or when a certain service is executed, creating callback service data and packaging the callback service data to generate a binary stream, and a Go binding layer used for providing an interface for the UI interaction business layer and the business service layer and realizing the transmissionof the binary stream between the UI interaction business layer and the business service layer. Correspondingly, the invention further provides a method for constructing the desktop application basedon the framework, a running method of the constructed desktop application and a storage medium. The method is a solution suitable for development of a PLC or other similar desktop applications with UIinteraction and background services.

Description

technical field [0001] The invention relates to a desktop application framework, a method for constructing a desktop application based on the framework, a running method and a storage medium for the constructed desktop application. Background technique [0002] Electron is a cross-platform desktop application framework based on Chrominum and Node.js. It is easy to build cross-platform desktop applications based on HTML, CSS and JavaScript technologies in this framework. The built desktop application is better compatible with Mac, Windows and Linux operating systems. Electron is a UI solution that can easily implement a set of codes for multiple platform deployment. The applicant is developing the PLC programming environment software--MaVIEW (MaVIEW, Management of Virtualized Industrial Engineering Workbench, which is the integration of the Dongtu industrial server or Dongtu PLC controller provided by Beijing Dongtu Technology Co., Ltd. for the control system programming con...

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): G06F8/38
CPCG06F8/38
Inventor 宋健玮边浩
Owner KYLAND TECH CO LTD
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