[go: up one dir, main page]

CN102137448A - Method and equipment for controlling data packet transmission in message service - Google Patents

Method and equipment for controlling data packet transmission in message service Download PDF

Info

Publication number
CN102137448A
CN102137448A CN2011100692812A CN201110069281A CN102137448A CN 102137448 A CN102137448 A CN 102137448A CN 2011100692812 A CN2011100692812 A CN 2011100692812A CN 201110069281 A CN201110069281 A CN 201110069281A CN 102137448 A CN102137448 A CN 102137448A
Authority
CN
China
Prior art keywords
data packet
time
data
interval
received
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2011100692812A
Other languages
Chinese (zh)
Inventor
银宇
陆伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN2011100692812A priority Critical patent/CN102137448A/en
Publication of CN102137448A publication Critical patent/CN102137448A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明提供一种消息业务中数据包的传输控制方法及设备。该方法包括接收终端发送的数据包;比较接收到所述数据包的时间与对所述终端对应的对端的最近一次数据包的转发时间之间的间隔,如果所述间隔小于设定的阈值,则缓存所述数据包直至所述间隔达到所述阈值后,将缓存的所述数据包发送给所述对端。本发明实施例可以降低消息业务中的信令开销。

Figure 201110069281

The invention provides a method and equipment for controlling the transmission of data packets in a message service. The method includes receiving a data packet sent by a terminal; comparing the interval between the time of receiving the data packet and the latest forwarding time of the data packet to the opposite end corresponding to the terminal, if the interval is less than a set threshold, Then cache the data packet until the interval reaches the threshold, and then send the cached data packet to the peer. The embodiment of the present invention can reduce the signaling overhead in the message service.

Figure 201110069281

Description

消息业务中数据包的传输控制方法及设备Data packet transmission control method and device in message service

技术领域technical field

本发明涉及通信技术,尤其涉及一种消息业务中数据包的传输控制方法及设备。The invention relates to communication technology, in particular to a transmission control method and equipment for data packets in message services.

背景技术Background technique

在移动通信网络中,为了节省无线资源,以及减少终端耗电,在终端一段时间(如6~8秒)内未与网络进行信令交互及用户面数据传输时,网络可以释放在无线侧与终端之间的信令连接和用户面无线承载,此时称终端处于空闲状态(Idle State)或者睡眠状态(Sleep State)。当终端需要发送或者接收用户面数据时,终端会首先恢复与网络的信令连接,通过信令恢复用户面无线承载,然后通过用户面无线承载发送或者接收用户面数据,此时称终端处于连接状态(Connected State)。业务结束后,如果一段时间没有信令交互或用户面数据传输,网络会再次将终端转至空闲状态或睡眠状态。In a mobile communication network, in order to save wireless resources and reduce terminal power consumption, when the terminal does not perform signaling interaction or user plane data transmission with the network for a period of time (such as 6 to 8 seconds), the network can release The signaling connection between terminals and the radio bearer of the user plane are called terminals in idle state (Idle State) or sleep state (Sleep State). When the terminal needs to send or receive user plane data, the terminal will first restore the signaling connection with the network, restore the user plane radio bearer through signaling, and then send or receive user plane data through the user plane radio bearer. At this time, the terminal is said to be connected. State (Connected State). After the service ends, if there is no signaling interaction or user plane data transmission for a period of time, the network will turn the terminal to the idle state or sleep state again.

目前终端普遍应用的交互式即时通信消息业务,比如QQ业务、MSN业务等具有业务发生时数据包小、且通信双方的消息交互较频繁。这类业务中,通信一方发送一条消息,通信接收对端在收到该消息后进行回复。由于人在终端上输入消息的速度限制,在终端上编辑消息完成后,发送消息和接收消息的双方可能都已经切换到空闲态,因此对每一条消息的发送方在发送消息,以及接收方在接收消息时可能都需要从空闲态切回连接态,造成信令负荷的激增。Currently, interactive instant messaging services commonly used by terminals, such as QQ services and MSN services, have the characteristics of small data packets when the services occur, and frequent message interactions between the communication parties. In this type of service, one party to the communication sends a message, and the receiving end of the communication responds after receiving the message. Due to the speed limit of people inputting messages on the terminal, after editing the message on the terminal, both the sender and the receiver may have switched to the idle state, so the sender of each message is sending the message, and the receiver is in the When receiving messages, it may be necessary to switch from the idle state to the connected state, resulting in a surge in signaling load.

发明内容Contents of the invention

