Nothing Special   »   [go: up one dir, main page]

CN111031027A - Efficient data transmission method and heterogeneous data transmission layer - Google Patents

Efficient data transmission method and heterogeneous data transmission layer Download PDF

Info

Publication number
CN111031027A
CN111031027A CN201911249624.6A CN201911249624A CN111031027A CN 111031027 A CN111031027 A CN 111031027A CN 201911249624 A CN201911249624 A CN 201911249624A CN 111031027 A CN111031027 A CN 111031027A
Authority
CN
China
Prior art keywords
data
data packet
transmission format
preset transmission
address information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911249624.6A
Other languages
Chinese (zh)
Inventor
刘家君
洪志权
伍卓萍
于崇刚
孙磊
王大强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Xintianweng Information Technology Co ltd
Original Assignee
Guangzhou Xintianweng Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Xintianweng Information Technology Co ltd filed Critical Guangzhou Xintianweng Information Technology Co ltd
Priority to CN201911249624.6A priority Critical patent/CN111031027A/en
Publication of CN111031027A publication Critical patent/CN111031027A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/06Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the application discloses a high-efficiency data transmission method and a heterogeneous data transmission layer, only a message header of a data packet with a preset transmission format needs to be analyzed, address information of a data sender and address information of a data receiver are determined, the message body does not need to be analyzed, the correct data distribution direction is found while the data analysis amount is reduced, more data are effectively transmitted in the same time, the technical problem that in the existing data transmission technology, a corresponding data distribution object can be found and data can be distributed and processed only by analyzing the whole message, and the data transmission efficiency is low is solved.

Description

