CN104717191A - Message processing method and device - Google Patents

Message processing method and device Download PDF

Info

Publication number
CN104717191A
CN104717191A CN201310692409.XA CN201310692409A CN104717191A CN 104717191 A CN104717191 A CN 104717191A CN 201310692409 A CN201310692409 A CN 201310692409A CN 104717191 A CN104717191 A CN 104717191A
Authority
CN
China
Prior art keywords
message
delay sensitive
receiving equipment
delay
insensitive
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
CN201310692409.XA
Other languages
Chinese (zh)
Other versions
CN104717191B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310692409.XA priority Critical patent/CN104717191B/en
Publication of CN104717191A publication Critical patent/CN104717191A/en
Application granted granted Critical
Publication of CN104717191B publication Critical patent/CN104717191B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention provides a message processing method and device. The message processing method includes the steps that whether a message to be sent is a time delay sensitive message or a time delay non-sensitive message is confirmed; the message is sent to a receiving device, so that the receiving device interrupts the time delay sensitive message and conducts polling on the time delay non-sensitive message. By the adoption of the method and device, the requirement for time relay is met in the message processing process and the expense of a CPU is controlled.

Description

Message processing method and device
Technical field
The embodiment of the present invention relates to the communication technology, particularly relates to a kind of message processing method and device.
Background technology
Network system utilizes communication equipment and circuit by multiple node interconnect exactly, interconnected by node, realizes the communication between node, thus realizes sharing and the function such as collaborative work of information, software and the device resource between node.In the process communicated among the nodes, the message that transmit leg will be sent by procotol and the network equipment is sent to recipient, and recipient receives the message of the other side by the network equipment and procotol, wherein relates to the transmission of message and receives process.
In existing communication process, message mainly contains the following two kinds in the processing method of recipient: 1, interrupt processing: the message that triggered interrupts process receives after receiving each message; 2, poll process: whether timing inquiry has message to arrive, if had, then processes the message received.
Be directed to the first scheme interruption times too much, cause CPU overhead excessive; First scheme, the interval of poll is comparatively large, then the time delay of message must be caused larger; And the interval too small of poll, then poll thread may dally, and the expense of thread switching is simultaneously also larger.
Summary of the invention
The embodiment of the present invention provides a kind of message processing method and device, and too much to overcome in message interrupt processing interruption times, cause CPU overhead excessive, in poll process, the interval too small of poll causes poll thread dally, the problem that the expense of thread switching is simultaneously excessive.
A first aspect of the present invention provides a kind of message processing method, comprising:
Determine that message to be sent is delay sensitive message or the insensitive message of time delay;
Send described message to receiving equipment, to make described receiving equipment carry out interrupt processing to delay sensitive message, poll process is carried out to the insensitive message of time delay.
In the first possible implementation of first aspect, described send described message to receiving equipment before, also comprise:
If message to be sent is delay sensitive message, then in described message, carry delay sensitive mark;
Describedly send described message to receiving equipment, to make described receiving equipment carry out interrupt processing to delay sensitive message, poll process carried out to the insensitive message of time delay, comprising:
Send described message to receiving equipment, if to make described receiving equipment get delay sensitive mark from described message, then carry out interrupt processing to described message, if do not get delay sensitive mark, then poll process is carried out to described message.
In conjunction with the implementation of first aspect, in the implementation that the second of first aspect is possible, describedly send described message to receiving equipment, to make described receiving equipment, interrupt processing is carried out to delay sensitive message, poll process is carried out to the insensitive message of time delay, comprising:
If described message is delay sensitive message, then send described message to receiving equipment, and trigger the interruption of described receiving equipment to carry out interrupt processing to described message.
In conjunction with the implementation that the second of first aspect is possible, in the third possible implementation of first aspect, the described receiving equipment of described triggering interrupts to carry out interrupt processing to described message, comprising:
Send event message to described receiving equipment, described event message carries out interrupt processing in order to trigger described receiving equipment to described message.
In conjunction with first aspect to the third any one possible implementation of first aspect, in the 4th kind of possible implementation of first aspect, described determine that message to be sent is delay sensitive message or the insensitive message of time delay before, also comprise:
Receive message described to be sent and the delay sensitive notice of upper layer application transmission, whether described delay sensitive notice is used to indicate described message to be sent to delay sensitive;
Describedly determine that message to be sent is delay sensitive message or the insensitive message of time delay, comprising:
Notify according to described delay sensitive, determine that described message to be sent is delay sensitive message or the insensitive message of time delay.
A second aspect of the present invention provides a kind of message processing method, comprising:
Receive the message that transmitting apparatus sends;
Determine that described message is delay sensitive message or the insensitive message of time delay;
If described message is delay sensitive message, then interrupt processing is carried out to described message;
If described message is the insensitive message of time delay, then poll process is carried out to described message.
In the first possible implementation of second aspect, describedly determine that described message is delay sensitive message or the insensitive message of time delay, comprising:
If carry delay sensitive mark in described message, then determine that described message is delay sensitive message;
If do not carry delay sensitive mark in described message, then determine that described message is the insensitive message of time delay.
In conjunction with the implementation of second aspect, in the implementation that the second of second aspect is possible, describedly determine that described message is delay sensitive message or the insensitive message of time delay, comprising:
If triggered the interruption corresponding with described message by described transmitting apparatus after receiving described message, then determine that described message is delay sensitive message.
In conjunction with the implementation that the second of second aspect is possible, in the third possible implementation of second aspect, the described interruption corresponding with described message by described transmitting apparatus triggering, comprising:
Receive the event message that described transmitting apparatus sends after sending described message, described event message carries out interrupt processing in order to trigger described receiving equipment to described message.
A third aspect of the present invention provides a kind of message process device, comprising:
Determination module, for determining that message to be sent is delay sensitive message or the insensitive message of time delay;
Sending module, for sending described message to receiving equipment, to make described receiving equipment carry out interrupt processing to delay sensitive message, carries out poll process to the insensitive message of time delay.
In the first possible implementation of the third aspect, also comprise:
Carry module, before sending described message for sending module to receiving equipment, if message to be sent is delay sensitive message, then in described message, carry delay sensitive mark;
Described sending module, specifically for:
Send described message to receiving equipment, if to make described receiving equipment get delay sensitive mark from described message, then carry out interrupt processing to described message, if do not get delay sensitive mark, then poll process is carried out to described message.
In conjunction with the implementation of the third aspect, in the implementation that the second of the third aspect is possible, described sending module, specifically for:
If described message is delay sensitive message, then send described message to receiving equipment, and trigger the interruption of described receiving equipment to carry out interrupt processing to described message.
In conjunction with the implementation that the second of the third aspect is possible, in the third possible implementation of the third aspect, described sending module, specifically for:
Send event message to described receiving equipment, described event message carries out interrupt processing in order to trigger described receiving equipment to described message.
In conjunction with the third aspect to the third any one possible implementation of the third aspect, in the 4th kind of possible implementation of the third aspect, also comprise:
Receiver module, before determining that message to be sent is delay sensitive message or the insensitive message of time delay for described determination module, receive message described to be sent and the delay sensitive notice of upper layer application transmission, whether described delay sensitive notice is used to indicate described message to be sent to delay sensitive;
Described determination module, specifically for:
Notify according to described delay sensitive, determine that described message to be sent is delay sensitive message or the insensitive message of time delay.
A fourth aspect of the present invention provides a kind of message process device, comprising:
Receiver module, for receiving the message that transmitting apparatus sends;
Determination module, for determining that described message is delay sensitive message or the insensitive message of time delay;
Processing module, if be delay sensitive message for described message, then carries out interrupt processing to described message, if described message is the insensitive message of time delay, then carries out poll process to described message.
In the first possible implementation of fourth aspect, described determination module, specifically for:
If carry delay sensitive mark in described message, then determine that described message is delay sensitive message;
If do not carry delay sensitive mark in described message, then determine that described message is the insensitive message of time delay.
In conjunction with the first possible implementation of fourth aspect, in the implementation that the second of fourth aspect is possible, described determination module, specifically for:
If triggered the interruption corresponding with described message by described transmitting apparatus after receiving described message, then determine that described message is delay sensitive message.
In conjunction with the implementation that the second of fourth aspect is possible, in the third possible implementation of fourth aspect, described determination module, specifically for:
Receive the event message that described transmitting apparatus sends after sending described message.
Embodiment of the present invention message processing method and device, by message to be sent being defined as delay sensitive message and the insensitive message of time delay carries out interrupt processing to make receiving equipment to delay sensitive message, carry out poll process to the insensitive message of time delay.Message processing mode is corresponding with the sensitivity of message to time delay, solve in Message processing the problem that the CPU overhead adopting interrupt processing message to cause is excessive and employing poll process message polling thread dallies or expense is large.Achieve while meeting delay requirement, control the expense of CPU.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the flow chart of message processing method embodiment one of the present invention;
Fig. 2 is the flow chart of message processing method embodiment two of the present invention;
Fig. 3 is the structural representation of message process device embodiment one of the present invention;
Fig. 4 is the structural representation of message process device embodiment two of the present invention;
Fig. 5 is the structural representation of message process device embodiment three of the present invention.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Fig. 1 is the flow chart of message processing method embodiment one of the present invention, and as shown in Figure 1, the method for the present embodiment can comprise:
Step 101, determine that message to be sent is delay sensitive message or the insensitive message of time delay;
Specifically, being divided into by message field to be sent delay sensitive message when to prolong insensitive message will according to concrete application scenarios and system.For different systems and application scenarios, be different to the responsive criterion of time delay.Illustrate, in memory device, it is insensitive that the time delay that configuration management etc. operate can be considered as time delay in tens to hundreds of millisecond; Therefore, the message of time delay in described scope is defined as the insensitive message of time delay, and I/O etc. other end to end in operating system, to the requirement of time delay generally at several milliseconds, even lower than 1 millisecond, therefore, the message of time delay within the scope of this is defined as delay sensitive message.
Step 102, send described message to receiving equipment, to make described receiving equipment carry out interrupt processing to delay sensitive message, poll process is carried out to the insensitive message of time delay.
Alternatively, if message to be sent is delay sensitive message, then in described message, carry delay sensitive mark;
Describedly send described message to receiving equipment, to make described receiving equipment carry out interrupt processing to delay sensitive message, poll process carried out to the insensitive message of time delay, comprising:
Send described message to receiving equipment, if to make described receiving equipment get delay sensitive mark from described message, then carry out interrupt processing to described message, if do not get delay sensitive mark, then poll process is carried out to described message.
Specifically, message field to be sent is divided into delay sensitive message and the insensitive message of time delay, only carry delay sensitive mark in delay sensitive message wherein, after receiving this message, to determine that to make receiving equipment this message carries out interrupt processing for delay sensitive message to this message, the message not getting delay sensitive mark then adopts poll process.Described delay sensitive mark can be only increase a special field in the stem of message, and also can be only increase a special field in message tail, can also be add special field at the head and the tail of message simultaneously.It should be noted that, the present embodiment does not limit the delay sensitive mark specific implementation in message to be sent entrained by delay sensitive message.
Alternatively, describedly send described message to receiving equipment, to make described receiving equipment carry out interrupt processing to delay sensitive message, poll process carried out to the insensitive message of time delay, comprising:
If described message is delay sensitive message, then send described message to receiving equipment, and trigger the interruption of described receiving equipment to carry out interrupt processing to described message.
Further, the described receiving equipment of described triggering interrupts to carry out interrupt processing to described message, comprising:
Additional events message after described delay sensitive message, described event message interrupts carrying out interrupt processing to described message in order to trigger described receiving equipment.
Specifically, for message field to be sent being divided into delay sensitive message and the insensitive message of time delay, message itself is left intact, but is adopted by delay sensitive message wherein the mode of additional events message to carry out interrupt processing by the direct triggered interrupts of event message after being attached to this message to described message when receiving this delay sensitive message to make receiving equipment processor.Described additional events message is that (English: Message Signaled Interrupt is called for short: MSI), it should be noted that, the present embodiment does not limit the specific implementation to direct triggered interrupts the message signal interrupt mechanism adopted.Triggered interrupts can also be carried out to receiving equipment by modes such as other procotols or chip directly trigger.
Further, described determine that message to be sent is delay sensitive message or the insensitive message of time delay before, also comprise:
Receive message described to be sent and the delay sensitive notice of upper layer application transmission, whether described delay sensitive notice is used to indicate described message to be sent to delay sensitive;
Describedly determine that message to be sent is delay sensitive message or the insensitive message of time delay, comprising:
Notify according to described delay sensitive, determine that described message to be sent is delay sensitive message or the insensitive message of time delay.
Specifically, whether the message to be sent in the embodiment of the present invention informed in transmission delay sensitivity notice by upper layer application delay sensitive.Notify according to described delay sensitive, determine whether described message to be sent is delay sensitive message.
The present embodiment, by being divided into by message field to be sent delay sensitive message and the insensitive message of time delay to carry out interrupt processing to make receiving equipment to delay sensitive message, carries out poll process to the insensitive message of time delay.Solve in Message processing the problem that the CPU overhead adopting interrupt processing message to cause is excessive and employing poll process message polling thread dallies or expense is large.Achieve while meeting delay requirement, control the expense of CPU.
Fig. 2 is the flow chart of message processing method embodiment two of the present invention, and as shown in Figure 2, the method for the present embodiment can comprise:
The message that step 201, reception transmitting apparatus send;
Step 202, determine that described message is delay sensitive message or the insensitive message of time delay;
If the described message of step 203 is delay sensitive message, then interrupt processing is carried out to described message;
If the described message of step 204 is the insensitive message of time delay, then poll process is carried out to described message.
Alternatively, describedly determine that described message is delay sensitive message or the insensitive message of time delay, comprising:
If carry delay sensitive mark in described message, then determine that described message is delay sensitive message;
If do not carry delay sensitive mark in described message, then determine that described message is the insensitive message of time delay.
Specifically, receiving equipment gets delay sensitive mark from the message received, then determine that described message is delay sensitive message, is then defined as the insensitive message of time delay for the message not getting delay sensitive mark.Delay sensitive message is carried out interrupt processing, the process to be polled such as then of the insensitive message of time delay.Specifically, receiving equipment receives the message that transmitting apparatus sends, and is divided into delay sensitive message and the insensitive message of time delay for the described message field received.Wherein, interrupt processing is carried out for delay sensitive message; Poll process is carried out for the insensitive message of time delay.Receiving equipment is from receiving message the delay sensitive mark obtained entrained by described message, if receiving equipment gets delay sensitive mark, then determine that this message is delay sensitive message, if priority query supported by receiving equipment, then described message is added high-priority queue, described message is higher to the more responsive corresponding priority of time delay, simultaneously the direct triggered interrupts of receiving equipment carry out priority treatment to described message; If receiving equipment does not get delay sensitive mark in the message received, then determine that this message is the insensitive message of time delay, and poll process is carried out to this message.For the sequential processes of delay sensitive message according to priority adding high-priority queue, for etc. the corresponding common queue of the insensitive message of time delay of process to be polled then process according to message reception order.
Alternatively, describedly determine that described message is delay sensitive message or the insensitive message of time delay, comprising:
If triggered the interruption corresponding with described message by described transmitting apparatus after receiving described message, then determine that described message is delay sensitive message.
Further, the described interruption corresponding with described message by described transmitting apparatus triggering, comprising:
Receive the event message that described transmitting apparatus sends after sending described message.
Specifically, the event message that receiving equipment receives again after receiving transmitting apparatus and sending message, interrupt processing is carried out in the interruption that described message directly triggers receiving equipment, then determine that this message is delay sensitive message.Receiving equipment receives in message and is not then defined as the insensitive message of time delay by the message of the direct triggered interrupts of event message, waits process to be polled.
It should be noted that, in the embodiment of the present invention, receiving equipment carries out in the process processed at docking receiving literary composition, and interrupt processing and poll process all need first to close interruption, in order to avoid interrupt again being triggered, stops this processing procedure.Correspondingly after processing procedure terminates, interruption is opened.
The present embodiment, receiving equipment, by the message field received is divided into delay sensitive message and the insensitive message of time delay, carries out interrupt processing to delay sensitive message, carries out poll process to the insensitive message of time delay.Message processing mode is corresponding with the sensitivity of message to time delay, solve in Message processing the problem that the CPU overhead adopting interrupt processing message to cause is excessive and employing poll process message polling thread dallies or expense is large.Achieve while meeting delay requirement, control the expense of CPU.
Fig. 3 is the structural representation of message process device embodiment one of the present invention, and as shown in Figure 3, the device of the present embodiment can comprise:
Determination module 101, for determining that message to be sent is delay sensitive message or the insensitive message of time delay;
Sending module 102, for sending described message to receiving equipment, to make described receiving equipment carry out interrupt processing to delay sensitive message, poll process is carried out to the insensitive message of time delay.
Further, described sending module, specifically for:
If described message is delay sensitive message, then send described message to receiving equipment, and trigger the interruption of described receiving equipment to carry out interrupt processing to described message.
Further, described sending module, specifically for:
To the event message that described receiving equipment sends, described event message carries out interrupt processing according to described identification information to described message in order to trigger described receiving equipment.
The device of the present embodiment, may be used for the technical scheme performing embodiment of the method shown in Fig. 1, it realizes principle and technique effect is similar, repeats no more herein.
Fig. 4 is the structural representation of message process device embodiment two of the present invention, and as shown in Figure 4, the device of the present embodiment, on the basis of Fig. 3 shown device structure, further, can also comprise:
Before carrying module 103, sending described message for sending module to receiving equipment, if message to be sent is delay sensitive message, then in described message, carry delay sensitive mark;
Receiver module 105, to determine that for described determination module message to be sent is delay sensitive message or the insensitive message of time delay before, receive message described to be sent and the delay sensitive notice of upper layer application transmission, whether described delay sensitive notice is used to indicate described message to be sent to delay sensitive.
The device of the present embodiment, may be used for the technical scheme performing embodiment of the method shown in Fig. 1, it realizes principle and technique effect is similar, repeats no more herein.
Fig. 5 is the structural representation of message process device embodiment three of the present invention, and as shown in Figure 5, the device of the present embodiment can comprise:
Receiver module 201, for receive transmitting apparatus send message;
Determination module 202, for determining that described message is delay sensitive message or the insensitive message of time delay;
If processing module 203, be delay sensitive message for described message, then interrupt processing carried out to described message, if described message is the insensitive message of time delay, then poll process is carried out to described message.
Alternatively, described determination module, specifically for:
If carry delay sensitive mark in described message, then determine that described message is delay sensitive message;
If do not carry delay sensitive mark in described message, then determine that described message is the insensitive message of time delay.
Alternatively, described determination module, specifically for:
If triggered the interruption corresponding with described message by described transmitting apparatus after receiving described message, then determine that described message is delay sensitive message.
Further, described determination module, specifically for:
Receive the event message that described transmitting apparatus sends after sending described message.
The device of the present embodiment, may be used for the technical scheme performing embodiment of the method shown in Fig. 2, it realizes principle and technique effect is similar, repeats no more herein.
One of ordinary skill in the art will appreciate that: all or part of step realizing above-mentioned each embodiment of the method can have been come by the hardware that program command is relevant.Aforesaid program can be stored in a computer read/write memory medium.This program, when performing, performs the step comprising above-mentioned each embodiment of the method; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
Last it is noted that above each embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to foregoing embodiments to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein some or all of technical characteristic; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (18)

1. a message processing method, is characterized in that, comprising:
Determine that message to be sent is delay sensitive message or the insensitive message of time delay;
Send described message to receiving equipment, to make described receiving equipment carry out interrupt processing to delay sensitive message, poll process is carried out to the insensitive message of time delay.
2. method according to claim 1, is characterized in that, described send described message to receiving equipment before, also comprise:
If message to be sent is delay sensitive message, then in described message, carry delay sensitive mark;
Describedly send described message to receiving equipment, to make described receiving equipment carry out interrupt processing to delay sensitive message, poll process carried out to the insensitive message of time delay, comprising:
Send described message to receiving equipment, if to make described receiving equipment get delay sensitive mark from described message, then carry out interrupt processing to described message, if do not get delay sensitive mark, then poll process is carried out to described message.
3. method according to claim 1, is characterized in that, describedly sends described message to receiving equipment, to make described receiving equipment carry out interrupt processing to delay sensitive message, carries out poll process, comprising the insensitive message of time delay:
If described message is delay sensitive message, then send described message to receiving equipment, and trigger the interruption of described receiving equipment to carry out interrupt processing to described message.
4. method according to claim 3, is characterized in that, the described receiving equipment of described triggering interrupts to carry out interrupt processing to described message, comprising:
Send event message to described receiving equipment, described event message carries out interrupt processing in order to trigger described receiving equipment to described message.
5. the method according to any one of Claims 1 to 4, is characterized in that, described determine that message to be sent is delay sensitive message or the insensitive message of time delay before, also comprise:
Receive message described to be sent and the delay sensitive notice of upper layer application transmission, whether described delay sensitive notice is used to indicate described message to be sent to delay sensitive;
Describedly determine that message to be sent is delay sensitive message or the insensitive message of time delay, comprising:
Notify according to described delay sensitive, determine that described message to be sent is delay sensitive message or the insensitive message of time delay.
6. a message processing method, is characterized in that, comprising:
Receive the message that transmitting apparatus sends;
Determine that described message is delay sensitive message or the insensitive message of time delay;
If described message is delay sensitive message, then interrupt processing is carried out to described message;
If described message is the insensitive message of time delay, then poll process is carried out to described message.
7. method according to claim 6, is characterized in that, describedly determines that described message is delay sensitive message or the insensitive message of time delay, comprising:
If carry delay sensitive mark in described message, then determine that described message is delay sensitive message;
If do not carry delay sensitive mark in described message, then determine that described message is the insensitive message of time delay.
8. method according to claim 6, is characterized in that, describedly determines that described message is delay sensitive message or the insensitive message of time delay, comprising:
If triggered the interruption corresponding with described message by described transmitting apparatus after receiving described message, then determine that described message is delay sensitive message.
9. method according to claim 8, is characterized in that, the described interruption corresponding with described message by described transmitting apparatus triggering, comprising:
Receive the event message that described transmitting apparatus sends after sending described message, described event message carries out interrupt processing in order to trigger described receiving equipment to described message.
10. a device for Message processing, is characterized in that, comprising:
Determination module, for determining that message to be sent is delay sensitive message or the insensitive message of time delay;
Sending module, for sending described message to receiving equipment, to make described receiving equipment carry out interrupt processing to delay sensitive message, carries out poll process to the insensitive message of time delay.
11. devices according to claim 10, is characterized in that, also comprise:
Carry module, before sending described message for sending module to receiving equipment, if message to be sent is delay sensitive message, then in described message, carry delay sensitive mark;
Described sending module, specifically for:
Send described message to receiving equipment, if to make described receiving equipment get delay sensitive mark from described message, then carry out interrupt processing to described message, if do not get delay sensitive mark, then poll process is carried out to described message.
12. devices according to claim 10, is characterized in that, described sending module, specifically for:
If described message is delay sensitive message, then send described message to receiving equipment, and trigger the interruption of described receiving equipment to carry out interrupt processing to described message.
13. devices according to claim 12, is characterized in that, described sending module, specifically for:
Send event message to described receiving equipment, described event message carries out interrupt processing in order to trigger described receiving equipment to described message.
14. devices according to any one of claim 10-13, is characterized in that, also comprise:
Receiver module, before determining that message to be sent is delay sensitive message or the insensitive message of time delay for described determination module, receive message described to be sent and the delay sensitive notice of upper layer application transmission, whether described delay sensitive notice is used to indicate described message to be sent to delay sensitive;
Described determination module, specifically for:
Notify according to described delay sensitive, determine that described message to be sent is delay sensitive message or the insensitive message of time delay.
15. 1 kinds of message process devices, is characterized in that, comprising:
Receiver module, for receiving the message that transmitting apparatus sends;
Determination module, for determining that described message is delay sensitive message or the insensitive message of time delay;
Processing module, if be delay sensitive message for described message, then carries out interrupt processing to described message, if described message is the insensitive message of time delay, then carries out poll process to described message.
16. devices according to claim 15, is characterized in that, described determination module, specifically for:
If carry delay sensitive mark in described message, then determine that described message is delay sensitive message;
If do not carry delay sensitive mark in described message, then determine that described message is the insensitive message of time delay.
17. devices according to claim 16, is characterized in that, described determination module, specifically for:
If triggered the interruption corresponding with described message by described transmitting apparatus after receiving described message, then determine that described message is delay sensitive message.
18. devices according to claim 17, is characterized in that, described determination module, specifically for:
Receive the event message that described transmitting apparatus sends after sending described message.
CN201310692409.XA 2013-12-16 2013-12-16 Message processing method and device Active CN104717191B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310692409.XA CN104717191B (en) 2013-12-16 2013-12-16 Message processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310692409.XA CN104717191B (en) 2013-12-16 2013-12-16 Message processing method and device