本发明实施例是提供一种消息业务中数据包的传输控制方法及设备,避免消息业务中终端频繁的在空闲态和连接态之间转换,从而达到降低信令负荷的目的。The embodiments of the present invention provide a method and device for controlling the transmission of data packets in a message service, which prevents terminals from frequently switching between an idle state and a connected state in the message service, thereby achieving the purpose of reducing signaling load.

本发明实施例提供了一种消息业务中数据包的传输控制方法,包括:An embodiment of the present invention provides a transmission control method of a data packet in a message service, including:

接收终端发送的数据包;Receive the data packet sent by the terminal;

比较接收到所述数据包的时间与对所述终端对应的对端的最近一次数据包的转发时间之间的间隔,如果所述间隔小于设定的阈值,则缓存所述数据包直至所述间隔达到所述阈值后,将缓存的所述数据包发送给所述对端。Comparing the interval between the time when the data packet is received and the latest forwarding time of the data packet to the opposite end corresponding to the terminal, if the interval is less than a set threshold, buffering the data packet until the interval After the threshold is reached, the buffered data packet is sent to the opposite end.

本发明实施例提供一种消息业务中数据包的传输控制设备,包括:An embodiment of the present invention provides a transmission control device for data packets in a message service, including:

接收模块,用于接收终端发送的数据包;The receiving module is used to receive the data packet sent by the terminal;

缓存模块,用于比较所述接收模块接收到所述数据包的时间与对所述终端对应的对端的最近一次数据包的转发时间之间的间隔,如果所述间隔小于设定的阈值,则缓存所述数据包;A cache module, configured to compare the interval between the time when the receiving module receives the data packet and the latest forwarding time of the data packet to the opposite end corresponding to the terminal, if the interval is less than a set threshold, then cache the data packets;

发送模块,用于在所述缓存模块缓存所述数据包直至所述间隔达到所述阈值后,将缓存的所述数据包发送给所述对端。A sending module, configured to send the cached data packet to the peer after the cache module caches the data packet until the interval reaches the threshold.

在本发明中,通过缓存数据包直至时间间隔达到阈值,并非简单生硬的通过降低通信两端的交互频度来降低信令开销,而是利用了交互式消息系统中通讯双方“一来一往”的特点,即一方在发出消息后,通常要等到对方的回复消息后再送出新的消息,通过在用户可以忍受的程度上适当延长回复消息到来的时间,让通讯双方在等待对方回复的过程中不自觉的降低“热度”,甚至提前结束会话,在不显著影响用户满意度的前提下降低消息的频度。In the present invention, by buffering data packets until the time interval reaches the threshold, it is not simply reducing the interaction frequency between the two ends of the communication to reduce the signaling overhead, but using the "one to one" communication between the two parties in the interactive message system The characteristic is that after one party sends a message, it usually waits for the other party's reply message before sending a new message. By appropriately prolonging the arrival time of the reply message to the extent that the user can tolerate, the two parties in communication can wait for the other party's reply. Unconsciously reduce the "hotness", or even end the conversation early, and reduce the frequency of messages without significantly affecting user satisfaction.

附图说明Description of drawings

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

图1为本发明第一实施例的方法流程示意图;Fig. 1 is the schematic flow chart of the method of the first embodiment of the present invention;

图2为本发明第二实施例的方法流程示意图;Fig. 2 is a schematic flow chart of the method of the second embodiment of the present invention;

图3为本发明第三实施例的设备的结构示意图。Fig. 3 is a schematic structural diagram of a device according to a third embodiment of 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 making creative efforts belong to the protection scope of the present invention.

图1为本发明第一实施例的方法流程示意图,包括:Fig. 1 is a schematic flow chart of the method of the first embodiment of the present invention, including:

步骤11:接收终端发送的数据包;Step 11: receiving the data packet sent by the terminal;

其中,本发明实施例中,将消息业务中的通信双方通信的消息统称为数据包,包括文字、图片等。Wherein, in the embodiment of the present invention, the messages communicated by the communication parties in the message service are collectively referred to as data packets, including texts, pictures, and the like.

步骤12:比较接收到所述数据包与对所述终端对应的对端的最近一次数据包的转发时间之间的间隔,如果所述间隔小于设定的阈值,则缓存所述数据包直至所述间隔达到所述阈值后,将缓存的所述数据包发送给所述对端。Step 12: Comparing the interval between receiving the data packet and the latest data packet forwarding time of the opposite end corresponding to the terminal, if the interval is less than the set threshold, buffering the data packet until the After the interval reaches the threshold, the cached data packet is sent to the peer.

另外,如果所述间隔大于等于所述阈值,则直接转发所述数据包给所述对端;或者,如果所述转发时间没有记录,则直接转发所述数据包给所述对端。In addition, if the interval is greater than or equal to the threshold, the data packet is directly forwarded to the peer; or, if the forwarding time is not recorded, the data packet is directly forwarded to the peer.

本发明实施例中可以采用如下方式记录对端最近一次数据包的转发时间:In the embodiment of the present invention, the following methods can be used to record the forwarding time of the last data packet at the opposite end:

一种是在未执行缓存机制前,收到对端最近一次数据包并发送给本端的时间;一种是在执行缓存机制后,指缓存数据包直至所述间隔达到阈值后(即执行所述缓存机制后)再转发给本端时的时间。One is the time when the latest data packet is received from the peer end and sent to the local end before the caching mechanism is executed; the other is the time after the caching mechanism is executed, which refers to caching data packets until the interval reaches the threshold (that is, executing the After the caching mechanism) is forwarded to the local end.

另外,本实施例中的执行主体可以为非通信网络设备的应用服务器,例如应用服务商提供的应用服务器,也可以为通信网络设备,例如数据网关、服务网关、基站、基站控制器等。In addition, the executor in this embodiment may be an application server of a non-communication network device, such as an application server provided by an application service provider, or a communication network device such as a data gateway, a service gateway, a base station, a base station controller, and the like.

本实施例通过缓存数据包直至两端交互的消息的时间间隔达到阈值,并非简单生硬的通过降低通信两端的交互频度来降低信令开销,而是利用了交互式消息系统中通讯双方“一来一往”的特点,即一方在发出消息后,通常要等到对方的回复消息后再送出新的消息,通过在用户可以忍受的程度上适当延长回复消息到来的时间,让通讯双方在等待对方回复的过程中不自觉的降低“热度”,甚至提前结束会话,在不显著影响用户满意度的前提下降低消息的频度,进而可以降低信令开销。In this embodiment, data packets are cached until the time interval between messages exchanged between the two ends reaches the threshold. Instead of reducing the signaling overhead simply and bluntly by reducing the frequency of interaction between the two ends of the communication, it utilizes the "one-time communication" between the two parties in the interactive message system. The characteristic of “coming and going” means that after one party sends a message, it usually waits for the other party’s reply message before sending a new message. By appropriately prolonging the time for the reply message to the extent that the user can tolerate, the two parties in the communication are waiting for the other party. In the process of replying, the "hotness" is unconsciously reduced, or even the conversation is ended early, and the frequency of messages is reduced without significantly affecting user satisfaction, thereby reducing signaling overhead.

图2为本发明第二实施例的方法流程示意图,本实施例以消息应用的应用服务器对消息发送的时间间隔进行控制为例。参见图2,本实施例包括:FIG. 2 is a schematic flowchart of a method according to a second embodiment of the present invention. In this embodiment, the application server of a message application controls the time interval for sending messages as an example. Referring to Fig. 2, the present embodiment includes:

步骤21:应用服务器接收终端发送的数据包。Step 21: the application server receives the data packet sent by the terminal.

例如,终端在发送数据包时,通过终端的分组数据网络将数据包发送给应用服务器,以便通过应用服务器发送给该终端的对端。For example, when the terminal sends the data packet, it sends the data packet to the application server through the packet data network of the terminal, so as to send the data packet to the opposite end of the terminal through the application server.

步骤22:应用服务器比较接收到所述数据包的时间与对所述终端对应的对端的最近一次数据包的转发时间之间的间隔。Step 22: The application server compares the interval between the time when the data packet is received and the last forwarding time of the data packet to the peer end corresponding to the terminal.

步骤23:应用服务器判断该间隔是否小于设定的阈值,若是,执行步骤24,否则执行步骤25。Step 23: The application server judges whether the interval is smaller than the set threshold, if yes, execute step 24, otherwise execute step 25.

步骤24:应用服务器缓存数据包,直至所述间隔达到设定的阈值后,再进入步骤25。Step 24: The application server caches the data packets until the interval reaches a set threshold, and then enters Step 25.

步骤25:应用服务器将该接收的数据包转发给该终端的对端,并记录当前时间为该终端最近一次数据包的转发时间。Step 25: The application server forwards the received data packet to the peer end of the terminal, and records the current time as the latest data packet forwarding time of the terminal.

