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

Data real-time query system in multi-concurrency and multi-channel environment

A multi-channel, data technology, applied in the direction of network data query, network data retrieval, other database retrieval, etc., can solve the problem of not supporting dynamic setting of data cache time, data redundancy, global impact, etc., to ensure performance and memory utilization. efficiency, guaranteeing system performance and reliability

Active Publication Date: 2020-05-29
中通服智慧城市工程建设有限责任公司
View PDF4 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since the push is performed sequentially in time, for each client, the real-time data query is not completely concurrent, and when a network link failure occurs on one of the clients, it will cause other clients to display data Delay. In addition, the background needs to manage the subscription and main push logic of the client, and maintain the mapping relationship between data and the client. Once a logic error occurs, it will affect the overall situation;
[0009] (2) The data of multiple channels in the client is superimposed together, and each channel cannot query data independently and concurrently:
[0012] When the client starts to subscribe to real-time data query, there may be unprocessed messages in the message queue. At this time, the message processing module will push these messages to the corresponding channel of the client, resulting in data redundancy. The data received by the client will be missed due to a timeout or other faults
[0013] (4) The cached data does not support the validity period setting, and cannot guarantee that it can be queried repeatedly within a period of time:
[0016] (1) When data is queried in real time in a multi-concurrent and multi-channel environment, the data query between multiple clients is not completely independent, and the background needs to maintain the client's registration subscription and main push management, which is cumbersome;
[0017] (2) When data is queried in real time in a multi-concurrent and multi-channel environment, each client cannot independently query the data of a single channel. When multiple clients share the same channel data, it is unreliable and affects each other.
[0018] (3) When data is queried in real time in a multi-concurrent and multi-channel environment, there may be redundancy and omissions in the data queried for each channel;
[0019] (4) When data is queried in real time in a multi-concurrent and multi-channel environment, dynamic setting of the data cache time is not supported, and the data in the recent period cannot be guaranteed to be repeated and quickly queried

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
  • Data real-time query system in multi-concurrency and multi-channel environment
  • Data real-time query system in multi-concurrency and multi-channel environment
  • Data real-time query system in multi-concurrency and multi-channel environment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0090] The specific implementation of the present invention for concurrent query of real-time data by multiple clients:

[0091] (1) Introduce Redis module into the system architecture

[0092] Such as figure 2 As shown, the Redis module is added. Redis is a lightweight memory database that supports distributed deployment and supports high concurrent access to data. Because the data in Redis is in memory, the speed of accessing data is very fast, so it is used for caching Data in order to support fast query of real-time data. Because the data in Redis has read-only sharing permissions for each data visitor, it supports multiple data clients to repeatedly read the same data, and they are completely independent of each other and do not affect each other.

[0093] (2) The data producer module performs persistent storage and temporary caching of data at the same time

[0094] In the process of continuously generating real-time data, the data producer module double-backups the data to th...

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 provides a data real-time query system in a multi-concurrency and multi-channel environment. The data real-time query system comprises a client module, a server module, a database module, a real-time data query module, a Redis module, a timing management module, a data producer module and a cache cleaning module, the system adopts a data caching mechanism to support real-time quick query of data and support that the real-time data query connected with each client is independent in a multi-concurrent environment, the data of different data channels is independent under each clientconnection, the plurality of client connections can share the same data channel, and the real-time data queries are independent from each other and do not influence each other; meanwhile, it is guaranteed that data inquired by each data channel of each client is continuously and progressively increased, and overlapping and omission are avoided; the system can also dynamically set the data cachingtime according to the query frequency so as to effectively utilize memory resources.

Description

Technical field [0001] The invention relates to a real-time data query system in a multi-concurrent multi-channel environment. Background technique [0002] At present, streaming data is widely used. Streaming data is a set of sequential, large, fast, and continuous data sequences. In general, a data stream can be regarded as a dynamic data set that grows indefinitely over time. It is used in the fields of network monitoring, sensor network, aerospace, meteorological measurement and control, and financial services. Streaming data is data that is continuously generated by the data source, and is usually also sent in the form of data records at the same time. Streaming data includes a variety of data, such as log files generated by customers using mobile or web applications, online shopping data, in-game player activity, social networking site information, financial transaction halls or geospatial services, and from connected devices or instruments in the data center Telemetry da...

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): G06F16/953
CPCG06F16/953Y02D10/00
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