[go: up one dir, main page]

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
packet
sending
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

本发明实施例提供一种报文处理方法和装置。本发明报文处理方法,包括:确定待发送的报文是时延敏感报文还是时延不敏感报文;向接收设备发送所述报文,以使所述接收设备对时延敏感报文进行中断处理,对时延不敏感报文进行轮询处理。本发明实施例在报文处理过程中满足了对时延的要求,控制了CPU的开销。

Embodiments of the present invention provide a message processing method and device. The message processing method of the present invention includes: determining whether the message to be sent is a delay-sensitive message or a time-delay-insensitive message; sending the message to a receiving device, so that the receiving device is sensitive to the delay message Perform interrupt processing and poll processing for delay-insensitive packets. The embodiment of the present invention satisfies the requirement on time delay in the message processing process, and controls the overhead of the CPU.

Description

报文处理方法和装置Message processing method and device

技术领域technical field

本发明实施例涉及通信技术,尤其涉及一种报文处理方法和装置。Embodiments of the present invention relate to communication technologies, and in particular to a message processing method and device.

背景技术Background technique

网络系统就是利用通信设备和线路将多个节点互联起来,通过节点的互联,实现节点之间的通信,从而实现节点之间的信息、软件和设备资源的共享以及协同工作等功能。在节点之间通信的过程中,发送方通过网络协议和网络设备将要发送的报文传送到接收方,接收方通过网络设备和网络协议来接收对方的报文,其中涉及到报文的发送和接收处理。The network system is to use communication equipment and lines to interconnect multiple nodes. Through the interconnection of nodes, the communication between nodes is realized, so as to realize the sharing of information, software and equipment resources between nodes, and collaborative work. In the process of communication between nodes, the sender transmits the message to be sent to the receiver through the network protocol and network equipment, and the receiver receives the message from the other party through the network device and network protocol, which involves the sending of the message and Receive processing.

现有的通信过程中,报文在接收方的处理方法主要有如下两种:1、中断处理:在收到每个报文后触发中断处理收到的报文;2、轮询处理:定时查询是否有报文到达,如果有,则处理收到的报文。In the existing communication process, there are two main methods for processing messages at the receiving end: 1. Interrupt processing: after receiving each message, an interrupt is triggered to process the received message; 2. Polling processing: timing Query whether there is a message arriving, and if so, process the received message.

针对于第一种方案中断次数过多,导致CPU开销过大;第二种方案,轮询的间隔较大,则必然导致报文的时延较大;而轮询的间隔过小,则轮询线程可能空转,同时线程切换的开销也比较大。For the first solution, the number of interrupts is too many, resulting in excessive CPU overhead; in the second solution, if the polling interval is large, it will inevitably lead to a large message delay; if the polling interval is too small, the polling interval will be large. The query thread may idle, and the overhead of thread switching is relatively large.

发明内容Contents of the invention

本发明实施例提供一种报文处理方法和装置,以克服报文中断处理中中断次数过多,导致CPU开销过大,轮询处理中轮询的间隔过小导致轮询线程空转,同时线程切换的开销过大的问题。Embodiments of the present invention provide a message processing method and device to overcome the excessive CPU overhead caused by too many interrupts in message interrupt processing, and the polling thread idling due to too small polling intervals in polling processing. The problem of excessive switching overhead.

本发明的第一方面提供了一种报文处理方法,包括:A first aspect of the present invention provides a message processing method, including:

确定待发送的报文是时延敏感报文还是时延不敏感报文;Determine whether the message to be sent is a delay sensitive message or a delay insensitive message;

向接收设备发送所述报文,以使所述接收设备对时延敏感报文进行中断处理,对时延不敏感报文进行轮询处理。Sending the message to the receiving device, so that the receiving device interrupts the delay-sensitive message and polls the delay-insensitive message.

在第一方面的第一种可能的实现方式中,所述向接收设备发送所述报文之前,还包括:In a first possible implementation manner of the first aspect, before sending the message to the receiving device, the method further includes:

若待发送的报文为时延敏感报文,则在所述报文中携带时延敏感标识;If the message to be sent is a delay-sensitive message, carrying a delay-sensitive identifier in the message;

所述向接收设备发送所述报文,以使所述接收设备对时延敏感报文进行中断处理,对时延不敏感报文进行轮询处理,包括:The sending the message to the receiving device, so that the receiving device interrupts the delay-sensitive message and polls the delay-insensitive message, includes:

向接收设备发送所述报文,以使所述接收设备若从所述报文中获取到时延敏感标识,则对所述报文进行中断处理,若未获取到时延敏感标识,则对所述报文进行轮询处理。Sending the message to the receiving device, so that if the receiving device obtains the delay-sensitive identifier from the message, then interrupt processing of the message; if the delay-sensitive identifier is not obtained, then The message is polled.

结合第一方面的实现方式,在第一方面的第二种可能的实现方式中,所述向接收设备发送所述报文,以使所述接收设备对时延敏感报文进行中断处理,对时延不敏感报文进行轮询处理,包括:With reference to the implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the sending the message to the receiving device, so that the receiving device performs interrupt processing on the delay-sensitive message, and the Delay-insensitive packets are polled, including:

若所述报文为时延敏感报文,则向接收设备发送所述报文,并触发所述接收设备中断以对所述报文进行中断处理。If the message is a delay-sensitive message, sending the message to the receiving device, and triggering an interruption of the receiving device to perform interrupt processing on the message.

结合第一方面的第二种可能的实现方式,在第一方面的第三种可能的实现方式中,所述触发所述接收设备中断以对所述报文进行中断处理,包括:With reference to the second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, triggering an interruption of the receiving device to perform interruption processing on the message includes:

向所述接收设备发送事件报文,所述事件报文用以触发所述接收设备对所述报文进行中断处理。Sending an event message to the receiving device, where the event message is used to trigger the receiving device to interrupt processing of the message.

