Lots of real time data storage distribution and query information processing method

An information processing method and real-time data technology, applied in the field of massive real-time data storage and distribution and query information processing, can solve the problems of high operation frequency, unable to cope with data insertion operations, and inappropriate to deal with frequent insertion, etc., to achieve the effect of guaranteeing services

Active Publication Date: 2012-07-11
SHANGHAI YAO WEI GROUP IND
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This strategy can effectively increase the query speed when querying, but there is a problem when inserting: the implementation of the original solution is: when inserting data, it is implemented through a stored procedure. Before inserting, it is necessary to determine whether there is a target data table. If not exists, generate the target data table
This method is not suitable for frequent insertion, because it needs to be judged every time
In the actual test, it is found that concurrency errors will occur if the number of concurrency exceeds 800. Modifying some of the codes can solve the concurrency errors, but every time you have to make more judgments about whether the target table exists, which will affect the efficiency
[0008] When inserting data, the original solution adopts the method of inserting one by one. This method is not efficient when inserting frequently.
Generally speaking, when SQL Server inserts data into the database in a cyclic manner, 100 records per second has almost reached the limit. Even considering the server factor, the relational database cannot cope with such intensive data insertion operations by conventional methods.
[0009] Refreshing the online status table requires an UPDATE of the latest status of all vehicles every time, and the frequency of this operation is extremely high, which greatly increases the pressure on the database

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
  • Lots of real time data storage distribution and query information processing method
  • Lots of real time data storage distribution and query information processing method
  • Lots of real time data storage distribution and query information processing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0040] Such as figure 1 , figure 2 As shown, a large amount of real-time data storage distribution and query information processing method includes the following steps:

[0041] 1) The data query server 1 is started. After starting, the corresponding table of each terminal corresponding to the data gateway 4 is loaded into the memory, and the query service is provided externally;

[0042] 2) The data storage server 2 starts, and is used for storing the data distributed by the data distribution server 3, and responds to the distributed query of the data query server 1 at the same time;

[0043] 3) The data distribution server 3 distributes data;

[0044] 4) The data query server 1 performs a query.

[0045] Described step 3) data distribution server 3 carries out data distribution specific steps as follows:

[0046] 1) Make an attempt to transmit faulty data first;

[0047] 2) load the corresponding table between the terminal and the gateway;

[0048] 3) Every 10 seconds...

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 lots of real time data storage distribution and query information processing method. The method comprises the following steps that: 1). A data query server is started, after the starting, a corresponding table of data gateway corresponding to each terminal is loaded into a memory and a query service is provided externally; 2). A data storage server is started, is used to store data distributed by a data distribution server and simultaneously response the distributed query of the data query server; 3). The data distribution server carries out data distribution; 4). The data query server carries out the query. Compared to the prior art, by using the method of the invention, a plurality of the data storage servers can be configured which means more numbers of terminals can be supported.

Description

technical field [0001] The invention relates to a data storage method, in particular to a massive real-time data storage distribution and query information processing method. Background technique [0002] Our system needs to collect a large amount of real-time data. Taking the GPS monitoring project of Linyi Bus Station in Shandong as an example, each GPS terminal will report real-time data to the data center every 1 minute. The data center needs to record the last report status of each terminal in time, and record all historical records for query. [0003] The current existing solution is: after the data gateway receives a piece of reported data, it will perform an INSERT INTO operation to the database, and every minute, it will perform a large-scale cyclic UPDATE operation to the database to refresh the latest online status record table. [0004] There are some problems with the performance of the current solution. At most, about 700 terminals are online, and the database...

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): H04L29/08
Inventor 姚薇吴晓宇
Owner SHANGHAI YAO WEI GROUP IND
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