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

Variable real-time monitoring method and system based on microkernel architecture

A real-time monitoring, microkernel technology, applied in hardware monitoring, instrumentation, software design, etc., can solve the problems of cumbersome repetitive work, difficult variable monitoring, etc., to ensure thread safety, increase execution time, and reduce performance overhead.

Active Publication Date: 2022-03-15
WUHAN JINGLI ELECTRONICS TECH
View PDF4 Cites 0 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
  • Variable real-time monitoring method and system based on microkernel architecture
  • Variable real-time monitoring method and system based on microkernel architecture
  • Variable real-time monitoring method and system based on microkernel 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 microkernel architecture, comprising the following steps: writing a basic type or a custom type of packaging class in the framework of an application program; writing a constructor and a destructor of the packaging class and Overload the operator; and mark the variable that needs to be monitored in the constructor and destructor; build a local database of the variable that needs to be monitored, which is used to store the change information of the variable that needs to be monitored in the packaging class when the application is running; according to Monitoring UI needs to customize the monitoring and display plug-in, set the specified monitoring variable; define and replace the specified monitoring variable through the wrapper class; run and start the monitoring and display plug-in when the application is running, and the monitoring and display plug-in obtains the specified monitoring from the local database Variable changes and display. The invention enables the applications developed by using the framework to have convenient and friendly variable monitoring capabilities in the 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 Patents(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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products