Publications (2)

Publication Number Publication Date
CN104717191A true CN104717191A (en) 2015-06-17
CN104717191B CN104717191B (en) 2018-12-14

Family

ID=53416161

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310692409.XA Active CN104717191B (en) 2013-12-16 2013-12-16 Message processing method and device

Country Status (1)

Country Link
CN (1) CN104717191B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0946003A2 (en) * 1998-03-25 1999-09-29 Alstom UK Limited Method for determining propagation delays and method for detecting processor-clock drift in a communications system
CN101175033A (en) * 2007-11-27 2008-05-07 中兴通讯股份有限公司 Message order-preserving method and device thereof
CN101594308A (en) * 2009-07-03 2009-12-02 华为技术有限公司 Message transmitting method and system
CN101815034A (en) * 2010-03-26 2010-08-25 迈普通信技术股份有限公司 Intertask message sending method and communication apparatus
CN101841476A (en) * 2010-04-22 2010-09-22 北京星网锐捷网络技术有限公司 Message processing method, device and network equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0946003A2 (en) * 1998-03-25 1999-09-29 Alstom UK Limited Method for determining propagation delays and method for detecting processor-clock drift in a communications system
CN101175033A (en) * 2007-11-27 2008-05-07 中兴通讯股份有限公司 Message order-preserving method and device thereof
CN101594308A (en) * 2009-07-03 2009-12-02 华为技术有限公司 Message transmitting method and system
CN101815034A (en) * 2010-03-26 2010-08-25 迈普通信技术股份有限公司 Intertask message sending method and communication apparatus
CN101841476A (en) * 2010-04-22 2010-09-22 北京星网锐捷网络技术有限公司 Message processing method, device and network equipment

