Unlock instant, AI-driven research and patent intelligence for your innovation.

Implementation method of plug-in virtual machine

An implementation method and virtual machine technology, applied in the field of information systems, can solve the problems of lack of control logic management, reduce the amount of plug-in logic code writing, etc., and achieve the effect of reducing development cost and development workload.

Active Publication Date: 2016-08-03
OCEAN UNIV OF CHINA
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In order to solve the problem that the development of the existing information system lacks logical management between controls, which leads to the need to write a large amount of codes to realize mutual calls between controls, the present invention abstracts a layer of "plug-in" between controls and functional modules, and configures The file defines the logical relationship between plug-ins, uniformly defines and manages the plug-ins, provides a plug-in virtual machine to interpret and execute the configuration file, and reduces the amount of logic code writing between plug-ins

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
  • Implementation method of plug-in virtual machine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0023] Embodiment 1, this embodiment provides a method for implementing a plug-in virtual machine, wherein, see figure 1 As shown, the plug-in virtual machines include:

[0024] The loading unit is used to load and read configuration file information;

[0025] Parameter encapsulation unit, used for encapsulation and storage of incoming parameters;

[0026] Shared data heap, used to store shared data between plugins;

[0027] Message manager, used to provide message sending function between plug-ins;

[0028] Plugin manager for finding, loading, and caching plugins;

[0029] Plugin executor, used to execute plugins;

[0030] The routing ruler is used to determine the code of the next plug-in to be executed, and send the code of the plug-in to the plug-in executor, and the plug-in executor runs the plug-in corresponding to the code;

[0031] When the plug-in virtual machine in this embodiment runs, it includes the following steps:

[0032] S1. The loading unit loads and re...

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 discloses a plug-in virtual machine implementing method. The plug-in virtual machine implementing method includes steps of (1) loading and reading configuration file information by a loading unit, and creating subsystems according to configuration files; (2) loading plug-ins related in the configuration files by a plug-in manager; (3) determining plug-in codes to be executed by a plug-in actuator through a route regulator, transmitting the plug-in codes to the plug-in actuator; and (4) receiving the plug-in codes transmitted by the route regulator by the plug-in actuator and actuating the plug-ins. A layer of 'plug-ins' are abstracted between modules-controls and components, logical relationship among the plug-ins is indicated as configuration files and used for a plug-in virtual machine, the plug-in virtual machine is driven to call the plug-ins in applicable scene and environment, and logics implemented by program codes originally are changed into descriptive text language. Accordingly, writing of a great quantity of codes for logics among controls is omitted, development workload is reduced effectively, and software development cost is reduced as well.

Description

technical field [0001] The invention belongs to the technical field of information systems, and in particular relates to a method for implementing a plug-in virtual machine. Background technique [0002] At present, in the software development of information systems, the level of program reuse is concentrated on the level of "controls". Especially in the development of information systems based on NetWinForm, there is a lack of logical association between controls. Cohesion, the system lacks logical management between controls, and the lack of logical association between controls. At present, enterprise information systems are generally composed of functional modules. Controls are organized in the modules according to business logic and user operation logic to meet customer needs. Therefore, to realize the functional modules of enterprise information systems, it is also necessary to control the logic between controls on the basis of controls. Writing a large number of codes...

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
Inventor 侯瑞春丁香乾周志明石硕宫会丽于树松井润环丁英姿王鲁升钱正峰
Owner OCEAN UNIV OF CHINA