摘要 |
<p>The present invention discloses a method for sending complex message. The method comprises the following steps: at sending side, the data pointer in stereo message is transformed to an offset in a stereo message buffer, and thus the stereo message is transformed to the stereo message satisfying stereo message sending requirement. Because both the data pointer and the offset generated by transforming the data pointer are described in pointer data structure, there is no heterogeneous structure of message expression in the transformation. After receiving side receives the stereo message sent by the sending side, the offset in the stereo message buffer is transformed to a local data pointer, and thus the stereo message can be obtained quickly. Applying the present invention, the problem caused by heterogeneous structure of message expression is avoided, and memory redundancy assignment can be eliminated better, and thus the memory requirement of a system is reduced and the message traffic among processes is reduced evidently.</p> |