WO2017000280A1 - Data transmission method and system for router - Google Patents

Data transmission method and system for router Download PDF

Info

Publication number
WO2017000280A1
WO2017000280A1 PCT/CN2015/083071 CN2015083071W WO2017000280A1 WO 2017000280 A1 WO2017000280 A1 WO 2017000280A1 CN 2015083071 W CN2015083071 W CN 2015083071W WO 2017000280 A1 WO2017000280 A1 WO 2017000280A1
Authority
WO
WIPO (PCT)
Prior art keywords
router
load
servers
server
set threshold
Prior art date
Application number
PCT/CN2015/083071
Other languages
French (fr)
Chinese (zh)
Inventor
冯旋宇
Original Assignee
冯旋宇
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 冯旋宇 filed Critical 冯旋宇
Priority to PCT/CN2015/083071 priority Critical patent/WO2017000280A1/en
Publication of WO2017000280A1 publication Critical patent/WO2017000280A1/en

Links

Definitions

  • the present invention belongs to the field of communications, and in particular, to a data transmission method and system for a router.
  • a router is a device that connects to various local area networks and wide area networks in the Internet. It automatically selects and sets routes according to the channel conditions, and sends signals in the best path and in the order.
  • the router is the hub of the interconnected network, "traffic police.”
  • traffic police At present, routers have been widely used in various industries, and various grades of products have become the main force for realizing internal connections of various backbone networks, interconnection between backbone networks, and interconnection and interconnection between backbone networks and the Internet.
  • the main difference between a route and a switch is that the switch occurs at the second layer (data link layer) of the OSI reference model, and the route occurs at the third layer, the network layer. This difference determines that routing and switches need to use different control information in the process of moving information, so the way they implement their respective functions is different.
  • the data transmission method of the router generally uses the principle of shortest path first to forward data. Although this method can effectively reduce the time, sometimes the delay of data transmission increases. technical problem
  • An object of the present invention is to provide a data transmission method for a router, which aims to solve the problem that the data transmission delay of the prior art solution is increased.
  • a data sending method of a router includes:
  • the implementation method of the 102 is specifically:
  • the implementation method of the 102 is specifically: [0012] Selecting servers in all servers whose load is less than a set threshold, calculating a ratio of the load smaller than the set threshold server, and issuing the data request of the equal value.
  • a router in another aspect, where the router includes:
  • an obtaining unit configured to acquire a load of all servers directly connected to the router
  • the sending unit is configured to send the number of data requests according to the load of all servers.
  • the sending unit is further configured to select an average data request sent by a server whose load is less than a set threshold in all servers.
  • the sending unit is further configured to select a server whose load is less than a set threshold in all servers, calculate a ratio of a load that is less than a threshold server, and issue a data request of an equal value.
  • the technical solution provided by the present invention provides a data sending method of a router, which has the advantages of effectively reducing data transmission delay.
  • FIG. 1 is a flowchart of a data sending method of a router according to the present invention
  • FIG. 2 is a structural diagram of a router provided by the present invention.
  • a specific embodiment of the present invention provides a data sending method of a router.
  • the method is as shown in FIG. 1 , and includes:
  • the method provided by the present invention selects the amount of data to be transmitted by the load of its server, thus at the data Rationally, a server with a small load can guarantee a fast processing speed, thereby increasing the loading rate.
  • the implementation method of the foregoing 102 may specifically be:
  • the implementation method of the foregoing 102 may specifically be:
  • the method can further increase the rate of data processing.
  • a specific embodiment of the present invention further provides a router, as shown in FIG. 2, the router includes:
  • the obtaining unit 201 is configured to acquire a load of all servers directly connected to the router;
  • the sending unit 202 is configured to send the number of data requests according to the load of all servers.
  • the sending unit 202 is further configured to select, on a server, an average data delivery request sent by a server whose load is less than a set threshold.
  • the sending unit 202 is further configured to select a server whose load is less than a set threshold in all servers, calculate a ratio of a load that is less than a set threshold server, and issue a data request of an equal value.

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention relates to the field of communications. Provided are a data transmission method for a router and the router. The method comprises: 101. acquiring the load of all servers directly connected to a router; and 102. issuing the number of data requests on the basis of the load of all of the servers. The method provided in the present method has the advantage of a fast load speed.

Description

说明书 发明名称:路由器的数据发送方法及系统 技术领域  Title: Invention Name: Data transmission method and system of router
[0001] 本发明属于通信领域, 尤其涉及一种路由器的数据发送方法及系统。  [0001] The present invention belongs to the field of communications, and in particular, to a data transmission method and system for a router.
背景技术  Background technique
[0002] 路由器 (Router) , 是连接因特网中各局域网、 广域网的设备, 它会根据信道 的情况自动选择和设定路由, 以最佳路径, 按前后顺序发送信号。 路由器是互 联网络的枢纽, "交通警察"。 目前路由器已经广泛应用于各行各业, 各种不同档 次的产品已成为实现各种骨干网内部连接、 骨干网间互联和骨干网与互联网互 联互通业务的主力军。 路由和交换机之间的主要区别就是交换机发生在 OSI参考 模型第二层 (数据链路层) , 而路由发生在第三层, 即网络层。 这一区别决定 了路由和交换机在移动信息的过程中需使用不同的控制信息, 所以说两者实现 各自功能的方式是不同的。  [0002] A router is a device that connects to various local area networks and wide area networks in the Internet. It automatically selects and sets routes according to the channel conditions, and sends signals in the best path and in the order. The router is the hub of the interconnected network, "traffic police." At present, routers have been widely used in various industries, and various grades of products have become the main force for realizing internal connections of various backbone networks, interconnection between backbone networks, and interconnection and interconnection between backbone networks and the Internet. The main difference between a route and a switch is that the switch occurs at the second layer (data link layer) of the OSI reference model, and the route occurs at the third layer, the network layer. This difference determines that routing and switches need to use different control information in the process of moving information, so the way they implement their respective functions is different.
[0003] 目前路由器的数据发送方法一般采用最短路径优先的原则进行数据的转发, 此 种方式虽然能够有效的减少吋间, 但是有的吋候会导致数据发送的延吋增加。 技术问题  [0003] At present, the data transmission method of the router generally uses the principle of shortest path first to forward data. Although this method can effectively reduce the time, sometimes the delay of data transmission increases. technical problem
[0004] 本发明实施例的目的在于提供一种路由器的数据发送方法, 旨在解决现有的技 术方案数据发送延吋增加的问题。  An object of the present invention is to provide a data transmission method for a router, which aims to solve the problem that the data transmission delay of the prior art solution is increased.
问题的解决方案  Problem solution
技术解决方案  Technical solution
[0005] 一方面, 提供一种路由器的数据发送方法, 所述方法包括:  [0005] In one aspect, a data sending method of a router is provided, where the method includes:
[0006] 101、 获取与路由器直接连接的所有服务器的负荷; [0006] 101. Acquire a load of all servers directly connected to the router;
[0007] 102、 依据所有服务器的负荷下发数据请求的数量。 [0007] 102. The number of data requests issued according to the load of all servers.
[0008] 可选的, 所述 102的实现方法具体为: [0008] Optionally, the implementation method of the 102 is specifically:
[0009] 选择所有服务器中负荷小于设定阈值的服务器平均下发数据请求。  [0009] Selecting a server with a load less than a set threshold in all servers to send an average data request.
[0010] 此种方式可以分散发送, 这样避免一个服务器处理的数量过多引发堵塞。 [0010] This way can be distributed and transmitted, so as to avoid a large number of server processing to cause congestion.
[0011] 可选的, 所述 102的实现方法具体为: [0012] 选择所有服务器中负荷小于设定阈值的服务器, 计算小于设定阈值服务器的负 荷的比值, 等比值的下发数据请求。 [0011] Optionally, the implementation method of the 102 is specifically: [0012] Selecting servers in all servers whose load is less than a set threshold, calculating a ratio of the load smaller than the set threshold server, and issuing the data request of the equal value.
[0013] 另一方面, 提供一种路由器, 所述路由器包括: [0013] In another aspect, a router is provided, where the router includes:
[0014] 获取单元, 用于获取与路由器直接连接的所有服务器的负荷; [0014] an obtaining unit, configured to acquire a load of all servers directly connected to the router;
[0015] 下发单元, 用于依据所有服务器的负荷下发数据请求的数量。 [0015] The sending unit is configured to send the number of data requests according to the load of all servers.
[0016] 可选的, 所述下发单元, 还用于选择所有服务器中负荷小于设定阈值的服务器 平均下发数据请求。 [0016] Optionally, the sending unit is further configured to select an average data request sent by a server whose load is less than a set threshold in all servers.
[0017] 可选的, 所述下发单元, 还用于选择所有服务器中负荷小于设定阈值的服务器 , 计算小于设定阈值服务器的负荷的比值, 等比值的下发数据请求。  [0017] Optionally, the sending unit is further configured to select a server whose load is less than a set threshold in all servers, calculate a ratio of a load that is less than a threshold server, and issue a data request of an equal value.
发明的有益效果  Advantageous effects of the invention
有益效果  Beneficial effect
[0018] 在本发明实施例中, 本发明提供的技术方案提供一种路由器的数据发送方法, 该方法具有有效减少数据发送延吋的优点。  [0018] In the embodiment of the present invention, the technical solution provided by the present invention provides a data sending method of a router, which has the advantages of effectively reducing data transmission delay.
对附图的简要说明  Brief description of the drawing
附图说明  DRAWINGS
[0019] 图 1为本发明提供的一种路由器的数据发送方法的流程图;  1 is a flowchart of a data sending method of a router according to the present invention;
[0020] 图 2为本发明提供的一种路由器的结构图。 2 is a structural diagram of a router provided by the present invention.
实施该发明的最佳实施例  BEST MODE FOR CARRYING OUT THE INVENTION
本发明的最佳实施方式  BEST MODE FOR CARRYING OUT THE INVENTION
[0021] 为了使本发明的目的、 技术方案及优点更加清楚明白, 以下结合附图及实施例 , 对本发明进行进一步详细说明。 应当理解, 此处所描述的具体实施例仅仅用 以解释本发明, 并不用于限定本发明。 [0021] The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
[0022] 本发明具体实施方式提供一种路由器的数据发送方法, 该方法如图 1所示, 包 括:  [0022] A specific embodiment of the present invention provides a data sending method of a router. The method is as shown in FIG. 1 , and includes:
[0023] 101、 获取与路由器直接连接的所有服务器的负荷;  [0023] 101. Obtain a load of all servers directly connected to the router;
[0024] 102、 依据所有服务器的负荷下发数据请求的数量。 [0024] 102. The number of data requests issued according to the load of all servers.
[0025] 本发明提供的方法通过与其服务器的负荷选择发送数据的数量, 这样在数据处 理吋, 负荷小的服务器能够保证其处理的速度快, 从而提高加载的速率。 [0025] The method provided by the present invention selects the amount of data to be transmitted by the load of its server, thus at the data Rationally, a server with a small load can guarantee a fast processing speed, thereby increasing the loading rate.
[0026] 可选的, 上述 102的实现方法具体可以为: [0026] Optionally, the implementation method of the foregoing 102 may specifically be:
[0027] 选择所有服务器中负荷小于设定阈值的服务器平均下发数据请求。  [0027] Selecting a server with a load less than a set threshold in all servers to send an average data request.
[0028] 此种方式可以分散发送, 这样避免一个服务器处理的数量过多引发堵塞。 [0028] This way can be distributed and transmitted, so as to avoid too much processing by one server to cause congestion.
[0029] 可选的, 上述 102的实现方法具体还可以为: [0029] Optionally, the implementation method of the foregoing 102 may specifically be:
[0030] 选择所有服务器中负荷小于设定阈值的服务器, 计算小于设定阈值服务器的负 荷的比值, 等比值的下发数据请求。  [0030] Selecting servers in all servers whose load is less than the set threshold, calculating a ratio of the load smaller than the set threshold server, and issuing the data request of the equal value.
[0031] 该方法能够进一步提高数据处理的速率。 [0031] The method can further increase the rate of data processing.
[0032] 本发明具体实施方式还提供一种路由器, 该路由器如图 2所示, 包括:  [0032] A specific embodiment of the present invention further provides a router, as shown in FIG. 2, the router includes:
[0033] 获取单元 201, 用于获取与路由器直接连接的所有服务器的负荷;  [0033] The obtaining unit 201 is configured to acquire a load of all servers directly connected to the router;
[0034] 下发单元 202, 用于依据所有服务器的负荷下发数据请求的数量。  [0034] The sending unit 202 is configured to send the number of data requests according to the load of all servers.
[0035] 可选的, 上述下发单元 202, 还用于选择所有服务器中负荷小于设定阈值的服 务器平均下发数据请求。  [0035] Optionally, the sending unit 202 is further configured to select, on a server, an average data delivery request sent by a server whose load is less than a set threshold.
[0036] 可选的, 上述下发单元 202, 还用于选择所有服务器中负荷小于设定阈值的服 务器, 计算小于设定阈值服务器的负荷的比值, 等比值的下发数据请求。 [0036] Optionally, the sending unit 202 is further configured to select a server whose load is less than a set threshold in all servers, calculate a ratio of a load that is less than a set threshold server, and issue a data request of an equal value.
[0037] 以上所述仅为本发明的较佳实施例而已, 并不用以限制本发明, 凡在本发明的 精神和原则之内所作的任何修改、 等同替换和改进等, 均应包含在本发明的保 护范围之内。 The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalents, and improvements made within the spirit and scope of the present invention should be included in the present invention. Within the scope of protection of the invention.

