CN114900756B - Data transmission method and device and computer readable storage medium - Google Patents

Data transmission method and device and computer readable storage medium Download PDF

Info

Publication number
CN114900756B
CN114900756B CN202210509325.7A CN202210509325A CN114900756B CN 114900756 B CN114900756 B CN 114900756B CN 202210509325 A CN202210509325 A CN 202210509325A CN 114900756 B CN114900756 B CN 114900756B
Authority
CN
China
Prior art keywords
sid
target
transmission path
source
equipment
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.)
Active
Application number
CN202210509325.7A
Other languages
Chinese (zh)
Other versions
CN114900756A (en
Inventor
庞冉
王光全
满祥锟
王海军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202210509325.7A priority Critical patent/CN114900756B/en
Publication of CN114900756A publication Critical patent/CN114900756A/en
Application granted granted Critical
Publication of CN114900756B publication Critical patent/CN114900756B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0073Provisions for forwarding or routing, e.g. lookup tables

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application discloses a data transmission method and device and a computer readable storage medium, relates to the technical field of communication, and is used for meeting the transmission requirement of data. The method comprises the following steps: receiving at least target data, SID of source IP equipment, SID of target IP equipment and SID of target transmission path, wherein the target transmission path is a path meeting transmission requirement of the target data in at least one transmission path of an optical network; analyzing the first route information to obtain the SID of the target transmission path and the SID of the target IP equipment; and sending second routing information to the source optical network device in communication connection with the source IP device, wherein destination address information of the second routing information comprises the SID of the target transmission path and the SID of the target IP device. Therefore, the equipment in the optical network only needs to forward the target data according to the SID in the destination address, and does not need to analyze the routing information, so that the time for transmitting the data by the optical network equipment is reduced.

Description

Data transmission method and device and computer readable storage medium
Technical Field
The embodiments of the present application relate to the field of communications technologies, and in particular, to a data transmission method and apparatus, and a computer readable storage medium.
Background
Internetworking protocol (internet protocol, IP) networks currently support Segment Routing (SR) technology. However, in the application scenario of the 6 th edition (internet protocol version, ipv 6) of the internet protocol, in the process of transmitting data to other devices, the devices in the IP network may occupy the bandwidth of the intermediate device, and affect the transmission of other data.
To solve this problem, data may be transmitted through an optical network. Optical networks may also be referred to as optical transport networks, optical layer networks, etc. Optical networks may include dense optical wave multiplexing (Dense Wavelength Division Multiplexing, DWDM), optical transport networks (OTN, optical Transport Network), and the like. An optical network may provide statically configured optical physical links for data that may use a larger bandwidth to transfer large amounts of data than links of an IP network. However, in some scenarios, the device in the optical network cannot parse the routing information from the IP network or the device in the optical network parses the routing information for a long time, which cannot meet the data transmission requirement.
Disclosure of Invention
The application provides a data transmission method and device and a computer readable storage medium, which are used for reducing transmission delay of data in an optical network when the data is transmitted by using the optical network.
In order to achieve the above purpose, the present application adopts the following technical scheme:
in a first aspect, a data transmission method is provided and applied to a source IP device, where the source IP device is a device in an IP network, and the IP network is communicatively connected to an optical network, and the method includes: receiving at least target data, SID of source IP equipment, SID of target IP equipment and SID of target transmission path, wherein the target transmission path is a path meeting transmission requirement of the target data in at least one transmission path of an optical network; analyzing the first route information to obtain the SID of the target transmission path and the SID of the target IP equipment; and sending second routing information to the source optical network device in communication connection with the source IP device, wherein destination address information of the second routing information comprises the SID of the target transmission path and the SID of the target IP device.
Based on the technical scheme provided by the application, after receiving the first routing information, the source IP equipment can analyze the first routing information to acquire the SID of the target transmission path and the SID of the target IP equipment in the target transmission path, and write the SID of the target transmission path and the SID of the target IP equipment in the target transmission path into the destination address information of the routing information. In this way, the next hop device (e.g., source optical network device) of the source IP device, after receiving the destination address information including the SID of the destination transmission path and the routing information of the SID of the destination IP device in the destination transmission path, can directly determine the transmission path for transmitting the destination data from the destination address information of the routing information without parsing the routing information. That is, the device in the optical network only needs to forward the target data, and does not need to analyze the SRH of the routing information, thereby reducing the time for transmitting the data by the optical network device.
In a possible implementation manner, the first routing information further includes a first pointer, in the SRH of the first routing information, the SID of the source IP device, the SID of the target transmission path, and the SID of the destination IP device are arranged according to a preset sequence, where the SID of the target transmission path is obtained by virtually mapping the target transmission path, and the SID currently pointed by the first pointer is the SID of the source IP device.
In a possible implementation manner, the method for analyzing the first routing information to obtain the SID of the target transmission path and the SID of the destination IP device specifically includes: the value of the first pointer is smaller than the first value, so that the first pointer points to the SID of the target transmission path, and target address information is written in through the SID of the target transmission path; continuing to decrease the value of the first pointer by the first value so that the first pointer points to the SID of the destination IP device and writing the SID of the destination IP device to the destination address information.
In a second aspect, a data transmission method is provided, applied to a management and control device in an IP network, where the IP network is communicatively connected to an optical network, and the method includes: acquiring a source IP device for requesting to transmit target data from an IP network to a destination IP device; determining the transmission requirement of the target data and at least one transmission path of the optical network, and selecting a target transmission path matched with the transmission requirement of the target data from the at least one transmission path; and sending first routing information to the source IP equipment, wherein the first routing information at least comprises target data, the SID of the source IP equipment, the SID of the target IP equipment and the SID of a target transmission path, and the SID of the target transmission path is obtained by virtually mapping the target transmission path.
Based on the technical solution provided in the second aspect, when the management and control device in the IP network obtains the target data and the transmission requirement of the target data, the management and control device may determine, from at least one transmission path of the optical network, a target transmission path matching the transmission requirement of the target data, and send, to the source IP device, routing information including at least the target data, the SID of the source IP device, the SID of the destination IP device, and the SID of the target transmission path, so that the source IP device can parse the routing information, and transmit the target data according to the routing information.
In a possible implementation manner, the first routing information further includes a first pointer, in the SRH of the first routing information, the SID of the source IP device, the SID of the target transmission path, and the SID of the destination IP device are arranged according to a preset sequence, where the SID of the target transmission path is obtained by virtually mapping the target transmission path, and the SID currently pointed by the first pointer is the SID of the source IP device.
In a possible implementation manner, the SID of the source IP device is used to instruct the source IP device to perform a first operation, where the first operation includes: reducing the value of the first pointer by a first value so that the first pointer points to the SID of the target transmission path, and writing the SID of the target transmission path into the target address information; continuing to decrease the value of the first pointer by the first value so that the first pointer points to the SID of the destination IP device and writing the SID of the destination IP device into the destination address information.
In a third aspect, a data transmission device is provided, where the data transmission device is applied to a source IP device in an IP network, and the I may also be a functional module in the data transmission device for implementing the method in the first aspect or any one of the possible designs of the first aspect. The IP network is communicatively coupled to the optical network. The data transmission device can realize the functions executed by the source IP equipment in the aspects or the possible designs, and the functions can be realized by hardware executing corresponding software. The hardware or software comprises one or more modules corresponding to the functions. Such as: the data transmission device comprises a receiving unit, an analyzing unit and a sending unit.
And the receiving unit is used for receiving the SID at least comprising the target data, the SID of the source IP equipment, the SID of the target IP equipment and the SID of a target transmission path, wherein the target transmission path is a path meeting the transmission requirement of the target data in at least one transmission path of the optical network.
And the analyzing unit is used for analyzing the first route information to acquire the SID of the target transmission path and the SID of the target IP equipment.
And the sending unit is used for analyzing the first route information to acquire the SID of the target transmission path and the SID of the target IP equipment.
In this embodiment, reference may be made to the behavior function of the source IP device in the data transmission method provided by the first aspect or any one of the possible designs of the first aspect, and detailed description is not repeated here. The data transmission device provided may thus achieve the same advantages as the first aspect or any of the possible designs of the first aspect.
In a possible implementation manner, the first routing information further includes a first pointer, in the SRH of the first routing information, the SID of the source IP device, the SID of the target transmission path, and the SID of the destination IP device are arranged according to a preset sequence, where the SID of the target transmission path is obtained by virtually mapping the target transmission path, and the SID currently pointed by the first pointer is the SID of the source IP device.
In a possible implementation manner, the parsing unit is specifically configured to: the value of the first pointer is smaller than the first value, so that the first pointer points to the SID of the target transmission path, and target address information is written in through the SID of the target transmission path; continuing to decrease the value of the first pointer by the first value so that the first pointer points to the SID of the destination IP device and writing the SID of the destination IP device to the destination address information.
In a fourth aspect, a data transmission device is provided, where the data transmission device is applied to a management and control device in an IP network, and may be a functional module in the management and control device for implementing the method in the second aspect or any possible design of the second aspect. The IP network is communicatively coupled to the optical network. The data transmission device can realize the functions executed by the control device in the aspects or the possible designs, and the functions can be realized by hardware executing corresponding software. The hardware or software comprises one or more modules corresponding to the functions. Such as: the data transmission device comprises an acquisition unit, a determination unit and a sending unit.
And the acquisition unit is used for acquiring the request for transmitting the target data from the source IP equipment to the destination IP equipment of the IP network.
A determining unit, configured to determine a transmission requirement of the target data, and at least one transmission path of the optical network, and select a target transmission path matching the transmission requirement of the target data from the at least one transmission path.
The transmitting unit is configured to transmit first routing information to the source IP device, where the first routing information includes at least target data, a SID of the source IP device, a SID of the destination IP device, and a SID of the target transmission path, where the SID of the target transmission path is obtained by virtually mapping the target transmission path.
In a possible implementation manner, the first routing information further includes a first pointer, in the SRH of the first routing information, the SID of the source IP device, the SID of the target transmission path, and the SID of the destination IP device are arranged according to a preset sequence, where the SID of the target transmission path is obtained by virtually mapping the target transmission path, and the SID currently pointed by the first pointer is the SID of the source IP device.
In a possible implementation manner, the SID of the source IP device is used to instruct the source IP device to perform a first operation, where the first operation includes: reducing the value of the first pointer by a first value so that the first pointer points to the SID of the target transmission path, and writing the SID of the target transmission path into the target address information; continuing to decrease the value of the first pointer by the first value so that the first pointer points to the SID of the destination IP device and writing the SID of the destination IP device into the destination address information.
In a fifth aspect, a data transmission device is provided, which may be a data transmission device or a chip or a system on a chip in a data transmission device. The data transmission device may implement the functions performed by the data transmission device in the aspects or in the possible designs, where the functions may be implemented by hardware, for example: in one possible design, the data transmission device may include: a processor and a communication interface, the processor being operable to support the data transmission apparatus to carry out the functions involved in the first aspect or any one of the possible designs of the first aspect, for example: the processor receives the first request information through the communication interface.
In yet another possible design, the data transmission device may further include a memory for holding computer-executable instructions and data necessary for the data transmission device. When the data transmission device is operated, the processor executes the computer-executable instructions stored in the memory, so that the data transmission device performs the data transmission method according to the first aspect or any one of the possible designs of the first aspect.
In a sixth aspect, a data transmission device is provided, which may be a data transmission device or a chip or a system on a chip in a data transmission device. The data transmission device may implement the functions performed by the data transmission device in the aspects or in the possible designs, where the functions may be implemented by hardware, for example: in one possible design, the data transmission device may include: a processor and a communication interface, the processor being operable to support the data transmission apparatus to carry out the functions involved in the first aspect or any one of the possible designs of the first aspect, for example: the processor receives the first request information through the communication interface.
In yet another possible design, the data transmission device may further include a memory for holding computer-executable instructions and data necessary for the data transmission device. The processor executes the computer-executable instructions stored by the memory when the data transmission apparatus is operating, to cause the data transmission apparatus to perform the data transmission method of the second aspect or any one of the possible designs of the second aspect.
In a seventh aspect, a computer readable storage medium is provided, which may be a readable non-volatile storage medium, the computer readable storage medium storing computer instructions or a program which, when run on a computer, cause the computer to perform the data transmission method according to the first aspect or any one of the possible designs of the above aspects.
In an eighth aspect, a computer readable storage medium is provided, which may be a readable non-volatile storage medium, the computer readable storage medium storing computer instructions or a program, which when run on a computer, cause the computer to perform the data transmission method according to the second aspect or any one of the possible designs of the above aspects.
In a ninth aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the data transmission method of the first aspect or any one of the possible designs of the aspects.
In a tenth aspect, a computer readable storage medium is provided, which may be a readable non-volatile storage medium, storing computer instructions or a program which, when run on a computer, cause the computer to perform the data transmission method according to the second aspect or any one of the possible designs of the aspects.
In an eleventh aspect, a data transmission device is provided, which may be a data transmission device or a chip or a system on a chip in a data transmission device, the data transmission device comprising one or more processors and one or more memories. The one or more memories are coupled to the one or more processors, the one or more memories being configured to store computer program code comprising computer instructions that, when executed by the one or more processors, cause the data transmission apparatus to perform the data transmission method as described above in the first aspect or any of the possible designs of the first aspect.
In a twelfth aspect, a data transmission device is provided, which may be a data transmission device or a chip or a system on a chip in a data transmission device, the data transmission device comprising one or more processors and one or more memories. The one or more memories are coupled to the one or more processors, the one or more memories being configured to store computer program code comprising computer instructions that, when executed by the one or more processors, cause the data transmission apparatus to perform the data transmission method as described in the second aspect or any of the possible designs of the second aspect.
In a thirteenth aspect, a chip system is provided, which comprises a processor and a communication interface, which chip system may be used to implement the functions performed by the data transmission device in the first aspect or any of the possible designs of the first aspect, e.g. the processor is used to obtain the first request information from the terminal device via the communication interface. In one possible design, the chip system further includes a memory for holding program instructions and/or data. The chip system may be composed of a chip, or may include a chip and other discrete devices, without limitation.
In a fourteenth aspect, a chip system is provided, the chip system comprising a processor and a communication interface, the chip system being operable to implement the functions performed by the data transmission means in the second aspect or any of the possible designs of the second aspect, for example the processor being operable to obtain first request information from the terminal device via the communication interface. In one possible design, the chip system further includes a memory for holding program instructions and/or data. The chip system may be composed of a chip, or may include a chip and other discrete devices, without limitation.
The technical effects of any one of the design manners of the second aspect to the fourteenth aspect may be referred to the technical effects of the first aspect or the second aspect, and will not be repeated.
Drawings
Fig. 1 is a schematic structural diagram of an IPv6 packet according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of another communication system according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of another communication system according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a data transmission device 400 according to an embodiment of the present application;
fig. 5 is a flow chart of a data transmission method according to an embodiment of the present application;
fig. 6 is a flowchart of another data transmission method according to an embodiment of the present application;
fig. 7 is a schematic diagram of another data transmission process according to an embodiment of the present application;
fig. 8 is a schematic diagram of another data transmission process according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of another data transmission device 90 according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of another data transmission device 100 according to an embodiment of the present application.
Detailed Description
In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the disclosure described herein may be capable of operation in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with aspects of embodiments of the present application as detailed in the accompanying claims.
It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, and/or components.
Before describing the embodiments of the present application, the terms related to the embodiments of the present application will be explained.
Segment path (Segment Routing IPv, SRv 6) technology based on IPv6 forwarding plane: the SRv technology is SR (Segment Routing) +IPv6 in brief, and is a new generation IP bearer protocol. The IPv6 forwarding technology is adopted, and the network programming is realized through a flexible IPv6 extension head.
In the deployment scenario of SRv, the application of the service SID and the construction flow of the user SID are both based on IPv6 address structures. That is, SRv SID may be in the form of an IPv6 address. For example, SRv SID may include locators (locators), functions (functions), parameters (dimensions).
Wherein, the Locator is an identifier allocated to a network node in the network topology, and is used for routing and forwarding a message to the network node. The Locator can be used to identify location information, which has two important attributes: routable and polymerizable. The path corresponding to the Locator is issued by the node to the network through an interior gateway protocol (interior gateway protocol, IGP) for helping other devices forward the message to the node that issued the Locator. The function of the Locator is to transmit the message to the network equipment executing the instruction, so as to realize the addressing of the network instruction. In SRv SID, the Locator length is variable for adapting to different scale networks.
Functions are used to represent forwarding actions to be performed by an instruction, corresponding to the operation code of a computer instruction. In the network programming of SRv, different forwarding behaviors are expressed by different functions. Functionality may be defined as different types of SIDs according to different functions, which may correspond to different forwarding behaviors. For example, forwarding actions corresponding to the SID may include forwarding the message to a specified link, or table look-up forwarding in a specified table, etc.
The images (may be abbreviated as the areas field): is an optional field. It represents the parameters that the instruction corresponds to when performing an action, which may include a flow, a service, or any other relevant information. For example: when an instruction for slicing a network message needs to be defined, the slicing length of the carrying message can be defined in the Args field.
SRv6 node: may also be referred to as SRv device. SRv6 source nodes, transit nodes, SRv segment end point nodes may be included.
The SRv source node refers to a source node that generates SRv messages.
A transit node may refer to a node that forwards SRv6 messages, but does not identify SRv6 messages. The transit node may forward the message SRv6 based on IPv6, and may forward SRv the message via a path in the optical network.
SRv6 segment end (Endpoint) nodes may refer to nodes that receive and process SRv messages.
It should be noted that, in the embodiment of the present application, the type of the node is related to the task that the node undertakes in forwarding the SRv message. The same node may be of a different type, e.g., the node may be SRv source node in a path of SRv and transit node or segment end node in other paths of SRv 6.
Segment path extension header (Segment Routing Header, SRH): is one type of IPv6 path extension header for implementing Segment Routing (Segment Routing) based on an IPv6 forwarding plane. The SRH may specify an explicit path for IPv6 and store IPv6 Segment List (Segment List) information. The Segment List refers to a forwarding path obtained by orderly arranging segments and network nodes. When forwarding the message, the destination address information of the IPv6 message is determined by means of the residual Segments (SL) and the Segment List together, so as to guide the forwarding path and behavior of the message.
In an example, as shown in fig. 1, an IPv6 packet is provided in an embodiment of the present application. In fig. 1, a path Type (Routing Type) may be used to identify different types of path headers. For example, when the type value of the path type of a header is 4, it indicates that the header is SRH. The load (payload), FLAG, and type length value (Type Length Value, TLV) in fig. 1 may refer to the prior art, and will not be described in detail.
The Segment List may characterize the packet forwarding path. The Segment List may include end identities (SIDs) of a plurality of nodes. The SIDs are arranged in the order of nodes on the message forwarding path from far to near, i.e., segment List [0] in FIG. 1 represents the last SID of the path, segment List [1] represents the last but one SID of the path, and so on. The segments List [0] to List [ n ] correspond to instructions of a computer program. Segment List [ n ] is the first instruction to be executed, and Segment List [0] is the last instruction to be executed. In fig. 1, the character length of each Segment List is taken as an example, and the character length of each Segment List is 128 bits (bits), and the character length of each Segment List can also be other bits, without limitation.
Segment Left corresponds to a PC (Program Counter) pointer to a computer program that can be used to point to an instruction currently executing in a Segment List. Segment Left may be initialized to n, and the parameter value of SL is decremented by 1 each time an instruction is executed, pointing to the next instruction to be executed (i.e., the SID of the node that receives the data for the next hop).
It should be noted that when a node/device is determining the next hop node/device to receive data, the value of SL may be subtracted by 1 so that the SL points to the SID of the next hop node/device. Further, the node/device may send routing information to the corresponding node/device according to the SID to which the SL is directed. The node/device, after receiving the routing information, continues to subtract 1 from the value of SL to determine the SID of the next hop node/device that received the data. Thus, until the value of SL is 0, at which point the SID pointed to by the SL is the node/device that processes the data (i.e., segment end node/device).
SID: in the IPv6 SR, an IPv6 address is used as the SID of the node. In the SRv scenario, the node defining the SR fragmentation information creates a local SID entry in the forwarding information base (Forwarding Information Base, FIB). When the node capable of SRv6 receives an IPv6 message, the longest prefix match is performed on the destination address of the IPv6 message. For example, the matching results may include: a FIB entry representing a locally defined SRv SID, a FIB entry representing a local interface address not locally defined as SRv SID, a FIB entry representing a non-local path, no matching entry.
Wherein each FIB entry of the SRv SID indicates the behavior and parameters associated with that SID. After matching the FIB entry for SRv SID, the node may look up the FIB entry to determine SRv the instruction corresponding to the SID. The instructions may be for indicating a forwarding action of the node. In this manner, the node may perform the corresponding operations in accordance with the behavior and parameters.
For example, end.X is an instruction corresponding to SRv SID. Where End represents the termination of one instruction and begins execution of the next instruction. The corresponding forwarding action is SL minus 1 and copies the SID performed by the SL to the destination address information of the IPv6 header. X represents a cross-connect. The message is directly forwarded to the appointed optical network adjacency without searching a forwarding table.
It should be noted that the user may flexibly apply the network programmability of SRv to customize any SID behavior associated with a service.
In one example, table 1 lists the function name, english full name, application scenario of the partial SID behavior. For example, the english language of end.dx6 is known as Endpoint with decapsulation and IPv6 cross-connet, and the application scenario is: IPv 6-three layer virtual private network (layer 3virtual private network,L3VPN) (similar in function to per-client (per-Customer Equipment, per-CE) VPN labels in a multiprotocol label switching (MPLS) network.
TABLE 1
It should be noted that the function names and application scenarios in table 1 are only exemplary, and other functions and application scenarios may be provided, and are not limited.
With the continuous development of communication technology, the amount of data carried by a communication network is also increasing. For example, an IP network may include a plurality of routers, the bandwidth of which is limited. As the number of terminal devices accessing a router increases, the amount of data carried by the bandwidth of the router increases. When the bandwidth of the IP network bears larger data, the problem of IP network blocking is easy to cause.
In order to solve this technical problem, operators have built optical networks on the basis of IP networks. The optical network can provide static configuration optical physical links for the IP network, thereby meeting the requirements of large-capacity and long-distance data transmission. However, when the IP network uses the SRv mechanism to calculate a path, the topology of the optical network cannot be perceived, and how to transmit data through the optical network is a technical problem to be solved.
In view of this, the embodiments of the present application provide a data transmission method, where under the condition of data transmission requirement, a cooperative path method of an IP network and an optical network may be adopted, a transmission path of the optical network is taken as a path of an analog IP network, and data in the IP network is transmitted through the path of the analog IP network.
The method provided in the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
It should be noted that, the network system described in the embodiments of the present application is for more clearly describing the technical solution of the embodiments of the present application, and does not constitute a limitation on the technical solution provided in the embodiments of the present application, and those skilled in the art can know that, with the evolution of the network system and the appearance of other network systems, the technical solution provided in the embodiments of the present application is applicable to similar technical problems.
Fig. 2 is a schematic diagram of a network system according to an embodiment of the present application. As shown in fig. 2, the network system may include an IP network and an optical network. An IP network may include a plurality of IP devices (also referred to as routers). For example, the IP network may include IP devices 1 to 5. The optical network comprises a plurality of optical network devices. For example, the optical network may include optical network devices 1 to 5. The IP network is communicatively coupled to the optical network. For example, there may be one or more virtual local area network (virtual local area network, VLAN) channels between the IP device 1 and the optical network device 1. There may be one or more VLAN channels between the IP device 5 and the optical network device 5.
The optical network device has the capability of identifying an IP address and forwarding a message according to the IP address. For example, the optical network device may identify the IP address based on the set hardware or software (e.g., a degree code) and forward the message according to the IP address. The IP address may be a SID in the destination address information of the IPv6 message.
In a possible embodiment, the network system shown in fig. 2 may further have an IP network management and control system, an optical network management and control system, and a co-calculation module. The cooperative computing module is respectively in communication connection with the IP network management and control system and the optical network management and control system.
Wherein the IP network management and control system may be used to manage the IP network and a plurality of IP devices in the IP network. For example, the IP network management and control system may be used to calculate a transmission path in an IP network, and may also be used to issue data to an IP device and a transmission path for the data.
The optical network management and control system may be used to manage an optical network and a plurality of optical network devices in the optical network. For example, the optical network management and control system may virtually map the transmission path of the optical network to obtain the corresponding SID. For example, referring to fig. 2, a transmission path 1 (including an ID of an optical network device 1, an ID of an optical network device 2, an ID of an optical network device 3, and an ID of an optical network device 5) and a transmission path 2 (including an ID of an optical network device 1, an ID of an optical network device 4, and an ID of an optical network device 5) in an optical network are virtually mapped to obtain an SID1 corresponding to the transmission path 1 and an SID2 corresponding to the transmission path 2. The SID corresponding to the transmission path in the optical network may be in the format of SRv SID or in the format of IPv6 address.
In one example, an optical network management and control system may be configured with multiple SIDs. In this way, the optical network control system may assign a corresponding SID from the plurality of SIDs for each transmission path in the optical network. For example, one SID may correspond to the IDs of a plurality of optical network devices on one transmission path.
In yet another example, the optical network management and control system may report a plurality of transmission paths of the optical network to the cooperative routing module or the upper layer service module, where the cooperative routing module or the upper layer service module determines the SID corresponding to each transmission path.
The cooperative computing module can be used for determining a transmission path meeting the data transmission requirement based on the IP network management and control system and the optical network management and control system. The transmission path may be a path of an IP network, a path in an optical network, or a path between an IP device in the IP network and an optical network device in the optical network. The co-computing module may be a separate device, for example, a server, or a device in an IP network management system.
It should be noted that fig. 2 and fig. 3 are only exemplary frame diagrams, and the number of network devices included in fig. 2 and fig. 3 is not limited, and names of respective devices are not limited, and other nodes may be included in addition to the functional nodes shown in fig. 2 and fig. 3, for example, an upper layer service module may also be included. The upper layer traffic module may be configured to determine a transmission requirement of the data in response to the input operation.
In particular, the apparatus of fig. 2 and 3 may each employ the constituent structure shown in fig. 4, or may include the components shown in fig. 4. Fig. 4 is a schematic diagram of a data transmission device 400 according to an embodiment of the present application, where the data transmission device 400 may be a chip or a system on a chip in an IP device. Alternatively, the data transmission apparatus 400 may be a chip or a system on a chip in an optical network device. Alternatively, the data transfer device 400 may be a chip or a system on a chip in a data transfer device. As shown in fig. 4, the data transmission apparatus 400 includes a processor 401, a communication interface 402, and a communication line 403.
Further, the data transmission device 400 may further include a memory 404. The processor 401, the memory 404, and the communication interface 402 may be connected by a communication line 403.
Processor 401 is, among other things, a CPU, general-purpose processor, network processor (network processor, NP), digital signal processor (digital signal processing, DSP), microprocessor, microcontroller, programmable logic device (programmable logic device, PLD), or any combination thereof. The processor 401 may also be any other device having a processing function, such as a circuit, a device, or a software module, without limitation.
A communication interface 402 for communicating with other devices or other communication networks. The communication interface 402 may be a module, a circuit, a communication interface, or any device capable of enabling communication.
Communication line 403 for transmitting information between the components included in data transmission device 400.
Memory 404 for storing instructions. Wherein the instructions may be computer programs.
The memory 404 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device capable of storing static information and/or instructions, a random access memory (random access memory, RAM) or other type of dynamic storage device capable of storing information and/or instructions, an EEPROM, a CD-ROM (compact disc read-only memory) or other optical disk storage, an optical disk storage (including compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, etc.
It is noted that the memory 404 may exist separately from the processor 401 or may be integrated with the processor 401. Memory 404 may be used to store instructions or program code or some data, etc. The memory 404 may be located inside the data transmission device 400 or outside the data transmission device 400, without limitation. The processor 401 is configured to execute instructions stored in the memory 404, so as to implement a data transmission method provided in the following embodiments of the present application.
In one example, processor 401 may include one or more CPUs, such as CPU0 and CPU1 in fig. 4.
As an alternative implementation, the data transmission device 400 includes a plurality of processors, for example, the processor 407 may be included in addition to the processor 401 in fig. 4.
As an alternative implementation, the data transmission apparatus 400 further comprises an output device 405 and an input device 406. Illustratively, the input device 406 is a keyboard, mouse, microphone, or joystick device, and the output device 405 is a display screen, speaker (spaker), or the like.
It should be noted that the data transmission apparatus 400 may be a desktop computer, a portable computer, a web server, a mobile phone, a tablet computer, a wireless terminal, an embedded device, a chip system, or a device having a similar structure as in fig. 4. Furthermore, the constituent structures shown in fig. 4 do not constitute limitations on the respective apparatuses in fig. 2 and 3, and the respective apparatuses in fig. 2 and 3 may include more or less components than fig. 4, or may combine some components, or may be arranged differently, in addition to the components shown in fig. 4.
In the embodiment of the application, the chip system may be formed by a chip, and may also include a chip and other discrete devices.
Further, actions, terms, etc. referred to between embodiments of the present application may be referred to each other without limitation. In the embodiment of the present application, the name of the message or the name of the parameter in the message, etc. interacted between the devices are only an example, and other names may also be adopted in the specific implementation, and are not limited.
In order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first", "second", etc. are used to distinguish the same item or similar items having substantially the same function and effect. For example, the first data transmission policy and the second data transmission policy are merely for distinguishing between different data transmission policies, and are not limited in their order of precedence. It will be appreciated by those of skill in the art that the words "first," "second," and the like do not limit the amount and order of execution, and that the words "first," "second," and the like do not necessarily differ.
In this application, the terms "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In the present application, "at least one" means one or more, and "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a alone, a and B together, and B alone, wherein a, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b, or c may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or plural.
The data transmission method provided in the embodiment of the present application is described below with reference to the network architecture shown in fig. 2.
Fig. 5 is a schematic diagram of a data transmission method applied to a control device in an IP network, where the control device may be a device in the IP network light control system in fig. 2. As shown in fig. 5, the method includes:
step 501, receiving first request information.
Wherein the first request information may be used to request transmission of the destination data from the source IP device to the destination IP device. For example, the first request information may include the SID of the source IP device, the SID of the destination transmission path, and the destination data. The source IP equipment and the destination IP equipment are both equipment in an IP network, the source IP equipment is a source node, the destination IP equipment is a segment end node, and the optical network equipment in the destination transmission path is a transit node. For example, the source IP device may be IP device 1 in fig. 2, and the destination IP device is IP device 5 in the IP network.
In one example, the management and control device may obtain the first request information in response to a first input operation. The first input operation may refer to operations of a source IP device and a destination IP device for which the user inputs the target data. Alternatively, the light control device may obtain the first request information from the co-calculation module. For example, the first request information may be acquired from an upper layer service module.
Step 502, obtaining a transmission requirement of the target data, and at least one transmission path in the optical network, and selecting a target transmission path matched with the transmission requirement of the target data from the at least one transmission path.
The transmission requirement of the target data may refer to a quality index that meets the transmission requirement of the target data. For example, the quality index may include a transmission delay requirement, a transmission rate requirement, the number of nodes/devices included in the transmission path, and the like.
The at least one transmission path may have the same source optical network device and destination optical network device, and the source optical network device is communicatively connected to the source IP device, and the destination optical network device is communicatively connected to the destination IP device. For example, taking the source IP device as the IP device 1 in fig. 2 and the destination IP device as the IP device 5 in fig. 2 as an example, the source optical network device may be the optical network device 1 in fig. 2 and the destination optical network device may be the optical network device 5 in fig. 2. As shown in fig. 2, the transmission path between the optical network device 1 and the optical network device 5 may include a path 1 and a path 2.
In one possible implementation, the transmission requirement of the target data may be included in/carried by the first request information. Therefore, the management and control device can directly acquire the transmission requirement of the target data from the first request information, and the signaling overhead is reduced. After the transmission requirement of the target data is acquired, the management and control device may acquire at least one transmission path of the optical network and transmission quality of the at least one transmission path from the optical network management and control device. In this way, the co-calculation module may determine a transmission path matching the target data transmission requirement, i.e. determine a target transmission path, according to the service level agreement (service level agreement, SLA) indicator of the at least one transmission path.
In an example, taking the case that the transmission requirement of the target data includes a transmission delay as an example, the optical network management and control system may upload at least one transmission path between the source optical network device and the destination optical network device and the transmission delay of each transmission path to the co-calculation module. For example, at least one transmission path between the source optical network device and the destination optical network device and a transmission delay of each transmission path may be as shown in table 2.
TABLE 2
In table 2, O-1 to O5 represent the optical network devices 1 to 5, respectively.
When the transmission requirement of the target data is that the time delay is less than 2ms by combining a plurality of transmission paths shown in the table 2, the target transmission path can be O-1- > O-4- > O-5; when the transmission requirement of the target data is that the number of nodes is less than 5, the target transmission path can be O-1- > O-4- > O-5 or can be O-1- > O-2- > O-3- > O-5.
Step 503, sending the first routing information to the source IP device. Accordingly, the source IP device receives the first routing information.
The first routing information is used for indicating the source IP equipment to transmit the target data to the target IP equipment through the target transmission path. For example, the first routing information may be in the form of SRv messages or IPv6 messages. The first routing information may include at least the destination data, the SID of the source IP device, the SID of the destination IP device, and the SID of the destination transmission path.
In one example, the first routing information may include a first pointer and an SRH. The first pointer may be SL. The SRH may include SIDs of a plurality of devices arranged in a preset order. For example, the SID of the source IP device, the SID of the destination transmission path, and the SID of the destination IP device may be included. The SID of the target transmission path may be obtained by virtually mapping IDs corresponding to a plurality of optical network devices included in the target transmission path. The method for determining the SID of the target transmission path may refer to the description of the optical network management and control system above, and will not be repeated here.
Based on the above steps 501-503, when the management and control device in the IP network obtains the target data and the transmission requirement of the target data, the management and control device may determine a target transmission path matching the transmission requirement of the target data from at least one transmission path of the optical network, and send routing information including at least the target data, the SID of the source IP device, the SID of the destination IP device, and the SID of the target transmission path to the source IP device, so that the source IP device can parse the routing information, and transmit the target data according to the routing information.
Further, as shown in fig. 5, after the source IP device receives the first routing information, the source IP device may perform steps 504 to 505 described below.
Step 504, parsing the first routing information to determine SIDs of a plurality of devices included in the target transmission path.
The first routing information may refer to the above description, and will not be described in detail. The SIDs of the plurality of devices may include the SIDs of the source IP device, the destination transmission path, and the destination IP device. The SIDs of the plurality of devices may be arranged in a preset order. For example, the arrangement order of the SID of the source IP device, the SID of the destination transmission path, and the SID of the destination IP device may be: SID of source IP device- & gtSID of destination transmission path- & gtSID of destination IP device.
In one possible implementation, the SL in the first routing information is currently directed to the SID of the source IP device. The instruction corresponding to the SID of the source IP device is used for indicating the source IP device to analyze the SRH in the first route information so as to acquire the SID of the target transmission path and the SID of the destination IP device, and copying the SID of the target transmission path and the SID of the destination IP device into the destination address.
For example, an IPv6 message is taken as an example. The instruction corresponding to the SID of the source IP device may be an end.xo. The execution operation corresponding to the end.xo includes the following 1 to 4.
1. The value of SL is first decremented by 1 and the corresponding next SID (i.e., the SID pointed by the SL after the subtraction of 1) is written to the destination address field of the IPv6 header based on the SL's fetch from the SRH.
2. The identity of the adjacent device of the designated optical network is temporarily stored.
3. And subtracting 1 again from the SL, and taking out the corresponding next SID from the SRH according to the SL, and writing the SID into the destination address information of the IPv6 message header.
4. And directly sending the IPv6 message to the optical network adjacent equipment (the destination address information of the IPv6 message comprises SIDs taken out in 1 and 3).
In one example, the SL in the first routing information is currently directed to the SID of the source IP device. The source IP device queries the corresponding FIB according to the SID, and determines the corresponding instruction as end.XO. That is, the SID of the source IP device may be used to instruct the source IP device to perform the first operation. The first operation may include: reducing the value of SL by a first value such that the SL is directed to the SID of the target transmission path; writing the SID of the target transmission path into the destination address information of the first routing information; continuing to decrease the value of the SL by a first value to cause the SL to move from the SID of the target transmission path to the SID of the destination IP device; and writing the SID of the destination IP equipment into the destination address information of the first routing information.
Wherein the first value may be a difference between the SID of the source IP device and the SID of the destination transmission path. For example, the first value may be 1 when the SID of the source IP device is adjacent to the SID of the destination transmission path. In this embodiment of the present application, since the SID of the target transmission path is obtained by virtually mapping IDs of a plurality of optical network devices of the transmission path of the optical network, that is, in the SRH, the SID of the source IP device is adjacent to the SID of the target transmission path.
Further, in connection with the communication architecture shown in fig. 3, the SRH of the first routing information may include the SID of the IP device 1, the SID of the target transmission path, and the SID of the IP device 5. When the destination IP device is the IP device 3, the SRH of the first routing information may further include the SID of the IP device 3.
In this way, new routing information (referred to as second routing information for convenience of description) including the SID of the target transmission path and the SID of the destination IP device can be obtained. The destination address information of the second routing information includes the SID of the destination transmission path and the SID of the destination IP device.
Step 505, sending the second routing information to the source optical network device. Correspondingly, the source optical network device receives the second routing information.
Wherein the second routing information may refer to the description in step 504.
In one example, the source IP device may send the second routing information to the source optical network device over the VLAN channel.
Based on the above steps 504 and 505, after receiving the first routing information, the source IP device may parse the first routing information to obtain the SID of the destination IP device and the SID of the destination transmission path in the destination transmission path, and write the SID of the destination IP device and the SID of the destination transmission path in the destination transmission path into the destination address information of the routing information. In this way, the next hop device (e.g., source optical network device) of the source IP device, after receiving the destination address information including the SID of the destination transmission path and the routing information of the SID of the destination IP device in the destination transmission path, can directly determine the transmission path for transmitting the destination data from the destination address information of the routing information without parsing the routing information. That is, the device in the optical network only needs to forward the target data, and does not need to analyze the SRH of the routing information, thereby reducing the time for transmitting the data by the optical network device.
According to the technical scheme provided by the embodiment of the application, after receiving the request information for transmitting the data, the IP network can select a transmission path matched with the transmission requirement of the data from a plurality of transmission paths of the optical network. The routing information is then sent to the source IP device so that the source IP device can resolve the SIDs of the plurality of devices forwarding the data in the routing information. Therefore, the SID of the equipment included in the transmission path can be determined at the source IP equipment side, and the equipment in the transmission path only needs to forward data based on the SID of the equipment in the destination address of the transmission path, so that the data transmission time of the optical network equipment can be reduced while the optical network equipment can normally transmit the data.
The technical solutions provided in the embodiments of the present application are described below with reference to specific examples.
In one example, as shown in FIG. 6, the method includes S601-S608.
S601, an upper layer service module issues first request information to a cooperative computing module. Correspondingly, the collaborative computing module receives the first request information.
The first request information may include an identifier of a source IP device and an identifier of a destination IP device in the IP network, and a transmission requirement of the first data. For example, the source IP device may be IP device 1 in fig. 2, and the destination IP device may be IP device 5 in fig. 2. The transmission requirement of the first data may include performance indexes such as a required service type, a transmission bandwidth, a delay, and the like of the first data. The traffic types of the first data may include normal traffic, large bandwidth traffic, and deterministic low latency traffic. The normal service may refer to a service having no requirement for bandwidth and delay. The large bandwidth service may refer to a service that occupies more bandwidth when transmitting.
It should be noted that, since the transmission requirement of the normal service is low, the data of the normal service may be output through the path of the IP network. Of course, when the transmission quality of the transmission path of the optical network cannot meet the transmission requirement of the data, the data of the large bandwidth service and the data of the deterministic low delay service can be transmitted through the path of the IP network.
S602, searching a cross-layer global topology by a cooperative computing module to obtain source optical network equipment and destination optical network equipment in an optical network.
Wherein, the cross-layer global topology may refer to a topology based on an IP network and a topology of an optical network. As can be seen from fig. 2, the topology of the IP network is communicatively connected to the topology of the optical network. Thus, the cooperative path module can search the optical network equipment which is in communication connection with the source IP equipment and the destination IP equipment in the optical network. For example, as shown in fig. 2, the device in the optical network that is communicatively connected to the IP device 1 is the optical network device 1 (i.e., the source optical network device), and the device in the optical network that is communicatively connected to the IP device 5 is the optical network device 5 (i.e., the destination optical network device).
S603, the cooperative computing module issues the ID of the source optical network device, the ID of the destination optical network device and the transmission requirement of the first data to the optical network management and control system.
S604, the optical network management and control system calculates a transmission path in the optical network based on the identification of the source optical network device, the identification of the destination optical network device and the transmission requirement of the first data, and generates the SID of the transmission path.
For example, taking the source optical network device as the optical network device 1 and the destination optical network device as the optical network device 5 as an example, the transmission path, the corresponding SID, and the SLA of the transmission path in the optical network may be as shown in table 3.
TABLE 3 Table 3
/>
It should be noted that, the SLA of the transmission path in table 3 may be preconfigured for the optical network management and control system, or may be obtained by testing the optical network, which is not limited.
S605, the optical network management and control system reports the SID and SLA of the transmission path to the cooperative road module. Correspondingly, the cooperative computing path module receives SIDs and SLAs of transmission paths reported by the optical network management and control system.
S606, the collaborative computing module generates a cross-layer joint virtual topology.
For example, a cross-layer federated virtual topology may be as shown in FIG. 3. In this virtual topology, transmission paths in the optical network may be identified by SID.
S607, the cooperative routing module determines the routing information and issues the routing information to the source node of the IP network management and control system.
Wherein the routing information may include SRH. For example, the routing information may be an IPv6 message.
In one example, as shown in fig. 7, the coordination module may determine transmission paths corresponding to different types according to the types of services corresponding to the first data. For example, the transmission path corresponding to the normal traffic is path 1. The transmission path corresponding to the large bandwidth service is path 2. The transmission path corresponding to deterministic low latency traffic is path 3.
SID100 is a SID (source node) of IP device 1, SID101 is a SID (transit node) of IP device 2, SID103 is a SID (segment end node) of IP device 3, SID201 is a SID (transit node) of a transmission path of an optical network in path 2, and SID202 is a SID (transit node) of a transmission path of an optical network in path 3.
Further, the co-calculation module may push the transmission path of the first data to the source IP device. In this manner, the source IP device may execute the corresponding instructions by the SID in the routing information.
For example, when the traffic type of the first data is a large bandwidth traffic, the co-operation module stacks SID100, SID201, SID102 into the IP apparatus 1. The IP device 1 may execute the corresponding instruction according to SID 100. The instruction is end.xo. After executing the instruction, the IP device 1 may generate new routing information (i.e., second routing information).
And S608, the IP network management and control system transmits the routing information to the source IP equipment of the IP network.
Further, as shown in fig. 8, after receiving the routing information, the IP device 1 (source IP device) may perform a first operation to obtain the SID of the optical network and the SID of the IP device to the optical network device 2 (destination IP device). When the equipment in the optical network forwards the data, the data is forwarded only according to the destination address information of the routing information, and the SRH of the routing information is not required to be analyzed.
Note that, in fig. 8, the IP device and the optical network device are connected by VLAN communication (3 pieces in fig. 8). The VLAN sub-interface is the communication interface of the device. A device may be provided with multiple VLAN sub-interfaces.
Based on the above S601 to S608, the cooperative circuit module may cooperate with the IP network and the optical network to realize data transmission between the IP network and the optical network.
The various schemes in the embodiments of the present application may be combined on the premise of no contradiction.
The embodiment of the present application may divide the functional modules or functional units of the data transmission apparatus according to the above method example, for example, each functional module or functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated modules may be implemented in hardware, or in software functional modules or functional units. The division of the modules or units in the embodiments of the present application is merely a logic function division, and other division manners may be implemented in practice.
In the case of dividing the respective functional modules by the respective functions, fig. 9 shows a schematic structural diagram of a data transmission apparatus 90, and the data transmission apparatus 90 may be a source IP device or a chip applied to the source IP device, and the data transmission apparatus 90 may be used to perform the functions of the source IP device as referred to in the above embodiments. The data transmission apparatus 90 shown in fig. 9 may include: a receiving unit 901, a parsing unit 902 and a transmitting unit 903.
A receiving unit 901, configured to receive a signal including at least a target data, a SID of a source IP device, a SID of a destination IP device, and a SID of a target transmission path, where the target transmission path is a path that meets a transmission requirement of the target data in at least one transmission path of an optical network.
And a parsing unit 902, configured to parse the first routing information to obtain the SID of the target transmission path and the SID of the destination IP device.
A sending unit 903, configured to parse the first routing information to obtain the SID of the target transmission path and the SID of the destination IP device.
In a possible implementation manner, the first routing information further includes a first pointer, in the SRH of the first routing information, the SID of the source IP device, the SID of the target transmission path, and the SID of the destination IP device are arranged according to a preset sequence, where the SID of the target transmission path is obtained by virtually mapping the target transmission path, and the SID currently pointed by the first pointer is the SID of the source IP device.
In a possible implementation manner, the parsing unit 902 is specifically configured to: the value of the first pointer is smaller than the first value, so that the first pointer points to the SID of the target transmission path, and target address information is written in through the SID of the target transmission path; continuing to decrease the value of the first pointer by the first value so that the first pointer points to the SID of the destination IP device and writing the SID of the destination IP device to the destination address information.
As yet another implementation, the parsing unit 902 in fig. 9 may be replaced by a processor, which may integrate the functionality of the parsing unit 902. The receiving unit 901 and the transmitting unit 903 in fig. 9 may be replaced by a transceiver or a transceiving unit, which may integrate functions of the receiving unit 901 and the transmitting unit 903.
Further, when the parsing unit 902 is replaced by a processor and the receiving unit 901 and the transmitting unit 903 are replaced by a transceiver or a transceiving unit, the data transmission device 90 according to the embodiment of the present application may be the data transmission device shown in fig. 4.
In the case of dividing the respective functional modules by the respective functions, fig. 10 shows a schematic structural diagram of a data transmission device 100, and the data transmission device 100 may be a management device in an IP network, or may be a chip applied to the management device in the IP network, and the data transmission device 100 may be used to perform the functions of the management device in the IP network as described in the above embodiments. The data transmission apparatus 100 shown in fig. 10 may include: an acquisition unit 1001, a determination unit 1002, and a transmission unit 1003.
An obtaining unit 1001 is configured to obtain a request for transmitting target data from a source IP device to a destination IP device of an IP network.
A determining unit 1002, configured to determine a transmission requirement of the target data, and at least one transmission path of the optical network, and select a target transmission path matching the transmission requirement of the target data from the at least one transmission path.
A sending unit 1003, configured to send first routing information to the source IP device, where the first routing information includes at least target data, a SID of the source IP device, a SID of the destination IP device, and a SID of the target transmission path, where the SID of the target transmission path is obtained by virtually mapping the target transmission path.
In a possible implementation manner, the first routing information further includes a first pointer, in the SRH of the first routing information, the SID of the source IP device, the SID of the target transmission path, and the SID of the destination IP device are arranged according to a preset sequence, where the SID of the target transmission path is obtained by virtually mapping the target transmission path, and the SID currently pointed by the first pointer is the SID of the source IP device.
In a possible implementation manner, the SID of the source IP device is used to instruct the source IP device to perform a first operation, where the first operation includes: reducing the value of the first pointer by a first value so that the first pointer points to the SID of the target transmission path, and writing the SID of the target transmission path into the target address information; continuing to decrease the value of the first pointer by the first value so that the first pointer points to the SID of the destination IP device and writing the SID of the destination IP device into the destination address information.
As yet another implementation, the determining unit 1002 in fig. 10 may be replaced by a processor, which may integrate the functions of the determining unit 1002. The acquisition unit 1001 and the transmission unit 1003 in fig. 10 may be replaced by a transceiver or a transceiving unit, which may integrate the functions of the acquisition unit 1001 and the transmission unit 1003.
Further, when the determining unit 1002 is replaced by a processor, the acquiring unit 1001 and the transmitting unit 1003 are replaced by a transceiver or a transmitting-receiving unit, the data transmission apparatus 100 according to the embodiment of the present application may be the data transmission apparatus shown in fig. 4.
Embodiments of the present application also provide a computer-readable storage medium. All or part of the flow in the above method embodiments may be implemented by a computer program to instruct related hardware, where the program may be stored in the above computer readable storage medium, and when the program is executed, the program may include the flow in the above method embodiments. The computer readable storage medium may be an internal storage unit of the data transmission apparatus (including the data transmitting end and/or the data receiving end) of any of the foregoing embodiments, for example, a hard disk or a memory of the data transmission apparatus. The computer readable storage medium may be an external storage device of the terminal apparatus, for example, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, a flash card (flash card), or the like, which are provided in the terminal apparatus. Further, the computer readable storage medium may further include both an internal storage unit and an external storage device of the data transmission apparatus. The computer-readable storage medium is used for storing the computer program and other programs and data required by the data transmission device. The above-described computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.
It should be noted that the terms "first" and "second" and the like in the description, claims and drawings of the present application are used for distinguishing between different objects and not for describing a particular sequential order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
It should be understood that, in the present application, "at least one (item)" means one or more, "a plurality" means two or more, "at least two (items)" means two or three and three or more, "and/or" for describing an association relationship of an association object, three kinds of relationships may exist, for example, "a and/or B" may mean: only a, only B and both a and B are present, wherein a, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b or c may represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b, c may be single or plural.
From the foregoing description of the embodiments, it will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of functional modules is illustrated, and in practical application, the above-described functional allocation may be implemented by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to implement all or part of the functions described above.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another apparatus, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and the parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or a part contributing to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including several instructions for causing a device (may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk, etc.
The foregoing is merely a specific embodiment of the present application, but the protection scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (14)

1. A data transmission method, characterized in that the method is applied to a source IP device, where the source IP device is a device in an IP network, and the IP network is communicatively connected to an optical network, and the method includes:
receiving first routing information, wherein the first routing information at least comprises target data, an end identification SID of the source IP equipment, an SID of the target IP equipment and an SID of a target transmission path, and the target transmission path is a path meeting the transmission requirement of the target data in at least one transmission path of the optical network; the SID of the source IP equipment, the SID of the target transmission path and the SID of the target IP equipment are arranged in a segment path extension message header SRH of the first routing information according to a preset sequence; the target IP equipment is equipment in the IP network, the source IP equipment is a source node, the target IP equipment is a segment end node, and the optical network equipment in the target transmission path is a transit node;
Analyzing the first route information to obtain the SID of the target transmission path and the SID of the target IP equipment;
and sending second routing information to source optical network equipment, wherein the source optical network equipment is in communication connection with the source IP equipment, and destination address information of the second routing information comprises the SID of the target transmission path and the SID of the destination IP equipment.
2. The method of claim 1, wherein the first routing information further comprises a first pointer, wherein the SID of the target transmission path is obtained by virtually mapping the target transmission path, and wherein the SID currently pointed to by the first pointer is the SID of the source IP device.
3. The method of claim 2, wherein the parsing the first routing information to obtain the SID of the target transmission path and the SID of the destination IP device comprises:
reducing the value of the first pointer by a first value so that the first pointer points to the SID of the target transmission path, and writing the SID of the target transmission path into the destination address information;
continuing to decrease the value of the first pointer by the first value so that the first pointer points to the SID of the destination IP device, and writing the SID of the destination IP device into the destination address information.
4. A method of data transmission, characterized by a management and control device applied to an internet protocol, IP, network, the IP network being communicatively coupled to an optical network, the method comprising:
receiving first request information, wherein the first request information is used for requesting to transmit target data from source IP equipment to target IP equipment of the IP network; the source IP equipment and the destination IP equipment are equipment in the IP network;
determining the transmission requirement of the target data and at least one transmission path of the optical network, and selecting a target transmission path matched with the transmission requirement from the at least one transmission path;
transmitting first routing information to the source IP equipment, wherein the first routing information at least comprises the target data, the SID of the source IP equipment, the SID of the target IP equipment and the SID of the target transmission path, and the SID of the target transmission path is obtained by virtually mapping the target transmission path; the SID of the source IP equipment, the SID of the target transmission path and the SID of the target IP equipment are arranged in a segment path extension message header SRH of the first routing information according to a preset sequence; the source IP equipment is a source node, the destination IP equipment is a segment end node, and the optical network equipment in the target transmission path is a transit node.
5. The method of claim 4, wherein the first routing information further comprises a first pointer, the SID to which the first pointer is currently directed being the SID of the source IP device.
6. The method of claim 5, wherein the SID of the source IP device is used to instruct the source IP device to perform a first operation comprising:
reducing the value of the first pointer by a first value so that the first pointer points to the SID of the target transmission path, and writing the SID of the target transmission path into the target address information;
continuing to decrease the value of the first pointer by the first value so that the first pointer points to the SID of the destination IP device, and writing the SID of the destination IP device into the destination address information.
7. The data transmission device is characterized by being applied to source IP equipment, wherein the source IP equipment is equipment in an IP network, the IP network is in communication connection with an optical network, and the device comprises a receiving unit, an analyzing unit and a sending unit;
the receiving unit is configured to receive first routing information, where the first routing information includes at least target data, an end identifier SID of a source IP device, an SID of a destination IP device, and an SID of a target transmission path, where the target transmission path is a path that meets a transmission requirement of the target data in at least one transmission path of the optical network; the SID of the source IP equipment, the SID of the target transmission path and the SID of the target IP equipment are arranged in a segment path extension message header SRH of the first routing information according to a preset sequence; the target IP equipment is equipment in the IP network, the source IP equipment is a source node, the target IP equipment is a segment end node, and the optical network equipment in the target transmission path is a transit node;
The analyzing unit is configured to analyze the first routing information to obtain a SID of the target transmission path and a SID of the destination IP device;
the sending unit is configured to send second routing information to a source optical network device, where the source optical network device is in communication connection with the source IP device, and destination address information of the second routing information includes a SID of the destination transmission path and a SID of the destination IP device.
8. The apparatus of claim 7, wherein the first routing information further comprises a first pointer, the SID to which the first pointer is currently directed being the SID of the source IP device.
9. The apparatus according to claim 8, wherein the parsing unit is specifically configured to:
reducing the value of the first pointer by a first value to enable the first pointer to move from the currently pointed SID to the SID of the target transmission path, and writing the SID of the target transmission path into the destination address information;
continuing to decrease the value of the first pointer by the first value so that the first pointer moves from the SID of the target transmission path to the SID of the destination IP device, and writing the SID of the destination IP device into the target address information.
10. A data transmission device, characterized by being applied to a management and control device in an IP network, the IP network being communicatively connected to an optical network, the data transmission device comprising:
a receiving unit, configured to receive first request information, where the first request information is used to request transmission of target data from a source IP device to a destination IP device of the IP network; the source IP equipment and the destination IP equipment are equipment in the IP network;
a determining unit, configured to determine a transmission requirement of the target data, and at least one transmission path in the optical network, and select a target transmission path matching the transmission requirement from the at least one transmission path;
a sending unit, configured to send first routing information to the source IP device, where the first routing information includes at least the target data, an end identifier SID of the source IP device, an SID of the destination IP device, and an SID of the target transmission path, where the SID of the target transmission path is obtained by virtually mapping the target transmission path; the SID of the source IP equipment, the SID of the target transmission path and the SID of the target IP equipment are arranged in a segment path extension message header SRH of the first routing information according to a preset sequence; the source IP equipment is a source node, the destination IP equipment is a segment end node, and the optical network equipment in the target transmission path is a transit node.
11. The apparatus of claim 10, wherein the first routing information further comprises a first pointer, the SID to which the first pointer is currently directed being the SID of the source IP device.
12. The apparatus of claim 11, wherein the SID of the source IP device is to instruct the source IP device to perform a first operation comprising:
reducing the value of the first pointer by a first value so that the first pointer moves from the SID of the source IP device to the SID of the target transmission path, and writing the SID of the target transmission path into the target address information;
continuing to decrease the parameter value of the first pointer by the first numerical value, so that the first pointer moves to the SID moving from the SID of the target transmission path to the SID of the destination IP device, and writing the SID of the destination IP device into the target address information.
13. A computer readable storage medium having instructions stored therein which, when executed, implement the method of any one of claims 1-3 or any one of claims 4-6.
14. A data transmission apparatus, comprising: a processor, a memory, and a communication interface; wherein the communication interface is used for the data transmission device to communicate with other equipment or network; the memory is configured to store one or more programs, the one or more programs comprising computer-executable instructions that, when executed by the data transmission device, cause the data transmission device to perform the method of any of claims 1-3 or any of claims 4-6.
CN202210509325.7A 2022-05-10 2022-05-10 Data transmission method and device and computer readable storage medium Active CN114900756B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210509325.7A CN114900756B (en) 2022-05-10 2022-05-10 Data transmission method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210509325.7A CN114900756B (en) 2022-05-10 2022-05-10 Data transmission method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN114900756A CN114900756A (en) 2022-08-12
CN114900756B true CN114900756B (en) 2024-04-09

Family

ID=82722805

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210509325.7A Active CN114900756B (en) 2022-05-10 2022-05-10 Data transmission method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114900756B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112217719A (en) * 2019-07-12 2021-01-12 华为技术有限公司 Data transmission method, network node and storage medium
CN112422398A (en) * 2020-12-08 2021-02-26 中国联合网络通信集团有限公司 Message transmission method and communication device
WO2021155759A1 (en) * 2020-02-07 2021-08-12 中国移动通信有限公司研究院 Method and device for processing segment identifier
CN113489646A (en) * 2021-07-01 2021-10-08 北京网聚云联科技有限公司 Segmented routing transmission method based on VXLAN, server, source node and storage medium
CN113630316A (en) * 2020-05-06 2021-11-09 华为技术有限公司 Data transmission method and communication device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116319617A (en) * 2019-08-31 2023-06-23 华为技术有限公司 Method, equipment and system for forwarding message in SR network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112217719A (en) * 2019-07-12 2021-01-12 华为技术有限公司 Data transmission method, network node and storage medium
WO2021155759A1 (en) * 2020-02-07 2021-08-12 中国移动通信有限公司研究院 Method and device for processing segment identifier
CN113630316A (en) * 2020-05-06 2021-11-09 华为技术有限公司 Data transmission method and communication device
CN112422398A (en) * 2020-12-08 2021-02-26 中国联合网络通信集团有限公司 Message transmission method and communication device
CN113489646A (en) * 2021-07-01 2021-10-08 北京网聚云联科技有限公司 Segmented routing transmission method based on VXLAN, server, source node and storage medium

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
C. Filsfils ; K. Talaulikar, Ed. ; Cisco Systems, Inc. ; P. Krol ; Google, Inc. ; M. Horneffer ; Deutsche Telekom ; P. Mattes ; Microsoft ; .SR Policy Implementation and Deployment Considerations draft-filsfils-spring-sr-policy-considerations-05.IETF .2020,全文. *
C. Filsfils ; S. Sivabalan, Ed. ; Cisco Systems, Inc. ; D. Voyer ; Bell Canada ; A. Bogdanov ; Google, Inc. ; P. Mattes ; Microsoft ; .Segment Routing Policy Architecturedraft-ietf-spring-segment-routing-policy-07.txt.IETF .2020,全文. *
一种SDN中基于SR的多故障恢复与规避机制;黄建洋;兰巨龙;胡宇翔;马腾;;电子学报;20171115(第11期);全文 *
基于SRv6的网络切片技术研究;石鸿伟;黄凤芝;;电子技术与软件工程;20200815(第16期);全文 *

Also Published As

Publication number Publication date
CN114900756A (en) 2022-08-12

Similar Documents

Publication Publication Date Title
US11876883B2 (en) Packet processing method, network node, and system
CN107438983B (en) Compiler and method for determining physical and virtual resources for software defined networking, storage and computing
US10355940B2 (en) Compiler for and method of software defined networking, storage and compute performing operations
CN104780096B (en) A kind of system controlling virtual network and Virtual Network Controller node
CN113691448B (en) SRv6 method for forwarding message in service chain, SFF and SF device
CN102938795B (en) The method of IPv6 address access IPv4 resource is realized by tunnel and address transition
CN112702330B (en) Lightweight in-band network telemetry method and device for Overlay network and storage medium
CN112242950A (en) Method for determining path and related equipment
US20230300070A1 (en) Packet Sending Method, Device, and System
CN101789949B (en) Method and router equipment for realizing load sharing
CN112956159A (en) Active directional data plane traffic monitoring for wireline networks
Tulumello et al. Micro SIDs: A solution for efficient representation of segment IDs in SRv6 networks
CN110022263B (en) Data transmission method and related device
CN112787930B (en) Method, device and storage medium for monitoring running state of peer
CN114900756B (en) Data transmission method and device and computer readable storage medium
US20230254246A1 (en) Mechanisms for packet path tracing and per-hop delay measurement in segment routing with multiprotocol label switching (sr-mpls) networks
CN117118886A (en) Message forwarding method, head-end equipment, controller, equipment and storage medium
CN116828024A (en) Service connection identification method, device, system and storage medium
CN114531360A (en) Semantic name acquisition method, device, equipment and storage medium
WO2024012316A1 (en) Packet processing method and device, network node and storage medium
CN116016280A (en) Network delay error determination method and device
CN115333896A (en) Method, equipment and system for forwarding message
CN116938775A (en) Network performance measuring method, communication device and computer readable storage medium
CN117544566A (en) Application flow sensing method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant