CN102045776A - Adaptive traffic stream switching method for communication network system and corresponding server - Google Patents

Adaptive traffic stream switching method for communication network system and corresponding server Download PDF

Info

Publication number
CN102045776A
CN102045776A CN2011100049423A CN201110004942A CN102045776A CN 102045776 A CN102045776 A CN 102045776A CN 2011100049423 A CN2011100049423 A CN 2011100049423A CN 201110004942 A CN201110004942 A CN 201110004942A CN 102045776 A CN102045776 A CN 102045776A
Authority
CN
China
Prior art keywords
interface
management server
business stream
service flow
handover management
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011100049423A
Other languages
Chinese (zh)
Other versions
CN102045776B (en
Inventor
张杨杨
王煜炜
刘敏
聂辉平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Institute of Computing Technology of CAS
Original Assignee
Institute of Computing Technology of CAS
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 Institute of Computing Technology of CAS filed Critical Institute of Computing Technology of CAS
Priority to CN 201110004942 priority Critical patent/CN102045776B/en
Publication of CN102045776A publication Critical patent/CN102045776A/en
Application granted granted Critical
Publication of CN102045776B publication Critical patent/CN102045776B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

本发明提供一种自适应业务流切换方法,对于每个多接口终端,执行下列步骤:1)所述业务流切换管理服务器周期性地获取该多接口终端的当前用户信息和当前链路状况;2)所述业务流切换管理服务器基于层次分析法分别建立判断矩阵,并计算出该多接口终端的各接口的综合满意度;3)按照业务优先级由高到低的顺序将各业务流排列形成预切换队列,按照接口综合满意度由高到低的顺序将各接口排列形成接口队列;4)将各业务流与各接口建立映射形成匹配关系;5)依照所述匹配关系执行业务流切换。本发明能够准确的反应当前各网络接口的通信性能。本发明不会明显增加用户端的开销。本发明在保证各业务流QOS的同时,充分考虑到用户的需求。本发明既支持移动场景,也支持非移动场景。

Figure 201110004942

The present invention provides an adaptive service flow switching method. For each multi-interface terminal, the following steps are performed: 1) The service flow switching management server periodically obtains the current user information and current link status of the multi-interface terminal; 2) The business flow switching management server establishes a judgment matrix based on the AHP respectively, and calculates the comprehensive satisfaction degree of each interface of the multi-interface terminal; 3) Arranges each business flow according to the order of business priority from high to low Forming a pre-switching queue, arranging the interfaces to form an interface queue according to the order of interface comprehensive satisfaction from high to low; 4) establishing a mapping between each service flow and each interface to form a matching relationship; 5) performing service flow switching according to the matching relationship . The invention can accurately reflect the communication performance of each current network interface. The present invention does not significantly increase the overhead of the user end. The present invention fully considers the needs of users while ensuring the QOS of each service flow. The present invention supports both mobile scenes and non-mobile scenes.

Figure 201110004942

Description

用于通信网络系统的自适应业务流切换方法及相应服务器 Adaptive service flow switching method and corresponding server for communication network system

技术领域technical field

本发明涉及业务流分发技术领域,具体地说,本发明涉及一种用于通信网络系统的自适应业务流切换方法及相应的业务流切换管理服务器。The present invention relates to the technical field of service flow distribution, in particular, the present invention relates to an adaptive service flow switching method for a communication network system and a corresponding service flow switching management server.

背景技术Background technique

下一代通信网络将是一个多种接入方式融合的全IP网络,该网络混合、异构的特点,为多接口终端的应用提供了广阔的前景。多接口终端集成了多种接口,能够同时使用多种有线资源、无线资源进行业务流传输。到了3G甚至后3G时代,多种体制并存,TD-SCDMA、WCDMA、CDMA2000、LTE等可能会同时存在于一个或多个运营商的网络中,而同时支持多种制式的多接口终端也不断发展,这就出现了多接口终端的各接口间的切换问题。The next-generation communication network will be an all-IP network that integrates multiple access methods. The mixed and heterogeneous characteristics of this network provide broad prospects for the application of multi-interface terminals. The multi-interface terminal integrates multiple interfaces, and can simultaneously use multiple wired resources and wireless resources for service flow transmission. In the 3G or even post-3G era, multiple systems coexist. TD-SCDMA, WCDMA, CDMA2000, LTE, etc. may exist in the network of one or more operators at the same time, and multi-interface terminals that support multiple systems at the same time are also constantly developing. , which leads to the problem of switching between the interfaces of the multi-interface terminal.

当前的多接口终端所支持的切换已经可以实现以接口为粒度的切换和以流为粒度的切换。以接口为粒度的切换使原本具有不同服务质量要求的应用被绑定在一起切换,从而无法使得每个应用都切换到最合适自己的网络接口上去。而以流为粒度的切换能够避免上述问题。The handover supported by the current multi-interface terminal can already realize the handover with the interface as the granularity and the handover with the stream as the granularity. Switching at the granularity of interfaces enables applications with different QoS requirements to be bound and switched together, making it impossible for each application to switch to the most suitable network interface. The flow-based switching can avoid the above problems.

目前,以流为粒度的接口切换方案大都由终端发起,这使得终端在正常通信以外增加大量开销。At present, most of the interface switching schemes with flow as the granularity are initiated by the terminal, which makes the terminal increase a lot of overhead in addition to normal communication.

中国科学院计算技术研究所的专利申请CN200910083521.7提出了一种移动通信系统中的多接口业务流切换方法和装置,它是一种在代理移动IPv6环境下用户触发的业务流切换方法及装置。华为技术有限公司提出的专利申请200910087426.4提出了一种在代理移动IPv6环境下同时支持用户触发和网络触发的业务流切换方法、系统和网络设备。上述两个专利均为涉及根据不同类型业务流的特点、当前链路状况及其他用户需求等多种因素进行切换判决的智能切换决策算法,因此难以把业务流合理地分配到终端不同的网络接口上。The patent application CN200910083521.7 of the Institute of Computing Technology, Chinese Academy of Sciences proposes a multi-interface service flow switching method and device in a mobile communication system, which is a user-triggered service flow switching method and device in a proxy mobile IPv6 environment. Patent application 200910087426.4 filed by Huawei Technologies Co., Ltd. proposes a service flow switching method, system and network device that simultaneously support user trigger and network trigger in a proxy mobile IPv6 environment. Both of the above two patents are intelligent handover decision algorithms that involve handover decisions based on various factors such as the characteristics of different types of service flows, current link conditions, and other user needs. Therefore, it is difficult to reasonably allocate service flows to different network interfaces of terminals. superior.

另外,上述流切换技术都仅仅支持移动场景,处在非移动场景下的多接口终端,无法享受到业务流切换的服务。In addition, the above stream switching technologies only support mobile scenarios, and multi-interface terminals in non-mobile scenarios cannot enjoy the service of service stream switching.

因此,当前迫切需要一种能够既支持移动也支持非移动场景的,并能根据不同类型业务流的特点、当前链路状况及其他用户需求等多种因素把业务流合理地分配到终端不同的网络接口上的自适应业务流切换方法及相应的业务流切换管理服务器。Therefore, there is an urgent need for a solution that can support both mobile and non-mobile scenarios, and can reasonably allocate service flows to different terminals according to various factors such as the characteristics of different types of service flows, current link conditions, and other user needs. An adaptive service flow switching method on a network interface and a corresponding service flow switching management server.

发明内容Contents of the invention

本发明的目的是提供一种既支持移动场景也支持非移动场景的,能够根据不同类型业务流的特点、当前链路状况及其他用户需求等多种因素把业务流合理地分配到终端不同的网络接口上的自适应业务流切换方法及相应的业务流切换管理服务器。The purpose of the present invention is to provide a system that supports both mobile and non-mobile scenarios, and can reasonably allocate service flows to different terminals according to various factors such as the characteristics of different types of service flows, current link conditions, and other user needs. An adaptive service flow switching method on a network interface and a corresponding service flow switching management server.

为实现上述发明目的,本发明提供了一种自适应业务流切换方法,涉及业务流切换管理服务器和多接口终端,所述自适应业务流切换方法包括:In order to achieve the purpose of the above invention, the present invention provides an adaptive service flow switching method, which involves a service flow switching management server and a multi-interface terminal. The adaptive service flow switching method includes:

对于每个多接口终端,执行下列步骤:For each multi-interface terminal, perform the following steps:

1)所述业务流切换管理服务器周期性地获取该多接口终端的当前用户信息和当前链路状况;1) The service flow switching management server periodically acquires the current user information and current link status of the multi-interface terminal;

