CN1878131A - Method and system for carrying out flow-control - Google Patents
Method and system for carrying out flow-control Download PDFInfo
- Publication number
- CN1878131A CN1878131A CNA2005100766219A CN200510076621A CN1878131A CN 1878131 A CN1878131 A CN 1878131A CN A2005100766219 A CNA2005100766219 A CN A2005100766219A CN 200510076621 A CN200510076621 A CN 200510076621A CN 1878131 A CN1878131 A CN 1878131A
- Authority
- CN
- China
- Prior art keywords
- message
- priority
- internal queue
- level
- scheduling
- 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
Links
Images
Landscapes
- Telephonic Communication Services (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明涉及一种进行流量控制的方法和系统,其核心是:首先获取内部队列长度和消息包在内部队列中平均停留时间的综合参数,或CPU占有率检测结果,当确认所述获取综合参数或所述CPU占有率检测结果数据超过设定阈值时,通过设定全局共享参数进行流量控制。本发明通过双重检测机制,能够对系统过载情况把握得更加准确,保证了系统处理能力得到有效的利用;而且,通过设定全局共享参数进行流量控制,保证了重要业务在系统过载时得到优先处理。另外通过设置全局共享参数对预进入输入缓冲区的消息和/或设置不同优先级的内部队列中的消息进行控制,更能保证重要业务在系统过载时得到优先处理,提高了系统的有效处理率以及有效消息的处理率。
The present invention relates to a method and system for flow control, the core of which is: first obtain the comprehensive parameters of the length of the internal queue and the average residence time of message packets in the internal queue, or the detection result of the CPU occupancy rate, and when the obtained comprehensive parameters are confirmed Or when the CPU occupancy detection result data exceeds a set threshold, flow control is performed by setting global shared parameters. Through the dual detection mechanism, the present invention can grasp the overload situation of the system more accurately, ensuring the effective use of the system processing capacity; moreover, by setting global shared parameters for flow control, it ensures that important services are processed preferentially when the system is overloaded . In addition, by setting global shared parameters to control the messages that pre-enter the input buffer and/or the messages in the internal queues with different priorities, it can ensure that important services are prioritized when the system is overloaded, and the effective processing rate of the system is improved. and the processing rate of valid messages.
Description
技术领域technical field
本发明涉及电子及通信领域,尤其涉及一种进行流量控制的方法和系统。The invention relates to the fields of electronics and communication, in particular to a flow control method and system.
背景技术Background technique
在电子及通信领域,系统资源,如CPU处理能力、定时器、内存缓冲区等非常有限。随着系统通信流量的增大,各个通信流程往往由于分配不到系统资源,而出现连接请求异常终止的现象,终端用户会认为连接请求等待的时间过长,而再次试呼,这样无疑会导致连接请求的负荷加重。当连接请求负荷过重时,就可能会造成CPU占用率过高,导致系统性能急剧下降,进而导致成功呼叫密度下降。In the field of electronics and communications, system resources, such as CPU processing power, timers, and memory buffers, are very limited. With the increase of system communication traffic, various communication processes often have connection requests terminated abnormally due to lack of system resources. Connection requests are under heavy load. When the connection request load is too heavy, it may cause the CPU usage to be too high, resulting in a sharp decline in system performance, which in turn leads to a decrease in the density of successful calls.
成功呼叫密度下降意味着接通率下降、吞吐量下降,通信延迟增大。被拒绝的呼叫次数占呼叫总次数的比例越大,吞吐量下降的速率越快,最终将导致话务量的损失,以及用户满意度的下降。因而,尽早地决定拒绝或接收连接请求,即对连接请求消息进行流量控制,能够使有限的系统资源得到有效的利用。A lower density of successful calls means lower connection rates, lower throughput, and higher communication delays. The greater the proportion of rejected calls to the total number of calls, the faster the rate of throughput decline will eventually lead to the loss of traffic and the decline of user satisfaction. Therefore, deciding to reject or accept the connection request as early as possible, that is, performing flow control on the connection request message, can effectively utilize limited system resources.
与本发明相关的现有技术中,进行流量控制的技术方案,结合图1进行说明:In the prior art related to the present invention, the technical solution for flow control is described in conjunction with FIG. 1:
首先将上一环节来的待处理的消息放到系统的输入缓冲区;First put the pending message from the previous link into the input buffer of the system;
同时,系统实时检测CPU占用率,如果系统CPU占用率在一段时间内平均值未超过设定阈值,则准入模块正常读取输入缓冲内的消息并对其进行处理,然后将处理后的消息发送到输出缓冲区;如果系统CPU占用率在一段时间内平均值超过设定阈值,则通知准入模块开始启动流量控制,准入模块将进入系统的过量消息包丢弃,持续一段时间,直到CPU占用率回落到另一个设定的阈值,系统恢复正常运行。At the same time, the system detects the CPU usage in real time. If the average CPU usage of the system does not exceed the set threshold within a period of time, the admission module normally reads the messages in the input buffer and processes them, and then sends the processed messages to Send to the output buffer; if the average CPU usage of the system exceeds the set threshold for a period of time, the admission module will be notified to start flow control, and the admission module will discard the excessive message packets entering the system for a period of time until the CPU Occupancy drops back to another set threshold and the system resumes normal operation.
由上述现有技术的技术方案可以看出,其存在如下不足:As can be seen from the technical solutions of the above-mentioned prior art, it has the following deficiencies:
1、现有技术仅仅以CPU占用率作为流量控制的依据,导致系统处理能力不能得到有效的利用。1. The prior art only uses the CPU occupancy rate as the basis for flow control, resulting in that the system processing capacity cannot be effectively utilized.
因为影响系统处理能力的实质因素是消息包在输入缓冲区内等待的时间过长,而CPU占用率增大仅仅是一种表象,如果仅仅以CPU占用率作为流量控制的依据,有可能导致过早结束系统过载状态,此时CPU不能满负荷工作,因此系统处理能力不能得到有效的利用。Because the essential factor affecting the system processing capability is that the waiting time of message packets in the input buffer is too long, and the increase of CPU usage rate is only an appearance. If only the CPU usage rate is used as the basis for flow control, it may lead to excessive If the system overload state is ended early, the CPU cannot work at full capacity at this time, so the system processing capacity cannot be effectively utilized.
2、现有技术对消息不加区分直接丢弃,导致系统对消息的有效处理率下降。2. The prior art directly discards the messages without distinction, resulting in a decrease in the effective processing rate of the messages by the system.
对于一个流程,因为流程中间的消息优先级高于流程的初始消息,如果对消息不加区分就直接丢弃,将会导致系统对消息的有效处理率下降。For a process, because the priority of the message in the middle of the process is higher than the initial message of the process, if the message is discarded without distinction, the effective processing rate of the message will be reduced by the system.
3、一部分消息在输入缓冲区内等待的时间过长,已经没有必要处理。如果不将延时过长而失效的消息包剔除,系统将有一部分资源花费在无效的处理上,而对有效消息的处理率下降。3. Some messages have been waiting in the input buffer for too long, and there is no need to process them. If the message packets that are too long and invalid are not removed, some resources of the system will be spent on invalid processing, and the processing rate of valid messages will decrease.
发明内容Contents of the invention
本发明的目的是提供一种进行通信流量控制的方法和系统,通过本发明,解决了现有技术中由于仅仅以CPU占用率作为流量控制的依据而导致系统处理能力不能得到有效的利用的问题。解决了现有技术中由于对消息不加区分直接丢弃而导致系统对消息的有效处理率下降的问题。The purpose of the present invention is to provide a method and system for communication flow control. Through the present invention, the problem in the prior art that the system processing capacity cannot be effectively utilized due to the fact that only the CPU occupancy rate is used as the basis for flow control is solved. . It solves the problem in the prior art that the effective processing rate of the message is decreased by the system because the message is directly discarded without distinction.
另外,本发明的目的是提供另一种进行通信流量控制的方法和系统,解决了现有技术中由于未将延时过长而失效的消息包剔除,导致系统对有效消息的处理率下降的问题。In addition, the purpose of the present invention is to provide another method and system for communication flow control, which solves the problem in the prior art that the processing rate of effective messages decreases due to the fact that the invalid message packets are not eliminated due to too long delay. question.
本发明的目的是通过以下技术方案实现的:The purpose of the present invention is achieved through the following technical solutions:
本发明提供了一种进行流量控制的方法,包括:The invention provides a method for flow control, including:
A、获取内部队列长度和消息包在内部队列中平均停留时间的综合参数,或CPU占有率检测结果;A. Obtain the comprehensive parameters of the internal queue length and the average residence time of message packets in the internal queue, or the CPU occupancy detection results;
B、当确认所述获取综合参数或所述CPU占有率检测结果数据超过设定的阈值时,通过设定的全局共享参数进行通信流量的控制。B. When it is confirmed that the acquired comprehensive parameter or the CPU occupancy rate detection result data exceeds the set threshold, control the communication flow through the set global shared parameters.
其中,所述步骤B具体包括:Wherein, the step B specifically includes:
B1、判断所述获取的综合参数或所述CPU占有率检测结果数据是否超过设定的阈值,若否,则执行步骤B2;若是,则执行步骤B3;B1. Judging whether the obtained comprehensive parameter or the CPU occupancy rate detection result data exceeds a set threshold, if not, then execute step B2; if yes, execute step B3;
B2、清除流控标志,进入正常运行状态,并执行步骤B1;B2. Clear the flow control flag, enter the normal operation state, and execute step B1;
B3、设置流控标志,通过设置的全局共享参数进行通信流量的控制,然后继续执行步骤B1。B3. Set the flow control flag, control the communication flow through the set global shared parameters, and then proceed to step B1.
其中,所述全局共享参数包括:Wherein, the global shared parameters include:
消息优先级配置参数和/或调度扫描权重参数。Message priority configuration parameters and/or scheduled scan weight parameters.
其中,所述步骤B3包括:Wherein, the step B3 includes:
B31、读取所述全局共享参数;B31. Read the global shared parameters;
B32、根据所述全局共享参数对不同优先级等级的内部队列中的消息流量进行相应级别的流量控制,然后继续执行步骤B1。B32. Perform corresponding level flow control on the message flow in internal queues of different priority levels according to the global shared parameters, and then continue to execute step B1.
其中,所述步骤B32具体包括:Wherein, the step B32 specifically includes:
B321、根据所述全局共享参数判断优先级等级最高的内部队列是否满,若是,则进行紧急流量控制,然后继续执行步骤B1;否则,执行步骤B322;B321. Determine whether the internal queue with the highest priority level is full according to the global shared parameters, if so, perform emergency flow control, and then continue to execute step B1; otherwise, execute step B322;
B322、根据所述全局共享参数判断优先级等级最高的内部队列以外的内部队列是否满,若是,则进行一般性流量控制,然后继续执行步骤B1;否则,执行步骤B1。B322. According to the global shared parameters, it is judged whether internal queues other than the internal queue with the highest priority level are full, if yes, perform general flow control, and then continue to execute step B1; otherwise, execute step B1.
其中,步骤B321中所述进行紧急流量控制的过程具体包括:Wherein, the process of emergency flow control described in step B321 specifically includes:
B3211、当确认内部队列中的消息为初始消息或重试消息时,根据设定的消息优先级配置参数,将初始消息或重试消息的优先级等级降低一级;B3211. When it is confirmed that the message in the internal queue is an initial message or a retry message, according to the set message priority configuration parameter, the priority level of the initial message or the retry message is reduced by one level;
B3212、按照下降后的优先级等级从高到低的顺序对优先级等级下降后的初始消息或重试消息进行调度;B3212. Scheduling the initial message or retry message after the priority level has dropped according to the order of the priority level after the drop from high to low;
或,or,
B3213、当确认内部队列中的消息为初始消息或重试消息时,根据设定的调度扫描权重参数将优先级等级最高的内部队列的调度扫描权重增加一级,并将优先级等级最低的内部队列的调度扫描权重降低一级;B3213. When it is confirmed that the message in the internal queue is an initial message or a retry message, increase the scheduling scanning weight of the internal queue with the highest priority level by one level according to the set scheduling scanning weight parameter, and increase the scheduling scanning weight of the internal queue with the lowest priority level. The scheduling scan weight of the queue is reduced by one level;
B3214、根据变化后的调度扫描权重参数以及优先级等级从高到低的顺序对所述初始消息或重试消息进行调度;B3214. Schedule the initial message or the retry message according to the changed scheduling scan weight parameter and the order of priority levels from high to low;
或,or,
B3215、当确认内部队列中的消息为初始消息或重试消息时,根据设定的消息优先级配置参数,将初始消息的优先级等级降低一级;以及,根据设定的调度扫描权重参数将优先级等级最高的内部队列的调度扫描权重增加一级,并将优先级等级最低的内部队列的调度扫描权重降低一级;B3215. When confirming that the message in the internal queue is an initial message or a retry message, according to the set message priority configuration parameter, the priority level of the initial message is reduced by one level; and, according to the set scheduling scan weight parameter, the The scheduled scan weight of the internal queue with the highest priority level is increased by one level, and the scheduled scan weight of the internal queue with the lowest priority level is decreased by one level;
B3216、根据变化后的调度扫描权重参数,以及按照下降后的优先级等级从高到低的顺序对优先级等级下降后的初始消息或重试消息进行调度;B3216. Scheduling the initial message or retry message after the priority level has dropped according to the changed scheduling scan weight parameter, and according to the descending priority level from high to low;
或,or,
B3217、当确认所述内部队列中的消息为初始消息时,则根据设定的消息优先级配置参数,将初始消息的优先级等级下降一级。B3217. When it is confirmed that the message in the internal queue is the initial message, according to the set message priority configuration parameters, the priority level of the initial message is lowered by one level.
B3218、判断所述内部队列中的消息是否为重试初始消息,若是,则根据设定的消息优先级配置参数,将初始消息的优先级等级再下降一级,然后执行步骤B3219;否则,直接执行步骤B3220;B3218. Judging whether the message in the internal queue is a retry initial message, if so, then according to the set message priority configuration parameters, the priority level of the initial message is lowered by one level, and then step B3219 is performed; otherwise, directly Execute step B3220;
B3219、按照下降后的优先级等级从高到低的顺序对优先级等级下降后的重试初始消息进行调度;B3219. Schedule the retry initial message after the priority level drops according to the descending priority level from high to low;
B3220、按照下降后的优先级等级从高到低的顺序对优先级等级下降后的初始消息进行调度。B3220. Scheduling the initial messages with reduced priority levels in descending order of the reduced priority levels.
或,or,
B3221、当确认所述内部队列中的消息为初始消息时,则根据设定的消息优先级配置参数,将初始消息的优先级等级下降一级;B3221. When it is confirmed that the message in the internal queue is the initial message, then according to the set message priority configuration parameter, the priority level of the initial message is lowered by one level;
B3222、判断所述内部队列中的消息是否为重试初始消息,若是,则根据设定的消息优先级配置参数,将初始消息的优先级等级再下降一级,以及,根据设定的调度扫描权重参数将优先级等级最高的内部队列的调度扫描权重增加一级,并将优先级等级最低的内部队列的调度扫描权重降低一级,然后执行步骤B3223;否则,直接执行步骤B3224;B3222. Determine whether the message in the internal queue is a retry initial message, and if so, lower the priority level of the initial message by one level according to the set message priority configuration parameter, and scan according to the set schedule The weight parameter increases the scheduling scanning weight of the internal queue with the highest priority level by one level, and decreases the scheduling scanning weight of the internal queue with the lowest priority level by one level, and then executes step B3223; otherwise, directly executes step B3224;
B3223、根据变化后的调度扫描权重参数,以及按照下降后的优先级等级从高到低的顺序对优先级等级下降后的重试初始消息进行调度;B3223. According to the changed scheduling scanning weight parameter, and according to the order of the descending priority rank from high to low, schedule the retry initial message after the descending priority rank;
B3224、根据变化后的调度扫描权重参数,以及按照下降后的优先级等级从高到低的顺序对优先级等级下降后的初始消息进行调度。B3224. According to the changed scheduling scan weight parameter, and according to the order of the decreased priority level from high to low, schedule the initial message with the decreased priority level.
其中,步骤B322中所述进行一般性流量控制的过程具体包括:Wherein, the process of performing general flow control described in step B322 specifically includes:
B3221、根据设定的消息优先级配置参数,将内部队列中的重试消息的优先级等级降低一级;B3221. According to the set message priority configuration parameters, the priority level of the retry message in the internal queue is reduced by one level;
B3222、按照下降后的优先级等级从高到低的顺序对优先级等级下降后的重试消息进行调度。B3222. Scheduling the retry messages after the priority level has dropped according to the order of the priority level after the drop from high to low.
其中,所述步骤B具体包括:Wherein, the step B specifically includes:
B4、判断所述获取的综合参数或所述CPU占有率检测结果数据是否超过设定的阈值,若否,则清除流控标志,进入正常运行状态;若是,则执行步骤B5;B4. Judging whether the acquired comprehensive parameter or the CPU occupancy rate detection result data exceeds the set threshold, if not, clear the flow control flag and enter the normal operation state; if so, execute step B5;
B5、设置流控标志,通过设置的全局共享参数进行通信流量的控制。B5. Set the flow control flag, and control the communication flow through the set global shared parameters.
B6、根据输入缓冲区内的消息量和/或内部队列中的消息量进行通信流量的控制。B6. Control the communication flow according to the message volume in the input buffer and/or the message volume in the internal queue.
其中,所述步骤B6具体包括:Wherein, the step B6 specifically includes:
B61、判断输入缓冲区内是否有消息,若是,对准备进入所述输入缓冲区的消息进行准入控制,然后继续执行步骤B4;否则,清流控标志,进入正常运行状态;B61. Determine whether there is a message in the input buffer, if so, perform admission control on the message that is about to enter the input buffer, and then continue to execute step B4; otherwise, clear the flow control flag and enter the normal operation state;
或,or,
B62、判断内部队列中是否有消息,若是,则通过对不同优先级队列设置的调度扫描权重参数进行调度处理,然后继续执行步骤B4;否则,清流控标志,进入正常运行状态;B62, judging whether there is a message in the internal queue, if so, then carry out scheduling processing by the scheduling scan weight parameters set for different priority queues, and then continue to perform step B4; otherwise, clear the flow control flag and enter the normal operation state;
或,or,
B63、判断输入缓冲区内是否有消息,若是,则对准备进入所述输入缓冲区的消息进行准入控制,然后继续执行步骤B4;否则,执行步骤B64;B63. Determine whether there is a message in the input buffer, and if so, perform admission control on the message that is about to enter the input buffer, and then continue to execute step B4; otherwise, execute step B64;
B64、判断内部队列中是否有消息,若是,则通过为不同优先级队列设置的调度扫描权重参数进行通信流量的控制,然后继续执行步骤B4;否则,清流控标志,进入正常运行状态。B64. Determine whether there is a message in the internal queue, if so, control the communication flow through the scheduling scanning weight parameters set for different priority queues, and then continue to perform step B4; otherwise, clear the flow control flag and enter the normal operation state.
其中,所述步骤B6还包括:Wherein, said step B6 also includes:
B65、判断调度扫描次数是否已到,若是,则结束此过程;否则,转入步骤B6。B65. Determine whether the number of scheduled scans has been reached, and if so, end the process; otherwise, go to step B6.
其中,步骤B6中所述对准备进入所述输入缓冲区的消息进行准入控制的过程具体包括:Wherein, the process of performing admission control on the messages ready to enter the input buffer described in step B6 specifically includes:
C1、从输入缓冲区读一条消息,并设定所述消息的消息生存期;C1. Read a message from the input buffer, and set the message lifetime of the message;
C2、根据用户身份标识判断所述消息是否为初始消息或重试消息,若是,则将所述初始消息或重试消息的优先级降低一个等级,然后执行步骤C3;否则,直接执行步骤C3;C2. Judging whether the message is an initial message or a retry message according to the user identity, if so, lowering the priority of the initial message or the retry message by one level, and then performing step C3; otherwise, directly performing step C3;
C3、根据所述消息的优先级等级,判断对应的内部队列是否满,若是,则丢弃所述消息;否则,将所述携带消息生存期的消息放入内部队列中,然后结束此过程;C3. According to the priority level of the message, judge whether the corresponding internal queue is full, if so, discard the message; otherwise, put the message carrying the message lifetime into the internal queue, and then end the process;
或,or,
C4、从输入缓冲区读一条消息,并设定所述消息的消息生存期;C4. Read a message from the input buffer, and set the message lifetime of the message;
C5、根据用户身份标识判断所述消息是否为初始消息,若是,则将所述初始消息的优先级降低一个等级,然后执行步骤C6;否则,直接执行步骤C6;C5. Judging whether the message is an initial message according to the user ID, if so, lowering the priority of the initial message by one level, and then performing step C6; otherwise, directly performing step C6;
C6、根据用户身份标识判断所述消息是否为重试消息,若是,则将所述重试消息的优先级再降低一个等级,然后执行步骤C7;否则直接执行步骤C7;C6. Judging whether the message is a retry message according to the user identity, if so, then lowering the priority of the retry message by one level, and then performing step C7; otherwise, directly performing step C7;
C7、根据所述消息的优先级等级,判断对应的内部队列是否满,若是,则丢弃所述消息;否则,将所述消息放入内部队列中,然后结束此过程。C7. According to the priority level of the message, judge whether the corresponding internal queue is full, and if so, discard the message; otherwise, put the message into the internal queue, and then end this process.
其中,步骤B6中所述通过对不同优先级队列设置的调度扫描权重参数进行调度处理的过程具体包括:Wherein, the process of scheduling the scheduling process through the scheduling scanning weight parameters set for different priority queues described in step B6 specifically includes:
D1、根据加权调度算法,按照从高到低的优先级等级顺序从内部队列中读取一条消息;D1. According to the weighted scheduling algorithm, read a message from the internal queue in order of priority from high to low;
D2、判断本优先级的内部队列中的消息是否调度完毕,若是,则对下一等级的优先级的内部队列中的消息进行调度;否则,转入步骤D1;D2. Determine whether the messages in the internal queue of this priority have been scheduled, and if so, schedule the messages in the internal queue of the next priority level; otherwise, go to step D1;
D3、判断所有优先级内部队列是否调度扫描完毕,若是,则结束此过程;否则,转入步骤D1。D3. Determine whether all priority internal queues have been scheduled and scanned, and if so, end the process; otherwise, go to step D1.
其中,步骤D1中所述加权调度算法具体包括:Wherein, the weighted scheduling algorithm described in step D1 specifically includes:
每轮扫描所有的内部队列;以及,scan all internal queues each round; and,
根据设定的调度扫描权重参数,每轮从优先级等级高的内部队列中调度读出的消息数量大于从优先级等级低的内部队列中调度读出的消息数量;以及,According to the set scheduling scan weight parameter, the number of messages scheduled to be read from internal queues with high priority levels in each round is greater than the number of messages scheduled to be read from internal queues with low priority levels; and,
每轮从所有优先级内部队列中调度读出的消息数量总和,与每轮从输入缓冲区调度读入的消息数量总和保持平衡;以及,The sum of the number of messages scheduled to be read from all priority internal queues per round is balanced against the sum of the number of messages scheduled to be read from the input buffer per round; and,
如果增大高优先级内部队列的调度扫描权重参数,则降低低优先级内部队列的调度扫描权重参数。If you increase the scheduled scan weight parameter of the high-priority internal queue, decrease the scheduled scan weight parameter of the low-priority internal queue.
其中,在所述步骤D1之前还包括:Wherein, before said step D1 also includes:
判断内部队列中的消息是否达到为其设定的消息生存期,若是,则将所述消息从内部队列中直接丢弃;否则,执行步骤D1。Judging whether the message in the internal queue has reached the message lifetime set for it, if so, discarding the message from the internal queue directly; otherwise, performing step D1.
本发明提供的一种进行流量控制的系统,包括:A system for flow control provided by the present invention includes:
主控模块、流控模块、输入缓冲区和内部队列;Main control module, flow control module, input buffer and internal queue;
所述主控模块获取内部队列长度和消息包在内部队列中平均停留时间的综合参数,或CPU占有率检测结果;并当确认所述获取综合参数或所述CPU占有率检测结果数据超过设定的阈值时,根据设定的全局共享参数通过所述流控模块,对准备进入输入缓冲区内的消息和内部队列中的消息进行流量控制。The main control module obtains the comprehensive parameters of the internal queue length and the average residence time of the message packet in the internal queue, or the CPU occupancy detection result; and when it is confirmed that the obtained comprehensive parameter or the CPU occupancy detection result data exceeds the set When the threshold is set, the flow control module performs flow control on the messages to be entered into the input buffer and the messages in the internal queue according to the set global shared parameters.
其中,所述的系统还包括:Wherein, the system also includes:
准入模块,用于接受主控模块的控制或主控模块和流控模块的控制,对准备进入输入缓冲区内的消息流量进行控制。The admission module is configured to accept the control of the main control module or the control of the main control module and the flow control module, and control the flow of messages ready to enter the input buffer.
其中,所述的系统还包括:Wherein, the system also includes:
调度模块,用于接受主控模块的控制或主控模块和流控模块的控制,根据设定的全局共享参数对内部队列中的消息流量进行调度读出。The scheduling module is used to accept the control of the main control module or the control of the main control module and the flow control module, and schedule and read the message flow in the internal queue according to the set global shared parameters.
由上述本发明提供的技术方案可以看出,本发明首先获取内部队列长度和消息包在内部队列中平均停留时间的综合参数,或CPU占有率检测结果,当确认所述获取综合参数或所述CPU占有率检测结果数据超过设定的阈值时,通过设定的全局共享参数进行通信流量控制。通过本发明采用的CPU占有率和缓冲延时/长度的双重检测机制,能够对系统的过载情况把握的更加准确,从而保证系统处理能力能够得到有效的利用;而且,本发明能够通过设定的全局共享参数进行通信流量控制,从而保证了重要业务在系统过载时得到优先处理,解决了现有技术中由于对消息不加区分直接丢弃而导致系统对消息的有效处理率下降的问题。As can be seen from the technical solution provided by the present invention above, the present invention first obtains the comprehensive parameters of the internal queue length and the average residence time of the message packet in the internal queue, or the CPU occupancy rate detection result, when it is confirmed that the obtained comprehensive parameters or the When the CPU occupancy rate detection result data exceeds the set threshold, the communication flow control is performed through the set global shared parameters. Through the dual detection mechanism of the CPU occupancy rate and the buffer delay/length adopted by the present invention, the overload situation of the system can be grasped more accurately, thereby ensuring that the system processing capacity can be effectively utilized; moreover, the present invention can pass the set Globally shared parameters are used to control the communication flow, thereby ensuring that important services are prioritized when the system is overloaded, and solving the problem in the prior art that the effective processing rate of messages by the system decreases due to indiscriminate direct discarding of messages.
另外本发明还通过设置的全局共享参数对准备进入输入缓冲区的消息流量和/或设置不同优先级的内部队列中的消息流量进行控制以及通过为消息设定的消息生存期,更进一步保证了重要业务在系统过载时得到优先处理,使系统对消息的有效处理率以及有效消息的处理率得到提高。In addition, the present invention also controls the message flow that is ready to enter the input buffer and/or the message flow in the internal queue with different priorities through the set global shared parameters, and through the message lifetime set for the message, it further guarantees Important businesses are prioritized when the system is overloaded, which improves the system's effective message processing rate and effective message processing rate.
附图说明Description of drawings
图1为现有技术的原理图;Fig. 1 is the schematic diagram of prior art;
图2为本发明第一实施例的原理图;Fig. 2 is the schematic diagram of the first embodiment of the present invention;
图3为本发明第二实施例的原理图;Fig. 3 is the schematic diagram of the second embodiment of the present invention;
图4为本发明第三实施例的原理图;Fig. 4 is the schematic diagram of the third embodiment of the present invention;
图5为本发明第四实施例的原理图;Fig. 5 is the schematic diagram of the fourth embodiment of the present invention;
图6为本发明第五实施例的流程图;Fig. 6 is the flowchart of the fifth embodiment of the present invention;
图7为本发明第五实施例中所述通过设置的全局共享参数进行通信流量的控制的流程图;FIG. 7 is a flow chart of controlling communication traffic through set global shared parameters described in the fifth embodiment of the present invention;
图8为本发明第六实施例的流程图;Fig. 8 is a flow chart of the sixth embodiment of the present invention;
图9为本发明第六实施例中所述调用准入模块,对准备进入所述输入缓冲区的消息进行准入控制的流程图一;FIG. 9 is a
图10为本发明第六实施例中所述调用准入模块,对准备进入所述输入缓冲区的消息进行准入控制的流程图二;Fig. 10 is a flow chart 2 of calling the admission module in the sixth embodiment of the present invention to perform admission control on messages that are about to enter the input buffer;
图11为本发明第七九实施例的流程图;Fig. 11 is a flowchart of the seventy-ninth embodiment of the present invention;
图12为本发明第七实施例中所述调用调度模块,通过对不同优先级队列设置的调度扫描权重参数进行调度处理的流程图;FIG. 12 is a flow chart of calling the scheduling module described in the seventh embodiment of the present invention to perform scheduling processing by scheduling and scanning weight parameters set for different priority queues;
图13为本发明第八实施例的流程图。Fig. 13 is a flow chart of the eighth embodiment of the present invention.
具体实施方式Detailed ways
本发明提供了一种进行通信流量控制的方法和系统,其核心是:主控模块获取内部队列长度和消息包在内部队列中平均停留时间的综合参数,或CPU占有率检测结果;当确认所述获取综合参数或所述CPU占有率检测结果数据超过设定的阈值时,通过设定的全局共享参数进行通信流量的控制。The present invention provides a method and system for communication flow control, the core of which is: the main control module obtains the comprehensive parameters of the length of the internal queue and the average residence time of message packets in the internal queue, or the detection result of the CPU occupancy; When the acquired comprehensive parameter or the CPU occupancy detection result data exceeds the set threshold, the communication flow is controlled through the set global shared parameters.
本发明提供的一种进行通信流量控制的系统的第一实施例的原理图如图2所示,包括:输入缓冲00、输出缓冲01、准入模块02、调度模块03、内部队列04、主控模块05、流控模块06和可配置全局共享参数数据库07。The schematic diagram of the first embodiment of a communication flow control system provided by the present invention is shown in Figure 2, including: input buffer 00, output buffer 01, admission module 02, scheduling module 03, internal queue 04, main Control module 05, flow control module 06 and configurable global shared parameter database 07.
输入缓冲区00,用于缓存来自上一环节的消息包;Input buffer 00, which is used to cache the message packets from the previous link;
输出缓冲区01,用于缓存已经处理的消息等待下一环节处理;Output buffer 01, which is used to cache processed messages and wait for the next link to process;
准入模块02,用于接受主控模块的控制或主控模块和流控模块的控制,对准备进入输入缓冲区内的消息流量进行控制:判断准备输入输入缓冲区00的消息是否具备准入条件,若具备准入条件,则根据全局流控参数设置消息优先级,启动定时器,设定消息生存期(Time to Live,TTL),即在每条消息前面增加一个TTL字段,填入初始值,例如5s,然后根据消息的优先级等级将消息放入对应的缓冲区内。对不符合准入条件的消息直接丢弃。The admission module 02 is used to accept the control of the main control module or the control of the main control module and the flow control module, and control the flow of messages to be entered into the input buffer: to determine whether the message to be input into the input buffer 00 has access Conditions, if the access conditions are met, set the message priority according to the global flow control parameters, start the timer, and set the message lifetime (Time to Live, TTL), that is, add a TTL field in front of each message and fill in the initial value, such as 5s, and then put the message into the corresponding buffer according to the priority level of the message. Messages that do not meet the entry conditions are discarded directly.
调度模块03,用于接受主控模块的控制或主控模块和流控模块的控制,根据设定的全局共享参数对内部队列中的消息流量进行调度读出:从内部队列04中调度扫描消息并进行处理。调度扫描按照流控模块06设定全局共享参数中的调度扫描权重参数进行,即每轮扫描所有队列,对的内部队列扫描处理的消息包个数按照内部队列的调度扫描权重从高到低的顺序依次减少。每次处理消息包的个数就是一个算法参数。算法参数可由流控模块通过全局共享参数进行动态调整。在处理的过程中,每处理一个消息包读一次定时器,得到消息包在队列中的等待时间,然后将队列中所有消息包的TTL减去等待时间。若发现TTL为0,就将消息丢弃;若发现内部队列已满,则将预进入内部队列中的消息丢弃。The scheduling module 03 is used to accept the control of the main control module or the control of the main control module and the flow control module, and schedule the message flow in the internal queue according to the set global shared parameters. Read: schedule the scan message from the internal queue 04 and process it. Scheduling scanning is performed according to the scheduling scanning weight parameter set in the global shared parameters of the flow control module 06, that is, scanning all queues in each round, and the number of message packets processed by the internal queue scanning is from high to low according to the scheduling scanning weight of the internal queue The order decreases successively. The number of message packets processed each time is an algorithm parameter. Algorithm parameters can be dynamically adjusted by the flow control module through global shared parameters. In the process of processing, the timer is read every time a message packet is processed to obtain the waiting time of the message packet in the queue, and then the TTL of all message packets in the queue is subtracted from the waiting time. If the TTL is found to be 0, the message will be discarded; if the internal queue is found to be full, the message pre-entered in the internal queue will be discarded.
内部队列04,本发明设置了三个优先级内部队列,优先级等级为1的内部队列优先级最高,优先级等级为3的内部队列优先级最低,当然可以根据系统需要设置其它数量的内部队列。Internal queue 04, the present invention sets three priority internal queues, the internal queue with a priority level of 1 has the highest priority, and the internal queue with a priority level of 3 has the lowest priority. Of course, other numbers of internal queues can be set according to system needs .
主控模块05,用于完成流量检测、启动流控运行模式和恢复正常运行模式等功能。所述主控模块获取内部队列长度和消息包在内部队列中平均停留时间的综合参数,或CPU占有率检测结果;并当确认所述获取综合参数或所述CPU占有率检测结果数据超过设定的阈值时,根据设定的全局共享参数通过所述流控模块,启动流控运行模式对准备进入输入缓冲区内的消息和内部队列中的消息进行流量控制。The main control module 05 is used to complete functions such as flow detection, starting the flow control operation mode and restoring the normal operation mode. The main control module obtains the comprehensive parameters of the internal queue length and the average residence time of the message packet in the internal queue, or the CPU occupancy detection result; and when it is confirmed that the obtained comprehensive parameter or the CPU occupancy detection result data exceeds the set When the threshold is set, the flow control operation mode is started through the flow control module according to the set global shared parameters to control the flow of messages to be entered into the input buffer and messages in the internal queue.
流控模块06,接收主控模块05的命令,通过设定全局共享参数对内部队列中的消息流量进行控制,并通过设定的全局共享参数影响准入模块和调度模块的行为;并将所设定的全局共享参数放置在可配置全局参数数据库07中。The flow control module 06 receives the command of the main control module 05, controls the message flow in the internal queue by setting the global shared parameters, and affects the behavior of the admission module and the scheduling module through the set global shared parameters; The set global shared parameters are placed in the configurable global parameter database 07.
可配置全局共享参数数据库07,对流控模块和主控模块是可写的,对准入模块和调度模块是只读的。全局共享参数包括消息优先级配置参数和调度扫描权重参数等。The configurable global shared parameter database 07 is writable for the flow control module and the main control module, and read-only for the admission module and the scheduling module. Global shared parameters include message priority configuration parameters and scheduling scan weight parameters, etc.
实施时,将本发明嵌入到将要进行流量控制的主机中,本发明随主机通信程序一起启动运行。During implementation, the present invention is embedded in a host computer that will perform flow control, and the present invention starts and operates together with the host computer communication program.
正常时,内部队列04将内部队列长度和消息包在内部队列中的平均停留时间上报给主控模块05;When normal, the internal queue 04 reports the length of the internal queue and the average residence time of the message packet in the internal queue to the main control module 05;
主控模块05监控通信流量,即输入缓冲区长度和延时综合参数,附加CPU占有率检测结果,只有当通信主机发生拥塞时,本发明的主控模块05检测到内部队列或CPU占有率异常,则通知流控模块06通过设定全局共享参数,使整个系统进入流控模式,即对系统的通信流量进行控制。The main control module 05 monitors the communication flow, that is, the input buffer length and the delay comprehensive parameter, and the additional CPU occupancy rate detection result. Only when the communication host is congested, the main control module 05 of the present invention detects that the internal queue or the CPU occupancy rate are abnormal , the flow control module 06 is notified to enable the entire system to enter the flow control mode by setting global shared parameters, that is, to control the communication flow of the system.
所述对系统的通信流量进行控制的过程可包括如下三个过程:The process of controlling the communication flow of the system may include the following three processes:
1、主控模块05通过流控模块06,根据设定的全局共享参数对消息流量进行控制。1. The main control module 05 controls the message flow according to the set global shared parameters through the flow control module 06 .
2、主控模块05调度或通过流控模块06调度准入模块02,根据设定的全局共享参数对准备进入输入缓冲区的消息流量进行控制。2. The main control module 05 schedules or schedules the admission module 02 through the flow control module 06, and controls the message flow to be entered into the input buffer according to the set global shared parameters.
3、主控模块05调度或通过流控模块06调度调度模块03,根据设定全局共享参数对内部队列中的消息流量进行控制。3. The main control module 05 schedules or schedules the schedule module 03 through the flow control module 06, and controls the message flow in the internal queue according to the set global shared parameters.
如采用单任务的操作系统,将上述三个过程(主控、准入和调度)串行处理。如采用多任务的操作系统,将上述三个过程并行处理。If a single-task operating system is adopted, the above three processes (main control, admission and scheduling) are processed serially. If a multitasking operating system is used, the above three processes are processed in parallel.
针对本发明所述系统提供的第二实施例,如图3所示,其与第一实施例的不同之处在于,其不包括调度模块03和准入模块02。在实现流量控制的过程中,仅仅包括主控模块05通过流控模块06,根据设定的全局共享参数对消息流量进行控制的过程。The second embodiment provided for the system of the present invention, as shown in FIG. 3 , differs from the first embodiment in that it does not include the scheduling module 03 and the admission module 02 . In the process of realizing the flow control, it only includes the process that the main control module 05 controls the message flow according to the set global shared parameters through the flow control module 06 .
针对本发明所述系统提供的第三实施例,如图4所示,其与第一实施例的不同之处在于,其不包括调度模块03。在实现流量控制的过程中,包括主控模块05通过流控模块06,根据设定的全局共享参数对消息流量进行控制的过程,以及,主控模块05调度或通过流控模块06调度准入模块02,根据设定的全局共享参数对准备进入输入缓冲区的消息流量进行控制的过程。The third embodiment provided for the system of the present invention, as shown in FIG. 4 , differs from the first embodiment in that it does not include the scheduling module 03 . In the process of realizing flow control, it includes the process that the main control module 05 controls the message flow according to the set global shared parameters through the flow control module 06, and the main control module 05 schedules or schedules admission through the flow control module 06 Module 02, the process of controlling the flow of messages ready to enter the input buffer according to the set global shared parameters.
针对本发明所述系统提供的第四实施例,如图5所示,其与第一实施例的不同之处在于,其不包括准入模块02。在实现流量控制的过程中,包括主控模块05通过流控模块06,根据设定的全局共享参数对消息流量进行控制的过程,以及,主控模块05调度或通过流控模块06调度调度模块03,根据设定全局共享参数对内部队列中的消息流量进行控制的过程。The fourth embodiment provided for the system of the present invention, as shown in FIG. 5 , differs from the first embodiment in that it does not include an admission module 02 . In the process of realizing flow control, it includes the process that the main control module 05 controls the message flow according to the set global shared parameters through the flow control module 06, and the main control module 05 schedules or schedules the scheduling module through the flow control module 06 03. The process of controlling the message flow in the internal queue according to the set global shared parameters.
本发明提供的一种进行通信流量控制的方法的第五实施例,如图6所示,包括:A fifth embodiment of a method for controlling communication flow provided by the present invention, as shown in FIG. 6 , includes:
步骤S101,获取内部队列长度和消息包在内部队列中平均停留时间的综合参数,或CPU占有率检测结果。Step S101 , acquiring comprehensive parameters of the length of the internal queue and the average stay time of message packets in the internal queue, or the detection result of the CPU occupancy rate.
步骤S102,判断所述获取的综合参数或所述CPU占有率检测结果数据是否超过设定的阈值,若否,则执行步骤S103;若是,则执行步骤S104。Step S102, judging whether the acquired comprehensive parameter or the CPU occupancy rate detection result data exceeds a set threshold, if not, execute step S103; if yes, execute step S104.
步骤S103,清除流控标志,进入正常运行状态。Step S103, clear the flow control flag, and enter the normal operation state.
步骤S104,置流控标志,通过设置的全局共享参数进行通信流量的控制,然后继续执行步骤S102。Step S104, set the flow control flag, and control the communication flow through the set global shared parameters, and then continue to execute step S102.
在步骤S104中,所述全局共享参数包括:消息优先级配置参数和/或调度扫描权重参数。在此步骤中,首先读取所述全局共享参数;然后根据所述全局共享参数对不同优先级等级的内部队列中的消息流量进行相应级别的流量控制。具体实现过程,如图7所示,包括如下步骤:In step S104, the global shared parameters include: message priority configuration parameters and/or scheduled scanning weight parameters. In this step, the global shared parameter is first read; and then the flow of messages in the internal queues of different priority levels is controlled at a corresponding level according to the global shared parameter. The specific implementation process, as shown in Figure 7, includes the following steps:
步骤S51,读取所述全局共享参数;Step S51, reading the global shared parameters;
步骤S52,根据所述全局共享参数判断优先级等级最高的内部队列是否满,若是,则执行步骤S53,即进行紧急流量控制,然后执行步骤S56;否则,执行步骤S54;Step S52, judge whether the internal queue with the highest priority level is full according to the global shared parameters, if so, execute step S53, that is, perform emergency flow control, and then execute step S56; otherwise, execute step S54;
步骤S54,根据所述全局共享参数判断优先级等级最高的内部队列以外的内部队列是否满,若是,则执行步骤S55,即进行一般性流量控制;否则,执行步骤S56,即返回步骤S103,即清除流控标志,进入正常运行状态。Step S54, judge whether the internal queues other than the internal queue with the highest priority level are full according to the global shared parameters, if so, execute step S55, that is, perform general flow control; otherwise, execute step S56, that is, return to step S103, that is Clear the flow control flag and enter the normal operation state.
在步骤S53中所述进行紧急流量控制的过程具体包括种情况。The process of performing emergency flow control in step S53 specifically includes the following situations.
第一种情况,当确认内部队列中的消息为初始消息或重试消息时,仅仅根据设定的消息优先级配置参数对所述内部队列的优先级等级进行调整,并根据调整后的优先级等级对该内部队列中的消息流量进行控制。具体实现过程如下:In the first case, when it is confirmed that the message in the internal queue is an initial message or a retry message, the priority level of the internal queue is only adjusted according to the set message priority configuration parameters, and according to the adjusted priority The class controls the flow of messages on this internal queue. The specific implementation process is as follows:
步骤531,当确认内部队列中的消息为初始消息或重试消息时,根据设定的消息优先级配置参数,将初始消息或重试消息的优先级等级降低一级。Step 531, when it is confirmed that the message in the internal queue is the initial message or the retry message, according to the set message priority configuration parameters, the priority level of the initial message or the retry message is lowered by one level.
步骤532,按照下降后的优先级等级从高到低的顺序对优先级等级下降后的初始消息或重试消息进行调度。Step 532, schedule the initial message or the retry message whose priority level has decreased according to the order of the decreased priority level from high to low.
第二种情况,当确认内部队列中的消息为初始消息或重试消息时,结合内部队列的优先级调整该优先级队列的调度扫描权重参数,然后根据调整后的调度扫描权重参数对该内部队列中的消息流量进行控制。具体实现过程如下:In the second case, when it is confirmed that the message in the internal queue is an initial message or a retry message, adjust the scheduling scan weight parameter of the priority queue according to the priority of the internal queue, and then adjust the internal queue according to the adjusted scheduling scan weight parameter. The flow of messages in the queue is controlled. The specific implementation process is as follows:
步骤533,当确认内部队列中的消息为初始消息或重试消息时,根据设定的调度扫描权重参数将优先级等级最高的内部队列的调度扫描权重增加一级,并将优先级等级最低的内部队列的调度扫描权重降低一级。Step 533, when it is confirmed that the message in the internal queue is an initial message or a retry message, increase the scheduled scan weight of the internal queue with the highest priority level by one level according to the set scheduled scan weight parameter, and increase the scheduled scan weight of the internal queue with the lowest priority level The scheduled scan weight of the internal queue is lowered by one level.
步骤534,根据变化后的调度扫描权重参数以及优先级等级从高到低的顺序对所述初始消息或重试消息进行调度。Step 534, schedule the initial message or the retry message according to the changed scheduling scan weight parameter and the order of priority levels from high to low.
第三种情况,当确认内部队列中的消息为初始消息或重试消息时,不仅调整该内部队列的优先级,而且还根据当前内部队列的优先级对该内部队列的调度扫描权重参数进行调整,并根据调整后的优先级以及调度扫描权重参数对该内部队列中的消息流量进行控制。具体实现过程如下:In the third case, when it is confirmed that the message in the internal queue is an initial message or a retry message, not only the priority of the internal queue is adjusted, but also the scheduling scan weight parameter of the internal queue is adjusted according to the priority of the current internal queue , and control the message flow in the internal queue according to the adjusted priority and the scheduling scan weight parameters. The specific implementation process is as follows:
步骤535,当确认内部队列中的消息为初始消息或重试消息时,根据设定的消息优先级配置参数,将初始消息的优先级等级降低一级;以及,根据设定的调度扫描权重参数将优先级等级最高的内部队列的调度扫描权重增加一级,并将优先级等级最低的内部队列的调度扫描权重降低一级;Step 535, when confirming that the message in the internal queue is an initial message or a retry message, according to the set message priority configuration parameter, lower the priority level of the initial message by one level; and, according to the set scheduling scan weight parameter Increase the scheduled scan weight of the internal queue with the highest priority level by one level, and decrease the scheduled scan weight of the internal queue with the lowest priority level by one level;
步骤536,根据变化后的调度扫描权重参数,以及按照下降后的优先级等级从高到低的顺序对优先级等级下降后的初始消息或重试消息进行调度;Step 536, according to the changed scheduling scanning weight parameter, and according to the order of the descending priority level from high to low, schedule the initial message or the retry message after the priority level is decreased;
第四种情况,当确认内部队列中的消息为初始消息时,不仅调整该内部队列的优先级,而且还要进一步判断所述消息是否为重试初始消息,并根据判断结果进一步调整该内部队列的优先级,然后根据调整后的优先级对该内部队列中的消息流量进行控制。具体实现过程包括:In the fourth case, when confirming that the message in the internal queue is the initial message, not only adjust the priority of the internal queue, but also further judge whether the message is a retry initial message, and further adjust the internal queue according to the judgment result priority, and then control the flow of messages in the internal queue according to the adjusted priority. The specific implementation process includes:
步骤537,当确认所述内部队列中的消息为初始消息时,则根据设定的消息优先级配置参数,将初始消息的优先级等级下降一级。Step 537: When it is confirmed that the message in the internal queue is the initial message, the priority level of the initial message is lowered by one level according to the set message priority configuration parameters.
步骤538,判断所述内部队列中的消息是否为重试初始消息,若是,则根据设定的消息优先级配置参数,将初始消息的优先级等级再下降一级,然后执行步骤539;否则,直接执行步骤540。Step 538, judging whether the message in the internal queue is a retry initial message, if so, then according to the set message priority configuration parameters, the priority level of the initial message is lowered by one level, and then step 539 is executed; otherwise, Execute step 540 directly.
步骤539,按照下降后的优先级等级从高到低的顺序对优先级等级下降后的重试初始消息进行调度。Step 539, schedule the retried initial message with the reduced priority level in descending order of the reduced priority level.
步骤540,按照下降后的优先级等级从高到低的顺序对优先级等级下降后的初始消息进行调度。Step 540, schedule the initial messages with reduced priority levels in descending order of the reduced priority levels.
第五种情况,在第四种的基础上结合调整该内部队列的调度扫描权重参数,对该内部队列中的消息流量进行控制。具体实现过程包括:In the fifth case, the message flow in the internal queue is controlled by adjusting the scheduling scanning weight parameter of the internal queue on the basis of the fourth case. The specific implementation process includes:
步骤541,当确认所述内部队列中的消息为初始消息时,则根据设定的消息优先级配置参数,将初始消息的优先级等级下降一级。Step 541, when it is confirmed that the message in the internal queue is the initial message, then according to the set message priority configuration parameters, the priority level of the initial message is lowered by one level.
步骤542,判断所述内部队列中的消息是否为重试初始消息,若是,则根据设定的消息优先级配置参数,将初始消息的优先级等级再下降一级,以及,根据设定的调度扫描权重参数将优先级等级最高的内部队列的调度扫描权重增加一级,并将优先级等级最低的内部队列的调度扫描权重降低一级,然后执行步骤543;否则,直接执行步骤544。Step 542, judging whether the message in the internal queue is a retry initial message, if so, according to the set message priority configuration parameter, the priority level of the initial message is lowered by one level, and, according to the set scheduling The scan weight parameter increases the scheduled scan weight of the internal queue with the highest priority level by one level, and decreases the scheduled scan weight of the internal queue with the lowest priority level by one level, and then executes step 543; otherwise, directly executes step 544.
步骤543,根据变化后的调度扫描权重参数,以及按照下降后的优先级等级从高到低的顺序对优先级等级下降后的重试初始消息进行调度。Step 543 , according to the changed scheduling scan weight parameter, and according to the descending priority order of the reduced priority level, schedule the retry initial message with the reduced priority level.
步骤544,根据变化后的调度扫描权重参数,以及按照下降后的优先级等级从高到低的顺序对优先级等级下降后的初始消息进行调度。Step 544: Schedule the initial messages with lowered priority levels according to the changed scheduling scan weight parameters and in descending order of the lowered priority levels.
在上述步骤S55中,所述进行一般性流量控制的过程具体包括:In the above step S55, the process of performing general flow control specifically includes:
首先根据设定的消息优先级配置参数,将内部队列中的重试消息的优先级等级降低一级;然后按照下降后的优先级等级从高到低的顺序对优先级等级下降后的重试消息进行调度。First, according to the set message priority configuration parameters, the priority level of the retry message in the internal queue is lowered by one level; then, the retry after the priority level is lowered is retried according to the descending priority level from high to low. Messages are scheduled.
针对本发明所述的方法提供的第六实施例,如图8所示,包括:The sixth embodiment provided for the method of the present invention, as shown in FIG. 8 , includes:
步骤S201,获取内部队列长度和消息包在内部队列中平均停留时间的综合参数,或CPU占有率检测结果。Step S201 , acquiring comprehensive parameters of the length of the internal queue and the average stay time of message packets in the internal queue, or the detection result of the CPU occupancy.
步骤S202,判断所述获取的综合参数或所述CPU占有率检测结果数据是否超过设定的阈值,若否,则执行步骤S203;若是,则执行步骤S204。Step S202, judging whether the acquired comprehensive parameter or the CPU occupancy detection result data exceeds a set threshold, if not, execute step S203; if yes, execute step S204.
步骤S203,清除流控标志,进入正常运行状态。Step S203, clear the flow control flag, and enter the normal operation state.
步骤S204,置流控标志,通过设置的全局共享参数进行通信流量的控制。此步骤与上述第五实施例中的描述雷同,不再详细描述。Step S204, setting a flow control flag, and controlling the communication flow through the set global shared parameters. This step is the same as the description in the fifth embodiment above, and will not be described in detail.
步骤S205,判断输入缓冲区内是否有消息,若是,则执行步骤S206;否则,执行步骤S203,清流控标志,进入正常运行状态;Step S205, determine whether there is a message in the input buffer, if so, execute step S206; otherwise, execute step S203, clear the flow control flag, and enter the normal operation state;
步骤S206,调用准入模块,对准备进入所述输入缓冲区的消息进行准入控制,然后继续执行步骤S202。Step S206, calling the admission module to perform admission control on the messages to be entered into the input buffer, and then continue to execute step S202.
步骤S206的具体实施过程包括两种情况,第一种情况如图9所示,包括如下步骤:The specific implementation process of step S206 includes two cases, the first case is shown in Figure 9, including the following steps:
21、从输入缓冲区读一条消息,并设定所述消息的消息生存期;21. Read a message from the input buffer, and set the message lifetime of the message;
22、根据用户身份标识判断所述消息是否为初始消息或重试消息,若是,则执行步骤23,将所述初始消息或重试消息的优先级降低一个等级,然后执行步骤24;否则,直接执行步骤24;22. Judging whether the message is an initial message or a retry message according to the user ID, if so, perform step 23, lower the priority of the initial message or retry message by one level, and then perform step 24; otherwise, directly Execute step 24;
24、根据所述消息的优先级等级,判断对应的内部队列是否满,若是,则执行步骤25,丢弃所述消息;否则,执行步骤26,将所述携带消息生存期的消息放入内部队列中,然后执行步骤27;24. According to the priority level of the message, judge whether the corresponding internal queue is full, if so, execute step 25, and discard the message; otherwise, execute step 26, and put the message carrying the message lifetime into the internal queue , and then perform step 27;
27、判断调度扫描次数是否已到,若是,则执行步骤28,结束此过程,返回步骤S202;否则,转入步骤21。27. Determine whether the number of scheduled scans has been reached, if yes, execute step 28, end this process, and return to step S202; otherwise, go to step 21.
第二种情况如图10所示,包括如下步骤:The second case is shown in Figure 10 and includes the following steps:
31、从输入缓冲区读一条消息,并设定所述消息的消息生存期;31. Read a message from the input buffer, and set the message lifetime of the message;
32、根据用户身份标识判断所述消息是否为初始消息,若是,则执行步骤33,即将所述初始消息的优先级降低一个等级,然后执行步骤34;否则,直接执行步骤34;32. Determine whether the message is an initial message according to the user ID, and if so, perform step 33, that is, lower the priority of the initial message by one level, and then perform step 34; otherwise, directly perform step 34;
34、根据用户身份标识判断所述消息是否为重试初始消息,若是,则执行步骤35,即将所述重试初始消息的优先级再降低一个等级,然后执行步骤36;否则直接执行步骤36;34. Determine whether the message is an initial retry message according to the user ID, if so, perform step 35, that is, lower the priority of the retry initial message by one level, and then perform step 36; otherwise, directly perform step 36;
36、根据所述消息的优先级等级,判断对应的内部队列是否满,若是,则执行步骤37,即丢弃所述消息,然后执行步骤39;否则,执行步骤38,即将所述消息放入内部队列中,然后执行步骤39。36. According to the priority level of the message, judge whether the corresponding internal queue is full, if so, execute step 37, that is, discard the message, and then execute step 39; otherwise, execute step 38, that is, put the message inside queue, and then go to step 39.
39,判断调度扫描次数是否已到,若是,则执行步骤40,结束此过程,返回步骤S202;否则,转入步骤31。39. Determine whether the number of scheduled scans has been reached, if yes, execute step 40, end this process, and return to step S202; otherwise, go to step 31.
针对本发明所述的方法提供的第七实施例,如图11所示,包括:The seventh embodiment provided for the method of the present invention, as shown in FIG. 11 , includes:
步骤S301,获取内部队列长度和消息包在内部队列中平均停留时间的综合参数,或CPU占有率检测结果。Step S301 , acquiring comprehensive parameters of the length of the internal queue and the average stay time of message packets in the internal queue, or the detection result of the CPU occupancy rate.
步骤S302,判断所述获取的综合参数或所述CPU占有率检测结果数据是否超过设定的阈值,若否,则执行步骤S303;若是,则执行步骤S304。Step S302, judging whether the acquired comprehensive parameter or the CPU occupancy detection result data exceeds a set threshold, if not, execute step S303; if yes, execute step S304.
步骤S303,清除流控标志,进入正常运行状态。Step S303, clear the flow control flag, and enter the normal operation state.
步骤S304,置流控标志,通过设置的全局共享参数进行通信流量的控制。此步骤与上述第五实施例中的描述雷同,不再详细描述。Step S304, setting a flow control flag, and controlling the communication flow through the set global shared parameters. This step is the same as the description in the fifth embodiment above, and will not be described in detail.
步骤S305,判断内部队列中是否有消息,若是,则执行步骤S306;否则执行步骤S307,清流控标志,进入正常运行状态;Step S305, determine whether there is a message in the internal queue, if so, execute step S306; otherwise execute step S307, clear the flow control flag, and enter the normal operation state;
步骤S306,调用调度模块,通过对不同优先级队列设置的调度扫描权重参数进行调度处理,然后继续执行步骤S302。In step S306, the scheduling module is invoked, and the scheduling processing is performed through the scheduling scan weight parameters set for different priority queues, and then step S302 is continued.
步骤S306中所述调用调度模块,通过对不同优先级队列设置的调度扫描权重参数进行调度处理的过程,如图12所示,具体包括:In step S306, the dispatching module is called, and the dispatching process is performed through the dispatching and scanning weight parameters set for different priority queues, as shown in FIG. 12 , specifically including:
71、判断内部队列中的消息是否达到为其设定的消息生存期,若是,则执行步骤72,将所述消息从内部队列中直接丢弃;否则,执行步骤73。71. Determine whether the message in the internal queue has reached the set message lifetime, if so, perform step 72, and directly discard the message from the internal queue; otherwise, perform step 73.
73、根据加权调度算法,按照从高到低的优先级等级顺序从内部队列中读取一条消息。73. According to the weighted scheduling algorithm, read a message from the internal queue in order of priority from high to low.
步骤73中所述加权调度算法具体包括:The weighted scheduling algorithm described in step 73 specifically includes:
每轮扫描所有的内部队列;以及,scan all internal queues each round; and,
根据设定的调度扫描权重参数,每轮从优先级等级高的内部队列中调度读出的消息数量大于从优先级等级低的内部队列中调度读出的消息数量;以及,According to the set scheduling scan weight parameter, the number of messages scheduled to be read from internal queues with high priority levels in each round is greater than the number of messages scheduled to be read from internal queues with low priority levels; and,
每轮从所有优先级内部队列中调度读出的消息数量总和,与每轮从输入缓冲区调度读入的消息数量总和保持平衡;以及,The sum of the number of messages scheduled to be read from all priority internal queues per round is balanced against the sum of the number of messages scheduled to be read from the input buffer per round; and,
如果增大高优先级内部队列的调度扫描权重参数,则降低低优先级内部队列的调度扫描权重参数。If you increase the scheduled scan weight parameter of the high-priority internal queue, decrease the scheduled scan weight parameter of the low-priority internal queue.
74、判断本优先级的内部队列中的消息是否调度完毕,若是,则执行步骤75,对下一等级的优先级的内部队列中的消息进行调度,然后执行步骤76;否则,转入步骤71;74. Determine whether the scheduling of the messages in the internal queue of this priority is completed, and if so, execute step 75 to schedule the messages in the internal queue of the next priority level, and then execute step 76; otherwise, go to step 71 ;
76、判断所有优先级内部队列是否调度扫描完毕,若是,则执行步骤77,结束此过程,返回步骤S302;否则,转入步骤71。76. Determine whether all priority internal queues have been scheduled and scanned, if yes, execute step 77, end this process, and return to step S302; otherwise, go to step 71.
针对本发明所述的方法提供的第八实施例,如图13所示,包括:The eighth embodiment provided for the method of the present invention, as shown in FIG. 13 , includes:
步骤S401,获取内部队列长度和消息包在内部队列中平均停留时间的综合参数,或CPU占有率检测结果。Step S401, obtaining the comprehensive parameters of the length of the internal queue and the average stay time of message packets in the internal queue, or the detection result of CPU occupancy.
步骤S402,判断所述获取的综合参数或所述CPU占有率检测结果数据是否超过设定的阈值,若否,则执行步骤S403;若是,则执行步骤S404。Step S402, judging whether the acquired comprehensive parameter or the CPU occupancy detection result data exceeds a set threshold, if not, execute step S403; if yes, execute step S404.
步骤S403,清除流控标志,进入正常运行状态。Step S403, clear the flow control flag, and enter the normal operation state.
步骤S404,置流控标志,通过设置的全局共享参数进行通信流量的控制。此步骤与上述第五实施例中的描述雷同,不再详细描述。Step S404, setting a flow control flag, and controlling the communication flow through the set global shared parameters. This step is the same as the description in the fifth embodiment above, and will not be described in detail.
步骤S405,判断输入缓冲区内是否有消息,若是,则执行步骤S406;否则,执行步骤S407;Step S405, judging whether there is a message in the input buffer, if so, execute step S406; otherwise, execute step S407;
步骤S406,即调用准入模块,对准备进入所述输入缓冲区的消息进行准入控制。此步骤与上述第六实施例中的描述雷同,不再详细描述。Step S406, that is, calling the admission module to perform admission control on the messages to be entered into the input buffer. This step is the same as the description in the sixth embodiment above, and will not be described in detail.
步骤S407,判断内部队列中是否有消息,若是,则执行步骤S408;否则,执行步骤S409,清流控标志,进入正常运行状态。Step S407, determine whether there is a message in the internal queue, if so, execute step S408; otherwise, execute step S409, clear the flow control flag, and enter the normal operation state.
步骤S408,调用调度模块,通过为不同优先级队列设置的调度扫描权重参数进行通信流量的控制,然后返回步骤S402。此步骤与上述第七实施例中的描述雷同,不再详细描述。In step S408, call the scheduling module to control the communication flow through the scheduling scan weight parameters set for different priority queues, and then return to step S402. This step is the same as the description in the seventh embodiment above, and will not be described in detail.
由上述本发明提供的技术方案可以看出,本发明首先获取内部队列长度和消息包在内部队列中平均停留时间的综合参数,或CPU占有率检测结果,当确认所述获取综合参数或所述CPU占有率检测结果数据超过设定的阈值时,通过设定的全局共享参数进行通信流量控制。通过本发明采用的CPU占有率和缓冲延时/长度的双重检测机制,能够对系统的过载情况把握的更加准确,从而保证系统处理能力能够得到有效的利用;而且,本发明能够通过设定的全局共享参数进行通信流量控制,从而保证了重要业务在系统过载时得到优先处理,解决了现有技术中由于对消息不加区分直接丢弃而导致系统对消息的有效处理率下降的问题。As can be seen from the technical solution provided by the present invention above, the present invention first obtains the comprehensive parameters of the internal queue length and the average residence time of the message packet in the internal queue, or the CPU occupancy rate detection result, when it is confirmed that the obtained comprehensive parameters or the When the CPU occupancy rate detection result data exceeds the set threshold, the communication flow control is performed through the set global shared parameters. Through the dual detection mechanism of the CPU occupancy rate and the buffer delay/length adopted by the present invention, the overload situation of the system can be grasped more accurately, thereby ensuring that the system processing capacity can be effectively utilized; moreover, the present invention can pass the set Globally shared parameters are used to control communication flow, thereby ensuring that important services are prioritized when the system is overloaded, and solving the problem in the prior art that the effective processing rate of messages by the system decreases due to indiscriminate direct discarding of messages.
另外本发明还通过设置的全局共享参数对准备进入输入缓冲区的消息流量和/或设置不同优先级的内部队列中的消息流量进行控制以及通过为消息设定的消息生存期,更进一步保证了重要业务在系统过载时得到优先处理,使系统对消息的有效处理率以及有效消息的处理率得到提高。In addition, the present invention also controls the message flow that is ready to enter the input buffer and/or the message flow in the internal queue with different priorities through the set global shared parameters, and through the message lifetime set for the message, it further guarantees Important businesses are prioritized when the system is overloaded, which improves the system's effective message processing rate and effective message processing rate.
以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。The above is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed in the present invention can easily think of changes or Replacement should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.
Claims (17)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB2005100766219A CN100450081C (en) | 2005-06-10 | 2005-06-10 | Method and system for flow control |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB2005100766219A CN100450081C (en) | 2005-06-10 | 2005-06-10 | Method and system for flow control |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1878131A true CN1878131A (en) | 2006-12-13 |
| CN100450081C CN100450081C (en) | 2009-01-07 |
Family
ID=37510430
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB2005100766219A Expired - Fee Related CN100450081C (en) | 2005-06-10 | 2005-06-10 | Method and system for flow control |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN100450081C (en) |
Cited By (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2008141548A1 (en) * | 2007-05-17 | 2008-11-27 | Huawei Technologies Co., Ltd. | A method and device of preventing attack for network equipment |
| CN102143040A (en) * | 2010-06-30 | 2011-08-03 | 华为技术有限公司 | Traffic control method and device |
| CN102217336A (en) * | 2011-05-06 | 2011-10-12 | 华为技术有限公司 | Message processing method and system |
| CN101459605B (en) * | 2008-12-31 | 2012-03-21 | 成都市华为赛门铁克科技有限公司 | Method and device for flow control |
| CN102904820A (en) * | 2012-09-25 | 2013-01-30 | 上海证券交易所 | Extensible traffic control data interaction method and system |
| CN101938396B (en) * | 2009-06-30 | 2013-04-17 | 华为技术有限公司 | Data stream control method and device |
| CN103415043A (en) * | 2013-07-15 | 2013-11-27 | 苏州阔地网络科技有限公司 | Information processing method and system |
| CN103581052A (en) * | 2012-08-02 | 2014-02-12 | 华为技术有限公司 | Data processing method, router and NDN system |
| CN103733581A (en) * | 2013-06-19 | 2014-04-16 | 华为技术有限公司 | Message processing method and base station |
| CN104795072A (en) * | 2015-03-25 | 2015-07-22 | 无锡天脉聚源传媒科技有限公司 | Method and device for coding audio data |
| CN104813639A (en) * | 2012-10-01 | 2015-07-29 | Abb研究有限公司 | Packet prioritizing in an industrial wireless network |
| CN105847437A (en) * | 2016-05-26 | 2016-08-10 | 北京科技大学 | Data transmission method |
| WO2016150051A1 (en) * | 2015-03-24 | 2016-09-29 | 新余兴邦信息产业有限公司 | Message issuing method for use in message queue and message issuing device |
| CN113992587A (en) * | 2021-12-27 | 2022-01-28 | 广东睿江云计算股份有限公司 | Flow control method and device, computer equipment and storage medium |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7369498B1 (en) * | 1999-12-13 | 2008-05-06 | Nokia Corporation | Congestion control method for a packet-switched network |
| AU2001245355A1 (en) * | 2000-02-29 | 2001-09-12 | Rensselaer Polytechnic Institute | Edge-to-edge traffic control for the internet |
| CN1142692C (en) * | 2000-11-06 | 2004-03-17 | 深圳市中兴通讯股份有限公司 | Method for overload control in CDMA cellular communication system |
| CN1297098C (en) * | 2003-05-09 | 2007-01-24 | 华为技术有限公司 | System flow controlling method |
-
2005
- 2005-06-10 CN CNB2005100766219A patent/CN100450081C/en not_active Expired - Fee Related
Cited By (21)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2008141548A1 (en) * | 2007-05-17 | 2008-11-27 | Huawei Technologies Co., Ltd. | A method and device of preventing attack for network equipment |
| CN101459605B (en) * | 2008-12-31 | 2012-03-21 | 成都市华为赛门铁克科技有限公司 | Method and device for flow control |
| CN101938396B (en) * | 2009-06-30 | 2013-04-17 | 华为技术有限公司 | Data stream control method and device |
| CN102143040A (en) * | 2010-06-30 | 2011-08-03 | 华为技术有限公司 | Traffic control method and device |
| CN102217336A (en) * | 2011-05-06 | 2011-10-12 | 华为技术有限公司 | Message processing method and system |
| US9848056B2 (en) | 2012-08-02 | 2017-12-19 | Huawei Technologies Co., Ltd. | Data processing method, router, and NDN system |
| CN103581052A (en) * | 2012-08-02 | 2014-02-12 | 华为技术有限公司 | Data processing method, router and NDN system |
| CN103581052B (en) * | 2012-08-02 | 2017-07-21 | 华为技术有限公司 | A kind of data processing method, router and NDN system |
| CN102904820A (en) * | 2012-09-25 | 2013-01-30 | 上海证券交易所 | Extensible traffic control data interaction method and system |
| CN102904820B (en) * | 2012-09-25 | 2015-06-10 | 上海证券交易所 | Extensible traffic control data interaction method and system |
| CN104813639A (en) * | 2012-10-01 | 2015-07-29 | Abb研究有限公司 | Packet prioritizing in an industrial wireless network |
| CN106792905A (en) * | 2013-06-19 | 2017-05-31 | 华为技术有限公司 | A kind of method of Message Processing and base station |
| CN103733581A (en) * | 2013-06-19 | 2014-04-16 | 华为技术有限公司 | Message processing method and base station |
| CN106792905B (en) * | 2013-06-19 | 2020-12-25 | 华为技术有限公司 | Message processing method and base station |
| CN103415043B (en) * | 2013-07-15 | 2016-02-03 | 阔地教育科技有限公司 | A kind of information processing method and system |
| CN103415043A (en) * | 2013-07-15 | 2013-11-27 | 苏州阔地网络科技有限公司 | Information processing method and system |
| WO2016150051A1 (en) * | 2015-03-24 | 2016-09-29 | 新余兴邦信息产业有限公司 | Message issuing method for use in message queue and message issuing device |
| CN104795072A (en) * | 2015-03-25 | 2015-07-22 | 无锡天脉聚源传媒科技有限公司 | Method and device for coding audio data |
| CN105847437A (en) * | 2016-05-26 | 2016-08-10 | 北京科技大学 | Data transmission method |
| CN113992587A (en) * | 2021-12-27 | 2022-01-28 | 广东睿江云计算股份有限公司 | Flow control method and device, computer equipment and storage medium |
| CN113992587B (en) * | 2021-12-27 | 2022-03-22 | 广东睿江云计算股份有限公司 | Flow control method, device, computer equipment and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN100450081C (en) | 2009-01-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN1152305C (en) | virtual machine system | |
| CN1878131A (en) | Method and system for carrying out flow-control | |
| CN1198473C (en) | Resource control system, method and base station and mobile station using the system, method | |
| CN1517869A (en) | Processor, arithmetic processing method, and priority determination method | |
| CN1791274A (en) | Method, device, and system for wireless communication | |
| CN1332536A (en) | Channel allocation method and communication device | |
| CN1666444A (en) | Packet communication system, packet communication method, base station, mobile station, control device, and packet communication program | |
| CN1235354C (en) | Radio control apparatus, base station, mobile communication method, mobile communication program recording medium containing the same, and mobile communication system | |
| CN1518393A (en) | Channel switching method of CDMA mobile radio system and base station of CDMA mobile radio system | |
| CN1532666A (en) | Information processing device, clock pulse control method and control program of the device | |
| CN1838077A (en) | Schedulability determination method and real-time system | |
| CN1475910A (en) | program execution device | |
| CN1159021A (en) | System clock setting device | |
| CN1638360A (en) | Packet transmission control apparatus and packet transmission control method | |
| CN1229952C (en) | Communication method | |
| CN1321273A (en) | Operating system and virtual computer system | |
| CN1856948A (en) | Mobile communication system, mobile communication method, base station, and mobile station | |
| CN1829121A (en) | Packet transmission control device and packet transmission control method | |
| CN1662074A (en) | Method and apparatus for scheduling packet | |
| CN1276672C (en) | Packet communications system, base station and mobile station | |
| CN1961600A (en) | Method and system for resource management in communication networks, related network and computer program product therefor | |
| CN101052119A (en) | Control method, device and use for video frequency ordering | |
| CN1182683C (en) | Queue management method providing proportional loss rate differentiation for message forwarding system | |
| CN1674560A (en) | Base station, communication apparatus, and communication system | |
| CN1598797A (en) | Real-time processor system and control method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| ASS | Succession or assignment of patent right |
Owner name: SHENZHEN TINNO WIRELESS TECHNOLOGY CO., LTD. Free format text: FORMER OWNER: HUAWEI TECHNOLOGY CO., LTD. Effective date: 20140527 |
|
| C41 | Transfer of patent application or patent right or utility model | ||
| COR | Change of bibliographic data |
Free format text: CORRECT: ADDRESS; FROM: 518129 SHENZHEN, GUANGDONG PROVINCE TO: 518053 SHENZHEN, GUANGDONG PROVINCE |
|
| TR01 | Transfer of patent right |
Effective date of registration: 20140527 Address after: 4, A, building 518053, building H-3, East China Town, 1, Xiangshan East Street, Shenzhen, Guangdong, Nanshan District Patentee after: Shenzhen Tinno Wireless Technology Co., Ltd. Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Patentee before: Huawei Technologies Co., Ltd. |
|
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20090107 Termination date: 20180610 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |