Unlock instant, AI-driven research and patent intelligence for your innovation.

A message processing method and device

A processing method and message technology, applied in the field of data processing, can solve problems such as the failure of the system to work normally, and achieve the effects of saving system resources and network resources, simplifying management difficulties, and simplifying the process.

Active Publication Date: 2020-03-17
DATANG MOBILE COMM EQUIP CO LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] When communicating between a POWERPC processor board using big-endian mode (network byte order) and an ARM processor or X86 processor board using little-endian mode (host byte order), if no processing is performed, except Except for character data, other types of data cannot be recognized correctly, then the system will not work properly

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
  • A message processing method and device
  • A message processing method and device
  • A message processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0061] In order to make the above objects, features and advantages of the present invention more obvious and understandable, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0062] Currently, endian conversion methods include hard-coded methods, interlayer processing methods, and macro switch methods. These conversion methods are introduced below.

[0063] (1) Hardcoded method

[0064]This method is the most common method, and its processing is intuitive and simple, but its disadvantages are also obvious. This method adopts the encoding that performs data conversion when encoding, and is suitable for the situation where both the processor itself and the processor where the target is located are clear. Technical implementation such as figure 1 As shown, a certain module A sends and uses a different byte sequence than module B, and module B hard-codes the byte sequence required by itself ...

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 embodiment of the invention provides a message processing method and device. The message processing method includes: acquiring an original message to be transmitted, wherein the original message includes a message identifier, an original address, and a target address; determining if conversion is performed on the original message or not according to the original address and the target address; converting the original message by using the message identifier and a preset message structure description file when it is determined that conversion is performed on the original message; and transmitting the converted original message to the target address. The message processing method and device can solve the problem of byte order conversion during data interaction between different processors, can allow rapid transmission of the message, can achieve data intercommunication between the processors, can simplify the management difficulty, is simple and efficient in implementation process, and can save system resources and network resources.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a message processing method and a message processing device. Background technique [0002] Because the advantages of various processors are different, it often occurs that multiple types of processors work together in a device. For example, a board with a POWERPC processor, a board with an ARM processor, or a board with an X86 processor can be integrated into one device at the same time. In this scenario, when performing device management, there is a problem of whether each module can correctly interpret the control information and the information transmitted between each other. [0003] When communicating between a POWERPC processor board using big-endian mode (network byte order) and an ARM processor or X86 processor board using little-endian mode (host byte order), if no processing is performed, except Except character data, other types of data cannot be recognized c...

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): G06F13/40G06F15/17
CPCG06F13/4013G06F15/17
Inventor 彭强柴烨邬志君王小影张丹
Owner DATANG MOBILE COMM EQUIP CO LTD