A Display Method of Real-time Database Menu Items Based on Virtual Domain

A technology of virtual domains and menu items, applied in electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of complex operation, difficult use and maintenance, poor readability, etc., achieving high portability and saving memory Effects of space, ease of use and maintenance

A technology of virtual domains and menu items, applied in electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of complex operation, difficult use and maintenance, poor readability, etc., achieving high portability and saving memory Effects of space, ease of use and maintenance

CN102968485BActive Publication Date: 2016-08-10NARI TECH CO LTD +1

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A Display Method of Real-time Database Menu Items Based on Virtual Domain
  • A Display Method of Real-time Database Menu Items Based on Virtual Domain

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The present invention will be described in further detail below in conjunction with the drawings.

[0024] This embodiment provides a method for displaying real-time database menu items based on a virtual domain. The real-time database menu items are mapped to the flag bits of the virtual domain, and the flag bit fields can be accessed by name or number to obtain the corresponding menu item value. , No additional conversion work is needed, transparent access to menu items is realized, and the use and maintenance of menu items are simplified. The method steps are as follows:

[0025] (1) Each table in the real-time database can define a virtual domain. The virtual domain is composed of several flag bit fields. Each flag bit field can correspond to a menu item, and the flag bit field value and corresponding actual field can be set;

[0026] (2) Provide an interface to achieve transparent access to virtual domains. For virtual domains, the actual domain number is converted accor...

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 method for displaying menu items of a real-time database based on virtual domains. Mapping of the menu items of the real-time database is realized through the virtual domains. The method comprises the following steps of: (1) defining a virtual domain for every table in a real-time database, wherein the virtual domain consists of a plurality of logo bit domains and every logo bit domain corresponds to one menu item, and then setting values of the logo bit domains and corresponding actual domains; (2) providing an interface for transparent access to the virtual domains, extracting the virtual domains from the corresponding actual domains, performing ''AND'' operation according to the bit numbers and the values of the actual domains, and returning to the values of the logo bit domains; and (3) applying a program to obtain the set menu items in the virtual domains through the interface. Distinguishing of the virtual domains and the actual domains is not needed, and maintenance and use of the menu items of the real-time database can be facilitated for a user.

Description

[0001] Field [0002] The invention relates to a method for displaying real-time database menu items based on a virtual domain, and belongs to the application field of real-time database technology. Background technique [0003] At present, existing menu items can be used for parameter definition and maintenance in the real-time library, and individual menu items can be defined for different domains to realize dynamic configuration of parameters. The menu item stored in the actual field is an integer value, which is poor in readability. It can only be operated on the actual field when accessing and setting, and cannot be operated on a certain menu item. The operation is complicated, which brings difficulties to use and maintenance. Summary of the invention [0004] In order to solve the deficiencies of the existing methods, the purpose of the present invention is to provide a virtual domain-based display method for real-time database menu items. The real-time database menu items are...

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
10 Aug 2016
Publication
CN102968485B
IPC
G06F17/30
Inventors
王瑾; 靳晶