2)所述业务流切换管理服务器基于层次分析法分别建立判断矩阵,并计算出该多接口终端的各接口的综合满意度;其中,将接口综合满意度作为目标层的总目标,将当前用户信息和当前链路状况作为准则层的分目标,将所述多接口终端的各可用接口作为方案层的可选方案;2) The business flow switching management server establishes a judgment matrix based on the AHP, and calculates the comprehensive satisfaction degree of each interface of the multi-interface terminal; wherein, the comprehensive satisfaction degree of the interface is taken as the overall goal of the target layer, and the current user Information and current link status are used as sub-targets of the criterion layer, and each available interface of the multi-interface terminal is used as an optional solution of the solution layer;

3)按照业务优先级由高到低的顺序将各业务流排列形成预切换队列,按照接口综合满意度由高到低的顺序将各接口排列形成接口队列;3) According to the order of business priority from high to low, arrange each service flow to form a pre-handover queue, and arrange each interface to form an interface queue according to the order of interface comprehensive satisfaction from high to low;

4)根据预切换队列和接口队列,将各业务流与各接口建立映射形成匹配关系;4) According to the pre-handover queue and the interface queue, each service flow is mapped with each interface to form a matching relationship;

5)业务流切换管理服务器依照所述映射关系在多接口终端上执行业务流切换。5) The service flow switching management server performs service flow switching on the multi-interface terminal according to the mapping relationship.

其中,所述用户信息包括接口类型。Wherein, the user information includes an interface type.

其中,所述链路状况包括接口负荷、可用带宽和接收信号强度指示。Wherein, the link status includes interface load, available bandwidth and received signal strength indication.

其中,所述步骤1)中,各个多接口终端的接口类型、接口负荷、可用带宽和接收信号强度指示均由业务流切换管理服务器从网络端获取。Wherein, in the step 1), the interface type, interface load, available bandwidth and received signal strength indication of each multi-interface terminal are obtained by the service flow switching management server from the network end.

其中,所述链路状况还包括丢包率。Wherein, the link status also includes a packet loss rate.

其中,所述步骤1)还包括下列子步骤:Wherein, said step 1) also includes the following sub-steps:

11)多接口终端连入家乡域后,向业务流切换管理服务器发起注册,注册消息中携带用户信息,所述用户信息包括优先级选项,该优先级选项表示用户可以在通信过程中显式的指定业务流的优先级;11) After the multi-interface terminal connects to the home domain, it initiates registration to the service flow switching management server, and the registration message carries user information, and the user information includes a priority option, which indicates that the user can explicitly Specify the priority of business flows;

12)业务流切换管理服务器接收到注册消息后将其中用户信息保存;12) The service flow switching management server saves the user information in the registration message after receiving it;

13)多接口终端周期性地向业务流切换管理服务器发送状态更新消息;状态更新消息中携带当前的用户信息;13) The multi-interface terminal periodically sends a status update message to the service flow switching management server; the status update message carries current user information;

14)业务流切换管理服务器根据状态更新消息更新当前用户信息。14) The service flow switching management server updates the current user information according to the status update message.

其中,所述通信网络系统工作在移动场景下时,所述步骤11)~14)中,所述业务流切换管理服务器是家乡域的业务流切换管理服务器;Wherein, when the communication network system works in a mobile scenario, in the steps 11) to 14), the service flow switching management server is a service flow switching management server in the home domain;

所述步骤1)还包括步骤15)当终端从连入域移到外域时,接入的外域业务流切换管理服务器周期性地统计当前链路状况,并发送给家乡域的业务流切换管理服务器;The step 1) also includes step 15) when the terminal moves from the connected domain to the foreign domain, the service flow switching management server of the accessed foreign domain periodically counts the current link status, and sends it to the service flow switching management server of the home domain ;

所述步骤2)~5)中,所述业务流切换管理服务器是家乡域的业务流切换管理服务器。In the steps 2) to 5), the service flow switching management server is a service flow switching management server in the home domain.

其中,所述多接口终端的所有接口都是无线接口;或者既有无线接口,又有有线接口;或者所有接口都是有线。Wherein, all interfaces of the multi-interface terminal are wireless interfaces; or there are both wireless interfaces and wired interfaces; or all interfaces are wired.

其中,当所述多接口终端中具有有线接口时,有线接口赋予虚拟接收信号强度指示,且该虚拟接收信号强度指示按照无线接口的最大虚拟接收信号强度指示赋值。Wherein, when the multi-interface terminal has a wired interface, the wired interface assigns a virtual RSSI, and the virtual RSSI is assigned a value according to the maximum virtual RSSI of the wireless interface.

其中,所述步骤4)包括下列子步骤:Wherein, said step 4) includes the following sub-steps:

41)如果预切换队列为空,则直接跳到步骤5),否则,进入步骤42);41) If the pre-switching queue is empty, then directly jump to step 5), otherwise, enter step 42);

42)所述业务流切换管理服务器从预切换队列中取出队首业务,从接口队列中取出队首接口,将所取出的业务流与接口建立映射;42) The service flow switching management server takes out the leader service from the pre-switching queue, takes out the leader interface from the interface queue, and establishes a mapping between the taken out service flow and the interface;

43)如果接口队列为空,则进入步骤44),否则,跳到步骤41);43) If the interface queue is empty, then enter step 44), otherwise, jump to step 41);

44)将各接口按照当前综合满意度高低顺序重新入队。44) Re-enroll the interfaces according to the order of the current comprehensive satisfaction level.

其中,所述步骤5)包括下列子步骤:Wherein, said step 5) includes the following sub-steps:

51)所述业务流切换管理服务器在本端执行切换,将下行业务流切换到匹配接口上;51) The service flow switching management server performs switching at the local end, and switches the downlink service flow to the matching interface;

52)所述业务流切换管理服务器向终端发送业务流切换指令,终端的切换单元接收指令并执行切换命令,完成上行业务流的切换。52) The service flow switching management server sends a service flow switching instruction to the terminal, and the switching unit of the terminal receives the instruction and executes the switching command to complete the switching of the uplink service flow.

本发明还提供了一种业务流切换管理服务器,包括:The present invention also provides a business flow switching management server, including:

统计单元,用于周期性地获取该多接口终端的当前用户信息和当前链路状况;A statistical unit, configured to periodically acquire current user information and current link status of the multi-interface terminal;

业务流识别单元,用于获取各多接口终端的各业务流的业务优先级;A service flow identification unit, configured to obtain the service priority of each service flow of each multi-interface terminal;

切换判决单元,用于根据层次分析法分别建立判断矩阵,并计算出该多接口终端的各接口的综合满意度;其中,将接口综合满意度作为目标层的总目标,将当前用户信息和当前链路状况作为准则层的分目标,将所述多接口终端的各可用接口作为方案层的可选方案;还用于按照业务优先级由高到低的顺序将各业务流排列形成预切换队列,按照接口综合满意度由高到低的顺序将各接口排列形成接口队列;根据预切换队列和接口队列,将各业务流与各接口建立映射形成匹配关系;The switching judgment unit is used to respectively establish a judgment matrix according to the AHP, and calculate the comprehensive satisfaction degree of each interface of the multi-interface terminal; wherein, the comprehensive satisfaction degree of the interface is taken as the overall goal of the target layer, and the current user information and the current The link status is used as a sub-target of the criterion layer, and each available interface of the multi-interface terminal is used as an optional solution of the solution layer; it is also used to arrange the service flows in order of service priority from high to low to form a pre-switching queue , according to the order of interface comprehensive satisfaction from high to low, arrange the interfaces to form an interface queue; according to the pre-handover queue and interface queue, map each service flow with each interface to form a matching relationship;

切换执行单元,用于依照所述匹配关系在多接口终端上执行业务流切换。A handover execution unit, configured to perform service flow handover on the multi-interface terminal according to the matching relationship.

与现有技术相比,本发明具有下列技术效果:Compared with the prior art, the present invention has the following technical effects:

1、本发明的切换判决部分是在网络侧服务器端自适应进行的,用户端的额外开销很小。1. The handover judgment part of the present invention is adaptively performed at the server end of the network side, and the additional overhead of the user end is very small.

2、本发明能够准确的反应当前各网络接口的通信性能,这对于提高服务器端的工作质量以及用户满意度都是非常重要的。2. The present invention can accurately reflect the communication performance of each current network interface, which is very important for improving the work quality of the server and user satisfaction.

3、本发明在保证各业务流QOS的同时,可以根据用户对各业务流的优先级设定情况来进行切换判决,充分考虑到用户的需求。3. While ensuring the QOS of each service flow, the present invention can make switching judgments according to the user's priority setting for each service flow, fully considering the needs of users.

4、本发明既支持移动场景,也支持非移动场景,可以灵活地与现有标准结合并进行相应部署。4. The present invention supports both mobile scenarios and non-mobile scenarios, and can be flexibly combined with existing standards and deployed accordingly.

附图说明Description of drawings

图1为本发明一个实施例的自适应业务流切换方法流程图;FIG. 1 is a flowchart of a method for adaptive service flow switching according to an embodiment of the present invention;