Efficient data transmission method and heterogeneous data transmission layer
Technical Field
The present application relates to the field of data transmission technologies, and in particular, to a data efficient transmission method and a heterogeneous data transmission layer.
Background
In the process of data transmission, the whole message needs to be analyzed, and then the corresponding data distribution object can be found and the data is distributed, so that the data transmission efficiency is low.
With the increase of data volume, a large amount of data needs to be subjected to cross transmission aiming at different data sources and data receiving places in transmission, and the data transmission layer has the characteristics of multi-source data, large data volume and the like, so that the data transmission method has great requirements on efficient transmission of the data.
Disclosure of Invention
The embodiment of the application provides a high-efficiency data transmission method and a heterogeneous data transmission layer, and solves the technical problem that the data transmission efficiency is low because the corresponding data distribution object can be found and the data can be distributed and processed only by wholly analyzing the message in the conventional data transmission technology.
In view of the above, a first aspect of the present application provides a method for efficient data transmission, where the method includes:
based on a heterogeneous data transmission protocol, a data sender routes a data packet with a preset transmission format in a communication network, wherein a message header of the preset transmission format comprises address information of the data sender and address information of a data receiver;
the communication network analyzes the data packet with the preset transmission format and determines the data receiver of the data packet with the preset transmission format according to the address information of the data receiver;
and the communication network transmits the data packet with the preset transmission format to the data receiver.
Optionally, the header of the preset transmission format further includes a type of the data packet, a sequence number of the data packet, a QOS value of the data packet, and a message sending time.
Optionally, after the analyzing the data packet of the preset transmission format and determining the data receiver of the data packet of the preset transmission format according to the address information of the data receiver, the method further includes:
and determining the first transmission priority of the data packet according to the type of the data packet.
Optionally, after the analyzing the data packet of the preset transmission format and determining the data receiver of the data packet of the preset transmission format according to the address information of the data receiver, the method further includes:
and determining a second transmission priority of the data packet according to the QOS value of the data packet.
Optionally, the communication network analyzes the data packet with the preset transmission format, and the data receiver determining the data packet with the preset transmission format according to the address information of the data receiver specifically includes:
and analyzing the data packet with the preset transmission format in a transmission layer of the communication network through netfilter, and determining the data receiver of the data packet with the preset transmission format according to the address information of the data receiver.
Optionally, after the communication network transmits the data packet with the preset transmission format to the data receiver, the method further includes:
and presetting the data packet in a Kernel space of an operating system of the data receiver.
Optionally, before the data sender routes the data packet with the preset transmission format in the communication network, the method further includes:
and the data sender encodes the message data in the data packet according to a preset encoding table.
Optionally, before the data sender routes the data packet with the preset transmission format in the communication network, the method further includes:
and the data sender compresses the data packet through a data compression algorithm.
Optionally, the step of routing, by the data sender, the data packet with the preset transmission format in the communication network specifically includes:
and the data sender routes a data packet with a preset transmission format in the communication network through a pool connection mode.
A second aspect of the present application provides a heterogeneous data transmission layer, including:
a receiving unit, configured to receive a data packet in a preset transmission format routed by a data sender in a communication network, where a packet header in the preset transmission format includes address information of the data sender and address information of a data receiver;
the analysis unit is used for analyzing the data packet with the preset transmission format and determining the data receiver of the data packet with the preset transmission format according to the address information of the data receiver;
and the distribution unit is used for transmitting the data packet with the preset transmission format to the data receiver through the communication network.
According to the technical scheme, the embodiment of the application has the following advantages:
in the embodiment of the application, an efficient data transmission method is provided, only a message header of a data packet with a preset transmission format needs to be analyzed, address information of a data sender and address information of a data receiver are determined, the message body does not need to be analyzed, the correct data distribution direction is found while the data analysis amount is reduced, more data are effectively transmitted in the same time, and the technical problem that the data transmission efficiency is low due to the fact that a corresponding data distribution object can be found and data can be distributed and processed only when the message is analyzed in the whole in the existing data transmission technology is solved.
Drawings
Fig. 1 is a schematic flowchart of a first embodiment of a method for efficient data transmission according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a second embodiment of a method for efficient data transmission according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a third embodiment of a method for efficient data transmission according to an embodiment of the present application;
fig. 4 is a schematic flowchart of a fourth embodiment of a method for efficient data transmission according to the present application;
fig. 5 is a schematic flowchart of a fifth embodiment of a method for efficient data transmission according to an embodiment of the present application;
fig. 6 is a schematic flowchart of a sixth embodiment of a method for efficient data transmission according to the present application;
fig. 7 is a schematic flowchart of a seventh embodiment of a method for efficient data transmission according to an embodiment of the present application;
fig. 8 is a schematic flowchart of an eighth embodiment of a method for efficient data transmission according to the present application;
fig. 9 is a schematic structural diagram of a heterogeneous data transmission layer in an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The application designs a high-efficiency data transmission method and a heterogeneous data transmission layer, and solves the technical problem that the data transmission efficiency is low because the corresponding data distribution object can be found and the data can be distributed and processed only by analyzing the whole message in the existing data transmission technology.
For easy understanding, please refer to fig. 1, where fig. 1 is a schematic flowchart of a first embodiment of a method for efficient data transmission according to an embodiment of the present application, and as shown in fig. 1, the method specifically includes:
101. based on a heterogeneous data transmission protocol, a data sender routes a data packet with a preset transmission format in a communication network, and a message header of the preset transmission format comprises address information of the data sender and address information of a data receiver;
it should be noted that, based on the heterogeneous data transmission protocol, a data sender routes a data packet in a preset transmission format in a communication network, a header of the preset transmission format includes address information of the data sender and address information of a data receiver, and the header may further include information such as a type of the data packet, a sequence number of the data packet, and message sending time, and specifically, the header includes the following examples:
MSG Agent:user1@192.168.1.116:6000;ob VER/2.0
Via:GTS/2.0/UDP192.168.1.109;branch=z9hG4bK7d2d.c81637a3b770f96aedec401d6e0b849d.0
Via:GTS/2.0/UDP192.168.1.103:6000;received=192.168.1.103;branch=z9hG4bK.kpfY44c-6
From:<gts:user2@192.168.1.109>;tag=0jXn~BEOH
To:gts:user1@192.168.1.109
CSeq:20MSG
Max-Forwards:69
Content-Type:application/txt
Content-Length:282
Date:Wed,28Aug 2019 00:02:37GMT
examples of the message body are as follows:
<?xml version="1.0"encoding="UTF-8"?>
<isComposing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="urn:ietf:params:xml:ns:im-composing iscomposing.xsd"xmlns="urn:ietf:params:xml:ns:imiscomposing"><state>active</state><refresh>60</refresh></isComposing>
102. the communication network analyzes the data packet with the preset transmission format and determines a data receiver of the data packet with the preset transmission format according to the address information of the data receiver;
it should be noted that the communication network directly analyzes the packet header of the data packet with the preset transmission format, and determines the address information of the data sender and the address information of the data receiver according To the From, To, and other information in the packet header, thereby determining the correct data distribution direction.
103. The communication network transmits the data packet with the preset transmission format to the data receiver.
It should be noted that, the data packet is transmitted to the data receiving side according to the address information of the analyzed data receiving side.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating a second embodiment of a method for efficient data transmission according to an embodiment of the present application, as shown in fig. 2, specifically:
201. based on a heterogeneous data transmission protocol, a data sender routes a data packet with a preset transmission format in a communication network, and a message header of the preset transmission format comprises address information of the data sender, address information of a data receiver and the type of the data packet;
it should be noted that, based on the heterogeneous data transmission protocol, a data sender routes a data packet in a preset transmission format in a communication network, a header of the preset transmission format includes address information of the data sender and address information of a data receiver, and the header may further include information such as a type of the data packet, a sequence number of the data packet, and message sending time, and specifically, the header includes the following examples:
MSG Agent:user1@192.168.1.116:6000;ob VER/2.0
Via:GTS/2.0/UDP192.168.1.109;branch=z9hG4bK7d2d.c81637a3b770f96aedec401d6e0b849d.0
Via:GTS/2.0/UDP192.168.1.103:6000;received=192.168.1.103;branch=z9hG4bK.kpfY44c-6
From:<gts:user2@192.168.1.109>;tag=0jXn~BEOH
To:gts:user1@192.168.1.109
CSeq:20MSG
Max-Forwards:69
Content-Type:application/txt
Content-Length:282
Date:Wed,28Aug 2019 00:02:37GMT
examples of the message body are as follows:
<?xml version="1.0"encoding="UTF-8"?>
<isComposing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="urn:ietf:params:xml:ns:im-composing iscomposing.xsd"xmlns="urn:ietf:params:xml:ns:imiscomposing"><state>active</state><refresh>60</refresh></isComposing>
202. the communication network analyzes the data packet with the preset transmission format and determines a data receiver of the data packet with the preset transmission format according to the address information of the data receiver;
it should be noted that the communication network directly analyzes the packet header of the data packet with the preset transmission format, and determines the address information of the data sender and the address information of the data receiver according To the From, To, and other information in the packet header, thereby determining the correct data distribution direction.
203. Determining a first transmission priority of the data packet according to the type of the data packet;
it should be noted that different priorities may be set for different types of packets in advance, a first transmission priority of a packet is determined according to the type of the packet obtained through analysis, and a packet with a high first transmission priority is preferentially sent.
204. The communication network transmits the data packet with the preset transmission format to the data receiver.
Referring to fig. 3, fig. 3 is a schematic flowchart illustrating a third embodiment of a method for efficient data transmission according to the present embodiment, as shown in fig. 3, specifically:
301. based on a heterogeneous data transmission protocol, a data sender routes a data packet with a preset transmission format in a communication network, and a message header with the preset transmission format comprises address information of the data sender, address information of a data receiver and a QOS value of the data packet;
it should be noted that, based on the heterogeneous data transmission protocol, a data sender routes a data packet in a preset transmission format in a communication network, a header of the preset transmission format includes address information of the data sender and address information of a data receiver, and the header may further include information such as a type of the data packet, a sequence number of the data packet, and message sending time, and specifically, the header includes the following examples:
MSG Agent:user1@192.168.1.116:6000;ob VER/2.0
Via:GTS/2.0/UDP192.168.1.109;branch=z9hG4bK7d2d.c81637a3b770f96aedec401d6e0b849d.0
Via:GTS/2.0/UDP192.168.1.103:6000;received=192.168.1.103;branch=z9hG4bK.kpfY44c-6
From:<gts:user2@192.168.1.109>;tag=0jXn~BEOH
To:gts:user1@192.168.1.109
CSeq:20MSG
Max-Forwards:69
Content-Type:application/txt
Content-Length:282
Date:Wed,28Aug 2019 00:02:37GMT
examples of the message body are as follows:
<?xml version="1.0"encoding="UTF-8"?>
<isComposing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="urn:ietf:params:xml:ns:im-composing iscomposing.xsd"xmlns="urn:ietf:params:xml:ns:imiscomposing"><state>active</state><refresh>60</refresh></isComposing>
302. the communication network analyzes the data packet with the preset transmission format and determines a data receiver of the data packet with the preset transmission format according to the address information of the data receiver;
it should be noted that the communication network directly analyzes the packet header of the data packet with the preset transmission format, and determines the address information of the data sender and the address information of the data receiver according To the From, To, and other information in the packet header, thereby determining the correct data distribution direction.
303. Determining a second transmission priority of the data packet according to the QOS value of the data packet;
it should be noted that, different priorities may be set in advance for the data packets with different QOS values, the second transmission priority of the data packet is determined according to the QOS value of the data packet obtained through analysis, and the data packet with the second transmission priority is preferentially sent.
304. The communication network transmits the data packet with the preset transmission format to the data receiver.
Referring to fig. 4, fig. 4 is a schematic flowchart illustrating a fourth embodiment of a method for efficient data transmission according to the present embodiment, as shown in fig. 4, specifically:
401. based on a heterogeneous data transmission protocol, a data sender routes a data packet with a preset transmission format in a communication network, and a message header of the preset transmission format comprises address information of the data sender and address information of a data receiver;
it should be noted that, based on the heterogeneous data transmission protocol, a data sender routes a data packet in a preset transmission format in a communication network, a header of the preset transmission format includes address information of the data sender and address information of a data receiver, and the header may further include information such as a type of the data packet, a sequence number of the data packet, and message sending time, and specifically, the header includes the following examples:
MSG Agent:user1@192.168.1.116:6000;ob VER/2.0
Via:GTS/2.0/UDP192.168.1.109;branch=z9hG4bK7d2d.c81637a3b770f96aedec401d6e0b849d.0
Via:GTS/2.0/UDP192.168.1.103:6000;received=192.168.1.103;branch=z9hG4bK.kpfY44c-6
From:<gts:user2@192.168.1.109>;tag=0jXn~BEOH
To:gts:user1@192.168.1.109
CSeq:20MSG
Max-Forwards:69
Content-Type:application/txt
Content-Length:282
Date:Wed,28Aug 2019 00:02:37GMT
examples of the message body are as follows:
<?xml version="1.0"encoding="UTF-8"?>
<isComposing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="urn:ietf:params:xml:ns:im-composing iscomposing.xsd"xmlns="urn:ietf:params:xml:ns:imiscomposing"><state>active</state><refresh>60</refresh></isComposing>
402. analyzing a data packet with a preset transmission format in a transmission layer of a communication network through netfilter, and determining a data receiver of the data packet with the preset transmission format according to address information of the data receiver;
it should be noted that, the netfilter directly analyzes the packet header of the data packet in the preset transmission format in the transmission layer of the communication network, so as To greatly improve the processing efficiency of the protocol data, and determines the address information of the data sender and the address information of the data receiver according To the From, To and other information in the packet header, thereby determining the correct data distribution direction.
403. The communication network transmits the data packet with the preset transmission format to the data receiver.
It should be noted that, the data packet is transmitted to the data receiving side according to the address information of the analyzed data receiving side.
Referring to fig. 5, fig. 5 is a schematic flowchart illustrating a fifth embodiment of a method for efficient data transmission according to the present embodiment, as shown in fig. 5, specifically:
501. based on a heterogeneous data transmission protocol, a data sender routes a data packet with a preset transmission format in a communication network, and a message header of the preset transmission format comprises address information of the data sender and address information of a data receiver;
it should be noted that, based on the heterogeneous data transmission protocol, a data sender routes a data packet in a preset transmission format in a communication network, a header of the preset transmission format includes address information of the data sender and address information of a data receiver, and the header may further include information such as a type of the data packet, a sequence number of the data packet, and message sending time, and specifically, the header includes the following examples:
MSG Agent:user1@192.168.1.116:6000;ob VER/2.0
Via:GTS/2.0/UDP192.168.1.109;branch=z9hG4bK7d2d.c81637a3b770f96aedec401d6e0b849d.0
Via:GTS/2.0/UDP192.168.1.103:6000;received=192.168.1.103;branch=z9hG4bK.kpfY44c-6
From:<gts:user2@192.168.1.109>;tag=0jXn~BEOH
To:gts:user1@192.168.1.109
CSeq:20MSG
Max-Forwards:69
Content-Type:application/txt
Content-Length:282
Date:Wed,28Aug 2019 00:02:37GMT
examples of the message body are as follows:
<?xml version="1.0"encoding="UTF-8"?>
<isComposing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="urn:ietf:params:xml:ns:im-composing iscomposing.xsd"xmlns="urn:ietf:params:xml:ns:imiscomposing"><state>active</state><refresh>60</refresh></isComposing>
502. the communication network analyzes the data packet with the preset transmission format and determines a data receiver of the data packet with the preset transmission format according to the address information of the data receiver;
it should be noted that the communication network directly analyzes the packet header of the data packet with the preset transmission format, and determines the address information of the data sender and the address information of the data receiver according To the From, To, and other information in the packet header, thereby determining the correct data distribution direction.
503. The communication network transmits a data packet with a preset transmission format to a data receiver;
it should be noted that, the data packet is transmitted to the data receiving side according to the address information of the analyzed data receiving side.
504. And presetting the data packet in a Kernel space of an operating system of a data receiving party.
It should be noted that, the data packet is subjected to the preset processing in the Kernel space of the operating system of the data receiving party, so that a data copying process of the data packet from the Kernel space to the user space is avoided, and the efficiency of protocol processing is improved, thereby improving the transmission efficiency of data. The preset processing includes, but is not limited to, modification processing of the data packet, that is, modification of address information of a data receiver of the data packet, modification of increase or decrease of data content of the data packet, and parsing processing of the data packet.
Referring to fig. 6, fig. 6 is a schematic flowchart illustrating a sixth embodiment of a method for efficient data transmission according to the present embodiment, and as shown in fig. 6, the method specifically includes:
601. coding the message data in the data packet according to a preset coding table;
it should be noted that, in order to reduce the size of the data packet, the data sender may encode the message data in the data packet according to a preset encoding table before sending the data packet, so that the original character string type message data can be represented by a letter and number combined encoding, thereby greatly reducing the size of the data packet and improving the transmission efficiency of the data packet.
602. Based on a heterogeneous data transmission protocol, a data sender routes a data packet with a preset transmission format in a communication network, and a message header of the preset transmission format comprises address information of the data sender and address information of a data receiver;
it should be noted that, based on the heterogeneous data transmission layer, the data sender routes the data packet in the preset transmission format in the communication network, the header in the preset transmission format includes address information of the data sender and address information of the data receiver, and the header may further include information such as the type of the data packet, the sequence number of the data packet, and the message sending time, and specifically, the example of the header is as follows:
MSG Agent:user1@192.168.1.116:6000;ob VER/2.0
Via:GTS/2.0/UDP192.168.1.109;branch=z9hG4bK7d2d.c81637a3b770f96aedec401d6e0b849d.0
Via:GTS/2.0/UDP192.168.1.103:6000;received=192.168.1.103;branch=z9hG4bK.kpfY44c-6
From:<gts:user2@192.168.1.109>;tag=0jXn~BEOH
To:gts:user1@192.168.1.109
CSeq:20MSG
Max-Forwards:69
Content-Type:application/txt
Content-Length:282
Date:Wed,28Aug 2019 00:02:37GMT
examples of the message body are as follows:
<?xml version="1.0"encoding="UTF-8"?>
<isComposing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="urn:ietf:params:xml:ns:im-composing iscomposing.xsd"xmlns="urn:ietf:params:xml:ns:imiscomposing"><state>active</state><refresh>60</refresh></isComposing>
603. the communication network analyzes the data packet with the preset transmission format and determines a data receiver of the data packet with the preset transmission format according to the address information of the data receiver;
it should be noted that the communication network directly analyzes the packet header of the data packet with the preset transmission format, and determines the address information of the data sender and the address information of the data receiver according To the From, To, and other information in the packet header, thereby determining the correct data distribution direction.
604. The communication network transmits the data packet with the preset transmission format to the data receiver.
Referring to fig. 7, fig. 7 is a flowchart illustrating a seventh embodiment of a method for efficient data transmission according to the embodiment of the present application, and as shown in fig. 7, the method specifically includes:
701. the data sender compresses the data packet through a data compression algorithm;
it should be noted that, in order to reduce the size of the data packet, the data sender may compress the data packet by using a data compression algorithm before sending the data packet, so as to reduce the data amount in the data packet, reduce the occupied bandwidth, greatly reduce the size of the data packet, and improve the transmission efficiency of the data packet.
702. Based on a heterogeneous data transmission protocol, a data sender routes a data packet with a preset transmission format in a communication network, and a message header of the preset transmission format comprises address information of the data sender and address information of a data receiver;
it should be noted that, based on the heterogeneous data transmission layer, the data sender routes the data packet in the preset transmission format in the communication network, the header in the preset transmission format includes address information of the data sender and address information of the data receiver, and the header may further include information such as the type of the data packet, the sequence number of the data packet, and the message sending time, and specifically, the example of the header is as follows:
MSG Agent:user1@192.168.1.116:6000;ob VER/2.0
Via:GTS/2.0/UDP192.168.1.109;branch=z9hG4bK7d2d.c81637a3b770f96aedec401d6e0b849d.0
Via:GTS/2.0/UDP192.168.1.103:6000;received=192.168.1.103;branch=z9hG4bK.kpfY44c-6
From:<gts:user2@192.168.1.109>;tag=0jXn~BEOH
To:gts:user1@192.168.1.109
CSeq:20MSG
Max-Forwards:69
Content-Type:application/txt
Content-Length:282
Date:Wed,28Aug 2019 00:02:37GMT
examples of the message body are as follows:
<?xml version="1.0"encoding="UTF-8"?>
<isComposing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="urn:ietf:params:xml:ns:im-composing iscomposing.xsd"xmlns="urn:ietf:params:xml:ns:imiscomposing"><state>active</state><refresh>60</refresh></isComposing>
703. the communication network analyzes the data packet with the preset transmission format and determines a data receiver of the data packet with the preset transmission format according to the address information of the data receiver;
it should be noted that the communication network directly analyzes the packet header of the data packet with the preset transmission format, and determines the address information of the data sender and the address information of the data receiver according To the From, To, and other information in the packet header, thereby determining the correct data distribution direction.
704. The communication network transmits the data packet with the preset transmission format to the data receiver.
Referring to fig. 8, fig. 8 is a schematic flowchart illustrating an eighth embodiment of a method for efficient data transmission according to the present invention, as shown in fig. 8, specifically:
801. based on a heterogeneous data transmission protocol, a data sender routes a data packet with a preset transmission format in a communication network through a pool mode, and a message header of the preset transmission format comprises address information of the data sender and address information of a data receiver;
it should be noted that, based on the heterogeneous data transmission layer, the data sender routes the data packet with the preset transmission format in the communication network through the pool connection pool mode, which supports multiple concurrent transmissions, and the transmission efficiency is higher. The message header of the preset transmission format includes address information of a data sender and address information of a data receiver, and may further include information such as a type of a data packet, a sequence number of the data packet, and message sending time, and specifically, the example of the message header is as follows:
MSG Agent:user1@192.168.1.116:6000;ob VER/2.0
Via:GTS/2.0/UDP192.168.1.109;branch=z9hG4bK7d2d.c81637a3b770f96aedec401d6e0b849d.0
Via:GTS/2.0/UDP192.168.1.103:6000;received=192.168.1.103;branch=z9hG4bK.kpfY44c-6
From:<gts:user2@192.168.1.109>;tag=0jXn~BEOH
To:gts:user1@192.168.1.109
CSeq:20MSG
Max-Forwards:69
Content-Type:application/txt
Content-Length:282
Date:Wed,28Aug 2019 00:02:37GMT
examples of the message body are as follows:
<?xml version="1.0"encoding="UTF-8"?>
<isComposing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="urn:ietf:params:xml:ns:im-composing iscomposing.xsd"xmlns="urn:ietf:params:xml:ns:imiscomposing"><state>active</state><refresh>60</refresh></isComposing>
802. the communication network analyzes the data packet with the preset transmission format and determines a data receiver of the data packet with the preset transmission format according to the address information of the data receiver;
it should be noted that the communication network directly analyzes the packet header of the data packet with the preset transmission format, and determines the address information of the data sender and the address information of the data receiver according To the From, To, and other information in the packet header, thereby determining the correct data distribution direction.
803. The communication network transmits the data packet with the preset transmission format to the data receiver.
Referring to fig. 9, fig. 9 is a schematic structural diagram of a heterogeneous data transmission layer according to an embodiment of the present application, and as shown in fig. 9, the schematic structural diagram specifically includes:
a receiving unit 901, configured to receive a data packet in a preset transmission format routed by a data sender in a communication network, where a packet header in the preset transmission format includes address information of the data sender and address information of a data receiver;
an analyzing unit 902, configured to analyze a data packet in a preset transmission format, and determine a data receiver of the data packet in the preset transmission format according to address information of the data receiver;
the distribution unit 903 is configured to transmit a data packet with a preset transmission format to a data receiver through a communication network.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The terms "first," "second," "third," "fourth," and the like in the description of the application and the above-described figures, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be understood that in the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" for describing an association relationship of associated objects, indicating that there may be three relationships, e.g., "a and/or B" may indicate: only A, only B and both A and B are present, wherein A and B may be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of single item(s) or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b, c may be single or plural.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (10)

