CN106330776A - Message processing method and device - Google Patents

Message processing method and device Download PDF

Info

Publication number
CN106330776A
CN106330776A CN201510375763.9A CN201510375763A CN106330776A CN 106330776 A CN106330776 A CN 106330776A CN 201510375763 A CN201510375763 A CN 201510375763A CN 106330776 A CN106330776 A CN 106330776A
Authority
CN
China
Prior art keywords
message
transmitted
express passway
application program
relief area
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.)
Withdrawn
Application number
CN201510375763.9A
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201510375763.9A priority Critical patent/CN106330776A/en
Priority to PCT/CN2016/076793 priority patent/WO2017000593A1/en
Publication of CN106330776A publication Critical patent/CN106330776A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/72Admission control; Resource allocation using reservation actions during connection setup
    • H04L47/722Admission control; Resource allocation using reservation actions during connection setup at the destination endpoint, e.g. reservation of terminal resources or buffer space

Abstract

The invention provides a message processing method and device. The method comprises the steps of establishing a rapid channel buffer area between a user mode application and a network device drive; judging whether to-be-transmitted messages belong to a preset message type or not; and transmitting the to-be-transmitted messages between the user mode application and the network device drive through the rapid channel buffer area under the condition that the to-be-transmitted messages belong to the preset message type. Through application of the method and the device, the problem that message processing cannot be carried out through a socket interface and a network protocol stack, and the effect of carrying out the message processing rapidly is realized.

Description