图2为本发明应用于非移动场景下的示意图;Fig. 2 is a schematic diagram of the application of the present invention in a non-mobile scene;

图3为本发明应用于移动场景下的示意图;FIG. 3 is a schematic diagram of the application of the present invention in a mobile scene;

图4为本发明一个实施例的流切换系统示意图。Fig. 4 is a schematic diagram of a stream switching system according to an embodiment of the present invention.

具体实施方式Detailed ways

为了使本发明的方法、技术方案更加清楚明白,以下结合附图及实施例,对本发明的一种自适应业务流切换方法及系统进行进一步的详细说明。应当注意,此处描述的实施例仅用于更好的解释本发明,并不用于限定本发明。In order to make the method and technical solution of the present invention clearer, a method and system for adaptive service flow switching of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be noted that the embodiments described here are only used to better explain the present invention, and are not intended to limit the present invention.

实施例1Example 1

根据本发明的实施例1,提供了一种自适应业务流切换方法,其流程参考图1,包括下列步骤:According to Embodiment 1 of the present invention, a method for adaptive service flow switching is provided, the flow of which refers to FIG. 1, and includes the following steps:

步骤S100,业务流切换管理服务器按一定周期更新业务流管理表。业务流切换管理服务器结合业务流管理表,针对每个多接口终端,分别分析用户信息和当前链路状况,即业务流切换管理服务器周期性地获取每个多接口终端的当前用户信息和当前链路状况。In step S100, the service flow switching management server updates the service flow management table at a certain period. The service flow switching management server analyzes the user information and current link status for each multi-interface terminal in combination with the service flow management table, that is, the service flow switching management server periodically obtains the current user information and current link status of each multi-interface terminal. road condition.

上述业务流管理表表项格式如表1所示:The format of the above service flow management table entry is shown in Table 1:

表1Table 1

  源地址 source address   目的地址 Destination address   源端口号source port number   目的端口号Destination port number   业务流类型business flow type   优先级 priority   隧道索引号Tunnel index number

所述业务流管理表记录每条业务流的具体信息。每条业务流对应一个表项,其中业务流类型的识别可以采用常规的流识别方法(比如Layer 7识别),本实施例不限制流识别的具体方法。业务流类型可以设置为视频、音频、文本等,其中隧道索引号表示该条业务流当前对应哪条隧道。The service flow management table records specific information of each service flow. Each service flow corresponds to an entry, and the identification of the service flow type can adopt a conventional flow identification method (such as Layer 7 identification). This embodiment does not limit the specific method of flow identification. The service flow type can be set to video, audio, text, etc., where the tunnel index number indicates which tunnel this service flow currently corresponds to.

用户信息包括以下内容:User information includes the following:

(1)接口类型:接口是有线或无线;(1) Interface type: the interface is wired or wireless;

(2)接口状态:接口可用或不可用;(2) Interface status: the interface is available or unavailable;

当前链路状况包括以下内容:Current link conditions include the following:

(1)接口负荷:反映用户当前各个接口的链路负载;(1) Interface load: reflects the link load of each interface of the user;

(2)可用带宽:反映用户当前各个接口可用带宽;(2) Available bandwidth: reflects the current available bandwidth of each interface of the user;

(3)接收信号强度指示(RSSI):该参数反映用户当前无线接口的信号强度;(3) Received Signal Strength Indication (RSSI): This parameter reflects the signal strength of the user's current wireless interface;

(4)丢包率:反映当前各个接口的丢包情况。(4) Packet loss rate: reflects the current packet loss situation of each interface.

步骤S200,对于每个多接口终端,所述业务流切换管理服务器基于层次分析法分别建立判断矩阵。所述层次分析法(Analytic Hierarchy Process,AHP)是一种决策思维方法,基本思想是把复杂的问题分解成若干层次和若干要素,在各要素之间简单地进行比较、判断和计算,以获得不同要素和不同备选方案的权重。由于其简易性和准确性,被广泛的应用于经济、能源、管理等各个领域中。因此非常适合解决存在多个备选方案的情况下,得出最优解的决策问题。Step S200, for each multi-interface terminal, the service flow switching management server establishes a judgment matrix based on the AHP. The Analytic Hierarchy Process (Analytic Hierarchy Process, AHP) is a decision-making thinking method. The basic idea is to decompose complex problems into several levels and several elements, and simply compare, judge and calculate among the elements to obtain Weighting of different elements and different alternatives. Because of its simplicity and accuracy, it is widely used in various fields such as economy, energy, and management. Therefore, it is very suitable for solving the decision-making problem of obtaining the optimal solution when there are multiple alternatives.

所述判断矩阵包含两种,第一种判断矩阵表示各考量值关于总目标的相互比较,第二种判断矩阵表示各网络接口关于各考量值的相互比较;The judgment matrix includes two types, the first judgment matrix represents the mutual comparison of each consideration value with respect to the overall target, and the second judgment matrix represents the mutual comparison of each network interface with respect to each consideration value;

根据AHP方法,其中第一种判断矩阵中的每一个元素aij代表相对于总目标,考量值ai相对于考量值aj的相对重要度;考量值即AHP算法中的分目标。第二种判断矩阵中的每一个元素pij代表相对于考量值a,接口pi同接口pj的相对比较值,其中,判断尺度可按如下原则取值:According to the AHP method, each element a ij in the first judgment matrix represents the relative importance of the consideration value a i relative to the consideration value a j relative to the overall target; the consideration value is the sub-target in the AHP algorithm. Each element p ij in the second type of judgment matrix represents the relative comparison value of interface p i and interface p j relative to the consideration value a, where the judgment scale can be selected according to the following principles:

(1)1:对c而言,qi和qj同等重要;(1)1: For c, q i and q j are equally important;

(2)2:对c而言,qi比qj介于同等重要和稍微重要之间;(2) 2: For c, q i is equally or slightly more important than q j ;

(3)3:对c而言,qi比qj稍微重要;(3)3: For c, q i is slightly more important than q j ;

(4)5:对c而言,qi比qj重要;(4)5: For c, q i is more important than q j ;

(5)7:对c而言,qi比qj重要的多;(5) 7: For c, q i is more important than q j ;

(6)9:对c而言,qi比qj绝对重要。(6)9: For c, q i is absolutely more important than q j .

比如,若qi比qj重要,则qij=5,反之,若qj比qi重要,则qij=1/qji=1/5,同理,若ai比aj重要,则aij=5,反之,若aj比ai重要,则aij=1/aji=1/5,同理,若pi比pj重要,则pij=5,反之,若pj比pi重要,则pij=1/pji=1/5。上述取值原则中虽然只有1、2、3、5、7、9几个取值,但本领域技术人员易于理解,可以根据实际需要设置其他的取值。For example, if q i is more important than q j , then q ij =5, on the contrary, if q j is more important than q i , then q ij =1/q ji =1/5, similarly, if a i is more important than a j , Then a ij =5, on the contrary, if a j is more important than a i , then a ij =1/a ji =1/5, similarly, if p i is more important than p j , then p ij =5, otherwise, if p j is more important than p i , then p ij =1/p ji =1/5. Although there are only a few values of 1, 2, 3, 5, 7, and 9 in the above value selection principles, those skilled in the art can easily understand that other values can be set according to actual needs.

上述总目标是指当前网络接口的通信环境质量,考量值是指当前接口类型、接口负荷、可用带宽、丢包率、RSSI(接收信号强度指示)。表2给出了本实施例中第一种判断矩阵取值的示例,但第一种判断矩阵的取值并不限于表2,这是本领域技术人员易于理解的。The above general target refers to the communication environment quality of the current network interface, and the consideration value refers to the current interface type, interface load, available bandwidth, packet loss rate, and RSSI (Received Signal Strength Indication). Table 2 gives an example of the value of the first judgment matrix in this embodiment, but the value of the first judgment matrix is not limited to Table 2, which is easily understood by those skilled in the art.

表2Table 2

Figure BDA0000043459250000061
Figure BDA0000043459250000061

其中,A代表接口通信性能,C1代表接口类型,C2代表接口负荷,C3代表可用带宽,C4代表丢包率,C5代表RSSI。Among them, A represents the communication performance of the interface, C 1 represents the interface type, C 2 represents the interface load, C 3 represents the available bandwidth, C 4 represents the packet loss rate, and C 5 represents the RSSI.

特别地,在一些情况下,可以只使用接口类型、接口负荷、可用带宽、RSSI四个参数作为考量值。这样,步骤S100中,业务流切换管理服务器从网络端即可直接获得所有考量值的实时更新。而用户端仅需要进行一些基本信令交互工作(原本的移动场景下的用户终端也都需要信令交互的),也就使得用户侧进行正常的通信以外,不会因自适应业务流切换而增加大量开销。In particular, in some cases, only the four parameters of interface type, interface load, available bandwidth, and RSSI may be used as consideration values. In this way, in step S100, the service flow switching management server can directly obtain real-time updates of all considered values from the network side. The user end only needs to perform some basic signaling interaction work (the original user terminal in the mobile scenario also needs signaling interaction), so that the user end will not be interrupted due to adaptive service flow switching except for normal communication. Adds a lot of overhead.

