CN106572030B - multipath transmission control method and system in distributed network - Google Patents
- ️Fri Dec 06 2019
技术领域technical field
本发明涉及一种通信技术领域,尤其是一种分布式网络中多路径发送控制方法、及系统。The invention relates to the technical field of communication, in particular to a method and system for controlling multi-path transmission in a distributed network.
背景技术Background technique
演进的分组系统(Evolved Packet System,EPS)是第三代合作伙伴计划(3rdGeneration Partnership Project,3GPP)中出现的概念。可以认为EPS=UE(UserEquipment,用户设备)+LTE(Long Term Evolution,长期演进;是4G接入网部分)+EPC(Evolved Packet Core,演进的分组核心网)。The Evolved Packet System (Evolved Packet System, EPS) is a concept emerging from the 3rd Generation Partnership Project (3rdGeneration Partnership Project, 3GPP). It can be considered that EPS=UE (User Equipment, user equipment) + LTE (Long Term Evolution, long-term evolution; part of the 4G access network) + EPC (Evolved Packet Core, evolved packet core network).
随着互联网的飞速发展,终端设备通常会具有多个网络接口,如Wi-Fi(Wireless-Fidelity,无线保真)接口、2G(The 2nd Generation Mobile Communication Technology,第二代移动通信技术)接口、3G(The 3rd Generation Mobile CommunicationTechnology,第三代移动通信技术)接口等等,从而可以实现到目标节点的多条链路。With the rapid development of the Internet, terminal devices usually have multiple network interfaces, such as Wi-Fi (Wireless-Fidelity, wireless fidelity) interface, 2G (The 2nd Generation Mobile Communication Technology, second-generation mobile communication technology) interface, 3G (The 3rd Generation Mobile Communication Technology, third-generation mobile communication technology) interface, etc., so that multiple links to the target node can be realized.
TCP(Transmission Control Protocol传输控制协议)是一种面向连接的、可靠的、基于字节流的传输层通信协议,是一对一的传输协议,不能够充分利用用户设备的多址多网络接口的优势,从而造成资源浪费。TCP (Transmission Control Protocol) is a connection-oriented, reliable, and byte-stream-based transport layer communication protocol. advantage, resulting in a waste of resources.
MPTCP(MultiPath TCP,多路径传输控制协议)是一种TCP的改进协议,它允许通信双方同时通过多条连接进行数据传送。在移动通信中,支持MPTCP技术的UE和服务器同时使用3GPP接入技术的多条连接与对端通信时,UE根据业务需求需要修改承载的QoS(Qualityof Service,服务质量)。MPTCP (MultiPath TCP, Multipath Transmission Control Protocol) is an improved protocol of TCP, which allows both communicating parties to transmit data through multiple connections at the same time. In mobile communication, when a UE supporting MPTCP technology and a server use multiple connections of 3GPP access technology to communicate with the opposite end at the same time, the UE needs to modify the QoS (Quality of Service, Quality of Service) of the bearer according to business requirements.
然而,在目前针对每一条连接根据业务需求修改各条连接的承载QoS。会造成UE及服务器的信令处理数量的增多,消耗额外资源。However, at present, the bearer QoS of each connection is modified according to service requirements for each connection. It will cause an increase in the number of signaling processes of the UE and the server, and consume additional resources.
发明内容Contents of the invention
针对现有技术的不足,本发明提供一种分布式网络中多路径发送控制方法、及系统,用于减少信令消耗。Aiming at the deficiencies of the prior art, the present invention provides a multi-path transmission control method and system in a distributed network for reducing signaling consumption.
本发明的技术方案为:一种分布式网络中多路径发送控制方法,应用于分布式网络,在所述分布式网络中包括:服务器、终端设备、接入设备以及至少两个存储设备;所述终端设备支持在两条或者两条以上的传输子流上收发业务报文;所述方法包括:The technical solution of the present invention is: a multi-path transmission control method in a distributed network, which is applied to a distributed network, and the distributed network includes: a server, a terminal device, an access device, and at least two storage devices; The terminal device supports sending and receiving business messages on two or more transmission sub-flows; the method includes:
所述终端设备使用第一传输子流和第二传输子流向所述接入设备发送业务报文,使所述接入设备分别向第一存储设备和第二存储设备转发接收到的业务报文。The terminal device uses the first transmission subflow and the second transmission subflow to send service packets to the access device, so that the access device forwards the received service packets to the first storage device and the second storage device respectively .
在一种可选的实现方式中,所述服务器为所述分布式网络中的控制面设备,所述接入设备集成转发面功能,所述第一传输子流和所述第二传输子流使用不同的网络接口;所述方法还包括:In an optional implementation manner, the server is a control plane device in the distributed network, the access device integrates forwarding plane functions, and the first transmission subflow and the second transmission subflow using a different network interface; the method further comprising:
所述服务器截取所述终端设备使用所述第一传输子流和所述第二传输子流分别发往所述第一存储设备和所述第二存储设备的业务报文;The server intercepts the service packets sent by the terminal device to the first storage device and the second storage device respectively by using the first transmission sub-flow and the second transmission sub-flow;
所述服务器解析所述业务报文,从所述业务报文中获得所述第一传输子流和所述第二传输子流的关联信息,在所述关联信息中包含所述第一传输子流和所述第二传输子流的流标识信息;The server parses the service message, obtains the association information of the first transmission sub-flow and the second transmission sub-flow from the service message, and includes the first transmission sub-flow in the association information stream and stream identification information of the second transport sub-stream;
所述服务器根据所述关联信息确定所述第一传输子流和所述第二传输子流均属于所述终端设备所使用的传输子流,依据服务质量策略向所述接入设备发送修改策略信息;The server determines according to the association information that both the first transmission subflow and the second transmission subflow belong to the transmission subflow used by the terminal device, and sends a modification policy to the access device according to the quality of service policy information;
所述接入设备依据所述修改策略信息的指示,修改所述第一传输子流和/或所述第二传输子流所占用的上行网络资源。The access device modifies uplink network resources occupied by the first transmission sub-flow and/or the second transmission sub-flow according to the indication of the modification policy information.
在一种可选的实现方式中,所述服务器为所述分布式网络中的控制面设备,所述接入设备集成转发面功能,所述第一传输子流和所述第二传输子流使用不同的网络接口;所述方法还包括:In an optional implementation manner, the server is a control plane device in the distributed network, the access device integrates forwarding plane functions, and the first transmission subflow and the second transmission subflow using a different network interface; the method further comprising:
所述接入设备在接收到业务报文后,解析业务报文获得其中携带的流标识信息,若解析获得的流标识信息与之前的流标识信息不同,则上报给所述服务器;After the access device receives the service message, it analyzes the service message to obtain the flow identification information carried therein, and if the flow identification information obtained by parsing is different from the previous flow identification information, it reports to the server;
所述服务器在接收到流标识信息后,解析流标识信息获得子流序号和流标识,如果存在所述第一子流的子流序号和所述第二子流的流序号,且流标识相同,则确定所述第一传输子流和所述第二传输子流均属于所述终端设备所使用的传输子流。After receiving the stream identification information, the server parses the stream identification information to obtain the sub-stream serial number and the stream ID, if the sub-stream serial number of the first sub-stream and the stream serial number of the second sub-stream exist, and the stream IDs are the same , it is determined that both the first transmission substream and the second transmission substream belong to the transmission substream used by the terminal device.
在一种可选的实现方式中,所述接入设备包括:In an optional implementation manner, the access device includes:
第一基站和第二基站;a first base station and a second base station;
所述终端设备使用第一传输子流和第二传输子流向所述接入设备发送业务报文包括:The terminal device using the first transmission sub-flow and the second transmission sub-flow to send the service message to the access device includes:
所述终端设备使用第一传输子流向所述第一基站发送业务报文,所述终端设备使用第二传输子流向所述第二基站发送业务报文;The terminal device sends a service packet to the first base station by using the first transmission subflow, and the terminal device sends a service packet to the second base station by using the second transmission subflow;
所述依据服务质量策略向所述接入设备发送修改策略包括:The sending the modified policy to the access device according to the quality of service policy includes:
所述服务器依据服务质量策略确定需要修改所述第一业务子流所占用的网络资源,则向所述第一基站发送所述修改策略信息;和/或,所述服务器依据服务质量策略确定需要修改所述第二业务子流所占用的网络资源,则向所述第二基站发送所述修改策略信息。The server determines that the network resource occupied by the first service subflow needs to be modified according to the service quality policy, and then sends the modification policy information to the first base station; and/or, the server determines the need to modify the network resource according to the service quality policy modifying the network resource occupied by the second service sub-flow, sending the modification policy information to the second base station.
在一种可选的实现方式中,所述方法还包括:In an optional implementation, the method also includes:
所述第一存储设备和所述第二存储设备分别向所述服务器发送传输子流建立请求,请求建立与所述终端设备之间用于传输下行的数据包的传输子流;The first storage device and the second storage device respectively send a transmission subflow establishment request to the server, requesting to establish a transmission subflow for transmitting downlink data packets with the terminal device;
所述服务器接收到来自所述第一存储设备和所述第二存储设备的下行传输资源请求,解析所述下行传输资源请求获得所述第一传输子流和所述第二传输子流的流标识信息,记录所述第一传输子流和所述第二传输子流的流标识信息,为所述第一传输子流和所述第二传输子流分别分配下行网络资源;The server receives the downlink transmission resource requests from the first storage device and the second storage device, and parses the downlink transmission resource requests to obtain the streams of the first transmission sub-stream and the second transmission sub-stream identification information, recording flow identification information of the first transmission sub-flow and the second transmission sub-flow, and respectively allocating downlink network resources for the first transmission sub-flow and the second transmission sub-flow;
所述第一存储设备使用所述第一传输子流所对应的下行网络资源通过所述第一基站向所述终端设备发送数据包,所述第二存储设备使用所述第二传输子流所对应的下行网络资源通过所述第二基站向所述终端设备发送数据包;The first storage device uses the downlink network resource corresponding to the first transmission sub-flow to send a data packet to the terminal device through the first base station, and the second storage device uses the downlink network resource corresponding to the second transmission sub-flow sending a corresponding downlink network resource to the terminal device through the second base station;
所述服务器分别接收所述第一基站和/或所述第二基站在确定自身下行网络资源占用比例高于预定阈值后上报的网络接口的下行网络资源占用状态信息,依据所述下行网络资源占用状态信息确定是否需要调整第一传输子流的下行网络资源和/或所述第二传输子流的下行网络资源;若是,则向所述第一基站和/或第二基站发送修改策略指令;The server respectively receives the downlink network resource occupancy state information of the network interface reported by the first base station and/or the second base station after determining that the downlink network resource occupancy ratio of itself is higher than a predetermined threshold, and according to the downlink network resource occupancy The status information determines whether the downlink network resources of the first transmission sub-flow and/or the downlink network resources of the second transmission sub-flow need to be adjusted; if so, send a modification policy instruction to the first base station and/or the second base station;
所述第一基站接收到所述修改策略指令后,依据所述修改策略指令的指示调整所述第一传输子流所对应的下行网络资源;和/或,所述第二基站接收到所述修改策略指令后,依据所述修改策略指令的指示调整所述第二传输子流所对应的下行网络资源。After the first base station receives the policy modification instruction, it adjusts the downlink network resource corresponding to the first transmission sub-flow according to the instruction of the policy modification instruction; and/or, the second base station receives the After the policy instruction is modified, the downlink network resource corresponding to the second transmission sub-flow is adjusted according to the instruction of the modified policy instruction.
在一种可选的实现方式中,在所述服务器分别接收所述第一基站和/或所述第二基站在确定自身下行网络资源占用比例高于预定阈值后上报的网络接口的下行网络资源占用状态信息之前,所述方法还包括:In an optional implementation manner, after the server respectively receives the downlink network resources of the network interface reported by the first base station and/or the second base station after determining that the occupancy ratio of its own downlink network resources is higher than a predetermined threshold Before occupying the state information, the method also includes:
在所述服务器的快速转换缓冲区TLB中存储对应关系表,在所述对应关系表的表项中包含:所述第一传输子流的标识信息和所述第二传输子流的标识信息,所述第一传输子流以及所述第二传输子流的下行网络资源的分配量,所述第一基站和所述第二基站的网络地址,以及所述第一基站和所述第二基站的下行网络资源占用状态信息;storing a correspondence table in the fast conversion buffer TLB of the server, and an entry of the correspondence table includes: identification information of the first transmission sub-stream and identification information of the second transmission sub-stream, Allocation of downlink network resources of the first transmission sub-flow and the second transmission sub-flow, network addresses of the first base station and the second base station, and the first base station and the second base station Downlink network resource occupancy status information;
所述服务器在接收到所述下行网络资源占用状态信息后,获得所述下行网络资源占用状态信息来源的网络地址,通过所述下行网络资源占用状态信息来源的网络地址查所述对应关系找到并将接收到的下行网络资源占用状态信息更新到对应基站的下行网络资源占用状态信息;After receiving the downlink network resource occupation status information, the server obtains the network address of the source of the downlink network resource occupation status information, searches the corresponding relationship through the network address of the source of the downlink network resource occupation status information, and finds and Updating the received downlink network resource occupancy state information to the downlink network resource occupancy state information of the corresponding base station;
在所述服务器发送修改策略指令之后,所述方法还包括:After the server sends the modification policy instruction, the method further includes:
接收所述第一基站和/或所述第二基站调整下行网络资源成功的消息后,根据所述修改策略指令调整所述TLB中存储的下行网络资源占用状态信息。After receiving the message that the first base station and/or the second base station has successfully adjusted downlink network resources, adjust the downlink network resource occupancy status information stored in the TLB according to the modification policy instruction.
二方面本发明实施例还提供了一种分布式网络,包括:所述服务器、终端设备、接入设备以及至少两个存储设备;其特征在于,所述终端设备支持在两条或者两条以上的传输子流上收发业务报文;Two aspects, the embodiment of the present invention also provides a distributed network, including: the server, a terminal device, an access device, and at least two storage devices; it is characterized in that the terminal device supports two or more Send and receive service packets on the transmission sub-flow;
所述终端设备,用于使用第一传输子流和第二传输子流向所述接入设备发送业务报文,使所述接入设备分别向第一存储设备和第二存储设备转发接收到的业务报文。The terminal device is configured to use the first transmission subflow and the second transmission subflow to send service packets to the access device, so that the access device forwards the received service packets to the first storage device and the second storage device respectively. business message.
在一种可选的实现方式中,所述服务器为所述分布式网络中的控制面设备,所述接入设备集成转发面功能,所述第一传输子流和所述第二传输子流使用不同的网络接口;In an optional implementation manner, the server is a control plane device in the distributed network, the access device integrates forwarding plane functions, and the first transmission subflow and the second transmission subflow use a different network interface;
所述服务器,用于截取所述终端设备使用所述第一传输子流和所述第二传输子流分别发往所述第一存储设备和所述第二存储设备的业务报文;The server is configured to intercept service packets sent by the terminal device to the first storage device and the second storage device respectively by using the first transmission sub-flow and the second transmission sub-flow;
解析所述业务报文,从所述业务报文中获得所述第一传输子流和所述第二传输子流的关联信息,在所述关联信息中包含所述第一传输子流和所述第二传输子流的流标识信息;Parsing the service message, obtaining association information between the first transmission sub-flow and the second transmission sub-flow from the service message, and including the first transmission sub-flow and the second transmission sub-flow in the association information The stream identification information of the second transmission sub-stream;
根据所述关联信息确定所述第一传输子流和所述第二传输子流均属于所述终端设备所使用的传输子流,依据服务质量策略向所述接入设备发送修改策略信息;Determine according to the association information that both the first transmission subflow and the second transmission subflow belong to the transmission subflow used by the terminal device, and send modification policy information to the access device according to a quality of service policy;
所述接入设备,用于依据所述修改策略信息的指示,修改所述第一传输子流和/或所述第二传输子流所占用的上行网络资源。The access device is configured to modify uplink network resources occupied by the first transmission sub-flow and/or the second transmission sub-flow according to the indication of the modification policy information.
在一种可选的实现方式中,所述接入设备包括:In an optional implementation manner, the access device includes:
第一基站和第二基站;a first base station and a second base station;
所述终端设备,用于使用第一传输子流和第二传输子流向所述接入设备发送业务报文包括:The terminal device, configured to use the first transmission subflow and the second transmission subflow to send the service message to the access device includes:
使用第一传输子流向所述第一基站发送业务报文,所述终端设备使用第二传输子流向所述第二基站发送业务报文;sending a service packet to the first base station by using the first transmission subflow, and the terminal device sends the service packet to the second base station by using the second transmission subflow;
所述服务器,用于依据服务质量策略向所述接入设备发送修改策略包括:The server, configured to send the modification policy to the access device according to the service quality policy includes:
依据服务质量策略确定需要修改所述第一业务子流所占用的网络资源,则向所述第一基站发送所述修改策略信息;和/或,依据服务质量策略确定需要修改所述第二业务子流所占用的网络资源,则向所述第二基站发送所述修改策略信息。According to the quality of service policy, it is determined that the network resources occupied by the first service subflow need to be modified, and then the modification policy information is sent to the first base station; and/or, according to the quality of service policy, it is determined that the second service needs to be modified network resources occupied by the sub-flow, then send the modification policy information to the second base station.
在一种可选的实现方式中,所述第一存储设备和所述第二存储设备,还用于分别向所述服务器发送传输子流建立请求,请求建立与所述终端设备之间用于传输下行的数据包的传输子流;In an optional implementation manner, the first storage device and the second storage device are further configured to respectively send transmission sub-stream establishment requests to the server, requesting to establish a communication with the terminal device for Transmission sub-flow for transmitting downlink data packets;
所述服务器,还用于接收到来自所述第一存储设备和所述第二存储设备的下行传输资源请求,解析所述下行传输资源请求获得所述第一传输子流和所述第二传输子流的流标识信息,记录所述第一传输子流和所述第二传输子流的流标识信息,为所述第一传输子流和所述第二传输子流分别分配下行网络资源;The server is further configured to receive a downlink transmission resource request from the first storage device and the second storage device, and parse the downlink transmission resource request to obtain the first transmission substream and the second transmission substream. The flow identification information of the sub-flow, recording the flow identification information of the first transmission sub-flow and the second transmission sub-flow, respectively allocating downlink network resources for the first transmission sub-flow and the second transmission sub-flow;
所述第一存储设备,还用于使用所述第一传输子流所对应的下行网络资源通过所述第一基站向所述终端设备发送数据包,所述第二存储设备使用所述第二传输子流所对应的下行网络资源通过所述第二基站向所述终端设备发送数据包;The first storage device is further configured to use the downlink network resource corresponding to the first transmission sub-flow to send a data packet to the terminal device through the first base station, and the second storage device uses the second sending a data packet to the terminal device through the second base station through the downlink network resource corresponding to the transmission sub-flow;
所述服务器,还用于分别接收所述第一基站和/或所述第二基站在确定自身下行网络资源占用比例高于预定阈值后上报的网络接口的下行网络资源占用状态信息,依据所述下行网络资源占用状态信息确定是否需要调整第一传输子流的下行网络资源和/或所述第二传输子流的下行网络资源;若是,则向所述第一基站和/或第二基站发送修改策略指令;The server is further configured to respectively receive downlink network resource occupancy state information of the network interface reported by the first base station and/or the second base station after determining that the downlink network resource occupancy ratio of itself is higher than a predetermined threshold, and according to the The downlink network resource occupancy status information determines whether it is necessary to adjust the downlink network resources of the first transmission sub-flow and/or the downlink network resources of the second transmission sub-flow; if so, send the Modify policy directives;
所述第一基站,还用于接收到所述修改策略指令后,依据所述修改策略指令的指示调整所述第一传输子流所对应的下行网络资源;和/或,所述第二基站,还用于接收到所述修改策略指令后,依据所述修改策略指令的指示调整所述第二传输子流所对应的下行网络资源。The first base station is further configured to adjust the downlink network resource corresponding to the first transmission sub-flow according to the instruction of the modification policy instruction after receiving the modification policy instruction; and/or, the second base station It is further configured to, after receiving the modification policy instruction, adjust the downlink network resource corresponding to the second transmission sub-flow according to the instruction of the modification policy instruction.
在一种可选的实现方式中,所述服务器,还用于在所述服务器分别接收所述第一基站和/或所述第二基站在确定自身下行网络资源占用比例高于预定阈值后上报的网络接口的下行网络资源占用状态信息之前,在所述服务器的快速转换缓冲区TLB中存储对应关系表,在所述对应关系表的表项中包含:所述第一传输子流的标识信息和所述第二传输子流的标识信息,所述第一传输子流以及所述第二传输子流的下行网络资源的分配量,所述第一基站和所述第二基站的网络地址,以及所述第一基站和所述第二基站的下行网络资源占用状态信息;In an optional implementation manner, the server is further configured to receive, after the server respectively receives a report from the first base station and/or the second base station after determining that its own downlink network resource occupancy ratio is higher than a predetermined threshold, Before the downlink network resource occupancy state information of the network interface of the network interface, store a correspondence table in the fast switching buffer TLB of the server, and the entry of the correspondence table includes: the identification information of the first transmission subflow and the identification information of the second transmission sub-flow, the allocated amount of downlink network resources of the first transmission sub-flow and the second transmission sub-flow, the network addresses of the first base station and the second base station, and downlink network resource occupancy status information of the first base station and the second base station;
所述服务器,还用于在接收到所述下行网络资源占用状态信息后,获得所述下行网络资源占用状态信息来源的网络地址,通过所述下行网络资源占用状态信息来源的网络地址查所述对应关系找到并将接收到的下行网络资源占用状态信息更新到对应基站的下行网络资源占用状态信息;The server is further configured to, after receiving the downlink network resource occupation status information, obtain the network address of the source of the downlink network resource occupation status information, and search the Finding the corresponding relationship and updating the received downlink network resource occupation status information to the downlink network resource occupation status information of the corresponding base station;
所述服务器,还用于在所述服务器发送修改策略指令之后,接收所述第一基站和/或所述第二基站调整下行网络资源成功的消息后,根据所述修改策略指令调整所述TLB中存储的下行网络资源占用状态信息。The server is further configured to adjust the TLB according to the policy modification command after receiving the message that the first base station and/or the second base station has successfully adjusted downlink network resources after the server sends the policy modification command The downlink network resource occupancy status information stored in .
本发明的有益效果为:使用至少两个存储设备执行数据存储,终端设备在向存储设备发送数据的过程中,使用了至少两条传输子流,这样一方面可以最大限度的提升上行速度,另一方面在执行业务控制的时候,可以对其中一条传输子流进行QoS控制,就可以实现对整个业务QoS的控制,减少控制信令的开销。The beneficial effect of the present invention is: use at least two storage devices to perform data storage, and the terminal device uses at least two transmission sub-flows in the process of sending data to the storage device, so that on the one hand, the uplink speed can be improved to the maximum, and on the other hand On the one hand, when performing service control, QoS control can be performed on one of the transmission sub-flows, which can realize QoS control of the entire service and reduce the overhead of control signaling.
附图说明Description of drawings
图1为本发明实施例方法流程示意图;Fig. 1 is a schematic flow chart of the method of the embodiment of the present invention;
图2为本发明实施例方法流程示意图;Fig. 2 is a schematic flow chart of the method of the embodiment of the present invention;
图3为本发明实施例分布式系统结构示意图。FIG. 3 is a schematic structural diagram of a distributed system according to an embodiment of the present invention.
具体实施方式Detailed ways
下面结合附图对本发明的具体实施方式作进一步说明:The specific embodiment of the present invention will be further described below in conjunction with accompanying drawing:
为了使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作进一步地详细描述,显然,所描述的实施例仅仅是本发明一部份实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments . Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
本发明实施例提供了一种分布式网络中多路径发送控制方法,如图1所示,该方法应用于分布式网络,在所述分布式网络中包括:服务器、终端设备、接入设备以及至少两个存储设备;所述终端设备支持在两条或者两条以上的传输子流上收发业务报文;所述方法包括:An embodiment of the present invention provides a multi-path transmission control method in a distributed network. As shown in FIG. 1, the method is applied to a distributed network, and the distributed network includes: a server, a terminal device, an access device, and At least two storage devices; the terminal device supports sending and receiving business messages on two or more transmission sub-flows; the method includes:
所述终端设备使用第一传输子流和第二传输子流向所述接入设备发送业务报文,使所述接入设备分别向第一存储设备和第二存储设备转发接收到的业务报文。The terminal device uses the first transmission subflow and the second transmission subflow to send service packets to the access device, so that the access device forwards the received service packets to the first storage device and the second storage device respectively .
进一步地,所述服务器为所述分布式网络中的控制面设备,所述接入设备集成转发面功能,所述第一传输子流和所述第二传输子流使用不同的网络接口;所述方法还包括:Further, the server is a control plane device in the distributed network, the access device integrates forwarding plane functions, and the first transmission subflow and the second transmission subflow use different network interfaces; The method also includes:
所述服务器截取所述终端设备使用所述第一传输子流和所述第二传输子流分别发往所述第一存储设备和所述第二存储设备的业务报文;The server intercepts the service packets sent by the terminal device to the first storage device and the second storage device respectively by using the first transmission sub-flow and the second transmission sub-flow;
所述服务器解析所述业务报文,从所述业务报文中获得所述第一传输子流和所述第二传输子流的关联信息,在所述关联信息中包含所述第一传输子流和所述第二传输子流的流标识信息;The server parses the service message, obtains the association information of the first transmission sub-flow and the second transmission sub-flow from the service message, and includes the first transmission sub-flow in the association information stream and stream identification information of the second transport sub-stream;
所述服务器根据所述关联信息确定所述第一传输子流和所述第二传输子流均属于所述终端设备所使用的传输子流,依据服务质量策略向所述接入设备发送修改策略信息;The server determines according to the association information that both the first transmission subflow and the second transmission subflow belong to the transmission subflow used by the terminal device, and sends a modification policy to the access device according to the quality of service policy information;
所述接入设备依据所述修改策略信息的指示,修改所述第一传输子流和/或所述第二传输子流所占用的上行网络资源。The access device modifies uplink network resources occupied by the first transmission sub-flow and/or the second transmission sub-flow according to the indication of the modification policy information.
在本实施例中,通过业务报文中的流标识信息确定两个传输子流之间存在关联,具体实现方案可以是两个传输子流使用相同的流标识。另外,为了使转发面设备能够区分两个子流,可以在流标识前增加子流的序号信息,例如:子流序号+流标识;服务器在识别传输子流的时候,可以截取流标识进行比对。使用该方案,可以方便后续快速转换缓冲区(Translation Lookaside Buffer,TLB)表项的比对。In this embodiment, the association between the two transmission sub-flows is determined through the flow identification information in the service message. A specific implementation solution may be that the two transmission sub-flows use the same flow identification. In addition, in order to enable the forwarding plane device to distinguish between two sub-flows, the sequence number information of the sub-flow can be added before the flow identifier, for example: sub-flow sequence number + flow identifier; when the server identifies the transmission sub-flow, it can intercept the flow identifier for comparison . Using this solution can facilitate the comparison of subsequent fast translation buffer (Translation Lookaside Buffer, TLB) entries.
在本实施例中,服务器确定了传输子流之间的关联关系,那么在确定关联关系后,如果要调整该终端设备的占用的资源情况,那么可以仅修改其中一条传输子流占用的资源就可以了,可以不需要单独调整每一条传输子流,因此可以大幅降低控制面信令的开销。In this embodiment, the server determines the association relationship between the transmission sub-streams. After the association relationship is determined, if the resources occupied by the terminal device need to be adjusted, then only one of the transmission sub-streams can be modified. That's right, there is no need to individually adjust each transmission subflow, so the signaling overhead of the control plane can be greatly reduced.
进一步地,如图2所示,所述接入设备包括:Further, as shown in Figure 2, the access device includes:
第一基站和第二基站;a first base station and a second base station;
所述终端设备使用第一传输子流和第二传输子流向所述接入设备发送业务报文包括:The terminal device using the first transmission sub-flow and the second transmission sub-flow to send the service message to the access device includes:
所述终端设备使用第一传输子流向所述第一基站发送业务报文,所述终端设备使用第二传输子流向所述第二基站发送业务报文;The terminal device sends a service packet to the first base station by using the first transmission subflow, and the terminal device sends a service packet to the second base station by using the second transmission subflow;
所述依据服务质量策略向所述接入设备发送修改策略包括:The sending the modified policy to the access device according to the quality of service policy includes:
所述服务器依据服务质量策略确定需要修改所述第一业务子流所占用的网络资源,则向所述第一基站发送所述修改策略信息;和/或,所述服务器依据服务质量策略确定需要修改所述第二业务子流所占用的网络资源,则向所述第二基站发送所述修改策略信息。The server determines that the network resource occupied by the first service subflow needs to be modified according to the service quality policy, and then sends the modification policy information to the first base station; and/or, the server determines the need to modify the network resource according to the service quality policy modifying the network resource occupied by the second service sub-flow, sending the modification policy information to the second base station.
在本实施例中,基站一方面作为接入设备使用一方面又兼具了转发面设备,基站转发的业务报文可以经过控制面设备,也可以处于控制面设备的监控范围内。In this embodiment, the base station is used as an access device and also serves as a forwarding plane device. The service packets forwarded by the base station can pass through the control plane device or be within the monitoring range of the control plane device.
在本实施例中,所述服务器确定传输子流之间的关联的实现方案,可以具体如下:In this embodiment, the implementation scheme for the server to determine the association between the transmission sub-streams may be specifically as follows:
所述第一基站和所述第二基站在接收到业务报文后,解析业务报文获得其中携带的流标识信息,若解析获得的流标识信息与之前的流标识信息不同,则上报给所述服务器;After the first base station and the second base station receive the service message, they analyze the service message to obtain the flow identification information carried therein, and if the flow identification information obtained through analysis is different from the previous flow identification information, report to the said server;
所述服务器在接收到流标识信息后,解析流标识信息获得子流序号和流标识,如果存在所述第一子流的子流序号和所述第二子流的流序号,且流标识相同,则确定所述第一传输子流和所述第二传输子流均属于所述终端设备所使用的传输子流。After receiving the stream identification information, the server parses the stream identification information to obtain the sub-stream serial number and the stream ID, if the sub-stream serial number of the first sub-stream and the stream serial number of the second sub-stream exist, and the stream IDs are the same , it is determined that both the first transmission substream and the second transmission substream belong to the transmission substream used by the terminal device.
进一步地,本发明实施例还提供了由存储设备向同一终端设备发送业务数据的实现方案,需要说明的是,该实现方案中下行数据包仅需要是发往同一终端设备的就可以,不需要必须属于同一业务的数据包,具体如下:所述方法还包括:Furthermore, the embodiment of the present invention also provides an implementation scheme in which the storage device sends service data to the same terminal equipment. It should be noted that in this implementation scheme, the downlink data packets only need to be sent to the same terminal equipment, and there The data packets that must belong to the same business are as follows: the method also includes:
所述第一存储设备和所述第二存储设备分别向所述服务器发送传输子流建立请求,请求建立与所述终端设备之间用于传输下行的数据包的传输子流;The first storage device and the second storage device respectively send a transmission subflow establishment request to the server, requesting to establish a transmission subflow for transmitting downlink data packets with the terminal device;
所述服务器接收到来自所述第一存储设备和所述第二存储设备的下行传输资源请求,解析所述下行传输资源请求获得所述第一传输子流和所述第二传输子流的流标识信息,记录所述第一传输子流和所述第二传输子流的流标识信息,为所述第一传输子流和所述第二传输子流分别分配下行网络资源;The server receives the downlink transmission resource requests from the first storage device and the second storage device, and parses the downlink transmission resource requests to obtain the streams of the first transmission sub-stream and the second transmission sub-stream identification information, recording flow identification information of the first transmission sub-flow and the second transmission sub-flow, and respectively allocating downlink network resources for the first transmission sub-flow and the second transmission sub-flow;
所述第一存储设备使用所述第一传输子流所对应的下行网络资源通过所述第一基站向所述终端设备发送数据包,所述第二存储设备使用所述第二传输子流所对应的下行网络资源通过所述第二基站向所述终端设备发送数据包;The first storage device uses the downlink network resource corresponding to the first transmission sub-flow to send a data packet to the terminal device through the first base station, and the second storage device uses the downlink network resource corresponding to the second transmission sub-flow sending a corresponding downlink network resource to the terminal device through the second base station;
所述服务器分别接收所述第一基站和/或所述第二基站在确定自身下行网络资源占用比例高于预定阈值后上报的网络接口的下行网络资源占用状态信息,依据所述下行网络资源占用状态信息确定是否需要调整第一传输子流的下行网络资源和/或所述第二传输子流的下行网络资源;若是,则向所述第一基站和/或第二基站发送修改策略指令;The server respectively receives the downlink network resource occupancy state information of the network interface reported by the first base station and/or the second base station after determining that the downlink network resource occupancy ratio of itself is higher than a predetermined threshold, and according to the downlink network resource occupancy The status information determines whether the downlink network resources of the first transmission sub-flow and/or the downlink network resources of the second transmission sub-flow need to be adjusted; if so, send a modification policy instruction to the first base station and/or the second base station;
所述第一基站接收到所述修改策略指令后,依据所述修改策略指令的指示调整所述第一传输子流所对应的下行网络资源;和/或,所述第二基站接收到所述修改策略指令后,依据所述修改策略指令的指示调整所述第二传输子流所对应的下行网络资源。After the first base station receives the policy modification instruction, it adjusts the downlink network resource corresponding to the first transmission sub-flow according to the instruction of the policy modification instruction; and/or, the second base station receives the After the policy instruction is modified, the downlink network resource corresponding to the second transmission sub-flow is adjusted according to the instruction of the modified policy instruction.
在本实施例中,由服务器控制子流的建立,在终端设备支持多种传输路径的情况下,建立了多条传输子流,由接入设备确定自身下行网络资源的占用情况,上报给控制面的服务器,由服务器调整某一个特定终端设备的其中一条传输子流的下行网络资源,不必要对该终端设备的每一条传输子流都进行策略修改,因此可以节省控制信令资源,并且在满足终端设备业务需求的前提下,非常灵活的适应不同接入设备的资源占用情况。In this embodiment, the establishment of the sub-flow is controlled by the server. When the terminal device supports multiple transmission paths, multiple transmission sub-flows are established, and the access device determines the occupancy of its own downlink network resources and reports it to the controller. The server adjusts the downlink network resources of one of the transmission sub-flows of a specific terminal device. It is not necessary to modify the policy of each transmission sub-flow of the terminal device, so it can save control signaling resources, and in Under the premise of meeting the service requirements of terminal equipment, it is very flexible to adapt to the resource occupation of different access equipment.
基于控制面的服务器可能管理海量的传输子流的问题,本发明实施例还提供了基于此建立TLB来加速资源管理的实现方案,具体如下:在所述服务器分别接收所述第一基站和/或所述第二基站在确定自身下行网络资源占用比例高于预定阈值后上报的网络接口的下行网络资源占用状态信息之前,所述方法还包括:Based on the problem that the server on the control plane may manage a large number of transmission sub-flows, the embodiment of the present invention also provides an implementation solution based on this to establish a TLB to accelerate resource management, specifically as follows: the server respectively receives the first base station and/or Or before the second base station determines that its own downlink network resource occupancy ratio is higher than a predetermined threshold and reports the downlink network resource occupancy state information of the network interface, the method further includes:
在所述服务器的快速转换缓冲区TLB中存储对应关系表,在所述对应关系表的表项中包含:所述第一传输子流的标识信息和所述第二传输子流的标识信息,所述第一传输子流以及所述第二传输子流的下行网络资源的分配量,所述第一基站和所述第二基站的网络地址,以及所述第一基站和所述第二基站的下行网络资源占用状态信息;storing a correspondence table in the fast conversion buffer TLB of the server, and an entry of the correspondence table includes: identification information of the first transmission sub-stream and identification information of the second transmission sub-stream, Allocation of downlink network resources of the first transmission sub-flow and the second transmission sub-flow, network addresses of the first base station and the second base station, and the first base station and the second base station Downlink network resource occupancy status information;
所述服务器在接收到所述下行网络资源占用状态信息后,获得所述下行网络资源占用状态信息来源的网络地址,通过所述下行网络资源占用状态信息来源的网络地址查所述对应关系找到并将接收到的下行网络资源占用状态信息更新到对应基站的下行网络资源占用状态信息;After receiving the downlink network resource occupation status information, the server obtains the network address of the source of the downlink network resource occupation status information, searches the corresponding relationship through the network address of the source of the downlink network resource occupation status information, and finds and Updating the received downlink network resource occupancy state information to the downlink network resource occupancy state information of the corresponding base station;
在所述服务器发送修改策略指令之后,所述方法还包括:After the server sends the modification policy instruction, the method further includes:
接收所述第一基站和/或所述第二基站调整下行网络资源成功的消息后,根据所述修改策略指令调整所述TLB中存储的下行网络资源占用状态信息。After receiving the message that the first base station and/or the second base station has successfully adjusted downlink network resources, adjust the downlink network resource occupancy status information stored in the TLB according to the modification policy instruction.
本发明实施例还提供了,一种分布式网络,如图3所示,可以一并参阅图1和图2所示,包括:服务器、终端设备、接入设备以及至少两个存储设备;其特征在于,所述终端设备支持在两条或者两条以上的传输子流上收发业务报文;其特征在于,The embodiment of the present invention also provides a distributed network, as shown in FIG. 3 , which can be referred to in FIG. 1 and FIG. 2 together, including: a server, a terminal device, an access device, and at least two storage devices; It is characterized in that the terminal device supports sending and receiving service messages on two or more transmission sub-flows; it is characterized in that,
所述终端设备,用于使用第一传输子流和第二传输子流向所述接入设备发送业务报文,使所述接入设备分别向第一存储设备和第二存储设备转发接收到的业务报文。The terminal device is configured to use the first transmission subflow and the second transmission subflow to send service packets to the access device, so that the access device forwards the received service packets to the first storage device and the second storage device respectively. business message.
进一步地,所述服务器为所述分布式网络中的控制面设备,所述接入设备集成转发面功能,所述第一传输子流和所述第二传输子流使用不同的网络接口;Further, the server is a control plane device in the distributed network, the access device integrates forwarding plane functions, and the first transmission subflow and the second transmission subflow use different network interfaces;
所述服务器,用于截取所述终端设备使用所述第一传输子流和所述第二传输子流分别发往所述第一存储设备和所述第二存储设备的业务报文;The server is configured to intercept service messages sent by the terminal device to the first storage device and the second storage device respectively by using the first transmission sub-flow and the second transmission sub-flow;
解析所述业务报文,从所述业务报文中获得所述第一传输子流和所述第二传输子流的关联信息,在所述关联信息中包含所述第一传输子流和所述第二传输子流的流标识信息;Parsing the service message, obtaining association information between the first transmission sub-flow and the second transmission sub-flow from the service message, and including the first transmission sub-flow and the second transmission sub-flow in the association information The stream identification information of the second transmission sub-stream;
根据所述关联信息确定所述第一传输子流和所述第二传输子流均属于所述终端设备所使用的传输子流,依据服务质量策略向所述接入设备发送修改策略信息;Determine according to the association information that both the first transmission subflow and the second transmission subflow belong to the transmission subflow used by the terminal device, and send modification policy information to the access device according to a quality of service policy;
所述接入设备,用于依据所述修改策略信息的指示,修改所述第一传输子流和/或所述第二传输子流所占用的上行网络资源。The access device is configured to modify uplink network resources occupied by the first transmission sub-flow and/or the second transmission sub-flow according to the indication of the modification policy information.
可选地,所述接入设备包括:Optionally, the access device includes:
第一基站和第二基站;a first base station and a second base station;
所述终端设备,用于使用第一传输子流和第二传输子流向所述接入设备发送业务报文包括:The terminal device, configured to use the first transmission subflow and the second transmission subflow to send the service message to the access device includes:
使用第一传输子流向所述第一基站发送业务报文,所述终端设备使用第二传输子流向所述第二基站发送业务报文;sending a service packet to the first base station by using the first transmission subflow, and the terminal device sends the service packet to the second base station by using the second transmission subflow;
所述服务器,用于依据服务质量策略向所述接入设备发送修改策略包括:The server, configured to send the modification policy to the access device according to the service quality policy includes:
依据服务质量策略确定需要修改所述第一业务子流所占用的网络资源,则向所述第一基站发送所述修改策略信息;和/或,依据服务质量策略确定需要修改所述第二业务子流所占用的网络资源,则向所述第二基站发送所述修改策略信息。According to the quality of service policy, it is determined that the network resources occupied by the first service subflow need to be modified, and then the modification policy information is sent to the first base station; and/or, according to the quality of service policy, it is determined that the second service needs to be modified network resources occupied by the sub-flow, then send the modification policy information to the second base station.
进一步地,所述第一存储设备和所述第二存储设备,还用于分别向所述服务器发送传输子流建立请求,请求建立与所述终端设备之间用于传输下行的数据包的传输子流;Further, the first storage device and the second storage device are further configured to respectively send transmission subflow establishment requests to the server, requesting establishment of transmission of downlink data packets with the terminal device Substream;
所述服务器,还用于接收到来自所述第一存储设备和所述第二存储设备的下行传输资源请求,解析所述下行传输资源请求获得所述第一传输子流和所述第二传输子流的流标识信息,记录所述第一传输子流和所述第二传输子流的流标识信息,为所述第一传输子流和所述第二传输子流分别分配下行网络资源;The server is further configured to receive a downlink transmission resource request from the first storage device and the second storage device, and parse the downlink transmission resource request to obtain the first transmission substream and the second transmission substream. The flow identification information of the sub-flow, recording the flow identification information of the first transmission sub-flow and the second transmission sub-flow, respectively allocating downlink network resources for the first transmission sub-flow and the second transmission sub-flow;
所述第一存储设备,还用于使用所述第一传输子流所对应的下行网络资源通过所述第一基站向所述终端设备发送数据包,所述第二存储设备使用所述第二传输子流所对应的下行网络资源通过所述第二基站向所述终端设备发送数据包;The first storage device is further configured to use the downlink network resource corresponding to the first transmission sub-flow to send a data packet to the terminal device through the first base station, and the second storage device uses the second sending a data packet to the terminal device through the second base station through the downlink network resource corresponding to the transmission sub-flow;
所述服务器,还用于分别接收所述第一基站和/或所述第二基站在确定自身下行网络资源占用比例高于预定阈值后上报的网络接口的下行网络资源占用状态信息,依据所述下行网络资源占用状态信息确定是否需要调整第一传输子流的下行网络资源和/或所述第二传输子流的下行网络资源;若是,则向所述第一基站和/或第二基站发送修改策略指令;The server is further configured to respectively receive downlink network resource occupancy state information of the network interface reported by the first base station and/or the second base station after determining that the downlink network resource occupancy ratio of itself is higher than a predetermined threshold, and according to the The downlink network resource occupancy status information determines whether it is necessary to adjust the downlink network resources of the first transmission sub-flow and/or the downlink network resources of the second transmission sub-flow; if so, send the Modify policy directives;
所述第一基站,还用于接收到所述修改策略指令后,依据所述修改策略指令的指示调整所述第一传输子流所对应的下行网络资源;和/或,所述第二基站,还用于接收到所述修改策略指令后,依据所述修改策略指令的指示调整所述第二传输子流所对应的下行网络资源。The first base station is further configured to adjust the downlink network resource corresponding to the first transmission sub-flow according to the instruction of the modification policy instruction after receiving the modification policy instruction; and/or, the second base station It is further configured to, after receiving the modification policy instruction, adjust the downlink network resource corresponding to the second transmission sub-flow according to the instruction of the modification policy instruction.
进一步地,所述服务器,还用于在所述服务器分别接收所述第一基站和/或所述第二基站在确定自身下行网络资源占用比例高于预定阈值后上报的网络接口的下行网络资源占用状态信息之前,在所述服务器的快速转换缓冲区TLB中存储对应关系表,在所述对应关系表的表项中包含:所述第一传输子流的标识信息和所述第二传输子流的标识信息,所述第一传输子流以及所述第二传输子流的下行网络资源的分配量,所述第一基站和所述第二基站的网络地址,以及所述第一基站和所述第二基站的下行网络资源占用状态信息;Further, the server is further configured to receive, when the server respectively receives, the downlink network resources of the network interface reported by the first base station and/or the second base station after determining that the occupancy ratio of its own downlink network resources is higher than a predetermined threshold Before occupying the status information, a correspondence table is stored in the fast conversion buffer TLB of the server, and entries in the correspondence table include: the identification information of the first transmission sub-stream and the second transmission sub-stream flow identification information, the allocated amount of downlink network resources of the first transmission sub-flow and the second transmission sub-flow, the network addresses of the first base station and the second base station, and the first base station and the second base station Downlink network resource occupancy status information of the second base station;
所述服务器,还用于在接收到所述下行网络资源占用状态信息后,获得所述下行网络资源占用状态信息来源的网络地址,通过所述下行网络资源占用状态信息来源的网络地址查所述对应关系找到并将接收到的下行网络资源占用状态信息更新到对应基站的下行网络资源占用状态信息;The server is further configured to, after receiving the downlink network resource occupation status information, obtain the network address of the source of the downlink network resource occupation status information, and search the Finding the corresponding relationship and updating the received downlink network resource occupation status information to the downlink network resource occupation status information of the corresponding base station;
所述服务器,还用于在所述服务器发送修改策略指令之后,接收所述第一基站和/或所述第二基站调整下行网络资源成功的消息后,根据所述修改策略指令调整所述TLB中存储的下行网络资源占用状态信息。The server is further configured to adjust the TLB according to the policy modification command after receiving the message that the first base station and/or the second base station has successfully adjusted downlink network resources after the server sends the policy modification command The downlink network resource occupancy status information stored in .
本领域普通技术人员可以理解实现上述各方法实施例中的全部或部分步骤是可以通过程序来指令相关的硬件完成,相应的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘。Those of ordinary skill in the art can understand that all or part of the steps in the above-mentioned method embodiments can be completed by instructing related hardware through a program, and the corresponding program can be stored in a computer-readable storage medium. The medium can be read-only memory, magnetic disk or optical disk.
上述实施例和说明书中描述的只是说明本发明的原理和最佳实施例,在不脱离本发明精神和范围的前提下,本发明还会有各种变化和改进,这些变化和改进都落入要求保护的本发明范围内。What described in above-mentioned embodiment and description just illustrate the principle of the present invention and preferred embodiment, under the premise of not departing from the spirit and scope of the present invention, the present invention also can have various changes and improvements, and these changes and improvements all fall into within the scope of the claimed invention.