Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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: 2006-09-27
HUAWEI TECH CO LTD
View PDF0 Cites 10 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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

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

[0036] This end among the present invention and opposite end are the two ends of operating system platform, at first should determine each data type of this end endian, each data type of opposite end endian, then, set the endian endian The corresponding relatio...

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 present invention provides a cross-operating system platform byte sequence conversion method, the core of which is: respectively determine the data types of the local end and the opposite end byte order across the operating system platform, and set the local end byte order data type and the opposite end Correspondence between byte order data types, setting the overloaded operator for conversion between the endian endian data type and the opposite end endian data type, and performing cross-operating system platform based on the corresponding relationship and the overloaded operator Endian conversion. The present invention realizes byte order conversion in the process of code transplantation and message transmission across operating system platforms by using overloaded operators, so that the work related to byte order in the process of cross-operating system platform software development and software transplantation can be quantified Zero, which greatly saves labor costs in the software development process, shortens the software development cycle, and avoids human errors in the endian conversion process; thereby achieving the purpose of reducing software development costs and improving software quality.

Description

technical field [0001] The invention relates to byte sequence technology across operating systems, in particular to a byte sequence conversion method across operating system platforms. Background technique [0002] Currently, 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] Because different operating system platforms support different byte order, for example, operating system platforms such as Windows, AIX, and Tru64Unix adopt little-endian byte order, and operating system platforms such as HP and Solaris adopt big-endian byte order. Therefore, cross-operating system platforms In the process of message transmission, code porting, etc., the problem of endian conversion will be encountered. [0004] In cross-operating system platform message transmission, if the operating system platform of one party is Windows that supports little-endian byte order, an...

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
IPC IPC(8): H04L29/06
Inventor 蔡利元
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products