表3给出了本实施例中,第二种判断矩阵的结构。但第二种判断矩阵的结构并不限于表3,这是本领域技术人员易于理解的。比如当接口数目超过3时,第二种判断矩阵也可以有更多的行列Table 3 shows the structure of the second judgment matrix in this embodiment. However, the structure of the second judgment matrix is not limited to Table 3, which is easily understood by those skilled in the art. For example, when the number of interfaces exceeds 3, the second judgment matrix can also have more rows and columns

表3table 3

Figure BDA0000043459250000071
Figure BDA0000043459250000071

其中,C代表考量值,Pi代表第i个接口。第二种判断矩阵将是根据各考量值分别建立的。值得说明的是,由于RSSI代表无线接口的接收信号强度,所以在第二种判断矩阵的构造中,为有线接口赋予虚拟RSSI属性,因为有线接口是通过导向传输媒体进行数据传输,不涉及信号强度问题,所以本实施例中将有线接口的虚拟RSSI赋值最大。即有线接口和无线接口在RSSI的比较当中,认为有线接口比无线接口绝对重要。Among them, C represents the consideration value, and P i represents the i-th interface. The second type of judgment matrix will be established separately according to each consideration value. It is worth noting that since RSSI represents the received signal strength of the wireless interface, in the construction of the second judgment matrix, the virtual RSSI attribute is assigned to the wired interface, because the wired interface transmits data through a guided transmission medium, and does not involve signal strength Therefore, in this embodiment, the virtual RSSI value of the wired interface is assigned the maximum value. That is, in the comparison of RSSI between the wired interface and the wireless interface, it is considered that the wired interface is absolutely more important than the wireless interface.

进一步地,在一种优选方案中,当C代表接口负荷、可用带宽和RSSI时,第二种判断矩阵中元素可按如下方法取值(其中,接口负荷的计算单位为KB,可用带宽的单位为KB/S,RSSI的单位为dBm):Further, in a preferred solution, when C represents interface load, available bandwidth and RSSI, the elements in the second judgment matrix can be valued as follows (wherein, the calculation unit of interface load is KB, and the unit of available bandwidth is KB/S, and the unit of RSSI is dBm):

pi=pj时,aij=1,aji=1When p i =p j , a ij =1, a ji =1

0<pi-pj<5时,aij=2,aji=1/20<p i -p j <5, a ij = 2, a ji = 1/2

5<pi-pj<10时,aij=3,aji=1/3When 5<p i -p j <10, a ij = 3, a ji = 1/3

10<pi-pj<30时,aij=5,aji=1/5When 10<p i -p j <30, a ij = 5, a ji = 1/5

30<pi-pj<50时,aij=7,aji=1/7When 30<p i -p j <50, a ij = 7, a ji = 1/7

50<pi-pj时,aij=9,aji=1/9When 50<p i -p j , a ij =9, a ji =1/9

当C代表接口类型时,第二种判断矩阵中元素可按如下方法取值:When C represents the interface type, the elements in the second judgment matrix can be valued as follows:

设Pi为有线接口,Pj为无线接口,则aij=7,aji=1/7。这代表有线接口Pi比无线接口Pj重要的多。Suppose P i is a wired interface, and P j is a wireless interface, then a ij =7, a ji =1/7. This means that the wired interface P i is more important than the wireless interface P j .

当C代表丢包率时,第二种判断矩阵中元素可按如下方法取值:When C represents the packet loss rate, the elements in the second judgment matrix can be valued as follows:

当Pi=Pi时,aij=1,aji=1When P i =P i , a ij =1, a ji =1

当0<Pi-Pj<2%时,aij=2,aji=1/2When 0<P i -P j <2%, a ij = 2, a ji = 1/2

当2%<Pi-Pj<5%时,aij=3,aji=1/3When 2%<P i -P j <5%, a ij = 3, a ji = 1/3

当5%<Pi-Pj<30%时,aij=5,aji=1/5When 5%<P i -P j <30%, a ij =5, a ji =1/5

当Pi-Pj>30%时,aij=7,aji=1/7When P i -P j > 30%, a ij = 7, a ji = 1/7

上述第二种判断矩阵元素的取值方法仅是一种示例,容易理解,本发明并不限于上述取值方式。The above-mentioned second value-taking method of the judgment matrix element is only an example, and it is easy to understand that the present invention is not limited to the above-mentioned value-taking method.

步骤S300,计算出相对权重。Step S300, calculating the relative weight.

根据第一种判断矩阵,计算出第i个考量值关于总目标的相对权重wi,根据第二种判断矩阵,计算出第l个接口关于当前考量值的相对权重wl,其中,wi和wl的计算可以采用方根法,即:According to the first type of judgment matrix, calculate the relative weight w i of the i-th consideration value with respect to the total target, and according to the second type of judgment matrix, calculate the relative weight w l of the l-th interface with respect to the current consideration value, where, w i and wl can be calculated using the square root method, namely:

Figure BDA0000043459250000081
其中,k表示考量值的个数
Figure BDA0000043459250000081
Among them, k represents the number of consideration values

Figure BDA0000043459250000082
其中,m表示网络接口的个数
Figure BDA0000043459250000082
Among them, m represents the number of network interfaces

步骤S400,对步骤S300所求权重进行归一化处理,即:Step S400, normalize the weights obtained in step S300, namely:

其中,k表示考量值的个数 Among them, k represents the number of consideration values

Figure BDA0000043459250000084
其中,k表示考量值的个数
Figure BDA0000043459250000084
Among them, k represents the number of consideration values

步骤S500,计算各接口的综合满意度。Step S500, calculating the comprehensive satisfaction degree of each interface.

综合满意度可以按照公式

Figure BDA0000043459250000085
来计算,Vn表示第n个接口的综合满意度,其中wj表示第j个考量值关于总目标的相对权重,wnj表示第n个接口关于第j个考量值的相对权重,wj和wnj的计算以及归一方法同步骤S300、步骤S400。Overall satisfaction can be calculated according to the formula
Figure BDA0000043459250000085
V n represents the comprehensive satisfaction of the nth interface, where w j represents the relative weight of the jth consideration value with respect to the overall goal, w nj represents the relative weight of the nth interface with respect to the jth consideration value, w j The calculation and normalization method of and w nj are the same as step S300 and step S400.

步骤S600,按照业务流管理表将业务流根据优先级形成预切换队列,其中业务优先级最高的业务流为队首。按照接口综合满意度将各接口排列形成接口队列,其中,综合满意度最高的接口为队首。Step S600, according to the service flow management table, form the service flow according to the priority into a pre-handover queue, wherein the service flow with the highest service priority is the head of the queue. According to the comprehensive satisfaction of the interface, the interfaces are arranged to form an interface queue, and the interface with the highest comprehensive satisfaction is the leader of the queue.

步骤S700,如果预切换队列为空,则直接跳到步骤S1100,否则,进入步骤S800。In step S700, if the pre-handover queue is empty, directly jump to step S1100, otherwise, go to step S800.

步骤S800,所述业务流切换管理服务器从预切换队列中取出队首业务,从接口队列中取出队首接口,将该业务流与接口建立映射。In step S800, the service flow switching management server takes out the leader service from the pre-switching queue, takes out the leader interface from the interface queue, and establishes a mapping between the service flow and the interface.

步骤S900,如果接口队列为空,则进入步骤S1000,否则,跳到步骤S700;Step S900, if the interface queue is empty, go to step S1000, otherwise, go to step S700;

步骤S1000,将接口按照当前综合满意度高低重新入队,进入步骤S700;Step S1000, re-enroll the interface according to the current level of comprehensive satisfaction, and enter step S700;

步骤S1100,所述业务流切换管理服务器依照匹配关系执行切换,切换过程分两步:Step S1100, the service flow switching management server performs switching according to the matching relationship, and the switching process is divided into two steps:

第①步,所述业务流切换管理服务器在本端执行切换,将下行业务流切换到匹配接口上;上述下行业务流是指从业务流切换管理服务器向多接口终端发送的业务流。In step ①, the service flow switching management server performs switching at the local end, and switches the downlink service flow to the matching interface; the above-mentioned downlink service flow refers to the service flow sent from the service flow switching management server to the multi-interface terminal.