Claims

权利要求书 Claim
[权利要求 1] 一种路由器的数据发送方法, 其特征在于, 所述方法包括:  [Claim 1] A method for transmitting data of a router, wherein the method includes:
101、 获取与路由器直接连接的所有服务器的负荷;  101. Obtain the load of all servers directly connected to the router;
102、 依据所有服务器的负荷下发数据请求的数量。  102. The number of data requests issued according to the load of all servers.
[权利要求 2] 根据权利要求 1所述的方法, 其特征在于, 所述 102的实现方法具体为 选择所有服务器中负荷小于设定阈值的服务器平均下发数据请求。 此种方式可以分散发送, 这样避免一个服务器处理的数量过多引发堵 塞。  [Claim 2] The method according to claim 1, wherein the implementation method of the 102 is specifically to select an average data delivery request of a server whose load is less than a set threshold in all servers. This way, you can distribute the transmissions in a way that avoids the amount of processing by one server and causes congestion.
[权利要求 3] 根据权利要求 1所述的方法, 其特征在于, 所述 102的实现方法具体为 选择所有服务器中负荷小于设定阈值的服务器, 计算小于设定阈值服 务器的负荷的比值, 等比值的下发数据请求。  [Claim 3] The method according to claim 1, wherein the implementation method of the 102 is specifically selecting a server whose load is less than a set threshold in all servers, calculating a ratio of a load smaller than a set threshold server, etc. The ratio of the data request issued.
[权利要求 4] 一种路由器, 其特征在于, 所述路由器包括: [Claim 4] A router, wherein the router includes:
获取单元, 用于获取与路由器直接连接的所有服务器的负荷; 下发单元, 用于依据所有服务器的负荷下发数据请求的数量。  The obtaining unit is configured to acquire the load of all servers directly connected to the router; the sending unit is configured to send the number of data requests according to the load of all the servers.
[权利要求 5] 根据权利要求 4所述的路由器, 其特征在于, 所述下发单元, 还用于 选择所有服务器中负荷小于设定阈值的服务器平均下发数据请求。 [Claim 5] The router according to claim 4, wherein the sending unit is further configured to select an average data delivery request of a server whose load is less than a set threshold in all servers.
[权利要求 6] 根据权利要求 4所述的路由器, 其特征在于, 所述下发单元, 还用于 选择所有服务器中负荷小于设定阈值的服务器, 计算小于设定阈值服 务器的负荷的比值, 等比值的下发数据请求。 [Claim 6] The router according to claim 4, wherein the sending unit is further configured to select a server whose load is less than a set threshold in all servers, and calculate a ratio of a load smaller than a set threshold server, A data request is sent in equal proportions.
PCT/CN2015/083071 2015-07-01 2015-07-01 Data transmission method and system for router WO2017000280A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/083071 WO2017000280A1 (en) 2015-07-01 2015-07-01 Data transmission method and system for router

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/083071 WO2017000280A1 (en) 2015-07-01 2015-07-01 Data transmission method and system for router