结合第一方面至第一方面的第三种任一种可能的实现方式,在第一方面的第四种可能的实现方式中,所述确定待发送的报文是时延敏感报文还是时延不敏感报文之前,还包括:With reference to any one of the possible implementations from the first aspect to the third aspect of the first aspect, in the fourth possible implementation of the first aspect, the determining whether the message to be sent is a delay-sensitive message or a time-sensitive Before delaying insensitive packets, it also includes:

接收上层应用发送的所述待发送的报文以及时延敏感通知,所述时延敏感通知用于指示所述待发送的报文是否对时延敏感;receiving the message to be sent and a delay-sensitive notification sent by an upper-layer application, where the delay-sensitive notification is used to indicate whether the message to be sent is delay-sensitive;

所述确定待发送的报文是时延敏感报文还是时延不敏感报文,包括:The determining whether the message to be sent is a delay sensitive message or a delay insensitive message includes:

根据所述时延敏感通知,确定所述待发送的报文是时延敏感报文还是时延不敏感报文。According to the delay-sensitive notification, determine whether the packet to be sent is a delay-sensitive packet or a delay-insensitive packet.

本发明的第二方面提供了一种报文处理方法,包括:A second aspect of the present invention provides a message processing method, including:

接收发送设备发送的报文;Receive the message sent by the sending device;

确定所述报文为时延敏感报文还是时延不敏感报文;determining whether the packet is a delay-sensitive packet or a delay-insensitive packet;

若所述报文为时延敏感报文,则对所述报文进行中断处理;If the message is a delay-sensitive message, interrupt processing is performed on the message;

若所述报文为时延不敏感报文,则对所述报文进行轮询处理。If the message is a delay-insensitive message, polling is performed on the message.

在第二方面的第一种可能的实现方式中,所述确定所述报文为时延敏感报文还是时延不敏感报文,包括:In a first possible implementation manner of the second aspect, the determining whether the packet is a delay-sensitive packet or a delay-insensitive packet includes:

若所述报文中携带时延敏感标识,则确定所述报文为时延敏感报文;If the packet carries a delay-sensitive identifier, determining that the packet is a delay-sensitive packet;

若所述报文中未携带时延敏感标识,则确定所述报文为时延不敏感报文。If the packet does not carry a delay-sensitive identifier, it is determined that the packet is a delay-insensitive packet.

结合第二方面的实现方式,在第二方面的第二种可能的实现方式中,所述确定所述报文为时延敏感报文还是时延不敏感报文,包括:In combination with the implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the determining whether the packet is a delay-sensitive packet or a delay-insensitive packet includes:

若在接收到所述报文后被所述发送设备触发与所述报文对应的中断,则确定所述报文为时延敏感报文。If the interrupt corresponding to the message is triggered by the sending device after receiving the message, it is determined that the message is a delay-sensitive message.

结合第二方面的第二种可能的实现方式,在第二方面的第三种可能的实现方式中,所述被所述发送设备触发与所述报文对应的中断,包括:With reference to the second possible implementation of the second aspect, in a third possible implementation of the second aspect, the interrupt corresponding to the message triggered by the sending device includes:

接收所述发送设备在发送所述报文之后发送的事件报文,所述事件报文用以触发所述接收设备对所述报文进行中断处理。receiving an event message sent by the sending device after sending the message, where the event message is used to trigger the receiving device to interrupt processing of the message.

本发明的第三方面提供了一种报文处理装置,包括:A third aspect of the present invention provides a message processing device, including:

确定模块,用于确定待发送的报文是时延敏感报文还是时延不敏感报文;A determining module, configured to determine whether the message to be sent is a delay-sensitive message or a delay-insensitive message;

发送模块,用于向接收设备发送所述报文,以使所述接收设备对时延敏感报文进行中断处理,对时延不敏感报文进行轮询处理。The sending module is configured to send the message to the receiving device, so that the receiving device interrupts the delay-sensitive message and polls the delay-insensitive message.

在第三方面的第一种可能的实现方式中,还包括:In the first possible implementation manner of the third aspect, it also includes:

携带模块,用于发送模块向接收设备发送所述报文之前,若待发送的报文为时延敏感报文,则在所述报文中携带时延敏感标识;A carrying module, configured to carry a delay-sensitive identifier in the message if the message to be sent is a delay-sensitive message before the sending module sends the message to the receiving device;

所述发送模块,具体用于:The sending module is specifically used for:

向接收设备发送所述报文,以使所述接收设备若从所述报文中获取到时延敏感标识,则对所述报文进行中断处理,若未获取到时延敏感标识,则对所述报文进行轮询处理。Sending the message to the receiving device, so that if the receiving device obtains the delay-sensitive identifier from the message, then interrupt processing of the message; if the delay-sensitive identifier is not obtained, then The message is polled.

结合第三方面的实现方式,在第三方面的第二种可能的实现方式中,所述发送模块,具体用于:In combination with the implementation of the third aspect, in a second possible implementation of the third aspect, the sending module is specifically configured to:

若所述报文为时延敏感报文,则向接收设备发送所述报文,并触发所述接收设备中断以对所述报文进行中断处理。If the message is a delay-sensitive message, sending the message to the receiving device, and triggering an interruption of the receiving device to perform interrupt processing on the message.

结合第三方面的第二种可能的实现方式,在第三方面的第三种可能的实现方式中,所述发送模块,具体用于:With reference to the second possible implementation of the third aspect, in a third possible implementation of the third aspect, the sending module is specifically configured to:

向所述接收设备发送事件报文,所述事件报文用以触发所述接收设备对所述报文进行中断处理。Sending an event message to the receiving device, where the event message is used to trigger the receiving device to interrupt processing of the message.

结合第三方面至第三方面的第三种任一种可能的实现方式,在第三方面的第四种可能的实现方式中,还包括:Combining the third aspect to any third possible implementation manner of the third aspect, in the fourth possible implementation manner of the third aspect, it also includes:

接收模块,用于所述确定模块确定待发送的报文是时延敏感报文还是时延不敏感报文之前,接收上层应用发送的所述待发送的报文以及时延敏感通知,所述时延敏感通知用于指示所述待发送的报文是否对时延敏感;The receiving module is used to receive the message to be sent and the delay sensitive notification sent by the upper layer application before the determining module determines whether the message to be sent is a delay-sensitive message or a delay-insensitive message, the The delay sensitive notification is used to indicate whether the message to be sent is sensitive to delay;

所述确定模块,具体用于:The determination module is specifically used for:

根据所述时延敏感通知,确定所述待发送的报文是时延敏感报文还是时延不敏感报文。According to the delay-sensitive notification, determine whether the packet to be sent is a delay-sensitive packet or a delay-insensitive packet.

本发明的第四方面提供了一种报文处理装置,包括:A fourth aspect of the present invention provides a message processing device, including:

接收模块,用于接收发送设备发送的报文;The receiving module is used to receive the message sent by the sending device;

确定模块,用于确定所述报文为时延敏感报文还是时延不敏感报文;A determining module, configured to determine whether the packet is a delay-sensitive packet or a delay-insensitive packet;

处理模块,用于若所述报文为时延敏感报文,则对所述报文进行中断处理,若所述报文为时延不敏感报文,则对所述报文进行轮询处理。A processing module, configured to perform interrupt processing on the message if the message is a delay-sensitive message, and perform polling processing on the message if the message is a delay-insensitive message .

在第四方面的第一种可能的实现方式中,所述确定模块,具体用于:In a first possible implementation manner of the fourth aspect, the determining module is specifically configured to:

若所述报文中携带时延敏感标识,则确定所述报文为时延敏感报文;If the packet carries a delay-sensitive identifier, determining that the packet is a delay-sensitive packet;

若所述报文中未携带时延敏感标识,则确定所述报文为时延不敏感报文。If the packet does not carry a delay-sensitive identifier, it is determined that the packet is a delay-insensitive packet.

结合第四方面的第一种可能的实现方式,在第四方面的第二种可能的实现方式中,所述确定模块,具体用于:With reference to the first possible implementation of the fourth aspect, in a second possible implementation of the fourth aspect, the determining module is specifically configured to:

若在接收到所述报文后被所述发送设备触发与所述报文对应的中断,则确定所述报文为时延敏感报文。If the interrupt corresponding to the message is triggered by the sending device after receiving the message, it is determined that the message is a delay-sensitive message.

结合第四方面的第二种可能的实现方式,在第四方面的第三种可能的实现方式中,所述确定模块,具体用于:With reference to the second possible implementation of the fourth aspect, in a third possible implementation of the fourth aspect, the determining module is specifically configured to:

接收所述发送设备在发送所述报文之后发送的事件报文。receiving an event message sent by the sending device after sending the message.

本发明实施例报文处理方法和装置,通过将待发送的报文确定为时延敏感报文和时延不敏感报文以使接收设备对时延敏感报文进行中断处理,对时延不敏感报文进行轮询处理。将报文处理方式与报文对时延的敏感程度相对应,解决了报文处理中采用中断处理报文所导致的CPU开销过大和采用轮询处理报文轮询线程空转或开销大的问题。实现了在满足时延要求的同时,控制了CPU的开销。The message processing method and device of the embodiment of the present invention determine the message to be sent as a delay-sensitive message and a delay-insensitive message so that the receiving device can interrupt the delay-sensitive message, and the delay is not affected. Sensitive packets are polled. The message processing method corresponds to the sensitivity of the message to delay, which solves the problem of excessive CPU overhead caused by interrupt processing messages in message processing and polling thread idling or high overhead caused by polling messages. . The CPU overhead is controlled while meeting the delay requirement.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description These are some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained according to these drawings without any creative effort.

图1为本发明报文处理方法实施例一的流程图;FIG. 1 is a flowchart of Embodiment 1 of the message processing method of the present invention;

图2为本发明报文处理方法实施例二的流程图;FIG. 2 is a flow chart of Embodiment 2 of the message processing method of the present invention;

图3为本发明报文处理装置实施例一的结构示意图;FIG. 3 is a schematic structural diagram of Embodiment 1 of the message processing device of the present invention;

图4为本发明报文处理装置实施例二的结构示意图;FIG. 4 is a schematic structural diagram of Embodiment 2 of the message processing device of the present invention;

图5为本发明报文处理装置实施例三的结构示意图。FIG. 5 is a schematic structural diagram of Embodiment 3 of a message processing device according to the present invention.

具体实施方式Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

图1为本发明报文处理方法实施例一的流程图,如图1所示,本实施例的方法可以包括:Fig. 1 is a flowchart of Embodiment 1 of the message processing method of the present invention. As shown in Fig. 1, the method of this embodiment may include:

步骤101、确定待发送的报文是时延敏感报文还是时延不敏感报文;Step 101, determine whether the message to be sent is a delay sensitive message or a delay insensitive message;

具体来说,将待发送的报文区分为时延敏感报文何时延不敏感报文要根据具体的应用场景和系统。对于不同的系统和应用场景,对时延的敏感判断标准是不同的。举例说明,在存储设备中,配置管理等操作的时延在几十至几百毫秒内可以视为时延不敏感;因此,将时延在所述范围内的报文确定为时延不敏感报文,而在I/O等其它端到端的操作系统中,对时延的要求一般在几毫秒,甚至低于1毫秒,因此,将时延在该范围内的报文确定为时延敏感报文。Specifically, distinguishing the packets to be sent into delay-sensitive packets and delay-insensitive packets depends on specific application scenarios and systems. For different systems and application scenarios, the criteria for judging sensitivity to delay are different. For example, in a storage device, the delay of operations such as configuration management can be regarded as delay-insensitive within tens to hundreds of milliseconds; therefore, the packets whose delay is within the range are determined as delay-insensitive In other end-to-end operating systems such as I/O, the delay requirement is generally a few milliseconds, or even lower than 1 millisecond. Therefore, the message with a delay within this range is determined to be delay-sensitive message.

步骤102、向接收设备发送所述报文,以使所述接收设备对时延敏感报文进行中断处理,对时延不敏感报文进行轮询处理。Step 102: Send the message to the receiving device, so that the receiving device performs interrupt processing on the delay-sensitive message and polls the delay-insensitive message.