第②步,所述业务流切换管理服务器向终端发送业务流切换指令,终端的切换单元接收指令并自动执行切换命令,完成上行业务流的切换;上述上行业务流是指从多接口终端向业务流切换管理服务器发送的业务流。In step ②, the service flow switching management server sends a service flow switching instruction to the terminal, and the switching unit of the terminal receives the instruction and automatically executes the switching command to complete the switching of the upstream service flow; The flow switches the service flow sent by the management server.

其中,切换指令消息格式可根据不同的切换实施方式来进行调整。比如,切换实施是基于NETFILTER框架下的iptables策略来实现的,则切换指令消息可以用来存放iptables命令,本实施例不限制切换指令格式的具体定义。Wherein, the format of the handover instruction message may be adjusted according to different handover implementation manners. For example, the switching implementation is implemented based on the iptables policy under the NETFILTER framework, then the switching instruction message can be used to store the iptables command, and this embodiment does not limit the specific definition of the switching instruction format.

步骤S1200,算法结束。Step S1200, the algorithm ends.

本实施例中,自适应业务流切换(即步骤200~500)周期性的自动进行。本实施例可以应用于以下几种状况:In this embodiment, the adaptive service flow switching (that is, steps 200-500) is performed periodically and automatically. This embodiment can be applied to the following situations:

(1)当前所有接口状态不变,重新建立业务流和接口的匹配关系;(1) The status of all current interfaces remains unchanged, and the matching relationship between business flows and interfaces is re-established;

(2)当前某个接口变为不可用,将其上的流分布到其他可用接口上;(2) A current interface becomes unavailable, and the flow on it is distributed to other available interfaces;

(3)当前某个接口变为可用,将其他接口上的部分流分布到该接口上。(3) At present, an interface becomes available, and some flows on other interfaces are distributed to this interface.

实施例2Example 2

根据本发明的实施例2,提供了另一种自适应业务流切换方法,该自适应业务流切换方案工作在非移动场景下。According to Embodiment 2 of the present invention, another adaptive service flow switching method is provided, and the adaptive service flow switching solution works in a non-mobile scene.

如图2所示,本实施例的非移动场景下,家乡域中有三个结点,分别是结点1、结点2、结点3,分别代表三种类型的多接口终端:结点1代表所有接口都是无线的多接口终端;结点2代表既有无线接口,又有有线接口的多接口终端;结点3代表所有接口都是有线的多接口终端。As shown in Figure 2, in the non-mobile scenario of this embodiment, there are three nodes in the home domain, namely node 1, node 2, and node 3, respectively representing three types of multi-interface terminals: node 1 Represents a multi-interface terminal with all interfaces wireless; node 2 represents a multi-interface terminal with both wireless and wired interfaces; node 3 represents a multi-interface terminal with all interfaces wired.

终端连入家乡域后,向业务流切换管理服务器发起注册,注册消息格式如表4所示:After the terminal connects to the home domain, it initiates registration with the service flow switching management server. The format of the registration message is shown in Table 4:

表4Table 4

  绑定地址binding address   临时地址temporary address   接口类型 Interface Type   接口状态interface status   生存时间survival time   优先级选项Priority option

其中,绑定地址是用户根据业务流切换管理服务器提供的地址前缀同终端ID组合生成的;临时地址是终端的各个接口根据前缀自动配置的地址;接口类型说明本接口是有线或无线;接口状态说明本接口当前可用或不可用;生存时间表示该注册信息的有效期限;优先级选项表示用户可以在通信过程中显式的指定流的优先级。Among them, the binding address is generated by the user according to the combination of the address prefix provided by the service flow switching management server and the terminal ID; the temporary address is the address automatically configured by each interface of the terminal according to the prefix; the interface type indicates whether the interface is wired or wireless; the interface status Indicates that this interface is currently available or unavailable; the lifetime indicates the validity period of the registration information; the priority option indicates that the user can explicitly specify the priority of the stream during the communication process.

业务流切换管理服务器接收到用户信息后,将其保存在用户信息管理表中,并向终端发送应答消息进行注册确认。应答消息格式如下表5所示。After receiving the user information, the service flow switching management server stores it in the user information management table, and sends a response message to the terminal for registration confirmation. The response message format is shown in Table 5 below.

表5table 5

  绑定地址binding address   临时地址temporary address   接口类型 Interface Type   接口状态interface status   生存时间survival time   状态 state

其中,前五个字段意义同注册消息,此处不再赘述。状态字段表示用户注册消息或状态更新消息成功与否,0表示失败,1表示成功。Among them, the meaning of the first five fields is the same as that of the registration message, and will not be repeated here. The status field indicates whether the user registration message or the status update message is successful or not, 0 means failure, and 1 means success.

上述用户信息管理表中,每个表项对应终端的一个接口,结构如表6所示。In the above user information management table, each entry corresponds to an interface of the terminal, and the structure is shown in Table 6.

表6Table 6

  绑定地址binding address   临时地址temporary address   接口类型 Interface Type   接口状态interface status   接口IDInterface ID

其中,前四个字段意义同注册消息,此处不再赘述。接口ID用来标识终端的一个接口,可以是一个随机数,但要保证其唯一性。当然,本发明并不限制接口ID的具体定义方式,接口ID也可以通过其他方式来定义。例如,用该接口的MAC(Media Access Control)地址,此时用户的注册消息中需要添加MAC地址字段,新的注册消息格式表7所示。Among them, the meaning of the first four fields is the same as that of the registration message, and will not be repeated here. The interface ID is used to identify an interface of the terminal, which can be a random number, but its uniqueness must be guaranteed. Of course, the present invention does not limit the specific way of defining the interface ID, and the interface ID can also be defined in other ways. For example, using the MAC (Media Access Control) address of this interface, the MAC address field needs to be added in the user's registration message at this time, and the new registration message format is shown in Table 7.

表7Table 7

  绑定地址binding address   临时地址temporary address   接口类型 Interface Type   接口状态interface status   生存时间survival time   优先级选项Priority option  MAC地址MAC address

上述注册过程完成后,终端便可通过标准IP路由协议与其他结点进行通信。其中,终端周期性地同业务流切换管理服务器进行消息交互,具体涉及如下几种消息:After the above registration process is completed, the terminal can communicate with other nodes through the standard IP routing protocol. Among them, the terminal periodically exchanges messages with the service flow switching management server, which specifically involves the following messages:

(1)状态更新消息:终端周期性地将当前各接口信息发送给业务流切换服务器。其格式同注册消息,此处不再赘述。(1) Status update message: the terminal periodically sends current interface information to the service flow switching server. Its format is the same as that of the registration message, and will not be repeated here.

(2)请求状态更新消息:当用户信息生存期即将到期,业务流切换管理服务器会向用户发送请求状态更新消息,消息格式同应答消息,只需将状态字段置0;(2) Request status update message: When the user information lifetime is about to expire, the service flow switching management server will send a request status update message to the user. The message format is the same as the response message, and only the status field needs to be set to 0;

(3)切换指令消息:业务流切换管理服务器会将切换判决结果通过切换指令消息发送给终端来执行,消息格式将根据不同的切换实施方式进行设置,比如,切换实施是通过NETFILTER框架来执行,则消息内容可以包含具体的iptables命令。容易理解,本发明中,切换指令消息并不限定于特定的实现方式。(3) Handover instruction message: the service flow handover management server will send the handover judgment result to the terminal for execution through the handover instruction message, and the message format will be set according to different handover implementation methods. For example, the handover implementation is performed through the NETFILTER framework, Then the message content can contain specific iptables commands. It is easy to understand that in the present invention, the switching instruction message is not limited to a specific implementation manner.

终端周期性地同业务流切换管理服务器进行消息交互的同时,业务流切换管理服务器会周期性地基于AHP算法,根据用户信息、链路通信质量计算出每个接口的综合满意度,再结合业务流优先级得出业务流同接口的匹配关系。综合满意度计算过程同实施例1中步骤200~步骤500完全一致,此处不再赘述。While the terminal periodically interacts with the service flow switching management server, the service flow switching management server will periodically calculate the comprehensive satisfaction degree of each interface based on the AHP algorithm based on user information and link communication quality, and then combine the service The flow priority obtains the matching relationship between the service flow and the interface. The calculation process of the comprehensive satisfaction degree is completely consistent with the steps 200 to 500 in the embodiment 1, and will not be repeated here.

实施例3Example 3

根据本发明的实施例3,提供了另一种自适应业务流切换方法,该自适应业务流切换方案工作在移动场景下。According to Embodiment 3 of the present invention, another adaptive service flow switching method is provided, and the adaptive service flow switching solution works in a mobile scene.