Message processing method and device
Technical field
The present invention relates to the communications field, in particular to a kind of message processing method and device.
Background technology
Linux is as the operating system freely increased income, its powerful network throughput and stability, deeply by communication equipment The welcome of manufacturers, the most most network equipments are all based on (SuSE) Linux OS exploitation.
Transmission control protocol (TCP)/Internet Protocol (IP) system is the communication protocol standard of current internet, Obtaining complete realization in Linux network core, this system is divided into four levels: application layer, transport layer, Internet, Network medium layer.Linux network core achieves network interconnection function with reference to procotol system, including with lower part:
1. sockets interface, the interface of network inner top support application development, sockets interface is a series of marks Quasi-function.The protocol suite of socket support number of different types: UNIX territory protocol suite, TCP/IP protocol suite, the Internet Packet-switching (IPX) protocol suite, wherein TCP/IP protocol suite is most widely used;
2. transport layer and Internet, transport layer includes TCP and user datagram (UDP) protocol module of standard, and net Network layers includes the IP protocol module of standard;
3. data link layer, for needing the network of logical links, data link layer provides independent Logical Link Protocol mould Block, such as point-to-point protocol (PPP), SLIP (SLIP) etc..For Ethernet, this layer is simpler Single, main Ethernet protocol realizes being integrated in bottom trawl performance;
4. network device driver, due to the difference of physical characteristic, the different network equipments uses different device drives.
The present inventor finds in research process, and User space application program reads data message, needs first to open net Network equipment bound socket.Data message is through network device driver to kernel network protocol stack, and then arriving User space should By program, handling process is complicated, and kernel state also needs to through a memory copying to User space space simultaneously, and it is right to be not suitable for The occasion that performance requirement is high.
The problem that cannot quickly be carried out Message processing for correlation technique by sockets interface and network protocol stack, the most still Effective solution is not proposed.
Summary of the invention
The invention provides a kind of message processing method and device, at least solving in correlation technique by sockets interface and The problem that network protocol stack cannot quickly carry out Message processing.
According to an aspect of the invention, it is provided a kind of message processing method, including: at User space application program and net Express passway relief area is created between network device drives;Judge whether message to be transmitted belongs to default type of message;Judging In the case of belonging to described default type of message to described message to be transmitted, by described express passway relief area, user Described message to be transmitted is transmitted between state application program and network device driver.
Preferably, between User space application program and network device driver, create described express passway relief area to include: wound Build and register express passway character nodes;By described express passway character nodes, User space application program is adjusted by system With creating shared queue, obtain described express passway relief area;By described express passway character nodes, User space is applied Program arranges described default type of message.
Preferably, determining in the case of described message to be transmitted belongs to described default type of message, by described soon Speed channel buffer, before transmitting described message to be transmitted between User space application program and network device driver, described Method also includes: judge that described express passway relief area is the fullest;Wherein, described express passway relief area is being determined In the case of less than, by described express passway relief area, transmit between User space application program and network device driver Described message to be transmitted.
Preferably, determine described express passway relief area full in the case of, described method also includes: abandon described Message to be transmitted.
Preferably, determining in the case of described message to be transmitted is not belonging to described default type of message, described method is also Including: between User space application program and network device driver, transmit described message to be transmitted by network protocol stack.
Preferably, transmit described to be passed between User space application program and network device driver by described network protocol stack Defeated message includes: by described packet storage to be transmitted to described network protocol stack;Assisted from described network by sockets interface View stack reads described message to be transmitted.
According to another aspect of the present invention, additionally provide a kind of message process device, including: creation module, it is used for Express passway relief area is created between User space application program and network device driver;First judge module, treats for judgement Whether transmission message belongs to default type of message;First transport module, for belonging to institute determining described message to be transmitted In the case of stating default type of message, by described express passway relief area, drive with the network equipment at User space application program Described message to be transmitted is transmitted between Dong.
Preferably, described device also includes: the second judge module, is used for judging that described express passway relief area is the fullest; Wherein, determine described express passway relief area less than in the case of, by described express passway relief area, user Described message to be transmitted is transmitted between state application program and network device driver.
Preferably, described device also includes: discard module, for determining the feelings that described express passway relief area is the fullest Under condition, abandon described message to be transmitted.
Preferably, described device also includes: the second transport module, for being not belonging to institute determining described message to be transmitted In the case of stating default type of message, transmitted between User space application program and network device driver by network protocol stack Described message to be transmitted.
By the present invention, use and between User space application program and network device driver, create express passway relief area;Judge Whether message to be transmitted belongs to default type of message;Determining in the case of message to be transmitted belongs to default type of message, By express passway relief area, between User space application program and network device driver, transmit the mode of message to be transmitted, Solve the problem that cannot quickly be carried out Message processing by sockets interface and network protocol stack, and then reached quickly to enter The effect of row Message processing.
Accompanying drawing explanation
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, the present invention Schematic description and description be used for explaining the present invention, be not intended that inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of message processing method according to embodiments of the present invention;
Fig. 2 is the structured flowchart of message process device according to embodiments of the present invention;
Fig. 3 is the preferred structure block diagram one of message process device according to embodiments of the present invention;
Fig. 4 is the preferred structure block diagram two of message process device according to embodiments of the present invention;
Fig. 5 is the preferred structure block diagram three of message process device according to embodiments of the present invention;
Fig. 6 is the structured flowchart of rapid message processing means according to the preferred embodiment of the invention;
Fig. 7 is express passway initialization flowchart according to the preferred embodiment of the invention;
Fig. 8 is kernel and User space shared queue data interaction structured flowchart according to the preferred embodiment of the invention;
Fig. 9 is rapid message process flow figure according to the preferred embodiment of the invention.
Detailed description of the invention
Below with reference to accompanying drawing and describe the present invention in detail in conjunction with the embodiments.It should be noted that in the feelings do not conflicted Under condition, the embodiment in the application and the feature in embodiment can be mutually combined.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, " second " Etc. being for distinguishing similar object, without being used for describing specific order or precedence.
Providing a kind of message processing method in the present embodiment, Fig. 1 is message processing method according to embodiments of the present invention Flow chart, as it is shown in figure 1, this flow process comprises the steps:
Step S102, creates express passway relief area between User space application program and network device driver;
Step S104, it is judged that whether message to be transmitted belongs to default type of message;
Step S106, is being determined in the case of message to be transmitted belongs to default type of message, is being buffered by express passway District, transmits message to be transmitted between User space application program and network device driver.
By above-mentioned steps, according to the type of message of message to be transmitted, for belonging to the message to be transmitted of default type of message, By the express passway relief area created, message is transmitted so that the message to be transmitted belonging to default type of message need not Through network protocol stack and the complex process of sockets interface, the quick biography of preset kind message can be realized as required Defeated.Visible, use above-mentioned steps, solve and cannot quickly carry out Message processing by sockets interface and network protocol stack Problem, and then reached quickly to carry out the effect of Message processing.
Preferably, default type of message can be IP fragmentation and reassembly message.
Preferably, in step s 102, by creating and express passway character nodes can be registered;Pass through express passway Character nodes, User space application program calls establishment shared queue by system, obtains express passway relief area;By soon Speed passage character nodes, User space application program arranges default type of message, drives with the network equipment at User space application program Express passway relief area is created between Dong.
Preferably, express passway relief area can be buffer circle, and this buffer circle can be with Reusability fixed size Memory headroom, write and read the coordination needing the information that carries out with synchronization.
Preferably, the receiver function of data message can be mounted the readjustment letter of express passway Message processing by network device driver Number, judges to preset type of message by call back function;User space application program opens express passway device node, creates altogether Enjoy queue.User space application program arranges rapid message type to be processed, calls acquisition queue physically by system Location, is mapped to User space address space User space application program.
Preferably, determining in the case of message to be transmitted belongs to default type of message, before step S104, also May determine that express passway relief area is the fullest;Wherein, determine express passway relief area less than in the case of, logical Cross quick channel buffer, between User space application program and network device driver, transmit message to be transmitted.
Preferably, determine express passway relief area full in the case of, message to be transmitted can be abandoned.
Preferably, determine express passway relief area full in the case of, it is also possible to message to be transmitted is sent to network Protocol stack, is processed message by network protocol stack.
Preferably, it is not belonging to preset in the case of type of message determining message to be transmitted, then can pass through procotol Stack transmits message to be transmitted between User space application program and network device driver, such as, by network protocol stack with In the case of transmitting message to be transmitted between family state application program and network device driver: can will be sent out by network device driver The packet storage to be transmitted delivering to User space application program passes through the network equipment again to network protocol stack, User space application program The sockets interface driving binding reads message to be transmitted from network protocol stack;Accordingly, User space application program send Message to be transmitted to network device driver also passes through sockets interface and network protocol stack transmission.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive according to above-described embodiment Method can add the mode of required general hardware platform by software and realize, naturally it is also possible to by hardware, but a lot In the case of the former is more preferably embodiment.Based on such understanding, technical scheme is the most in other words to existing The part having technology to contribute can embody with the form of software product, and this computer software product is stored in one In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions with so that a station terminal equipment (can To be mobile phone, computer, server, or the network equipment etc.) perform the method described in each embodiment of the present invention.
Additionally providing a kind of message process device in the present embodiment, this device is used for realizing above-described embodiment and being preferable to carry out Mode, had carried out repeating no more of explanation.As used below, term " module " can realize predetermined function Software and/or the combination of hardware.Although the device described by following example preferably realizes with software, but hardware, Or the realization of the combination of software and hardware also may and be contemplated.
Fig. 2 is the structured flowchart of message process device according to embodiments of the present invention, as in figure 2 it is shown, this device includes; Creation module the 22, first judge module the 24, first transport module 26, wherein, creation module 22, at User space Express passway relief area is created between application program and network device driver;First judge module 24, coupled to creation module 22, it is used for judging whether message to be transmitted belongs to default type of message;First transport module 26, coupled to the first judgement mould Block 24, for determining in the case of message to be transmitted belongs to default type of message, by express passway relief area, Message to be transmitted is transmitted between User space application program and network device driver.
Preferably, above-mentioned creation module 22 is used for creating and register express passway character nodes;By express passway character Node, User space application program calls establishment shared queue by system, obtains express passway relief area;By the most logical Road character nodes, User space application program arranges default type of message.
Fig. 3 is the preferred structure block diagram one of message process device according to embodiments of the present invention, as it is shown on figure 3, this device Also include: the second judge module 32, coupled between the first judge module 24 and the first transport module 26, be used for judging Express passway relief area is the fullest;Wherein, determine express passway relief area less than in the case of, by quickly logical Relief area, road, transmits message to be transmitted between User space application program and network device driver.
Fig. 4 is the preferred structure block diagram two of message process device according to embodiments of the present invention, as shown in Figure 4, this device Also include: discard module 42, coupled to the second judge module 32, be used for abandoning message to be transmitted.
Fig. 5 is the preferred structure block diagram three of message process device according to embodiments of the present invention, as it is shown in figure 5, this device Also include: the second transport module 52, coupled to the first judge module 24, for being answered at User space by network protocol stack With transmitting message to be transmitted between program and network device driver.
Preferably, the second transport module 52 may be used for packet storage to be transmitted to network protocol stack;Pass through socket Interface reads message to be transmitted from network protocol stack.
It should be noted that above-mentioned modules can be by software or hardware realizes, for the latter, Ke Yitong Cross in the following manner to realize, but be not limited to this: above-mentioned module is respectively positioned in same processor;Or, above-mentioned module position respectively In multiple processors.
Embodiments of the invention additionally provide a kind of software, and this software is used for performing in above-described embodiment and preferred implementation The technical scheme described.
Embodiments of the invention additionally provide a kind of storage medium.In the present embodiment, above-mentioned storage medium can be set For storage for performing the program code of following steps:
S20, creates express passway relief area between User space application program and network device driver;
S40, it is judged that whether message to be transmitted belongs to default type of message;
S60, is determining in the case of message to be transmitted belongs to default type of message, by express passway relief area, Message to be transmitted is transmitted between User space application program and network device driver.
Alternatively, storage medium is also configured to storage for the program code performing following steps:
S22, creates and registers express passway character nodes;
S24, by express passway character nodes, User space application program calls establishment shared queue by system, obtains Express passway relief area;
S26, by express passway character nodes, User space application program arranges default type of message.
Alternatively, storage medium is also configured to storage for the program code performing following steps:
S62, it is judged that express passway relief area is the fullest.
Alternatively, storage medium is also configured to storage for the program code performing following steps:
S622, determine express passway relief area less than in the case of, abandon message to be transmitted.
Alternatively, storage medium is also configured to storage for the program code performing following steps:
S50, is not belonging to preset in the case of type of message, by network protocol stack user determining message to be transmitted Message to be transmitted is transmitted between state application program and network device driver.
Alternatively, storage medium is also configured to storage for the program code performing following steps:
S52, by packet storage to be transmitted to network protocol stack;
S54, reads message to be transmitted by sockets interface from network protocol stack.
Alternatively, in the present embodiment, above-mentioned storage medium can include but not limited to: USB flash disk, read only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), portable hard drive, The various medium that can store program code such as magnetic disc or CD.
In order to the description making the embodiment of the present invention is clearer, it is described below in conjunction with preferred embodiment and illustrates.
The preferred embodiment of the present invention provides a kind of rapid message processing method based on (SuSE) Linux OS, to solve Linux kernel protocol stack cannot efficiently process the problem of the high message of network interface card performance requirement, gives full play to Linux association simultaneously The function of view stack.
A kind of based on (SuSE) Linux OS the rapid message processing scheme that the preferred embodiment of the present invention provides, including as follows Module:
Network device driver module, for the detection of the network equipment, the reception of packet and transmission.
Linux network protocol stack, the standard module that Linux provides, process for network message.
Express passway module, for the establishment of shared queue (being equivalent to above-mentioned express passway relief area), express passway is noted Volume, the reception of message processes.
User space receiver module, is used for opening shared queue, and shared queue is mapped to User space space, and message Reception processes.
A kind of based on Linux rapid message processing method that the preferred embodiment of the present invention provides, comprises the steps:
Step one, network device driver is registration rapid message processing module when detection;
Step 2, network device driver, the call back function of data message receiver function mounting express passway Message processing;
Step 3, User space application program, open express passway device node, create shared queue, arrange pending Rapid message type (is equivalent to above-mentioned default type of message), is called the physical address obtaining queue by system, maps To User space address space;
Step 4, after initializing according to above-mentioned steps, the data message that network device driver module receives, can carry out Normal process, according to the type of message arranged, determines subsequent treatment mode;
Step 5, for rapid message, is directly stored in the shared queue of express passway module, and application program is by mapping The mode of shared drive, obtains data message;For there is no the message of coupling, all on deliver to Linux network protocol stack, Application program needs to read message by sockets interface.
Below in conjunction with the accompanying drawings the preferred embodiment of the present invention is illustrated.
Processing, in order to solve Linux network protocol stack, the problem that high-speed message performance is low, the preferred embodiment of the present invention provides A kind of method of quick process message, can use Linux network protocol stack simultaneously for common message.
Fig. 6 is the structured flowchart of rapid message processing means according to the preferred embodiment of the invention, as shown in Figure 6, and this dress Put and include: the express passway module created in linux kernel state, coupled to application program and network device driver module it Between, for the process of high-speed message, application program rapid message, by the way of mapping shared drive, accesses express passway The message of module;Sockets interface, coupled to application program and Linux network protocol stack, passes through net for common message The mode of network socket accesses Linux network protocol stack;Linux network protocol stack, coupled to sockets interface and network Between device driver module, it is used for storing and process common message.
In the preferred embodiment of the present invention, needing rapid message to be processed can be IP fragmentation and reassembly message, and common message can be Other messages in addition to IP fragmentation and reassembly message, such as address resolution protocol (ARP) request message, Internet Protocol Edition 4 (IPv4) message.
In the preferred embodiment of the present invention, express passway module is used for providing establishment shared queue interface, obtains shared drive ground Location, message reception processes, the management of shared queue.
Fig. 7 is express passway initialization flowchart according to the preferred embodiment of the invention, as it is shown in fig. 7, this flow process includes Following steps:
Step S702, network device driver detects, drive load;
Step S704, creates express passway character device, registers device node, it is provided that system call interfaces, including wound Build shared queue, obtain mapping relations, rapid message type is set;
Step S706, the message reception of network device driver processes function, the receiver function of mounting express passway message;
Step S708, linux kernel starts, and loads express passway module;
Step S710, user program is called by system, creates express passway relief area, arranges the message of express passway Type (is equivalent to above-mentioned default type of message).
Preferably, above-mentioned shared queue is the circle queue of a first in first out, and Fig. 8 is according to the preferred embodiment of the present invention Kernel and User space shared queue data interaction structured flowchart, as shown in Figure 8, circle queue is made without dynamically Internal memory release and distribution, can be with the memory headroom of Reusability fixed size;Express passway module will report as writing module Literary composition inserts queue;Message is ejected queue as reading module by user program;Writing module and reading module need to carry out letter The coordination of breath and synchronization;For multithreading and the write of multi-process or read module, between writing module and read intermodule Need to carry out critical zone process.
In actual queue insertion and ejection operation, constantly intersect and carry out, when inserting (push) operation, team Row head (head) can increase;And when ejecting (pop) operation, rear of queue (tail) can increase.Push's is fireballing Time, tail can be caught up with, this time, explanation queue was the fullest, it is impossible to carry out operating of push again, needed to wait pop The space of queue is vacateed in operation.When the operation of pop is fast so that tail catch up with head, and this time, explanation queue was the most empty, Pop operation can not be carried out again, need to wait that push comes in data.
Fig. 9 is rapid message process flow figure according to the preferred embodiment of the invention, as it is shown in figure 9, this flow process bag Include following steps:
Step S902, network card equipment drives and obtains data message from hardware device;
Two layers of head of data message are analyzed by step S904, if the keyword of coupling express passway (i.e. judges Whether belong to default type of message), then perform step S906, enter express passway handling process, otherwise, forward step to S914, message enters Linux network protocol stack and processes;
Step S906, it is judged that the read-write pointer of the management node of queue.If circle queue is end to end, queue is the fullest, Then perform step S908, otherwise perform step S910;
Step S908, processes the message of queue full, directly loses message;
Step S910, by packet storage to circle queue;
Step S912, adjusts the write pointer of circle queue, performs the relief area of next free time;
Step S914, processes common message, and for high-performance not requirement, data message is sent to Linux procotol Stack processes.
In sum, by the above embodiment of the present invention and preferred embodiment, increase a kind of Message processing pattern newly, profit Use express passway relief area, can selectively walk around Linux network protocol stack, simplify the reception flow process of message, reduce The loss of central processing unit (Central Processing Unit, referred to as CPU) resource, makes receptivity be substantially improved, The requirement to performance of ten thousand mbit ethernets can be met, taken into account the power of network protocol stack simultaneously, make the common message can Directly to be processed by Linux network protocol stack.
Obviously, those skilled in the art should be understood that each module of the above-mentioned present invention or each step can be with general Calculating device to realize, they can concentrate on single calculating device, or be distributed in multiple calculating device and formed Network on, alternatively, they can realize, it is thus possible to by them with calculating the executable program code of device Storage is performed by calculating device in the storage device, and in some cases, can hold with the order being different from herein Step shown or described by row, or they are fabricated to respectively each integrated circuit modules, or by many in them Individual module or step are fabricated to single integrated circuit module and realize.So, the present invention is not restricted to any specific hardware Combine with software.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for the technology of this area For personnel, the present invention can have various modifications and variations.All within the spirit and principles in the present invention, that is made is any Amendment, equivalent, improvement etc., should be included within the scope of the present invention.

