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

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

An information processing method and real-time data technology, which is applied in the field of massive real-time data storage and distribution and query information processing, can solve problems such as high operating frequency, impact on efficiency, and increased database pressure, and achieve the effect of guaranteeing service

Active Publication Date: 2015-04-22
SHANGHAI YAO WEI GROUP IND
View PDF4 Cites 0 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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0040] like figure 1 , figure 2 As shown, a massive real-time data storage, distribution and query information processing method includes the following steps:

[0041] 1) The data query server 1 is started, and after startup, the corresponding table of each terminal corresponding to the data gateway 4 is loaded into the memory, and external query services are provided;

[0042] 2) The data storage server 2 is started to store the data distributed by the data distribution server 3, while responding to the distributed query of the data query server 1;

[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 the concrete steps of data distribution as follows:

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

[0047] 2) Load the terminal and gateway correspondence table;

[0048] 3) Register its own running status with the data query serv...

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 present 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 lot 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 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 INSERTINTO operation to the database, and every minute, it will perform a large-scale circular 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, there are about 700 terminals 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 Patents(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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products