如图3所示,本实施例的业务流切换方法可以工作在多种移动场景中,比如移动IPv6(RFC 3775)、移动IPv4(RFC 3344)、代理移动IPv6(RFC 5213)以及相关扩展移动管理协议等。根据不同的移动场景进行相应的部署,比如对于移动IPv6,业务流切换管理服务器的相应单元可以部署在HA(家乡代理)中,多接口终端的相应单元部署在MN(移动结点)中。As shown in Figure 3, the service flow switching method of this embodiment can work in a variety of mobile scenarios, such as Mobile IPv6 (RFC 3775), Mobile IPv4 (RFC 3344), Proxy Mobile IPv6 (RFC 5213) and related extended mobile management agreement etc. Deploy according to different mobile scenarios. For example, for mobile IPv6, the corresponding unit of the service flow switching management server can be deployed in the HA (Home Agent), and the corresponding unit of the multi-interface terminal can be deployed in the MN (Mobile Node).

图3中,所示的结点1、结点2、结点3分别代表三种类型的多接口终端:结点1代表所有接口都是无线的多接口终端;结点2代表既有无线接口,又有有线接口的多接口终端;结点3代表所有接口都是有线的多接口终端。In Figure 3, the shown nodes 1, 2, and 3 respectively represent three types of multi-interface terminals: node 1 represents a multi-interface terminal with all interfaces wireless; node 2 represents an existing wireless interface , and a multi-interface terminal with wired interfaces; node 3 represents a multi-interface terminal where all interfaces are wired.

在移动场景中,当多接口终端进入某个移动场景中(比如移动IPv6,移动IPv4,代理移动IPv6)时,除了进行该场景下标准的消息交互以外,还需要进行如下工作:In a mobile scenario, when a multi-interface terminal enters a certain mobile scenario (such as Mobile IPv6, Mobile IPv4, and Proxy Mobile IPv6), in addition to the standard message interaction in this scenario, the following tasks need to be performed:

(1)多接口终端需要向家乡业务流切换管理服务器进行接口注册以及周期性的进行状态更新,消息意义同非移动场景中所述;(1) The multi-interface terminal needs to register the interface with the home service flow switching management server and periodically update the status, and the meaning of the message is the same as that described in the non-mobile scenario;

(2)当终端从连入域移到外域时,接入的外域业务流切换管理服务器需要周期性的统计链路通信状况,并发送给家乡域的业务流切换管理服务器,链路状态消息格式如表8所示。(2) When the terminal moves from the connected domain to the foreign domain, the service flow switching management server of the connected foreign domain needs to periodically collect statistics on the link communication status and send it to the service flow switching management server of the home domain. Link status message format As shown in Table 8.

表8Table 8

  绑定地址binding address   临时地址temporary address   接口负荷interface load   可用带宽available bandwidth   RSSI(接收信号强度指示)RSSI (Received Signal Strength Indication)

(3)家乡域业务流切换管理服务器周期性地基于AHP算法,根据用户信息、链路通信质量计算出每个接口的综合满意度,再结合业务流优先级得出业务流与接口的合理匹配关系。综合满意度计算过程同实施例1中步骤200~步骤500所述,此处不再赘述;(3) The home domain service flow switching management server periodically calculates the comprehensive satisfaction of each interface based on the AHP algorithm based on user information and link communication quality, and then combines the service flow priority to obtain a reasonable match between the service flow and the interface relation. The calculation process of comprehensive satisfaction is the same as that described in step 200 to step 500 in embodiment 1, and will not be repeated here;

(4)家乡域业务流切换管理服务器通过切换指令消息将切换判决结果发送给多接口终端。(4) The home domain service flow switching management server sends the switching decision result to the multi-interface terminal through a switching instruction message.

需要指出的是,上述注册消息、状态更新消息、链路质量状态消息、切换指令消息可以通过扩展相应移动场景下的标准报文来实现其功能,也可以使用非移动场景下定义的消息格式。比如,移动IPv6中注册消息和状态更新消息可以通过扩展BU(Binding Update,绑定更新)消息选项字段来实现;切换指令消息可以通过扩展BRR(Binding Refresh Request,绑定更新请求)消息选项字段来实现。容易理解,上述各种消息并不限于上述具体实现方式。It should be pointed out that the above registration message, status update message, link quality status message, and handover command message can implement their functions by extending the standard message in the corresponding mobile scenario, or use the message format defined in the non-mobile scenario. For example, registration messages and status update messages in Mobile IPv6 can be implemented by extending the BU (Binding Update, binding update) message option field; handover instruction messages can be implemented by extending the BRR (Binding Refresh Request, binding update request) message option field accomplish. It is easy to understand that the above various messages are not limited to the above specific implementation manners.

实施例4Example 4

本实施例提供了一种流切换系统,该流切换系统结构如图4所示。This embodiment provides a stream switching system, and the structure of the stream switching system is shown in FIG. 4 .

所述流切换系统包括:多接口终端100、业务流切换管理服务器200。其中,多接口终端100包含三种类型:全是有线接口110,部分有线接口、部分无线接口120,全是无线接口130。The stream switching system includes: a multi-interface terminal 100 and a service stream switching management server 200 . Among them, the multi-interface terminal 100 includes three types: all wired interfaces 110 , some wired interfaces, some wireless interfaces 120 , and all wireless interfaces 130 .

多接口终端100,包含注册绑定单元101、切换单元102。其中,注册绑定单元101用于获取本机当前接口信息,包括接口类型(有线或无线)、接口状态(可用或不可用)、绑定地址、临时地址,其中绑定地址是根据业务流切换管理服务器提供的地址前缀同本机ID组合生成的,临时地址是根据业务流切换管理服务器所提供的前缀自动配置的地址;切换单元102用于在出现接口不可用的时候,将该接口上的上行业务流切换到其他接口上去,并且,还用于接收业务流切换管理服务器的切换指令,执行切换。The multi-interface terminal 100 includes a registration binding unit 101 and a switching unit 102 . Among them, the registration binding unit 101 is used to obtain the current interface information of the machine, including interface type (wired or wireless), interface status (available or unavailable), binding address, temporary address, wherein the binding address is switched according to the business flow The address prefix provided by the management server is combined with the local ID to generate, and the temporary address is an address automatically configured according to the prefix provided by the business flow switching management server; the switching unit 102 is used to switch the interface on the interface when the interface is unavailable. The upstream service flow is switched to other interfaces, and is also used to receive a switching instruction from the service flow switching management server to execute the switching.

业务流切换管理服务器200,包含注册统计单元201、业务流识别单元202、切换判决单元203、切换执行单元204。其中,注册统计单元201用于接收用户的注册消息,并将消息按用户区分放入用户信息管理表中,还用于周期性地获取该多接口终端的当前用户信息和当前链路状况;业务流识别单元202用于将业务流按类型区分,可以采用比较常规的流识别方法(比如Layer 7识别),类型可以设置为音频、视频、文本、其他,并对应不同类型设置相应优先级;切换判决单元203用于根据用户信息、当前链路状况、业务流优先级并结合业务流管理表来制定出切换策略,其中采用多目标决策理论中的层次分析法(Analytic Hierarchy Process,AHP)来计算不同网络接口的综合满意度,AHP算法流程同实施例1中所述,此处不再赘述;切换执行单元204用于根据切换判决结果,执行切换。切换分两步:第一步,业务流切换管理服务器端200执行下行业务流的切换;第二步,发送切换指令给多接口终端100,由其执行上行业务流的切换。The service flow switching management server 200 includes a registration statistics unit 201 , a service flow identification unit 202 , a handover decision unit 203 , and a handover execution unit 204 . Among them, the registration statistics unit 201 is used to receive the user's registration message, and put the message into the user information management table according to the user, and is also used to periodically obtain the current user information and current link status of the multi-interface terminal; The flow identification unit 202 is used to distinguish the service flow by type, and a more conventional flow identification method (such as Layer 7 identification) can be used, and the type can be set to audio, video, text, and others, and corresponding priorities are set corresponding to different types; switching The decision unit 203 is used to formulate a handover strategy based on user information, current link status, service flow priority and combined with a service flow management table, wherein the multi-objective decision-making theory is used to calculate the AHP (Analytic Hierarchy Process, AHP) The overall satisfaction degree of different network interfaces, the AHP algorithm flow is the same as that described in Embodiment 1, and will not be repeated here; the handover execution unit 204 is used to perform handover according to the handover judgment result. The switching is divided into two steps: the first step, the service flow switching management server 200 executes the switching of the downlink service flow; the second step, sends the switching instruction to the multi-interface terminal 100, which executes the switching of the uplink service flow.

与现有技术相比,本发明具有下列技术效果:Compared with the prior art, the present invention has the following technical effects:

1、本发明的切换判决部分是在网络侧服务器端自适应进行的,而用户端仅需要进行一些基本信令交互工作(而原本的移动场景下的用户终端也都需要信令交互的),也就使得用户侧进行正常的通信以外,尽量少的附加工作。1. The handover judgment part of the present invention is carried out adaptively at the server end of the network side, and the user end only needs to perform some basic signaling interaction work (while the user terminals in the original mobile scene also need signaling interaction), In other words, besides normal communication on the user side, there is as little additional work as possible.