Publications (1)

Publication Number Publication Date
WO2017000280A1 true WO2017000280A1 (en) 2017-01-05

Family

ID=57607495

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/083071 WO2017000280A1 (en) 2015-07-01 2015-07-01 Data transmission method and system for router

Country Status (1)

Country Link
WO (1) WO2017000280A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040063402A1 (en) * 2002-09-26 2004-04-01 Hitachi, Ltd. Method and apparatus for mobile communication utilizing load balancing
CN101669333A (en) * 2007-04-26 2010-03-10 奥林巴斯株式会社 Network system
CN104901879A (en) * 2015-07-01 2015-09-09 冯旋宇 Data transmission method of router and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040063402A1 (en) * 2002-09-26 2004-04-01 Hitachi, Ltd. Method and apparatus for mobile communication utilizing load balancing
CN101669333A (en) * 2007-04-26 2010-03-10 奥林巴斯株式会社 Network system
CN104901879A (en) * 2015-07-01 2015-09-09 冯旋宇 Data transmission method of router and system

Similar Documents

Publication Publication Date Title
CN104954279B (en) A kind of transfer control method, apparatus and system
JP5159889B2 (en) Method, system, and computer program product for adaptive congestion control over virtual lanes of data center ethernet architecture
JP5819530B2 (en) Method and apparatus for avoiding network congestion
US8437351B2 (en) Method and system for multicast path switching, corresponding network and computer program product
CN103916329B (en) Named data network transmission control method and system
WO2012116614A1 (en) Network traffic volume distribution method, network node, and system
US8077607B2 (en) Dynamic response to traffic bursts in a computer network
WO2014032413A1 (en) Method, controller and system for processing data packet
WO2018112877A1 (en) Path calculating and access request distributing methods, devices and systems
WO2014047784A1 (en) Method for determining packet forwarding path, network device and control device
CN101420383A (en) ECMP path soft resuming method in MPLS-TP packet transmission network
WO2011134295A1 (en) Method and device for converging layer 2 multicast network
CA2650912A1 (en) Method and system for qos by proxy
WO2017015839A1 (en) Sdn-based arp realization method and apparatus
CN104468371A (en) Multicast service message processing method and device
CN104243345A (en) Traffic scheduling method, system and device based on service types
EP3382953A1 (en) Method for grouped transmission of packets over software-defined networks
WO2017000280A1 (en) Data transmission method and system for router
CN103685260A (en) Overlaying multicast zone file transmitting method and system
EP3020163B1 (en) Interworking between first protocol entity of stream reservation protocol and second protocol entity of routing protocol
Wang et al. Spray and Wait routing algorithm based on Transfer Utility of Node in DTN
WO2012103748A1 (en) Multicast control method, routing device and multicast system
WO2012149748A1 (en) Network optimization traffic control method, device and system
CN102405624A (en) Real-time data transmission method and device
CN102333017B (en) Method and device for calculating path loss in transparent interconnection of lots of links (TRILL) network

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15896811

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15896811

Country of ref document: EP

Kind code of ref document: A1