WO2021129014A1 - 传输数据报文的方法、装置及系统 - Google Patents

传输数据报文的方法、装置及系统 Download PDF

Info

Publication number
WO2021129014A1
WO2021129014A1 PCT/CN2020/118196 CN2020118196W WO2021129014A1 WO 2021129014 A1 WO2021129014 A1 WO 2021129014A1 CN 2020118196 W CN2020118196 W CN 2020118196W WO 2021129014 A1 WO2021129014 A1 WO 2021129014A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
identifier
network node
resource
segment
Prior art date
Application number
PCT/CN2020/118196
Other languages
English (en)
French (fr)
Inventor
董杰
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP20907915.1A priority Critical patent/EP4060951A4/en
Publication of WO2021129014A1 publication Critical patent/WO2021129014A1/zh
Priority to US17/849,288 priority patent/US20220330132A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update
    • H04W40/246Connectivity information discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0894Policy-based network configuration management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/54Organization of routing tables
    • 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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0895Configuration of virtualised networks or elements, e.g. virtualised network function or OpenFlow elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies
    • 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
    • H04L45/748Address table lookup; Address filtering using longest matching prefix

Definitions

  • the present invention relates to the field of communication technology, in particular to a method, device and system for transmitting data messages.
  • the fifth generation (Fifth Generation, 5G) network can support a variety of new services by enhancing various aspects of the network's capabilities, such as: virtual reality (VR), augmented reality (AR), remote industrial control , Autonomous driving and the Internet of Things.
  • VR virtual reality
  • AR augmented reality
  • remote industrial control Remote industrial control
  • Autonomous driving and the Internet of Things.
  • the physical bearer network is divided into different network slices through bearer network slicing in the 5G network, and transmitted through different network slices. Different services to meet the transmission needs of different services.
  • each network slice may include multiple different network nodes, multiple network nodes may belong to the same network slice, and one network node may participate in multiple network slices.
  • each network node can participate in multiple bearer network slices, in order to distinguish the multiple network slices in which the network node participates, the corresponding relationship between the network slice and the network node is established.
  • the network node uses the segment routing The location field (locator) in the segment identification (segment identification, SID) of the sixth version (segment routing version 6, SRv6) establishes the correspondence between network slices and network nodes.
  • Each network node allocates different locators for different network slices participating in it, and publishes the allocated locators to the controller or other network nodes through the communication protocol.
  • the controller performs route calculation according to the received locator of each network node, and the network node forwards the data message according to the route calculation result.
  • the number of network slices established in the 5G network is large, the number of network slices that each network node participates in is large, and the number of locators allocated for participating network slices is large, and more locators are required.
  • the locator information released through the communication protocol The increase in volume, the increase in routing calculation complexity, and the increase in the scale of the forwarding table are not conducive to the scalability of network slicing in the 5G network.
  • the purpose of the present invention is to provide a method, device, and system for transmitting data messages, which can solve the problem that in the prior art, when the number of network slices is large, because more locators are required, the locators issued through the communication protocol.
  • the increase in the amount of information, the increase in routing calculation complexity, and the increase in the scale of the forwarding table are not conducive to the technical problem of the scalability of network slicing in the network.
  • a method for generating a segment identifier in a network may include a first network slice.
  • the first network slice is a network slice in which a first network node participates.
  • the method may include: A topology location identifier indicating the position of the first network node in the network topology of the first network slice; the first network node obtains a first resource identifier for indicating the first processing resource corresponding to the first network slice, and the first processing resource Used to process the data message transmitted in the first network slice; the first network node generates the first segment identifier including the topology location identifier and the first resource identifier according to the topology location identifier and the first resource identifier, and issues the first segment identifier .
  • the first network node Based on the method described in the first aspect, the first network node generates the first segment identifier according to the topological location identifier and the first resource identifier; it is coupled with the network topology and the resource identifier in the prior art to generate a locator to identify the network slice corresponding to the network node
  • the embodiment of the present application decouples the topology location identifier from the resource identifier.
  • the same topology location identifier can be assigned to network slices with the same network topology, so as to reduce the need for topology positioning in the network.
  • the number of identifiers reduces the amount of information of the topology location identifier issued by the communication protocol, reduces the complexity of routing calculations, and reduces the scale of the forwarding table, which is beneficial to the scalability of network slicing in the network.
  • the first network node may receive the topology location identifier from the controller; or the first network node may receive the network topology of the first network slice from the controller, and the first network node may The topology assigns a topological location identifier to the first network slice.
  • the first network node can obtain the topology location identifier from the controller, reducing the processing burden of the first network node; the first network node can also obtain the network topology of the first network slice from the controller, according to the The network topology assigns a topological location identifier to the first network slice, which is not limited.
  • the first network node receives the first resource identifier from the controller; or the first network node receives the processing of the first network slice from the controller For resource requirement information, the first network node determines the first processing resource according to the processing resource requirement information, and assigns the first resource identifier to the first processing resource.
  • the first network node can obtain the first resource identifier from the controller to reduce the processing burden of the first network node; the first network node can also obtain the processing resource requirement information of the first network slice from the controller According to the processing resource requirement information, the first processing resource is allocated to the first network slice, and the first resource identifier is allocated to the first processing resource, which is not limited.
  • the network further includes a second network slice.
  • the second network slice is a network slice in which the first network node participates.
  • the network topology of the first network slice is The network topology of the second network slice is the same, and the topology location identifier is also used to indicate the position of the first network node in the network topology of the second network slice; the first network node may also obtain the second network node corresponding to the second network slice.
  • the second resource identifier of the processing resource is used to process the data message transmitted in the second network slice, the second resource identifier is different from the first resource identifier; the first network node locates the identifier and the second resource according to the topology
  • the identifier generates a second segment identifier, the second segment identifier includes a topological location identifier and a second resource identifier; the first network node issues the second segment identifier.
  • the topology location identifier corresponding to the first network slice and the topology location identifier corresponding to the second network slice Same; in the embodiment of the present application, assigning the same topology location identifier to network slices with the same network topology can reduce the number of assigned topology location identifiers, and at the same time use different resource identifiers to distinguish network slices with the same topology location identifier. While effectively distinguishing network slices, the number of assigned topological location identifiers can be reduced, which is beneficial to the scalability of network slices.
  • the first network node sends the topological location identifier and/or the first resource identifier to at least one second network node.
  • the first network node sends the topological location identifier and/or the first resource identifier to at least one second network node other than itself, so that the second network node can make the second network node according to the topological location identifier of the first network node and
  • the first resource identifier establishes a corresponding mapping relationship, and forwards the received data message according to the mapping relationship.
  • the first network node when the first network node issues the first segment identifier, it may also issue to indicate that the first segment identifier includes a topological location identifier and a first resource identifier Logo information.
  • the first network node issues flag information indicating that the first segment identifier includes the topological location identifier and the first resource identifier, so that the network node that receives the first segment identifier can learn that the first segment identifier includes The topological location identifier and the first resource identifier in a decoupled form.
  • the first segment identifier includes the location field, and the location field includes the first resource identifier; or the first segment identifier includes the function field, and the function field includes the first Resource identifier; or the first segment identifier includes a parameter field, and the parameter field includes the first resource identifier.
  • the first network node can place the resource identifier in the location field, function field, or parameter field of the first segment of the identifier according to transmission requirements, etc.
  • the design method is flexible and diverse, and is not limited.
  • a communication device in a second aspect, can implement the functions performed by the first network node in the first aspect or the possible design of the first aspect, and the functions can be implemented by hardware executing corresponding software.
  • the hardware or software includes one or more modules corresponding to the above-mentioned functions.
  • the communication device includes: an acquisition module and a processing module.
  • the obtaining module is used to obtain a topological location identifier used to indicate the position of the first network node in the network topology of the first network slice; and is also used to obtain a first resource used to indicate a first processing resource corresponding to the first network slice Identifier, the first processing resource is used to process the data packet transmitted in the first network slice;
  • the processing module is configured to generate a first segment identifier including the topological location identifier and the first resource identifier according to the topological location identifier and the first resource identifier, and issue the first segment identifier.
  • the specific implementation of the communication device may refer to the behavior and function of the first network node in the method for generating segment identifiers in the network provided by the first aspect or any one of the possible designs of the first aspect, based on the second aspect.
  • the first network node generates the first segment identifier according to the topology location identifier and the first resource identifier; compared with the prior art coupling the network topology and the resource identifier to generate a locator to identify the network slice corresponding to the network node, this application
  • the embodiment decouples the topology location identifier from the resource identifier.
  • the same topology location identifier can be assigned to network slices with the same network topology, so as to reduce the number of topology location identifiers required in the network.
  • the information volume of the topological location identification issued by the communication protocol reduces the complexity of routing calculations and reduces the scale of the forwarding table, which is beneficial to the scalability of network slicing in the network.
  • the communication device may further include a receiving module, an acquiring module, which is further configured to receive the topology location identifier from the controller, or receive the network topology of the first network slice from the controller; processing The module is also used to allocate a topological location identifier for the first network slice according to the network topology.
  • the first network node can obtain the topology location identifier from the controller, reducing the processing burden of the first network node; the first network node can also obtain the network topology of the first network slice from the controller, according to the The network topology assigns a topological location identifier to the first network slice, which is not limited.
  • the acquisition module is also used to receive the first resource identifier from the controller, or receive the processing resource demand of the first network slice from the controller Information;
  • the processing module is also used to determine the first processing resource according to the processing resource demand information, and assign a first resource identifier to the first processing resource.
  • the first network node can obtain the first resource identifier from the controller to reduce the processing burden of the first network node; the first network node can also obtain the processing resource requirement information of the first network slice from the controller According to the processing resource requirement information, the first processing resource is allocated to the first network slice, and the first resource identifier is allocated to the first processing resource, which is not limited.
  • the network further includes a second network slice.
  • the second network slice is a network slice in which the first network node participates.
  • the network topology of the first network slice is The network topology of the second network slice is the same, and the topology location identifier is also used to indicate the position of the first network node in the network topology of the second network slice; the processing module is also used to obtain the second network slice corresponding to the second network slice.
  • the second resource identifier of the processing resource is used to process the data message transmitted in the second network slice, the second resource identifier is different from the first resource identifier; the processing module is also used to locate the identifier and the first resource according to the topology Second, the resource identifier generates a second segment identifier, the second segment identifier includes the topological location identifier and the second resource identifier; the processing module is also used to issue the second segment identifier.
  • the topology location identifier corresponding to the first network slice and the topology location identifier corresponding to the second network slice Same; in the embodiment of the present application, assigning the same topology location identifier to network slices with the same network topology can reduce the number of assigned topology location identifiers, and at the same time use different resource identifiers to distinguish network slices with the same topology location identifier. While effectively distinguishing network slices, the number of assigned topological location identifiers can be reduced, which is beneficial to the scalability of network slices.
  • the communication device further includes a sending module, which is used to send the topological location identifier and/or the first resource to at least one second network node Logo.
  • the first network node sends the topological location identifier and/or the first resource identifier to at least one second network node other than itself, so that the second network node can make the second network node according to the topological location identifier of the first network node and
  • the first resource identifier establishes a corresponding mapping relationship, and forwards the received data message according to the mapping relationship.
  • the processing module is also used to issue the first segment identifier when issuing the first segment identifier to indicate that the first segment identifier includes the topological location identifier and the first resource Logo information for the logo.
  • the first network node issues flag information indicating that the first segment identifier includes the topological location identifier and the first resource identifier, so that the network node that receives the first segment identifier can learn that the first segment identifier includes The topological location identifier and the first resource identifier in a decoupled form.
  • the first segment identifier includes the location field, and the location field includes the first resource identifier; or the first segment identifier includes the function field, and the function field includes the first Resource identifier; or the first segment identifier includes a parameter field, and the parameter field includes the first resource identifier.
  • the first network node can place the resource identifier in the location field, function field, or parameter field of the first segment of the identifier according to transmission requirements, etc.
  • the design method is flexible and diverse, and is not limited.
  • a communication device may be a first network node or a chip or a system on a chip in the first network node.
  • the communication device can implement the functions performed by the first network node in the foregoing aspects or in each possible design, and the functions can be implemented by hardware.
  • the communication device may include: a transceiver, a processor, and a communication interface. The transceiver and the processor may be used to support the communication device to implement the foregoing first aspect or the functions involved in any possible design of the first aspect.
  • the transceiver can be used to obtain the topological location identifier indicating the position of the first network node in the network topology of the first network slice through the communication interface; it can also be used to obtain the first network slice corresponding to the first network slice.
  • the first resource identifier of the processing resource the first processing resource is used to process the data packet transmitted in the first network slice; the processor may be used to generate the topological location identifier and the first resource according to the topological location identifier and the first resource identifier
  • the processor may also be used to issue the first segment identifier through the communication interface.
  • the communication device may further include a memory, and the memory is used to store necessary computer-executable instructions and data of the communication device. When the communication device is running, the processor executes the computer-executable instructions stored in the memory, so that the communication device executes the generation of segments in the network as described in the first aspect or any one of the possible designs of the first aspect. Method of identification.
  • the communication device For the specific implementation of the communication device, reference may be made to the behavior and function of the first network node in the method for generating a segment identifier in the network provided by the first aspect or any one of the possible designs of the first aspect.
  • a communication device in a fourth aspect, includes one or more processors and one or more memories; the one or more memories are coupled with the one or more processors, and the one or more memories are used for storing Computer program code or computer instructions; when one or more processors execute the computer instructions, it causes the communication device to execute the method for generating segment identifiers in the network as described in the first aspect or any possible design of the first aspect.
  • a computer-readable storage medium stores computer instructions or programs. When the computer instructions or programs are run on a computer, the computer executes the steps described in the first aspect or the first aspect. Any possible design of the described method of generating segment identifiers in the network.
  • a computer program product containing instructions, which when running on a computer, causes the computer to execute the segment identification generated in the network as described in the first aspect or any possible design of the first aspect method.
  • a method for receiving an identifier in a network includes a first network slice.
  • the first network slice is a network slice in which a first network node and a second network node participate.
  • the method may include: second The network node receives from the first network node a topological location identifier indicating the position of the first network node in the network topology of the first network slice; the second network node determines the topological location identifier and is used to send data to the first network node The mapping relationship of the next hop information of the message, where the next hop information includes the next hop node and the outgoing interface of the second network node.
  • the second network node determines the mapping relationship between the topological positioning identifier and the next hop node and the outgoing interface according to the received topological positioning identifier of the first network node, and the second network node will The received data message is forwarded to the next hop node through the outgoing interface to provide a feasible solution.
  • the second network node may also receive a first resource identifier from the first network node for indicating the processing resource corresponding to the first network slice, The second network node determines the mapping relationship between the first resource identifier and the first sub-interface of the outbound interface, and the first sub-interface is used to send a data packet to the first network node in the first network slice.
  • the second network node determines the mapping relationship between the first resource identifier and the first sub-interface of the outbound interface according to the received first resource identifier of the first network node, and the second network node determines the mapping relationship according to the mapping relationship. Forwarding the received data message to the next hop node through the first sub-interface provides a feasible solution.
  • the second network node may also receive the first resource identifier from the first network node and the network slice identifier for identifying the first network slice; The second network node determines the mapping relationship between the first resource identifier and the first network slice according to the network slice identifier.
  • the second network node can identify the network slice corresponding to the first resource identifier according to the received first resource identifier and network slice identifier, which provides a possibility for determining the mapping relationship between the first resource identifier and the network slice.
  • Sexual program
  • the second network node determining the mapping relationship between the topological location identifier and the next hop information may include: the second network node determining the topological location identifier and the Internet Protocol IP address prefix mapping relationship; the second network node determines the mapping relationship between IP address prefix and next hop information.
  • the second network node uses the IP address prefix to establish the mapping relationship between the topological location identifier and the next hop information, so that the second network node determines the next hop information required to forward the data message according to the mapping relationship. Provides a feasible solution.
  • the second network node may also receive flag information from the first network node; wherein the flag information is used to indicate that the first segment of the identifier includes topological positioning ID and the first resource ID.
  • the second network node after the second network node receives the flag information, according to the flag information, it can learn the format and location of the topological location identifier and the first resource identifier in the first segment of the identifier, so as to facilitate the second network node to recognize the first The content of the segment identifier.
  • the network further includes a second network slice.
  • the second network slice is a network slice that the first network node and the second network node participate in.
  • the first network The network topology of the slice is the same as the network topology of the second network slice, and the topology location identifier is also used to indicate the position of the first network node in the network topology of the second network slice; the second network node receives the second network node from the first network node.
  • the second resource identifier is used to indicate the processing resource corresponding to the second network slice, the second resource identifier is different from the first resource identifier; the second network node determines the mapping relationship between the second resource identifier and the second sub-interface of the outbound interface , The second sub-interface is used to send data packets to the first network node in the second network slice.
  • the topology location identifier corresponding to the first network slice and the topology location identifier corresponding to the second network slice Same; in the embodiment of the present application, assigning the same topology location identifier to network slices with the same network topology can reduce the number of assigned topology location identifiers, and at the same time use different resource identifiers to distinguish network slices with the same topology location identifier. While effectively distinguishing network slices, the number of assigned topological location identifiers can be reduced, which is beneficial to the scalability of network slices.
  • a communication device can implement the function performed by the second network node in the seventh aspect or the possible design of the seventh aspect, and the function can be implemented by hardware executing corresponding software.
  • the hardware or software includes one or more modules corresponding to the above-mentioned functions.
  • the communication device includes: a receiving module and a processing module.
  • the receiving module is configured to receive a topological location identifier indicating the position of the first network node in the network topology of the first network slice from the first network node; and the processing module is configured to determine the topological location identifier and provide information to the first network node.
  • the mapping relationship of the next hop information of the data packet sent by the network node, and the next hop information includes the next hop node and the outgoing interface of the second network node.
  • the specific implementation of the communication device can refer to the behavior and function of the second network node in the method for receiving an identifier in the network provided by the seventh aspect or any one of the possible designs of the seventh aspect, based on the eighth aspect.
  • the communication device, the second network node determines the mapping relationship between the topological positioning identifier and the next hop node and the outgoing interface according to the received topological positioning identifier of the first network node, which is the data that the second network node will receive according to the mapping relationship
  • the message is forwarded to the next hop node through the outgoing interface to provide a feasible solution.
  • the receiving module is further configured to receive a first resource identifier from the first network node that is used to indicate the processing resource corresponding to the first network slice;
  • the processing module is further configured to determine the mapping relationship between the first resource identifier and the first sub-interface of the outbound interface, where the first sub-interface is used to send a data packet to the first network node in the first network slice.
  • the second network node determines the mapping relationship between the first resource identifier and the first sub-interface of the outbound interface according to the received first resource identifier of the first network node, and the second network node determines the mapping relationship according to the mapping relationship. Forwarding the received data message to the next hop node through the first sub-interface provides a feasible solution.
  • the receiving module is further configured to receive the first resource identifier from the first network node and the network slice identifier used to identify the first network slice;
  • the processing module is further configured to determine the mapping relationship between the first resource identifier and the first network slice according to the network slice identifier.
  • the second network node can identify the network slice corresponding to the first resource identifier according to the received first resource identifier and network slice identifier, which provides a possibility for determining the mapping relationship between the first resource identifier and the network slice.
  • Sexual program
  • the processing module is specifically used to determine the mapping relationship between the topological location identifier and the Internet Protocol IP address prefix; determine the IP address prefix and next hop information The mapping relationship.
  • the second network node uses the IP address prefix to establish the mapping relationship between the topological location identifier and the next hop information, so that the second network node determines the next hop information required to forward the data message according to the mapping relationship. Provides a feasible solution.
  • the receiving module is further configured to receive an identifier from the first network node that indicates that the first segment identifier includes a topological location identifier and a first resource identifier.
  • logo information is further configured to be received from the first network node that indicates that the first segment identifier includes a topological location identifier and a first resource identifier.
  • the second network node after the second network node receives the flag information, according to the flag information, it can learn the format and location of the topological location identifier and the first resource identifier in the first segment of the identifier, so as to facilitate the second network node to recognize the first The content of the segment identifier.
  • the network further includes a second network slice.
  • the second network slice is a network slice in which the first network node participates.
  • the network topology of the first network slice is The network topology of the second network slice is the same, the topology location identifier is also used to indicate the position of the first network node in the network topology of the second network slice;
  • the receiving module is also used to receive the second resource identifier from the first network node,
  • the second resource identifier is used to indicate the processing resource corresponding to the second network slice, and the second resource identifier is different from the first resource identifier;
  • the processing module is also used to determine the mapping relationship between the second resource identifier and the second sub-interface of the outbound interface,
  • the second sub-interface is used to send data packets to the first network node in the second network slice.
  • the topology location identifier corresponding to the first network slice and the topology location identifier corresponding to the second network slice Same; in the embodiment of the present application, assigning the same topology location identifier to network slices with the same network topology can reduce the number of assigned topology location identifiers, and at the same time use different resource identifiers to distinguish network slices with the same topology location identifier. While effectively distinguishing network slices, the number of assigned topological location identifiers can be reduced, which is beneficial to the scalability of network slices.
  • a communication device may be a second network node or a chip or a system on a chip in the second network node.
  • the communication device can implement the functions performed by the second network node in the foregoing aspects or in each possible design, and the functions can be implemented by hardware.
  • the communication device may include: a transceiver, a processor, and a communication interface. The transceiver and the processor may be used to support the communication device to implement the functions involved in the seventh aspect or any one of the possible designs of the seventh aspect.
  • the transceiver may be used to receive from the first network node through the communication interface a topological location identifier indicating the position of the first network node in the network topology of the first network slice; the processor may be used to determine the topological location identifier and A mapping relationship for the next hop information of the data message sent to the first network node, where the next hop information includes the next hop node and the outgoing interface of the second network node.
  • the communication device may further include a memory, and the memory is used to store necessary computer-executable instructions and data of the communication device. When the communication device is running, the processor executes the computer-executable instructions stored in the memory, so that the communication device executes the receiving identification in the network as described in the seventh aspect or any one of the possible designs of the seventh aspect. Methods.
  • a communication device in a tenth aspect, includes one or more processors and one or more memories; the one or more memories are coupled with the one or more processors, and the one or more memories are used for storing Computer program code or computer instructions; when one or more processors execute the computer instructions, the communication device executes the method for receiving an identifier in the network as described in the seventh aspect or any possible design of the seventh aspect.
  • a computer-readable storage medium stores computer instructions or programs.
  • the computer instructions or programs When the computer instructions or programs are run on a computer, the computer can execute the seventh aspect or the seventh aspect. Any of the possible designs described in the method for receiving the identifier in the network.
  • a computer program product containing instructions which, when run on a computer, causes the computer to execute the identification of receiving the identifier in the network as described in the seventh aspect or any possible design of the seventh aspect. method.
  • a method for transmitting data messages in a network includes network slicing, and the network slicing is a network slicing in which a network node participates.
  • the method includes: the network node receives a data message including a destination address field, The destination address field includes the segment identifier including the topological location identifier and the resource identifier; the network node determines the next hop information according to the topological location identifier, and the next hop information includes the next hop node and the outgoing interface of the network node; the network node according to the resource identifier, Determine the sub-interface of the outgoing interface; the network node sends data packets to the next hop node in the network slice through the sub-interface.
  • the network node determines the next hop node and the outgoing interface according to the topology location identifier in the segment identifier of the destination address, determines the subinterface of the outgoing interface according to the resource identifier, and forwards to the next hop node through the subinterface of the outgoing interface
  • Data messages provide a feasible solution for network nodes to forward data messages based on segment identifiers.
  • the network node determines the next hop information according to the topology location identifier, including: the network node determines the Internet Protocol IP address prefix according to the topology location identifier ; The network node determines the next hop node and outgoing interface of the network node according to the IP address prefix.
  • the network node determines the IP address prefix according to the topology location identifier, and determines the next hop node and outgoing interface according to the IP address prefix, which provides a feasible solution for the network node to determine the next hop node and outgoing interface according to the topology location identifier.
  • the segment identifier includes the location field, and the location field includes the resource identifier; or the segment identifier includes the function field, and the function field includes the resource identifier; or the segment identifier Including the parameter field, the parameter field includes the resource identifier.
  • the resource identifier can be placed in the location field, function field, or parameter field of the segment identifier according to transmission requirements, etc., and the design method is flexible and diverse, and is not limited.
  • a communication device in a fourteenth aspect, can implement the functions performed by the network nodes in the above-mentioned thirteenth aspect or the possible design of the thirteenth aspect, and the functions can be implemented by hardware executing corresponding software.
  • the hardware or software includes one or more modules corresponding to the above-mentioned functions.
  • the communication device includes: a receiving module, a processing module, and a sending module.
  • the receiving module is used to receive the data message including the destination address field, the destination address field includes the segment identifier including the topological location identifier and the resource identifier; the processing module is used to determine the next hop information and the next hop information according to the topological location identifier It includes the next hop node and the outgoing interface of the network node; the network node determines the subinterface of the outgoing interface according to the resource identifier; the sending module is used to send data packets to the next hop node in the network slice through the subinterface.
  • the specific implementation of the communication device can refer to the behavior and function of the network node in the method for transmitting data messages in the network provided by the thirteenth aspect or any one of the possible designs of the thirteenth aspect, based on the fourteenth aspect
  • the network node determines the next hop node and the outgoing interface according to the topology location identifier in the segment identifier of the destination address, determines the subinterface of the outgoing interface according to the resource identifier, and forwards to the next hop node through the subinterface of the outgoing interface
  • Data messages provide a feasible solution for network nodes to forward data messages based on segment identifiers.
  • the processing module is specifically used to determine the Internet Protocol IP address prefix according to the topological location identifier; according to the IP address prefix, determine the downstream of the network node One-hop node and outbound interface.
  • the network node determines the IP address prefix according to the topology location identifier, and determines the next hop node and outgoing interface according to the IP address prefix, which provides a feasible solution for the network node to determine the next hop node and outgoing interface according to the topology location identifier.
  • the segment identifier includes the location field, and the location field includes the resource identifier; or the segment identifier includes the function field, and the function field includes the resource identifier; or the segment identifier Including the parameter field, the parameter field includes the resource identifier.
  • the resource identifier can be placed in the location field, function field, or parameter field of the segment identifier according to transmission requirements, etc., and the design method is flexible and diverse, and is not limited.
  • a communication device may be a network node or a chip or a system on a chip in a network node.
  • the communication device can realize the functions performed by the network nodes in the above-mentioned aspects or various possible designs, and the functions can be realized by hardware.
  • the communication device may include: a transceiver, a processor, and a communication interface.
  • the transceiver and the processor may be used to support the communication device to implement the above-mentioned thirteenth aspect or the functions involved in any possible design of the thirteenth aspect.
  • the transceiver can be used to receive a data message including a destination address field through a communication interface.
  • the destination address field includes a segment identifier including a topological location identifier and a resource identifier; the processing module can be used to determine the next hop information according to the topological location identifier , The next hop information includes the next hop node and the outgoing interface of the network node; the subinterface of the outgoing interface is determined according to the resource identifier; the transceiver can also be used to send data packets to the next hop node in the network slice through the subinterface.
  • the communication device may further include a memory, and the memory is used to store necessary computer-executable instructions and data of the communication device.
  • the processor executes the computer-executable instructions stored in the memory, so that the communication device executes in the network as described in the above-mentioned thirteenth aspect or any one of the possible designs of the thirteenth aspect.
  • the method of transmitting data messages is described in the above-mentioned thirteenth aspect or any one of the possible designs of the thirteenth aspect.
  • the specific implementation of the communication device may refer to the behavior and function of the network node in the method for transmitting data packets in the network provided by the thirteenth aspect or any one of the possible designs of the thirteenth aspect.
  • a communication device in a sixteenth aspect, includes one or more processors and one or more memories; the one or more memories are coupled with the one or more processors, and the one or more memories are used for Store computer program codes or computer instructions; when one or more processors execute the computer instructions, the communication device executes the transmission of data messages in the network as described in the thirteenth aspect or any possible design of the thirteenth aspect Methods.
  • a computer-readable storage medium stores computer instructions or programs.
  • the computer can execute operations such as the thirteenth aspect or the tenth aspect. Any one of the three possible designs is the method for transmitting data messages in the network.
  • the eighteenth aspect provides a computer program product containing instructions that, when run on a computer, causes the computer to execute the transmission in the network as described in the thirteenth aspect or any possible design of the thirteenth aspect The method of the data message.
  • a method for transmitting data packets in a network includes network slicing.
  • the network slicing is a network slicing in which a network node participates.
  • the method includes: the network node receives a first data packet that includes a destination address field.
  • the destination address field includes a segment identifier including a topological location identifier and a resource identifier; the segment identifier is the segment identifier of the network node; the topological location identifier is used to indicate the position of the network node in the network topology of the network slice, and the resource identifier is used to indicate the network
  • the processing resource corresponding to the slice the processing resource is used to process the data message transmitted in the network slice; the network node processes the first data message according to the segment identifier to obtain the second data message; the network node performs processing determined according to the segment identifier
  • the resource forwards the second data message within the network slice.
  • the network node processes the first data message according to the segment identifier, and the processed second data message By forwarding the processing resource determined according to the segment identifier within the network slice, it provides a feasible solution for how the network node forwards the first data message whose segment identifier contained in the destination address field is its own segment identifier.
  • the segment identifier includes a location field; the location field includes a resource identifier; or the segment identifier includes a function field; the function field includes a resource identifier; or a segment identifier Including the parameter field; the parameter field includes the resource identifier.
  • the resource identifier can be placed in the location field, function field, or parameter field of the segment identifier according to transmission requirements, etc., and the design method is flexible and diverse, and is not limited.
  • a communication device in a twentieth aspect, can implement the functions performed by the network node in the nineteenth aspect or the possible design of the nineteenth aspect, and the functions can be implemented by hardware executing corresponding software.
  • the hardware or software includes one or more modules corresponding to the above-mentioned functions.
  • the communication device includes: a receiving module, a processing module, and a sending module.
  • the receiving module is used to receive the first data message including the destination address field, the destination address field includes the segment identifier including the topology location identifier and the resource identifier; the segment identifier is the segment identifier of the network node; the processing module is used to process according to the segment identifier The first data message is used to obtain the second data message; the sending module is configured to forward the second data message in the network slice through the processing resource determined according to the segment identifier.
  • the specific implementation of the communication device can refer to the behavior and function of the network node in the method for transmitting data messages in the network provided by the nineteenth aspect or any one of the possible designs of the nineteenth aspect, based on the twentieth aspect
  • the network node when the segment identifier in the destination address field of the first data message is the segment identifier of the network node, the network node processes the first data message according to the segment identifier, and processes the second data message obtained by the processing.
  • the network node By forwarding the processing resource determined according to the segment identifier within the network slice, it provides a feasible solution for how the network node forwards the first data message whose segment identifier contained in the destination address field is its own segment identifier.
  • the segment identifier includes a location field; the location field includes a topological location identifier and a resource identifier; or the segment identifier includes a function field; and the function field includes a resource identifier ; Or the segment identifier includes a parameter field; the parameter field includes a resource identifier.
  • the resource identifier can be placed in the location field, function field, or parameter field of the segment identifier according to transmission requirements, etc., and the design method is flexible and diverse, and is not limited.
  • a communication device may be a network node or a chip or a system on a chip in a network node.
  • the communication device can realize the functions performed by the network nodes in the above-mentioned aspects or various possible designs, and the functions can be realized by hardware.
  • the communication device may include: a transceiver, a processor, and a communication interface.
  • the transceiver and the processor may be used to support the communication device to implement the functions involved in the nineteenth aspect or any one of the possible designs of the nineteenth aspect.
  • the transceiver can be used to receive a first data message including a destination address field through a communication interface.
  • the destination address field includes a segment identifier including a topological location identifier and a resource identifier; the segment identifier is the segment identifier of the network node; the processor can use The first data message is processed according to the segment identifier to obtain the second data message; the transceiver may also be used to forward the second data message in the network slice through the processing resource determined according to the segment identifier.
  • the communication device may further include a memory, and the memory is used to store necessary computer-executable instructions and data of the communication device. When the communication device is running, the processor executes the computer-executable instructions stored in the memory, so that the communication device executes in the network as described in the nineteenth aspect or any one of the possible designs of the nineteenth aspect. The method of transmitting data messages.
  • a communication device in a twenty-second aspect, includes one or more processors and one or more memories; the one or more memories are coupled with the one or more processors, and the one or more memories are used for For storing computer program codes or computer instructions; when one or more processors execute the computer instructions, the communication device executes the datagram transmission in the network as described in the nineteenth aspect or any possible design of the nineteenth aspect The method of text.
  • a computer-readable storage medium stores computer instructions or programs.
  • the computer can execute operations such as the nineteenth aspect or the third aspect. Any possible design of the nineteenth aspect is the method for transmitting data messages in the network.
  • a computer program product containing instructions which when running on a computer, causes the computer to execute the network as described in the nineteenth aspect or any possible design of the nineteenth aspect The method of transmitting data messages.
  • the technical effect brought by any one of the design methods of the twenty-first aspect to the twenty-fourth aspect can be referred to the technical effect brought about by any possible design of the nineteenth aspect to the twentieth aspect. ,No longer.
  • a communication system includes the communication device according to the second aspect or any possible design of the second aspect and any possible design according to the eighth aspect or the eighth aspect. Design the communication device; or, include the communication device as described in any possible design of the fourteenth aspect or the fourteenth aspect; or, include any possible design of the twentieth aspect or the twentieth aspect Design the described communication device.
  • FIG. 1 is a simplified schematic diagram of a communication system provided by an embodiment of the present invention
  • FIG. 2 is a schematic diagram of the composition of a communication device provided by an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a method for generating a segment identifier in a network according to an embodiment of the present invention
  • FIG. 4a is a schematic diagram of a communication method between network nodes in a network slice according to an embodiment of the present invention.
  • 4b is a schematic diagram of a communication method between network nodes in a network slice according to an embodiment of the present invention
  • 4c is a schematic diagram of a communication method between network nodes in a network slice according to an embodiment of the present invention.
  • Figure 5a is a schematic diagram of a first segment identification frame structure provided by an embodiment of the present invention.
  • Figure 5b is a schematic diagram of a first segment identification frame structure provided by an embodiment of the present invention.
  • Figure 5c is a schematic diagram of a first segment identification frame structure provided by an embodiment of the present invention.
  • FIG. 6a is a schematic diagram of a frame structure including a location field and flag information according to an embodiment of the present invention.
  • FIG. 6b is a schematic diagram of a frame structure including a function field of a resource identifier according to an embodiment of the present invention
  • 6c is a schematic diagram of a frame structure including resource bandwidth corresponding to a resource identifier according to an embodiment of the present invention
  • 6d is a schematic diagram of a frame structure including a resource buffer corresponding to a resource identifier according to an embodiment of the present invention
  • FIG. 7a is a schematic diagram of a frame structure including a location field and flag information according to an embodiment of the present invention.
  • FIG. 7b is a schematic diagram of a frame structure including a resource identifier provided by an embodiment of the present invention.
  • FIG. 7c is a schematic diagram of a frame structure including a resource identifier according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of a method for receiving an identifier in a network according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of a forwarding table frame structure provided by an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of a frame structure of a resource matching table provided by an embodiment of the present invention.
  • FIG. 11 is a schematic diagram of a method for transmitting data messages in a network according to an embodiment of the present invention.
  • FIG. 12 is a schematic diagram of a method for transmitting data messages in a network according to an embodiment of the present invention.
  • FIG. 13 is a schematic diagram of the composition of a communication device provided by an embodiment of the present invention.
  • FIG. 14 is a schematic diagram of the composition of a communication device provided by an embodiment of the present invention.
  • 15 is a schematic diagram of the composition of a communication device provided by an embodiment of the present invention.
  • FIG. 16 is a schematic diagram of the composition of a communication device provided by an embodiment of the present invention.
  • Network slice It is a logical network with specific network characteristics, and it is the fifth generation (Fifth Generation, 5G) mobile communication network proposed by the 3rd Generation Partnership Project (3rd Generation Partnership Project, 3GPP). The key technology required. Different network slices are logically isolated, and it can flexibly provide one or more network services according to the requirements of the demander.
  • the bearer network in order to meet the transmission requirements of the mobile communication network, the bearer network can be divided into multiple network slices. Multiple network nodes can belong to the same network slice. A network node can participate in multiple network slices. The multiple network slices that a node participates in are distinguished, and the corresponding relationship between network nodes and network slices can be established by using segment identifiers. Each network node assigns different segment identifiers to different network slices that participate; for example, network nodes participate in network slice 1, Network slice 2 and network slice 3. In order to distinguish between network slices, network nodes assign segment identifiers to network slice 1, assign segment identifiers to network slice 2, assign segment identifiers 3 to network slice 3, to divide network slices 1, 2, 3 distinguish.
  • the network shown in FIG. 1 can be a 5G network.
  • the network may include: terminals, access network equipment, bearer networks, core networks, and data networks (DN).
  • DN data networks
  • the network architecture shown in FIG. 1 is only an exemplary architecture diagram.
  • the network shown in FIG. 1 may also include unified data management (unified data management, UDM) entities, network data analysis function (NWDAF) entities, etc., are not restricted.
  • UDM unified data management
  • NWDAF network data analysis function
  • the terminal in FIG. 1 may be a user equipment (User Equipment, UE), and may also be a variety of handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices, computing devices, or other processing devices connected to a wireless modem; It can also include subscriber units, cellular phones, smart phones, wireless data cards, personal digital assistant (PDA) computers, tablet computers, wireless modems, Handheld, laptop computer, cordless phone or wireless local loop (Wireless Local Loop, WLL) station, machine type communication (MTC) terminal, mobile station ( Mobile Station, MS), etc., are not restricted.
  • PDA personal digital assistant
  • WLL wireless local loop
  • MTC machine type communication
  • the access network equipment in Figure 1 is mainly used to implement wireless physical layer functions, resource scheduling and wireless resource management, wireless access control, and mobility management; it can be the next generation nodeB (gNB) or some kind of Any other access unit.
  • gNB next generation nodeB
  • the bearer network in Figure 1 can be divided into multiple logically isolated network slices by operators. Each network slice is composed of different network functional entities and physical resources. It is mainly used to realize the use of data sent by access point devices.
  • the slices are transmitted to functions such as the core network or DN according to a certain path.
  • part of the functions of network nodes such as routers and switches can be divided into one network slice, and each network slice is isolated from each other, and multiple network slices can share the same router, switch, etc.
  • network nodes A, B, C, D, and E participate in network slice 1
  • network nodes A, B, C, D, and E also participate in network slice 2
  • network nodes A, B, C, and D participate in the network Slice 3.
  • the core network in Figure 1 may include: Session Management (SMF) entities, Network Repository Function (NRF) entities, Policy Control Function (PCF) entities, and User Plane functions (User Plane Function (UPF) entity, Network Slice Selection Function (NSSF) entity, Network Exposure Function (NEF) entity, Access and Mobility Management Function (AMF) entity And other network functional entities.
  • SMF Session Management
  • NRF Network Repository Function
  • PCF Policy Control Function
  • UPF User Plane Function
  • NSF Network Slice Selection Function
  • NEF Network Exposure Function
  • AMF Access and Mobility Management Function
  • the network also includes an application function (AF) entity.
  • the AF entity may be a third-party application control platform or an operator’s own device, and the AF entity may provide services for multiple application servers.
  • the DN in Figure 1 may include various application servers that provide services.
  • service providers can order network slices from operators for application services provided by application servers, and provide services to users on the ordered network slices.
  • the service provider may not specifically subscribe to network slices, but use public network slices provided by operators to provide services to users.
  • the association relationship between the application and the network slices ordered can be configured on the network node.
  • each network node allocates different SRv6locators for different network slices that participate in it.
  • each network node participates in a large number of network slices.
  • the amount of locator information released through communication protocols increases, the complexity of routing calculations increases, and the scale of forwarding tables increases, which is not conducive to network slicing in 5G networks Scalability.
  • the embodiment of the present application provides a method for generating segment identifiers in the network.
  • a network node allocates segment identifiers including topological location identifiers and resource identifiers to different network slices that participate in it. Identification and resource identification are decoupled.
  • network slices with the same network topology can be assigned the same topology location identification to reduce the number of topology location identifications required in the network and reduce the topology issued by the communication protocol.
  • the information volume of the location identifier reduces the complexity of routing calculations and reduces the scale of the forwarding table, which is beneficial to the scalability of network slicing in the network.
  • each network node or controller in the bearer network may adopt the composition structure shown in FIG. 2, or include the components shown in FIG. 2.
  • 2 is a schematic diagram of the composition of a communication device 200 provided by an embodiment of the application.
  • the communication device 200 may be a network node or a chip or a system on a chip in a network node; it may also be a controller or a chip or a system on a chip in the controller.
  • the communication device 200 includes a processor 201, a transceiver 202 and a communication line 203.
  • the communication device 200 may further include a memory 204.
  • the processor 201, the memory 204, and the transceiver 202 may be connected through a communication line 203.
  • the processor 201 is a central processing unit (CPU), a general-purpose processor network processor (network processor, NP), a digital signal processor (digital signal processing, DSP), a microprocessor, a microcontroller, Programmable logic device (PLD) or any combination of them.
  • the processor 201 may also be other devices with processing functions, such as circuits, devices, or software modules, without limitation.
  • the transceiver 202 is used to communicate with other devices or other communication networks.
  • the other communication network may be Ethernet, radio access network (RAN), wireless local area networks (WLAN), etc.
  • the transceiver 202 may be a module, a circuit, a transceiver, or any device capable of implementing communication.
  • the communication line 203 is used to transmit information between the components included in the communication device 200.
  • the memory 204 is used to store instructions. Among them, the instruction may be a computer program.
  • the memory 204 may be a read-only memory (read-only memory, ROM) or other types of static storage devices that can store static information and/or instructions, and may also be a random access memory (RAM) or a random access memory (RAM).
  • RAM random access memory
  • RAM random access memory
  • RAM random access memory
  • RAM random access memory
  • EEPROM electrically erasable programmable read-only memory
  • CD- ROM compact disc read-only memory
  • optical disc storage including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.
  • the memory 204 may exist independently of the processor 201, or may be integrated with the processor 201.
  • the memory 204 may be used to store instructions or program codes or some data.
  • the memory 204 may be located in the communication device 200 or outside the communication device 200 without limitation.
  • the processor 201 is configured to execute instructions stored in the memory 204 to implement the methods for generating segment identifiers, receiving identifiers, and transmitting data packets in the network provided in the following embodiments of the present application.
  • the processor 201 may include one or more CPUs, such as CPU0 and CPU1 in FIG. 2.
  • the communication device 200 includes multiple processors, for example, in addition to the processor 201 in FIG. 2, it may also include a processor 207.
  • the communication apparatus 200 further includes an output device 205 and an input device 206.
  • the input device 206 is a device such as a keyboard, a mouse, a microphone, or a joystick
  • the output device 205 is a device such as a display screen and a speaker.
  • the communication device 200 may be a desktop computer, a portable computer, a network server, a mobile phone, a tablet computer, a wireless terminal, an embedded device, a chip system, or a device with a similar structure in FIG. 2.
  • the composition structure shown in FIG. 2 does not constitute a limitation on the communication device.
  • the communication device may include more or less components than those shown in the figure, or combine certain components. , Or different component arrangements.
  • the chip system may be composed of chips, or may include chips and other discrete devices.
  • the method for generating segment identifiers in the network provided by the embodiment of the present application will be described by taking communication between network nodes and communication between network nodes and controllers as an example.
  • the network nodes and controllers described in the following embodiments may have the components shown in FIG. 2.
  • each network node generates different segment identifiers for the different network slices it participates in; among them, the segment identifiers include topological location identifiers and resource identifiers, and the topological location identifiers are used to indicate that the network node is in the network slice.
  • the location in the network topology; the resource identifier is used to indicate the processing resource corresponding to the network slice, and the processing resource is used to process the data packet transmitted in the network slice.
  • a first network node assigns a first segment identifier to a participating first network slice as an example to describe the method for generating a segment identifier in the network provided in the embodiment of the present application.
  • the method may include:
  • Step 301 The first network node obtains a topological location identifier.
  • the topology location identifier is used to indicate the position of the first network node in the network topology of the first network slice.
  • the first network node may receive the topological location identifier from the controller.
  • the controller may determine the node identifier of the first network node participating in the first network slice according to the network topology of the first network slice, and determine the node identifier of the first network node according to the network topology of the first network slice and the node identifier of the first network node A topological location identifier of the first network slice in which a network node participates, and the topological location identifier is sent to the first network node.
  • the node identifier is used to indicate the identity information of the first network node.
  • the node identifier of each network node in the network can be uniformly assigned by the controller, or it can be assigned by the network node itself, and then the assigned node identifier is reported to the controller. No restrictions.
  • the node identifier of the first network node is A
  • the network topology of the first network slice is 1
  • the controller generates a topology location identifier A1 according to the node identifier and the network topology, and sends A1 to the first network node.
  • the first network node directly obtains the topological location identifier from the controller, which can reduce the processing burden of the first network node.
  • the controller sends the network topology of the first network slice to the first network node, and the first network node generates a node corresponding to the first network slice according to the network topology of the first network slice and its own node identifier.
  • the node identifier of the first network node is A
  • the network topology of the first network slice is 1
  • the controller sends the network topology 1 of the first network slice to the first network node
  • the first network node uses its own node identifier A
  • the network topology 1 of the first network slice to generate a topological location identifier A1.
  • the topological location identifier is generated based on the node identifier of the network node and the network topology of the network slice. For the same network node, network slices with the same network topology correspond to the same topology location identifier, and the network topologies are different. The topological location identifiers corresponding to the network slices are different.
  • network node A participates in network slice 1, network slice 2 shown in Figure 4b, and network slice 3 shown in Figure 4c, network slice 1
  • the network topology of network slice 2 is the same. Assuming that the network topology of network slice 1 is 1, the network topology of network slice 2 is also 1.
  • the network topology of network slice 3 is different from the network topology of network slice 1 and network slice 2.
  • the network topology of network slice 3 is 2.
  • the topology location identifier generated corresponding to network slice 1 is A1
  • the topology location identifier generated corresponding to network slice 2 is also A1, which corresponds to the topology location generated by network slice 3. Identified as A2.
  • network slices with the same network topology correspond to the same topology location identifier, which can reduce the number of topology location identifiers required in the network, thereby reducing the amount of information about the topology location identifier that needs to be issued by the communication protocol, which is beneficial to network slicing in the network The scalability.
  • Step 302 The first network node obtains the first resource identifier.
  • the first resource identifier is used to indicate a first processing resource corresponding to the first network slice, and the first processing resource is used to process a data packet transmitted in the first network slice.
  • the first network node may receive the first resource identifier from the controller.
  • the controller may determine the processing resource demand information corresponding to the first network slice according to the transmission demand corresponding to the first network slice, and assign a first resource identifier to the first processing resource corresponding to the processing resource demand information, and correspond to the first network slice
  • the processing resource demand information and the first resource identifier are sent to the first network node, and the first network node determines the first processing resource according to the processing resource demand information, and saves the correspondence between the first processing resource and the first resource identifier.
  • the processing resource demand information corresponding to the first network slice is used to indicate the first processing resource required by the first network slice to meet the transmission demand.
  • the controller determines the processing resource demand information required by the first network slice according to the transmission demand corresponding to the first network slice, and sends the processing resource demand information to the first network node, which is based on The processing resource requirement information determines the first processing resource from the processing resources of the first network node, and assigns a first resource identifier to the first processing resource.
  • the first processing resources may include physical or logical transmission resources such as sub-interfaces, queues, buffers, and bandwidth, which are not limited.
  • the first network node participates in the first network slice and the second network slice with the same network topology, because the first network slice and the second network slice need to meet different transmission requirements, the corresponding processing of the first network slice and the second network slice
  • the resources are different, that is, the first network slice corresponds to the first resource identifier used to indicate the first processing resource, and the second network slice corresponds to the second resource identifier used to indicate the second processing resource.
  • corresponding resource identifiers are also different, and network slice 1
  • the corresponding resource identifier is 101
  • the resource identifier corresponding to network slice 2 is 102
  • the resource identifier corresponding to network slice 3 is 103.
  • network slices with the same network topology correspond to the same topology location identifiers
  • network slices with different network topologies correspond to different topology location identifiers
  • the corresponding resource identifiers are also different. the same.
  • the network topology of one participating network slice is different from that of another participating network slice, but the transmission requirements that need to be met are the same; that is, a network slice participating in a network node and the network node
  • the network topology corresponding to the other network slice involved is different, but when the processing resources are the same, the same resource identifiers can be assigned to the two network slices to reduce the number of resource identifiers required in the network, which is conducive to the availability of network slices in the network. Scalability; at the same time, because the network topologies of the two network slices are different, the assigned topological location identifiers are different, and different topological location identifiers can be used to effectively distinguish network slices with the same resource identifier.
  • Step 303 The first network node generates a first segment identifier according to the topological location identifier and the first resource identifier.
  • the first segment identifier includes a topological location identifier and a first resource identifier.
  • the first segment identifier includes a location field
  • the location field includes a topological location identifier and a first resource identifier.
  • the segment identifier generated by network node A may be A1:101::
  • the segment identifier generated by network node B may be B1:101::
  • the segment identifier generated by network node C may be C1:101: :
  • the segment identifier generated by the network node D may be D1:101::
  • the segment identifier generated by the network node E may be E1:101::.
  • the network node A may also generate a segment identifier A1:102:: for the participating network slice 2 and a segment identifier A2:103:: for the participating network slice 3. Taking the segment identifier A1:101:: as an example, the location field of the segment identifier includes A1:101.
  • the first segment of the identifier may also include a function field, and the function field includes a function identifier.
  • the function identifier is used to instruct the first network node to use the first processing resource indicated by the first resource identifier to receive the The processing operation performed by the data message. For example, taking the network node A generating the segment identifier A1:101:: for the participating network slice 1 as an example, assuming the function identifier is 10, the segment identifier may be A1:101::10.
  • the first segment identifier includes a location field and a function field
  • the location field includes a topological location identifier
  • the function field includes a first resource identifier
  • the segment identifier generated by network node A may be A1::101
  • the segment identifier generated by network node B may be B1::101
  • the segment identifier generated by network node C may be C1: :101
  • the segment identifier generated by the network node D may be D1::101
  • the segment identifier generated by the network node E may be E1::101.
  • network node A generates segment identifier A1::101 for participating network slice 1, generates segment identifier A1::102 for participating network slice 2, and generates segment identifier for participating network slice 3.
  • the location field of the segment identifier includes A1
  • the function field includes 101.
  • the function field may further include a function identifier, and the function identifier is used to instruct the first network node to use the first processing resource indicated by the first resource identifier to perform processing operations on the received data packet.
  • a new function field can be defined: a resource-aware function field, which is used to indicate the use of processing resources allocated for a specific network slice to perform a corresponding forwarding operation.
  • the resource-aware function field may include the End.R function field or the End.XR function field.
  • the End.R function field is a variant of the End function field in the prior art and is used to indicate the processing resources allocated by the network node to the participating network slices. It can be used for SRv6 loose-path forwarding; the End.XR function field, as a variant of the End.X function field in the prior art, is used to indicate the processing resources allocated by the network node to the participating network slices on the three-layer adjacent link.
  • the first segment identifier includes a location field and a parameter field
  • the location field includes a topological location identifier
  • the parameter field includes a first resource identifier.
  • the first segment of the identifier may further include a function field
  • the function field includes a function identifier
  • the function identifier is used to instruct the first network node to use the first processing resource pair indicated by the first resource identifier in the parameter field. The processing operation of the received data message.
  • network node A may generate segment identifier A1::10:101 for participating network slice 1, segment identifier A1::20:102 for participating network slice 2, and segment identifier A2:: 30:103.
  • the location field of the segment identifier includes A1
  • the function field includes 10
  • the parameter field includes 101.
  • a local segment identifier table can be established, and each segment identifier is stored in the local segment identifier table, so that after subsequent data packets are received, the data The segment identifier in the destination address of the message is matched with the local segment identifier table, and the corresponding forwarding operation is performed.
  • network node A can establish a local segment identification table, and store the segment identifiers A1::101, A1::102, and A2::103 generated for the network slice in this notebook. Lot identification table.
  • the network node may also generate a segment identifier corresponding to the link between the network nodes, as shown in FIG. 4a, in the network slice 1, the network node A is the link between the network node A and the network node C Generate segment identifier A1::1001, generate segment identifier A1::1002 for the link between network node A and network node B; as shown in Figure 4b, in network slice 2, network node A is network node A and network The link between node C generates segment identifier A1::2001, which generates segment identifier A1::2002 for the link between network node A and network node B; as shown in Figure 4c, in network slice 3, the network node A generates a segment identifier A2::3001 for the link between the network node A and the network node C, and generates a segment identifier A2::3002 for the link between the network node A and the network node B.
  • the aforementioned steps 301, 302, and 303 can also be used to generate information corresponding to other functions in the network.
  • the segment identifier includes a topological location identifier and a resource identifier, where the topological location identifier is used to indicate the position of a network node in the network topology of a specific network slice, and the resource identifier is used to indicate that a specific function corresponds to a specific network slice. Processing resources.
  • the various functions may be virtual private network (virtual private network, VPN) instances, service functions (service functions), tunnel policies (tunnel policies), and so on.
  • VPN virtual private network
  • service functions service functions
  • tunnel policies tunnel policies
  • the network node can also use the above steps 301, 302, and step 303 to generate segment identifiers corresponding to different network slices for the VPN instance.
  • the segment identifiers include resource identifiers, and the resource identifiers are used to indicate The processing resources of the VPN instance in the network slice.
  • Step 304 The first network node issues the first segment identifier.
  • each network node in the network After each network node in the network generates a corresponding segment identifier for participating network slices, it can publish the segment identifier, topology location identifier, and resource identifier through the interior gateway protocol (IGP).
  • IGP interior gateway protocol
  • the network node can send the segment identifier to the controller, so that the controller can learn the segment identifier generated by each network node, so that the controller can determine the forwarding path of the data message according to the segment identifier generated by each network node .
  • the network node can send the segment identifier in any form in Figure 5a, Figure 5b, and Figure 5c to the controller, and the network node can also send flag information to the controller.
  • the flag information is used to indicate that the segment identifier includes topological positioning. Identification and resource identification.
  • the network node can send the generated topology location identifier and resource identifier to other network nodes, so that the network node in the network can establish a corresponding mapping relationship according to the received topology location identifier and resource identifier, which is convenient for In the forwarding process of the data message, the forwarding of the data message is completed according to the mapping relationship.
  • the specific process for the network node to establish the corresponding mapping relationship according to the received topological location identifier and resource identifier can be referred to as shown in Figure 8 below, and the network node to complete the forwarding of data packets according to the mapping relationship can refer to Figure 11 and Figure below. 12 shown.
  • the network node may send the location field containing the topology location identifier and the resource identifier to other network nodes.
  • the network node may also send flag information, which is used to indicate that the location field includes the topology Location identification and resource identification.
  • the network node may send the location field including the topological location identifier and the function field including the resource identifier to other network nodes.
  • the network node can send the location field and the function field to other network nodes in one sending process, or it can send the location field in one sending process, and send the function field in another sending process, when the network node is in another sending process
  • the network node can also send the network slice identifier during the sending process.
  • the network slice identifier is used to indicate the network slice.
  • Other network nodes can determine the resource in the function field according to the function field and network slice identifier received this time. Identifies the corresponding network slice.
  • the network node may send the location field including the topological location identifier and the parameter field including the resource identifier to other network nodes.
  • the network node can send the location field and parameter field to other network nodes in one sending process, or send the location field in one sending process, and send the parameter field in another sending process, when the network node is in another sending process
  • the network node can also send the network slice identifier during the sending process.
  • the network slice identifier is used to indicate the network slice.
  • Other network nodes can determine the parameter field in the parameter field according to the parameter field and network slice identifier received this time. The network slice corresponding to the resource identifier.
  • the network node may also send the segment identifier to other network nodes.
  • a frame structure as shown in Figure 6a can be used.
  • the frame structure includes: 32-bit overhead (metric), 8-bit flag information (flags), and 8-bit algorithm (algorithm), 8-bit location field length (locator size), location field (locator), 8-bit subtype length value length (sub-tlv-len), and subtype length value (sub-tlvs), where,
  • the length of the location field and the subtype length value is variable, and the frame structure shown in FIG. 6a is the same as the frame structure of the segment identifier issued by the network node in the prior art, and will not be repeated.
  • the frame structure includes: 8-bit type, 8-bit length, and 8-bit flag information ( flags) and a 16-bit function field (SRv6Endpoint function).
  • the newly defined sub-sub-tlv may be used to publish the resource attributes corresponding to the End.R function field and the End.XR function field.
  • the frame structure shown in Figure 6c can be used to publish the resource bandwidth corresponding to the resource identifier; the frame structure includes: 8-bit type, 8-bit length, and 32-bit resource identifier. And 32-bit resource bandwidth (resource bandwidth).
  • the frame structure shown in Figure 6d can be used to publish the resource buffer corresponding to the resource identifier.
  • the frame structure includes: 8-bit type, 8-bit length, and 32-bit resource identifier. And a 32-bit resource buffer (resource buffer).
  • the frame structure shown in Figure 7a can be used.
  • the frame structure includes: 32 bits of overhead (metric), 8 bits of flag information (flags), 8 Bit algorithm (algorithm), 8-bit location field length (locator size), location field (locator), 8-bit subtype length value length (sub-tlv-len) and subtype length value (sub-tlvs) .
  • the length of the location field includes the length of the topological location identifier; the location field includes the length of the topological location identifier; the subtype length value is a newly defined field for issuing resource identifiers; the length of the location field and the length value of the subtype are variable (variable) .
  • the network node needs to publish a list of resource identifiers used by itself.
  • the frame structure shown in FIG. 7b can be used for publishing, and the frame structure includes: type, Length (length), resource identifier length (resource identifier length), resource identifier 1 (resource identifier #1), resource identifier 2 (resource identifier #2), ... and resource identifier N (resource identifier #N).
  • the frame structure shown in Figure 7c can be used for publishing.
  • the frame structure includes: type (type), length (length), resource identifier length (resource identifier length), start resource identifier (begin resource identifier), and end resource identifier (end resource identifier).
  • the network node Based on the method shown in FIG. 3, the network node generates the segment identifier according to the topology location identifier and the resource identifier; compared with the prior art coupling the network topology and the resource identifier to generate a locator to identify the network slice corresponding to the network node, the embodiment of the present application Decouple the topology location identifier from the resource identifier.
  • network slices with the same network topology can be assigned the same topology location identifier, and different resource identifiers can be used to distinguish network slices with the same topology location identifier.
  • FIG. 8 is a method for receiving identifiers in a network according to an embodiment of the application. As shown in Figure 8, the method may include:
  • Step 801 The second network node receives the topological location identifier from the first network node.
  • the topology location identifier is used to indicate the position of the first network node in the network topology of the first network slice.
  • Step 802 The second network node determines the mapping relationship between the topological location identifier and the next hop information.
  • next hop information is used to send a data message to the first network node, and the next hop information includes the next hop node and the outgoing interface of the second network node.
  • the second network node determines the mapping relationship between the topological location identifier and the Internet Protocol IP address prefix, and determines the mapping relationship between the IP address prefix and the next hop information.
  • the second network node may establish a forwarding table to store the mapping relationship between the IP address prefix and the next hop information, and the forwarding table may include the IP address prefix, outbound interface, and next hop node.
  • the second network node may also establish a mapping relationship between the topological location identifier and the subnet mask, and establish a mapping relationship between the subnet mask and the next hop information.
  • the second network node when the second network node does not support network slicing, the second network node establishes the mapping relationship between the topological location identifier and the next hop information according to the above steps 801 and 802, and the received data message can be converted according to the mapping relationship.
  • the outbound interface corresponding to the topological location identifier is forwarded to the next hop node; when the second network node supports network slicing, different network slicing corresponds to different processing resources, and the second network node needs to be further established according to the following steps 803 and 804
  • the mapping relationship between the resource identifier and the sub-interface of the outgoing interface completes the forwarding of the data message according to the mapping relationship between the resource identifier and the sub-interface of the outgoing interface.
  • Step 803 The second network node receives the first resource identifier from the first network node.
  • the first resource identifier is used to indicate the processing resource corresponding to the first network slice.
  • Step 804 The second network node determines the mapping relationship between the first resource identifier and the first sub-interface of the outbound interface.
  • the first sub-interface is used to send a data packet to the first network node in the first network slice.
  • the second network node may establish a resource matching table, as shown in FIG. 10, the resource matching table includes: an outgoing interface, a resource identifier, and a sub-interface.
  • the resource matching table may include an outbound interface, a resource identifier, and a queue, and the queue is used to forward the data message to the next hop node in the first network slice.
  • the second network node receives the first resource identifier and the network slice identifier from the first network node, where the network slice identifier is used to identify the first network slice; the second network node determines the first resource identifier according to the network slice identifier And the mapping relationship with the first network slice.
  • the network node establishes a forwarding table according to the topology location identifier, and establishes a resource matching table according to the resource identifier.
  • network nodes with the same network topology have the same topology location identifier, and the topology location identifier is the same.
  • the forwarding table is also the same, the topology location identification required in the network is reduced, and the scale of the established forwarding table is also reduced, which is conducive to the scalability of network slicing.
  • each network node Based on the above method, each network node generates a segment identifier for each participating network slice, and publishes the generated segment identifier to the controller and other network nodes, and publishes the topology location identifier and resource identifier to other network nodes, so that other network nodes
  • the corresponding mapping relationship is established according to the received topological location identifier and the resource identifier, and the data message is forwarded according to the mapping relationship.
  • the controller can determine the network node that the data message needs to pass through according to the transmission demand of the data message, and put the segment identifier of the network node into the destination address of the data message, so that The network node that receives the data message completes the data forwarding according to the segment identifier in the destination address.
  • the controller may generate a segment identifier list containing multiple segment identifiers, and put the segment identifier list into the destination address of the data message, so that the network node that receives the data message can be based on the information indicated by the segment identifier list.
  • the path forwards data packets.
  • the network node determines the IP address prefix or subnet mask according to the topology location identifier in the segment identifier of the destination address, and determines The IP address prefix or subnet mask determines the outgoing interface and next-hop node from the pre-established forwarding table, and forwards the data message to the next-hop node through the outgoing interface.
  • the network node that receives the data message supports network slicing, the network node needs to determine whether the segment identifier in the destination address of the data message is its own segment identifier. If not, the network node can follow The steps shown in FIG. 11 forward the data message; if so, the network node can forward the data message according to the steps shown in FIG. 12.
  • the network node may match the segment identifier in the destination address with its own pre-established local segment identifier table, and determine whether the segment identifier in the destination address is its own segment identifier according to the segment identifier in the local segment identifier table.
  • FIG. 11 is a method for transmitting data packets in a network according to an embodiment of the application. As shown in FIG. 11, the method may include:
  • Step 1101 The network node receives the data message.
  • the data message includes a destination address field, the destination address field includes a segment identifier, and the segment identifier includes a topology location identifier and a resource identifier.
  • Step 1102 The network node determines the next hop information according to the topology location identifier.
  • the next hop information includes the next hop node and the outgoing interface of the network node.
  • the network node may determine the Internet Protocol IP address prefix according to the topology location identifier; according to the IP address prefix, determine the next hop node and the outgoing interface of the network node from the pre-established forwarding table shown in FIG. 9.
  • Step 1103 The network node determines the sub-interface of the outgoing interface according to the resource identifier.
  • the network node may determine the sub-interface of the out-interface from the pre-established resource matching table shown in FIG. 10 according to the resource identifier in the segment identifier and the out-interface determined in step 1102.
  • the network node determines the outgoing interface queue from the resource matching table according to the resource identifier and the outgoing interface.
  • Step 1104 The network node sends a data packet to the next hop node in the network slice through the sub-interface.
  • the network node sends a data message to the next hop node in the network slice through the queue determined in step 1103.
  • a network node that supports network slicing receives a data message whose destination address includes a segment identifier, and the segment identifier is not its own segment identifier
  • the network node determines according to the topology location identifier of the segment identifier
  • the next hop node and the outgoing interface determine the subinterface or queue of the outgoing interface according to the resource identifier, and forward the data message to the next hop node through the subinterface or queue.
  • FIG. 12 is another method for transmitting data packets in a network provided by an embodiment of the application. As shown in FIG. 12, the method may include:
  • Step 1201 The network node receives the first data packet.
  • the first data message includes a destination address field; the destination address field includes a segment identifier; the segment identifier is a segment identifier of a network node, and the segment identifier includes a topology location identifier and a resource identifier.
  • Step 1202 The network node processes the first data message according to the segment identifier to obtain a second data message.
  • Step 1203 The network node determines the processing resource according to the segment identifier.
  • Step 1204 The network node forwards the second data packet in the network slice through processing resources.
  • the network node When the segment identifier carried in the first data packet is the segment identifier of the network node, the network node processes the first data packet according to the operation indicated by the resource and function identifier indicated by the resource identifier of the segment identifier to obtain the second data packet And use the processing resource corresponding to the resource identifier to forward the second data message.
  • the network node may update the segment identifier in the destination address to the next segment identifier in the segment identifier list, and update the segment identifier in the destination address
  • the specific process of identifying the next segment in the list of segment identifiers is the same as in the prior art, and will not be repeated.
  • a network node that supports network slicing when a network node that supports network slicing receives a data message whose destination address includes a segment identifier, and the segment identifier is its own segment identifier, the network node uses the resource indicated by the resource identifier in the segment identifier. And the operation indicated by the function identifier forwards the received data message.
  • each device includes a hardware structure and/or software module corresponding to each function.
  • the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered as going beyond the scope of this application.
  • the embodiment of the present application may divide the network nodes into functional modules according to the foregoing method examples.
  • each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module.
  • the above-mentioned integrated modules can be implemented in the form of hardware or software functional modules. It should be noted that the division of modules in the embodiments of the present application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
  • FIG. 13 shows a communication device, and the communication device 130 may be a first network node or a chip or a system on a chip in the first network node.
  • the communication device 130 may be used to perform the function of the first network node involved in the foregoing embodiment.
  • the communication device 130 shown in FIG. 13 includes: an acquisition module 1301 and a processing module 1302.
  • the obtaining module 1301 is configured to obtain a topological location identifier used to indicate the position of the first network node in the network topology of the first network slice; and also used to obtain the first network node corresponding to the first processing resource. Resource identification, where the first processing resource is used to process data packets transmitted in the first network slice;
  • the processing module 1302 is configured to generate a first segment identifier including the topological location identifier and the first resource identifier according to the topological location identifier and the first resource identifier, and issue the first segment identifier.
  • the obtaining module 1301 is also used to receive the topology location identifier from the controller, or the network topology of the first network slice from the controller; the processing module 1302 is also used to set the first network topology according to the network topology.
  • the network slice is assigned a topological location identifier.
  • the acquisition module 1301 is also used to receive the first resource identifier from the controller, or to receive the processing resource requirement information of the first network slice from the controller; the processing module 1302 is also used to receive the processing resource The demand information determines the first processing resource, and assigns the first resource identifier to the first processing resource.
  • the network further includes a second network slice.
  • the second network slice is a network slice in which the first network node participates.
  • the network topology of the first network slice is the same as the network topology of the second network slice, and the topology location identifier is also It is used to indicate the position of the first network node in the network topology of the second network slice;
  • the obtaining module 1301 is also used to obtain the second resource identifier used to indicate the second processing resource corresponding to the second network slice, and the second processing resource Used to process the data message transmitted in the second network slice, the second resource identifier is different from the first resource identifier;
  • the processing module 1302 is also used to generate a second segment identifier according to the topological location identifier and the second resource identifier, the second The segment identifier includes a topological location identifier and a second resource identifier; the processing module is also used to issue the second segment identifier.
  • the communication device 130 further includes a sending module 1303, and the sending module 1303 is configured to send a topological location identifier and/or a first resource identifier to at least one second network node.
  • the processing module 1302 is further configured to issue flag information indicating that the first segment identifier includes the topological location identifier and the first resource identifier when the first segment identifier is issued.
  • the first segment identifier includes the location field, and the location field includes the first resource identifier; or the first segment identifier includes the function field, and the function field includes the first resource identifier; or the first segment identifier includes the parameter field, and the parameter The field includes the first resource identifier.
  • the processing module 1302 in FIG. 13 can be replaced by a processor, the acquisition module 1301 and the sending module 1303 can be replaced by a transceiver, and the processor can integrate the functions of the processing module 1302, and the transceiver can be integrated.
  • the communication device 130 shown in FIG. 13 may also include a memory.
  • the processing module 1302 is replaced by a processor, and the acquiring module 1301 and the sending module 1303 are replaced by a transceiver, the communication device 130 involved in the embodiment of the present application may be the communication device shown in FIG. 2.
  • FIG. 14 shows a structural diagram of a communication device 140.
  • the communication device 140 may be a second network node or a chip or a system on a chip in the second network node.
  • the communication device 140 may be used to perform the function of the second network node involved in the foregoing embodiment.
  • the communication device 140 shown in FIG. 14 includes: a receiving module 1401 and a processing module 1402.
  • the receiving module 1401 is configured to receive a topological location identifier indicating the position of the first network node in the network topology of the first network slice from the first network node; the processing module 1402 is configured to determine the topological location identifier and the direction The mapping relationship of the next hop information of the data packet sent by the first network node, and the next hop information includes the next hop node and the outbound interface of the second network node.
  • the receiving module 1401 is further configured to receive a first resource identifier from the first network node for indicating the processing resource corresponding to the first network slice; the processing module 1402 is also configured to determine the first resource identifier The mapping relationship with the first sub-interface of the outgoing interface, where the first sub-interface is used to send a data packet to the first network node in the first network slice.
  • the receiving module 1401 is also used to receive the first resource identifier from the first network node and the network slice identifier used to identify the first network slice; the processing module 1402 is also used to determine according to the network slice identifier The mapping relationship between the first resource identifier and the first network slice.
  • the processing module 1402 is specifically used to determine the mapping relationship between the topological location identifier and the Internet Protocol IP address prefix; determine the mapping relationship between the IP address prefix and the next hop information.
  • the receiving module 1401 is further configured to receive flag information from the first network node; where the flag information is used to indicate that the first segment of the identifier includes a topological location identifier and a first resource identifier.
  • the network further includes a second network slice.
  • the second network slice is a network slice in which the first network node and the second network node participate, and the network topology of the first network slice is the same as the network topology of the second network slice.
  • the topology location identifier is also used to indicate the position of the first network node in the network topology of the second network slice; the receiving module 1401 is also used to receive a second resource identifier from the first network node, and the second resource identifier is used to indicate For the processing resource corresponding to the second network slice, the second resource identifier is different from the first resource identifier; the processing module 1402 is further configured to determine the mapping relationship between the second resource identifier and the second sub-interface of the outbound interface, and the second sub-interface is used for Send a data message to the first network node in the second network slice.
  • the receiving module 1401 in FIG. 14 can be replaced by a transceiver, which can integrate the functions of the receiving module 1401, and the processing module 1402 can be replaced by a processor, which can be integrated with the processing module 1402.
  • the communication device 140 shown in FIG. 14 may also include a memory.
  • the sending module 1401 is replaced by a transceiver and the processing module 1402 is replaced by a processor
  • the communication device 140 involved in the embodiment of the present application may be the communication device shown in FIG. 2.
  • FIG. 15 shows a structural diagram of a communication device 150.
  • the communication device 150 may be a network node or a chip or a system on a chip in a network node.
  • the communication device 150 may be used to perform the functions of the network node involved in the above-mentioned embodiments.
  • the communication device 150 shown in FIG. 15 includes: a receiving module 1501, a processing module 1502, and a sending module 1503.
  • the receiving module 1501 is configured to receive a data message including a destination address field, where the destination address field includes a segment identifier including a topological location identifier and a resource identifier;
  • the processing module 1502 is configured to determine the next hop information according to the topology location identifier, the next hop information includes the next hop node and the outgoing interface of the network node; the network node determines the subinterface of the outgoing interface according to the resource identifier; the sending module 1503, It is used to send data packets to the next hop node in the network slice through the sub-interface.
  • the communication device 150 For the specific implementation of the communication device 150, reference may be made to the behavior and function of the network node in the method for transmitting data messages in the network described in FIG. 11.
  • the processing module 1502 is specifically configured to determine the Internet Protocol IP address prefix according to the topological location identifier; according to the IP address prefix, determine the next hop node and the outgoing interface of the network node.
  • the segment identifier includes a location field, and the location field includes a resource identifier; or the segment identifier includes a function field, and the function field includes a resource identifier; or the segment identifier includes a parameter field, and the parameter field includes a resource identifier.
  • the receiving module 1501 and the sending module 1503 in FIG. 15 can be replaced by a transceiver, which can integrate the functions of the receiving module 1501 and the sending module 1503; the processing module 1502 can be replaced by a processor.
  • the processor may integrate the functions of the processing module 1502.
  • the communication device 150 shown in FIG. 15 may also include a memory.
  • the receiving module 1501 and the sending module 1503 are replaced by a transceiver, and the processing module 1502 is replaced by a processor, the communication device 150 involved in the embodiment of the present application may be the communication device shown in FIG. 2.
  • FIG. 16 shows a structural diagram of a communication device 160.
  • the communication device 160 may be a network node or a chip or a system on a chip in a network node.
  • the communication device 160 may be used to perform the functions of the network node involved in the foregoing embodiment.
  • the communication device 160 shown in FIG. 16 includes: a receiving module 1601, a processing module 1602, and a sending module 1603.
  • the receiving module 1601 is configured to receive a first data message including a destination address field.
  • the destination address field includes a segment identifier including a topological location identifier and a resource identifier; the segment identifier is the segment identifier of the network node, and the topological location identifier is used to indicate the network node In the position in the network topology of the network slice, the resource identifier is used to indicate the processing resource corresponding to the network slice, and the processing resource is used to process the data message transmitted in the network slice;
  • the processing module 1602 is configured to process the first data message according to the segment identifier to obtain a second data message; the sending module 1603 is configured to forward the second data message in the network slice through the processing resource determined according to the segment identifier.
  • the specific implementation of the communication device 160 may refer to the behavior and function of the network node in the method for transmitting data messages in the network described in FIG. 12.
  • the segment identifier includes a location field; the location field includes a topology location identifier and a resource identifier; or the segment identifier includes a function field; the function field includes a resource identifier; or the segment identifier includes a parameter field; and the parameter field includes a resource identifier.
  • the receiving module 1601 and the sending module 1603 in FIG. 16 can be replaced by a transceiver, which can integrate the functions of the receiving module 1601 and the sending module 1603; the processing module 1602 can be replaced by a processor.
  • the processor may integrate the functions of the processing module 1602.
  • the communication device 160 shown in FIG. 16 may also include a memory.
  • the communication device 160 involved in the embodiment of the present application may be the communication device shown in FIG. 2.
  • the embodiment of the present application also provides a computer-readable storage medium. All or part of the processes in the foregoing method embodiments may be completed by a computer program instructing relevant hardware.
  • the program may be stored in the foregoing computer-readable storage medium. When the program is executed, it may include processes as in the foregoing method embodiments. .
  • the computer-readable storage medium may be an internal storage unit of the terminal (including the data sending end and/or the data receiving end) of any of the foregoing embodiments, such as the hard disk or memory of the terminal.
  • the computer-readable storage medium may also be an external storage device of the terminal, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, and a flash memory card equipped on the terminal.
  • SMC smart media card
  • SD secure digital
  • the aforementioned computer-readable storage medium may also include both an internal storage unit of the aforementioned terminal and an external storage device.
  • the aforementioned computer-readable storage medium is used to store the aforementioned computer program and other programs and data required by the aforementioned terminal.
  • the aforementioned computer-readable storage medium can also be used to temporarily store data that has been output or will be output.
  • At least one (item) refers to one or more
  • “multiple” refers to two or more than two
  • “at least two (item)” refers to two or three And three or more
  • "and/or” is used to describe the association relationship of the associated objects, indicating that there can be three kinds of relationships, for example, "A and/or B” can mean: there is only A, only B and A at the same time And B three cases, where A, B can be singular or plural.
  • the character “/” generally indicates that the associated objects before and after are in an "or” relationship.
  • At least one item (a) refers to any combination of these items, including any combination of a single item (a) or a plurality of items (a).
  • at least one of a, b, or c can mean: a, b, c, "a and b", “a and c", “b and c", or "a and b and c" ", where a, b, and c can be single or multiple.
  • the disclosed device and method may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods, for example, multiple units or components may be divided. It can be combined or integrated into another device, or some features can be omitted or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate parts may or may not be physically separate.
  • the parts displayed as units may be one physical unit or multiple physical units, that is, they may be located in one place, or they may be distributed to multiple different places. . Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium.
  • the technical solutions of the embodiments of the present application are essentially or the part that contributes to the prior art, or all or part of the technical solutions can be embodied in the form of a software product, and the software product is stored in a storage medium. It includes several instructions to make a device (which may be a single-chip microcomputer, a chip, etc.) or a processor (processor) execute all or part of the steps of the method described in each embodiment of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk and other media that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请实施例提供传输数据报文的方法、装置及系统,涉及通信技术领域,能够解决现有技术中,当网络切片数量较多时,由于需要的locator较多,通过通信协议发布的locator的信息量增多,路由计算复杂度增加,转发表规模也增大,不利于网络中网络切片的可扩展性的技术问题。方法包括:第一网络节点获取用于指示第一网络节点在第一网络切片的网络拓扑中的位置的拓扑定位标识,以及获取指示第一网络切片对应的第一处理资源的第一资源标识,第一处理资源用于处理在第一网络切片中传输的数据报文;根据拓扑定位标识和第一资源标识生成包括拓扑定位标识和第一资源标识的第一段标识,并发布第一段标识。

Description

传输数据报文的方法、装置及系统
本申请要求于2019年12月26日提交国家知识产权局、申请号为201911369680.3、申请名称为“传输数据报文的方法、装置及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及通信技术领域,尤其是涉及一种传输数据报文的方法、装置及系统。
背景技术
第五代(Fifth Generation,5G)网络通过对网络各方面能力的增强,可以支持丰富多样的新业务,如:虚拟现实(virtual reality,VR)、增强现实(augmented reality,AR)、远程工业控制、自动驾驶和物联网等业务。由于不同类型的业务对于网络的传输需求存在极大差异,为了满足不同业务的传输需求,在5G网络中通过承载网切片的方式将物理承载网络划分成不同的网络切片,通过不同的网络切片传输不同的业务,以满足不同业务的传输需求。其中,每个网络切片可以包括多个不同的网络节点,多个网络节点可以属于同一网络切片,一个网络节点可以参与多个网络切片。
由于每个网络节点可以参与多个承载网切片,为了对网络节点参与的多个网络切片进行区分,所以建立网络切片与网络节点间的对应关系,现有技术中,网络节点利用分段路由第六版(segment routing version 6,SRv6)的段标识(segment identification,SID)中的位置字段(locator)来建立网络切片与网络节点间的对应关系。
每个网络节点为参与的不同的网络切片分配不同的locator,并将分配的locator通过通信协议发布给控制器或其他网络节点。在进行数据传输时,控制器根据接收到的各个网络节点的locator进行路由计算,由网络节点按照路由计算结果对数据报文进行转发。当5G网络中建立的网络切片数量较多时,每个网络节点参与的网络切片数量较多,为参与的网络切片分配的locator数量较多,需要的locator较多,通过通信协议发布的locator的信息量增多,路由计算复杂度增加,转发表规模也增大,不利于5G网络中网络切片的可扩展性。
发明内容
有鉴于此,本发明的目的在于提供一种传输数据报文的方法、装置及系统,能够解决现有技术中,当网络切片数量较多时,由于需要的locator较多,通过通信协议发布的locator的信息量增多,路由计算复杂度增加,转发表规模也增大,不利于网络中网络切片的可扩展性的技术问题。
第一方面,提供一种在网络中生成段标识的方法,该网络可以包括第一网络切片,第一网络切片是第一网络节点参与的网络切片,该方法可以包括:第一网络节点获取用于指示第一网络节点在第一网络切片的网络拓扑中的位置的拓扑定位标识;第一网络节点获取用于指示第一网络切片对应的第一处理资源的第一资源标识,第一处理资源用于处理在第一网络切片中传输的数据报文;第一网络节点根据拓扑定位标识和第一资源标识生成包括拓扑定位标识和第一资源标识的第一段标识,并发布第一段标识。
基于第一方面所述的方法,第一网络节点根据拓扑定位标识和第一资源标识生成第一段标识;与现有技术中将网络拓扑和资源标识耦合生成locator来标识网络节点对应的网络切片相比,本申请实施例将拓扑定位标识与资源标识解耦,当网络节点参与多个网络切片时,可以为网络拓扑相同的网络切片分配相同的拓扑定位标识,以减少网络中需要的拓扑定位标识的数量,减少通信协议发布的拓扑定位标识的信息量,降低路由计算复杂度,缩小转发表规模,有利于网络中网络切片的可扩展性。
一种可能的设计中,基于第一方面,第一网络节点可以接收来自控制器的拓扑定位标识;或者第一网络节点接收来自控制器的第一网络切片的网络拓扑,第一网络节点根据网络拓扑为第一网络切片分配拓扑定位标识。
基于该可能的设计,第一网络节点可以从控制器处获取拓扑定位标识,减轻第一网络节点的处理负担;第一网络节点也可以从控制器处获取第一网络切片的网络拓扑,根据该网络拓扑为第一网络切片分配拓扑定位标识,不予限制。
一种可能的设计中,结合第一方面或第一方面的可能的设计,第一网络节点接收来自控制器的第一资源标识;或者第一网络节点接收来自控制器的第一网络切片的处理资源需求信息,第一网络节点根据处理资源需求信息,确定第一处理资源,并为第一处理资源分配第一资源标识。
基于该可能的设计,第一网络节点可以从控制器处获取第一资源标识,减轻第一网络节点的处理负担;第一网络节点也可以从控制器处获取第一网络切片的处理资源需求信息,根据该处理资源需求信息,为第一网络切片分配第一处理资源,并为该第一处理资源分配第一资源标识,不予限制。
一种可能的设计中,结合第一方面或第一方面的可能的设计,网络还包括第二网络切片,第二网络切片是第一网络节点参与的网络切片,第一网络切片的网络拓扑与第二网络切片的网络拓扑相同,拓扑定位标识还用于指示第一网络节点在第二网络切片的网络拓扑中的位置;第一网络节点还可以获取用于指示第二网络切片对应的第二处理资源的第二资源标识,第二处理资源用于处理在第二网络切片中传输的数据报文,第二资源标识与第一资源标识不同;第一网络节点根据拓扑定位标识和第二资源标识生成第二段标识,第二段标识包括拓扑定位标识和第二资源标识;第一网络节点发布第二段标识。
基于该可能的设计,当第一网络节点参与的第一网络切片的网络拓扑与第二网络切片的网络拓扑相同时,第一网络切片对应的拓扑定位标识与第二网络切片对应的拓扑定位标识相同;本申请实施例中,为网络拓扑相同的网络切片分配相同的拓扑定位标识,可以减少分配的拓扑定位标识的数量,同时利用不同的资源标识将拓扑定位标识相同的网络切片区分开来,能够在有效区分网络切片的同时,减少分配的拓扑定位标识的数量,有利于网络切片的可扩展性。
一种可能的设计中,结合第一方面或第一方面的可能的设计,第一网络节点向至少一个第二网络节点发送拓扑定位标识和/或第一资源标识。
基于该可能的设计,第一网络节点将拓扑定位标识和/或第一资源标识发送给除自身以外的至少一个第二网络节点,可以使得第二网络节点根据第一网络节点的拓扑定位标识和第一资源标识建立相应的映射关系,根据该映射关系对接收到的数据报文进行转发。
一种可能的设计中,结合第一方面或第一方面的可能的设计,第一网络节点发布第一 段标识时,还可以发布用于指示第一段标识包括拓扑定位标识和第一资源标识的标志信息。
基于该可能的设计,第一网络节点发布用于指示第一段标识中包括拓扑定位标识和第一资源标识的标志信息,可以使得接收到第一段标识的网络节点获知第一段标识中包括解耦形式的拓扑定位标识和第一资源标识。
一种可能的设计中,结合第一方面或第一方面的可能的设计,第一段标识包括位置字段,位置字段包括第一资源标识;或者第一段标识包括功能字段,功能字段包括第一资源标识;或者第一段标识包括参数字段,参数字段包括第一资源标识。
基于该可能的设计,第一网络节点可以根据传输需求等将资源标识放于第一段标识的位置字段、功能字段或者参数字段中,设计方式灵活多样,不予限制。
第二方面,提供了一种通信装置,通信装置可以实现上述第一方面或者第一方面可能的设计中第一网络节点所执行的功能,所述功能可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个上述功能相应的模块。如:该通信装置包括:获取模块和处理模块。
获取模块,用于获取用于指示第一网络节点在第一网络切片的网络拓扑中的位置的拓扑定位标识;还用于获取用于指示第一网络切片对应的第一处理资源的第一资源标识,第一处理资源用于处理在第一网络切片中传输的数据报文;
处理模块,用于根据拓扑定位标识和第一资源标识生成包括拓扑定位标识和第一资源标识的第一段标识,并发布第一段标识。
其中,该通信装置的具体实现方式可参考第一方面或第一方面的任一种可能的设计提供的在网络中生成段标识的方法中第一网络节点的行为功能,基于第二方面所述的通信装置,第一网络节点根据拓扑定位标识和第一资源标识生成第一段标识;与现有技术中将网络拓扑和资源标识耦合生成locator来标识网络节点对应的网络切片相比,本申请实施例将拓扑定位标识与资源标识解耦,当网络节点参与多个网络切片时,可以为网络拓扑相同的网络切片分配相同的拓扑定位标识,以减少网络中需要的拓扑定位标识的数量,减少通信协议发布的拓扑定位标识的信息量,降低路由计算复杂度,缩小转发表规模,有利于网络中网络切片的可扩展性。
一种可能的设计中,基于第二方面,通信装置还可以包括接收模块,获取模块,还用于接收来自控制器的拓扑定位标识,或者接收来自控制器的第一网络切片的网络拓扑;处理模块,还用于根据网络拓扑为第一网络切片分配拓扑定位标识。
基于该可能的设计,第一网络节点可以从控制器处获取拓扑定位标识,减轻第一网络节点的处理负担;第一网络节点也可以从控制器处获取第一网络切片的网络拓扑,根据该网络拓扑为第一网络切片分配拓扑定位标识,不予限制。
一种可能的设计中,结合第二方面或第二方面的可能的设计,获取模块,还用于接收来自控制器的第一资源标识,或者接收来自控制器的第一网络切片的处理资源需求信息;处理模块,还用于根据处理资源需求信息,确定第一处理资源,并为第一处理资源分配第一资源标识。
基于该可能的设计,第一网络节点可以从控制器处获取第一资源标识,减轻第一网络节点的处理负担;第一网络节点也可以从控制器处获取第一网络切片的处理资源需求信息,根据该处理资源需求信息,为第一网络切片分配第一处理资源,并为该第一处理资源分配 第一资源标识,不予限制。
一种可能的设计中,结合第二方面或第二方面的可能的设计,网络还包括第二网络切片,第二网络切片是第一网络节点参与的网络切片,第一网络切片的网络拓扑与第二网络切片的网络拓扑相同,拓扑定位标识还用于指示第一网络节点在第二网络切片的网络拓扑中的位置;处理模块,还用于获取用于指示第二网络切片对应的第二处理资源的第二资源标识,第二处理资源用于处理在第二网络切片中传输的数据报文,第二资源标识与第一资源标识不同;处理模块,还用于根据拓扑定位标识和第二资源标识生成第二段标识,第二段标识包括拓扑定位标识和第二资源标识;处理模块,还用于发布第二段标识。
基于该可能的设计,当第一网络节点参与的第一网络切片的网络拓扑与第二网络切片的网络拓扑相同时,第一网络切片对应的拓扑定位标识与第二网络切片对应的拓扑定位标识相同;本申请实施例中,为网络拓扑相同的网络切片分配相同的拓扑定位标识,可以减少分配的拓扑定位标识的数量,同时利用不同的资源标识将拓扑定位标识相同的网络切片区分开来,能够在有效区分网络切片的同时,减少分配的拓扑定位标识的数量,有利于网络切片的可扩展性。
一种可能的设计中,结合第二方面或第二方面的可能的设计,通信装置还包括发送模块,该发送模块,用于向至少一个第二网络节点发送拓扑定位标识和/或第一资源标识。
基于该可能的设计,第一网络节点将拓扑定位标识和/或第一资源标识发送给除自身以外的至少一个第二网络节点,可以使得第二网络节点根据第一网络节点的拓扑定位标识和第一资源标识建立相应的映射关系,根据该映射关系对接收到的数据报文进行转发。
一种可能的设计中,结合第二方面或第二方面的可能的设计,处理模块,还用于在发布第一段标识时,发布用于指示第一段标识包括拓扑定位标识和第一资源标识的标志信息。
基于该可能的设计,第一网络节点发布用于指示第一段标识中包括拓扑定位标识和第一资源标识的标志信息,可以使得接收到第一段标识的网络节点获知第一段标识中包括解耦形式的拓扑定位标识和第一资源标识。
一种可能的设计中,结合第二方面或第二方面的可能的设计,第一段标识包括位置字段,位置字段包括第一资源标识;或者第一段标识包括功能字段,功能字段包括第一资源标识;或者第一段标识包括参数字段,参数字段包括第一资源标识。
基于该可能的设计,第一网络节点可以根据传输需求等将资源标识放于第一段标识的位置字段、功能字段或者参数字段中,设计方式灵活多样,不予限制。
第三方面,提供了一种通信装置,该通信装置可以为第一网络节点或者第一网络节点中的芯片或者片上系统。该通信装置可以实现上述各方面或者各可能的设计中第一网络节点所执行的功能,所述功能可以通过硬件实现。一种可能的设计中,该通信装置可以包括:收发器、处理器、通信接口。收发器和处理器可以用于支持通信装置实现上述第一方面或者第一方面的任一种可能的设计中所涉及的功能。例如:收发器可以用于通过通信接口获取用于指示第一网络节点在第一网络切片的网络拓扑中的位置的拓扑定位标识;还可以用于获取用于指示第一网络切片对应的第一处理资源的第一资源标识,第一处理资源用于处理在第一网络切片中传输的数据报文;处理器可以用于根据拓扑定位标识和第一资源标识生成包括拓扑定位标识和第一资源标识的第一段标识,处理器还可以用于通过通信接口发布第一段标识。在又一种可能的设计中,所述通信装置还可以包括存储器,存储器,用于 保存通信装置必要的计算机执行指令和数据。当该通信装置运行时,该处理器执行该存储器存储的该计算机执行指令,以使该通信装置执行如上述第一方面或者第一方面的任一种可能的设计所述的在网络中生成段标识的方法。
其中,该通信装置的具体实现方式可参考第一方面或第一方面的任一种可能的设计提供的在网络中生成段标识的方法中第一网络节点的行为功能。
第四方面,提供了一种通信装置,该通信装置包括一个或多个处理器和一个或多个存储器;一个或多个存储器与一个或多个处理器耦合,一个或多个存储器用于存储计算机程序代码或计算机指令;当一个或多个处理器执行计算机指令时,使得通信装置执行如第一方面或者第一方面的任一可能的设计所述的在网络中生成段标识的方法。
第五方面,提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机指令或程序,当计算机指令或程序在计算机上运行时,使得计算机执行如第一方面或者第一方面的任一可能的设计所述的在网络中生成段标识的方法。
第六方面,提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行如第一方面或者第一方面的任一可能的设计所述的在网络中生成段标识的方法。
其中,第三方面至第六方面中任一种设计方式所带来的技术效果可参见上述第一方面至第二方面的任一种可能的设计所带来的技术效果,不再赘述。
第七方面,提供了一种在网络中接收标识的方法,该网络包括第一网络切片,第一网络切片是第一网络节点和第二网络节点参与的网络切片,该方法可以包括:第二网络节点接收来自第一网络节点的用于指示第一网络节点在第一网络切片的网络拓扑中的位置的拓扑定位标识;第二网络节点确定拓扑定位标识和用于向第一网络节点发送数据报文的下一跳信息的映射关系,下一跳信息包括第二网络节点的下一跳节点和出接口。
基于第七方面的方法,第二网络节点根据接收到的第一网络节点的拓扑定位标识,确定拓扑定位标识与下一跳节点和出接口的映射关系,为第二网络节点根据该映射关系将接收到的数据报文通过出接口转发到下一跳节点提供了可行性方案。
一种可能的设计中,结合第七方面或第七方面的可能的设计,第二网络节点还可以接收来自第一网络节点的用于指示第一网络切片对应的处理资源的第一资源标识,第二网络节点确定第一资源标识和出接口的第一子接口的映射关系,第一子接口用于在第一网络切片内向第一网络节点发送数据报文。
基于该可能的设计,第二网络节点根据接收到的第一网络节点的第一资源标识,确定第一资源标识与出接口的第一子接口的映射关系,为第二网络节点根据该映射关系将接收到的数据报文通过第一子接口转发到下一跳节点提供了可行性方案。
一种可能的设计中,结合第七方面或第七方面的可能的设计,第二网络节点还可以接收来自第一网络节点的第一资源标识和用于标识第一网络切片的网络切片标识;第二网络节点根据网络切片标识确定第一资源标识和第一网络切片的映射关系。
基于该可能的设计,第二网络节点可以根据接收到的第一资源标识和网络切片标识,识别出第一资源标识对应的网络切片,为确定第一资源标识与网络切片的映射关系提供了可行性方案。
一种可能的设计中,结合第七方面或第七方面的可能的设计,第二网络节点确定拓扑定位标识和下一跳信息的映射关系,可以包括:第二网络节点确定拓扑定位标识和互联网 协议IP地址前缀的映射关系;第二网络节点确定IP地址前缀和下一跳信息的映射关系。
基于该可能的设计,第二网络节点借助IP地址前缀建立拓扑定位标识与下一跳信息之间的映射关系,为第二网络节点根据该映射关系确定转发数据报文所需的下一跳信息提供了可行性方案。
一种可能的设计中,结合第七方面或第七方面的可能的设计,第二网络节点还可以接收来自第一网络节点的标志信息;其中,标志信息用于指示第一段标识包括拓扑定位标识和第一资源标识。
基于该可能的设计,第二网络节点接收到标志信息后,根据该标志信息,可以获知第一段标识中拓扑定位标识和第一资源标识的格式和位置,从而便于第二网络节点识别第一段标识的内容。
一种可能的设计中,结合第七方面或第七方面的可能的设计,网络还包括第二网络切片,第二网络切片是第一网络节点和第二网络节点参与的网络切片,第一网络切片的网络拓扑与第二网络切片的网络拓扑相同,拓扑定位标识还用于指示第一网络节点在第二网络切片的网络拓扑中的位置;第二网络节点接收来自第一网络节点的第二资源标识,第二资源标识用于指示第二网络切片对应的处理资源,第二资源标识与第一资源标识不同;第二网络节点确定第二资源标识和出接口的第二子接口的映射关系,第二子接口用于在第二网络切片内向第一网络节点发送数据报文。
基于该可能的设计,当第一网络节点参与的第一网络切片的网络拓扑与第二网络切片的网络拓扑相同时,第一网络切片对应的拓扑定位标识与第二网络切片对应的拓扑定位标识相同;本申请实施例中,为网络拓扑相同的网络切片分配相同的拓扑定位标识,可以减少分配的拓扑定位标识的数量,同时利用不同的资源标识将拓扑定位标识相同的网络切片区分开来,能够在有效区分网络切片的同时,减少分配的拓扑定位标识的数量,有利于网络切片的可扩展性。
第八方面,提供了一种通信装置,通信装置可以实现上述第七方面或者第七方面可能的设计中第二网络节点所执行的功能,所述功能可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个上述功能相应的模块。如:该通信装置包括:接收模块和处理模块。
接收模块,用于接收来自第一网络节点的用于指示第一网络节点在第一网络切片的网络拓扑中的位置的拓扑定位标识;处理模块,用于确定拓扑定位标识和用于向第一网络节点发送数据报文的下一跳信息的映射关系,下一跳信息包括第二网络节点的下一跳节点和出接口。
其中,该通信装置的具体实现方式可参考第七方面或第七方面的任一种可能的设计提供的在网络中接收标识的方法中第二网络节点的行为功能,基于第八方面所述的通信装置,第二网络节点根据接收到的第一网络节点的拓扑定位标识,确定拓扑定位标识与下一跳节点和出接口的映射关系,为第二网络节点根据该映射关系将接收到的数据报文通过出接口转发到下一跳节点提供了可行性方案。
一种可能的设计中,结合第八方面或第八方面的可能的设计,接收模块,还用于接收来自第一网络节点的用于指示第一网络切片对应的处理资源的第一资源标识;处理模块,还用于确定第一资源标识和出接口的第一子接口的映射关系,第一子接口用于在第一网络 切片内向第一网络节点发送数据报文。
基于该可能的设计,第二网络节点根据接收到的第一网络节点的第一资源标识,确定第一资源标识与出接口的第一子接口的映射关系,为第二网络节点根据该映射关系将接收到的数据报文通过第一子接口转发到下一跳节点提供了可行性方案。
一种可能的设计中,结合第八方面或第八方面的可能的设计,接收模块,还用于接收来自第一网络节点的第一资源标识和用于标识第一网络切片的网络切片标识;处理模块,还用于根据网络切片标识确定第一资源标识和第一网络切片的映射关系。
基于该可能的设计,第二网络节点可以根据接收到的第一资源标识和网络切片标识,识别出第一资源标识对应的网络切片,为确定第一资源标识与网络切片的映射关系提供了可行性方案。
一种可能的设计中,结合第八方面或第八方面的可能的设计,处理模块,具体还用于确定拓扑定位标识和互联网协议IP地址前缀的映射关系;确定IP地址前缀和下一跳信息的映射关系。
基于该可能的设计,第二网络节点借助IP地址前缀建立拓扑定位标识与下一跳信息之间的映射关系,为第二网络节点根据该映射关系确定转发数据报文所需的下一跳信息提供了可行性方案。
一种可能的设计中,结合第八方面或第八方面的可能的设计,接收模块,还用于接收来自第一网络节点的用于指示第一段标识包括拓扑定位标识和第一资源标识的标志信息。
基于该可能的设计,第二网络节点接收到标志信息后,根据该标志信息,可以获知第一段标识中拓扑定位标识和第一资源标识的格式和位置,从而便于第二网络节点识别第一段标识的内容。
一种可能的设计中,结合第八方面或第八方面的可能的设计,网络还包括第二网络切片,第二网络切片是第一网络节点参与的网络切片,第一网络切片的网络拓扑与第二网络切片的网络拓扑相同,拓扑定位标识还用于指示第一网络节点在第二网络切片的网络拓扑中的位置;接收模块,还用于接收来自第一网络节点的第二资源标识,第二资源标识用于指示第二网络切片对应的处理资源,第二资源标识与第一资源标识不同;处理模块,还用于确定第二资源标识和出接口的第二子接口的映射关系,第二子接口用于在第二网络切片内向第一网络节点发送数据报文。
基于该可能的设计,当第一网络节点参与的第一网络切片的网络拓扑与第二网络切片的网络拓扑相同时,第一网络切片对应的拓扑定位标识与第二网络切片对应的拓扑定位标识相同;本申请实施例中,为网络拓扑相同的网络切片分配相同的拓扑定位标识,可以减少分配的拓扑定位标识的数量,同时利用不同的资源标识将拓扑定位标识相同的网络切片区分开来,能够在有效区分网络切片的同时,减少分配的拓扑定位标识的数量,有利于网络切片的可扩展性。
第九方面,提供了一种通信装置,该通信装置可以为第二网络节点或者第二网络节点中的芯片或者片上系统。该通信装置可以实现上述各方面或者各可能的设计中第二网络节点所执行的功能,所述功能可以通过硬件实现。一种可能的设计中,该通信装置可以包括:收发器、处理器、通信接口。收发器和处理器可以用于支持通信装置实现上述第七方面或者第七方面的任一种可能的设计中所涉及的功能。例如,收发器可以用于通过通信接口接 收来自第一网络节点的用于指示第一网络节点在第一网络切片的网络拓扑中的位置的拓扑定位标识;处理器可以用于确定拓扑定位标识和用于向第一网络节点发送数据报文的下一跳信息的映射关系,下一跳信息包括第二网络节点的下一跳节点和出接口。在又一种可能的设计中,所述通信装置还可以包括存储器,存储器,用于保存通信装置必要的计算机执行指令和数据。当该通信装置运行时,该处理器执行该存储器存储的该计算机执行指令,以使该通信装置执行如上述第七方面或者第七方面的任一种可能的设计所述的在网络中接收标识的方法。
其中,该通信装置的具体实现方式可参考第七方面或第七方面的任一种可能的设计提供的在网络中接收标识的方法中第二网络节点的行为功能。
第十方面,提供了一种通信装置,该通信装置包括一个或多个处理器和一个或多个存储器;一个或多个存储器与一个或多个处理器耦合,一个或多个存储器用于存储计算机程序代码或计算机指令;当一个或多个处理器执行计算机指令时,使得通信装置执行如第七方面或者第七方面的任一可能的设计所述的在网络中接收标识的方法。
第十一方面,提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机指令或程序,当计算机指令或程序在计算机上运行时,使得计算机执行如第七方面或者第七方面的任一可能的设计所述的在网络中接收标识的方法。
第十二方面,提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行如第七方面或者第七方面的任一可能的设计所述的在网络中接收标识的方法。
其中,第九方面至第十二方面中任一种设计方式所带来的技术效果可参见上述第七方面至第八方面的任一种可能的设计所带来的技术效果,不再赘述。
第十三方面,提供了一种在网络中传输数据报文的方法,网络包括网络切片,网络切片是网络节点参与的网络切片,该方法包括:网络节点接收包括目的地址字段的数据报文,目的地址字段包括包含拓扑定位标识以及资源标识的段标识;网络节点根据拓扑定位标识,确定下一跳信息,下一跳信息包括网络节点的下一跳节点和出接口;网络节点根据资源标识,确定出接口的子接口;网络节点通过子接口在网络切片内向下一跳节点发送数据报文。
基于该可能的设计,网络节点根据目的地址的段标识中的拓扑定位标识确定下一跳节点和出接口,根据资源标识确定出接口的子接口,通过出接口的子接口向下一跳节点转发数据报文,为网络节点根据段标识转发数据报文提供可行性方案。
一种可能的设计中,结合第十三方面或第十三方面的可能的设计,网络节点根据拓扑定位标识,确定下一跳信息,包括:网络节点根据拓扑定位标识,确定互联网协议IP地址前缀;网络节点根据IP地址前缀,确定网络节点的下一跳节点和出接口。
基于该可能的设计,网络节点根据拓扑定位标识确定IP地址前缀,根据IP地址前缀确定下一跳节点和出接口,为网络节点根据拓扑定位标识确定下一跳节点和出接口提供了可行性方案。
一种可能的设计中,结合第十三方面或第十三方面的可能的设计,段标识包括位置字段,位置字段包括资源标识;或者段标识包括功能字段,功能字段包括资源标识;或者段标识包括参数字段,参数字段包括资源标识。
基于该可能的设计,资源标识可以根据传输需求等被放置在段标识的位置字段、功能字段或者参数字段中,设计方式灵活多样,不予限制。
第十四方面,提供了一种通信装置,通信装置可以实现上述第十三方面或者第十三方面可能的设计中网络节点所执行的功能,所述功能可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个上述功能相应的模块。如:该通信装置包括:接收模块、处理模块和发送模块。
接收模块,用于接收包括目的地址字段的数据报文,目的地址字段包括包含拓扑定位标识以及资源标识的段标识;处理模块,用于根据拓扑定位标识,确定下一跳信息,下一跳信息包括网络节点的下一跳节点和出接口;网络节点根据资源标识,确定出接口的子接口;发送模块,用于通过子接口在网络切片内向下一跳节点发送数据报文。
其中,该通信装置的具体实现方式可参考第十三方面或第十三方面的任一种可能的设计提供的在网络中传输数据报文的方法中网络节点的行为功能,基于第十四方面所述的通信装置,网络节点根据目的地址的段标识中的拓扑定位标识确定下一跳节点和出接口,根据资源标识确定出接口的子接口,通过出接口的子接口向下一跳节点转发数据报文,为网络节点根据段标识转发数据报文提供可行性方案。
一种可能的设计中,结合第十四方面或第十四方面的可能的设计,处理模块,具体用于根据拓扑定位标识,确定互联网协议IP地址前缀;根据IP地址前缀,确定网络节点的下一跳节点和出接口。
基于该可能的设计,网络节点根据拓扑定位标识确定IP地址前缀,根据IP地址前缀确定下一跳节点和出接口,为网络节点根据拓扑定位标识确定下一跳节点和出接口提供了可行性方案。
一种可能的设计中,结合第十四方面或第十四方面的可能的设计,段标识包括位置字段,位置字段包括资源标识;或者段标识包括功能字段,功能字段包括资源标识;或者段标识包括参数字段,参数字段包括资源标识。
基于该可能的设计,资源标识可以根据传输需求等被放置在段标识的位置字段、功能字段或者参数字段中,设计方式灵活多样,不予限制。
第十五方面,提供了一种通信装置,该通信装置可以为网络节点或者网络节点中的芯片或者片上系统。该通信装置可以实现上述各方面或者各可能的设计中网络节点所执行的功能,所述功能可以通过硬件实现。一种可能的设计中,该通信装置可以包括:收发器、处理器、通信接口。收发器和处理器可以用于支持通信装置实现上述第十三方面或者第十三方面的任一种可能的设计中所涉及的功能。例如:收发器可以用于通过通信接口接收包括目的地址字段的数据报文,目的地址字段包括包含拓扑定位标识以及资源标识的段标识;处理模块可以用于根据拓扑定位标识,确定下一跳信息,下一跳信息包括网络节点的下一跳节点和出接口;根据资源标识,确定出接口的子接口;收发器还可以用于通过子接口在网络切片内向下一跳节点发送数据报文。在又一种可能的设计中,所述通信装置还可以包括存储器,存储器,用于保存通信装置必要的计算机执行指令和数据。当该通信装置运行时,该处理器执行该存储器存储的该计算机执行指令,以使该通信装置执行如上述第十三方面或者第十三方面的任一种可能的设计所述的在网络中传输数据报文的方法。
其中,该通信装置的具体实现方式可参考第十三方面或第十三方面的任一种可能的设计提供的在网络中传输数据报文的方法中网络节点的行为功能。
第十六方面,提供了一种通信装置,该通信装置包括一个或多个处理器和一个或多个 存储器;一个或多个存储器与一个或多个处理器耦合,一个或多个存储器用于存储计算机程序代码或计算机指令;当一个或多个处理器执行计算机指令时,使得通信装置执行如第十三方面或者第十三方面的任一可能的设计所述的在网络中传输数据报文的方法。
第十七方面,提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机指令或程序,当计算机指令或程序在计算机上运行时,使得计算机执行如第十三方面或者第十三方面的任一可能的设计所述的在网络中传输数据报文的方法。
第十八方面,提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行如第十三方面或者第十三方面的任一可能的设计所述的在网络中传输数据报文的方法。
其中,第十五方面至第十八方面中任一种设计方式所带来的技术效果可参见上述第十三方面至第十四方面的任一种可能的设计所带来的技术效果,不再赘述。
第十九方面,提供了一种在网络中传输数据报文的方法,网络包括网络切片,网络切片是网络节点参与的网络切片,该方法包括:网络节点接收包括目的地址字段的第一数据报文,目的地址字段包括包含拓扑定位标识以及资源标识的段标识;段标识是网络节点的段标识;拓扑定位标识用于指示网络节点在网络切片的网络拓扑中的位置,资源标识用于指示网络切片对应的处理资源,处理资源用于处理在网络切片中传输的数据报文;网络节点根据段标识处理第一数据报文,以得到第二数据报文;网络节点通过根据段标识确定的处理资源在网络切片内转发第二数据报文。
基于该可能的设计,当第一数据报文的目的地址字段中的段标识为网络节点的段标识时,网络节点根据段标识处理第一数据报文,并将处理得到的第二数据报文通过根据段标识确定的处理资源在网络切片内进行转发,为网络节点在接收到目的地址字段包含的段标识为自身的段标识的第一数据报文如何进行转发提供了可行性方案。
一种可能的设计中,结合第十九方面或第十九方面的可能的设计,段标识包括位置字段;位置字段包括资源标识;或者段标识包括功能字段;功能字段包括资源标识;或者段标识包括参数字段;参数字段包括资源标识。
基于该可能的设计,资源标识可以根据传输需求等被放置在段标识的位置字段、功能字段或者参数字段中,设计方式灵活多样,不予限制。
第二十方面,提供了一种通信装置,通信装置可以实现上述第十九方面或者第十九方面可能的设计中网络节点所执行的功能,所述功能可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个上述功能相应的模块。如:该通信装置包括:接收模块、处理模块和发送模块。
接收模块,用于接收包括目的地址字段的第一数据报文,目的地址字段包括包含拓扑定位标识以及资源标识的段标识;段标识是网络节点的段标识;处理模块,用于根据段标识处理第一数据报文,以得到第二数据报文;发送模块,用于通过根据段标识确定的处理资源在网络切片内转发第二数据报文。
其中,该通信装置的具体实现方式可参考第十九方面或第十九方面的任一种可能的设计提供的在网络中传输数据报文的方法中网络节点的行为功能,基于第二十方面所述的通信装置,当第一数据报文的目的地址字段中的段标识为网络节点的段标识时,网络节点根据段标识处理第一数据报文,并将处理得到的第二数据报文通过根据段标识确定的处理资 源在网络切片内进行转发,为网络节点在接收到目的地址字段包含的段标识为自身的段标识的第一数据报文如何进行转发提供了可行性方案。
一种可能的设计中,结合第二十方面或第二十方面的可能的设计,段标识包括位置字段;位置字段包括拓扑定位标识以及资源标识;或者段标识包括功能字段;功能字段包括资源标识;或者段标识包括参数字段;参数字段包括资源标识。
基于该可能的设计,资源标识可以根据传输需求等被放置在段标识的位置字段、功能字段或者参数字段中,设计方式灵活多样,不予限制。
第二十一方面,提供了一种通信装置,该通信装置可以为网络节点或者网络节点中的芯片或者片上系统。该通信装置可以实现上述各方面或者各可能的设计中网络节点所执行的功能,所述功能可以通过硬件实现。一种可能的设计中,该通信装置可以包括:收发器、处理器、通信接口。收发器和处理器可以用于支持通信装置实现上述第十九方面或者第十九方面的任一种可能的设计中所涉及的功能。例如,收发器可以用于通过通信接口接收包括目的地址字段的第一数据报文,目的地址字段包括包含拓扑定位标识以及资源标识的段标识;段标识是网络节点的段标识;处理器可以用于根据段标识处理第一数据报文,以得到第二数据报文;收发器还可以用于通过根据段标识确定的处理资源在网络切片内转发第二数据报文。在又一种可能的设计中,所述通信装置还可以包括存储器,存储器,用于保存通信装置必要的计算机执行指令和数据。当该通信装置运行时,该处理器执行该存储器存储的该计算机执行指令,以使该通信装置执行如上述第十九方面或者第十九方面的任一种可能的设计所述的在网络中传输数据报文的方法。
其中,该通信装置的具体实现方式可参考第十九方面或第十九方面的任一种可能的设计提供的在网络中传输数据报文的方法中网络节点的行为功能。
第二十二方面,提供了一种通信装置,该通信装置包括一个或多个处理器和一个或多个存储器;一个或多个存储器与一个或多个处理器耦合,一个或多个存储器用于存储计算机程序代码或计算机指令;当一个或多个处理器执行计算机指令时,使得通信装置执行如第十九方面或者第十九方面的任一可能的设计所述的在网络中传输数据报文的方法。
第二十三方面,提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机指令或程序,当计算机指令或程序在计算机上运行时,使得计算机执行如第十九方面或者第十九方面的任一可能的设计所述的在网络中传输数据报文的方法。
第二十四方面,提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行如第十九方面或者第十九方面的任一可能的设计所述的在网络中传输数据报文的方法。
其中,第二十一方面至第二十四方面中任一种设计方式所带来的技术效果可参见上述第十九方面至第二十方面的任一种可能的设计所带来的技术效果,不再赘述。
第二十五方面,提供了一种通信系统,该通信系统包括如第二方面或第二方面的任一可能的设计所述的通信装置以及如第八方面或者第八方面的任一可能的设计所述的通信装置;或者,包括如第十四方面或者第十四方面的任一可能的设计所述的通信装置;或者,包括如第二十方面或者第二十方面的任一可能的设计所述的通信装置。
附图说明
图1为本发明实施例提供的一种通信系统的简化示意图;
图2为本发明实施例提供的一种通信装置的组成示意图;
图3为本发明实施例提供的一种在网络中生成段标识的方法示意图;
图4a为本发明实施例提供的一种网络切片内的网络节点间通信方法示意图;
图4b为本发明实施例提供的一种网络切片内的网络节点间通信方法示意图;
图4c为本发明实施例提供的一种网络切片内的网络节点间通信方法示意图;
图5a为本发明实施例提供的一种第一段标识帧结构示意图;
图5b为本发明实施例提供的一种第一段标识帧结构示意图;
图5c为本发明实施例提供的一种第一段标识帧结构示意图;
图6a为本发明实施例提供的一种包含位置字段和标志信息的帧结构示意图;
图6b为本发明实施例提供的一种包含资源标识的功能字段的帧结构示意图;
图6c为本发明实施例提供的一种包含资源标识对应的资源带宽的帧结构示意图;
图6d为本发明实施例提供的一种包含资源标识对应的资源缓存的帧结构示意图;
图7a为本发明实施例提供的一种包含位置字段和标志信息的帧结构示意图;
图7b为本发明实施例提供的一种包含资源标识的帧结构示意图;
图7c为本发明实施例提供的一种包含资源标识的帧结构示意图;
图8为本发明实施例提供的一种在网络中接收标识的方法示意图;
图9为本发明实施例提供的一种转发表帧结构示意图;
图10为本发明实施例提供的一种资源匹配表帧结构示意图;
图11为本发明实施例提供的一种在网络中传输数据报文的方法示意图;
图12为本发明实施例提供的一种在网络中传输数据报文的方法示意图;
图13为本发明实施例提供的一种通信装置的组成示意图;
图14为本发明实施例提供的一种通信装置的组成示意图;
图15为本发明实施例提供的一种通信装置的组成示意图;
图16为本发明实施例提供的一种通信装置的组成示意图。
具体实施方式
首先,为了便于理解本申请实施例,对本申请实施例涉及的一些技术术语进行描述:
网络切片(network slice,NS):是具备特定网络特性的逻辑网络,是满足第三代合作伙伴项目(3rd Generation Partnership Project,3GPP)提出的第五代(Fifth Generation,5G)移动通信网络关于网络需求的关键技术。不同网络切片之间逻辑上是隔离的,它可以按照需求方的要求灵活地提供一种或者多种网络服务。
在承载网中,为了满足移动通信网络的传输需求,可以将承载网划分成多个网络切片,多个网络节点可以属于同一网络切片,一个网络节点可以参与多个网络切片,为了对每个网络节点参与的多个网络切片进行区分,可以利用段标识建立网络节点与网络切片间的对应关系,每个网络节点对参与的不同网络切片分配不同的段标识;如,网络节点参与网络切片1、网络切片2和网络切片3,为了区分网络切片,网络节点为网络切片1分配段标识1、为网络切片2分配段标识2、为网络切片3分配段标识3,以将网络切片1、2、3区分开来。
下面结合附图对本申请实施例的实施方式进行详细描述。
本申请提供的技术方案可以应用于图1所示网络,该网络可以为5G网络。如图1所 示,该网络可以包括:终端、接入网设备、承载网、核心网、数据网络(Data Network,DN)。需要说明的是,图1所示网络架构仅为示例性架构图,虽然未示出,但除图1所示网络功能实体外,图1所示网络还可以包括统一数据管理(unified data management,UDM)实体、网络数据分析功能(network data analytics function,NWDAF)实体等,不予限制。
其中,图1中的终端可以为用户设备(User Equipment,UE),还可以为各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其它处理设备;还可以包括用户单元(subscriber unit)、蜂窝电话(cellular phone)、智能电话(smart phone)、无线数据卡、个人数字助理(Personal Digital Assistant,PDA)电脑、平板型电脑、无线调制解调器(modem)、手持设备(handheld)、膝上型电脑(laptop computer)、无绳电话(cordless phone)或者无线本地环路(Wireless Local Loop,WLL)台、机器类型通信(Machine Type Communication,MTC)终端、移动台(Mobile Station,MS)等,不予限制。
图1中的接入网设备主要用于实现无线物理层功能、资源调度和无线资源管理、无线接入控制以及移动性管理等功能;可以为下一代基站(next generation nodeB,gNB)或某种其它任一接入单元。
图1中的承载网可以被运营商划分为多个逻辑隔离的网络切片,每个网络切片由不同网络功能实体和物理资源集合而成,主要用于实现将接入点设备发送的数据利用网络切片按照一定的路径传输至核心网或DN等功能。一种可能的结构中,可以将路由器、交换机等网络节点的部分功能划分到一个网络切片中,各个网络切片间相互隔离,多个网络切片可以共享同一路由器、交换机等。如图1所示,网络节点A、B、C、D、E参与网络切片1,网络节点A、B、C、D、E也参与网络切片2,网络节点A、B、C、D参与网络切片3。
图1中的核心网可以包括:会话管理功能(Session Management,SMF)实体、网络仓库功能(Network Repository Function,NRF)实体、策略控制功能(Policy Control Function,PCF)实体、以及用户面功能(User Plane Function,UPF)实体、网络切片选择功能(Network Slice Selection Function,NSSF)实体、网络暴露功能(Network Exposure Function,NEF)实体、接入和移动性管理功能(Access and Mobility Management Function,AMF)实体等网络功能实体。此外,网络还包括应用功能(Application Function,AF)实体,该AF实体可以是第三方的应用控制平台也可以是运营商自己的设备,AF实体可以为多个应用服务器提供服务。
图1中的DN可以包括提供服务的各种应用服务器。在图1所示网络中,服务提供商可以针对应用服务器提供的应用服务向运营商订购网络切片,并在订购的网络切片上为用户提供服务。服务提供商也可以不专门订购网络切片,而是使用运营商提供的公共的网络切片为用户提供服务。在服务提供商针对应用服务器提供的应用服务向运营商订购网络切片的情况下,在网络节点上可以配置应用及其订购的网络切片的关联关系。
现有基于SRv6的网络切片技术中,每个网络节点为参与的不同的网络切片分配不同的SRv6locator,当5G网络中建立的网络切片数量较多时,每个网络节点参与的网络切片数量较多,为参与的网络切片分配的locator数量较多,需要的locator较多,通过通信协议发布的locator的信息量增多,路由计算复杂度增加,转发表规模也增大,不利于5G网络中网络切片的可扩展性。
为解决上述问题,本申请实施例提供一种在网络中生成段标识的方法,网络节点为参与的不同的网络切片分配包含拓扑定位标识和资源标识的段标识,本申请实施例通过将拓扑定位标识与资源标识解耦,当网络节点参与多个网络切片时,可以为网络拓扑相同的网络切片分配相同的拓扑定位标识,以减少网络中需要的拓扑定位标识的数量,减少通信协议发布的拓扑定位标识的信息量,降低路由计算复杂度,缩小转发表规模,有利于网络中网络切片的可扩展性。
具体实现时,图1所示,如:承载网中各个网络节点或控制器均可以采用图2所示的组成结构,或者包括图2所示的部件。图2为本申请实施例提供的一种通信装置200的组成示意图,该通信装置200可以为网络节点或者网络节点中的芯片或者片上系统;也可以为控制器或者控制器中的芯片或者片上系统。如图2所示,该通信装置200包括处理器201,收发器202以及通信线路203。
进一步的,该通信装置200还可以包括存储器204。其中,处理器201,存储器204以及收发器202之间可以通过通信线路203连接。
其中,处理器201是中央处理器(central processing unit,CPU)、通用处理器网络处理器(network processor,NP)、数字信号处理器(digital signal processing,DSP)、微处理器、微控制器、可编程逻辑器件(programmable logic device,PLD)或它们的任意组合。处理器201还可以是其它具有处理功能的装置,例如电路、器件或软件模块,不予限制。
收发器202,用于与其他设备或其它通信网络进行通信。该其它通信网络可以为以太网,无线接入网(radio access network,RAN),无线局域网(wireless local area networks,WLAN)等。收发器202可以是模块、电路、收发器或者任何能够实现通信的装置。
通信线路203,用于在通信装置200所包括的各部件之间传送信息。
存储器204,用于存储指令。其中,指令可以是计算机程序。
其中,存储器204可以是只读存储器(read-only memory,ROM)或可存储静态信息和/或指令的其他类型的静态存储设备,也可以是随机存取存储器(random access memory,RAM)或可存储信息和/或指令的其他类型的动态存储设备,还可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或其他磁存储设备等,不予限制。
需要指出的是,存储器204可以独立于处理器201存在,也可以和处理器201集成在一起。存储器204可以用于存储指令或者程序代码或者一些数据等。存储器204可以位于通信装置200内,也可以位于通信装置200外,不予限制。处理器201,用于执行存储器204中存储的指令,以实现本申请下述实施例提供的在网络中生成段标识、接收标识、传输数据报文的方法。
在一种示例中,处理器201可以包括一个或多个CPU,例如图2中的CPU0和CPU1。
作为一种可选的实现方式,通信装置200包括多个处理器,例如,除图2中的处理器201之外,还可以包括处理器207。
作为一种可选的实现方式,通信装置200还包括输出设备205和输入设备206。示例性地,输入设备206是键盘、鼠标、麦克风或操作杆等设备,输出设备205是显示屏、扬声器(speaker)等设备。
需要指出的是,通信装置200可以是台式机、便携式电脑、网络服务器、移动手机、平板电脑、无线终端、嵌入式设备、芯片系统或有图2中类似结构的设备。此外,图2中示出的组成结构并不构成对该通信装置的限定,除图2所示部件之外,该通信装置可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
本申请实施例中,芯片系统可以由芯片构成,也可以包括芯片和其他分立器件。
此外,本申请的各实施例之间涉及的动作、术语等均可以相互参考,不予限制。本申请的实施例中各个设备之间交互的消息名称或消息中的参数名称等只是一个示例,具体实现中也可以采用其他的名称,不予限制。
下面结合图1所示通信系统,以网络节点之间进行通信以及网络节点与控制器之间进行通信为例,对本申请实施例提供的在网络中生成段标识的方法进行描述。下述实施例所述的网络节点和控制器可以具备图2所示部件。
在图1所示通信系统中,每个网络节点为自身参与的不同网络切片生成不同的段标识;其中,段标识包括拓扑定位标识和资源标识,拓扑定位标识用于指示网络节点在网络切片的网络拓扑中的位置;资源标识用于指示网络切片对应的处理资源,该处理资源用于处理在该网络切片中传输的数据报文。
参见图3,本申请实施例以第一网络节点为参与的第一网络切片分配第一段标识为例,对本申请实施例提供的在网络中生成段标识的方法进行描述。如图3所示,该方法可以包括:
步骤301、第一网络节点获取拓扑定位标识。
其中,拓扑定位标识用于指示第一网络节点在第一网络切片的网络拓扑中的位置。
一种可能的设计中,第一网络节点可以接收来自控制器的拓扑定位标识。
可选的,控制器可以根据第一网络切片的网络拓扑,确定参与第一网络切片的第一网络节点的节点标识,根据第一网络切片的网络拓扑以及第一网络节点的节点标识,确定第一网络节点参与的第一网络切片的拓扑定位标识,并将该拓扑定位标识发送给第一网络节点。
其中,节点标识用于指示第一网络节点的身份信息,网络中各个网络节点的节点标识可以是控制器统一分配的,也可以是网络节点自行分配,再将分配的节点标识上报给控制器,不予限制。
例如,第一网络节点的节点标识为A,第一网络切片的网络拓扑为1,控制器根据节点标识和网络拓扑生成拓扑定位标识A1,并将A1发送给第一网络节点。
第一网络节点从控制器处直接获取拓扑定位标识,可以减轻第一网络节点的处理负担。
另一种可能的设计中,控制器将第一网络切片的网络拓扑发送给第一网络节点,第一网络节点根据第一网络切片的网络拓扑以及自身的节点标识,生成与第一网络切片对应的拓扑定位标识。
例如,第一网络节点的节点标识为A,第一网络切片的网络拓扑为1,控制器将第一网络切片的网络拓扑1发送给第一网络节点,第一网络节点根据自身的节点标识A和第一网络切片的网络拓扑1生成拓扑定位标识A1。
上述两种可能的设计中,拓扑定位标识是根据网络节点的节点标识和网络切片的网络拓扑生成的,对于同一网络节点而言,网络拓扑相同的网络切片对应的拓扑定位标识相同, 网络拓扑不同的网络切片对应的拓扑定位标识不同。
例如,结合图1,参见图4a、图4b和图4c,网络节点A参与图4a所示的网络切片1、图4b所示的网络切片2和图4c所示的网络切片3,网络切片1与网络切片2的网络拓扑相同,假设网络切片1的网络拓扑为1,则网络切片2的网络拓扑也为1,网络切片3的网络拓扑与网络切片1和网络切片2的网络拓扑不同,假设网络切片3的网络拓扑为2,对于网络节点A,对应于网络切片1生成的拓扑定位标识为A1,对应于网络切片2生成的拓扑定位标识也为A1,对应于网络切片3生成的拓扑定位标识为A2。
对于同一网络节点,网络拓扑相同的网络切片对应的拓扑定位标识相同,可以减少网络中需要的拓扑定位标识的数量,从而减少通信协议需要发布的拓扑定位标识的信息量,有利于网络中网络切片的可扩展性。
步骤302、第一网络节点获取第一资源标识。
其中,第一资源标识用于指示第一网络切片对应的第一处理资源,第一处理资源用于处理在第一网络切片中传输的数据报文。
一种可能的设计中,第一网络节点可以接收来自控制器的第一资源标识。
控制器可以根据第一网络切片对应的传输需求确定第一网络切片对应的处理资源需求信息,并为该处理资源需求信息对应的第一处理资源分配第一资源标识,并将第一网络切片对应的处理资源需求信息和第一资源标识发送给第一网络节点,第一网络节点根据处理资源需求信息确定第一处理资源,并保存第一处理资源与第一资源标识的对应关系。
其中,第一网络切片对应的处理资源需求信息用于指示第一网络切片为满足传输需求所需要的第一处理资源。
另一种可能的设计中,控制器根据第一网络切片对应的传输需求确定第一网络切片所需的处理资源需求信息,并将处理资源需求信息发送给第一网络节点,第一网络节点根据处理资源需求信息从第一网络节点的处理资源中确定第一处理资源,并为第一处理资源分配第一资源标识。
上述两种可能的设计中,第一处理资源可以包括:子接口、队列、缓存、带宽等物理或逻辑传输资源,不予限制。
当第一网络节点参与网络拓扑相同的第一网络切片和第二网络切片时,由于第一网络切片与第二网络切片需满足的传输需求不同,第一网络切片与第二网络切片对应的处理资源不同,即第一网络切片对应用于指示第一处理资源的第一资源标识,第二网络切片对应用于指示第二处理资源的第二资源标识。
例如,结合图1,参见图4a所示的网络切片1、图4b所示的网络切片2和图4c所示的网络切片3,由于网络切片不同,对应的资源标识也不相同,网络切片1对应的资源标识为101,网络切片2对应的资源标识为102,网络切片3对应的资源标识为103。
即对于同一网络节点,网络拓扑相同的网络切片对应的拓扑定位标识相同,网络拓扑不同的网络切片对应的拓扑定位标识不同;且由于不同的网络切片满足的传输需求不同,对应的资源标识也不相同。
可选的,对于同一网络节点,可能存在参与的一个网络切片与参与的另一个网络切片的网络拓扑不同,但是需满足的传输需求相同的情况;即网络节点参与的一个网络切片与该网络节点参与的另一个网络切片对应的网络拓扑不同,但是处理资源相同时,可以为这 两个网络切片分配相同的资源标识,以减少网络中需要的资源标识的数量,有利于网络中网络切片的可扩展性;同时,由于这两个网络切片的网络拓扑不同,分配的拓扑定位标识不同,利用不同的拓扑定位标识可以对资源标识相同的网络切片进行有效区分。
步骤303、第一网络节点根据拓扑定位标识和第一资源标识生成第一段标识。
其中,第一段标识包括拓扑定位标识和第一资源标识。
一种可能的设计中,如图5a所示,第一段标识包括位置字段,位置字段包括拓扑定位标识和第一资源标识。
例如,对于网络切片1,网络节点A生成的段标识可以为A1:101::,网络节点B生成的段标识可以为B1:101::,网络节点C生成的段标识可以为C1:101::,网络节点D生成的段标识可以为D1:101::,网络节点E生成的段标识可以为E1:101::。
网络节点A也可以为参与的网络切片2生成段标识A1:102::,为参与的网络切片3生成段标识A2:103::。其中,以段标识A1:101::为例,该段标识的位置字段包括A1:101。
可选的,如图5a所示,第一段标识还可以包括功能字段,功能字段包括功能标识,功能标识用于指示第一网络节点利用第一资源标识指示的第一处理资源对接收到的数据报文进行的处理操作。例如,以网络节点A为参与的网络切片1生成段标识A1:101::为例,假设功能标识为10,该段标识可以为A1:101::10。
另一种可能的设计中,如图5b所示,第一段标识包括位置字段和功能字段,位置字段包括拓扑定位标识,功能字段包括第一资源标识。
例如,参照图4a,对于网络切片1,网络节点A生成的段标识可以为A1::101,网络节点B生成的段标识可以为B1::101,网络节点C生成的段标识可以为C1::101,网络节点D生成的段标识可以为D1::101,网络节点E生成的段标识可以为E1::101。
参照图4a、图4b和图4c,网络节点A为参与的网络切片1生成段标识A1::101,为参与的网络切片2生成段标识A1::102,为参与的网络切片3生成段标识A2::103。
其中,以段标识A1::101为例,该段标识的位置字段包括A1,功能字段包括101。可选的,如图5b所示,功能字段还可以包括功能标识,功能标识用于指示第一网络节点利用第一资源标识指示的第一处理资源对接收到的数据报文进行的处理操作。
当功能字段包括资源标识和功能标识时,可以定义新的功能字段:资源感知功能字段(resource-aware function),用于指示使用为特定网络切片分配的处理资源执行对应的转发操作。
资源感知功能字段可以包括End.R function字段或者End.XR function字段,End.R function字段作为现有技术中End function字段的变体,用于指示网络节点为参与的网络切片分配的处理资源,可以用于基于SRv6松散路径转发;End.XR function字段作为现有技术中End.X function字段的变体,用于指示网络节点在三层邻接链路上为参与的网络切片分配的处理资源。
另一种可能的设计中,如图5c所示,第一段标识包括位置字段和参数字段,位置字段包括拓扑定位标识,参数字段包括第一资源标识。可选的,如图5c所示,第一段标识还可以包括功能字段,功能字段包括功能标识,功能标识用于指示第一网络节点利用参数字段中第一资源标识指示的第一处理资源对接收到的数据报文进行的处理操作。
例如,网络节点A可以为参与的网络切片1生成段标识A1::10:101,为参与的网络切 片2生成段标识A1::20:102,为参与的网络切片3生成段标识A2::30:103。
其中,以段标识A1::10:101为例,该段标识的位置字段包括A1,功能字段包括10,参数字段包括101。
进一步的,每个网络节点为参与的各个网络切片生成相应的段标识后,可以建立本地段标识表,将各个段标识存储在本地段标识表中,便于后续接收到数据报文后,将数据报文的目的地址中的段标识与本地段标识表进行匹配,并进行相应的转发操作。
例如,以图4a、图4b和图4c为例,网络节点A可以建立本地段标识表,将为网络切片生成的段标识A1::101、A1::102和A2::103存储在该本地段标识表中。
可选的,网络节点还可以生成对应于网络节点之间的链路的段标识,如图4a所示,在网络切片1中,网络节点A为网络节点A与网络节点C之间的链路生成段标识A1::1001,为网络节点A与网络节点B之间的链路生成段标识A1::1002;如图4b所示,在网络切片2中,网络节点A为网络节点A与网络节点C之间的链路生成段标识A1::2001,为网络节点A与网络节点B之间的链路生成段标识A1::2002;如图4c所示,在网络切片3中,网络节点A为网络节点A与网络节点C之间的链路生成段标识A2::3001,为网络节点A与网络节点B之间的链路生成段标识A2::3002。
可选的,除上述网络节点对应不同网络切片的段标识和网络节点之间链路对应不同网络切片的段标识,利用上述步骤301、步骤302和步骤303还可以为网络中其他功能生成对应于不同网络切片的段标识。所述段标识包括拓扑定位标识和资源标识,其中,拓扑定位标识用于指示网络节点在特定的网络切片的网络拓扑中的位置,资源标识用于指示特定的功能在特定的网络切片中对应的处理资源。所述各种功能可以是虚拟专用网络(virtual private network,VPN)实例、业务功能(service function)以及隧道策略(tunnel policy)等等。例如,对应于网络中的VPN实例,网络节点还可以采用上述步骤301、步骤302和步骤303为VPN实例生成对应于不同网络切片的段标识,该段标识包括资源标识,该资源标识用于指示VPN实例在网络切片中的处理资源。
步骤304、第一网络节点发布第一段标识。
网络中的每个网络节点在为参与的网络切片生成对应的段标识之后,可以将段标识、拓扑定位标识和资源标识通过内部网关协议(interior gateway protocol,IGP)发布出去。
一种可能的设计,网络节点可以将段标识发送给控制器,以使控制器可以学习到各个网络节点生成的段标识,便于控制器根据各个网络节点生成的段标识确定数据报文的转发路径。
可选的,网络节点可以将图5a、图5b和图5c中任一形式的段标识发送给控制器,网络节点还可以向控制器发送标志信息,该标志信息用于指示段标识包括拓扑定位标识和资源标识。
另一种可能的设计,网络节点可以将生成的拓扑定位标识和资源标识发送给其他网络节点,以使网络中的网络节点可以根据接收到的拓扑定位标识和资源标识建立相应的映射关系,便于在数据报文的转发过程中根据该映射关系完成数据报文的转发。
其中,网络节点根据接收到的拓扑定位标识和资源标识建立相应的映射关系的具体过程可参照下述图8所示,网络节点根据映射关系完成数据报文的转发可参照下述图11、图12所示。
可选的,以图5a为例,网络节点可以将包含拓扑定位标识和资源标识的位置字段发送给其他网络节点,同时,网络节点还可以发送标志信息,标志信息用于指示该位置字段包括拓扑定位标识和资源标识。
可选的,以图5b为例,网络节点可以将包含拓扑定位标识的位置字段和包含资源标识的功能字段发送给其他网络节点。网络节点可以在一次发送过程中将位置字段和功能字段发送给其他网络节点,也可以在一次发送过程中发送位置字段,在另一次发送过程中发送功能字段,当网络节点在另一次发送过程中发送功能字段时,网络节点还可以在该发送过程中发送网络切片标识,网络切片标识用于指示网络切片,其他网络节点可以根据该次接收到的功能字段和网络切片标识确定该功能字段中资源标识对应的网络切片。
可选的,以图5c为例,网络节点可以将包含拓扑定位标识的位置字段和包含资源标识的参数字段发送给其他网络节点。网络节点可以在一次发送过程中将位置字段和参数字段发送给其他网络节点,也可以在一次发送过程中发送位置字段,在另一次发送过程中发送参数字段,当网络节点在另一次发送过程中发送参数字段时,网络节点还可以在该发送过程中发送网络切片标识,网络切片标识用于指示网络切片,其他网络节点可以根据该次接收到的参数字段和网络切片标识确定该参数字段中的资源标识对应的网络切片。
可选的,网络节点还可以将段标识发送给其他网络节点。
当网络节点发布包含拓扑定位标识的位置字段时,可采用如图6a所示的帧结构,该帧结构包括:32比特的开销(metric)、8比特的标志信息(flags)、8比特的算法(algorithm)、8比特的位置字段长度(locator size)、位置字段(locator)、8比特的子类型长度值的长度(sub-tlv-len)以及子类型长度值(sub-tlvs),其中,位置字段和子类型长度值的长度是可变的(variable),图6a所示的帧结构与现有技术中网络节点发布段标识的帧结构相同,不予赘述。
当网络节点发布包含资源标识的功能字段时,可采用如图6b所示的帧结构,该帧结构包括:8比特的类型(type)、8比特的长度(length)、8比特的标志信息(flags)以及16比特的功能字段(SRv6Endpoint function)。
可选的,可以使用新定义的sub-sub-tlv发布End.R function字段和End.XR function字段对应的资源属性等。
如图6c所示的帧结构,可以用于发布资源标识对应的资源带宽;该帧结构包括:8比特的类型(type)、8比特的长度(length)、32比特的资源标识(resource identifier)以及32比特的资源带宽(resource bandwidth)。
如图6d所示的帧结构,可以用于发布资源标识对应的资源缓存,该帧结构包括:8比特的类型(type)、8比特的长度(length)、32比特的资源标识(resource identifier)以及32比特的资源缓存(resource buffer)。
当网络节点发布包含拓扑定位标识和资源标识的位置字段时,可采用如图7a所示的帧结构,该帧结构包括:32比特的开销(metric)、8比特的标志信息(flags)、8比特的算法(algorithm)、8比特的位置字段长度(locator size)、位置字段(locator)、8比特的子类型长度值的长度(sub-tlv-len)以及子类型长度值(sub-tlvs)。
其中,位置字段长度包括拓扑定位标识的长度;位置字段包括拓扑定位标识;子类型长度值为新定义的字段,用于发布资源标识;位置字段和子类型长度值的长度是可变的 (variable)。
可选的,资源标识如果是控制器统一分配的,网络节点需要发布自身使用的资源标识列表,例如,可以采用如图7b所示的帧结构进行发布,该帧结构包括:类型(type)、长度(length)、资源标识长度(resource identifier length)、资源标识1(resource identifier#1)、资源标识2(resource identifier#2)、……以及资源标识N(resource identifier#N)。
可选的,资源标识如果是网络节点自己分配的,由于网络节点可以保证所有资源标识是连续的,可以简化为发布资源标识的范围,例如,可以采用如图7c所示的帧结构进行发布,该帧结构包括:类型(type)、长度(length)、资源标识长度(resource identifier length)、起始资源标识(begin resource identifier)以及结束资源标识(end resource identifier)。
基于图3所示的方法,网络节点根据拓扑定位标识和资源标识生成段标识;与现有技术中将网络拓扑和资源标识耦合生成locator来标识网络节点对应的网络切片相比,本申请实施例将拓扑定位标识与资源标识解耦,当网络节点参与多个网络切片时,可以为网络拓扑相同的网络切片分配相同的拓扑定位标识,同时利用不同的资源标识将拓扑定位标识相同的网络切片区分开来,能够在有效区分网络切片的同时,减少分配的拓扑定位标识的数量,从而减少通信协议发布的拓扑定位标识的信息量,降低路由计算复杂度,缩小转发表规模,有利于网络中网络切片的可扩展性。
上述步骤304中,网络节点根据接收到的拓扑定位标识和资源标识建立相应的映射关系的具体过程可参照图8所示,图8所示实施例以参与第一网络切片的第二网络节点根据接收到的参与第一网络切片的第一网络节点的拓扑定位标识和资源标识为例,对建立上述映射关系进行详细描述,图8为本申请实施例提供的一种在网络中接收标识的方法,如图8所示,该方法可以包括:
步骤801、第二网络节点接收来自第一网络节点的拓扑定位标识。
其中,拓扑定位标识用于指示第一网络节点在第一网络切片的网络拓扑中的位置。
步骤802、第二网络节点确定拓扑定位标识和下一跳信息的映射关系。
其中,下一跳信息用于向第一网络节点发送数据报文,下一跳信息包括第二网络节点的下一跳节点和出接口。
一种可能的设计中,第二网络节点确定拓扑定位标识和互联网协议IP地址前缀的映射关系,并确定IP地址前缀和下一跳信息的映射关系。
例如,如图9所示,第二网络节点可以建立转发表来保存IP地址前缀与下一跳信息的映射关系,该转发表可以包括IP地址前缀、出接口和下一跳节点。
可替换的,第二网络节点也可以建立拓扑定位标识与子网掩码的映射关系,并建立子网掩码与下一跳信息的映射关系。
进一步的,当第二网络节点不支持网络切片时,第二网络节点根据上述步骤801和步骤802建立拓扑定位标识和下一跳信息的映射关系,根据映射关系便可将接收到的数据报文通过拓扑定位标识对应的出接口向下一跳节点转发;当第二网络节点支持网络切片时,不同的网络切片对应不同的处理资源,第二网络节点需进一步根据下述步骤803和步骤804建立资源标识与出接口的子接口的映射关系,根据资源标识与出接口的子接口的映射关系完成数据报文的转发。
步骤803、第二网络节点接收来自第一网络节点的第一资源标识。
其中,第一资源标识用于指示第一网络切片对应的处理资源。
步骤804、第二网络节点确定第一资源标识和出接口的第一子接口的映射关系。
其中,第一子接口用于在第一网络切片内向第一网络节点发送数据报文。
一种可能的设计中,第二网络节点可以建立资源匹配表,如图10所示,该资源匹配表包括:出接口、资源标识和子接口。
可替换的,该资源匹配表可以包括出接口、资源标识和队列,队列用于在第一网络切片内向下一跳节点转发数据报文。
可选的,第二网络节点接收来自第一网络节点的第一资源标识和网络切片标识,网络切片标识用于标识第一网络切片;第二网络节点根据网络切片标识确定所述第一资源标识和所述第一网络切片的映射关系。
基于图8所述的方法,网络节点根据拓扑定位标识建立转发表,根据资源标识建立资源匹配表,对于同一节点而言,网络拓扑相同的网络节点的拓扑定位标识相同,拓扑定位标识相同,对应的转发表也相同,网络中需要的拓扑定位标识减少,所建立的转发表规模也减小,有利于网络切片的可扩展性。
基于上述方法,各网络节点为参与的各个网络切片生成段标识,并将生成的段标识发布给控制器和其他网络节点,将拓扑定位标识和资源标识发布给其他网络节点,以使其他网络节点根据接收到的拓扑定位标识和资源标识建立对应的映射关系,并根据该映射关系完成数据报文的转发。
在数据报文的转发过程中,控制器可以根据数据报文的传输需求确定数据报文转发过程中需经过的网络节点,并将网络节点的段标识放入数据报文的目的地址中,使得接收到数据报文的网络节点根据目的地址中的段标识完成数据转发。
可选的,控制器可以生成包含多个段标识的段标识列表,将该段标识列表放入数据报文的目的地址中,以使接收到数据报文的网络节点可以根据段标识列表指示的路径进行数据报文的转发。
一种可能的设计中,若接收到数据报文的网络节点不支持网络切片,则该网络节点根据目的地址的段标识中的拓扑定位标识,确定IP地址前缀或子网掩码,并根据确定的IP地址前缀或子网掩码从预先建立的转发表中确定出接口跟下一跳节点,将数据报文通过出接口转发至下一跳节点。
另一种可能的设计中,若接收到数据报文的网络节点支持网络切片,网络节点需判断数据报文的目的地址中的段标识是否为自身的段标识,如果不是,网络节点可以按照如图11所示的步骤对数据报文进行转发;如果是,网络节点可以按照如图12所示的步骤对数据报文进行转发。
可选的,网络节点可以将目的地址中的段标识与自身预先建立的本地段标识表进行匹配,根据本地段标识表中的段标识确定目的地址中的段标识是否为自身的段标识。
图11为本申请实施例提供的一种在网络中传输数据报文的方法,如图11所示,该方法可以包括:
步骤1101、网络节点接收数据报文。
其中,数据报文包括目的地址字段,目的地址字段包括段标识,段标识包括拓扑定位标识以及资源标识。
步骤1102、网络节点根据拓扑定位标识,确定下一跳信息。
其中,下一跳信息包括网络节点的下一跳节点和出接口。
可选的,网络节点可以根据拓扑定位标识,确定互联网协议IP地址前缀;根据IP地址前缀,从预先建立的如图9所示的转发表中确定网络节点的下一跳节点和出接口。
步骤1103、网络节点根据资源标识,确定出接口的子接口。
可选的,网络节点可以根据段标识中的资源标识以及步骤1102确定的出接口,从预先建立的如图10所示的资源匹配表中确定出接口的子接口。
可替换的,当资源匹配表中包括出接口、资源标识和队列的映射关系时,网络节点根据资源标识和出接口,从资源匹配表中确定出接口的队列。
步骤1104、网络节点通过子接口在网络切片内向下一跳节点发送数据报文。
可替换的,网络节点通过步骤1103确定的队列在网络切片内向下一跳节点发送数据报文。
基于上述图11所述的方法,当支持网络切片的网络节点接收到目的地址包括段标识的数据报文,且该段标识不是自身的段标识时,该网络节点根据段标识的拓扑定位标识确定下一跳节点和出接口,根据资源标识确定出接口的子接口或队列,通过子接口或队列向下一跳节点转发数据报文。
图12为本申请实施例提供的另一种在网络中传输数据报文的方法,如图12所示,该方法可以包括:
步骤1201、网络节点接收第一数据报文。
其中,第一数据报文包括目的地址字段;目的地址字段包括段标识;段标识是网络节点的段标识,段标识包括拓扑定位标识以及资源标识。
步骤1202、网络节点根据段标识处理第一数据报文,以得到第二数据报文。
步骤1203、网络节点根据段标识确定处理资源。
步骤1204、网络节点通过处理资源在网络切片内转发第二数据报文。
当第一数据报文携带的段标识为网络节点的段标识时,网络节点根据该段标识的资源标识指示的资源和功能标识指示的操作对第一数据报文进行处理,得到第二数据报文,并利用资源标识对应的处理资源将第二数据报文转发出去。
可选的,当第一数据报文的目的地址携带有段标识列表时,网络节点可以将目的地址中的段标识更新为段标识列表中的下一个段标识,将目的地址中的段标识更新为段标识列表中的下一个段标识的具体过程与现有技术相同,不予赘述。
基于图12所述的方法,当支持网络切片的网络节点接收到目的地址包括段标识的数据报文,且该段标识是自身的段标识时,该网络节点根据段标识中资源标识指示的资源和功能标识指示的操作对接收到的数据报文进行转发。
上述主要设备之间交互的角度对本申请实施例提供的方案进行了介绍。可以理解的是,各个设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超 出本申请的范围。
本申请实施例可以根据上述方法示例对网络节点进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
在采用对应各个功能划分各个功能模块的情况下,图13示出了一种通信装置,通信装置130可以为第一网络节点或者第一网络节点中的芯片或者片上系统。该通信装置130可以用于执行上述实施例中涉及的第一网络节点的功能。图13所示通信装置130包括:获取模块1301和处理模块1302。
获取模块1301,用于获取用于指示第一网络节点在第一网络切片的网络拓扑中的位置的拓扑定位标识;还用于获取用于指示第一网络切片对应的第一处理资源的第一资源标识,第一处理资源用于处理在第一网络切片中传输的数据报文;
处理模块1302,用于根据拓扑定位标识和第一资源标识生成包括拓扑定位标识和第一资源标识的第一段标识,并发布第一段标识。
其中,该通信装置130的具体实现方式可参考图3所述在网络中生成段标识的方法中第一网络节点的行为功能。
一种可能的设计中,获取模块1301,还用于接收来自控制器的拓扑定位标识,或者接收来自控制器的第一网络切片的网络拓扑;处理模块1302,还用于根据网络拓扑为第一网络切片分配拓扑定位标识。
一种可能的设计中,获取模块1301,还用于接收来自控制器的第一资源标识,或者接收来自控制器的第一网络切片的处理资源需求信息;处理模块1302,还用于根据处理资源需求信息,确定第一处理资源,并为第一处理资源分配第一资源标识。
一种可能的设计中,网络还包括第二网络切片,第二网络切片是第一网络节点参与的网络切片,第一网络切片的网络拓扑与第二网络切片的网络拓扑相同,拓扑定位标识还用于指示第一网络节点在第二网络切片的网络拓扑中的位置;获取模块1301,还用于获取用于指示第二网络切片对应的第二处理资源的第二资源标识,第二处理资源用于处理在第二网络切片中传输的数据报文,第二资源标识与第一资源标识不同;处理模块1302,还用于根据拓扑定位标识和第二资源标识生成第二段标识,第二段标识包括拓扑定位标识和第二资源标识;处理模块,还用于发布第二段标识。
一种可能的设计中,通信装置130还包括发送模块1303,该发送模块1303,用于向至少一个第二网络节点发送拓扑定位标识和/或第一资源标识。
一种可能的设计中,处理模块1302,还用于在发布第一段标识时,发布用于指示第一段标识包括拓扑定位标识和第一资源标识的标志信息。
一种可能的设计中,第一段标识包括位置字段,位置字段包括第一资源标识;或者第一段标识包括功能字段,功能字段包括第一资源标识;或者第一段标识包括参数字段,参数字段包括第一资源标识。
作为又一种可实现方式,图13中的处理模块1302可以由处理器代替,获取模块1301、发送模块1303可以由收发器代替,该处理器可以集成处理模块1302的功能,该收发器可 以集成获取模块1301、发送模块1303的功能。进一步的,图13所示通信装置130还可以包括存储器。当处理模块1302由处理器代替,获取模块1301、发送模块1303由收发器代替时,本申请实施例所涉及的通信装置130可以为图2所示通信装置。
图14示出了一种通信装置140的结构图,该通信装置140可以为第二网络节点或者第二网络节点中的芯片或者片上系统。该通信装置140可以用于执行上述实施例中涉及的第二网络节点的功能。图14所示通信装置140包括:接收模块1401和处理模块1402。
接收模块1401,用于接收来自第一网络节点的用于指示第一网络节点在第一网络切片的网络拓扑中的位置的拓扑定位标识;处理模块1402,用于确定拓扑定位标识和用于向第一网络节点发送数据报文的下一跳信息的映射关系,下一跳信息包括第二网络节点的下一跳节点和出接口。
其中,该通信装置140的具体实现方式可参考图8所述在网络中接收标识的方法中第二网络节点的行为功能。
一种可能的设计中,接收模块1401,还用于接收来自第一网络节点的用于指示第一网络切片对应的处理资源的第一资源标识;处理模块1402,还用于确定第一资源标识和出接口的第一子接口的映射关系,第一子接口用于在第一网络切片内向第一网络节点发送数据报文。
一种可能的设计中,接收模块1401,还用于接收来自第一网络节点的第一资源标识和用于标识第一网络切片的网络切片标识;处理模块1402,还用于根据网络切片标识确定第一资源标识和第一网络切片的映射关系。
一种可能的设计中,处理模块1402,具体还用于确定拓扑定位标识和互联网协议IP地址前缀的映射关系;确定IP地址前缀和下一跳信息的映射关系。
一种可能的设计中,接收模块1401,还用于接收来自第一网络节点的标志信息;其中,标志信息用于指示第一段标识包括拓扑定位标识和第一资源标识。
一种可能的设计中,网络还包括第二网络切片,第二网络切片是第一网络节点和第二网络节点参与的网络切片,第一网络切片的网络拓扑与第二网络切片的网络拓扑相同,拓扑定位标识还用于指示第一网络节点在第二网络切片的网络拓扑中的位置;接收模块1401,还用于接收来自第一网络节点的第二资源标识,第二资源标识用于指示第二网络切片对应的处理资源,第二资源标识与第一资源标识不同;处理模块1402,还用于确定第二资源标识和出接口的第二子接口的映射关系,第二子接口用于在第二网络切片内向第一网络节点发送数据报文。
作为又一种可实现方式,图14中的接收模块1401可以由收发器代替,该收发器可以集成接收模块1401的功能,处理模块1402可以由处理器代替,该处理器可以集成处理模块1402的功能。进一步的,图14所示通信装置140还可以包括存储器。当发送模块1401由收发器代替,处理模块1402由处理器代替时,本申请实施例所涉及的通信装置140可以为图2所示通信装置。
图15示出了一种通信装置150的结构图,该通信装置150可以为网络节点或者网络节点中的芯片或者片上系统。该通信装置150可以用于执行上述实施例中涉及的网络节点的功能。作为一种可实现方式,图15所示通信装置150包括:接收模块1501、处理模块1502和发送模块1503。
接收模块1501,用于接收包括目的地址字段的数据报文,目的地址字段包括包含拓扑定位标识以及资源标识的段标识;
处理模块1502,用于根据拓扑定位标识,确定下一跳信息,下一跳信息包括网络节点的下一跳节点和出接口;网络节点根据资源标识,确定出接口的子接口;发送模块1503,用于通过子接口在网络切片内向下一跳节点发送数据报文。
其中,该通信装置150的具体实现方式可参考图11所述在网络中传输数据报文的方法中网络节点的行为功能。
一种可能的设计中,处理模块1502,具体用于根据拓扑定位标识,确定互联网协议IP地址前缀;根据IP地址前缀,确定网络节点的下一跳节点和出接口。
一种可能的设计中,段标识包括位置字段,位置字段包括资源标识;或者段标识包括功能字段,功能字段包括资源标识;或者段标识包括参数字段,参数字段包括资源标识。
作为又一种可实现方式,图15中的接收模块1501、发送模块1503可以由收发器代替,该收发器可以集成接收模块1501、发送模块1503的功能;处理模块1502可以由处理器代替,该处理器可以集成处理模块1502的功能。进一步的,图15所示通信装置150还可以包括存储器。当接收模块1501、发送模块1503由收发器代替,处理模块1502由处理器代替时,本申请实施例所涉及的通信装置150可以为图2所示通信装置。
图16示出了一种通信装置160的结构图,该通信装置160可以为网络节点或者网络节点中的芯片或者片上系统。该通信装置160可以用于执行上述实施例中涉及的网络节点的功能。作为一种可实现方式,图16所示通信装置160包括:接收模块1601、处理模块1602和发送模块1603。
接收模块1601,用于接收包括目的地址字段的第一数据报文,目的地址字段包括包含拓扑定位标识以及资源标识的段标识;段标识是网络节点的段标识,拓扑定位标识用于指示网络节点在网络切片的网络拓扑中的位置,资源标识用于指示网络切片对应的处理资源,处理资源用于处理在网络切片中传输的数据报文;
处理模块1602,用于根据段标识处理第一数据报文,以得到第二数据报文;发送模块1603,用于通过根据段标识确定的处理资源在网络切片内转发第二数据报文。
其中,该通信装置160的具体实现方式可参考图12所述在网络中传输数据报文的方法中网络节点的行为功能。
一种可能的设计中,段标识包括位置字段;位置字段包括拓扑定位标识以及资源标识;或者段标识包括功能字段;功能字段包括资源标识;或者段标识包括参数字段;参数字段包括资源标识。
作为又一种可实现方式,图16中的接收模块1601、发送模块1603可以由收发器代替,该收发器可以集成接收模块1601、发送模块1603的功能;处理模块1602可以由处理器代替,该处理器可以集成处理模块1602的功能。进一步的,图16所示通信装置160还可以包括存储器。当接收模块1601、发送模块1603由收发器代替,处理模块1602由处理器代替时,本申请实施例所涉及的通信装置160可以为图2所示通信装置。
本申请实施例还提供了一种计算机可读存储介质。上述方法实施例中的全部或者部分流程可以由计算机程序来指令相关的硬件完成,该程序可存储于上述计算机可读存储介质中,该程序在执行时,可包括如上述各方法实施例的流程。计算机可读存储介质可以是前 述任一实施例的终端(包括数据发送端和/或数据接收端)的内部存储单元,例如终端的硬盘或内存。上述计算机可读存储介质也可以是上述终端的外部存储设备,例如上述终端上配备的插接式硬盘,智能存储卡(smart media card,SMC),安全数字(secure digital,SD)卡,闪存卡(flash card)等。进一步地,上述计算机可读存储介质还可以既包括上述终端的内部存储单元也包括外部存储设备。上述计算机可读存储介质用于存储上述计算机程序以及上述终端所需的其他程序和数据。上述计算机可读存储介质还可以用于暂时地存储已经输出或者将要输出的数据。
需要说明的是,本申请的说明书、权利要求书及附图中的术语“第一”和“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。
应当理解,在本申请中,“至少一个(项)”是指一个或者多个,“多个”是指两个或两个以上,“至少两个(项)”是指两个或三个及三个以上,“和/或”,用于描述关联对象的关联关系,表示可以存在三种关系,例如,“A和/或B”可以表示:只存在A,只存在B以及同时存在A和B三种情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b或c中的至少一项(个),可以表示:a,b,c,“a和b”,“a和c”,“b和c”,或“a和b和c”,其中a,b,c可以是单个,也可以是多个。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现 出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。

Claims (22)

  1. 一种在网络中生成段标识的方法,所述网络包括第一网络切片,所述第一网络切片是第一网络节点参与的网络切片,其特征在于,所述方法包括:
    所述第一网络节点获取拓扑定位标识,所述拓扑定位标识用于指示所述第一网络节点在所述第一网络切片的网络拓扑中的位置;
    所述第一网络节点获取第一资源标识,所述第一资源标识用于指示所述第一网络切片对应的第一处理资源,所述第一处理资源用于处理在所述第一网络切片中传输的数据报文;
    所述第一网络节点根据所述拓扑定位标识和所述第一资源标识生成第一段标识,所述第一段标识包括所述拓扑定位标识和所述第一资源标识;
    所述第一网络节点发布所述第一段标识。
  2. 根据权利要求1所述的方法,其特征在于,所述第一网络节点获取所述拓扑定位标识,包括:
    所述第一网络节点接收来自控制器的所述拓扑定位标识;或者
    所述第一网络节点接收来自控制器的所述第一网络切片的网络拓扑,所述第一网络节点根据所述网络拓扑为所述第一网络切片分配所述拓扑定位标识。
  3. 根据权利要求1或2所述的方法,其特征在于,所述第一网络节点获取所述第一资源标识,包括:
    所述第一网络节点接收来自控制器的所述第一资源标识;或者
    所述第一网络节点接收来自控制器的所述第一网络切片的处理资源需求信息,所述第一网络节点根据所述处理资源需求信息,确定所述第一处理资源,并为所述第一处理资源分配所述第一资源标识。
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述网络还包括第二网络切片,所述第二网络切片是所述第一网络节点参与的网络切片,所述第一网络切片的网络拓扑与所述第二网络切片的网络拓扑相同,所述拓扑定位标识还用于指示所述第一网络节点在所述第二网络切片的网络拓扑中的位置;
    所述方法还包括:
    所述第一网络节点获取第二资源标识,所述第二资源标识用于指示所述第二网络切片对应的第二处理资源,所述第二处理资源用于处理在所述第二网络切片中传输的数据报文,所述第二资源标识与所述第一资源标识不同;
    所述第一网络节点根据所述拓扑定位标识和所述第二资源标识生成第二段标识,所述第二段标识包括所述拓扑定位标识和所述第二资源标识;
    所述第一网络节点发布所述第二段标识。
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述方法还包括:
    所述第一网络节点向至少一个第二网络节点发送所述拓扑定位标识和/或所述第一资源标识。
  6. 根据权利要求1-5任一项所述的方法,其特征在于,所述第一网络节点发布所述第一段标识,包括:
    所述第一网络节点发布标志信息,所述标志信息用于指示所述第一段标识包括所述拓 扑定位标识和所述第一资源标识。
  7. 根据权利要求1-6任一项所述的方法,其特征在于,
    所述第一段标识包括位置字段,所述位置字段包括所述第一资源标识;或者
    所述第一段标识包括功能字段,所述功能字段包括所述第一资源标识;或者
    所述第一段标识包括参数字段,所述参数字段包括所述第一资源标识。
  8. 一种在网络中接收标识的方法,所述网络包括第一网络切片,所述第一网络切片是第一网络节点和第二网络节点参与的网络切片,其特征在于,所述方法包括:
    所述第二网络节点接收来自所述第一网络节点的拓扑定位标识;所述拓扑定位标识用于指示所述第一网络节点在所述第一网络切片的网络拓扑中的位置;
    所述第二网络节点确定所述拓扑定位标识和下一跳信息的映射关系,其中,所述下一跳信息用于向所述第一网络节点发送数据报文,所述下一跳信息包括所述第二网络节点的下一跳节点和出接口。
  9. 根据权利要求8所述的方法,其特征在于,所述方法还包括:
    所述第二网络节点接收来自所述第一网络节点的第一资源标识,所述第一资源标识用于指示所述第一网络切片对应的处理资源;
    所述第二网络节点确定所述第一资源标识和所述出接口的第一子接口的映射关系,所述第一子接口用于在所述第一网络切片内向所述第一网络节点发送数据报文。
  10. 根据权利要求9所述的方法,其特征在于,所述第二网络节点接收来自所述第一网络节点的所述第一资源标识,包括:
    所述第二网络节点接收来自所述第一网络节点的所述第一资源标识和网络切片标识,所述网络切片标识用于标识所述第一网络切片;
    所述第二网络节点根据所述网络切片标识确定所述第一资源标识和所述第一网络切片的映射关系。
  11. 根据权利要求8-10任一项所述的方法,其特征在于,所述第二网络节点确定所述拓扑定位标识和所述下一跳信息的映射关系,包括:
    所述第二网络节点确定所述拓扑定位标识和互联网协议IP地址前缀的映射关系;
    所述第二网络节点确定所述IP地址前缀和所述下一跳信息的映射关系。
  12. 根据权利要求8-11任一项所述的方法,其特征在于,所述第二网络节点还接收来自所述第一网络节点的标志信息;其中,所述标志信息用于指示所述第一段标识包括所述拓扑定位标识和所述第一资源标识。
  13. 根据权利要求9-12任一项所述的方法,其特征在于,所述网络还包括第二网络切片,所述第二网络切片是所述第一网络节点和所述第二网络节点参与的网络切片,所述第一网络切片的网络拓扑与所述第二网络切片的网络拓扑相同,所述拓扑定位标识还用于指示所述第一网络节点在所述第二网络切片的网络拓扑中的位置;
    所述方法还包括:
    所述第二网络节点接收来自所述第一网络节点的第二资源标识,所述第二资源标识用于指示所述第二网络切片对应的处理资源,所述第二资源标识与所述第一资源标识不同;
    所述第二网络节点确定所述第二资源标识和所述出接口的第二子接口的映射关系,所述第二子接口用于在所述第二网络切片内向所述第一网络节点发送数据报文。
  14. 一种在网络中传输数据报文的方法,所述网络包括网络切片,所述网络切片是网络节点参与的网络切片,其特征在于,所述方法包括:
    网络节点接收数据报文,所述数据报文包括目的地址字段,所述目的地址字段包括段标识,所述段标识包括拓扑定位标识以及资源标识;
    所述网络节点根据所述拓扑定位标识,确定下一跳信息,所述下一跳信息包括所述网络节点的下一跳节点和出接口;
    所述网络节点根据所述资源标识,确定所述出接口的子接口;
    所述网络节点通过所述子接口在所述网络切片内向所述下一跳节点发送所述数据报文。
  15. 根据权利要求14所述的方法,其特征在于,所述网络节点根据所述拓扑定位标识,确定所述下一跳信息,包括:
    所述网络节点根据所述拓扑定位标识,确定互联网协议IP地址前缀;
    所述网络节点根据所述IP地址前缀,确定所述网络节点的所述下一跳节点和所述出接口。
  16. 根据权利要求14或15所述的方法,其特征在于,
    所述段标识包括位置字段,所述位置字段包括,所述资源标识;或者
    所述段标识包括功能字段,所述功能字段包括所述资源标识;或者
    所述段标识包括参数字段,所述参数字段包括所述资源标识。
  17. 一种在网络中传输数据报文的方法,所述网络包括网络切片,所述网络切片是网络节点参与的网络切片,其特征在于,所述方法包括:
    所述网络节点接收第一数据报文,其中,所述第一数据报文包括目的地址字段,所述目的地址字段包括段标识,所述段标识是所述网络节点的段标识,所述段标识包括拓扑定位标识以及资源标识,所述拓扑定位标识用于指示所述网络节点在所述网络切片的网络拓扑中的位置,所述资源标识用于指示所述网络切片对应的处理资源,所述处理资源用于处理在所述网络切片中传输的数据报文;
    所述网络节点根据所述段标识处理所述第一数据报文,以得到第二数据报文;
    所述网络节点根据所述段标识确定所述处理资源;
    所述网络节点通过所述处理资源在所述网络切片内转发所述第二数据报文。
  18. 根据权利要求17所述的方法,其特征在于,
    所述段标识包括位置字段;所述位置字段包括所述资源标识;或者
    所述段标识包括功能字段;所述功能字段包括所述资源标识;或者
    所述段标识包括参数字段;所述参数字段包括所述资源标识。
  19. 一种通信装置,其特征在于,通信装置包括一个或多个处理器和一个或多个存储器;一个或多个存储器与一个或多个处理器耦合,一个或多个存储器用于存储计算机程序代码或计算机指令;
    当一个或多个处理器执行计算机指令时,使得通信装置执行如权利要求1-7任一项所述的在网络中生成段标识的方法或者如权利要求8-13任一项所述的在网络中接收标识的方法或者如权利要求14-16任一项所述的在网络中传输数据报文的方法或者如权利要求17-18任一项所述的在网络中传输数据报文的方法。
  20. 一种计算机可读存储介质,其特征在于,计算机可读存储介质存储有计算机指令或程序,当计算机指令或程序在计算机上运行时,使得计算机执行如权利要求1-7任一项所述的在网络中生成段标识的方法或者如权利要求8-13任一项所述的在网络中接收标识的方法或者如权利要求14-16任一项所述的在网络中传输数据报文的方法或者如权利要求17-18任一项所述的在网络中传输数据报文的方法。
  21. 一种通信系统,其特征在于,通信系统包括多个网络节点,所述多个网络节点包括第一网络节点和第二网络节点;
    所述第一网络节点,用于获取拓扑定位标识,所述拓扑定位标识用于指示所述第一网络节点在所述第一网络切片的网络拓扑中的位置;所述第一网络节点获取第一资源标识,所述第一资源标识用于指示所述第一网络切片对应的第一处理资源,所述第一处理资源用于处理在所述第一网络切片中传输的数据报文;所述第一网络节点根据所述拓扑定位标识和所述第一资源标识生成第一段标识,所述第一段标识包括所述拓扑定位标识和所述第一资源标识;所述第一网络节点发布所述第一段标识;
    所述第二网络节点,用于接收来自所述第一网络节点的拓扑定位标识;所述拓扑定位标识用于指示所述第一网络节点在所述第一网络切片的网络拓扑中的位置;所述第二网络节点确定所述拓扑定位标识和下一跳信息的映射关系,其中,所述下一跳信息用于向所述第一网络节点发送数据报文,所述下一跳信息包括所述第二网络节点的下一跳节点和出接口。
  22. 一种通信系统,其特征在于,通信系统包括多个网络节点;
    所述网络节点,用于接收数据报文,所述数据报文包括目的地址字段,所述目的地址字段包括段标识,所述段标识包括拓扑定位标识以及资源标识;所述网络节点根据所述拓扑定位标识,确定下一跳信息,所述下一跳信息包括所述网络节点的下一跳节点和出接口;所述网络节点根据所述资源标识,确定所述出接口的子接口;所述网络节点通过所述子接口在所述网络切片内向所述下一跳节点发送所述数据报文;或者
    所述网络节点,用于接收第一数据报文,其中,所述第一数据报文包括目的地址字段;所述目的地址字段包括段标识;所述段标识是所述网络节点的段标识,所述段标识包括拓扑定位标识以及资源标识;所述网络节点根据所述段标识处理所述第一数据报文,以得到第二数据报文;所述网络节点根据所述段标识确定所述处理资源;所述网络节点通过所述处理资源在所述网络切片内转发所述第二数据报文。
PCT/CN2020/118196 2019-12-26 2020-09-27 传输数据报文的方法、装置及系统 WO2021129014A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP20907915.1A EP4060951A4 (en) 2019-12-26 2020-09-27 METHOD OF TRANSMITTING DATA MESSAGES, DEVICE AND SYSTEM
US17/849,288 US20220330132A1 (en) 2019-12-26 2022-06-24 Method, apparatus, and system for transmitting data packet

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911369680.3A CN113055202A (zh) 2019-12-26 2019-12-26 传输数据报文的方法、装置及系统
CN201911369680.3 2019-12-26

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/849,288 Continuation US20220330132A1 (en) 2019-12-26 2022-06-24 Method, apparatus, and system for transmitting data packet

Publications (1)

Publication Number Publication Date
WO2021129014A1 true WO2021129014A1 (zh) 2021-07-01

Family

ID=76505802

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/118196 WO2021129014A1 (zh) 2019-12-26 2020-09-27 传输数据报文的方法、装置及系统

Country Status (4)

Country Link
US (1) US20220330132A1 (zh)
EP (1) EP4060951A4 (zh)
CN (1) CN113055202A (zh)
WO (1) WO2021129014A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114389996A (zh) * 2022-01-04 2022-04-22 烽火通信科技股份有限公司 一种基于资源的多拓扑环境下SRv6 SID分配的方法及装置

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023016566A1 (zh) * 2021-08-13 2023-02-16 中国移动通信有限公司研究院 资源分配方法、装置及网络节点
CN113923161B (zh) * 2021-10-08 2023-08-22 新华三信息安全技术有限公司 一种报文转发方法及装置
CN117319217A (zh) * 2022-06-22 2023-12-29 华为技术有限公司 复用目的节点标识的方法、装置以及第一设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150063166A1 (en) * 2013-08-27 2015-03-05 Futurewei Technologies, Inc. System and Method for Mobile Network Function Virtualization
CN108243106A (zh) * 2016-12-23 2018-07-03 华为技术有限公司 控制网络切片的方法、转发设备、控制设备和通信系统
CN110266594A (zh) * 2019-06-28 2019-09-20 Ut斯达康通讯有限公司 跨网络切片的分段路由转发方法及装置
CN110535766A (zh) * 2018-05-25 2019-12-03 华为技术有限公司 一种生成路由的方法和设备

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9762488B2 (en) * 2014-03-06 2017-09-12 Cisco Technology, Inc. Segment routing extension headers
CN113364686B (zh) * 2017-06-30 2022-10-04 华为技术有限公司 一种生成转发表项的方法、控制器和网络设备
US11477100B2 (en) * 2017-09-26 2022-10-18 Zte Corporation Residence time measurement for traffic engineered network
US11621913B2 (en) * 2018-06-14 2023-04-04 Nokia Solutions And Networks Oy Path compression in routing of source routed packets
WO2020009932A1 (en) * 2018-07-02 2020-01-09 Cisco Technology, Inc. Resource partitioning for network slices in segment routing networks
CN111385207B (zh) * 2018-12-29 2022-08-19 中兴通讯股份有限公司 一种业务数据的转发方法、网络设备及网络系统
CN109831382B (zh) * 2019-02-13 2020-08-14 华为技术有限公司 一种路径计算方法、装置及设备
US11412071B2 (en) * 2019-05-13 2022-08-09 Juniper Networks, Inc. Compressed routing header information for networks

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150063166A1 (en) * 2013-08-27 2015-03-05 Futurewei Technologies, Inc. System and Method for Mobile Network Function Virtualization
CN108243106A (zh) * 2016-12-23 2018-07-03 华为技术有限公司 控制网络切片的方法、转发设备、控制设备和通信系统
CN110535766A (zh) * 2018-05-25 2019-12-03 华为技术有限公司 一种生成路由的方法和设备
CN110266594A (zh) * 2019-06-28 2019-09-20 Ut斯达康通讯有限公司 跨网络切片的分段路由转发方法及装置

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
See also references of EP4060951A4
SOFTBANK CORP., CISCO SYSTEMS: "Pseudo-CR on SRv6 User Plane Principle for 5GC", 3GPP DRAFT; C4-190593-WAS-C4-190267-PRINCIPLE-5GC-SRV6USERPLANE, vol. CT WG4, 1 March 2019 (2019-03-01), Montreal, Canada, pages 1 - 7, XP051599058 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114389996A (zh) * 2022-01-04 2022-04-22 烽火通信科技股份有限公司 一种基于资源的多拓扑环境下SRv6 SID分配的方法及装置
CN114389996B (zh) * 2022-01-04 2023-06-09 烽火通信科技股份有限公司 一种基于资源的多拓扑环境下SRv6 SID分配的方法及装置

Also Published As

Publication number Publication date
EP4060951A1 (en) 2022-09-21
US20220330132A1 (en) 2022-10-13
CN113055202A (zh) 2021-06-29
EP4060951A4 (en) 2022-12-28

Similar Documents

Publication Publication Date Title
WO2021129014A1 (zh) 传输数据报文的方法、装置及系统
WO2020073919A1 (zh) 报文传输方法及装置
CN105264493B (zh) 信息中心网络上的动态虚拟机迁移
CN108512758B (zh) 报文处理方法、控制器以及转发设备
TW201815131A (zh) 一種資料傳輸的方法及網路設備
WO2022007503A1 (zh) 一种业务流量处理方法及装置
JP2019500822A (ja) 仮想マシンパケット制御
US20150033321A1 (en) Construct large-scale dvpn
EP3910894A1 (en) Message processing method, message forwarding apparatus, and message processing apparatus
EP3043520B1 (en) Forwarding entry generation method, forwarding node, and controller
WO2022166465A1 (zh) 一种报文处理方法及相关装置
WO2020083269A1 (zh) 一种建立多路径连接的子流的方法、装置和系统
JP2019121975A (ja) 通信方法、通信システム、mecサーバ、dnsサーバ、および、トラフィック誘導ルータ
WO2020063658A1 (zh) 本地局域网通信方法、设备及系统
WO2021254001A1 (zh) 会话建立方法、装置、系统及计算机存储介质
CN111193756B (zh) 一种vxlan隧道负载均衡方法及相关设备
US20230269164A1 (en) Method and apparatus for sending route calculation information, device, and storage medium
US12068952B2 (en) Routing information publishing method, apparatus, and system
WO2021169291A1 (zh) 发布路由的方法、网元、系统及设备
JP2019519146A (ja) ルーティング確立、パケット送信
EP4294080A1 (en) Route processing method and network device
JP2024514643A (ja) パケット転送方法、装置、およびシステム、並びにコンピュータ可読記憶媒体
JP2023523773A (ja) 通信方法および関連装置
EP4383674A1 (en) Message processing method and related apparatus
WO2015096734A1 (zh) 一种业务数据的下行传输方法及分组数据网关

Legal Events

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

Ref document number: 20907915

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2020907915

Country of ref document: EP

Effective date: 20220617

NENP Non-entry into the national phase

Ref country code: DE