2、AHP方法由于其简易和准确,对多因素、多标准、多方案的综合评价及趋势预测及其有效,广泛的应用于经济、管理、能源等众多领域,但是在业务流切换领域尚未被应用。本发明综合考虑其准确性和简易性,将AHP算法用于到切换判决过程,能够大量减少服务器端在进行切换判决时的时耗和功耗,同时,本发明中的5个考量值均便于获取(通过现有的用户空间/内核空间通信机制即可实现),并能够准确的反应当前各网络接口的通信性能。这对于提高服务器端的工作质量以及用户满意度都是非常重要的。2. The AHP method is widely used in economics, management, energy and many other fields due to its simplicity and accuracy, comprehensive evaluation and trend prediction of multi-factors, multi-standards, and multi-schemes. However, it has not been used in the field of business flow switching. application. The present invention comprehensively considers its accuracy and simplicity, and uses the AHP algorithm for the handover judgment process, which can greatly reduce the time consumption and power consumption of the server when making handover judgments. At the same time, the five consideration values in the present invention are all convenient Acquisition (which can be realized through the existing user space/kernel space communication mechanism), and can accurately reflect the current communication performance of each network interface. This is very important to improve the quality of work on the server side as well as user satisfaction.

3、本发明在保证各业务流QOS的同时,可以根据用户对各业务流的优先级设定情况来进行切换判决,从而实现按照用户当前对各业务流的服务质量要求程度来适当进行切口分配,充分考虑到用户的需求。3. While ensuring the QOS of each service flow, the present invention can make switching judgments according to the user's priority setting for each service flow, so as to realize the appropriate allocation of cutouts according to the user's current service quality requirements for each service flow , taking fully into account the needs of users.

4、本发明既支持移动场景,也支持非移动场景,可以灵活地与现有标准移动IPv4(RFC 3344)、移动IPv6(RFC 3375)、代理移动IPv6(RFC 5213)协议以及相关扩展移动管理协议和非移动管理协议结合并进行相应部署。虽然通过实施例描述了本发明,本领域普通技术人员知道,本发明有许多变形和变化而不脱离本发明的精神,本发明的申请文件的权利要求包括这些变形和变化。4. The present invention supports both mobile scenarios and non-mobile scenarios, and can be flexibly integrated with existing standard Mobile IPv4 (RFC 3344), Mobile IPv6 (RFC 3375), Proxy Mobile IPv6 (RFC 5213) protocols and related extended mobile management protocols Combine with non-mobile management protocols and deploy accordingly. Although the present invention has been described by the embodiments, those skilled in the art know that there are many modifications and changes in the present invention without departing from the spirit of the invention, and the claims of the application documents of the present invention include these modifications and changes.

Claims (12)

1. self-adapted service stream switching method that is used for communications network system, described communications network system comprises Business Stream handover management server and many interface terminations, described self-adapted service stream switching method comprises:
For each many interface termination, carry out the following step:
1) described Business Stream handover management server periodically obtains the active user's information and the current link circuit condition of these many interface terminations;
2) described Business Stream handover management server is set up judgment matrix respectively based on analytic hierarchy process (AHP), and calculates the comprehensive satisfaction of each interface of these many interface terminations; Wherein, with the general objective of interface synthesis satisfaction, with active user's information and current link circuit condition partial objectives for, with each usable interfaces of described many interface terminations possibility as solution layer as rule layer as destination layer;
3) according to service priority order from high to low each Business Stream is arranged formation pre-switch formation, each interface arrangement is formed interface queue according to interface synthesis satisfaction order from high to low;
4), each Business Stream and each interface are set up mapping formation matching relationship according to pre-switch formation and interface queue;
5) Business Stream handover management server is carried out the Business Stream switching according to described matching relationship on many interface terminations.
2. self-adapted service stream switching method according to claim 1 is characterized in that described user profile comprises interface type, and described link circuit condition comprises interface load, available bandwidth and the indication of received signal intensity.
3. self-adapted service stream switching method according to claim 2, it is characterized in that, in the described step 1), the interface type of each many interface terminations, interface load, available bandwidth and the indication of received signal intensity are obtained from network terminal by Business Stream handover management server.
4. self-adapted service stream switching method according to claim 3 is characterized in that described link circuit condition also comprises packet loss.
5. self-adapted service stream switching method according to claim 1 is characterized in that, described step 1) also comprises following substep:
11) after many interface terminations are connected into the territory, local, initiate registration to Business Stream handover management server, carry user profile in the registration message, described user profile comprises priority option, and this priority option is represented the priority of the specified services stream that the user is can be in communication process explicit;
12) Business Stream handover management server is incited somebody to action wherein user profile preservation after receiving registration message;
13) many interface terminations are periodically to Business Stream handover management server transmit status updating message; Carry current user profile in the state updating message;
14) Business Stream handover management server upgrades active user's information according to the state updating message.
6. self-adapted service stream switching method according to claim 5, it is characterized in that, described communications network system is operated in mobile scene following time, described step 11)~14) in, the Business Stream handover management server that described Business Stream handover management server is the territory, local;
Described step 1) comprises that also the foreign lands Business Stream handover management server of access was periodically added up current link circuit condition, and sends to the Business Stream handover management server in territory, local when step 15) was worked as terminal and moved on to foreign lands from being connected into the territory;
Described step 2)~5), the Business Stream handover management server that described Business Stream handover management server is the territory, local.
7. self-adapted service stream switching method according to claim 2 is characterized in that, the total interface of described many interface terminations all is a wave point; Perhaps existing wave point has wireline interface again; Perhaps total interface all is wired.
8. self-adapted service stream switching method according to claim 7, it is characterized in that, when having wireline interface in described many interface terminations, wireline interface is given virtual received signal intensity indication, and this virtual received signal intensity indication is according to the maximum virtual received signal intensity indication assignment of wave point.
9. self-adapted service stream switching method according to claim 4, it is characterized in that, described step 2) in: when subhead is designated as interface load, available bandwidth or the indication of received signal intensity, element value as follows in second kind of judgment matrix in the analytic hierarchy process (AHP):
p i=p jThe time, a Ij=1, a Ji=1
0<p i-p j<5 o'clock, a Ij=2, a Ji=1/2
5<p i-p j<10 o'clock, a Ij=3, a Ji=1/3
10<p i-p j<30 o'clock, a Ij=5, a Ji=1/5
30<p i-p j<50 o'clock, a Ij=7, a Ji=1/7
50<p i-p jThe time, a Ij=9, a Ji=1/9
Wherein, the unit of interface load is KB, and the unit of available bandwidth is KB/S, and the unit of RSSI is dBm; p iAnd p jIt is respectively the value that described second kind of judgment matrix i interface load, available bandwidth or received signal the intensity capable and interface that the j row are represented are indicated; a IjBe the value of described second kind of capable j column element of judgment matrix i, a JiIt is the value of described second kind of capable i column element of judgment matrix j;
When subhead is designated as interface type, element value as follows in second kind of judgment matrix:
As P iBe wireline interface, P jBe wave point, then a Ij=7, a Ji=1/7;
a IjBe the value of described second kind of capable j column element of judgment matrix i, a JiIt is the value of described second kind of capable i column element of judgment matrix j;
When subhead is designated as packet loss, element value as follows in described second kind of judgment matrix:
Work as P i=P jThe time, a Ij=1, a Ji=1
As 0<P i-P j<2% o'clock, a Ij=2, a Ji=1/2
As 2%<P i-P j<5% o'clock, a Ij=3, a Ji=1/3
As 5%<P i-P j<30% o'clock, a Ij=5, a Ji=1/5
Work as P i-P j>30% o'clock, a Ij=7, a Ji=1/7
Wherein, p iAnd p jIt is respectively the value of packet loss of the interface of the capable and j of described second kind of judgment matrix i row representative; a IjBe the value of described second kind of capable j column element of judgment matrix i, a JiIt is the value of described second kind of capable i column element of judgment matrix j.
10. self-adapted service stream switching method according to claim 1 is characterized in that, described step 4) comprises following substep:
41) if the pre-switch formation is empty, then leap to step 5), otherwise, enter step 42);
42) described Business Stream handover management server takes out the head of the queue business from the pre-switch formation, takes out the head of the queue interface from interface queue, and the Business Stream and the interface that are taken out are set up mapping;
43) if interface queue is empty, then enter step 44), otherwise, jump to step 41);
44) each interface is joined the team again according to current comprehensive satisfaction height order.
11. self-adapted service stream switching method according to claim 1 is characterized in that, described step 5) comprises following substep:
51) described Business Stream handover management server is carried out at local terminal and is switched, and downstream service flow is switched on the matched interfaces;
52) described Business Stream handover management server sends the Business Stream switching command to terminal, and the switch unit of terminal receives instruction and carries out switching command, finishes the switching of uplink service stream.
12. a Business Stream handover management server is characterized in that, comprising:
Statistic unit is used for periodically obtaining the active user's information and the current link circuit condition of each many interface termination;
The Business Stream recognition unit is used to obtain the service priority of each Business Stream of each many interface termination;
The switch decision unit is used for setting up judgment matrix respectively according to analytic hierarchy process (AHP), and calculates the comprehensive satisfaction of each interface of these many interface terminations; Wherein, with the general objective of interface synthesis satisfaction, with active user's information and current link circuit condition partial objectives for, with each usable interfaces of described many interface terminations possibility as solution layer as rule layer as destination layer; Also be used for each Business Stream being arranged formation pre-switch formation, each interface arrangement formed interface queue according to interface synthesis satisfaction order from high to low according to service priority order from high to low; According to pre-switch formation and interface queue, each Business Stream and each interface are set up mapping formation matching relationship;
Switch performance element, be used on each many interface termination, carrying out Business Stream and switch according to described matching relationship.
CN 201110004942 2011-01-11 2011-01-11 Adaptive traffic stream switching method for communication network system and corresponding server Expired - Fee Related CN102045776B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110004942 CN102045776B (en) 2011-01-11 2011-01-11 Adaptive traffic stream switching method for communication network system and corresponding server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110004942 CN102045776B (en) 2011-01-11 2011-01-11 Adaptive traffic stream switching method for communication network system and corresponding server