1. A method for efficient data transmission, comprising:
based on a heterogeneous data transmission protocol, a data sender routes a data packet with a preset transmission format in a communication network, wherein a message header of the preset transmission format comprises address information of the data sender and address information of a data receiver;
analyzing the data packet with the preset transmission format, and determining the data receiver of the data packet with the preset transmission format according to the address information of the data receiver;
and transmitting the data packet with the preset transmission format to the data receiver through the communication network.
2. The method according to claim 1, wherein the header of the predetermined transport format further includes a type of the data packet, a sequence number of the data packet, a QOS value of the data packet, and a message sending time.
3. The method according to claim 2, wherein the parsing the data packet in the preset transmission format and determining the data receiver of the data packet in the preset transmission format according to the address information of the data receiver further comprises:
and determining the first transmission priority of the data packet according to the type of the data packet.
4. The method according to claim 2, wherein the parsing the data packet in the preset transmission format and determining the data receiver of the data packet in the preset transmission format according to the address information of the data receiver further comprises:
and determining a second transmission priority of the data packet according to the QOS value of the data packet.
5. The method according to claim 1, wherein the analyzing the data packet with the preset transmission format, and determining the data receiver of the data packet with the preset transmission format according to the address information of the data receiver specifically comprises:
and analyzing the data packet with the preset transmission format in a transmission layer of the communication network through netfilter, and determining the data receiver of the data packet with the preset transmission format according to the address information of the data receiver.
6. The method as claimed in claim 1, wherein the step of transmitting the data packet with the predetermined transmission format to the data receiver via the communication network further comprises:
and presetting the data packet in a Kernel space of an operating system of the data receiver.
7. The method as claimed in claim 1, wherein the step of the data sender routing the data packets with the predetermined transmission format in the communication network further comprises:
and the data sender encodes the message data in the data packet according to a preset encoding table.
8. The method as claimed in claim 1, wherein the step of the data sender routing the data packets with the predetermined transmission format in the communication network further comprises:
and the data sender compresses the data packet through a data compression algorithm.
9. The method as claimed in claim 1, wherein the step of the data sender routing the data packets with the predetermined transmission format in the communication network comprises:
and the data sender routes a data packet with a preset transmission format in the communication network through a pool connection mode.
10. A heterogeneous data transport layer, comprising:
a receiving unit, configured to receive a data packet in a preset transmission format routed by a data sender in a communication network, where a packet header in the preset transmission format includes address information of the data sender and address information of a data receiver;
the analysis unit is used for analyzing the data packet with the preset transmission format and determining the data receiver of the data packet with the preset transmission format according to the address information of the data receiver;
and the distribution unit is used for transmitting the data packet with the preset transmission format to the data receiver through the communication network.
CN201911249624.6A 2019-12-09 2019-12-09 Efficient data transmission method and heterogeneous data transmission layer Pending CN111031027A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911249624.6A CN111031027A (en) 2019-12-09 2019-12-09 Efficient data transmission method and heterogeneous data transmission layer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911249624.6A CN111031027A (en) 2019-12-09 2019-12-09 Efficient data transmission method and heterogeneous data transmission layer