可选地,若待发送的报文为时延敏感报文,则在所述报文中携带时延敏感标识;Optionally, if the message to be sent is a delay-sensitive message, carrying a delay-sensitive identifier in the message;

所述向接收设备发送所述报文,以使所述接收设备对时延敏感报文进行中断处理,对时延不敏感报文进行轮询处理,包括:The sending the message to the receiving device, so that the receiving device interrupts the delay-sensitive message and polls the delay-insensitive message, includes:

向接收设备发送所述报文,以使所述接收设备若从所述报文中获取到时延敏感标识,则对所述报文进行中断处理,若未获取到时延敏感标识,则对所述报文进行轮询处理。Sending the message to the receiving device, so that if the receiving device obtains the delay-sensitive identifier from the message, then interrupt processing of the message; if the delay-sensitive identifier is not obtained, then The message is polled.

具体来说,将待发送的报文区分为时延敏感报文和时延不敏感报文,只在其中的时延敏感报文中携带时延敏感标识,以使接收设备在接收到该报文后确定该报文为时延敏感报文并对该报文进行中断处理,未获取到时延敏感标识的报文则采用轮询处理。所述时延敏感标识可以是只在报文的首部增加一个特殊的字段,也可以是只在报文尾部增加一个特殊字段,还可以是在报文的首尾同时添加特殊的字段。需要说明的是,本实施例并不限定待发送报文中时延敏感报文所携带的时延敏感标识具体实现方式。Specifically, the messages to be sent are divided into delay-sensitive messages and delay-insensitive messages, and only delay-sensitive messages are carried in the delay-sensitive messages, so that the receiving device receives the message It is determined that the message is a delay-sensitive message and interrupt processing is performed on the message, and the message for which the delay-sensitive identification is not obtained is processed by polling. The time-delay-sensitive identifier may be a special field added only at the header of the message, or a special field only added at the end of the message, or a special field may be added at the beginning and the end of the message at the same time. It should be noted that this embodiment does not limit the specific implementation manner of the delay-sensitive identifier carried in the delay-sensitive message in the message to be sent.

可选地,所述向接收设备发送所述报文,以使所述接收设备对时延敏感报文进行中断处理,对时延不敏感报文进行轮询处理,包括:Optionally, the sending the message to the receiving device, so that the receiving device interrupts the delay-sensitive message and polls the delay-insensitive message, includes:

若所述报文为时延敏感报文,则向接收设备发送所述报文,并触发所述接收设备中断以对所述报文进行中断处理。If the message is a delay-sensitive message, sending the message to the receiving device, and triggering an interruption of the receiving device to perform interrupt processing on the message.

进一步地,所述触发所述接收设备中断以对所述报文进行中断处理,包括:Further, the triggering the receiving device to interrupt to perform interrupt processing on the message includes:

在所述时延敏感报文后附加事件报文,所述事件报文用以触发所述接收设备中断对所述报文进行中断处理。An event message is appended after the delay-sensitive message, and the event message is used to trigger the receiving device to interrupt processing of the message.

具体来说,对于将待发送的报文区分为时延敏感报文和时延不敏感报文,对于报文本身不做任何处理,而是将其中的时延敏感报文采用附加事件报文的方式以使接收设备处理器在接收该时延敏感报文时由附加在该报文后的事件报文直接触发中断对所述报文进行中断处理。所述附加事件报文是采用的消息信号中断机制(英文:Message Signaled Interrupt,简称:MSI),需要说明的是,本实施例并不限定对直接触发中断的具体实现。还可以通过其他网络协议或芯片直接触发等方式来对接收设备进行触发中断。Specifically, for distinguishing the packets to be sent into delay-sensitive packets and delay-insensitive packets, no processing is done on the packets themselves, but the delay-sensitive packets among them are used as additional event packets In such a way that when receiving the delay-sensitive message, the processor of the receiving device directly triggers an interrupt by an event message attached to the message to interrupt processing of the message. The additional event message is a Message Signaled Interrupt mechanism (English: Message Signaled Interrupt, MSI for short) adopted. It should be noted that this embodiment does not limit the specific implementation of directly triggering an interrupt. It is also possible to trigger and interrupt the receiving device through other network protocols or chip direct triggering.

进一步地,所述确定待发送的报文是时延敏感报文还是时延不敏感报文之前,还包括:Further, before determining whether the message to be sent is a delay-sensitive message or a delay-insensitive message, it also includes:

接收上层应用发送的所述待发送的报文以及时延敏感通知,所述时延敏感通知用于指示所述待发送的报文是否对时延敏感;receiving the message to be sent and a delay-sensitive notification sent by an upper-layer application, where the delay-sensitive notification is used to indicate whether the message to be sent is delay-sensitive;

所述确定待发送的报文是时延敏感报文还是时延不敏感报文,包括:The determining whether the message to be sent is a delay sensitive message or a delay insensitive message includes:

根据所述时延敏感通知,确定所述待发送的报文是时延敏感报文还是时延不敏感报文。According to the delay-sensitive notification, determine whether the packet to be sent is a delay-sensitive packet or a delay-insensitive packet.

具体来说,本发明实施例中的待发送的报文是否对时延敏感是由上层应用在发送时延敏感通知所告知的。根据所述时延敏感通知,来确定所述待发送的报文是否为时延敏感报文。Specifically, whether the message to be sent is delay-sensitive in the embodiment of the present invention is notified by the upper-layer application when sending the delay-sensitive notification. Determine whether the message to be sent is a delay-sensitive message according to the delay-sensitive notification.

本实施例,通过将待发送的报文区分为时延敏感报文和时延不敏感报文以使接收设备对时延敏感报文进行中断处理,对时延不敏感报文进行轮询处理。解决了报文处理中采用中断处理报文所导致的CPU开销过大和采用轮询处理报文轮询线程空转或开销大的问题。实现了在满足时延要求的同时,控制了CPU的开销。In this embodiment, by distinguishing the messages to be sent into delay-sensitive messages and delay-insensitive messages, the receiving device interrupts the delay-sensitive messages and polls the delay-insensitive messages . It solves the problem of excessive CPU overhead caused by interrupt processing messages in message processing and the problem of idle running or high overhead of polling threads for message processing. The CPU overhead is controlled while meeting the delay requirement.

图2为本发明报文处理方法实施例二的流程图,如图2所示,本实施例的方法可以包括:Fig. 2 is a flow chart of Embodiment 2 of the message processing method of the present invention. As shown in Fig. 2, the method of this embodiment may include:

步骤201、接收发送设备发送的报文;Step 201, receiving the message sent by the sending device;

步骤202、确定所述报文为时延敏感报文还是时延不敏感报文;Step 202, determining whether the packet is a delay-sensitive packet or a delay-insensitive packet;

步骤203、若所述报文为时延敏感报文,则对所述报文进行中断处理;Step 203, if the message is a delay-sensitive message, perform interrupt processing on the message;

步骤204、若所述报文为时延不敏感报文,则对所述报文进行轮询处理。Step 204, if the packet is a delay-insensitive packet, perform polling processing on the packet.

可选地,所述确定所述报文为时延敏感报文还是时延不敏感报文,包括:Optionally, the determining whether the packet is a delay-sensitive packet or a delay-insensitive packet includes:

若所述报文中携带时延敏感标识,则确定所述报文为时延敏感报文;If the packet carries a delay-sensitive identifier, determining that the packet is a delay-sensitive packet;

若所述报文中未携带时延敏感标识,则确定所述报文为时延不敏感报文。If the packet does not carry a delay-sensitive identifier, it is determined that the packet is a delay-insensitive packet.

具体来说,接收设备从接收的报文中获取到时延敏感标识,则确定所述报文为时延敏感报文,对于未获取到时延敏感标识的报文则确定为时延不敏感报文。将时延敏感报文进行中断处理,时延不敏感报文则等待轮询处理。具体来说,接收设备接收发送设备发送的报文,对于接收的所述报文区分为时延敏感报文和时延不敏感报文。其中,对于时延敏感报文进行中断处理;对于时延不敏感报文进行轮询处理。接收设备从接收报文中获取所述报文所携带的时延敏感标识,若接收设备获取到时延敏感标识,则确定该报文为时延敏感报文,如果接收设备支持优先级队列,则把所述报文加入高优先级队列,所述报文对时延越敏感相应的优先级越高,同时接收设备直接触发中断并对所述报文进行优先处理;若接收设备在接收的报文中未获取到时延敏感标识,则确定该报文为时延不敏感报文,并对该报文进行轮询处理。对于加入高优先级队列的时延敏感报文按照优先级的顺序处理,对于等待轮询处理的时延不敏感报文相对应的普通队列则依照报文接收顺序进行处理。Specifically, if the receiving device obtains the delay-sensitive identifier from the received message, it determines that the message is a delay-sensitive message, and for a message that does not obtain a delay-sensitive identifier, it determines that it is not delay-sensitive message. The delay-sensitive packets are interrupted, and the delay-insensitive packets wait for polling. Specifically, the receiving device receives the message sent by the sending device, and distinguishes the received message into a delay-sensitive message and a delay-insensitive message. Wherein, interrupt processing is performed for time-delay-sensitive packets; and polling processing is performed for time-delay-insensitive packets. The receiving device obtains the delay-sensitive identifier carried by the message from the received message, and if the receiving device obtains the delay-sensitive identifier, then determines that the message is a delay-sensitive message, and if the receiving device supports priority queues, Then add the message to the high priority queue, the more sensitive the message is to the delay, the higher the corresponding priority, and the receiving device directly triggers the interrupt and prioritizes the message; if the receiving device is receiving If no delay-sensitive identifier is obtained in the message, it is determined that the message is a delay-insensitive message, and polling is performed on the message. Delay-sensitive packets added to the high-priority queue are processed in the order of priority, and delay-insensitive packets waiting for polling processing are processed in the normal queue corresponding to the order in which the packets are received.

可选地,所述确定所述报文为时延敏感报文还是时延不敏感报文,包括:Optionally, the determining whether the packet is a delay-sensitive packet or a delay-insensitive packet includes:

若在接收到所述报文后被所述发送设备触发与所述报文对应的中断,则确定所述报文为时延敏感报文。If the interrupt corresponding to the message is triggered by the sending device after receiving the message, it is determined that the message is a delay-sensitive message.

进一步地,,所述被所述发送设备触发与所述报文对应的中断,包括:Further, the interrupt corresponding to the message triggered by the sending device includes:

接收所述发送设备在发送所述报文之后发送的事件报文。receiving an event message sent by the sending device after sending the message.

具体来说,接收设备在接收发送设备发送报文之后又接收到的事件报文,所述报文直接触发接收设备的中断进行中断处理,则确定该报文为时延敏感报文。接收设备接收报文中未由事件报文直接触发中断的报文则确定为时延不敏感报文,等待轮询处理。Specifically, if the receiving device receives an event message after receiving the message sent by the sending device, and the message directly triggers an interrupt of the receiving device for interrupt processing, then the message is determined to be a delay-sensitive message. Among the messages received by the receiving device, the messages that are not directly interrupted by the event message are determined as delay-insensitive messages and wait for polling processing.

需要说明的是,本发明实施例中接收设备在对接收报文进行处理的过程中,中断处理和轮询处理都需要先关闭中断,以免中断被再次触发,中止该处理过程。相应地在处理过程结束之后将中断打开。It should be noted that in the embodiment of the present invention, when the receiving device processes the received message, both the interrupt processing and the polling processing need to disable the interrupt first, so as to prevent the interrupt from being triggered again and stop the processing. Correspondingly, the interrupt is turned on after the processing is finished.

本实施例,接收设备通过将接收到的报文区分为时延敏感报文和时延不敏感报文,对时延敏感报文进行中断处理,对时延不敏感报文进行轮询处理。将报文处理方式与报文对时延的敏感程度相对应,解决了报文处理中采用中断处理报文所导致的CPU开销过大和采用轮询处理报文轮询线程空转或开销大的问题。实现了在满足时延要求的同时,控制了CPU的开销。In this embodiment, the receiving device distinguishes the received messages into delay-sensitive messages and delay-insensitive messages, performs interrupt processing on delay-sensitive messages, and performs polling processing on delay-insensitive messages. The message processing method corresponds to the sensitivity of the message to delay, which solves the problem of excessive CPU overhead caused by interrupt processing messages in message processing and polling thread idling or high overhead caused by polling messages. . The CPU overhead is controlled while meeting the delay requirement.

图3为本发明报文处理装置实施例一的结构示意图,如图3所示,本实施例的装置可以包括:FIG. 3 is a schematic structural diagram of Embodiment 1 of the message processing device of the present invention. As shown in FIG. 3, the device of this embodiment may include:

确定模块101、用于确定待发送的报文是时延敏感报文还是时延不敏感报文;Determining module 101, configured to determine whether the message to be sent is a delay sensitive message or a delay insensitive message;

发送模块102、用于向接收设备发送所述报文,以使所述接收设备对时延敏感报文进行中断处理,对时延不敏感报文进行轮询处理。The sending module 102 is configured to send the message to the receiving device, so that the receiving device interrupts the delay-sensitive message and polls the delay-insensitive message.

进一步地,所述发送模块,具体用于:Further, the sending module is specifically used for:

若所述报文为时延敏感报文,则向接收设备发送所述报文,并触发所述接收设备中断以对所述报文进行中断处理。If the message is a delay-sensitive message, sending the message to the receiving device, and triggering an interruption of the receiving device to perform interrupt processing on the message.

进一步地,所述发送模块,具体用于:Further, the sending module is specifically used for:

向所述接收设备发送的事件报文,所述事件报文用以触发所述接收设备根据所述标识信息对所述报文进行中断处理。An event message sent to the receiving device, where the event message is used to trigger the receiving device to interrupt processing of the message according to the identification information.

本实施例的装置,可以用于执行图1所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The device of this embodiment can be used to implement the technical solution of the method embodiment shown in FIG. 1 , and its implementation principle and technical effect are similar, and will not be repeated here.

图4为本发明报文处理装置实施例二的结构示意图,如图4所示,本实施例的装置在图3所示装置结构的基础上,进一步地,还可以包括:Fig. 4 is a schematic structural diagram of Embodiment 2 of the message processing device of the present invention. As shown in Fig. 4, the device of this embodiment may further include:

携带模块103、用于发送模块向接收设备发送所述报文之前,若待发送的报文为时延敏感报文,则在所述报文中携带时延敏感标识;The carrying module 103 is configured to carry a delay-sensitive identifier in the message if the message to be sent is a delay-sensitive message before the sending module sends the message to the receiving device;

接收模块105、用于所述确定模块确定待发送的报文是时延敏感报文还是时延不敏感报文之前,接收上层应用发送的所述待发送的报文以及时延敏感通知,所述时延敏感通知用于指示所述待发送的报文是否对时延敏感。The receiving module 105 is used to receive the message to be sent and the delay-sensitive notification sent by the upper layer application before the determining module determines whether the message to be sent is a delay-sensitive message or a delay-insensitive message, The delay-sensitive notification is used to indicate whether the message to be sent is delay-sensitive.

本实施例的装置,可以用于执行图1所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The device of this embodiment can be used to implement the technical solution of the method embodiment shown in FIG. 1 , and its implementation principle and technical effect are similar, and will not be repeated here.

图5为本发明报文处理装置实施例三的结构示意图,如图5所示,本实施例的装置可以包括:Fig. 5 is a schematic structural diagram of Embodiment 3 of the message processing device of the present invention. As shown in Fig. 5, the device of this embodiment may include:

接收模块201、用于接收发送设备发送的报文;The receiving module 201 is configured to receive the message sent by the sending device;

确定模块202、用于确定所述报文为时延敏感报文还是时延不敏感报文;A determining module 202, configured to determine whether the message is a delay-sensitive message or a time-delay-insensitive message;

处理模块203、用于若所述报文为时延敏感报文,则对所述报文进行中断处理,若所述报文为时延不敏感报文,则对所述报文进行轮询处理。The processing module 203 is configured to perform interrupt processing on the message if the message is a delay-sensitive message, and poll the message if the message is a delay-insensitive message deal with.

可选地,所述确定模块,具体用于:Optionally, the determining module is specifically configured to:

若所述报文中携带时延敏感标识,则确定所述报文为时延敏感报文;If the packet carries a delay-sensitive identifier, determining that the packet is a delay-sensitive packet;

若所述报文中未携带时延敏感标识,则确定所述报文为时延不敏感报文。If the packet does not carry a delay-sensitive identifier, it is determined that the packet is a delay-insensitive packet.

可选地,所述确定模块,具体用于:Optionally, the determining module is specifically configured to:

若在接收到所述报文后被所述发送设备触发与所述报文对应的中断,则确定所述报文为时延敏感报文。If the interrupt corresponding to the message is triggered by the sending device after receiving the message, it is determined that the message is a delay-sensitive message.

进一步地,所述确定模块,具体用于:Further, the determining module is specifically used for:

接收所述发送设备在发送所述报文之后发送的事件报文。receiving an event message sent by the sending device after sending the message.

本实施例的装置,可以用于执行图2所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The device of this embodiment can be used to implement the technical solution of the method embodiment shown in FIG. 2 , and its implementation principle and technical effect are similar, and will not be repeated here.

本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for implementing the above method embodiments can be completed by program instructions and related hardware. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above-mentioned method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.

最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than limiting them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the present invention. scope.

Claims (18)

