CN108111523A - Data transmission method and device - Google Patents

Data transmission method and device Download PDF

Info

Publication number
CN108111523A
CN108111523A CN201711464345.2A CN201711464345A CN108111523A CN 108111523 A CN108111523 A CN 108111523A CN 201711464345 A CN201711464345 A CN 201711464345A CN 108111523 A CN108111523 A CN 108111523A
Authority
CN
China
Prior art keywords
data
data message
sent
target process
target
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.)
Granted
Application number
CN201711464345.2A
Other languages
Chinese (zh)
Other versions
CN108111523B (en
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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201711464345.2A priority Critical patent/CN108111523B/en
Publication of CN108111523A publication Critical patent/CN108111523A/en
Application granted granted Critical
Publication of CN108111523B publication Critical patent/CN108111523B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/03Protocol definition or specification 
    • 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
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast

Landscapes

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

Abstract

The invention discloses a kind of data transmission method and devices.This method includes:Determine data to be sent;Data message is built based on data to be sent, wherein, the physical address at intended recipient end and the identification information for identifying target process are carried in data message;Data message is sent in each network interface card in same LAN.By the present invention, achieve the effect that improve data transmission efficiency.

Description

Data transmission method and device
Technical field
The present invention relates to computer realm, in particular to a kind of data transmission method and device.
Background technology
In Distributed Services cluster, need to pass through in real time between the object being distributed between each process in each physical machine It is in communication with each other and exchanges information to cooperate, efficient message transfer mechanism is the basis for building real time service, for example is being distributed Certain player chats in the world in formula game server, server need by the message real-time broadcast of player's object to it is all its Player's object in his process gets on, and common be achieved in that is realized using internet suite of protocol (such as TCP/IP).
This mode is general simple but also has its deficiency, internet suite of protocol in order to shield bottom-layer network environmental difference, Each data transmission is needed in additional (IP layers encapsulate and explain with transport layer protocol) the processing expense of transmitting-receiving two-end addition, invention People has found that the machine in same service cluster is often deployed in the same ethernet environment of same computer room, in same Ethernet Machine can use hardware address to realize higher speed and efficient communication, but internet protocol-based race technology using Ethernet card Application have ignored these characteristics because Internet Protocol carries out message routing dependent on its own protocol using IP address and port And distribution, it is all right such as to know obviously that neighbour's just over there, but want telecommunication bureau's help to connect telephone line and carry out every time Communication is the same, hence it is evident that comes efficiently directly facing face communication on the door not as good as directly going to, must but bear the additional of communication cost Expense, communication quality are also limited to the service quality of telecom operators.
The network data transmission method of mainstream is to carry out data using internet suite of protocol such as TCP/IP or UDP/IP at present Transmission, the internet suite of protocol that this method uses operating system built-in are supported to carry out network communication and data transmission.This The benefit of kind of method be it is versatile, it is easy to use because the realization of TCP, UDP and IP agreement are all provided by operating system, bag Include agreement explanation, network package unpacking and multiplexing etc..
But also there is the shortcomings that following using the TCP/IP or UDP/IP methods to communicate:
1st, Internet protocol stack realization has additional kernel overhead, can reduce the speed of application-layer data transmission, Fig. 1 is phase The typical ICP/IP protocol stack schematic diagram of pass technology, as shown in Figure 1, the package for being responsible for protocol stack in operating system unpacks, often The receipts and hair of a data packet can all pass through the explanation of each layer protocol in protocol stack, have additional computing cost.
2nd, transmission data have the header redundancy of each layer protocol in protocol stack, can reduce the efficiency of data transmission, and Fig. 2 is Each layer protocol package schematic diagram in ICP/IP protocol stack in correlation technique, as shown in Fig. 2, by taking IPv4 and TCP/UDP as an example, IP Minimum 20 byte of header length (no option), TCP/UDP header lengths are respectively 20/8 byte, therefore using TCP/IP most Big efficiency of transmission is:
Wherein, Max Ether Payload For TCP/IP represent the single Ether frame when transmitting TCP/IP data packets Maximum Payload, not including Ether frame header and afterbody and TCP/IP header information;Ether Frame Size Single ether frame sign is represented, including all header informations.
3rd, efficiency of transmission and behavior are realized constraint by operating system and Internet protocol stack, as TCP have actively avoid and The mechanism such as flow control can cause large effect to transmission speed and efficiency.
Efficiency when being carried out data transmission for the equipment room in same service cluster in correlation technique by ICP/IP protocol The problem of low, currently no effective solution has been proposed.
The content of the invention
It is a primary object of the present invention to provide a kind of data transmission method and device, to solve in same service cluster The problem of efficiency is low when equipment room is carried out data transmission by ICP/IP protocol.
To achieve these goals, according to an aspect of the invention, there is provided a kind of data transmission method, this method bag It includes:Determine data to be sent;Data message is built based on the data to be sent, wherein, it is carried in the data message There are the physical address at intended recipient end and the identification information for identifying target process;The data message is sent to and is located at In each network interface card in same LAN.
Further, included based on the data structure data message to be sent:Obtain the data to be sent Target process;Aiming field is determined according to the target process, wherein, the aiming field is used to identify the target process; Increase the aiming field on the head of the data to be sent, obtain the data message.
Further, before aiming field is determined according to the target process, the method further includes:For the target The corresponding Target id of process registers;The aiming field is determined according to the Target id.
Further, the data message includes Ether frame header, data length field, Target ID field, described pending The data field that send, ether tail, wherein, the data length field is used to identify the length of the data message.
Further, described for identifying byte quantity shared by the identification information of target process as 2 bytes, the data are long It is 2 bytes to spend byte quantity shared by field.
To achieve these goals, according to another aspect of the present invention, a kind of data transmission method, this method are additionally provided Including:Data message is received, wherein, the physical address at intended recipient end is carried in the data message and for identifying mesh The identification information of mark process;The data message is parsed, obtains the intended recipient end carried in the data message physically Location and the identification information for identifying target process;Judge current inner filter physical address and identification information with it is described Whether the physical address at the intended recipient end carried in data message is consistent with for identifying the identification information of target process, obtains Judging result;In the case where the judging result is to be, the data message is sent to the target process.
Further, after the judging result is obtained, the method further includes:In the feelings that the judging result is no Under condition, the data message is abandoned.
Further, the data message includes Ether frame header, data length field, Target ID field, described pending The data field that send, ether tail, wherein, the data length field is used to identify the length of the data message.
To achieve these goals, according to another aspect of the present invention, a kind of data transmission device is additionally provided, the device Including:First determination unit, for determining data to be sent;Construction unit, for based on the data structure to be sent Data message, wherein, the physical address at intended recipient end is carried in the data message and for identifying target process Identification information;Transmitting element, for being sent to the data message in each network interface card in same LAN.
Further, the construction unit includes:Acquisition module, for obtain the targets of the data to be sent into Journey;Determining module, for determining aiming field according to the target process, wherein, the aiming field is used to identify the mesh Mark process;Adding unit for increasing the aiming field on the head of the data to be sent, obtains the datagram Text.
Further, described device further includes:Registering unit, for according to the target process determine aiming field it Before, register corresponding Target id for the target process;Second determination unit, for determining the target according to the Target id Field.
To achieve these goals, according to another aspect of the present invention, a kind of data transmission device is additionally provided, the device Including:Receiving unit, for receiving data message, wherein, the physical address at intended recipient end is carried in the data message And the identification information for identifying target process;Resolution unit for parsing the data message, obtains the data message The physical address at the intended recipient end of middle carrying and the identification information for identifying target process;Judging unit, for judging The physical address and identification information of current inner filter and the physical address at the intended recipient end carried in the data message It is whether consistent with for identifying the identification information of target process, obtain judging result;Transmitting element, in the judging result In the case of being, the data message is sent to the target process.
To achieve these goals, according to another aspect of the present invention, a kind of storage medium is additionally provided, including storage Program, wherein, equipment where the storage medium is controlled when described program is run performs transmission side data of the present invention Method.
To achieve these goals, according to another aspect of the present invention, a kind of processor is additionally provided, for running journey Sequence, wherein, described program performs data transmission method of the present invention when running.
The present invention is by determining data to be sent;Data message is built based on data to be sent, wherein, data message In carry the physical address at intended recipient end and the identification information for identifying target process;Data message is sent to position In each network interface card in same LAN, the equipment room solved in same service cluster carries out data by ICP/IP protocol The problem of efficiency is low during transmission, and then improve the effect of data transmission efficiency.
Description of the drawings
The attached drawing for forming the part of the application is used for providing a further understanding of the present invention, schematic reality of the invention Example and its explanation are applied for explaining the present invention, is not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the typical ICP/IP protocol stack schematic diagram of correlation technique;
Fig. 2 is each layer protocol package schematic diagram in the ICP/IP protocol stack in correlation technique;And
Fig. 3 is the flow chart of data transmission method according to a first embodiment of the present invention;
Fig. 4 is the flow chart of data transmission method according to a second embodiment of the present invention;
Fig. 5 is the schematic diagram of link communication according to embodiments of the present invention;
Fig. 6 is the schematic diagram of agreement package according to embodiments of the present invention;
Fig. 7 is the schematic diagram of inner nuclear layer filter according to embodiments of the present invention;
Fig. 8 is the schematic diagram of the Echo server and client sides carried out data transmission according to embodiments of the present invention;
Fig. 9 is that tcpdump program dynamic generation filter binary systems are used under LINUX system according to embodiments of the present invention The interface schematic diagram of code;
Figure 10 is the interface schematic diagram of the read-write wrapper that c program is realized under LINUX system;
Figure 11 is the interface schematic diagram of c program multi-protocol encapsulator write operation under LINUX system;
Figure 12 is the schematic diagram of data transmission device according to a first embodiment of the present invention;
Figure 13 is the schematic diagram of data transmission device according to a second embodiment of the present invention.
Specific embodiment
It should be noted that in the case where there is no conflict, the feature in embodiment and embodiment in the application can phase Mutually combination.The present invention will be described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
In order to which those skilled in the art is made to more fully understand application scheme, below in conjunction in the embodiment of the present application The technical solution in the embodiment of the present application is clearly and completely described in attached drawing, it is clear that described embodiment is only The embodiment of the application part, instead of all the embodiments.Based on the embodiment in the application, ordinary skill people Member's all other embodiments obtained without making creative work should all belong to the model of the application protection It encloses.
It should be noted that term " first " in the description and claims of this application and above-mentioned attached drawing, " Two " etc. be the object for distinguishing similar, without being used to describe specific order or precedence.It should be appreciated that it so uses Data can exchange in the appropriate case, so as to embodiments herein described herein.In addition, term " comprising " and " tool Have " and their any deformation, it is intended that cover it is non-exclusive include, for example, containing series of steps or unit Process, method, system, product or equipment are not necessarily limited to those steps or unit clearly listed, but may include without clear It is listing to Chu or for the intrinsic other steps of these processes, method, product or equipment or unit.
For ease of description, below to the invention relates to several terms illustrate:
ICP/IP protocol:Transmission Control Protocol/Internet Protocol's writes a Chinese character in simplified form, in translate Entitled transmission control protocol/Internet Protocol also known as network communication protocol, be the most basic agreements of Internet, The basis of Internet Internet is made of the IP agreement of network layer and the agreements such as TCP, UDP of transport layer.
UDP UDP are the abbreviations of User Datagram Protocol, and Chinese name is User Datagram Protocol, is OSI A kind of connectionless transport layer protocol in (Open System Interconnection, open system interconnection) reference model, Simple unreliable information transmission service towards affairs is provided.
Internet suite of protocol:Internet suite of protocol (English:Internet Protocol Suite, abridge IPS) it is one Network communication models and a whole network transport protocol family are the Base communication framework of internet.Often it is commonly referred to as TCP/ IP agreement race (English:TCP/IP Protocol Suite or TCP/IP Protocols), abbreviation TCP/IP.TCP/IP is provided How data should be encapsulated, addressing, transmission, routing and how be received in destination, is all subject to by point-to-point linking mechanism Standardization.Software communication procedural abstraction is turned into four level of abstractions, the mode of protocol stack is taken, realizes out different communication respectively Agreement.
Data link layer:Data link layer is the second layer in OSI Reference Model, somewhere between physical layer and network layer it Between.Service is provided to network layer on the basis of the service that data link layer is provided in physical layer, most basic service is by source The data that machine network layer is come are reliably transmitted to the target machine network layer of adjacent node.
Socket:In an operating system, it will usually provide one group of application programming interfaces (API) for application program, referred to as cover Connect word interface (English:socket API).Application program can be by sockets interface, to use web socket, to carry out Data exchange.
Kernel spacing and user's space:In an operating system, virtual memory would generally be divided into user's space (English: User space, and it is translated into user space), with core space (English:Kernel space, and be translated into kernel spacing) this two A block.This is the ring in memory protection mechanism, and kernel, core expand (kernel extensions) and driving journey Sequence is operated on core space.And other application programs, then it operates on user's space.All user's spaces of operating in Application program is collectively referred to as user class (userland).
Ethernet:Ethernet (English:Ethernet) it is a kind of Computer LAN Technology.IEEE tissues The IEEE802.3 standard formulations technical standard of Ethernet, it defines line including physical layer, electronic signal and medium and visits Ask the content of layer protocol.Ethernet is at present using most common local area network technology, instead of other local area network standards such as token Ring, FDDI and ARCNET.
RTT:Communication delay (Round-trip delay time) back and forth, in communication, computer network field, it is intended that: In both sides communicate, the time of signal (Signal) propagation (Propagation) to the reception side of sender side (implies that:Propagation is prolonged (Propagation delay) late), in addition reception side returns message to the time of sender side (if not causing two-way propagation The factor of rate difference, this time are long as time of the sender side by signal propagation to reception side).
An embodiment of the present invention provides a kind of data transmission methods.
Fig. 3 is the flow chart of data transmission method according to a first embodiment of the present invention, as shown in figure 3, this method includes Following steps:
Step S102:Determine data to be sent;
Step S104:Data message is built based on data to be sent, wherein, intended recipient end is carried in data message Physical address and identification information for identifying target process;
Step S106:Data message is sent in each network interface card in same LAN.
The embodiment is by determining data to be sent;Data message is built based on data to be sent, wherein, datagram The physical address at intended recipient end and the identification information for identifying target process are carried in text;Data message is sent to In each network interface card in same LAN, solves equipment room in same service cluster by ICP/IP protocol into line number According to efficiency during transmission it is low the problem of, and then improve the effect of data transmission efficiency.
The embodiment of the present invention is performed by transmitting terminal, and in embodiments of the present invention, data are sent to data by transmitting terminal Receiving terminal, transmitting terminal determine data to be sent, wherein, data to be sent can be a certain end being located in same LAN The data generated on end, for example, certain game player message to be sent, data message, data are built based on data to be sent Message can be the data packet of encapsulation, and the physical address at necessary intended recipient end is carried and for identifying in data message The identification information of target process, target process can be the processes of destination application, and the physical address of receiving terminal can be MAC Address, the identification information of target process can be identified with Target id, and the form of data message redefines, and need not pass through again The additional package of transport layer, network layer, no longer in correlation technique IP headers, the overhead bytes such as TCP/UDP headers, The physical address at intended recipient end and the identification information for identifying target process, byte are added only on the basis of data Layer Shorter, expense is less, then will be packaged after data message be sent in each network interface card in same LAN, it is same Each network interface card in LAN is connected in same Ethernet, thus can be sent to by Ethernet positioned at same local In each network interface card in net, whether the receiving terminal for each receiving data message matches according to identification information judgment therein, It is transmitted data in the case of matching somebody with somebody by link layer socket in corresponding machine and process, to realize the transmission of data.By Data message in the embodiment of the present invention need not carry excessive redundancy bytes, you can the mesh being sent in same LAN End is marked, improves data transmission efficiency,
In embodiments of the present invention, data message refers to the message for containing ether header, intended recipient end physical address It is included in Ether frame header rather than in target process identification field, the effect of target process identification field is only used for marking Know target physical process.The physical address at intended recipient end occupies 8 bytes, included in Ether frame header, Kernel Filtering device It is to be filtered with the target physical address of Ether frame header to realize, the target process mark of the embodiment of the present invention does not include physically Location information only includes to identify the identification information of target process, accounts for 2 bytes.
Optionally, included based on data structure data message to be sent:Obtain the target process of data to be sent;Root Aiming field is determined according to target process, wherein, aiming field is used to identify target process;Increase on the head of data to be sent Aiming field obtains data message.Mark target process can be increased on the head of data to be sent when building data message Aiming field, aiming field determined based on target process, it is therefore desirable to be obtained target process first and is then based on target Process obtains aiming field, is added to the head of data, obtains data message, can so make the data message being built into accurate Be distributed in corresponding target process, prevent that transmitting-receiving is chaotic.
Optionally, before aiming field is determined according to target process, corresponding Target id is registered for target process;According to Target id determines aiming field.When determining aiming field, can aiming field be determined by the Target id that target process is registered, So can be to distinguish different target process for example, registering corresponding Target id for target process.
Optionally, data message includes Ether frame header, data length field, Target ID field, data word to be sent Section, ether tail, wherein, data length field is used for the length of the entire wrapper of mark data message.Data message Head is with Ether frame head, afterbody with ether tail, and also there are three field, Target ID field use for tool in data message In representing the data message Target id to be sent to, data length field is for identifying the length of data field to be sent , data length field refers to the length of valid data, not including Ether frame header and afterbody, not including Target ID field sum number According to the data length of length field, only include the length of data to be sent.
Optionally, for identifying byte quantity shared by the identification information of target process as 2 bytes, shared by data length field Byte quantity is 2 bytes.
It the physical address at intended recipient end and is all recorded in for identifying the identification information of target process in Target ID field, Target ID field can be two bytes, data length field or two bytes.
Fig. 4 is the flow chart of data transmission method according to a second embodiment of the present invention, as shown in figure 4, this method includes Following steps:
Step S202:Data message is received, wherein, the physical address and use at intended recipient end are carried in data message In the identification information of mark target process;
Step S204:Data message is parsed, obtains the physical address and use at intended recipient end carried in data message In the identification information of mark target process;
Step S206:Judge the target carried in the physical address of current inner filter and identification information and data message Whether the physical address of receiving terminal is consistent with for identifying the identification information of target process, obtains judging result;
Step S208:In the case where the judgment result is yes, data message is sent to target process.
The embodiment of the present invention is performed by receiving terminal end, and in embodiments of the present invention, receiving terminal receives transmitting terminal hair After the data message sent, data message is parsed, wherein the physical address and mesh at the intended recipient end carried Mark process, then receiving terminal judge whether the obtained information of parsing consistent with itself physical address and target process, consistent In the case of, data message is just sent to corresponding target process, in the case where judging result is no, data message is lost It abandons.
It should be noted that receiving terminal is the equipment being located at transmitting terminal in same LAN, transmitting terminal sends data packet Wen Hou, it is all to be located at the equipment in same LAN with transmitting terminal and all receive, including transmitting terminal itself, due to being taken in data message The identification information of physical address and target process with receiving terminal, receiving terminal just pass through data in the case of Data Matching Link layer socket is sent to corresponding process, and such technical solution can reduce the redundant data in data message, reduces Expense improves data transmission efficiency, is provided a convenient for the data interaction between the application that is in same LAN.
Optionally, data message includes Ether frame header, data length field, Target ID field, data word to be sent Section, ether tail, wherein, data length field is used for the length of mark data message.
The structure of data message is identical with the structure of data message in above-mentioned transmitting terminal, and details are not described herein again.
The technical solution of the embodiment of the present invention can be as a kind of high-efficiency network communication and data transmission based on Ethernet Method, it is lower to be capable of providing a kind of computing resource expense, transmission speed faster, the higher Ethernet data transmission side of efficiency of transmission Method.
Fig. 5 is the schematic diagram of link communication according to embodiments of the present invention.As shown in figure 5, directly it can construct and explain Data link layer ethernet data frame carries out the transmission of Ethernet data bag and routing by data link layer, leads between realization process Letter.Compared with TCP/IP is responsible for by operating system nucleus agreement package and the mode unpacked, the embodiment of the present invention application layer into Row package and unpacking can reduce kernel overhead.All data packets in network interface card is flowed through are monitored, extension link layer protocol offer can For the field of target process identification, the screening and distribution of data packet are realized by the IP filter for operating in kernel spacing.By It is directly received and dispatched in application layer data by link layer socket, reduces the expense that kernel is explained.
Fig. 6 is the schematic diagram of agreement package according to embodiments of the present invention.As shown in fig. 6, the embodiment of the present invention devises It is a kind of simpler than TCP/IP, the less transport protocol of bit number is occupied, compared with TCP/IP, efficiency of transmission improves 2%.
In embodiments of the present invention, it is necessary to define new transport protocol.In original transport protocol, due to linking road Layer protocol only provides the service to communicate between data link layer (such as network interface card to network interface card), header information only comprising sender and Recipient's physical address and protocol number etc., therefore application layer interprocess communication is realized, it is necessary to which the agreement of extension is supported from chain Layer is connect to the packet delivery of application layer.In embodiments of the present invention, the Target id that the agreement of extension passes through 2 byte of header Field, to identify the target process of this data packet, similar to the port numbers in TCP and UDP.Target process can be registered accordingly Target id, and pass through Kernel Filtering device and realize data distribution.Header length is 4 bytes, and efficiency of transmission is:Efficiency= (Max Payload Size)/(Max Ether Frame Size)=(1500-4)/(1538)=97.26%, compared to phase It is greatly improved in the technology of pass.
Fig. 7 is the schematic diagram of inner nuclear layer filter according to embodiments of the present invention.As shown in fig. 7, by pacifying for socket The customized ethernet frame filter of application layer is filled, realizes inner nuclear layer Packet Filtering, filter and the cooperation of above-mentioned transport protocol Realize efficient data distribution.
Kernel Filtering device plays an important role to promoting efficiency of transmission.Because the data packet header information only obtained from link layer The target process of None- identified data packet, to realize application layer data routing and distribution, it is necessary to further to packet content into Row is explained.If application layer program is all transferred to handle all link layer data bags, it is necessary to first copy data from kernel spacing To user's space, then by program is answered to explain the content of Extended Protocol in data packet, i.e., each process is required for processing net All data packets of card will so generate substantial amounts of system calling and data copy, and greatly reduce efficiency.
It is filtered in inner nuclear layer, the explanation of agreement can be extended in kernel spacing, for application program screening therewith Matched data packet avoids extra data copy and transmission, greatly reduce data copy between inner nuclear layer and client layer and The expense that reduction system is called.
Fig. 7 shows that the process X in machine A sends the process of data packet 1 using socket A to machine B processes Y.Process X It follows ether frame format (such as IEEE 802.3) and assembles data packet 1, and data length and target id are inserted to the agreement of 4 bytes In head, the data frame after assembling will be sent to by socket A in Ethernet.Data packet 1 is transmitted to same by physical link In each network interface card of chain road, after data packet is transmitted to kernel, only can just it be distributed by the successful data packet of filter matching To user's space, it can also be employed a layer program and be read from socket.Data packet 1 is received simultaneously by the network interface card of machine A and machine B And it is filtered respectively by filter A, B, C.Kernel can be socket A, C packet discard 1 because the item that it is specified with filter A, C Part mismatches, and data packet 1 can be distributed to socket B by kernel because the condition in all filter Bs is all satisfied.It is most laggard Journey Y will read process X from socket B and be transmitted to its data.It should be noted that in the case where network interface card is operated in promiscuous mode, Socket can receive data packet all in link, can also be received including the data that network interface card is sent in itself by itself, this is also Why data packet 1 can be sent in Kernel Filtering device 1, therefore, need to consider net in the design process of filter Block the situation it is possible that under being operated in promiscuous mode.
Fig. 8 is the schematic diagram of the Echo server and client sides carried out data transmission according to embodiments of the present invention, such as Fig. 8 Shown, client sends data packet by socket to server-side, and records delivery time timestamp ts, and server-side receives data Bao Hou by data back to client, after client receives the data packet of server-side passback, records current time stamp te, passes through Te and ts estimates data packet RTT:EstimatedRTT=te-ts.
Link layer socket is a kind of socket that can send and receive link layer data bag.Because most of operation system System can take over standard Protocol Data bag processing (namely the data packet of these standard agreements will not transfer to application program to handle) simultaneously The data packet of nonstandard protocol is abandoned, therefore in order to realize the transmission of link layer custom protocol, it is necessary to which creating one kind can receive The socket of all link layer data bags, the data packet that take over protocol number is gone not identified by kernel.C program is created under one LINUX Link connection layer socket can be:
Sock_fd=socket (AF_PACKET, SOCK_RAW, htons (ETH_P_ALL))
Parameter AF_PACKET expression to be created be handle data packet protocol family and non-Internet Protocol cluster (AF_ INET), what parameter SOCK_RAW represented that we to be created is that can read " uncorrected data ", that is, includes the set on data packet messages head Word is connect, parameter ETH_P_ALL represents that socket can receive all ethernet frame datas rather than the data of some specific protocol.
Inner nuclear layer filter is a kind of program that can carry out screening and filtering to data packet by specified rule in inner nuclear layer, interior Core filter may have different realization methods under different operating system, as BPF can be utilized under unix system, and Setsockopt interfaces and SO_ATTACH_FILTER options can be then used under LINUX system, by specified filter code It is applied to corresponding socket up.Under one LINUX system c program installation Kernel Filtering device for example under:
struck sock_fprog filter;
create_sock_filter_program(&filter);
setsockopt(sock_fd,SOL_SOCKET,SO_ATTACH_FILTER,&filter,sizeof (filter));
Filter code maker
Because each socket can receive all data packets, but actually each socket is only concerned Target id therewith Matched data packet, therefore to realize the filter that can be directed to the customization of each socket, it can be filtered by specified Target id. Filter program code can be write by developer, can also be generated using auxiliary program, and Fig. 9 is according to embodiments of the present invention LINUX system under use tcpdump program dynamic generation filter binary codes interface schematic diagram.
Multi-protocol encapsulator is actually the encapsulation to link layer socket read-write interface, its effect is using specified parameter (such as Target id) carries out agreement package and unpacking.Figure 10 is that the interface of the read-write wrapper that c program is realized under LINUX system shows It is intended to, due to there is Kernel Filtering device, application program only needs call operation system to read interface, only meets filter condition Data packet can just be read.
Figure 11 is the interface schematic diagram of c program multi-protocol encapsulator write operation under LINUX system, as shown in figure 11, is first had to Construct the frame head portion of 802.3 frame formats of IEEE, be the head of custom protocol immediately after, including application layer data length and Target id, is finally application layer data, and operating system API can be used to send for the data packet sealed.
By the technical solution of the embodiment of the present invention, using link layer socket, application layer data is directly sent out from link layer It send and receives, reduce the agreement layer number that application layer data packet reaches physical layer, reduce kernel processes expense;Utilize kernel mistake Filter is filtered and screens for link layer socket received data packet so that only meets the data packet just meeting of filtering rule By kernel processes and distribution, system processing expense is further reduced;By defining the agreement more simplified, reduce protocol massages head Minister's degree reduces the complexity that agreement is explained, can save overhead and network bandwidth, therefore can reach higher data Transmission speed.
Table 1 is the transmission data of the technical solution of the embodiment of the present invention and UDP efficiency of transmission data comparisons, why is selected UDP makees data comparison, is because compared with TCP, UDP and servicing property provided by the invention are closer, are not related to reliable number According to complicated algorithms such as transmission, flow controls, faster, therefore comparativity is stronger for efficiency of transmission.Test program is patrolled using ECHO programs Volume, for client by sending different size of data packet to server and estimating RTT, every group of test data sends 100,000 Data packet, RTT take its average value.
Table 1
In table 1, first row is transmission packet size;Unit is byte/data packet, and secondary series is to send data packet sum Amount, i.e., the number that every group of use-case is tested;3rd row are the average RTT using the present invention;4th row are the RTT using UDP; 5th lists comparison UDP, and the transmission of the embodiment of the present invention RTT that be averaged is promoted, and is lifted at 20%~40%.
From 1 data of table as can be seen that compared with UDP, the transmission speed of the embodiment of the present invention can improve 20%~40%, When transmitting 600 byte data below bag, average promoted reaches more than 30%.
The experimental situation of above-mentioned data is two physical machines similarly configured in same LAN, and every machine configuration is such as Under:
Operation system information:
3.16.0-4-amd64#1SMP Debian 3.16.7-ckt20-1+deb8u2(2016-01-02)x86_64 GNU/Linux
CPU information:
Network interface card:
Memory information:
It should be noted that step shown in the flowchart of the accompanying drawings can be in such as a group of computer-executable instructions It is performed in computer system, although also, show logical order in flow charts, it in some cases, can be with not The order being same as herein performs shown or described step.
An embodiment of the present invention provides a kind of data transmission device, which can be used for the number for performing the embodiment of the present invention According to transmission method.
Figure 12 is the schematic diagram of data transmission device according to a first embodiment of the present invention, as shown in figure 12, the device bag It includes:
First determination unit 10, for determining data to be sent;
Construction unit 20, for building data message based on data to be sent, wherein, target is carried in data message The physical address of receiving terminal and the identification information for identifying target process;
Transmitting element 30, for being sent to data message in each network interface card in same LAN.
Optionally, construction unit bag 20 includes:Acquisition module, for obtaining the target process of data to be sent;Determine mould Block, for determining aiming field according to target process, wherein, aiming field is used to identify target process;Adding unit, for The head of data to be sent increases aiming field, obtains data message.
Optionally, which further includes:Registering unit, for before aiming field is determined according to target process, being mesh Mark the corresponding Target id of process registers;Second determination unit, for determining aiming field according to Target id.
By the device, the equipment room solved in same service cluster carries out data transmission timeliness by ICP/IP protocol The problem of rate is low, and then improve the effect of data transmission efficiency.
The embodiment of the present invention additionally provides a kind of data transmission device, which can be used for performing the embodiment of the present invention Data transmission method.
Figure 13 is the schematic diagram of data transmission device according to a second embodiment of the present invention, as shown in figure 13, the device bag It includes:
Receiving unit 40, for receiving data message, wherein, the physical address at intended recipient end is carried in data message And the identification information for identifying target process;
Resolution unit 50 for parsing data message, obtains the physical address at intended recipient end carried in data message And the identification information for identifying target process;
Judging unit 60, for judging the physical address of current inner filter and identification information with being carried in data message Intended recipient end physical address it is whether consistent with for identifying the identification information of target process, obtain judging result;
Transmitting element 70, in the case where the judgment result is yes, data message being sent to target process.
By the device, the equipment room solved in same service cluster carries out data transmission timeliness by ICP/IP protocol The problem of rate is low, and then improve the effect of data transmission efficiency.
The data transmission device includes processor and memory, above-mentioned receiving unit, resolution unit, judging unit, hair Unit etc. is sent in memory, above procedure unit stored in memory to be performed by processor as program unit storage To realize corresponding function.
Comprising kernel in processor, gone in memory to transfer corresponding program unit by kernel.Kernel can set one Or more, improve data transmission efficiency by adjusting kernel parameter.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/ Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM), memory includes at least one deposit Store up chip.
An embodiment of the present invention provides a kind of storage mediums, are stored thereon with program, real when which is executed by processor The existing data transmission method.
An embodiment of the present invention provides a kind of processor, the processor is used for operation program, wherein, described program operation Data transmission method described in Shi Zhihang.
An embodiment of the present invention provides a kind of equipment, equipment includes processor, memory and storage on a memory and can The program run on a processor, processor realize following steps when performing program:Determine data to be sent;Based on to be sent Data structure data message, wherein, the physical address at intended recipient end is carried in data message and for identifying target The identification information of process;Data message is sent in each network interface card in same LAN.Equipment herein can be with It is server, PC, PAD, mobile phone etc..
It is first when being performed on data processing equipment, being adapted for carrying out present invention also provides a kind of computer program product The program of beginningization there are as below methods step:Determine data to be sent;Data message is built based on data to be sent, wherein, The physical address at intended recipient end and the identification information for identifying target process are carried in data message;By data message It is sent in each network interface card in same LAN.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system or computer program Product.Therefore, the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware can be used in the application Apply the form of example.Moreover, the computer for wherein including computer usable program code in one or more can be used in the application The computer program production that usable storage medium is implemented on (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The application is with reference to the flow according to the method for the embodiment of the present application, equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided The processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices is generated for real The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction generation being stored in the computer-readable memory includes referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to generate computer implemented processing, so as in computer or The instruction offer performed on other programmable devices is used to implement in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/ Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable Jie The example of matter.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer-readable instruction, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only memory (CD-ROM), Digital versatile disc (DVD) or other optical storages, magnetic tape cassette, the storage of tape magnetic rigid disk or other magnetic storage apparatus Or any other non-transmission medium, the information that can be accessed by a computing device available for storage.It defines, calculates according to herein Machine readable medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability Comprising so that process, method, commodity or equipment including a series of elements are not only including those elements, but also wrap Include other elements that are not explicitly listed or further include for this process, method, commodity or equipment it is intrinsic will Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including element Also there are other identical elements in process, method, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer program product. Therefore, complete hardware embodiment, complete software embodiment or the embodiment in terms of combining software and hardware can be used in the application Form.It is deposited moreover, the application can be used to can use in one or more computers for wherein including computer usable program code The shape for the computer program product that storage media is implemented on (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
It these are only embodiments herein, be not limited to the application.To those skilled in the art, The application can have various modifications and variations.All any modifications made within spirit herein and principle, equivalent substitution, Improve etc., it should be included within the scope of claims hereof.

Claims (14)

1. a kind of data transmission method, which is characterized in that including:
Determine data to be sent;
Data message is built based on the data to be sent, wherein, the object at intended recipient end is carried in the data message Manage address and the identification information for identifying target process;
The data message is sent in each network interface card in same LAN.
2. according to the method described in claim 1, it is characterized in that, build data message bag based on the data to be sent It includes:
Obtain the target process of the data to be sent;
Aiming field is determined according to the target process, wherein, the aiming field is used to identify the target process;
Increase the aiming field on the head of the data to be sent, obtain the data message.
3. according to the method described in claim 2, it is characterized in that, before aiming field is determined according to the target process, The method further includes:
Corresponding Target id is registered for the target process;
The aiming field is determined according to the Target id.
4. according to the method described in claim 3, it is characterized in that, the data message includes Ether frame header, data length Field, Target ID field, the data field to be sent, ether tail, wherein, the data length field is used to identify The length of the data message.
5. according to the method described in claim 4, it is characterized in that, described be used to identify word shared by the identification information of target process Joint number amount is 2 bytes, and byte quantity shared by the data length field is 2 bytes.
6. a kind of data transmission method, which is characterized in that including:
Data message is received, wherein, the physical address at intended recipient end is carried in the data message and for identifying mesh The identification information of mark process;
The data message is parsed, obtains the physical address at the intended recipient end carried in the data message and for identifying The identification information of target process;
Judge the intended recipient end carried in the physical address of current inner filter and identification information and the data message Whether physical address is consistent with for identifying the identification information of target process, obtains judging result;
In the case where the judging result is to be, the data message is sent to the target process.
7. according to the method described in claim 6, it is characterized in that, after the judging result is obtained, the method is also wrapped It includes:
In the case where the judging result is no, the data message is abandoned.
8. according to the method described in claim 6, it is characterized in that, the data message includes Ether frame header, data length Field, Target ID field, data field to be sent, ether tail, wherein, the data length field is described for identifying The length of data message.
9. a kind of data transmission device, which is characterized in that including:
First determination unit, for determining data to be sent;
Construction unit, for building data message based on the data to be sent, wherein, carry mesh in the data message The physical address of tag splice receiving end and the identification information for identifying target process;
Transmitting element, for being sent to the data message in each network interface card in same LAN.
10. device according to claim 9, which is characterized in that the construction unit includes:
Acquisition module, for obtaining the target process of the data to be sent;
Determining module, for determining aiming field according to the target process, wherein, the aiming field is used to identify the mesh Mark process;
Adding unit for increasing the aiming field on the head of the data to be sent, obtains the data message.
11. device according to claim 10, which is characterized in that described device further includes:
Registering unit, for before aiming field is determined according to the target process, being registered for the target process corresponding Target id;
Second determination unit, for determining the aiming field according to the Target id.
12. a kind of data transmission device, which is characterized in that including:
Receiving unit, for receiving data message, wherein, carried in the data message physical address at intended recipient end with And the identification information for identifying target process;
Resolution unit for parsing the data message, obtains the intended recipient end carried in the data message physically Location and the identification information for identifying target process;
Judging unit, for judging what is carried in the physical address of current inner filter and identification information and the data message Whether the physical address at intended recipient end is consistent with for identifying the identification information of target process, obtains judging result;
The data message in the case of being in the judging result, is sent to the target process by transmitting element.
13. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein, it is run in described program When control the storage medium where data transmission method in equipment perform claim requirement 1 to 5 or 6 to 8 described in any one.
14. a kind of processor, which is characterized in that the processor is used for operation program, wherein, right of execution when described program is run Profit requires the data transmission method described in any one in 1 to 5 or 6 to 8.
CN201711464345.2A 2017-12-28 2017-12-28 Data transmission method and device Active CN108111523B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711464345.2A CN108111523B (en) 2017-12-28 2017-12-28 Data transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711464345.2A CN108111523B (en) 2017-12-28 2017-12-28 Data transmission method and device

Publications (2)

Publication Number Publication Date
CN108111523A true CN108111523A (en) 2018-06-01
CN108111523B CN108111523B (en) 2021-02-19

Family

ID=62214356

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711464345.2A Active CN108111523B (en) 2017-12-28 2017-12-28 Data transmission method and device

Country Status (1)

Country Link
CN (1) CN108111523B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109491804A (en) * 2018-10-11 2019-03-19 视联动力信息技术股份有限公司 Method for message transmission and device
CN109802727A (en) * 2018-12-14 2019-05-24 上海威固信息技术股份有限公司 A method of it is pulled out for transmission medium blindmate between communication equipment
CN110035016A (en) * 2019-02-26 2019-07-19 北京钰安信息科技有限公司 A kind of data transmission method and device
CN111031027A (en) * 2019-12-09 2020-04-17 广州信天翁信息科技有限公司 Efficient data transmission method and heterogeneous data transmission layer
CN111796950A (en) * 2020-07-16 2020-10-20 网易(杭州)网络有限公司 Data processing method and system
CN112448966A (en) * 2019-08-28 2021-03-05 华东师范大学 Network chatting program based on TCP/IP
CN112511609A (en) * 2020-11-19 2021-03-16 航天银山电气有限公司 Data transmission method, device and storage medium
CN112511526A (en) * 2020-11-25 2021-03-16 深圳致星科技有限公司 Data transmission method, device and readable storage medium
CN112787896A (en) * 2019-11-11 2021-05-11 南京卓延信息科技有限公司 Access scheme based on digital home broadband
CN113364790A (en) * 2021-06-12 2021-09-07 四川虹美智能科技有限公司 Data transmission method and device
CN114158036A (en) * 2021-12-06 2022-03-08 成都飞鱼星科技股份有限公司 Method, device, system and medium for configuring and managing AP
WO2022089012A1 (en) * 2020-10-30 2022-05-05 华为技术有限公司 Communication method, electronic device and computer-readable storage medium
CN115190070A (en) * 2022-06-07 2022-10-14 阿里巴巴(中国)有限公司 Route detection method and device
CN115857420A (en) * 2023-03-03 2023-03-28 深圳市综科智控科技开发有限公司 IO (input/output) mutual control method between industrial control equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101163065A (en) * 2006-10-13 2008-04-16 中兴通讯股份有限公司 IP packet compression negotiating method in wireless LAN
CN103546368A (en) * 2013-11-08 2014-01-29 长沙钢为网络科技有限公司 Data transmission method, device, instant messaging method and system
CN104283916A (en) * 2013-07-05 2015-01-14 中国科学院声学研究所 Data message transmission method and device applied to HFC network
WO2015014316A1 (en) * 2013-08-02 2015-02-05 Hangzhou H3C Technologies Co., Ltd. Packet forwarding

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101163065A (en) * 2006-10-13 2008-04-16 中兴通讯股份有限公司 IP packet compression negotiating method in wireless LAN
CN104283916A (en) * 2013-07-05 2015-01-14 中国科学院声学研究所 Data message transmission method and device applied to HFC network
WO2015014316A1 (en) * 2013-08-02 2015-02-05 Hangzhou H3C Technologies Co., Ltd. Packet forwarding
CN103546368A (en) * 2013-11-08 2014-01-29 长沙钢为网络科技有限公司 Data transmission method, device, instant messaging method and system

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109491804A (en) * 2018-10-11 2019-03-19 视联动力信息技术股份有限公司 Method for message transmission and device
CN109802727A (en) * 2018-12-14 2019-05-24 上海威固信息技术股份有限公司 A method of it is pulled out for transmission medium blindmate between communication equipment
CN109802727B (en) * 2018-12-14 2021-09-17 上海威固信息技术股份有限公司 Method for blind plugging of transmission medium between communication devices
CN110035016A (en) * 2019-02-26 2019-07-19 北京钰安信息科技有限公司 A kind of data transmission method and device
CN112448966A (en) * 2019-08-28 2021-03-05 华东师范大学 Network chatting program based on TCP/IP
CN112787896A (en) * 2019-11-11 2021-05-11 南京卓延信息科技有限公司 Access scheme based on digital home broadband
CN111031027A (en) * 2019-12-09 2020-04-17 广州信天翁信息科技有限公司 Efficient data transmission method and heterogeneous data transmission layer
CN111796950B (en) * 2020-07-16 2023-06-30 网易(杭州)网络有限公司 Data processing method and system
CN111796950A (en) * 2020-07-16 2020-10-20 网易(杭州)网络有限公司 Data processing method and system
WO2022089012A1 (en) * 2020-10-30 2022-05-05 华为技术有限公司 Communication method, electronic device and computer-readable storage medium
CN114531378B (en) * 2020-10-30 2024-04-12 华为技术有限公司 Communication method, electronic device, and computer-readable storage medium
CN114531378A (en) * 2020-10-30 2022-05-24 华为技术有限公司 Communication method, electronic device, and computer-readable storage medium
CN112511609B (en) * 2020-11-19 2023-04-07 航天银山电气有限公司 Data transmission method, device and storage medium
CN112511609A (en) * 2020-11-19 2021-03-16 航天银山电气有限公司 Data transmission method, device and storage medium
CN112511526A (en) * 2020-11-25 2021-03-16 深圳致星科技有限公司 Data transmission method, device and readable storage medium
CN113364790B (en) * 2021-06-12 2022-10-18 四川虹美智能科技有限公司 Data transmission method and device
CN113364790A (en) * 2021-06-12 2021-09-07 四川虹美智能科技有限公司 Data transmission method and device
CN114158036A (en) * 2021-12-06 2022-03-08 成都飞鱼星科技股份有限公司 Method, device, system and medium for configuring and managing AP
CN114158036B (en) * 2021-12-06 2024-01-23 成都飞鱼星科技股份有限公司 Method, equipment, system and medium for configuration management of AP
CN115190070A (en) * 2022-06-07 2022-10-14 阿里巴巴(中国)有限公司 Route detection method and device
CN115857420A (en) * 2023-03-03 2023-03-28 深圳市综科智控科技开发有限公司 IO (input/output) mutual control method between industrial control equipment

Also Published As

Publication number Publication date
CN108111523B (en) 2021-02-19

Similar Documents

Publication Publication Date Title
CN108111523A (en) Data transmission method and device
EP3958521A1 (en) Method and apparatus for providing service for service flow
Rosen Linux kernel networking: Implementation and theory
CN101427526B (en) Method and system for automatically interconnecting ipv4 networks across an ipv6 network
CN109218261B (en) Data processing method and data processing device
CN114189905A (en) Message processing method and related equipment
WO2022022229A1 (en) Method and device for processing message
EP1770906B1 (en) A method for realizing terminals management in the network device
EP2099169A1 (en) A method, equipment and system for transmitting data
CN101816168A (en) Vrrp and learning bridge cpe
US8724630B2 (en) Method and system for implementing network intercommunication
CN109196842B (en) Session keeping method, device and storage medium
CN112583745A (en) Method, equipment and system for forwarding message in SR network
WO2021088813A1 (en) Packet encapsulating method and apparatus, and packet decapsulating method and apparatus
CN107370654B (en) Pseudo wire data message encapsulation and decapsulation methods and related devices
CN101902482A (en) Method and system for realizing terminal security admission control based on IPv6 (Internet Protocol Version 6) automatic configuration
CN107231269A (en) A kind of cluster accurate speed limit method and apparatus
CN103460676A (en) Flow routing protocol by querying a remote server
CN103095608A (en) Delegation forwarding method for domain name system (DNS) data package
CN113890680A (en) Transmission method applied to fiber channel avionics network DDS
CN108809549A (en) A kind of method and apparatus of transmission data
CN115277450B (en) Virtual-real combined heterogeneous communication network fusion system based on OPNET and application
CN102685014B (en) Method for measuring performance index of service flow and sending terminal equipment
CN116055586B (en) Fragment message matching method, router and storage medium
CN113596192B (en) Communication method, device, equipment and medium based on gatekeeper networking

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
GR01 Patent grant
GR01 Patent grant