Transferring vendor-specific application protocols
By encoding vendor-specific port numbers and unique port numbers in the transport header, the problem of limited port number allocation and public disclosure in the DevOps model is solved, enabling rapid deployment and load balancing of vendor applications, ensuring application confidentiality and Multi-application deployment.
Patent Information
- Application Number
- CN202410242181.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-03-06
- Filing Date
- 2024-03-04
- Publication Date
- 2024-09-06
AI Technical Summary
In the existing technology, when suppliers deploy proprietary application protocols in the DevOps model, port number allocation is limited and protocol details need to be publicly disclosed, which limits application innovation and confidentiality.
By encoding vendor-specific port numbers and unique port numbers in the transport header, using vendor organization unique identifiers (OUIs) and designated port values, flexible allocation and management of port numbers is achieved, avoiding port number conflicts and public disclosure.
Allows suppliers to quickly deploy and launch proprietary applications without relying on external port number allocation agencies, ensuring the uniqueness and confidentiality of port numbers, and supporting simultaneous deployment and load balancing of multiple applications.
Smart Images

Figure CN118612302A
Abstract
Description
Technical Field
[0001] The present disclosure relates to inter-computer communications and, more particularly, but not exclusively, to an application-level protocol for sending data between different nodes of a distributed computer network. Background Art
[0002] This section introduces aspects that may help to better understand the present disclosure. Therefore, the statements in this section should be read in this light and should not be understood as an admission of what is or is not prior art.
[0003] In some cases, vendors want to deploy proprietary application protocols quickly and efficiently. For example, in the DevOps model, the core focus is on the rapid rollout of vendor proprietary application protocols without involving standardization or public disclosure of the protocols. The vendor may adopt its own confidentiality techniques in the protocol, which requires keeping the details of the application private. Depending on the situation, the application protocol can be transmitted through any existing technology transport protocol, such as Transmission Control Protocol (TCP), User Datagram Protocol (UDP), Stream Control Transmission Protocol (SCTP), Quick UDP Internet Connections (QUIC), etc.
[0004] If cross-vendor applications overlap in the port number used by the transport protocol to uniquely identify the application, then proprietary protocols from multiple vendors cannot coexist in the network. In the prior art, there are two ways to assign unique port numbers to identify vendor proprietary applications: (1) use one of the two experimental port numbers (i.e., 1021 and 1022) in the recognized port range, or (2) assign port numbers from the user port range (i.e., 1024 to 49151) in the Internet Assigned Numbers Authority (IANA) registry. The first method has only two available port numbers, so this method limits the maximum number of vendor proprietary application protocols to two. The second method has two major limitations. First, it takes a relatively long time for IANA to assign unique port numbers. In the DevOps model, vendors need to launch proprietary applications relatively quickly. Typically, experimental applications are launched to meet immediate needs in customer deployments, where the experimental applications are eventually replaced by more mature and robust proprietary applications after a period of time. In addition, the second method requires vendors to publicly disclose the intent and nature of the protocol, thereby preventing vendors from deploying proprietary protocols and maintaining the confidentiality of their underlying technology. These limitations are stifling innovation in the vendor-proprietary application space, especially in the DevOps model. Summary of the invention
[0005] According to the principles of the present disclosure, the problems in the prior art are solved by a flexible and universal technique for unique port number allocation for vendor proprietary applications, so that vendors can roll out proprietary applications at will and without involving any external parties. The present technique enables faster rollout of vendor proprietary applications over standard transport protocols without standardizing or disclosing the details of the application in the public domain. Once standardized, for example by the Internet Engineering Task Force (IETF), the technique enables any enterprise to easily roll out its custom / proprietary applications.
[0006] In at least one embodiment of the present disclosure, a data packet has a transport header that includes: (i) a port number field that encodes a vendor-specific port number, and (ii) a tuple field that encodes a vendor-unique port number, the vendor-unique port number including: a vendor organizationally unique identifier (OUI) value, and a vendor-specified vendor port value.
[0007] In certain embodiments of the present disclosure, a device includes at least one processor and at least one memory storing instructions, which, when executed by the at least one processor, cause the device to at least process a data packet having a transmission header, the transmission header including: (i) a port number field that encodes a vendor-specific port number, and (ii) a tuple field that encodes a vendor-unique port number, the vendor-unique port number including: a vendor organizationally unique identifier (OUI) value, and a vendor-specified vendor port value.
[0008] In at least some of the above embodiments, the apparatus is a destination node configured to receive a data packet.
[0009] In at least some of the above embodiments, the apparatus is a source node configured to send the data packet.
[0010] In at least some of the above embodiments, the port number field encoding the vendor specific port number is the destination port field, and the tuple field encodes the destination vendor unique port number including the destination vendor OUI value and the destination vendor port value.
[0011] In at least some of the above embodiments, the port number field encoding the vendor specific port number is a source port field, and the tuple field encodes a source vendor unique port number including a source vendor OUI value and a source vendor port value.
[0012] In at least some of the above embodiments, the destination port field of the transport header also encodes a vendor specific port number, and the tuple field also encodes a destination vendor unique port number that includes a destination vendor OUI value and a destination vendor port value.
[0013] In at least some of the above embodiments, the transmission header has a source port number field corresponding to a source node for the packet, and a destination port number field corresponding to a destination node for the packet; the device is a transit node located between the source node and the destination node; the transit node is configured to: after determining that the source port number field encodes a vendor-specific port number, use the source vendor-unique port number instead of the source port number in the transmission header to calculate a hash value for load balancing; and the transit node is configured to: after determining that the destination port number field encodes the vendor-specific port number, use the destination vendor-unique port number instead of the destination port number in the transmission header to calculate a hash value for load balancing.
[0014] In at least some of the above embodiments, the data packet is a TCP data packet having a TCP transport header, and the tuple field is located between an urgent pointer field and an option field in the TCP transport header.
[0015] In at least some of the above embodiments, the data packet is a UDP data packet having a UDP transport header, and the tuple field is appended after a checksum field in the UDP transport header.
[0016] In at least some of the above embodiments, the vendor-specific port number is a value in the well-known port space.
[0017] In at least some of the above embodiments, the vendor OUI value is a three-byte value and the vendor port value is a two-byte value.
[0018] In certain embodiments of the present disclosure, a method includes a node (a) generating an outgoing data packet having outgoing application data and a transport header, the transport header including: (i) a port number field that encodes a vendor-specific port number, and a tuple field that encodes a vendor-unique port number, the vendor-unique port number including: a vendor organizationally unique identifier (OUI) value, and a vendor-specified vendor port value; (b) sending an outgoing data packet; (c) receiving an incoming data packet having incoming application data and a transport header, the transport header including (i) a port number field that encodes the vendor-specific port number, and a tuple field that encodes the vendor-unique port number; and (d) recovering the incoming application data from the incoming data packet.
[0019] In at least some of the above embodiments, in the transmission header of the outgoing data packet, the port number field that encodes the vendor-specific port number is the source port number field; in the tuple field in the transmission header of the outgoing data packet, the source vendor-unique port number is encoded; in the transmission header of the incoming data packet, the port number field that encodes the vendor-specific port number is the destination port number field; and in the tuple field in the transmission header of the incoming data packet, the destination vendor-unique port number is encoded.
[0020] In at least some of the above embodiments, in the transmission header of the outgoing data packet, the port number field that encodes the vendor-specific port number is the destination port number field; in the tuple field in the transmission header of the outgoing data packet, the destination vendor-unique port number is encoded; in the transmission header of the incoming data packet, the port number field that encodes the vendor-specific port number is the source port number field; and in the tuple field in the transmission header of the incoming data packet, the source vendor-unique port number is encoded.
[0021] In at least some of the above embodiments, the data packet is a TCP data packet having a TCP transport header, and the tuple field is located between an urgent pointer field and an option field in the TCP transport header.
[0022] In at least some of the above embodiments, the data packet is a UDP data packet having a UDP transport header, and the tuple field is appended after a checksum field in the UDP transport header.
[0023] In at least some of the above embodiments, the vendor-specific port number is a value in the well-known port space.
[0024] In at least some of the above embodiments, the vendor OUI value is a three-byte value and the vendor port value is a two-byte value.
[0025] In certain embodiments of the present disclosure, a method includes a transit node (a) receiving a data packet including a transmission header having a source port number field corresponding to a source node for the packet, and a destination port number field corresponding to a destination node for the packet; (b) performing a hash calculation using at least one of the following to generate a hash value for load balancing: (i) after determining that the source port number field encodes a vendor-specific port number, the source vendor-unique port number in the transmission header instead of the source port number; and (ii) after determining that the destination port number field encodes the vendor-specific port number, the destination vendor-unique port number in the transmission header instead of the destination port number; (c) using the hash value to perform load balancing to select a path; and (d) sending the data packet via the selected path. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Embodiments of the present disclosure will become more fully apparent from the following detailed description, the appended claims and the accompanying drawings, in which like reference numerals designate similar or identical elements.
[0027] Figure 1 is a block diagram of an example distributed network employing one possible TCP version of the present disclosure;
[0028] Figure 2 is a diagram representing a vendor-specific protocol packet sent from a TCP client to a TCP server according to one possible TCP version of the present disclosure;
[0029] Figure 3 It means according to Figure 2 A diagram of a vendor-specific protocol packet sent from a TCP server to a TCP client for a TCP version of FIG.
[0030] Figure 4 is a diagram representing a vendor-specific protocol packet sent from a UDP client to a UDP server according to one possible UDP version of the present disclosure;
[0031] Figure 5 It means according to Figure 4 Figure 1 shows a UDP version of a vendor-specific protocol packet sent from a UDP server to a UDP client;
[0032] Figure 6 is a flow chart of a method for transmitting a vendor-specific protocol packet from a client to a server according to an embodiment of the present disclosure; and
[0033] Figure 7 is a flow chart of a method for transmitting a vendor-specific protocol packet from a server to a client according to an embodiment of the present disclosure;
[0034] Figure 8 is a flowchart of a process performed by a transit node according to an embodiment of the present disclosure; and
[0035] Fig. 9 is a node that can be used to implement the present disclosure (for example, Figure 1 A simplified block diagram of a generic node of a server S or client M or N). DETAILED DESCRIPTION
[0036] Detailed illustrative embodiments of the present disclosure are disclosed herein. However, the specific structural and functional details disclosed herein are only representative for the purpose of describing the exemplary embodiments of the present disclosure. The present disclosure can be implemented in many alternative forms and should not be construed as being limited to the embodiments set forth herein. In addition, the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit the exemplary embodiments of the present disclosure.
[0037] As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It is further understood that the terms "comprise", "include", "contain", "comprises", "comprising" and / or "comprising" explicitly indicate the presence of the features, steps or components, but do not exclude the presence or addition of one or more other features, steps or components. It should also be noted that in some alternative implementations, the annotated functions / actions may not appear in the order annotated in the accompanying drawings. For example, two figures shown in succession may in fact be executed substantially concurrently, or sometimes may be executed in the opposite order, depending on the functions / actions involved.
[0038] Figure 1 FIG. 1 illustrates the deployment of a vendor-specific application protocol XA-1 over TCP in a distributed network 100. Figure 1 In the example, a network node 110 (i.e., clients M and N) (e.g., switches, routers in the network) runs the client side of an application developed by a vendor, and uses the corresponding XA-1 protocol to exchange application data with a centralized node 120 (i.e., server S) running the server side of the application. Each client establishes a TCP session with the server, through which application data is exchanged. For example, the application can perform a telemetry function specified by the vendor to collect telemetry data from each client and report the data to the centralized server.
[0039] To deploy Figure 1 To identify an application in a TCP connection, first, a TCP port number is needed. The TCP module in the server will listen for incoming connection requests from the client on this port number. The client sends a TCP connection request to the application server, with a locally assigned TCP port number from the dynamic port range (i.e., ports 49152-65535) as the source port in the TCP header, and the application's port number as the destination port in the TCP header.
[0040] After the TCP connection is established, the client will send all packets for the application to the server by encapsulating the packets with a TCP header, where the locally assigned TCP port number is the source port in the TCP header, and the application port number is the destination port in the TCP header. Similarly, the server will send all packets for the application to the client by encapsulating the packets with a TCP header, where the application port number is the source port in the TCP header, and the port number locally assigned by the client is the destination port in the TCP header. The TCP packet is then encapsulated by an IP header, which in turn is encapsulated by a data link layer header (e.g., Ethernet) before the packet is sent out on the wire.
[0041] If the transport protocol is UDP or SCTP instead of TCP, and QUIC uses UDP as the underlying transport protocol, then source and destination ports are assigned and used in a similar manner.
[0042] According to the present disclosure, at least one new port number is allocated from the recognized port range 1-1024 to indicate "any" vendor-specific application as the payload of the transport protocol. This new port number is called a "vendor-specific port number". One possible value in the recognized port range for the vendor-specific port number is 1002, which is currently unassigned, although any other currently unassigned port number in the recognized port range can be selected. Since the vendor-specific port number is a recognized port number, it will be allocated and standardized (via RFC) after approval by IANA.
[0043] According to certain embodiments of the present disclosure, if a vendor-specific port number is used for a specific vendor-specific application, the application is also identified by a tuple {vendor OUI, vendor port}, which is included in the header of the transport protocol, wherein the vendor OUI is a 24-bit organizational unique identifier assigned to the vendor by IEEE, and the vendor port is a 16-bit port value assigned by the vendor for its specified application. The tuple is called a "vendor-only port number", and if the source or destination port number (e.g., TCP, UDP, SCTP, etc.) in the transport protocol header is a vendor-specific port number, the tuple is included in the transport protocol header. The vendor port space is managed exclusively by the vendor, and the vendor can assign any port number in the space to uniquely identify the proprietary application developed by the vendor. Because the vendor exclusively controls its vendor port space, this technology enables the vendor to launch a proprietary application at any time. Therefore, two or more orthogonal applications across two or more different vendors can use the same vendor-specific port number (in the source or destination port field) and the same vendor port number (in the tuple) because the application is distinguished by the vendor-unique value in the vendor OUI field. Furthermore, a single vendor can deploy multiple applications simultaneously using the same vendor-specific port number (in the source or destination port field) and the same vendor OUI field (in the tuple) because the applications can be distinguished by the vendor assigning unique values to the vendor port number.
[0044] When a transport protocol packet is received with a vendor-specific port number as either the source or destination port number, the vendor-specific port number indicates that the payload corresponds to a vendor-specific application. To uniquely identify the application, the receiver looks at the tuple {vendor OUI, vendor port} representing the vendor-unique port number, where the vendor OUI uniquely identifies the vendor and the vendor port uniquely identifies the application within the vendor.
[0045] Figure 2 According to a possible implementation, from a client (eg, Figure 1 client M or N) to the server (for example, Figure 1The format of the transport header for TCP packets for supplier-specific applications of a server S) of a provider. In this case, the destination port field is encoded with the provider-specific port number, which indicates the existence of the "destination" provider unique port number (i.e., tuple {destination provider OUI, destination provider port}) in the TCP header. In this implementation, the destination provider unique port number is located after the urgent pointer field and before the option fields of other standard TCP header formats. The data offset field indicates the size of the TCP header with an integer of 32-bit words. Since the destination provider unique port number increases the size of the TCP header by 5 bytes, the data offset value is increased to accommodate the destination provider unique port number. Note that extra bytes may need to be added in the padding field to round the TCP header to an integer of 32-bit words.
[0046] Figure 3 According to a possible implementation, from a server (eg, Figure 1 The server S) sends it to the client (for example, Figure 1 The format of the transport header for TCP packets for vendor-proprietary applications for clients M or N of the standard TCP header format. In this case, the source port field is encoded with a vendor-specific port number that indicates the presence of a "source" vendor-unique port number (tuple {source vendor OUI, source vendor port}) in the TCP header. In this implementation, the source vendor-unique port number is located after the urgent pointer field and before the option field of other standard TCP header formats. Since the source vendor-unique port number increases the size of the TCP header by 5 bytes, the data offset value is increased to accommodate the source vendor-unique port number. Here, additional bytes may also need to be added in the padding field to round the TCP header to an integer of 32-bit words.
[0047] Figure 4 The format of a transport header for a UDP packet for a vendor-proprietary application sent from a client to a server is shown according to one possible implementation. In this case, the destination port field is encoded with a vendor-specific port number that indicates the presence of a destination vendor-unique port number in the UDP header. In this implementation, the corresponding tuple is appended after the checksum field of the otherwise standard UDP header format. The length field indicates the size of the UDP header and its payload (application data). Since the destination vendor-unique port number increases the size of the UDP header by 5 bytes, the length value is increased by 5 bytes to accommodate the destination vendor-unique port number.
[0048] Figure 5The format of a transport header for a UDP packet for a vendor-proprietary application sent from a server to a client according to one possible implementation is shown. In this case, the source port field is encoded with a vendor-proprietary port number that indicates the presence of a source vendor-unique port number in the UDP header. Here, the corresponding tuple is also appended after the checksum field of the otherwise standard UDP header format. Since the source vendor-unique port number increases the size of the UDP header by 5 bytes, the length value is increased by 5 bytes to accommodate the source vendor-unique port number.
[0049] Figure 6 is an illustration of a method for executing a command by a client (e.g., Figure 1 Flowchart 600 of a method implemented by a client M or N) of the present invention, which uses a transmission protocol to transmit vendor-specific application data 601 from a client to a server (e.g., Figure 1 The method comprises a method for transmitting a packet to a server S. The input of the method is a data block corresponding to a proprietary application protocol of a vendor. In step 602, the client encapsulates the input data using the header of the transport protocol. In step 604, the client encodes the source port of the transport header using the local port number assigned by the client. In step 606, the client encodes the destination port of the transport header using the vendor-specific port number. In step 608, the client adds the tuple {destination vendor OUI, destination vendor port} to the transport header. In step 610, the client sends the transport packet to the server.
[0050] Figure 7 is an illustration of a method for executing a command by a server (e.g., Figure 1 Flowchart 700 of a method implemented by a server (S) of FIG. 1 , which uses a transport protocol to transmit vendor-specific application data 701 from a server to a client (e.g., Figure 1 The input of the method is a data block corresponding to the vendor-proprietary application protocol. In step 702, the server encapsulates the input data using the header of the transport protocol. In step 704, the server encodes the destination port of the transport header using the local port number assigned by the client. In step 706, the server encodes the source port of the transport header using the vendor-proprietary port number. In step 708, the server adds the tuple {source vendor OUI, source vendor port} to the transport header. In step 710, the server sends the transport packet to the server.
[0051] The present disclosure is described in the context of the server-client relationship between the node pair in the distributed network, wherein the server port is the supplier-specific port number, and the client port is selected by the client, wherein the server port tuple comprises the supplier OUI, which is followed by the supplier port. Generally speaking, the present disclosure can be implemented in other contexts, such as server-client relationship or point-to-point relationship, a node or two nodes in the server-client relationship or the point-to-point relationship have a port number, and the port number is the supplier-specific port number, and the transmission header includes one or two tuples, each tuple has the supplier OUI and the supplier port, and in the order specified by some. In a possible implementation, if both nodes have the supplier-specific port number, the transmission header will have two tuples: source tuple {source supplier OUI, source supplier port}, which is followed by the purpose tuple {purpose supplier OUI, purpose supplier port}. In another possible implementation, the purpose tuple follows the active tuple. If both nodes have the supplier-specific port number, the two supplier-specific port numbers can be identical or can be different. In one possible implementation, if both nodes have the same or different vendor-specific port numbers, and if both tuples have the same vendor OUI, then the transport header can have a single tuple containing three values: the public vendor OUI number, the source vendor port number, and the destination vendor port number, in some specified order.
[0052] When there are multiple paths to the destination, the intermediate transit nodes in the network (if any) calculate the hash to forward the packets of the TCP connection on the specified path. This is often called "L4 load balancing" or "flow-based load balancing" because the transit nodes look at the layer 4 header (transport layer header) fields to uniquely identify the transport connection and perform load balancing.
[0053] If and when the transit node receives a packet that needs to be load balanced on multiple paths, the transit node looks up the source port and destination port fields in the transport header for its hash calculation. If the source port field encodes a vendor-specific port number, then the transit node uses the corresponding tuple {source vendor OUI, source vendor port}, instead of the source port number, for its hash calculation. Additionally, if the destination port field encodes a vendor-specific port number, then the transit node uses the corresponding tuple {destination vendor OUI, destination vendor port}, instead of the destination port number, for its hash calculation.
[0054] Figure 8800 is a flowchart illustrating a process by a relay node according to an implementation of the present disclosure. In step 802, the relay node receives a packet that needs to be load balanced for multiple available paths. By default, the relay node uses the source and destination port numbers of the packet in the hash calculation of the relay node for load balancing. In step 804, the relay node reads the source and destination port fields in the transport header of the packet.
[0055] In step 806, the transit node determines whether the source port number is a vendor-specific port number. If not, processing continues to step 810. Otherwise, in step 808, the transit node reads the corresponding tuple {source vendor OUI, source vendor port} from the transport header and selects this tuple, rather than the default source port number, for hash calculation. Processing then continues to step 810.
[0056] In step 810, the transit node determines whether the destination port number is a vendor-specific port number. If not, processing continues to step 814. Otherwise, in step 812, the transit node reads the corresponding tuple {destination vendor OUI, destination vendor port} from the transport header and selects this tuple, rather than the default destination port number, for hash calculation. Processing then continues to step 814.
[0057] In step 814, the transit node uses one or two default values, and / or one or two values selected in steps 808 and / or 812, to perform its hash calculation. If the source port is a vendor-specific port number, then the 7-byte tuple {source vendor OUI, source vendor port, destination port} can be used for the hash calculation. Typically, the hash calculation is performed by calculating a 32-bit or 64-bit value from a 56-byte tuple. By using the 7-byte tuple as the lower 56 bits of the 64-bit value and setting the upper 8 bits to 0, a hash calculation can be performed with a 64-bit value, where hash = (source vendor OUI << 32) | (source vendor port << 16) | (destination port), where "<<" represents a left shift operator and "|" represents a binary OR operator. For a 32-bit value, one way of calculating is hash = (source vendor OUI << 8) | (source vendor port << 8) | (destination vendor port). The path may be selected based on the number of available paths as (hash% number_of_paths), where "%" represents a modulo operation. If the destination port is a vendor-specific port number, then the 7-byte tuple {destination vendor OUI, destination vendor port, source port} may be used for the hash calculation in a similar manner.
[0058] In step 816, the relay node uses the resulting calculated hash value to select one of the available multiple paths for the packet, and in step 818, the relay node sends the packet along the selected path.
[0059] Once the IETF assigns a value in the well-known port space as a vendor-specific port number, any vendor can use the vendor-specific port number to indicate the presence of a tuple {vendor OUI, vendor port} representing a vendor-unique port number for the vendor's proprietary applications.
[0060] Fig. 9 is a simplified hardware block diagram of an example node 900, which may be used to implement any node (e.g., server, client, peer, relay node) of the present disclosure, including Figure 1 Node. Fig. 9 As shown, the node 900 includes (i) communication hardware (e.g., wireless, wired and / or optical transceivers (TRXs)) 902 that supports communication with other nodes, (ii) a processor (e.g., a CPU microprocessor) 904 that controls the operation of the node 900, and (iii) a memory (e.g., RAM, ROM) 906 that stores code executed by the processor 904 and / or data generated and / or received by the node 900.
[0061] The use of figure signs and / or figure reference signs in the claims is intended to identify one or more possible embodiments of the claimed subject matter to aid in the interpretation of the claims. Such use should not be interpreted as necessarily limiting the scope of these claims to the embodiments shown in the corresponding drawings.
[0062] Although the elements in the following method claims, if any, are recited in a specific order with corresponding markings, those elements are not necessarily intended to be limited to being implemented in that specific order unless the claim recites otherwise implies a specific order for implementing some or all of those elements. Likewise, in methods consistent with various embodiments of the present disclosure, additional steps may be included in these methods, and certain steps may be omitted or combined.
[0063] References to "one embodiment" or "an embodiment" herein mean that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present disclosure. The phrase "in one embodiment" appearing in various places in the specification does not necessarily refer to the same embodiment, nor do separate or alternative embodiments necessarily exclude other embodiments. The same applies to the term "implementation."
[0064] Unless otherwise stated herein, the use of ordinal adjectives "first," "second," "third," etc. to refer to one of multiple similar objects merely indicates that different instances of these similar objects are being referred to, and is not intended to imply that the referred similar objects must be in a corresponding order or sequence in time, space, ranking, or in any other manner.
[0065] Also for descriptive purposes, the terms "coupling," "coupled," "coupled," "connect," "connected," or "connected" refer to any means known in the art or later developed in which energy is permitted to be transferred between two or more elements, and the insertion of one or more additional elements is contemplated, although not required. In contrast, the terms "direct coupling," "direct connection," and the like mean that no such additional elements are present. The same type of distinction applies to the use of the terms "attachment" and "direct attachment," as applied to the description of physical structures. For example, a relatively thin adhesive layer or other suitable adhesive layer can be used to achieve such "direct attachment" of two corresponding components in such a physical structure.
[0066] The described embodiments should be considered in all respects as illustrative only and not restrictive. In particular, the scope of the present disclosure is indicated by the appended claims rather than by the description and drawings herein. All changes within the meaning and equivalent range of the claims are included within their scope.
[0067] The functions of the various elements shown in the drawings, including any functional blocks marked as "processors" and / or "controllers", can be provided by using dedicated hardware and hardware capable of executing software associated with appropriate software. When provided by a processor, these functions can be provided by a single dedicated processor, a single shared processor, or multiple separate processors, some of which can be shared. In addition, the explicit use of the term "processor" or "controller" should not be interpreted as specifically referring to hardware capable of executing software, and may implicitly include, but are not limited to, digital signal processor (DSP) hardware, network processors, application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), read-only memories (ROMs), random access memories (RAMs), and non-volatile memories for storing software. Other conventional and / or customized hardware may also be included. Similarly, any switches shown in the drawings are conceptual only. Their functions can be implemented by the operation of program logic, by dedicated logic, by the interaction of program control and dedicated logic, or even manually, as more specifically understood from the context, and specific techniques can be selected by the implementer.
[0068] It should be understood by those skilled in the art that any block diagram herein represents a conceptual view of an illustrative circuit that embodies the principles of the present disclosure. Similarly, it should be understood that any flow chart, process diagram, state transition diagram, pseudo code, etc. represent various processes that can be substantially represented in a computer-readable medium and executed by a computer or processor, whether or not such a computer or processor is explicitly shown.
[0069] As will be understood by those of ordinary skill in the art, the present disclosure may be embodied as an apparatus (including, for example, a system, a network, a machine, a device, a computer program product, and / or a similar apparatus), a method (including, for example, a business process, a computer-implemented process, and / or a similar method), or any combination of the foregoing. Thus, embodiments of the present disclosure may take the form of a completely software-based embodiment (including firmware, resident software, microcode, etc.), a completely hardware embodiment, or an embodiment combining software and hardware aspects, which are generally referred to herein as a "system" or "network."
[0070] Embodiments of the present disclosure may be embodied in the form of methods and devices for practicing those methods. Embodiments of the present disclosure may also be embodied in tangible media in the form of program code, such as magnetic recording media, optical recording media, solid-state memory, floppy disk, CD-ROM, hard disk drive, or any other non-transient machine-readable storage medium, wherein, when the program code is loaded into a machine such as a computer and executed by the machine, the machine becomes a device for practicing the present disclosure. Embodiments of the present disclosure may also be expressed in the form of program code, such as stored in a non-transient machine-readable storage medium including being loaded into a machine and / or executed by a machine, wherein, when the program code is loaded into a machine such as a computer and executed by the machine, the machine becomes a device for practicing the present disclosure. When implemented on a general-purpose processor, the program code segment is combined with the processor to provide a unique device that operates similarly to a specific logic circuit.
[0071] The term "non-transitory" as used herein is a restriction on the medium itself (ie, tangible, as opposed to a signal), not on the persistence of data storage (eg, RAM versus ROM).
[0072] In this specification, including any claims, the term "each" may be used to refer to one or more specified characteristics of a plurality of previously recited elements or steps. When used with the open-ended term "comprising," the recitation of the term "each" does not exclude additional, unrecited elements or steps. Thus, it should be understood that an apparatus may have additional, unrecited elements, and a method may have additional, unrecited steps, where the additional, unrecited elements or steps do not have one or more specified characteristics.
[0073] As used herein, "at least one of: " and "at least one of " and similar expressions, where a list of two or more elements is connected by "and" or "or", mean at least any one of the elements, or at least any two or more elements, or at least all of the elements. For example, the phrases "at least one of A and B" and "at least one of A or B" should both be interpreted as having the same meaning, including the following three possibilities: 1-only A; 2-only B; 3-both A and B.
[0074] All documents mentioned herein are incorporated by reference in their entirety or, alternatively, for the disclosure specifically relied upon.
[0075] The embodiments covered by the claims in this application are limited to those that (1) are enabled by this description and (2) correspond to statutory subject matter. Unenabled embodiments and embodiments corresponding to non-statutory subject matter are expressly disclaimed, even if they fall within the scope of the claims.
[0076] As used herein and in the claims, the term "providing" with respect to a device or with respect to a system, apparatus, or component encompasses designing or manufacturing the device, system, apparatus, or component; causing the device, system, apparatus, or component to be designed or manufactured; and / or acquiring the device, system, apparatus, or component through purchase, rental, lease, or other contractual arrangement.
[0077] Although preferred embodiments of the present disclosure are shown and described herein, it will be apparent to those skilled in the art that these embodiments are provided by way of example only. Without departing from the present disclosure, those skilled in the art will appreciate many variations, changes, and substitutions. It should be understood that in practicing the technology of the present disclosure, various alternatives of the embodiments of the present disclosure described herein may be adopted. The following claims are intended to define the scope of the present invention, and methods and structures within the scope of these claims and their equivalents are thus covered.
Claims
1. A device for data transmission, comprising: at least one processor; as well as at least one memory storing instructions that, when executed by the at least one processor, cause the apparatus to at least process a data packet having a transport header, the transport header comprising: a port number field that encodes a vendor-specific port number; and A tuple field encodes a vendor unique port number, the vendor unique port number comprising: a vendor organizationally unique identifier (OUI) value, and a vendor specified vendor port value. 2 . The apparatus according to claim 1 , wherein the apparatus is a destination node configured to receive the data packet. The apparatus according to claim 1 , wherein the apparatus is a source node configured to send the data packet.
4. The device according to claim 1, wherein: The port number field encoding the vendor-specific port number is a destination port field; and The tuple field encodes the destination vendor unique port number, and the destination vendor unique port number includes: a destination vendor OUI value and a destination vendor port value.
5. The device according to claim 1, wherein: The port number field encoding the vendor specific port number is a source port field; and The tuple field encodes a source vendor unique port number, where the source vendor unique port number includes: a source vendor OUI value and a source vendor port value.
6. The device according to claim 5, wherein: The destination port field of the transport header also encodes the vendor-specific port number; and The tuple field also encodes a destination vendor unique port number, where the destination vendor unique port number includes: a destination vendor OUI value, and a destination vendor port value.
7. The device according to claim 1, wherein: The transport header has a source port number field corresponding to a source node for the packet and a destination port number field corresponding to a destination node for the packet; The device is a transit node located between the source node and the destination node; The transit node is configured to: after determining that the source port number field encodes a vendor-specific port number, use the source vendor-unique port number in the transport header instead of the source port number to calculate a hash value for load balancing; and The transit node is configured to calculate the hash value for load balancing using the destination vendor unique port number instead of the destination port number in the transport header after determining that the destination port number field encodes a vendor specific port number.
8. The device according to claim 1, wherein: The data packet is a TCP data packet having a TCP transport header; and The tuple field is located between an urgent pointer field and an option field in the TCP transport header.
9. The device according to claim 1, wherein: The data packet is a UDP data packet having a UDP transport header; and The tuple field is appended after the checksum field in the UDP transport header.
10. The apparatus of claim 1, wherein the vendor-specific port number is a value in a well-known port space.
11. The device according to any one of claims 1 to 10, wherein: The vendor OUI value is a three-byte value; and The vendor port value is a two-byte value.
12. A method for data transmission, comprising a node: Generate an outgoing data packet having outgoing application data and a transport header, the transport header comprising: a port number field, the port number field encoding a vendor-specific port number; as well as a tuple field encoding a vendor unique port number, the vendor unique port number comprising: a vendor organizational unique identifier (OUI) value, and a vendor specified vendor port value; sending the outgoing data packet; Receiving an incoming data packet having incoming application data and a transport header, the transport header comprising: a port number field that encodes the vendor-specific port number; and a tuple field encoding the vendor unique port number; and The incoming application data is recovered from the incoming data packets.
13. The method according to claim 12, wherein: in the transport header of the outgoing data packet, the port number field encoding the vendor-specific port number is a source port number field; encoding, in said tuple field in said transport header of said outgoing data packet, a source vendor unique port number; in the transport header of the incoming data packet, the port number field encoding the vendor specific port number is a destination port number field; and A destination vendor unique port number is encoded in the tuple field in the transport header of the incoming data packet.
14. The method of claim 12, wherein: in the transport header of the outgoing data packet, the port number field encoding the vendor specific port number is a destination port number field; encoding, in said tuple field in said transport header of said outgoing data packet, a destination vendor unique port number; In the transport header of the incoming data packet, the port number field encoding the vendor-specific port number is a source port number field; and A source vendor unique port number is encoded in the tuple field in the transport header of the incoming data packet.
15. A method for data transmission, comprising a relay node: receiving a data packet including a transport header having a source port number field corresponding to a source node for the packet and a destination port number field corresponding to a destination node for the packet; Perform a hash calculation to generate a hash value for load balancing using at least one of the following: (i) upon determining that the source port number field encodes a vendor specific port number, a source vendor unique port number in the transport header instead of the source port number; and (ii) after determining that the destination port number field encodes a vendor-specific port number, a destination vendor-unique port number in the transport header instead of the destination port number; performing load balancing using the hash value to select a path; as well as The data packet is sent via the selected path.