Claims (10)

1. a message processing method, it is characterised in that including:
Express passway relief area is created between User space application program and network device driver;
Judge whether message to be transmitted belongs to default type of message;
Determining in the case of described message to be transmitted belongs to described default type of message, by described express passway Relief area, transmits described message to be transmitted between User space application program and network device driver.
Method the most according to claim 1, it is characterised in that between User space application program and network device driver Create described express passway relief area to include:
Create and register express passway character nodes;
By described express passway character nodes, User space application program calls establishment shared queue by system, To described express passway relief area;
By described express passway character nodes, User space application program arranges described default type of message.
Method the most according to claim 1, it is characterised in that belong to described default determining described message to be transmitted In the case of type of message, by described express passway relief area, drive with the network equipment at User space application program Before transmitting described message to be transmitted between Dong, described method also includes:
Judge that described express passway relief area is the fullest;
Wherein, determine described express passway relief area less than in the case of, by described express passway relief area, Described message to be transmitted is transmitted between User space application program and network device driver.
Method the most according to claim 3, it is characterised in that determining the feelings that described express passway relief area is the fullest Under condition, described method also includes:
Abandon described message to be transmitted.
Method the most according to any one of claim 1 to 4, it is characterised in that determining described message to be transmitted In the case of being not belonging to described default type of message, described method also includes:
Between User space application program and network device driver, described message to be transmitted is transmitted by network protocol stack.
Method the most according to claim 5, it is characterised in that by described network protocol stack at User space application program And transmit described message to be transmitted between network device driver to include:
By described packet storage to be transmitted to described network protocol stack;
Described message to be transmitted is read from described network protocol stack by sockets interface.
7. a message process device, it is characterised in that including:
Creation module, for creating express passway relief area between User space application program and network device driver;
First judge module, is used for judging whether message to be transmitted belongs to default type of message;
First transport module, for determining in the case of described message to be transmitted belongs to described default type of message, By described express passway relief area, transmit described to be transmitted between User space application program and network device driver Message.
Device the most according to claim 7, it is characterised in that described device also includes:
Second judge module, is used for judging that described express passway relief area is the fullest;
Wherein, determine described express passway relief area less than in the case of, by described express passway relief area, Described message to be transmitted is transmitted between User space application program and network device driver.
Device the most according to claim 8, it is characterised in that described device also includes:
Discard module, for determine described express passway relief area full in the case of, abandon described to be transmitted Message.
10. according to the device according to any one of claim 7 to 9, it is characterised in that described device also includes:
Second transport module, for determining described message to be transmitted and be not belonging to the situation of described default type of message Under, between User space application program and network device driver, transmit described message to be transmitted by network protocol stack.
CN201510375763.9A 2015-06-30 2015-06-30 Message processing method and device Withdrawn CN106330776A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510375763.9A CN106330776A (en) 2015-06-30 2015-06-30 Message processing method and device
PCT/CN2016/076793 WO2017000593A1 (en) 2015-06-30 2016-03-18 Packet processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510375763.9A CN106330776A (en) 2015-06-30 2015-06-30 Message processing method and device

