Method for stack sequencing in SDH
A technology of heap sorting and ordinal numbers, applied in electrical components, transmission systems, etc., can solve the problems of heap sorting unstable sorting, errors, different compressed message data, etc., and achieve the effect of a stable sorting method
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0016] The specific embodiments of the present invention will be further described below in conjunction with the accompanying drawings.
[0017] The method for heap sorting in SDH of the present invention, it mainly comprises the following steps:
[0018] 1. After the NCP decompresses the received compressed message, the NCP adds a sequence number C with a length of 4 bytes at the end of each record before storing each record in the database.
[0019] The ordinal number C is used to identify the storage order of the record. The ordinal number C is generated by an accumulator, that is, when the NCP processes each record, if the value of C is less than 0xFFFFFFFE, it will add 1 to C; if If the value of C is greater than or equal to 0xFFFFFFFE, reset C to 0. The purpose of this is to avoid C overflow.
[0020] 2. NCP puts the decompressed record into the database together with the sequence number C corresponding to the record.
[0021] With this step, all records to be sorted ...
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