Publications (2)

Publication Number Publication Date
CN102045776A true CN102045776A (en) 2011-05-04
CN102045776B CN102045776B (en) 2013-06-12

Family

ID=43911422

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110004942 Expired - Fee Related CN102045776B (en) 2011-01-11 2011-01-11 Adaptive traffic stream switching method for communication network system and corresponding server

Country Status (1)

Country Link
CN (1) CN102045776B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012171403A1 (en) * 2011-06-14 2012-12-20 中兴通讯股份有限公司 Method and system supporting multi-interface multi-connection communication
CN103052125A (en) * 2011-10-13 2013-04-17 中兴通讯股份有限公司 Stream migration method and device
WO2013185652A1 (en) * 2012-07-04 2013-12-19 中兴通讯股份有限公司 Multi-stream service concurrent transmission method, sub-system, system and multi-interface terminal
JP2014072688A (en) * 2012-09-28 2014-04-21 National Institute Of Information & Communication Technology Portable terminal with virtual received signal indicator display function
WO2014161478A1 (en) * 2013-07-10 2014-10-09 中兴通讯股份有限公司 Switching method for network interfaces, access device and computer storage medium
CN106681696A (en) * 2016-12-12 2017-05-17 中国航空工业集团公司西安航空计算技术研究所 Large scale parallel program optimization arrangement method
CN108259375A (en) * 2018-02-27 2018-07-06 盛科网络(苏州)有限公司 A kind of implementation method and device of the dynamic load sharing of queue level
CN108271224A (en) * 2017-01-03 2018-07-10 中兴通讯股份有限公司 Cell switching method and device
CN108880947A (en) * 2018-08-09 2018-11-23 锐捷网络股份有限公司 The test method and device of one kind of multiple service request concurrencies
CN114615213A (en) * 2022-01-26 2022-06-10 福达新创通讯科技(厦门)有限公司 Multi-network link interface implementation method and system based on message queue

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101198128A (en) * 2007-12-28 2008-06-11 中国科学院计算技术研究所 A kind of multi-mode device and its service flow switching method
CN101400090A (en) * 2007-09-30 2009-04-01 华为技术有限公司 Method and system for communication service switching
CN101594298A (en) * 2009-05-08 2009-12-02 中国科学院计算技术研究所 Multi-interface service flow switching method and device in mobile communication system
CN101820656A (en) * 2009-02-27 2010-09-01 华为技术有限公司 Service flow switching method, network selection method, and related device and system
CN101873573A (en) * 2009-04-25 2010-10-27 华为技术有限公司 A stream switching method, network equipment and stream switching system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101400090A (en) * 2007-09-30 2009-04-01 华为技术有限公司 Method and system for communication service switching
CN101198128A (en) * 2007-12-28 2008-06-11 中国科学院计算技术研究所 A kind of multi-mode device and its service flow switching method
CN101820656A (en) * 2009-02-27 2010-09-01 华为技术有限公司 Service flow switching method, network selection method, and related device and system
CN101873573A (en) * 2009-04-25 2010-10-27 华为技术有限公司 A stream switching method, network equipment and stream switching system
CN101594298A (en) * 2009-05-08 2009-12-02 中国科学院计算技术研究所 Multi-interface service flow switching method and device in mobile communication system

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102833724B (en) * 2011-06-14 2017-10-17 中兴通讯股份有限公司 A kind of method and system for supporting multiplex roles multi-link communication
WO2012171403A1 (en) * 2011-06-14 2012-12-20 中兴通讯股份有限公司 Method and system supporting multi-interface multi-connection communication
CN103052125A (en) * 2011-10-13 2013-04-17 中兴通讯股份有限公司 Stream migration method and device
WO2013185652A1 (en) * 2012-07-04 2013-12-19 中兴通讯股份有限公司 Multi-stream service concurrent transmission method, sub-system, system and multi-interface terminal
US9813933B2 (en) 2012-07-04 2017-11-07 Xi'an Zhongxing New Software Co., Ltd. Multi-stream service concurrent transmission method, subsystem, system and multi-interface terminal
JP2014072688A (en) * 2012-09-28 2014-04-21 National Institute Of Information & Communication Technology Portable terminal with virtual received signal indicator display function
WO2014161478A1 (en) * 2013-07-10 2014-10-09 中兴通讯股份有限公司 Switching method for network interfaces, access device and computer storage medium
CN106681696A (en) * 2016-12-12 2017-05-17 中国航空工业集团公司西安航空计算技术研究所 Large scale parallel program optimization arrangement method
CN108271224A (en) * 2017-01-03 2018-07-10 中兴通讯股份有限公司 Cell switching method and device
CN108259375A (en) * 2018-02-27 2018-07-06 盛科网络(苏州)有限公司 A kind of implementation method and device of the dynamic load sharing of queue level
CN108880947A (en) * 2018-08-09 2018-11-23 锐捷网络股份有限公司 The test method and device of one kind of multiple service request concurrencies
CN114615213A (en) * 2022-01-26 2022-06-10 福达新创通讯科技(厦门)有限公司 Multi-network link interface implementation method and system based on message queue
CN114615213B (en) * 2022-01-26 2024-04-12 福达新创通讯科技(厦门)有限公司 Method and system for implementing multi-network link interface based on message queue

Also Published As

Publication number Publication date
CN102045776B (en) 2013-06-12

Similar Documents

Publication Publication Date Title
CN102045776A (en) Adaptive traffic stream switching method for communication network system and corresponding server
US11558770B2 (en) Method for determining QoS description information and apparatus
CN101321385B (en) Cooperative resource management method and system in heterogeneous wireless network
JP4343229B2 (en) Automatic IP traffic optimization in mobile communication systems
US20080192681A1 (en) Multi-Mode User Equipment and Routing Controlling Method Thereby
CN102497660B (en) Multi-service concurrency accessing system and accessing method used for heterogeneous wireless network
Duan et al. Software-defined networking-based resource management: data offloading with load balancing in 5G HetNet
CN113543219B (en) Communication method and device
CN101800911B (en) Method and system for realizing local exchange
JP2012253750A (en) MiAN, MiAN BAND WIDTH AGGREGATION METHOD, AND AGGREGATION SYSTEM
US9974052B2 (en) Cell and method and system for bandwidth management of backhaul network of cell
US20130343269A1 (en) Routing data over a non-3rd generation partnership project trusted network
Amani et al. Programmable policies for data offloading in LTE network
KR101481337B1 (en) Mobile Communication System Based on Software Defined Networks and Method for Processing Access of Mobile Equipment thereof
CN105474579A (en) Control method and centralized controller in communication network and wireless communication network system
CN102802206B (en) A kind of WLAN shunt method and shunting network element
CN106454959B (en) Service quality control method of distributed network and server
CN102932913A (en) Method and system for acquiring access position of MAB (Multiple Access and Binding) terminal, server and gateway
CN100411362C (en) A Method of Controlling Quality of Service Request by Network
Sachs et al. Multi-access management in heterogeneous networks
CN103595764B (en) The Multi-service QoS safeguard system of a kind of ultra-large VSAT system and its implementation
CN103260145A (en) Mobile management method and system based on PMIPv6 intra-area service flow switching
CN106572030B (en) multipath transmission control method and system in distributed network
WO2006123916A1 (en) Multi-mode user equipment and routing controlling method thereby
WO2019158034A1 (en) Resource allocation 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
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130612