Publications (1)

Publication Number Publication Date
CN106330776A true CN106330776A (en) 2017-01-11

Family

ID=57607561

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510375763.9A Withdrawn CN106330776A (en) 2015-06-30 2015-06-30 Message processing method and device

Country Status (2)

Country Link
CN (1) CN106330776A (en)
WO (1) WO2017000593A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110098993A (en) * 2019-04-02 2019-08-06 视联动力信息技术股份有限公司 A kind for the treatment of method and apparatus of signaling message
CN110149262A (en) * 2019-04-02 2019-08-20 视联动力信息技术股份有限公司 A kind for the treatment of method and apparatus and storage medium of signaling message
CN110380990A (en) * 2019-06-03 2019-10-25 湖北微源卓越科技有限公司 A kind of method and device of network data packet
CN110417812A (en) * 2019-08-23 2019-11-05 北京无极芯动科技有限公司 5G protocol massages processor architecture and 5G protocol message processing method
CN114157684A (en) * 2020-08-18 2022-03-08 华为终端有限公司 Message processing method, device and storage medium
WO2023040412A1 (en) * 2021-09-18 2023-03-23 华为技术有限公司 Message processing method, network card and server
CN117097815A (en) * 2023-10-18 2023-11-21 苏州元脑智能科技有限公司 Message transmission method, system, electronic equipment and readable storage medium

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115334156A (en) * 2021-04-26 2022-11-11 深信服科技股份有限公司 Message processing method, device, equipment and storage medium
CN113726611A (en) * 2021-09-01 2021-11-30 深圳市大洲智创科技有限公司 Method for flow control based on protocol
CN114928597B (en) * 2022-05-20 2023-07-25 中国联合网络通信集团有限公司 Data transmission method, device and equipment
CN115037798B (en) * 2022-08-11 2022-12-27 成都金诺信高科技有限公司 Time system message data packet distribution method
CN116016295B (en) * 2022-12-14 2024-04-09 鹏城实验室 Ethernet performance monitoring method, system, industrial control equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1709540A2 (en) * 2003-12-30 2006-10-11 Intel Corporation Virtual to physical address translation
EP2044753A2 (en) * 2006-07-10 2009-04-08 Solarflare Communications Incorporated Network stacks
CN101841470A (en) * 2010-03-29 2010-09-22 东南大学 High-speed capturing method of bottom-layer data packet based on Linux
CN102638487A (en) * 2011-03-02 2012-08-15 中国科学院地质与地球物理研究所 High-performance data transmission method for large telemetric seismic instrument
CN104320373A (en) * 2014-07-04 2015-01-28 中国兵器工业信息中心 Protocol interworking device between application server and terminal and method for implementing the same

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103945456B (en) * 2014-05-12 2017-06-27 武汉邮电科学研究院 A kind of efficient UDP message of LTE base station user plane based on linux system sends optimization method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1709540A2 (en) * 2003-12-30 2006-10-11 Intel Corporation Virtual to physical address translation
EP2044753A2 (en) * 2006-07-10 2009-04-08 Solarflare Communications Incorporated Network stacks
CN101841470A (en) * 2010-03-29 2010-09-22 东南大学 High-speed capturing method of bottom-layer data packet based on Linux
CN102638487A (en) * 2011-03-02 2012-08-15 中国科学院地质与地球物理研究所 High-performance data transmission method for large telemetric seismic instrument
CN104320373A (en) * 2014-07-04 2015-01-28 中国兵器工业信息中心 Protocol interworking device between application server and terminal and method for implementing the same

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110098993A (en) * 2019-04-02 2019-08-06 视联动力信息技术股份有限公司 A kind for the treatment of method and apparatus of signaling message
CN110149262A (en) * 2019-04-02 2019-08-20 视联动力信息技术股份有限公司 A kind for the treatment of method and apparatus and storage medium of signaling message
CN110098993B (en) * 2019-04-02 2020-12-18 视联动力信息技术股份有限公司 Method and device for processing signaling message
CN110149262B (en) * 2019-04-02 2021-03-12 视联动力信息技术股份有限公司 Method and device for processing signaling message and storage medium
CN110380990A (en) * 2019-06-03 2019-10-25 湖北微源卓越科技有限公司 A kind of method and device of network data packet
CN110417812A (en) * 2019-08-23 2019-11-05 北京无极芯动科技有限公司 5G protocol massages processor architecture and 5G protocol message processing method
CN114157684A (en) * 2020-08-18 2022-03-08 华为终端有限公司 Message processing method, device and storage medium
CN114157684B (en) * 2020-08-18 2024-01-02 华为终端有限公司 Message processing method, device and storage medium
WO2023040412A1 (en) * 2021-09-18 2023-03-23 华为技术有限公司 Message processing method, network card and server
CN117097815A (en) * 2023-10-18 2023-11-21 苏州元脑智能科技有限公司 Message transmission method, system, electronic equipment and readable storage medium
CN117097815B (en) * 2023-10-18 2024-02-09 苏州元脑智能科技有限公司 Message transmission method, system, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
WO2017000593A1 (en) 2017-01-05