在缓存数据包转发出去之前,应用服务器可能接收到本端或者对端新的数据包,此时应用服务器可以根据不同的配置策略对新的数据包进行缓存、丢弃,或者当来自同一端的数据包数量达到设定门限则立刻转发等不同的处理方法。Before the cached data packets are forwarded, the application server may receive new data packets from the local end or the opposite end. At this time, the application server can cache and discard the new data packets according to different configuration policies, or when the data packets from the same end If the number reaches the set threshold, it will be forwarded immediately and other processing methods.

除了应用服务器以外,在通讯双方通信路径上的其它网元,如移动通讯网络中数据网关,服务网关,基站,以及基站控制器等也可以根据上述方法,在接收到一端的消息后,比较与对端最近一次数据包的转发时间的时间间隔是否低于特定的阈值来确定是否需要缓存消息。区别是,由于应用服务器处理通讯双方消息会话应用的对等层,应用服务器能够很容易从数据流中解析出消息来,而通讯网络处于通讯双方消息会话的下层,是一个管道的作用,上层消息应用的数据包对通讯网络是透明的,因此通讯网络中的节点可能需要应用深度包检测(Deep Packet Inspect,DPI)等技术从数据流中过滤出消息应用的数据包来。In addition to the application server, other network elements on the communication path between the communication parties, such as data gateways, service gateways, base stations, and base station controllers in the mobile communication network, can also compare with Whether the time interval between the last forwarding time of the peer end data packet is lower than a specific threshold determines whether the message needs to be cached. The difference is that since the application server handles the peer-to-peer layer of the message session application of the two parties in communication, the application server can easily parse the message from the data stream, while the communication network is at the lower layer of the message session between the two parties in communication, which is the role of a pipeline. The data packets of the application are transparent to the communication network, so the nodes in the communication network may need to apply technologies such as Deep Packet Inspect (DPI) to filter out the data packets of the message application from the data stream.

此外,也可以采用应用服务器执行缓存数据包机制,而由通信网络,如移动通讯网络中数据网关等网元设备执行缓存机制的监控,比如数据网关设备启动定时器,在定时器未超时时,如果收到应用服务器转发的数据包,则可以丢弃该数据包,以保证缓存机制的顺利执行。In addition, the application server can also be used to implement the cache data packet mechanism, and the communication network, such as the network element equipment such as the data gateway in the mobile communication network, implements the monitoring of the cache mechanism. For example, the data gateway equipment starts the timer. When the timer does not expire, If the data packet forwarded by the application server is received, the data packet can be discarded to ensure the smooth execution of the caching mechanism.

该时间间隔对应的阈值的确定,是本发明控制效果的一个关键参数该阈值越长,则允许的双方消息交互的频度越低,网络的负荷也越低,但用户的满意度可能会随之降低;反之,该阈值越长,则允许的双方消息交互的频度越高,网络的负荷也越高,但用户的满意度较高,总体来看,应根据网络的负荷、消息业务的特点和用户的满意度合理的设置该阈值,并可以根据用户类型,用户位置、时间段、业务类型等进行差异化设置。同时,还可以对之前消息发送频度较小的用户进行奖励,如在短时间内允许该用户不受时间间隔限制,或者受一个较小的阈值控制的发送较多的消息。The determination of the threshold corresponding to the time interval is a key parameter of the control effect of the present invention. The longer the threshold, the lower the frequency of message interaction between the two parties is allowed, and the lower the load on the network, but the user satisfaction may decrease with time. Conversely, the longer the threshold, the higher the frequency of message interaction between the two parties is allowed, and the higher the load on the network, but the higher the user satisfaction. The threshold should be reasonably set according to the characteristics and user satisfaction, and can be differentiated according to user type, user location, time period, business type, etc. At the same time, it is also possible to reward users who previously sent messages less frequently, such as allowing the user not to be limited by the time interval in a short period of time, or to send more messages controlled by a smaller threshold.

本发明实施例除了降低空闲态与连接态切换的频度外,会间接影响到用户的通信行为:在较小影响用户体验的前提下,相对拉长了用户的消息交互的时间时隔,潜移默化地影响到消息交互的“热度”,这种微弱的改变就有可能影响到用户的通信习惯,交互式消息双方可能会尽量减少无谓的消息交互,从而可能缩短交互式消息通信的时间。所以从用户心理的角度,本发明的技术方案能够潜在改变人们在交互式消息业务的通信习惯,从而减少实时通信类业务对移动通讯网络的巨大冲击。In addition to reducing the frequency of switching between the idle state and the connected state, the embodiment of the present invention will indirectly affect the user's communication behavior: under the premise of less impact on the user experience, the time interval of the user's message interaction is relatively prolonged, and the user's message interaction is subtle This kind of slight change may affect the user's communication habits, and the two sides of the interactive message may minimize unnecessary message interaction, which may shorten the time of interactive message communication. Therefore, from the perspective of user psychology, the technical solution of the present invention can potentially change people's communication habits in interactive message services, thereby reducing the huge impact of real-time communication services on mobile communication networks.