Publications (1)

Publication Number Publication Date
CN111031027A true CN111031027A (en) 2020-04-17

Family

ID=70205274

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911249624.6A Pending CN111031027A (en) 2019-12-09 2019-12-09 Efficient data transmission method and heterogeneous data transmission layer

Country Status (1)

Country Link
CN (1) CN111031027A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106712907A (en) * 2017-02-16 2017-05-24 北京中航通用科技有限公司 Data transmission method and equipment
US20170279913A1 (en) * 2016-03-28 2017-09-28 The Boeing Company Unified data networking across heterogeneous networks
CN107360205A (en) * 2016-05-09 2017-11-17 阿里巴巴集团控股有限公司 The transmission method and device of data message, system
CN108111523A (en) * 2017-12-28 2018-06-01 网易(杭州)网络有限公司 Data transmission method and device
CN108696492A (en) * 2017-04-12 2018-10-23 联芯科技有限公司 The processing method and device of IP packet
CN109768905A (en) * 2019-03-13 2019-05-17 深信服科技股份有限公司 A kind of method, system, equipment and the storage medium of PPPoE message transmissions
CN110380970A (en) * 2019-07-22 2019-10-25 北京邮电大学 A kind of self-adapting data message forwarding method and device suitable for heterogeneous network

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170279913A1 (en) * 2016-03-28 2017-09-28 The Boeing Company Unified data networking across heterogeneous networks
CN107360205A (en) * 2016-05-09 2017-11-17 阿里巴巴集团控股有限公司 The transmission method and device of data message, system
CN106712907A (en) * 2017-02-16 2017-05-24 北京中航通用科技有限公司 Data transmission method and equipment
CN108696492A (en) * 2017-04-12 2018-10-23 联芯科技有限公司 The processing method and device of IP packet
CN108111523A (en) * 2017-12-28 2018-06-01 网易(杭州)网络有限公司 Data transmission method and device
CN109768905A (en) * 2019-03-13 2019-05-17 深信服科技股份有限公司 A kind of method, system, equipment and the storage medium of PPPoE message transmissions
CN110380970A (en) * 2019-07-22 2019-10-25 北京邮电大学 A kind of self-adapting data message forwarding method and device suitable for heterogeneous network

