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

Method and system for processing data in linux system

A data processing and data processing device technology, applied in the field of linux system, can solve the problems of shortened read and write operations, slow data search speed, etc., and achieve the effects of reducing the number of read and write times, not easy to be damaged and lost, and fast data processing speed

Active Publication Date: 2014-01-29
宋易霄
View PDF7 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technical problem to be solved by the present invention is to overcome the defects of slow data search speed and frequent read and write operations shortening the service life of the flash in the prior art, and provide a method that can quickly perform read and write related operations on processing configuration parameters, and the maximum Method and system for data processing in linux system that minimizes damage to flash

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 and system for processing data in linux system
  • Method and system for processing data in linux system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] The preferred embodiments of the present invention are given below in conjunction with the accompanying drawings to describe the technical solution of the present invention in detail.

[0034] refer to figure 1 , introduce the method for data processing in the linux system of the present invention, comprise the following steps:

[0035] Step S 1 , Start the data processing process when the linux system starts;

[0036] Step S 2 , load the configuration file into the memory;

[0037] Step S 3 , receiving the data processing request of the application program;

[0038] Step S 4 1. Process the data in the current file through a hash algorithm and return the processing result to the application program.

[0039] Among them, step S 2 The method also includes: starting a data processing monitoring process to monitor whether the data processing process exists at all times. Since the data processing module process maintains the hash table in the memory, the data can be...

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 processing data in a linux system. The method comprises the following steps that S1, a data processing progress is started when the linux system is started; S2, configuration files are loaded in internal storage; S3, the data processing request of an application program is received; S4, data in the current file are processed according to a hash algorithm, and a processing result is returned to the application program. The invention further discloses a system for processing the data in the linux system. The data can be processed fast due to the fact that configuration data in a storage device (such as a flash) are read when the system is started, and in addition, data reading is carried out in a hash table in the internal storage under a general condition, values corresponding to corresponding parameter names are searched for faster with the assistance of the hash algorithm, and meanwhile due to the fact that the number of times of flash reading and writing is reduced, the data are not prone to being lost.

Description

technical field [0001] The present invention relates to a kind of linux system (Linux is a kind of free and open-source Unix-like operating system (UNIX operating system, is the operating system that U.S. AT&T company runs on PDP-11 in 1971. Has multiuser, multitasking Features, supports multiple processor architectures, first developed by Ken Thompson (Kenneth Lane Thompson), Dennis MacAlistair Ritchie (Dennis MacAlistair Ritchie, and Douglas McIlroy in 1969 at AT&T's Bell Laboratories)) in data processing The method and system, in particular, relate to a data processing method and system in a linux system for fast data processing. Background technique [0002] The traditional method of reading and writing configuration files is: first read the configuration memory in the flash (flash memory), and find the value corresponding to a parameter name in these configurations, and then perform corresponding operations on this value, if there is any change , then update the value ...

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
CPCG06F9/44505
Inventor 刘宏文刘玉喜胡大伟
Owner 宋易霄
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