图3为本发明第三实施例的设备的结构示意图,包括接收模块31、缓存模块32和发送模块33。接收模块31用于接收终端发送的数据包;缓存模块32用于比较所述接收模块31接收到所述数据包的时间与对所述终端对应的对端的最近一次数据包的转发时间之间的间隔,如果所述间隔小于设定的阈值,则缓存所述数据包;发送模块33用于在所述缓存模块32缓存所述数据包直至所述间隔达到所述阈值后,将缓存的所述数据包发送给所述对端。FIG. 3 is a schematic structural diagram of a device according to a third embodiment of the present invention, including a receiving module 31 , a buffering module 32 and a sending module 33 . The receiving module 31 is used to receive the data packet sent by the terminal; the cache module 32 is used to compare the time between the time when the receiving module 31 receives the data packet and the forwarding time of the latest data packet of the opposite end corresponding to the terminal interval, if the interval is less than the set threshold, then buffer the data packet; the sending module 33 is used to cache the data packet until the interval reaches the threshold after the cache module 32 buffers the buffered The data packet is sent to the peer.

本实施例的发送模块33还可以用于如果所述间隔大于等于所述阈值,则直接转发所述数据包给所述对端;或者,如果所述转发时间没有记录,则直接转发所述数据包给所述对端。The sending module 33 of this embodiment can also be used to forward the data packet directly to the peer if the interval is greater than or equal to the threshold; or, if the forwarding time is not recorded, directly forward the data packet to the peer.

还可以包括:记录模块,用于如果接收到所述对端最近一次数据包时未执行缓存机制,则将接收到所述对端最近一次数据包并发送给所述终端的时间记录为所述转发时间;或者,如果接收到所述对端最近一次数据包时已执行缓存机制,则将接收到所述对端最近一次数据包并执行所述缓存机制后转发给所述终端的时间记录为所述转发时间。It may also include: a recording module, configured to record the time when the latest data packet of the peer is received and sent to the terminal is recorded as the Forwarding time; or, if the caching mechanism has been executed when the last data packet of the opposite end is received, the time when the latest data packet of the opposite end is received and the caching mechanism is executed is recorded as The forwarding time.

还可以包括:处理模块,用于如果在缓存所述数据包时接收到新的数据包,则对所述新的数据包进行缓存、丢弃处理或者来自同一端的数据包数量达到预设门限时进行转发处理。It may also include: a processing module, configured to cache and discard the new data packet or perform processing when the number of data packets from the same end reaches a preset threshold if a new data packet is received when the data packet is cached. Forward processing.

本实施例的设备可以位于非通信网络设备的应用服务器处,和/或,位于通信网络设备的数据网关、服务网关、基站控制器或基站处。The device in this embodiment may be located at an application server of a non-communication network device, and/or at a data gateway, service gateway, base station controller or base station of a communication network device.

如果所述设备位于通信网络设备处,所述缓存模块还用于对所述数据包进行DPI,如果所述DPI结果为所述数据包对应的业务为消息业务则缓存数据包。If the device is located at a communication network device, the cache module is further configured to perform DPI on the data packet, and if the result of the DPI is that the service corresponding to the data packet is a message service, cache the data packet.

本实施例通过缓存数据包直至两端交互的消息的时间间隔达到阈值,并非简单生硬的通过降低通信两端的交互频度来降低信令开销,而是利用了交互式消息系统中通讯双方“一来一往”的特点,即一方在发出消息后,通常要等到对方的回复消息后再送出新的消息,通过在用户可以忍受的程度上适当延长回复消息到来的时间,让通讯双方在等待对方回复的过程中不自觉的降低“热度”,甚至提前结束会话,在不显著影响用户满意度的前提下降低消息的频度,进而可以降低信令开销。In this embodiment, data packets are cached until the time interval between messages exchanged between the two ends reaches the threshold. Instead of reducing the signaling overhead simply and bluntly by reducing the frequency of interaction between the two ends of the communication, it utilizes the "one-time communication" between the two parties in the interactive message system. The characteristic of “coming and going” means that after one party sends a message, it usually waits for the other party’s reply message before sending a new message. By appropriately prolonging the time for the reply message to the extent that the user can tolerate, the two parties in the communication are waiting for the other party. In the process of replying, the "hotness" is unconsciously reduced, or even the conversation is ended early, and the frequency of messages is reduced without significantly affecting user satisfaction, thereby reducing signaling overhead.