Similar Documents

Publication Publication Date Title
US10506007B2 (en) Apparatus and method for transmitting multimedia data in a broadcast system
US20180007108A1 (en) Method of communicating data packets within data communication systems
KR100996014B1 (en) Methods and apparatus for fragmenting system information messages in wireless networks
US8260333B2 (en) Consolidating international short message service messages destined to multiple recipients
US9092319B2 (en) State memory management, wherein state memory is managed by dividing state memory into portions each portion assigned for storing state information associated with a specific message class
US20140143202A1 (en) Regulated Texting Solution for Mobile Devices
CN103548315A (en) Method and apparatus for high performance low latency real time notification delivery
KR20170134405A (en) METHOD AND APPARATUS FOR FLEXIBLE BROADCAST SERVICE BASED ON MULTIMEDIA BROADCAST MULTICAST SERVICE
KR101809365B1 (en) Message Fragmentation Method using a MQTT Protocol in M2M/IoT Platforms
KR20120068285A (en) Diversification transcoding method for video file
CN111193966A (en) Audio data transmission method and device, computer equipment and storage medium
CN111031027A (en) Efficient data transmission method and heterogeneous data transmission layer
CN107800653B (en) Message compression method and device
CN105592082B (en) Content sharing system, content and content share method
CN115086285B (en) Data processing method and device, storage medium and electronic equipment
US6704306B1 (en) Voice message service method for multimedia internet protocol system
CN108540820A (en) Flow data management method, device and computer readable storage medium
Xu et al. A method for fast channel switching based on MPEG media transport for broadcast TV
CN107197395B (en) A method of enhancing service is provided for video terminal
KR20150031752A (en) Transmission system for compression and division of XML and JSON data
CN118612485A (en) Video push method, system, computer equipment and readable storage medium
CN114979092A (en) Data transmission method, device, equipment and medium based on RTP
KR20130004850A (en) Client device, system and method for stepwise processing of udp packet
US20140304707A1 (en) Method and apparatus for creating parameter set
Saengudomlert Capacity of single-server queues

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200417