Supercharge Your Innovation With Domain-Expert AI Agents!

Stream data-oriented two-level sorting method

A sorting method and stream data technology, which is applied in the field of secondary sorting for stream data, can solve problems such as inability to sort stream data, unknowable data scale, unsuitable data structure or algorithm, etc.

Inactive Publication Date: 2016-07-27
HUNAN ANTVISION SOFTWARE
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, streaming data is very likely to be large-scale data, so a single data structure or algorithm cannot be applied; at the same time, because streaming data is a continuously arriving data sequence, the data scale is unknown in advance; therefore, the method of the above invention cannot be used for streaming data nice sort

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
  • Stream data-oriented two-level sorting method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] Such as figure 1 As shown, a secondary sorting method for stream data of the present invention includes the following steps,

[0028] Step S101: Establish a data structure, the data structure is a two-level sorting structure, including a first-level sorting structure composed of an array and a second-level sorting structure composed of several arrays, wherein the first-level sorting structure is a second-level sorting The index of the structure. One array of the first-level sorting structure is a first-level array, several arrays of the second-level sorting structure are second-level arrays, and one of the second-level arrays is a sub-array. In this embodiment, the first-level sorting structure is the index of the second-level sorting structure. The first-level array stores a two-tuple, and the two-tuple is composed of the maximum data of each sub-array and the address of the corresponding sub-array. , and the first-level array is sorted based on the largest data in t...

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 the technical field of data sorting, and in particular to a stream data-oriented two-level sorting method. The method comprises the following steps: S101, building a data structure, wherein the data structure is of a two-level sorting structure and comprises a first-level sorting structure composed of an array and a second-level sorting structure composed of a plurality of arrays and the first-level sorting structure is the index of the second-level sorting structure; S102, searching in the first-level sorting structure, awaiting data arrival, searching the arriving data in the first-level sorting structure and positioning a certain array in the second-level sorting structure; and S103, sorting in the second-level sorting structure, inserting the arriving data in the searched array in the second-level sorting structure and returning to the step S102. By adopting the method, under the circumstance that the data size is unknowable, the continuously-arriving mass data can be rapidly sorted and the searching scale and sorting scale can be reduced by a large margin.

Description

technical field [0001] The invention relates to the technical field of data sorting, and Tebi is a secondary sorting method for streaming data. Background technique [0002] Sorting is an operation that is often performed in a computer, and its purpose is to adjust a set of "disordered" data into "ordered" data. Data sorting is not a new problem. There are already many classic sorting algorithms, but they are relatively general algorithms with more restrictions. For example, the overall situation of the data needs to be known in advance and all the data is loaded into memory before sorting can be started. . Streaming data is a large, fast, and continuously arriving data sequence, which can be regarded as a dynamic data collection that grows infinitely over time. [0003] Chinese invention patent CN103577559A discloses a data sorting method, which reads the data to be sorted into the memory in batches, and each time a piece of data is read, sorts the read data to obtain ord...

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
CPCG06F16/90348
Inventor 舒琦
Owner HUNAN ANTVISION SOFTWARE
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More