Byte sequence switching method for crossing operating system platform

A cross-operating system and conversion method technology, applied in the field of byte order conversion across operating system platforms, can solve problems such as affecting the software development cycle and software quality, the software quality cannot be effectively guaranteed, and the endian conversion method is cumbersome. , to shorten the software development cycle, provide software quality, and reduce software development costs.

Inactive Publication Date: 2010-04-28
HUAWEI TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] To sum up, the existing cross-operating system platform byte sequence conversion method is very cumbersome and error-prone, which affects the software development cycle and software quality, makes the software development cost high, and the software quality cannot be effectively guaranteed

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
  • Byte sequence switching method for crossing operating system platform
  • Byte sequence switching method for crossing operating system platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The core of the present invention is: respectively determining the data types of the local end and the opposite end byte order across the operating system platform, setting the corresponding relationship between the local end byte order data type and the opposite end byte order data type, setting the local end byte order An overloaded operator for converting an ordinal data type and an end-to-end byte-order data type, and according to the corresponding relationship, the overloaded operator performs byte-order conversion across operating system platforms.

[0035] The technical solutions provided by the present invention are further described below based on the core idea of ​​the present invention.

[0036] In the present invention, the local end and the opposite end are the two ends of the cross-operating system platform. First, each data type of the local byte order and each data type of the opposite end byte order should be determined, and then the local byte order sho...

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

This invention provides a syllable sequence transforming method of spanning operation system platform, which has the following main steps: confirming the data type of the spanning operation system platform's root end and opposite end syllable sequence, arranging the corresponding relationship between the two data types and the reload computing function, and then operating the syllable transformingof the operation system platform according to the related relationship and reload computing function. This invention uses reload computing function to realize syllable sequence transforming of the spanning operation system platform during the code transplanting, information transferring process, which makes the syllable sequence working quantum as zone during the software development and transplant of the spanning operation system platform.

Description

technical field [0001] The invention relates to a cross-operating system byte order technology, in particular to a cross-operating system platform byte order conversion method. Background technique [0002] At present, the byte order adopted by different operating system platforms includes two types: BIG_ENGIAN (big endian byte order) and LITTLE_ENDIAN (little endian byte order). [0003] Due to the different endianness supported by different operating system platforms, such as Windows, AIX, Tru64Unix and other operating system platforms use little-endian byte order, HP, Solaris and other operating system platforms use big-endian byte order, therefore, in cross-operating system platforms In the process of message transmission, code porting, etc., the problem of byte order conversion will be encountered. [0004] During message transmission across operating system platforms, if the operating system platform of one party is Windows that supports little-endian byte order, and ...

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 Patents(China)
IPC IPC(8): H04L29/06
Inventor 蔡利元
Owner HUAWEI TECH CO LTD
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