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

Implementing method of memory database on household gateway

A technology of a home gateway and an implementation method, which is applied in the field of home network systems, can solve problems affecting the real-time performance of the system, consume a large amount of system query time, etc., and achieve the effects of shortening the development cycle, simplifying development, and ensuring consistency

Inactive Publication Date: 2008-12-24
FENGHUO COMM SCI & TECH CO LTD
View PDF1 Cites 51 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The invention with the patent application number 200510018318.3 "A Method for Realizing Data Dictionary in Embedded Environment" discloses a method for realizing data dictionary in embedded environment, which stores the objects and attributes of database, table and column according to the hierarchical structure In the system buffer, it is divided into three layers: database, table or index, and column. Open-chain hash method is used to index database objects. The first-level hash table uses the database name as the hash key, and the second-level hash table The table name is used as the key, and the three-level hash table uses the column name as the hash key. It realizes the storage and operation of the memory data dictionary, but the write operation still needs to interact with the disk peripherals, which affects the real-time performance of the system. And the storage level is three layers, and the system query time consumption is relatively large

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
  • Implementing method of memory database on household gateway
  • Implementing method of memory database on household gateway
  • Implementing method of memory database on household gateway

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The present invention will be described in further detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the specific embodiments described here are only used to explain the present invention, and are not used to limit the present invention.

[0033] The present invention provides a method for implementing a memory database on a home gateway, which mainly saves business data frequently accessed by service terminals on the home gateway directly in the memory database, thereby greatly improving data access efficiency and real-time performance.

[0034] First, initialize the storage structure for storing database tables and records in the memory database, initialize the SQL statement execution queue and the execution result queue.

[0035] The storage structure of the memory database adopts the storage method of the two-level hash table. All the table information in the memory database is stored in the first-level hash...

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 realization method of a memory database on a home gateway. The method of the invention comprises the steps: 1. the storage structure and queue of data sheets and records in the memory database are initialized; 2. on the basis of the establishment of the storage structure of the memory database, the business data in a business database are uploaded to the memory database on the home gateway, while before the business data are uploaded, the business data are filtered; 3. data synchronization: when the data in business database are changed, the given data in the memory database are backed up; data synchronization is carried out by adopting a synchronous module, and if the synchronization succeeds, the backup data are cleared; 4. data access: a unified access interface of the memory database is provided for inquiring, adding, deleting and modifying, etc. Compared with the realization method of the existing memory database, the realization method of the invention requires few resources, has high data storage efficiency and is especially suitable for the business application that is based on a home gateway and has high requirement for data real time.

Description

technical field [0001] The invention relates to a home network system, in particular to a realization method of a memory database on a home gateway based on an embedded system. Background technique [0002] At present, the discussion on the digital home network has gradually moved from theoretical discussion to real life. In this wave of digitalization and broadbandization, the home gateway serves as a bridge connecting all external public networks play an important role in. A variety of value-added services based on home gateways, such as IPTV, smart home, VOIP, and IM instant messaging, have gradually developed and entered homes. Based on cost and business development needs, home gateways mostly use embedded systems, and due to the complexity and real-time nature of business based on home gateways, home gateways sometimes need to access and store local business information in real time. [0003] Due to the limited time and space resources of the embedded system, it is im...

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): G06F17/30
Inventor 李明春刘会松
Owner FENGHUO COMM SCI & TECH CO LTD
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