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

Method for controlling shared memory lock of power quality management system

A shared memory and management system technology, applied in the field of shared memory lock control of power quality management systems, can solve problems such as damage, system crashes, system prone to deadlock key data, etc., to simplify procedures, reduce read and write errors, and realize The effect of shared memory lock control

Active Publication Date: 2018-12-18
TIANJIN KEYVIA ELECTRIC CO LTD
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the present invention aims to propose a shared memory lock control method for a power quality management system to solve the problem of deadlocks in the system or the destruction of key data caused by the out-of-order state of multi-process access to the shared memory in the power quality management system. system crash problem

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
  • Method for controlling shared memory lock of power quality management system
  • Method for controlling shared memory lock of power quality management system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] It should be noted that, in the case of no conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other.

[0033] In describing the present invention, it should be understood that the terms "center", "longitudinal", "transverse", "upper", "lower", "front", "rear", "left", "right", " The orientations or positional relationships indicated by "vertical", "horizontal", "top", "bottom", "inner" and "outer" are based on the orientations or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and Simplified descriptions, rather than indicating or implying that the device or element referred to must have a particular orientation, be constructed and operate in a particular orientation, and thus should not be construed as limiting the invention. In addition, the terms "first", "second", etc. are used for descriptive purposes only, and should not be understood ...

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 shared memory lock control method of a power quality management system, which comprises the following steps: S1, data initialization setting is carried out, and a single example of shared memory management service process is created by using ACE_Singleton; S2, a certain process of the power quality management system obtains a command for writing data to the shared memory table, and the process calls a single example of the power quality management system shared memory management service process; S3, in the data initialization process, a shared memory table process mutex object is created for the shared memory table, and in the updating process, the shared memory table waits or writes according to the state of the shared memory table process mutex object. The sharedmemory lock control method of the power quality management system of the invention can effectively realize the shared memory lock control without compiling and setting the bottom code, reduce the occurrence of the read-write error of the shared memory of the power quality management system, and ensure the continuous and stable operation of the shared memory of the power quality management system.

Description

technical field [0001] The invention belongs to the technical field of communication equipment, and in particular relates to a method for controlling a shared memory lock of a power quality management system. Background technique [0002] With the rapid development of science and technology and the rapid development of urban rail transit, the power quality management system has been vigorously promoted as a subsystem of the urban rail transit industry to monitor power and energy consumption related data. As the scale of rail transit power equipment continues to grow, the data interaction of each process in the power quality management system is becoming more and more frequent, and the amount of data is also increasing. The shared memory of the power quality management system is a data exchange platform for each process of the system and one of the core components of the entire system. The validity of its data and the stability of the memory module are related to the stabilit...

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): G06F9/50G06F9/52
CPCG06F9/5016G06F9/524
Inventor 陈欢张浩张振华
Owner TIANJIN KEYVIA ELECTRIC CO LTD