CN104202313A - Data forwarding method and gateway - Google Patents
Data forwarding method and gateway Download PDFInfo
- Publication number
- CN104202313A CN104202313A CN201410418097.8A CN201410418097A CN104202313A CN 104202313 A CN104202313 A CN 104202313A CN 201410418097 A CN201410418097 A CN 201410418097A CN 104202313 A CN104202313 A CN 104202313A
- Authority
- CN
- China
- Prior art keywords
- communication data
- network
- gateway
- control server
- conversion instruction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 21
- 238000004891 communication Methods 0.000 claims abstract description 189
- 238000006243 chemical reaction Methods 0.000 claims abstract description 80
- 230000005540 biological transmission Effects 0.000 claims description 33
- 238000010586 diagram Methods 0.000 description 6
- 230000006978 adaptation Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000001131 transforming effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明公开了一种数据转发方法及网关。本发明数据转发方法,包括:网关接收第一网络发送的通信数据;网关解析通信数据,获得第一网络标识以及第二网络标识;网关将第一网络标识以及第二网络标识发送给控制服务器;网关接收控制服务器根据第一网络标识及第二网络标识确定的通信数据转换指令;网关根据控制服务器发送的通信数据转换指令转换通信数据的通信协议,并将转换后的通信数据发送给第二网络。本发明,通过网关根据从控制服务器获取的通信数据转换指令转换通信数据的通信协议,解决了现有网关通用性差的技术问题。
The invention discloses a data forwarding method and a gateway. The data forwarding method of the present invention includes: the gateway receives communication data sent by the first network; the gateway parses the communication data to obtain the first network identifier and the second network identifier; the gateway sends the first network identifier and the second network identifier to the control server; The gateway receives the communication data conversion instruction determined by the control server according to the first network identifier and the second network identifier; the gateway converts the communication protocol of the communication data according to the communication data conversion instruction sent by the control server, and sends the converted communication data to the second network . The invention solves the technical problem of poor versatility of the existing gateway by converting the communication protocol of the communication data through the gateway according to the communication data conversion instruction obtained from the control server.
Description
技术领域technical field
本发明涉及计算机技术,尤其涉及一种数据转发方法及网关。The invention relates to computer technology, in particular to a data forwarding method and a gateway.
背景技术Background technique
随着网络通信的极大发展,涌现出了数量众多的网络类型,例如,航空电信网络(Aeronautical Telecommunication Network,简称ATN)、基于国际空间数据系统咨询委员会(Consultative Committee for Space Data Systems,简称CCSDS)协议的空间网络等。With the great development of network communication, a large number of network types have emerged, for example, Aeronautical Telecommunication Network (ATN), based on the Consultative Committee for Space Data Systems (CCSDS) Protocol space network, etc.
在现有技术中,通常在两个不同类型的网络之间加设网关(Gateway,简称GW),对两种类型网络间传输的数据进行协议转换,从而实现两个不同类型的网络之间的互联互通。In the prior art, a gateway (Gateway, referred to as GW) is usually added between two different types of networks to perform protocol conversion on the data transmitted between the two types of networks, thereby realizing the communication between the two different types of networks. interconnection.
然而,由于现有技术中的网关是预先定制的,只适用于某两个类型的网络之间或者某一些类型的网络之间的互联互通,通用性差。However, because the gateway in the prior art is pre-customized, it is only applicable to the interconnection between certain two types of networks or between certain types of networks, and has poor versatility.
发明内容Contents of the invention
本发明提供一种数据转发方法及网关,以克服现有技术中网关通用性的技术问题。The invention provides a data forwarding method and a gateway to overcome the technical problem of the universality of the gateway in the prior art.
本发明提供一种数据转发方法,包括:The present invention provides a data forwarding method, including:
网关接收第一网络发送的通信数据;The gateway receives communication data sent by the first network;
所述网关解析所述通信数据,获得所述第一网络标识以及第二网络标识;The gateway parses the communication data to obtain the first network identifier and the second network identifier;
所述网关将所述第一网络标识以及所述第二网络标识发送给控制服务器;The gateway sends the first network identifier and the second network identifier to a control server;
所述网关接收所述控制服务器发送的通信数据转换指令,所述控制服务器发送的通信数据转换指令为所述控制服务器根据所述第一网络标识以及所述第二网络标识确定的;The gateway receives the communication data conversion instruction sent by the control server, and the communication data conversion instruction sent by the control server is determined by the control server according to the first network identifier and the second network identifier;
所述网关根据所述控制服务器发送的通信数据转换指令转换所述通信数据的通信协议,并且,将转换后的通信数据发送给所述第二网络。The gateway converts the communication protocol of the communication data according to the communication data conversion instruction sent by the control server, and sends the converted communication data to the second network.
本发明还提供一种网关,包括:The present invention also provides a gateway, including:
接收模块,用于接收第一网络发送的通信数据,接收控制服务器发送的通信数据转换指令,所述控制服务器发送的通信数据转换指令为所述控制服务器根据第一网络标识以及第二网络标识确定的;The receiving module is configured to receive the communication data sent by the first network, and receive the communication data conversion instruction sent by the control server, the communication data conversion instruction sent by the control server is determined by the control server according to the first network identifier and the second network identifier of;
解析模块,用于解析所述通信数据获得所述第一网络标识以及第二网络标识;An analysis module, configured to analyze the communication data to obtain the first network identifier and the second network identifier;
发送模块,用于将所述第一网络标识以及所述第二网络标识发送给控制服务器;a sending module, configured to send the first network identifier and the second network identifier to a control server;
转换模块,用于根据所述控制服务器发送的通信数据转换指令转换所述通信数据的通信协议,并且,将转换后的通信数据发送给所述第二网络。The conversion module is configured to convert the communication protocol of the communication data according to the communication data conversion instruction sent by the control server, and send the converted communication data to the second network.
本发明的技术效果是:通过网关根据从控制服务器获取的通信数据转换策略转换通信数据的通信协议,解决了现有网关通用性差的技术问题,提高了网关的灵活性。The technical effect of the present invention is: the communication protocol of the communication data is converted by the gateway according to the communication data conversion strategy acquired from the control server, the technical problem of poor versatility of the existing gateway is solved, and the flexibility of the gateway is improved.
附图说明Description of drawings
图1为本发明数据发送方法实施例的流程图;FIG. 1 is a flowchart of an embodiment of a data sending method of the present invention;
图2为本发明数据发送方法实施例的网络架构示意图;FIG. 2 is a schematic diagram of a network architecture of an embodiment of a data sending method according to the present invention;
图3为本发明数据发送方法实施例的另一网络架构示意图;FIG. 3 is a schematic diagram of another network architecture of an embodiment of the data sending method of the present invention;
图4为本发明数据发送方法实施例的协议栈示意图;4 is a schematic diagram of a protocol stack of an embodiment of a data sending method of the present invention;
图5为本发明网关实施例的结构示意图。Fig. 5 is a schematic structural diagram of a gateway embodiment of the present invention.
具体实施方式Detailed ways
图1为本发明数据发送方法实施例的流程图。如图1所述,本实施例的方法可以包括:FIG. 1 is a flowchart of an embodiment of a data sending method in the present invention. As shown in Figure 1, the method of this embodiment may include:
步骤101、网关接收第一网络发送的通信数据。Step 101, the gateway receives communication data sent by the first network.
具体地,本实施例采用如图2所示的网络架构,其中,包括第一网络1、第二网络2、网关3以及控制服务器4。其中,网关3连接在第一网络1与第二网络2之间,网关3通过通用接口(Application Programming Interface,简称API)与控制服务器4连接。网关3用于实现第一网络1与第二网络2之间的互联互通。此外,本领域技术人员可以理解的是,在该网络架构中,还可以包括与网关3连接的第三网络5、与网关3连接的第四网络6,如图3所示。Specifically, this embodiment adopts the network architecture shown in FIG. 2 , which includes a first network 1 , a second network 2 , a gateway 3 and a control server 4 . Wherein, the gateway 3 is connected between the first network 1 and the second network 2, and the gateway 3 is connected with the control server 4 through a general interface (Application Programming Interface, API for short). The gateway 3 is used to realize interconnection between the first network 1 and the second network 2 . In addition, those skilled in the art can understand that, in the network architecture, a third network 5 connected to the gateway 3 and a fourth network 6 connected to the gateway 3 may also be included, as shown in FIG. 3 .
该网络架构包括三个层次:子网层(由第一网络1、第二网络2、第三网络5以及第四网络6等异构子网构成)、网关层(在该网络架构中可存在多于一个网关,网络架构中所有网关的集合构成该网关层)以及控制层(在该网络架构中可存在多于一个控制服务器,网络架构中所有控制服务器的集合构成该控制层)。The network architecture includes three levels: the subnet layer (consisting of heterogeneous subnets such as the first network 1, the second network 2, the third network 5, and the fourth network 6), and the gateway layer (which may exist in the network architecture. More than one gateway, the collection of all gateways in the network architecture constitutes the gateway layer) and the control layer (there may be more than one control server in the network architecture, and the collection of all control servers in the network architecture constitutes the control layer).
网关连接在第一网络与第二网络之间,第一网络与第二网络是采用不同通信协议类型的网络,例如可以是采用IP协议的网络、采用CCSDS协议的空间网络、ATN等等。The gateway is connected between the first network and the second network. The first network and the second network are networks using different types of communication protocols, such as a network using IP protocol, a space network using CCSDS protocol, ATN and so on.
步骤102、所述网关解析所述通信数据,获得所述第一网络标识以及第二网络标识。Step 102, the gateway parses the communication data to obtain the first network identifier and the second network identifier.
具体地,网关接收到第一网络的通信数据后,对通信数据进行分析,并从该通信数据中解析出第一网络标识、第二网络标识。本领域技术人员可以理解的是,网关可采用任何现有技术对从第一网络接收到的通信数据进行解析,本实施例对此不作限定。Specifically, after receiving the communication data of the first network, the gateway analyzes the communication data, and parses out the first network identifier and the second network identifier from the communication data. Those skilled in the art can understand that the gateway may use any existing technology to analyze the communication data received from the first network, which is not limited in this embodiment.
步骤103、所述网关将所述第一网络标识以及所述第二网络标识发送给控制服务器。Step 103, the gateway sends the first network identifier and the second network identifier to a control server.
具体地,网关将获取的第一网络标识以及第二网络标识发送给控制服务器。本实施例的网关具有与控制服务器的通信接口,本实施例的网关能够与控制服务器进行通信,也即本实施例的网关可以向控制服务器发送数据,并且可以接收控制服务器发送的数据。需要说明的是,网关可以通过有线的通信方式或者无线的通信方式与控制服务器进行通信,本领域技术人员可以根据实际需求设置网关与控制服务器的通信方式,本实施例对此不作限定。Specifically, the gateway sends the obtained first network identifier and the second network identifier to the control server. The gateway in this embodiment has a communication interface with the control server, and the gateway in this embodiment can communicate with the control server, that is, the gateway in this embodiment can send data to the control server, and can receive data sent by the control server. It should be noted that the gateway can communicate with the control server through wired communication or wireless communication, and those skilled in the art can set the communication mode between the gateway and the control server according to actual needs, which is not limited in this embodiment.
步骤104、所述网关接收所述控制服务器发送的通信数据转换指令,所述控制服务器发送的通信数据转换指令为所述控制服务器根据所述第一网络标识以及所述第二网络标识确定的。Step 104, the gateway receives the communication data conversion instruction sent by the control server, and the communication data conversion instruction sent by the control server is determined by the control server according to the first network identifier and the second network identifier.
具体地,控制服务器接收到网关发送的第一网络标识以及所述第二网络标识后,可根据第一网络标识以及所述第二网络标识,确定第一网络的通信协议类型以及第二网络的通信协议类型,根据第一网络的通信协议类型以及第二网络的通信协议类型确定通信数据转换指令,并将确定的通信数据转换指令下发给网关,相应地,网关执行接收控制服务器发送的通信数据转换指令的操作。Specifically, after the control server receives the first network identifier and the second network identifier sent by the gateway, it can determine the communication protocol type of the first network and the communication protocol type of the second network according to the first network identifier and the second network identifier. Communication protocol type, determine the communication data conversion instruction according to the communication protocol type of the first network and the communication protocol type of the second network, and send the determined communication data conversion instruction to the gateway, and correspondingly, the gateway executes the communication sent by the receiving control server Operation of data conversion instructions.
步骤105、所述网关根据所述控制服务器发送的通信数据转换指令转换所述通信数据的通信协议,并且,将转换后的通信数据发送给所述第二网络。Step 105: The gateway converts the communication protocol of the communication data according to the communication data conversion instruction sent by the control server, and sends the converted communication data to the second network.
具体地,网关接收到控制服务器下发的通信数据转换指令后,根据该通信数据转换指令转换从第一网络接收到的通信数据的通信协议,也即将符合第一网络通信协议的通信数据转换为符合第二网络通信协议的通信数据,使得转换后的通信数据能够在第二网络中传输。网关完成通信数据的通信协议的转换后,将转换后的通信数据发送给第二网络。Specifically, after the gateway receives the communication data conversion instruction issued by the control server, it converts the communication protocol of the communication data received from the first network according to the communication data conversion instruction, that is, converts the communication data conforming to the communication protocol of the first network into The communication data complying with the communication protocol of the second network enables the converted communication data to be transmitted in the second network. After the gateway finishes converting the communication protocol of the communication data, it sends the converted communication data to the second network.
本实施例,通过网关从控制服务器获取与第一网络以及第二网络对应的通信数据转换指令,根据该通信数据转换策略转换从第一网络接收到的通信数据,并将转换后的通信数据发送到第二网络,实现了第一网络与第二网络之间的数据转发。从而解决了现有网关通用性差的技术问题,提高了网关的灵活性。In this embodiment, the gateway obtains the communication data conversion instructions corresponding to the first network and the second network from the control server, converts the communication data received from the first network according to the communication data conversion strategy, and sends the converted communication data to To the second network, data forwarding between the first network and the second network is realized. Therefore, the technical problem of poor versatility of the existing gateway is solved, and the flexibility of the gateway is improved.
在上述实施例的基础上,进一步地,所述网关根据所述控制服务器发送的通信数据转换指令转换所述通信数据的通信协议,包括:On the basis of the above embodiments, further, the gateway converts the communication protocol of the communication data according to the communication data conversion instruction sent by the control server, including:
所述网关根据所述控制服务器下发的所述通信数据转换指令,从通信数据转换策略表调取通信数据转换策略;The gateway retrieves a communication data conversion policy from a communication data conversion policy table according to the communication data conversion instruction issued by the control server;
所述网关根据所述通信数据转换策略转换所述通信数据的通信协议。The gateway converts the communication protocol of the communication data according to the communication data conversion policy.
具体地,网关可以在本地存储通信数据转换策略表,该通信数据转换策略表中存储了多种通信协议之间的转换关系,通过控制服务器发送的与第一网络标识以及第二网络标识相对应的通信数据转换指令,网关能够从通信数据转换策略表调取通信数据转换策略,并基于该通信数据转换策略转换通信数据的通信协议。Specifically, the gateway may store a communication data conversion strategy table locally, the communication data conversion strategy table stores the conversion relationships between multiple communication protocols, and the data sent by the control server corresponds to the first network identifier and the second network identifier. The gateway can retrieve the communication data conversion strategy from the communication data conversion strategy table, and convert the communication protocol of the communication data based on the communication data conversion strategy.
在上述实施例的基础上,进一步地,还包括:On the basis of the foregoing embodiments, it further includes:
若所述通信数据转换策略表未存储与所述通信数据转换指令对应的通信数据转换策略,则所述网关通过用户接口获得与所述通信数据转换指令对应的通信数据转换策略。If the communication data conversion policy table does not store the communication data conversion policy corresponding to the communication data conversion instruction, the gateway obtains the communication data conversion policy corresponding to the communication data conversion instruction through a user interface.
具体地,网关还具有用户接口,技术人员能够通过该用户接口向通信数据转换策略表写入与通信数据转换指令对应的通信数据转换策略。Specifically, the gateway also has a user interface through which the technician can write the communication data conversion policy corresponding to the communication data conversion instruction into the communication data conversion policy table.
在上述实施例的基础上,进一步地,还包括:On the basis of the foregoing embodiments, it further includes:
所述网关从所述通信数据中获得所述通信数据的目的地址;The gateway obtains the destination address of the communication data from the communication data;
所述网关将所述目的地址发送给所述控制服务器;The gateway sends the destination address to the control server;
所述网关接收所述控制服务器下发的传输策略,所述传输策略是所述控制服务器根据所述第二网络标识、所述目的地址以及当前各网络的拥塞状态确定的;The gateway receives the transmission policy issued by the control server, the transmission policy is determined by the control server according to the second network identifier, the destination address, and the current congestion status of each network;
所述网关根据所述传输策略,将所述转换后的通信数据发送给所述第二网络。The gateway sends the converted communication data to the second network according to the transmission policy.
具体地,网关还可从通信数据中解析出目的地址,并将该目的地址发送给控制服务器。控制服务器能够通过与其连接的多个网关采集各个网络的拥塞状态,并根据各网络当前的拥塞状态以及通信数据的目的地址规划通信数据的传输策略。并将传输策略下发给网关,网关根据该传输策略传输转换后的通信数据,其中,所述传输策略包括:所述转换后的通信数据的传输链路,和/或,所述转换后的通信数据的传输速率。Specifically, the gateway can also parse out the destination address from the communication data, and send the destination address to the control server. The control server can collect the congestion status of each network through multiple gateways connected to it, and plan the transmission strategy of communication data according to the current congestion status of each network and the destination address of communication data. and sending the transmission policy to the gateway, and the gateway transmits the converted communication data according to the transmission policy, wherein the transmission policy includes: the transmission link of the converted communication data, and/or, the converted The transmission rate of communication data.
更为具体地,通信数据的传输速率具体包括网络间的速率适配以及网络间的时隙与等效带宽的匹配。其中,网络间的速率适配指的是:若通信数据依次流经带宽为B1的第一网络、带宽为B2的第二网络以及带宽为B3的第三网络,并且B1>B2>B3,控制服务器可根据第一网络、第二网络以及第三网络的带宽进行速率适配,使得该通信数据流在传输时都以B3的速度传输,从而减少对带宽资源的浪费。网络间的时隙与等效带宽的匹配指的是:如果第一网络是电路交换,第二网络是分组交换,在第一网络与第二网络之间进行通信时,需要进行时隙与带宽的匹配,时隙转换为等效可用带宽的表达式为:More specifically, the transmission rate of communication data specifically includes rate adaptation between networks and matching between time slots and equivalent bandwidths between networks. Among them, the rate adaptation between networks refers to: if the communication data flows sequentially through the first network with bandwidth B1 , the second network with bandwidth B2 , and the third network with bandwidth B3 , and B1 >B 2 > B 3 , the control server can perform rate adaptation according to the bandwidth of the first network, the second network and the third network, so that the communication data flow is transmitted at the speed of B 3 during transmission, thereby reducing the waste of bandwidth resources . The matching between time slots and equivalent bandwidth between networks refers to: if the first network is circuit switching and the second network is packet switching, when communicating between the first network and the second network, time slots and bandwidths need to be matched. The expression for converting time slots to equivalent available bandwidth is:
需要说明的是,本实施例中各节点均具有在在全局范围内唯一的网络地址,示例性地可采用网络标识与IP地址的组合。It should be noted that each node in this embodiment has a globally unique network address, for example, a combination of a network identifier and an IP address may be used.
通过控制服务器根据各网络的拥塞状态为转换后的通信数据确定传输链路和/或传输速率可以提高网络资源的利用率。By controlling the server to determine the transmission link and/or transmission rate for the converted communication data according to the congestion state of each network, the utilization rate of network resources can be improved.
优选地,控制服务器在确定传输策略时,还可采用拓扑折叠算法以及链路失真补偿分析简化链路数据,进一步简化控制服务器的运算量。Preferably, when the control server determines the transmission strategy, it can also use topology folding algorithm and link distortion compensation analysis to simplify the link data, further simplifying the calculation amount of the control server.
图4为本发明数据发送方法实施例的协议栈示意图。如图4所示,网关(图中未示出)在对采用不同通信协议类型的第一网络与第二网络间进行数据转发时,关键在于适配层的协议转换和地址映射,该地址即为每个对象全局范围内的唯一网络地址。第一网络、第二网络内部分别使用独立的通信协议,需要通信时,则通过网关完成地址映射与协议转换。该协议体系具有普适性,整合了当前异构子网间多种协议共存,转换复杂的现状。还需要说明的是,在第一网络、第二网络内部通信数据可使用任何现有技术标识各网络节点的网络地址,例如IP地址。由于在第一网络与第二网络之间可能存在具有相同IP地址的网络节点,因此,在第一网络与第二网络之间转发数据时,还需要根据IP地址与网关标识的组合确定的网络地址对各节点进行标识。FIG. 4 is a schematic diagram of a protocol stack of an embodiment of a data sending method according to the present invention. As shown in Figure 4, when the gateway (not shown in the figure) forwards data between the first network and the second network using different communication protocol types, the key lies in the protocol conversion and address mapping of the adaptation layer, the address is A globally unique network address for each object. The first network and the second network respectively use independent communication protocols, and when communication is required, address mapping and protocol conversion are completed through the gateway. The protocol system is universal, integrating the coexistence of multiple protocols among heterogeneous subnets, and transforming the complicated status quo. It should also be noted that the communication data within the first network and the second network may use any existing technology to identify the network address of each network node, such as an IP address. Since there may be network nodes with the same IP address between the first network and the second network, when forwarding data between the first network and the second network, the network determined according to the combination of the IP address and the gateway identifier is also required The address identifies each node.
图5为本发明网关实施例的结构示意图。如图5所示,网关包括:接收模块501、解析模块502、发送模块503以及转换模块504。Fig. 5 is a schematic structural diagram of a gateway embodiment of the present invention. As shown in FIG. 5 , the gateway includes: a receiving module 501 , an analyzing module 502 , a sending module 503 and a converting module 504 .
其中,接收模块501,用于接收第一网络发送的通信数据,接收控制服务器发送的通信数据转换指令,所述控制服务器发送的通信数据转换指令为所述控制服务器根据第一网络标识以及第二网络标识确定的。Wherein, the receiving module 501 is configured to receive the communication data sent by the first network, and receive the communication data conversion instruction sent by the control server, the communication data conversion instruction sent by the control server is the control server according to the first network identifier and the second The network identification is determined.
解析模块502,用于解析所述通信数据获得所述第一网络标识以及第二网络标识。The parsing module 502 is configured to parse the communication data to obtain the first network identifier and the second network identifier.
发送模块503,用于将所述第一网络标识以及所述第二网络标识发送给控制服务器。A sending module 503, configured to send the first network identifier and the second network identifier to a control server.
转换模块504,用于根据所述控制服务器发送的通信数据转换指令转换所述通信数据的通信协议,并且,将转换后的通信数据发送给所述第二网络。The conversion module 504 is configured to convert the communication protocol of the communication data according to the communication data conversion instruction sent by the control server, and send the converted communication data to the second network.
本实施例的客户端,可以用于执行图1所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The client in this embodiment can be used to execute the technical solution of the method embodiment shown in FIG. 1 , and its implementation principle and technical effect are similar, and will not be repeated here.
在上述实施例的基础上,进一步地,转换模块504,具体用于:On the basis of the above embodiments, further, the conversion module 504 is specifically used for:
根据所述控制服务器下发的所述通信数据转换指令,从通信数据转换策略表调取通信数据转换策略,根据所述通信数据转换策略转换所述通信数据的通信协议。According to the communication data conversion instruction issued by the control server, the communication data conversion strategy is retrieved from the communication data conversion strategy table, and the communication protocol of the communication data is converted according to the communication data conversion strategy.
在上述实施例的基础上,进一步地,所述转换模块504,还用于若所述通信数据转换策略表中未存储与所述通信数据转换指令对应的通信数据转换策略,则通过用户接口获得与所述通信数据转换指令对应的通信数据转换策略。On the basis of the above-mentioned embodiments, further, the conversion module 504 is further configured to, if the communication data conversion policy corresponding to the communication data conversion instruction is not stored in the communication data conversion policy table, obtain the A communication data conversion strategy corresponding to the communication data conversion instruction.
在上述实施例的基础上,进一步地,所述解析模块502,还用于从所述通信数据中获得所述通信数据的目的地址;On the basis of the above embodiments, further, the parsing module 502 is further configured to obtain the destination address of the communication data from the communication data;
所述发送模块503,还用于将所述目的地址发送给所述控制服务器;The sending module 503 is further configured to send the destination address to the control server;
所述接收模块501,还用于接收所述控制服务器下发的传输策略,所述传输策略是所述控制服务器根据所述第二网络标识、所述目的地址以及当前各网络状态的拥塞状态确定的;The receiving module 501 is further configured to receive a transmission strategy issued by the control server, the transmission strategy is determined by the control server according to the second network identifier, the destination address, and the congestion status of each current network status of;
所述转换模块504,还用于根据所述传输策略,将所述转换后的通信数据发送给所述第二网络。The conversion module 504 is further configured to send the converted communication data to the second network according to the transmission policy.
在上述实施例的基础上,进一步地,所述传输策略,包括:On the basis of the above embodiments, further, the transmission strategy includes:
所述转换后的通信数据的传输链路,和/或,所述转换后的通信数据的传输速率。The transmission link of the converted communication data, and/or, the transmission rate of the converted communication data.
上述实施例的实现原理和技术效果类似均与方法实施例相同,此处不再赘述。The implementation principles and technical effects of the foregoing embodiments are similar to those of the method embodiments, and will not be repeated here.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410418097.8A CN104202313A (en) | 2014-08-22 | 2014-08-22 | Data forwarding method and gateway |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410418097.8A CN104202313A (en) | 2014-08-22 | 2014-08-22 | Data forwarding method and gateway |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104202313A true CN104202313A (en) | 2014-12-10 |
Family
ID=52087538
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410418097.8A Pending CN104202313A (en) | 2014-08-22 | 2014-08-22 | Data forwarding method and gateway |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104202313A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104811362A (en) * | 2015-05-27 | 2015-07-29 | 浙江大学 | Data transmission method for multi-hierarchy network and network bridge equipment |
CN107249086A (en) * | 2017-06-20 | 2017-10-13 | 京信通信系统(中国)有限公司 | A kind of ad Hoc wireless network communication means and device |
CN107707534A (en) * | 2017-09-22 | 2018-02-16 | 深圳市盛路物联通讯技术有限公司 | A kind of data forwarding method and device |
CN108243177A (en) * | 2016-12-27 | 2018-07-03 | 中国移动通信有限公司研究院 | A data transmission method and device |
CN110166455A (en) * | 2019-05-21 | 2019-08-23 | 东信和平科技股份有限公司 | A kind of multi-operator platform data adaptation method and relevant device |
CN111917717A (en) * | 2020-06-24 | 2020-11-10 | 格创东智(深圳)科技有限公司 | Method and system for automatically analyzing industrial field protocol based on gateway identification |
CN112492622A (en) * | 2015-08-31 | 2021-03-12 | 华为技术有限公司 | Data message processing method and equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1394050A (en) * | 2001-06-29 | 2003-01-29 | 黎明网络有限公司 | Terminal application communication system and its communication method |
CN1487700A (en) * | 2001-03-10 | 2004-04-07 | 华为技术有限公司 | Intercommunication deputizing device and system and method for intercommunicating networks of different protocol |
CN101185307A (en) * | 2005-05-24 | 2008-05-21 | 松下电器产业株式会社 | Gateway device and control device |
CN101521615A (en) * | 2009-03-31 | 2009-09-02 | 深圳创维数字技术股份有限公司 | Communication method for different networks and internetwork for smart machine |
CN101588548A (en) * | 2008-05-22 | 2009-11-25 | 华为技术有限公司 | Method and system for accessing communication data and access gateway |
US20100274914A1 (en) * | 2009-04-23 | 2010-10-28 | International Business Machines Corporation | Interface for connecting a network element to a session initiation protocol application server |
CN101984706A (en) * | 2010-11-04 | 2011-03-09 | 中国电信股份有限公司 | Gateway of Internet of things and automatic adaptation method of communication protocol |
-
2014
- 2014-08-22 CN CN201410418097.8A patent/CN104202313A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1487700A (en) * | 2001-03-10 | 2004-04-07 | 华为技术有限公司 | Intercommunication deputizing device and system and method for intercommunicating networks of different protocol |
CN1394050A (en) * | 2001-06-29 | 2003-01-29 | 黎明网络有限公司 | Terminal application communication system and its communication method |
CN101185307A (en) * | 2005-05-24 | 2008-05-21 | 松下电器产业株式会社 | Gateway device and control device |
CN101588548A (en) * | 2008-05-22 | 2009-11-25 | 华为技术有限公司 | Method and system for accessing communication data and access gateway |
CN101521615A (en) * | 2009-03-31 | 2009-09-02 | 深圳创维数字技术股份有限公司 | Communication method for different networks and internetwork for smart machine |
US20100274914A1 (en) * | 2009-04-23 | 2010-10-28 | International Business Machines Corporation | Interface for connecting a network element to a session initiation protocol application server |
CN101984706A (en) * | 2010-11-04 | 2011-03-09 | 中国电信股份有限公司 | Gateway of Internet of things and automatic adaptation method of communication protocol |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104811362A (en) * | 2015-05-27 | 2015-07-29 | 浙江大学 | Data transmission method for multi-hierarchy network and network bridge equipment |
CN112492622A (en) * | 2015-08-31 | 2021-03-12 | 华为技术有限公司 | Data message processing method and equipment |
CN112492622B (en) * | 2015-08-31 | 2022-11-22 | 华为技术有限公司 | Data message processing method and equipment |
CN108243177A (en) * | 2016-12-27 | 2018-07-03 | 中国移动通信有限公司研究院 | A data transmission method and device |
CN108243177B (en) * | 2016-12-27 | 2021-01-15 | 中国移动通信有限公司研究院 | Data transmission method and device |
CN107249086A (en) * | 2017-06-20 | 2017-10-13 | 京信通信系统(中国)有限公司 | A kind of ad Hoc wireless network communication means and device |
CN107707534A (en) * | 2017-09-22 | 2018-02-16 | 深圳市盛路物联通讯技术有限公司 | A kind of data forwarding method and device |
CN110166455A (en) * | 2019-05-21 | 2019-08-23 | 东信和平科技股份有限公司 | A kind of multi-operator platform data adaptation method and relevant device |
CN111917717A (en) * | 2020-06-24 | 2020-11-10 | 格创东智(深圳)科技有限公司 | Method and system for automatically analyzing industrial field protocol based on gateway identification |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5621778B2 (en) | Content-based switch system and content-based switch method | |
CN104202313A (en) | Data forwarding method and gateway | |
CN104823417B (en) | The conversion for the hybrid network being made up of OpenFlow interchangers and other programmable switches and it is uniformly controlled | |
EP2985960A1 (en) | Network topology discovery method and system | |
CN109840155B (en) | Method and device for realizing remote procedure call | |
CN104518973B (en) | A method of reliable multicast transmission of data based on SDN environment | |
CN110393001B (en) | Method and apparatus for modularly directing AVB streaming | |
CN106487837B (en) | Method and device for sending and obtaining target data from network | |
CN105284083B (en) | The methods, devices and systems that OpenFlow equipment is communicated with IP network equipment | |
WO2012119372A1 (en) | Message processing method, device and system | |
JP6525256B2 (en) | Virtual network system and virtual network route setting method | |
CN109218191B (en) | System and method for enabling multicast packets to traverse non-multicast networks | |
US20180331998A1 (en) | Control apparatus, communication system, communication method, and program | |
CN105516116A (en) | System for controlling OpenFlow exchanger based on ForCES control element and protocol conversion method | |
Berry et al. | PPP over Ethernet (PPPoE) extensions for credit flow and link metrics | |
TWI575909B (en) | Network grouping system and the network grouping method thereof | |
CN103905338B (en) | The method and device that a kind of IP backbone merges | |
KR20170041036A (en) | Network system for transferring data efficiently, and method for transferring data thereof | |
CN116455817A (en) | Software-defined cloud network fusion architecture and route implementation method | |
CN107005473B (en) | Communication path switching apparatus, method of controlling communication path switching apparatus | |
CN105308933B (en) | Serial over TCP/IP using raw TCP encapsulation | |
KR20170001654A (en) | Method for network address translation by using a software defined networking switch | |
CN107231316A (en) | The transmission method and device of message | |
JP6128132B2 (en) | COMMUNICATION DEVICE, CONTROL DEVICE, COMMUNICATION SYSTEM, PACKET PROCESSING METHOD, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM | |
JP5889122B2 (en) | Control node and communication control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C53 | Correction of patent of invention or patent application | ||
CB03 | Change of inventor or designer information |
Inventor after: Liu Feng Inventor after: Wang Yufei Inventor after: Chen Xu Inventor before: Liu Feng Inventor before: Wang Yufei Inventor before: Chen Xu |
|
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20141210 |
|
RJ01 | Rejection of invention patent application after publication |