可以理解的是,上述方法及设备中的相关特征可以相互参考。另外,上述实施例中的“第一”、“第二”等是用于区分各实施例,而并不代表各实施例的优劣。It can be understood that related features in the above methods and devices can refer to each other. In addition, "first", "second" and so on in the above embodiments are used to distinguish each embodiment, and do not represent the advantages and disadvantages of each embodiment.

本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps to realize the above method embodiments can be completed by hardware related to program instructions, and the aforementioned programs can be stored in computer-readable storage media. When the program is executed, the execution includes 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 to limit 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 can still be Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims (14)

1.一种消息业务中数据包的传输控制方法,其特征在于,包括:1. A transmission control method of data packets in a message service, characterized in that, comprising: 接收终端发送的数据包;Receive the data packet sent by the terminal; 比较接收到所述数据包的时间与对所述终端对应的对端的最近一次数据包的转发时间之间的间隔,如果所述间隔小于设定的阈值,则缓存所述数据包直至所述间隔达到所述阈值后,将缓存的所述数据包发送给所述对端。Comparing the interval between the time when the data packet is received and the latest forwarding time of the data packet to the opposite end corresponding to the terminal, if the interval is less than a set threshold, buffering the data packet until the interval After the threshold is reached, the buffered data packet is sent to the opposite end. 2.根据权利要求1所述的方法,其特征在于,还包括:2. The method according to claim 1, further comprising: 如果所述间隔大于等于所述阈值,则直接转发所述数据包给所述对端;If the interval is greater than or equal to the threshold, directly forward the data packet to the opposite end; 或者,or, 如果所述转发时间没有记录,则直接转发所述数据包给所述对端。If the forwarding time is not recorded, the data packet is directly forwarded to the opposite end. 3.根据权利要求1所述的方法,其特征在于,还包括:3. The method according to claim 1, further comprising: 如果接收到所述对端最近一次数据包时未执行缓存机制,则将接收到所述对端最近一次数据包并发送给所述终端的时间记录为所述转发时间;If the caching mechanism is not implemented when the last data packet of the opposite end is received, the time when the latest data packet of the opposite end is received and sent to the terminal is recorded as the forwarding time; 或者,or, 如果接收到所述对端最近一次数据包时已执行缓存机制,则将接收到所述对端最近一次数据包并执行所述缓存机制后转发给所述终端的时间记录为所述转发时间。If the caching mechanism has been executed when the last data packet of the opposite end is received, the time when the latest data packet of the opposite end is received and the caching mechanism is executed is forwarded to the terminal and recorded as the forwarding time. 4.根据权利要求1所述的方法,其特征在于,还包括:4. The method according to claim 1, further comprising: 如果在缓存所述数据包时接收到新的数据包,则对所述新的数据包进行缓存、丢弃处理或者来自同一端的数据包数量达到预定门限时进行转发处理。If a new data packet is received when the data packet is buffered, the new data packet is buffered and discarded, or forwarded when the number of data packets from the same end reaches a predetermined threshold. 5.根据权利要求1所述的方法,其特征在于,所述阈值根据如下项中的至少一项设置:网络负荷、消息业务的特点、用户满意度、用户类型、用户位置、时间段、业务类型。5. The method according to claim 1, wherein the threshold is set according to at least one of the following items: network load, message service characteristics, user satisfaction, user type, user location, time period, business type. 6.根据权利要求1所述的方法,其特征在于,所述缓存所述数据包,包括:6. The method according to claim 1, wherein the buffering the data packet comprises: 非通信网络设备的应用服务器缓存数据包;和/或,Application server cache data packets of non-communication network equipment; and/or, 通信网络设备的数据网关、服务网关、基站控制器或基站缓存数据包。A data gateway, a serving gateway, a base station controller, or a base station buffers data packets of a communication network device. 7.根据权利要求6所述的方法,其特征在于,如果应用服务器缓存数据包,则所述方法还包括:7. The method according to claim 6, wherein if the application server caches the data packet, the method further comprises: 如果通信网络设备的数据网关、服务网关、基站控制器或基站在设置的定时器未超时的时间内接收到所述应用服务器转发的所述数据包,则丢弃所述数据包。If the data gateway, the serving gateway, the base station controller or the base station of the communication network device receives the data packet forwarded by the application server within the time that the set timer does not expire, discard the data packet. 8.根据权利要求6所述的方法,其特征在于,如果通信网络设备缓存数据包,则所述缓存数据包包括:8. The method according to claim 6, wherein if the communication network device buffers the data packet, the cached data packet comprises: 所述通信网络设备的数据网关、服务网关、基站控制器或基站对所述数据包进行深度报文解析,如果所述深度报文解析结果为所述数据包对应的业务为消息业务则缓存数据包。The data gateway, service gateway, base station controller or base station of the communication network device performs in-depth message analysis on the data packet, and if the result of the in-depth message analysis is that the service corresponding to the data package is a message service, the data is cached Bag. 9.一种消息业务中数据包的传输控制设备,其特征在于,包括:9. A transmission control device for data packets in a message service, characterized in that it comprises: 接收模块,用于接收终端发送的数据包;The receiving module is used to receive the data packet sent by the terminal; 缓存模块,用于比较所述接收模块接收到所述数据包的时间与对所述终端对应的对端的最近一次数据包的转发时间之间的间隔,如果所述间隔小于设定的阈值,则缓存所述数据包;A cache module, configured to compare the interval between the time when the receiving module receives the data packet and the latest forwarding time of the data packet to the opposite end corresponding to the terminal, if the interval is less than a set threshold, then cache the data packets; 发送模块,用于在所述缓存模块缓存所述数据包直至所述间隔达到所述阈值后,将缓存的所述数据包发送给所述对端。A sending module, configured to send the cached data packet to the peer after the cache module caches the data packet until the interval reaches the threshold. 10.根据权利要求9所述的设备,其特征在于,所述发送模块还用于:10. The device according to claim 9, wherein the sending module is also used for: 如果所述间隔大于等于所述阈值,则直接转发所述数据包给所述对端;或者,如果所述转发时间没有记录,则直接转发所述数据包给所述对端。If the interval is greater than or equal to the threshold, the data packet is directly forwarded to the peer; or, if the forwarding time is not recorded, the data packet is directly forwarded to the peer. 11.根据权利要求9所述的设备,其特征在于,还包括:11. The device of claim 9, further comprising: 记录模块,用于如果接收到所述对端最近一次数据包时未执行缓存机制,则将接收到所述对端最近一次数据包并发送给所述终端的时间记录为所述转发时间;或者,如果接收到所述对端最近一次数据包时已执行缓存机制,则将接收到所述对端最近一次数据包并执行所述缓存机制后转发给所述终端的时间记录为所述转发时间。A recording module, configured to record the time when the latest data packet of the peer is received and sent to the terminal as the forwarding time if no caching mechanism is implemented when the latest data packet of the peer is received; or , if the caching mechanism has been executed when the last data packet of the peer is received, record the time when the latest data packet of the peer is received and forwarded to the terminal after executing the caching mechanism as the forwarding time . 12.根据权利要求9所述的设备,其特征在于,还包括:12. The device of claim 9, further comprising: 处理模块,用于如果在缓存所述数据包时接收到新的数据包,则对所述新的数据包进行缓存、丢弃处理或者来自同一端的数据包数据达到预设门限时进行转发处理。The processing module is configured to, if a new data packet is received when the data packet is cached, cache and discard the new data packet or perform forwarding processing when the data packet from the same end reaches a preset threshold. 13.根据权利要求9所述的设备,其特征在于,所述设备位于非通信网络设备的应用服务器处,和/或,位于通信网络设备的数据网关、服务网关、基站控制器或基站处。13. The device according to claim 9, wherein the device is located at an application server of a non-communication network device, and/or at a data gateway, service gateway, base station controller or base station of a communication network device. 14.根据权利要求13所述的设备,其特征在于,如果所述设备位于通信网络设备处,所述缓存模块还用于对所述数据包进行深度报文解析,如果所述深度报文解析结果为所述数据包对应的业务为消息业务则缓存数据包。14. The device according to claim 13, wherein if the device is located at a communication network device, the cache module is further configured to perform deep message analysis on the data packet, if the deep message analysis If the result is that the service corresponding to the data packet is a message service, the data packet is cached.
CN2011100692812A 2011-03-22 2011-03-22 Method and equipment for controlling data packet transmission in message service Pending CN102137448A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011100692812A CN102137448A (en) 2011-03-22 2011-03-22 Method and equipment for controlling data packet transmission in message service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011100692812A CN102137448A (en) 2011-03-22 2011-03-22 Method and equipment for controlling data packet transmission in message service