1.一种报文处理方法,其特征在于,包括:1. A message processing method, characterized in that, comprising: 确定待发送的报文是时延敏感报文还是时延不敏感报文;Determine whether the message to be sent is a delay sensitive message or a delay insensitive message; 向接收设备发送所述报文,以使所述接收设备对时延敏感报文进行中断处理,对时延不敏感报文进行轮询处理。Sending the message to the receiving device, so that the receiving device interrupts the delay-sensitive message and polls the delay-insensitive message. 2.根据权利要求1所述的方法,其特征在于,所述向接收设备发送所述报文之前,还包括:2. The method according to claim 1, wherein before sending the message to the receiving device, further comprising: 若待发送的报文为时延敏感报文,则在所述报文中携带时延敏感标识;If the message to be sent is a delay-sensitive message, carrying a delay-sensitive identifier in the message; 所述向接收设备发送所述报文,以使所述接收设备对时延敏感报文进行中断处理,对时延不敏感报文进行轮询处理,包括:The sending the message to the receiving device, so that the receiving device interrupts the delay-sensitive message and polls the delay-insensitive message, includes: 向接收设备发送所述报文,以使所述接收设备若从所述报文中获取到时延敏感标识,则对所述报文进行中断处理,若未获取到时延敏感标识,则对所述报文进行轮询处理。Sending the message to the receiving device, so that if the receiving device obtains the delay-sensitive identifier from the message, then interrupt processing of the message; if the delay-sensitive identifier is not obtained, then The message is polled. 3.根据权利要求1所述的方法,其特征在于,所述向接收设备发送所述报文,以使所述接收设备对时延敏感报文进行中断处理,对时延不敏感报文进行轮询处理,包括:3. The method according to claim 1, wherein the sending the message to the receiving device, so that the receiving device interrupts the delay-sensitive message and processes the delay-insensitive message Polling processing, including: 若所述报文为时延敏感报文,则向接收设备发送所述报文,并触发所述接收设备中断以对所述报文进行中断处理。If the message is a delay-sensitive message, sending the message to the receiving device, and triggering an interrupt of the receiving device to perform interrupt processing on the message. 4.根据权利要求3所述的方法,其特征在于,所述触发所述接收设备中断以对所述报文进行中断处理,包括:4. The method according to claim 3, wherein the triggering the interrupt of the receiving device to perform interrupt processing on the message comprises: 向所述接收设备发送事件报文,所述事件报文用以触发所述接收设备对所述报文进行中断处理。Sending an event message to the receiving device, where the event message is used to trigger the receiving device to interrupt processing of the message. 5.根据权利要求1~4中任一项所述的方法,其特征在于,所述确定待发送的报文是时延敏感报文还是时延不敏感报文之前,还包括:5. The method according to any one of claims 1 to 4, wherein before determining whether the message to be sent is a delay-sensitive message or a delay-insensitive message, it further includes: 接收上层应用发送的所述待发送的报文以及时延敏感通知,所述时延敏感通知用于指示所述待发送的报文是否对时延敏感;receiving the message to be sent and a delay-sensitive notification sent by an upper-layer application, where the delay-sensitive notification is used to indicate whether the message to be sent is delay-sensitive; 所述确定待发送的报文是时延敏感报文还是时延不敏感报文,包括:The determining whether the message to be sent is a delay sensitive message or a delay insensitive message includes: 根据所述时延敏感通知,确定所述待发送的报文是时延敏感报文还是时延不敏感报文。According to the delay-sensitive notification, determine whether the packet to be sent is a delay-sensitive packet or a delay-insensitive packet. 6.一种报文处理方法,其特征在于,包括:6. A message processing method, characterized in that, comprising: 接收发送设备发送的报文;Receive the message sent by the sending device; 确定所述报文为时延敏感报文还是时延不敏感报文;determining whether the packet is a delay-sensitive packet or a delay-insensitive packet; 若所述报文为时延敏感报文,则对所述报文进行中断处理;If the message is a delay-sensitive message, interrupt processing is performed on the message; 若所述报文为时延不敏感报文,则对所述报文进行轮询处理。If the message is a delay-insensitive message, polling is performed on the message. 7.根据权利要求6所述的方法,其特征在于,所述确定所述报文为时延敏感报文还是时延不敏感报文,包括:7. The method according to claim 6, wherein the determining whether the message is a delay-sensitive message or a delay-insensitive message comprises: 若所述报文中携带时延敏感标识,则确定所述报文为时延敏感报文;If the packet carries a delay-sensitive identifier, determining that the packet is a delay-sensitive packet; 若所述报文中未携带时延敏感标识,则确定所述报文为时延不敏感报文。If the packet does not carry a delay-sensitive identifier, it is determined that the packet is a delay-insensitive packet. 8.根据权利要求6所述的方法,其特征在于,所述确定所述报文为时延敏感报文还是时延不敏感报文,包括:8. The method according to claim 6, wherein the determining whether the message is a delay-sensitive message or a delay-insensitive message comprises: 若在接收到所述报文后被所述发送设备触发与所述报文对应的中断,则确定所述报文为时延敏感报文。If the interrupt corresponding to the message is triggered by the sending device after receiving the message, it is determined that the message is a delay-sensitive message. 9.根据权利要求8所述的方法,其特征在于,所述被所述发送设备触发与所述报文对应的中断,包括:9. The method according to claim 8, wherein the interrupt corresponding to the message triggered by the sending device comprises: 接收所述发送设备在发送所述报文之后发送的事件报文,所述事件报文用以触发所述接收设备对所述报文进行中断处理。receiving an event message sent by the sending device after sending the message, where the event message is used to trigger the receiving device to interrupt processing of the message. 10.一种报文处理的装置,其特征在于,包括:10. A device for message processing, comprising: 确定模块,用于确定待发送的报文是时延敏感报文还是时延不敏感报文;A determining module, configured to determine whether the message to be sent is a delay-sensitive message or a delay-insensitive message; 发送模块,用于向接收设备发送所述报文,以使所述接收设备对时延敏感报文进行中断处理,对时延不敏感报文进行轮询处理。The sending module is configured to send the message to the receiving device, so that the receiving device interrupts the delay-sensitive message and polls the delay-insensitive message. 11.根据权利要求10所述的装置,其特征在于,还包括:11. The device according to claim 10, further comprising: 携带模块,用于发送模块向接收设备发送所述报文之前,若待发送的报文为时延敏感报文,则在所述报文中携带时延敏感标识;A carrying module, configured to carry a delay-sensitive identifier in the message if the message to be sent is a delay-sensitive message before the sending module sends the message to the receiving device; 所述发送模块,具体用于:The sending module is specifically used for: 向接收设备发送所述报文,以使所述接收设备若从所述报文中获取到时延敏感标识,则对所述报文进行中断处理,若未获取到时延敏感标识,则对所述报文进行轮询处理。Sending the message to the receiving device, so that if the receiving device obtains the delay-sensitive identifier from the message, then interrupt processing of the message, and if the delay-sensitive identifier is not obtained, then The message is polled. 12.根据权利要求10所述的装置,其特征在于,所述发送模块,具体用于:12. The device according to claim 10, wherein the sending module is specifically used for: 若所述报文为时延敏感报文,则向接收设备发送所述报文,并触发所述接收设备中断以对所述报文进行中断处理。If the message is a delay-sensitive message, sending the message to the receiving device, and triggering an interruption of the receiving device to perform interrupt processing on the message. 13.根据权利要求12所述的装置,其特征在于,所述发送模块,具体用于:13. The device according to claim 12, wherein the sending module is specifically used for: 向所述接收设备发送事件报文,所述事件报文用以触发所述接收设备对所述报文进行中断处理。Sending an event message to the receiving device, where the event message is used to trigger the receiving device to interrupt processing of the message. 14.根据权利要求10-13中任一项所述的装置,其特征在于,还包括:14. The device according to any one of claims 10-13, further comprising: 接收模块,用于所述确定模块确定待发送的报文是时延敏感报文还是时延不敏感报文之前,接收上层应用发送的所述待发送的报文以及时延敏感通知,所述时延敏感通知用于指示所述待发送的报文是否对时延敏感;The receiving module is used to receive the message to be sent and the delay sensitive notification sent by the upper layer application before the determining module determines whether the message to be sent is a delay-sensitive message or a delay-insensitive message, the The delay sensitive notification is used to indicate whether the message to be sent is sensitive to delay; 所述确定模块,具体用于:The determination module is specifically used for: 根据所述时延敏感通知,确定所述待发送的报文是时延敏感报文还是时延不敏感报文。According to the delay-sensitive notification, determine whether the packet to be sent is a delay-sensitive packet or a delay-insensitive packet. 15.一种报文处理装置,其特征在于,包括:15. A message processing device, comprising: 接收模块,用于接收发送设备发送的报文;The receiving module is used to receive the message sent by the sending device; 确定模块,用于确定所述报文为时延敏感报文还是时延不敏感报文;A determining module, configured to determine whether the packet is a delay-sensitive packet or a delay-insensitive packet; 处理模块,用于若所述报文为时延敏感报文,则对所述报文进行中断处理,若所述报文为时延不敏感报文,则对所述报文进行轮询处理。A processing module, configured to perform interrupt processing on the message if the message is a delay-sensitive message, and perform polling processing on the message if the message is a delay-insensitive message . 16.根据权利要求15所述的装置,其特征在于,所述确定模块,具体用于:16. The device according to claim 15, wherein the determining module is specifically configured to: 若所述报文中携带时延敏感标识,则确定所述报文为时延敏感报文;If the packet carries a delay-sensitive identifier, determining that the packet is a delay-sensitive packet; 若所述报文中未携带时延敏感标识,则确定所述报文为时延不敏感报文。If the packet does not carry a delay-sensitive identifier, it is determined that the packet is a delay-insensitive packet. 17.根据权利要求16所述的装置,其特征在于,所述确定模块,具体用于:17. The device according to claim 16, wherein the determining module is specifically configured to: 若在接收到所述报文后被所述发送设备触发与所述报文对应的中断,则确定所述报文为时延敏感报文。If the interrupt corresponding to the message is triggered by the sending device after receiving the message, it is determined that the message is a delay-sensitive message. 18.根据权利要求17所述的装置,其特征在于,所述确定模块,具体用于:18. The device according to claim 17, wherein the determining module is specifically configured to: 接收所述发送设备在发送所述报文之后发送的事件报文。receiving an event message sent by the sending device after sending the 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119996514A (en) * 2025-04-17 2025-05-13 北京合众方达科技有限公司 A time-based interrupt request method and control device

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 transmission 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 transmission 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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119996514A (en) * 2025-04-17 2025-05-13 北京合众方达科技有限公司 A time-based interrupt request method and control device
CN119996514B (en) * 2025-04-17 2025-07-11 北京合众方达科技有限公司 A time-based interrupt request method and control device

