Multi-data packet file bubble sorting method
A bubble sorting and multi-packet technology, applied in electrical components, digital transmission systems, user identity/authority verification, etc., can solve problems such as huge data package files, insufficient system resources, difficult calculation and sorting, etc., and achieve high sorting efficiency , Simplify the reading process and reduce the burden
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0039] This embodiment discloses a method for bubble sorting of multi-packet files, as a basic implementation of the present invention, such as figure 1 shown, including the following steps:
[0040] S1, Preliminary reading of files: When data packets are collected, some out-of-sequence may be caused. In order to prevent the timing of partial confusion when saving data packets, all data packet files to be sorted are traversed in turn, and each data packet is read. The timestamp of the first data packet of the file (the so-called timestamp of the first data packet is specifically the timestamp of the smallest data packet in the current packet file. In order to ensure that the data packet is the smallest, it is necessary to read more Take several data packets, take the minimum value of the timestamp) and the timestamp of the last data packet (the so-called timestamp of the last data packet, specifically the timestamp of the largest data packet in the current packet file, reverse...
Embodiment 2
[0047] This embodiment discloses a method for bubble sorting multi-packet files, as a basic implementation of the present invention, that is, in Example 1, the preliminary sorting of files includes the following steps:
[0048] S21, generating several data collection channels based on the central processing unit, each data collection channel corresponds to a timeline, and the timelines corresponding to all data collection channels are parallel and equal;
[0049] S22. Read the data packet files based on each data collection channel, and sort the data packet files in each data collection channel according to the size of the time on the corresponding timeline without overlapping time periods.
[0050] S23. Store and record the sorting status of the data package files.
[0051] Such as figure 2 As shown, in a certain actual situation, the data package files to be sorted include A1 file, A2 file, B1 file, B2 file, B3 file, C1 file, C2 file and D file, and A1 file, A2 file, B1 fi...
Embodiment 3
[0053] This embodiment discloses a method for bubble sorting of multi-packet files, as a basic implementation of the present invention, that is, in Example 2, the time batch division includes the following steps:
[0054] S31, comparing the size of the start time of the first data packet file in all data acquisition channels, and selecting the corresponding position of the minimum start time to automatically generate a time node;
[0055] S32, in each data acquisition channel, a time node is automatically generated between every two adjacent data packet files;
[0056] S33, comparing the size of the end time of the last data packet file in all data acquisition channels, and selecting the corresponding position of the largest end time to automatically generate a time node;
[0057] S34, sort all the time nodes set in steps S21-S23 from small to large, and judge whether there is at least one start time of any data packet file between every two adjacent time nodes; if it exists, ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com