Publications (1)

Publication Number Publication Date
CN102137448A true CN102137448A (en) 2011-07-27

Family

ID=44297081

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011100692812A Pending CN102137448A (en) 2011-03-22 2011-03-22 Method and equipment for controlling data packet transmission in message service

Country Status (1)

Country Link
CN (1) CN102137448A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103108358A (en) * 2011-11-14 2013-05-15 中兴通讯股份有限公司 Small data transmission method, device and system
CN104780401A (en) * 2015-03-25 2015-07-15 腾讯科技(深圳)有限公司 Video data sending method and device
CN109688059A (en) * 2017-10-19 2019-04-26 深圳市中兴微电子技术有限公司 A kind of congestion management of exchange network, device and computer storage medium
CN116074152A (en) * 2022-12-30 2023-05-05 博泰车联网(南京)有限公司 Method, device, electronic device and medium for message transmission

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101052043A (en) * 2007-04-30 2007-10-10 北京策度集成电路设计有限公司 TCP sending algorithm based on sending window and reciprocating time
US20070286222A1 (en) * 2006-06-08 2007-12-13 Srinivasan Balasubramanian Achieving power savings through packet grouping
CN101453780A (en) * 2007-12-03 2009-06-10 中兴通讯股份有限公司 Electricity saving method for TD-SCDMA terminal
CN101977358A (en) * 2010-09-26 2011-02-16 北京握奇数据系统有限公司 Method, device and equipment for transmitting data short messages

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070286222A1 (en) * 2006-06-08 2007-12-13 Srinivasan Balasubramanian Achieving power savings through packet grouping
CN101052043A (en) * 2007-04-30 2007-10-10 北京策度集成电路设计有限公司 TCP sending algorithm based on sending window and reciprocating time
CN101453780A (en) * 2007-12-03 2009-06-10 中兴通讯股份有限公司 Electricity saving method for TD-SCDMA terminal
CN101977358A (en) * 2010-09-26 2011-02-16 北京握奇数据系统有限公司 Method, device and equipment for transmitting data short messages

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103108358A (en) * 2011-11-14 2013-05-15 中兴通讯股份有限公司 Small data transmission method, device and system
CN103108358B (en) * 2011-11-14 2018-01-30 中兴通讯股份有限公司 A kind of small data transmission method and device, system
CN104780401A (en) * 2015-03-25 2015-07-15 腾讯科技(深圳)有限公司 Video data sending method and device
CN104780401B (en) * 2015-03-25 2017-12-22 腾讯科技(深圳)有限公司 The sending method and device of video data
CN109688059A (en) * 2017-10-19 2019-04-26 深圳市中兴微电子技术有限公司 A kind of congestion management of exchange network, device and computer storage medium
CN109688059B (en) * 2017-10-19 2022-02-01 深圳市中兴微电子技术有限公司 Congestion management method and device for switching network and computer storage medium
CN116074152A (en) * 2022-12-30 2023-05-05 博泰车联网(南京)有限公司 Method, device, electronic device and medium for message transmission