Also Published As

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

Similar Documents

Publication Publication Date Title
CN105812287B (en) Efficient circuit in packet switching network
CN108432194B (en) Congestion processing method, host and system
CN110784415B (en) ECN quick response method and device
CN101867511B (en) Pause frame sending method, associated equipment and system
CN107135521B (en) Flow control method, device and system
CN104301066A (en) Data packet transmission method and device
WO2017036373A1 (en) Group call service processing method, terminal and core network element
CN101582786A (en) Instant handling method and device of instant messages
CN106533805A (en) Micro-service request processing method, micro-service controller and micro-service architecture
CN113411310B (en) Media downlink transmission control method and related equipment
CN102611630B (en) A kind of message acceptance control method and system
WO2017198108A1 (en) Method and device for processing fragment messages
CN101686438B (en) Short message group sending method and equipment
CN114338523A (en) Message forwarding method and device
CN110784418A (en) Data sending method and system based on time delay constraint
CN114157609B (en) PFC deadlock detection method and device
CN107547430B (en) Message sending method and device
CN107306412B (en) Method, user equipment and base station for realizing reliable message transmission
CN107294911B (en) A data packet monitoring method and device, a remote procedure call system, and a device
CN109995664A (en) A method, device and system for sending data stream
CN104717191B (en) Message processing method and device
US7639628B2 (en) Response time detection in a network having shared interfaces
JP6376609B2 (en) Access control apparatus and authentication control method
CN106559351B (en) Message processing method, SDN controller and network element
WO2017016300A1 (en) Method and apparatus for processing token application, computer storage medium

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