Also Published As

Publication number Publication date
CN104717191B (en) 2018-12-14

Similar Documents

Publication Publication Date Title
US10530704B2 (en) Dynamic virtualized resource allocation
US20040024934A1 (en) System and method for indicating the status of a communications link and traffic activity on non-protocol aware modules
WO2003069850A1 (en) Data communication system, data communication management device and method, and computer program
CN101651556A (en) System and method for monitoring server
CN106301840B (en) Method and device for sending Bidirectional Forwarding Detection (BFD) message
WO2021217540A1 (en) Detection method, device, and system for communication link, and mobile platform
EP3562259A1 (en) Context release method, device and system
CN104717191A (en) Message processing method and device
KR20150104435A (en) Method of performing transition of operation mode for a routing processor
CN108616591B (en) Interface device and method for data exchange
US7512776B2 (en) Optimized control plane signalling for a high availability network device in a communications network
EP3276489B1 (en) Parallel processing system
CN108600044B (en) Interface state acquisition method, device and equipment
KR102113641B1 (en) Packet scheduling method by using mixed-criticality mode in software-defined network system, computer program therefor, and switch apparatus therefor
CN112367280B (en) RCPU agent board health detection method and RCPU agent board
CN110601972A (en) Message transmission method and device and intelligent elastic architecture system
JP2010049314A (en) Task scheduling device and task scheduling method
CN114070799A (en) Processing method and processing device of priority pause frame and target network equipment
CN111556043A (en) Message processing method, device, system, equipment and readable storage medium
CN115525935B (en) Concurrent data operation method, device and equipment for multiple security chips and storage medium
CN101252545B (en) Apparatus and method for processing stream control information
CN117112284B (en) DCS controller trusted state sensing method and related device
EP3116277A1 (en) Communication apparatus, congestion control method, and storage medium
CN117692273A (en) CAN frame sending method, device and system
CN117992186A (en) Interrupt processing method, device, equipment, storage medium and vehicle

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant