Adapting method between different byte sequence styles in network communication
Patent Information
- Authority / Receiving Office
- CN Β· China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HUAWEI TECH CO LTD
- Publication Date
- 2006-09-27
- Estimated Expiration
- Not applicable Β· inactive patent
Smart Images
Figure 1 Figure 2
Abstract
Description
technical field
[0001] The invention relates to a digital data processing method, in particular to an adaptation method between different byte order types in network communication. Background technique
[0002] Currently, many communication systems use a default native byte order in communication messages. When the system becomes larger and larger, different communication modules run on different operating platforms, such as WINDOWS PC and IBM AIX, which will lead to different endianness between these modules, for example, some use low-order words The LittleEndian byte order type with the section first and the high-order byte behind, and some use the BigEndian byte order type with the high-order byte first and the low-order byte after, and so on. Therefore, it may not be able to correctly understand the message sent by the other party during network communication.
[0003] The traditional approach is to encode the messages that need to be sent to different modules in a spe...