Wireless terminal database establishing method based on shared memory design

A wireless terminal and shared memory technology, applied in database design/maintenance, program control design, electrical digital data processing, etc., can solve problems such as loading shared memory access out of bounds, information locks cannot be released, etc., to avoid exceptions and save memory space Effect

Inactive Publication Date: 2014-03-26
上海寰创通信科技股份有限公司
View PDF5 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the present invention is to provide a wireless terminal database construction method based on shared memory design in order to overcome the defects of the above-mentioned prior art, save memory space, avoid the situation th

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
  • Wireless terminal database establishing method based on shared memory design
  • Wireless terminal database establishing method based on shared memory design

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0026] A method for building a wireless terminal database based on shared memory design, comprising the following steps:

[0027] 1) dividing the user table of each wireless terminal, and using a bitmap to distribute the ID of each wireless terminal;

[0028] 2) For the pointer deviation caused by the deviation of the loading address space, the present invention utilizes the ID assigned by the bitmap to identify the keyword of the terminal, does not use the class hash table and class linked list of the pointer, and encapsulates the interface to be called by other modules, so as to overcome the The loading address is inconsistent, resulting in failure to access terminal information based on the pointer index;

[0029] For the keywords MAC and IP of the wireless terminal, the corresponding index is given, and other modules can directly find the corresponding wireless terminal information from the shared memory through the MAC and IP, thus reducing the cost of using other media f...

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 relates to a wireless terminal database establishing method based on shared memory design. The method comprises the following steps that 1) user tables of wireless terminals are divided, and the IDs of the wireless terminals are distributed through a bitmap; 2) the IDs distributed through the bitmap are used for identifying keywords of the wireless terminals, and a non-pointer chain table is used for sharing Hash tables in a memory in a traversal mode; and 3) a flag bit is set for each course in the shared memory and is used for identifying whether the course locks terminal data in the shared memory, after the course restarts to load the shared memory, whether the flag bit is locked is detected, and if yes, unlocking is carried out first. Compared with the prior art, the method has the advantages that memory space is saved, the phenomenon that multi-process space loading shared memory access border crossing caused by a pointer is avoided, and the problem that a critical zone information lock cannot be released forever caused by the fact that a critical zone, namely the shared memory is accessed in a multi-process mode is solved.

Description

technical field [0001] The invention relates to a wireless terminal database construction method, in particular to a wireless terminal database construction method based on shared memory design. Background technique [0002] In wireless terminal data management, the terminal's mac, ip, traffic, duration, etc. need to be supervised, and multiple business processes use shared memory to access the data information of these terminals. Compared with other storage media, the access speed of shared memory is greatly improved . [0003] If the traditional shared memory free space allocation uses the linked list method, the structure of the linked list itself needs to occupy a large amount of memory in the shared memory. For the shared memory that is in short supply in the critical section, it is necessary to optimize the size of the shared memory more reasonably. [0004] The traditional shared memory space is loaded by multiple processes. The address is either randomly allocated a...

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): G06F17/30
CPCG06F16/2255G06F9/5022G06F16/21G06F16/2343
Inventor 李少华俞梦涛
Owner 上海寰创通信科技股份有限公司
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