A variable real-time monitoring method and system based on a micro-kernel architecture

A real-time monitoring and micro-kernel technology, applied in hardware monitoring, instruments, electrical digital data processing, etc., can solve problems such as difficult variable monitoring, repetitive labor and cumbersome problems, to ensure thread safety, increase execution time, and be flexible and customizable sexual effect

Active Publication Date: 2019-04-16
WUHAN JINGLI ELECTRONICS TECH
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Because the use of variables in programming is very flexible, it is easy to modify the same variable in multiple places, which means that if you need to closely monitor every modification of the variable, you must follow the modification location to increase log printing, This duplication of labor seems extremely cumbersome
As a general software architecture method, the microkernel architecture solves the problem of building a software framework, but does not provide a solution to the above problems. Problems with variable monitoring

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
  • A variable real-time monitoring method and system based on a micro-kernel architecture
  • A variable real-time monitoring method and system based on a micro-kernel architecture
  • A variable real-time monitoring method and system based on a micro-kernel architecture

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments to facilitate a clear understanding of the present invention, but they do not limit the present invention.

[0039] Such as figure 2 As shown, the present invention provides a kind of variable real-time monitoring method based on microkernel framework, specifically comprises the following steps:

[0040] S1: Define wrapper types for basic types or custom types in the framework.

[0041] This process is the writing of the variable monitoring wrapper class in the microkernel framework. This wrapper class is implemented in the form of a C++ class template. A specific form is: templateclass VariableMonitor{}, and there are two different ways to implement this type of template Ideas:

[0042] 1) Realize a general class template, use dynamic type identification technology in the implementation of the constructor of the class template, the o...

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 variable real-time monitoring method and system based on a micro-kernel architecture. The method comprises the following steps: compiling a basic type or a user-defined type package class in a framework of an application program; Compiling a construction function and a resolution function of the packaging class, and reloading operators; Variables needing to be monitored are marked in the construction function and the analysis function; Constructing a local database of variables needing to be monitored, wherein the local database is used for storing change information of the variables needing to be monitored of the package class when the application program runs; Customizing a monitoring display plug-in according to the monitoring UI demand, and setting a specifiedmonitoring variable; Defining and replacing the specified monitoring variable through a packaging class; When the application program is in the running state, the monitoring display plug-in is run andstarted, and the monitoring display plug-in obtains the change condition of the specified monitoring variable from the local database and displays the change condition. According to the invention, applications developed by applying the framework have a convenient and friendly variable monitoring capability in a running state.

Description

technical field [0001] The invention relates to the technical field of software architecture, in particular to a variable real-time monitoring method and system based on microkernel architecture. Background technique [0002] The microkernel architecture is sometimes referred to as the plug-in architecture pattern, see figure 1 , which is a general software architectural pattern that has no mandatory association with the software development language used. The microkernel architecture consists of two components: the core system and the plug-in modules. The application logic is split into independent plug-in modules and the core system, which provides the characteristics of scalability, flexibility, functional isolation and custom processing logic. The microkernel architecture is used in a wide range, and the more famous plug-in architecture products are Eclipse and Firefox. [0003] In the process of software development and debugging, breakpoints, viewing local variables...

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/20G06F11/30
CPCG06F8/24G06F11/302
Inventor 刘银森郜鹏肖威
Owner WUHAN JINGLI ELECTRONICS TECH
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