Cross-platform network communication method

A network communication, cross-platform technology, applied in electrical components, transmission systems, etc., can solve the problems of large data transmission bandwidth, insufficient real-time interaction, complex format, etc., to achieve the effect of solving real-time problems

Inactive Publication Date: 2014-01-22
JINAN ZHENGHE TECH
View PDF10 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] 1. In the network communication layer, WebService technology uses HTTP protocol for network communication. Therefore, the interactivity of network applications using WebService is limited by the "request-response" mechanism of the HTTP communication protocol, and there is a lack of real-time interaction.
[000

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
  • Cross-platform network communication method
  • Cross-platform network communication method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] Such as figure 1 with figure 2 Shown, a kind of cross-platform network communication method of the present invention, it comprises following process:

[0031] 1) Establish network connections between different platforms

[0032] Through the establishment of network connections between different platforms, a transmission channel between different platforms is formed, which is used to send and receive messages and interactive commands of different platforms.

[0033] 2) The sending platform encodes the message

[0034] 2.1) Store the command name to be sent and the data contained in the command in the form of a key-value pair A1, where the meaning of the data is the key value, and the data is the value; the key value is uniformly represented by a string, and the key of the command name The value can be agreed to be Cmd, but it is not limited to this. Examples of stored content are as follows:

[0035] key value value meaning cmd Register user r...

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 invention discloses a cross-platform network communication method. The method comprises the following processes of (1), forming transmission channels among different platforms by building network connection among the different platforms; (2), encoding messages by a sending platform, i.e. (2.1) storing a command name to be sent and data contained in a command in the form of a key-value pair A1, (2.2) converting the values of types of data contained in the A1 into character strings, and (2.3) converting the stored key-value pair into a fixed message format; (3) transmitting a message to a receiving platform through a network by the sending platform according to a network byte order; (4) analyzing the received message through the converting rule the same as a message encoding rule by the receiving platform, and reducing into the command name and command content. The problem on the real-time property of cross-platform network communication and the problem caused by different character encoding of different platforms are solved.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a cross-platform network communication method. Background technique [0002] At present, with the development of network technology and the rise of smart phone platforms, more and more applications of cross-platform network communication technology are being developed. On different platforms, the programming language used, the supported data type category, data type length, byte order, and character encoding are different, resulting in data being interpreted as different meanings on different platforms, making it impossible to communicate directly. [0003] At present, WebService technology is mainly used to realize cross-platform network communication. The main goal of WebService is cross-platform interoperability. In order to achieve this goal, WebService is completely based on XML, XSD (XMLSchema) and other standards that are independent of platforms and software suppl...

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/06H04L29/08
Inventor 于龙朱涛赵西法郝林李元策孙杰
Owner JINAN ZHENGHE TECH
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