Method for sorting out-of-order data streams

A data flow and data technology, which is applied in electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of inability to implement comprehensive data cache, discarding data, data blocking, etc., to achieve a wide range of applications, avoid data The effect of discarding and reducing waiting

Active Publication Date: 2013-09-18
SHANGHAI STOCK EXCHANGE
View PDF3 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of the shortcomings of the prior art described above, the purpose of the present invention is to provide a method capable of sorting high-speed out-of-sequence data streams with high performance and high availability under the condition of limited memory, which is used to solve the problem of traditional sorting methods. The input size of a ...

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 for sorting out-of-order data streams
  • Method for sorting out-of-order data streams
  • Method for sorting out-of-order data streams

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] Embodiments of the present invention are described below through specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific implementation modes, and various modifications or changes can be made to the details in this specification based on different viewpoints and applications without departing from the spirit of the present invention.

[0017] Referring now to the drawings, it should be noted that in each of the drawings, the same operations or components use the same symbols unless otherwise specified. look first figure 1 , figure 1 A data flow diagram showing a method for sorting an out-of-order data flow according to the present invention. figure 1 The upstream data in represents an out-of-order data stream, and operation 1 represents an insert operation, and 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 method for sorting high-speed out-of-order data streams with high performance and high availability under the condition that a memory is limited. The method comprises the steps of sequentially inserting reached data into proper positions in a first buffer memory with fixed sizes, and sequentially inserting the reached data into proper positions in a second buffer memory if the proper positions cannot be found in the first buffer memory; sequentially reading data from the first buffer memory and transmitting the data to a downstream, and waiting if no data is read or data is invalid in some position; sequentially reloading the data in the second buffer memory to the first buffer memory. According to the method for sorting out-of-order data streams, and the size of the first buffer memory is fixed, so that the first buffer memory can work well in a system with limited primary cache capacity; meanwhile, the organizational form of the second cache is flexible, so that the cache capacity and expansibility can be improved, the wait after the data lacks number can be reduced, data obstruction can be decreased, and data loss can be avoided.

Description

technical field [0001] The invention relates to a method for sorting data streams, in particular to a method for sorting out-of-order data streams with high performance and high availability in a memory-constrained system. Background technique [0002] In the data processing system, the data source will generate a large amount of data, and the same type of data constitutes a series of data streams. The so-called out-of-order data stream means that the order in which the data in the data stream arrives is not the same as the order in which the data is generated. In the downstream of the data processing system, the input data is usually required to arrive in the order in which it was generated (serial number), so an intermediate sorting link is required to sort the data. Due to the innate characteristics of data disorder, data with a small sequence number (indicating that it was generated earlier) may arrive later. In the case where the order of data sent by the upstream syst...

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
IPC IPC(8): G06F17/30
Inventor 刘栋武剑锋王泊宋亦鹰张熊熊林丽丽白硕
Owner SHANGHAI STOCK EXCHANGE
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