Similar Documents

Publication Publication Date Title
CN106330776A (en) Message processing method and device
US11249779B2 (en) Accelerator interconnect assignments for virtual environments
US7961733B2 (en) Method and apparatus for performing network processing functions
US20220070095A1 (en) Data transmission method and apparatus, network adapter, and storage medium
US8208470B2 (en) Connectionless packet data transport over a connection-based point-to-point link
US7924708B2 (en) Method and apparatus for flow control initialization
US8209457B2 (en) Systems and methods for efficient handling of data traffic and processing within a processing device
CN101019385B (en) Port aggregation across stack of devices
US7924868B1 (en) Internet protocol (IP) router residing in a processor chipset
US8094670B1 (en) Method and apparatus for performing network processing functions
US20030223416A1 (en) Apparatus and methods for dynamic reallocation of virtual lane buffer space in an infiniband switch
CN104580011B (en) A kind of data forwarding device and method
CN101911609B (en) System, device and method for realizing unified connector architecture
CN104579695A (en) Data forwarding device and method
US20080123641A1 (en) Image forming apparatus, and control method and interface apparatus thereof
US7188250B1 (en) Method and apparatus for performing network processing functions
US7580410B2 (en) Extensible protocol processing system
US8885673B2 (en) Interleaving data packets in a packet-based communication system
WO2019190859A1 (en) Efficient and reliable message channel between a host system and an integrated circuit acceleration system
CN111143276A (en) Heterogeneous computing system and computing method thereof
US20050021797A1 (en) Method and system to control the communication of data between a plurality of interconnect devices
US7134070B2 (en) Checksum determination
CN111865801B (en) Virtio port-based data transmission method and system
US7552216B2 (en) Method of sharing a printer
KR20170090206A (en) Method for transmitting and receiving protocol packet using packet processor based LINUX in distributed packet transport network

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20170111