Similar Documents

Publication Publication Date Title
CN102143444B (en) A service distribution platform message push method, related equipment and system
CN110199568B (en) Connection recovery method, access and mobility management functional entities and user equipment
CN102143534B (en) Method, equipment and system for processing bandwidth control
US7965706B2 (en) Communication control apparatus
CN109429364A (en) The method and apparatus for establishing session
US10419371B2 (en) Methods and systems for delayed notifications in communications networks
CN109428866A (en) Method, system and the computer readable storage medium of subscriber identity information are provided
WO2007033549A1 (en) An offline message transmission method
CN105578440B (en) The transmission method and device of instant messaging business heartbeat packet in LTE system
CN104427286A (en) Method and system for making video call
CN103166832A (en) Method and server for sending message
CN102137448A (en) Method and equipment for controlling data packet transmission in message service
CN103139142B (en) Processing method, equipment and the system of streaming media service data
CN101557342A (en) Forwarding method of multicast messages and router
CN105828387B (en) A kind of wireless communication system, method for processing business and device
CN100505758C (en) Mobile mail terminal adaptation method and system
WO2010063218A1 (en) Mobile email service processing method and device
CN104683402A (en) Communication method and user equipment
WO2008003217A1 (en) A method and appratus and system for transfering short message
CN100449994C (en) A method and system for storing session information in instant message service
US9596577B1 (en) Relaying mobile communications
CN102685698A (en) Method, device and system for forwarding data short messages of different operators
CN108401306B (en) Communication acceleration method, device and terminal
CN100584061C (en) Method and system for buffering applied service medium data
CN103796229A (en) Session link control method and apparatus

Legal Events

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

Application publication date: 20110727