WO2022100373A1 - Wireless backhaul method, device thereof, access device, and computer-readable storage medium - Google Patents

Wireless backhaul method, device thereof, access device, and computer-readable storage medium Download PDF

Info

Publication number
WO2022100373A1
WO2022100373A1 PCT/CN2021/124432 CN2021124432W WO2022100373A1 WO 2022100373 A1 WO2022100373 A1 WO 2022100373A1 CN 2021124432 W CN2021124432 W CN 2021124432W WO 2022100373 A1 WO2022100373 A1 WO 2022100373A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
data packet
packet
message
wireless backhaul
Prior art date
Application number
PCT/CN2021/124432
Other languages
French (fr)
Chinese (zh)
Inventor
季峘
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2022100373A1 publication Critical patent/WO2022100373A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0078Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
    • H04L1/0083Formatting with frames or packets; Protocol or part of protocol for error control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0078Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
    • H04L1/0084Formats for payload data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • H04W28/065Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information using assembly or disassembly of packets

Definitions

  • the present application relates to the field of network communication technologies, and in particular, to a wireless backhaul method and apparatus, access device, and computer-readable storage medium.
  • wired broadband access technology can distinguish multiple users and multiple services.
  • WiFi backhaul technology it is impossible to distinguish multiple users and multiple services.
  • WiFi backhaul technology the improvement of WiFi technology
  • the increase of WiFi network bandwidth the continuous improvement of terminal network complexity and business diversity
  • due to the limitations of current WiFi backhaul technology it is impossible to distinguish multiple users and multiple services, thus limiting the diversity of terminal services.
  • Embodiments of the present application provide a wireless backhaul method and apparatus, access device, and computer-readable storage medium.
  • an embodiment of the present application provides a wireless backhaul method, the method includes: acquiring a first data packet based on a first packet structure, where the first data packet carries a data packet used to distinguish service information first label information; obtain a second data message based on the second message structure according to the first data message and the first label information, and the first message structure is different from the second message structure; Similarly, the second data packet carries the first label information; the second data packet is forwarded.
  • an embodiment of the present application further provides a wireless backhaul device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, when the processor executes the computer program
  • a wireless backhaul device including: a memory, a processor, and a computer program stored in the memory and executable on the processor, when the processor executes the computer program
  • an embodiment of the present application further provides an access device, including the wireless backhaul apparatus as described above.
  • an embodiment of the present application further provides a computer-readable storage medium storing computer-executable instructions, where the computer-executable instructions are used to execute the wireless backhaul method described above.
  • FIG. 1 is a schematic diagram of a system architecture for implementing a wireless backhaul method provided by an embodiment of the present application
  • FIG. 2 is a schematic structural diagram of an AP device provided by an embodiment of the present application.
  • FIG. 3 is a flowchart of a wireless backhaul method provided by an embodiment of the present application.
  • FIG. 4 is a flowchart of specific steps for obtaining a second data packet in a wireless backhaul method provided by another embodiment of the present application;
  • FIG. 5 is a flowchart of a wireless backhaul method provided by another embodiment of the present application.
  • FIG. 6 is a flowchart of specific steps for obtaining a fourth data packet in a wireless backhaul method provided by another embodiment of the present application.
  • FIG. 7 is a flowchart of uplink data packet forwarding processing provided by a specific example of the present application.
  • FIG. 10 is a flowchart of a downlink data packet forwarding process provided by another specific example of the present application.
  • the present application provides a wireless backhaul method and device, access device, and computer-readable storage medium, by acquiring a first datagram based on a first message structure and carrying first label information for distinguishing service information message, and then obtain a second data message based on the second message structure and carrying the first label information according to the first data message and the first label information, and then forward the second data message, wherein , the first message structure is different from the second message structure. Therefore, the transmission network using the second message structure can use the first label information applied to the transmission network using the first message structure to perform service information Differentiation, so as to achieve the purpose of being able to distinguish multiple users and multiple services to meet the diverse requirements of terminal services.
  • FIG. 1 is a schematic diagram of a system architecture for implementing a wireless backhaul method provided by an embodiment of the present application.
  • the system architecture includes a first access point (Access Point, AP) device 100 and a second AP device 101, and the first AP device 100 can use a wired local area network (Local Area Network, LAN) port or a wired wide area network
  • the (Wide Area Network, WAN) port is connected to user terminals such as user computers and set-top boxes, and the first AP device 100 can connect to the second AP device 101 through the wireless LAN port, and the second AP device 101 can be finally connected in various ways to the core network.
  • AP Access Point
  • WAN Wide Area Network
  • both the first AP device and the second AP device include a control module 200 , a data processing module 210 and an interface module 220 , and the data processing module 210 further includes two sub-modules, which are the first data processing sub-module 211 respectively. and the second data processing sub-module 212, the first AP device and the second AP device are both access devices configured to connect to the WiFi network and the wired broadband network.
  • the control module 200 is configured to control each module in the system architecture. For example, when the interface module 220 receives data, the control module 200 can control the data processing module 210 to perform corresponding processing on the data, and control the data processing module 210 The processed data is forwarded through the interface module 220 .
  • the interface module 220 includes a wired LAN port (not shown in the figure), a wired WAN port (not shown in the figure) and a wireless LAN port (not shown in the figure).
  • the first data processing sub-module 211 is configured to process data received from the wired LAN port or the wired WAN port
  • the second data processing sub-module 212 is configured to process data received from the wireless LAN port.
  • the control module 200 controls the first data processing sub-module 211 to process the data, and converts the data format of the data into a data format that conforms to the wireless LAN port. The data format of the protocol, and then forward the processed data through the wireless LAN port.
  • the control module 200 controls the second data processing sub-module 212 to process the data, and converts the data format of the data into a data format that conforms to the wired LAN port or the wired WAN port.
  • the data format of the LAN port or wired WAN port protocol and then forward the processed data through the wired LAN port or wired WAN port.
  • FIG. 1 the structure of the system architecture shown in FIG. 1 and the structure of the AP device shown in FIG. 2 do not constitute limitations to the embodiments of the present application, and may include more or less than shown in the drawings. components, or a combination of certain components, or a different arrangement of components.
  • FIG. 2 is a flowchart of a wireless backhaul method provided by an embodiment of the present application.
  • the wireless backhaul method includes but is not limited to step S100 , step S200 and step S300 .
  • Step S100 Obtain a first data packet based on the first packet structure, where the first data packet carries first label information for distinguishing service information.
  • the first data packet may be a data packet received by the AP device from the terminal, may be a data packet received by the current AP device from another AP device, or may be data received by the AP device from the core network.
  • message which is not specifically limited in this embodiment.
  • the structure of the first data packet is the first packet structure and the first data packet carries the first label information.
  • the structure of the first data packet is the first packet structure and the first data packet carries the first label information.
  • the first data packet is a data packet received by the current AP device from another AP device
  • the structure of the first data packet is the first packet structure and the first data packet carries the first data packet.
  • Tag information when the first data packet is a data packet received by the current AP device from another AP device, the structure of the first data packet is the first packet structure and the first data packet carries the first data packet.
  • the first data packet may be obtained in different ways, which are not specifically limited in this embodiment.
  • the first data packet can be obtained through a wired broadband network, and correspondingly, the first packet structure is an Ethernet packet structure; for another example, the first data packet can be obtained through a WiFi network, correspondingly, the first packet
  • the structure is a WiFi frame structure.
  • the first tag information includes but is not limited to a virtual local area network identification (Virtual Local Area Network Identity Document, VLAN ID).
  • VLAN ID Virtual Local Area Network Identity Document
  • the virtual local area network identifier can be used to distinguish different users and different services.
  • the first marker information may be one or multiple, for example, the first marker information may be a multi-layer virtual local area network identifier, or a single-layer virtual local area network identifier, which is not specifically limited in this embodiment. .
  • Step S200 obtaining a second data message based on the second message structure according to the first data message and the first label information, the first message structure is different from the second message structure, and the second data message carries the first message. a marker information.
  • the second data packet may be a data packet sent by the AP device to the core network, may be a data packet sent by the current AP device to another AP device, or may be data sent by the AP device to the terminal.
  • message which is not specifically limited in this embodiment.
  • the structure of the second data packet is the second packet structure and the second data packet carries the first label information.
  • the structure of the second data packet is the second packet structure and the second data packet carries the first data packet.
  • Tag information For another example, when the second data packet is a data packet sent by the AP device to the terminal, the structure of the second data packet is the first packet structure and the second data packet carries the first label information.
  • the second packet structure includes a first tag field, and the first tag field can be used to carry the first tag information.
  • the purpose of carrying the first mark information in the second data packet can be achieved by filling in the first mark information in the first data packet in the first mark field of the second packet structure.
  • the second packet structure may be of different structure types, which is not specifically limited in this embodiment.
  • the second packet structure may be a WiFi frame structure, and in this case, the first flag field may be in the WiFi frame structure
  • the first marking information may be a virtual local area network identifier, and by filling the virtual local area network identifier in the reserved field in the WiFi frame structure, the purpose of carrying the first marking information in the first marking field is realized.
  • the second message structure may also be an Ethernet message structure, and in this case, the first label field may be a virtual local area network identification field in the Ethernet message structure.
  • the first marker field may be a reserved field in a physical layer protocol data unit (Presentation Protocol Data Unit, PPDU) in the WiFi frame structure, or may be a MAC layer protocol data unit (MAC layer protocol data unit (MAC) in the WiFi frame structure.
  • PPDU Physical layer protocol data unit
  • MAC MAC layer protocol data unit
  • a reserved field in the Protocol Data Unit, MPDU), for example, the first flag field may be the Pad bits bit in the PPDU frame structure under orthogonal frequency division multiplexing (Orthogonal Frequency Division Multiplexing, OFDM) encoding.
  • OFDM Orthogonal Frequency Division Multiplexing
  • a data packet based on the second packet structure is obtained according to the first data packet and the first label information.
  • the second data packet may be to decapsulate the first data packet according to the Ethernet packet structure, extract the first tag information stored in the corresponding field in the Ethernet packet structure, and then decapsulate the first tag information according to the WiFi packet structure.
  • the frame structure is encapsulated into the corresponding first label field, thereby obtaining the second data packet.
  • the first message structure is a WiFi frame structure and the second message structure is an Ethernet message structure
  • a second datagram based on the second message structure is obtained according to the first data message and the first label information
  • decapsulate the first data packet according to the WiFi frame structure extract the first tag information stored in the corresponding field in the WiFi frame structure, and then encapsulate the first tag information into the corresponding field according to the Ethernet packet structure.
  • the second data packet is obtained.
  • Step S300 forward the second data packet.
  • the forwarding of the second data packet may be performed in different manners, which is not specifically limited in this embodiment.
  • the second packet structure is an Ethernet packet structure
  • the second data packet may be forwarded through a wired broadband network.
  • the second packet structure is a WiFi frame structure
  • the second data packet may be forwarded through the WiFi network.
  • the wireless backhaul method including the above steps S100, S200 and S300
  • the first data packet based on the first packet structure and carrying the first label information is obtained, according to the The first data message and the first label information obtain a second data message based on the second message structure and carrying the first label information, and forward the second data message, wherein the first message structure is the same as the first data message.
  • the two message structures are not the same. Therefore, the transmission network using the second message structure can use the first label information applied to the transmission network using the first message structure to distinguish service information, so as to be able to distinguish multiple Users are distinguished from various services to meet the diverse requirements of terminal services.
  • obtaining a second data packet based on the second packet structure according to the first data packet and the first label information in step S200 may include, but is not limited to, the following steps:
  • Step S210 acquiring the first marking information and the first data payload in the first data packet
  • Step S220 Perform packet encapsulation based on the second packet structure according to the first label information and the first data payload to obtain a second data packet.
  • the second packet structure includes a first tag field
  • the first tag field may be used to carry the first tag information.
  • the first tag field may be WiFi.
  • the first marking information may be a virtual local area network identifier.
  • a data packet based on the second packet structure is obtained according to the first data packet and the first label information.
  • the second data packet may be to decapsulate the first data packet according to the Ethernet packet structure, extract the first label information and the first data payload stored in the corresponding fields in the Ethernet packet structure, and then decapsulate the first data packet.
  • a tag information and a first data payload are encapsulated into a corresponding first tag field according to the WiFi frame structure, thereby obtaining a second data packet.
  • the first message structure is a WiFi frame structure and the second message structure is an Ethernet message structure
  • a second datagram based on the second message structure is obtained according to the first data message and the first label information
  • decapsulate the first data packet according to the WiFi frame structure extract the first label information and the first data payload stored in the corresponding fields in the WiFi frame structure, and then decapsulate the first label information and the first data
  • the payload is encapsulated into the corresponding virtual local area network identification field according to the Ethernet packet structure, thereby obtaining a second data packet.
  • the wireless backhaul method may further include, but is not limited to, the following steps:
  • Step S400 acquiring a third data message based on the second message structure, where the third data message carries second marking information for distinguishing service information;
  • Step S500 obtaining a fourth data packet based on the first packet structure according to the third data packet and the second marking information, where the fourth data packet carries the second marking information;
  • Step S600 forward the fourth data packet.
  • the third data packet may be a data packet received by the AP device from the terminal, may be a data packet received by the current AP device from another AP device, or may be data received by the AP device from the core network.
  • message which is not specifically limited in this embodiment.
  • the structure of the third data packet is the second packet structure and the third data packet carries the second label information.
  • the structure of the third data packet is the second packet structure and the third data packet carries the second label information.
  • the third data packet is a data packet received by the current AP device from another AP device
  • the structure of the third data packet is the second packet structure and the third data packet carries the second packet.
  • Tag information when the third data packet is a data packet received by the current AP device from another AP device, the structure of the third data packet is the second packet structure and the third data packet carries the second packet.
  • the third data packet may be obtained in different ways, which is not specifically limited in this embodiment.
  • the third data packet can be obtained through a wired broadband network, and correspondingly, the second packet has an Ethernet packet structure; for another example, the third data packet can be obtained through a WiFi network, and correspondingly, the second packet has an Ethernet packet structure.
  • the structure is a WiFi frame structure.
  • the second marking information includes but is not limited to a virtual local area network identifier.
  • the virtual local area network identifier can be used to distinguish different users and different services.
  • the second tag information may be one or multiple, for example, the second tag information may be a multi-layer virtual local area network identifier, or a single-layer virtual local area network identifier, which is not specifically limited in this embodiment. .
  • the fourth data packet may be a data packet sent by the AP device to the core network, may be a data packet sent by the current AP device to another AP device, or may be data sent by the AP device to the terminal.
  • message which is not specifically limited in this embodiment.
  • the structure of the fourth data packet is the first packet structure and the fourth data packet carries the second label information.
  • the structure of the fourth data packet is the first packet structure and the fourth data packet carries the second data packet.
  • Tag information For another example, when the fourth data packet is a data packet sent by the AP device to the terminal, the structure of the fourth data packet is the first packet structure and the fourth data packet carries the second label information.
  • the fourth packet structure includes a second tag field, and the second tag field can be used to carry the second tag information.
  • the purpose of carrying the second mark information in the fourth data packet can be achieved by filling in the second mark information in the third data packet in the second mark field of the first packet structure.
  • the first packet structure may be of different structure types, which is not specifically limited in this embodiment.
  • the first packet structure may be a WiFi frame structure, and in this case, the second flag field may be in the WiFi frame structure
  • the second marking information can be a virtual local area network identifier, and by filling the virtual local area network identifier in the reserved field in the WiFi frame structure, the purpose of carrying the second marking information in the second marking field is realized.
  • the first packet structure may also be an Ethernet packet structure, and in this case, the second label field may be a virtual local area network identification field in the Ethernet packet structure.
  • the second marker field may be a reserved field in a PPDU in the WiFi frame structure, or may be a reserved field in an MPDU in the WiFi frame structure, for example, the second marker field may be a PPDU under OFDM coding. Pad bits field in the frame structure.
  • the first packet structure-based The fourth data packet may be to decapsulate the third data packet according to the Ethernet packet structure, extract the second tag information stored in the corresponding field in the Ethernet packet structure, and then decapsulate the second tag information according to the WiFi packet structure.
  • the frame structure is encapsulated into the corresponding second tag field, thereby obtaining a fourth data packet.
  • the first message structure is a WiFi frame structure and the second message structure is an Ethernet message structure
  • a second datagram based on the second message structure is obtained according to the first data message and the first label information
  • decapsulate the third data packet according to the WiFi frame structure extract the second tag information stored in the corresponding field in the WiFi frame structure, and then encapsulate the second tag information into the corresponding field according to the Ethernet packet structure.
  • the fourth data packet is obtained.
  • obtaining the fourth data packet based on the first packet structure according to the third data packet and the second label information in step S500 may include, but is not limited to, the following steps:
  • Step S510 acquiring the second marking information and the second data payload in the third data packet
  • Step S520 Perform packet encapsulation based on the first packet structure on the second marking information and the second data payload to obtain a fourth data packet.
  • the first packet structure includes a second tag field
  • the second tag field may be used to carry the second tag information.
  • the second tag field may be is a virtual local area network identification field in the Ethernet packet structure, and the second tag information can be a virtual local area network identification.
  • the second tag field may be a reserved field in the WiFi frame structure, and the second tag information may be a virtual local area network identifier, by filling in the virtual local area network identifier in the WiFi frame structure. reserved field, so as to realize the purpose of carrying the second label information in the fourth data packet.
  • the first packet structure is obtained according to the third data packet and the second label information.
  • the fourth data packet may be decapsulating the third data packet according to the WiFi frame structure, extracting the second label information and the second data payload stored in the corresponding fields in the WiFi frame structure, and then decapsulating the second label information and the second data payload.
  • the second data payload is encapsulated into the corresponding virtual local area network identification field according to the Ethernet packet structure, thereby obtaining a fourth data packet.
  • a fourth datagram based on the first message structure is obtained according to the third data message and the second label information
  • decapsulate the third data packet according to the Ethernet packet structure extract the second label information and the second data payload stored in the corresponding fields in the WiFi frame structure, and then decapsulate the second label information and the first data payload.
  • the second data payload is encapsulated into the corresponding second label field according to the WiFi frame structure, thereby obtaining a fourth data packet.
  • FIG. 6 is a flow chart of forwarding processing of uplink data packets by the first AP device provided by a specific example of the present application, and the flow is specifically:
  • Step S101 obtaining an Ethernet data packet from a wired LAN port
  • Step C101 Determine whether the received Ethernet data packet has a virtual local area network identifier? If yes, go to step S102; if not, go to step S105;
  • Step S102 Decapsulate the Ethernet data packet according to the Ethernet packet structure, and obtain the virtual local area network identifier and data payload;
  • Step C102 Determine whether the virtual local area network identifier is multi-layered? If yes, go to step S104; if not, go to step S103;
  • Step S103 Fill the virtual local area network identifier into the reserved field in the PPDU or MPDU frame structure in the WiFi frame structure, and perform step S105;
  • Step S104 Fill multiple virtual local area network identifiers into the reserved fields in the PPDU or MPDU frame structure of the WiFi frame structure in turn, and perform step S105;
  • Step S105 Encapsulate according to the WiFi frame structure to obtain a WiFi data packet
  • Step S106 forwarding the WiFi data packet to the wireless LAN port
  • Step S107 the current upstream data packet forwarding processing flow ends.
  • FIG. 7 is a flowchart of the uplink data packet forwarding processing performed by the second AP device provided by another specific example of the present application, and the flowchart is specifically:
  • Step S201 obtaining WiFi data packets from a wireless LAN port
  • Step C201 Determine whether the received WiFi data packet has a virtual local area network identifier? If yes, go to step S202; if not, go to step S205;
  • Step S202 Decapsulate the Ethernet data packet according to the WiFi data packet structure, and obtain the virtual local area network identifier and data payload;
  • Step C202 Determine whether the VLAN ID is multi-layered? If yes, go to step S204; if not, go to step S203;
  • Step S203 Fill the virtual local area network identifier into the virtual local area network identifier field in the Ethernet packet structure, and execute step S205;
  • Step S204 Fill multiple virtual local area network identifiers into the virtual local area network identifier field in the Ethernet packet structure in turn, and execute step S205;
  • Step S205 Encapsulate according to the Ethernet packet structure to obtain an Ethernet data packet
  • Step S206 forwarding the Ethernet data packet to the wired WAN port
  • Step S207 the current upstream data packet forwarding processing flow ends.
  • FIG. 8 is a flowchart of a second AP device performing downlink data packet forwarding processing provided by a specific example of the present application, and the process is specifically:
  • Step S301 obtaining an Ethernet data packet from a wired WAN port
  • Step C301 Determine whether the received Ethernet data packet has a virtual local area network identifier? If yes, go to step S302; if not, go to step S305;
  • Step S302 Decapsulate the Ethernet data packet according to the Ethernet packet structure, and obtain the virtual local area network identifier and data payload;
  • Step C302 Determine whether the VLAN ID is multi-layered? If yes, go to step S304; if not, go to step S303;
  • Step S303 Fill the virtual local area network identifier into the reserved field in the PPDU or MPDU frame structure in the WiFi frame structure, and perform step S305;
  • Step S304 Fill multiple virtual local area network identifiers into the reserved fields in the PPDU or MPDU frame structure of the WiFi frame structure in turn, and perform step S305;
  • Step S305 Encapsulate according to the WiFi frame structure to obtain the WiFi data packet
  • Step S306 forwarding the WiFi data packet to the wireless LAN port
  • Step S307 The current downlink data packet forwarding processing flow ends.
  • FIG. 9 is a flowchart of the downlink data packet forwarding processing performed by the first AP device provided by another specific example of the present application, and the flowchart is specifically:
  • Step S401 obtaining WiFi data packets from a wireless LAN port
  • Step C401 Determine whether the received WiFi data packet has a virtual local area network identifier? If yes, go to step S402; if not, go to step S205;
  • Step S402 Decapsulate the Ethernet data packet according to the WiFi data packet structure, and obtain the virtual local area network identifier and data payload;
  • Step C402 Determine whether the VLAN ID is multi-layered? If yes, go to step S404; if not, go to step S403;
  • Step S403 Fill the virtual local area network identifier into the virtual local area network identifier field in the Ethernet packet structure, and execute step S405;
  • Step S404 Fill multiple virtual local area network identifiers into the virtual local area network identifier field in the Ethernet packet structure in turn, and execute step S405;
  • Step S405 Encapsulate according to the Ethernet packet structure to obtain an Ethernet data packet
  • Step S406 forwarding the Ethernet data packet to the wired LAN port
  • Step S407 The current downlink data packet forwarding processing flow ends.
  • an embodiment of the present application also provides a wireless backhaul device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor.
  • the processor and memory may be connected by a bus or otherwise.
  • the memory can be used to store non-transitory software programs and non-transitory computer-executable programs.
  • the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device.
  • the memory may include memory located remotely from the processor, which may be connected to the processor through a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
  • the wireless backhaul apparatus in this embodiment may include the system architecture in the embodiment shown in FIG. 1 , the wireless backhaul apparatus in this embodiment and the system architecture in the embodiment shown in FIG. 1 . Since they belong to the same inventive concept, these embodiments have the same realization principle and technical effect, and will not be described in detail here.
  • the non-transitory software programs and instructions required to implement the wireless backhaul method of the above embodiment are stored in the memory, and when executed by the processor, the wireless backhaul method in the above embodiment is executed, for example, the above-described FIG. 3 is executed method steps S100 to S300 in FIG. 4 , method steps S210 to S220 in FIG. 4 , method steps S400 to S600 in FIG. 5 , and method steps S510 to S520 in FIG. 6 .
  • an embodiment of the present application further provides an access device, where the access device includes the wireless backhaul apparatus mentioned in the foregoing embodiment.
  • the access device can acquire a first data packet based on the first packet structure and carrying first label information for distinguishing service information, and then obtain a second data packet based on the first data packet and the first label information.
  • the transmission network of the second message structure can use the first label information applied to the transmission network using the first message structure to distinguish service information, so that it can distinguish multiple users and multiple services to meet the needs of terminal services. the purpose of the diversity requirement.
  • an embodiment of the present application also provides a computer-readable storage medium, where the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are executed by a processor or controller, for example, by the above-mentioned Executed by a processor in the apparatus embodiment or the device embodiment, the above-mentioned processor can execute the wireless backhaul method in the above-mentioned embodiment, for example, the method steps S100 to S300 in FIG. 3 and the method steps S210 to S210 in FIG. 4 S220 , method steps S400 to S600 in FIG. 5 , and method steps S510 to S520 in FIG. 6 .
  • the embodiments of the present application include: acquiring a first data packet based on a first packet structure, where the first data packet carries first label information for distinguishing service information; obtaining a first data packet based on the first data packet and the first label information In the second data message of the second message structure, the first message structure is different from the second message structure, and the second data message carries the first label information; the second data message is forwarded.
  • the transmission network using the second message structure can use the first label information applied to the transmission network using the first message structure to distinguish the service information, so that it can distinguish multiple users and multiple services. , in order to meet the diversity requirements of terminal services.
  • Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, magnetic tape, magnetic disk storage or other magnetic storage devices, or may Any other medium used to store desired information and which can be accessed by a computer.
  • communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and can include any information delivery media, as is well known to those of ordinary skill in the art .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A wireless backhaul method, a device thereof, an access device, a computer-readable storage medium. The wireless backhaul method comprises: acquiring a first data packet based on a first packet structure, the first data packet carrying first identifier information used for distinguishing service information (S100); producing, on the basis of the first data packet and of the first identifier information, a second data packet based on a second packet structure, the first packet structure and the second packet structure being different from each other, and the second data packet carrying the first identifier information (S200); and forwarding the second data packet (S300).

Description

无线回传方法及其装置、接入设备、计算机可读存储介质Wireless backhaul method and apparatus, access device, and computer-readable storage medium
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请基于申请号为202011256558.8、申请日为2020年11月11日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is based on the Chinese patent application with the application number of 202011256558.8 and the filing date of November 11, 2020, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is incorporated herein by reference.
技术领域technical field
本申请涉及网络通信技术领域,尤其涉及一种无线回传方法及其装置、接入设备、计算机可读存储介质。The present application relates to the field of network communication technologies, and in particular, to a wireless backhaul method and apparatus, access device, and computer-readable storage medium.
背景技术Background technique
当前,有线宽带接入技术能够区分多种用户以及多种业务。而在目前常用的WiFi回传技术中,无法对多种用户以及多种业务进行区分,然而,随着WiFi技术的提升,WiFi网络带宽的加大,终端网络复杂度和业务多样性的不断提升,在WiFi回传技术与有线宽带接入技术的融合场景下,由于目前WiFi回传技术的限制,导致无法对多种用户和多种业务进行区分,从而限制了终端业务的多样性。Currently, wired broadband access technology can distinguish multiple users and multiple services. In the currently commonly used WiFi backhaul technology, it is impossible to distinguish multiple users and multiple services. However, with the improvement of WiFi technology, the increase of WiFi network bandwidth, the continuous improvement of terminal network complexity and business diversity In the integration scenario of WiFi backhaul technology and wired broadband access technology, due to the limitations of current WiFi backhaul technology, it is impossible to distinguish multiple users and multiple services, thus limiting the diversity of terminal services.
发明内容SUMMARY OF THE INVENTION
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this article. This summary is not intended to limit the scope of protection of the claims.
本申请实施例提供了一种无线回传方法及其装置、接入设备、计算机可读存储介质。Embodiments of the present application provide a wireless backhaul method and apparatus, access device, and computer-readable storage medium.
第一方面,本申请实施例提供了一种无线回传方法,所述方法包括:获取基于第一报文结构的第一数据报文,所述第一数据报文携带有用于区分业务信息的第一标记信息;根据所述第一数据报文和所述第一标记信息得到基于第二报文结构的第二数据报文,所述第一报文结构与所述第二报文结构不相同,所述第二数据报文携带有所述第一标记信息;转发所述第二数据报文。In a first aspect, an embodiment of the present application provides a wireless backhaul method, the method includes: acquiring a first data packet based on a first packet structure, where the first data packet carries a data packet used to distinguish service information first label information; obtain a second data message based on the second message structure according to the first data message and the first label information, and the first message structure is different from the second message structure; Similarly, the second data packet carries the first label information; the second data packet is forwarded.
第二方面,本申请实施例还提供了一种无线回传装置,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如上第一方面所述的无线回传方法。In a second aspect, an embodiment of the present application further provides a wireless backhaul device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, when the processor executes the computer program The wireless backhaul method described in the first aspect above is implemented.
第三方面,本申请实施例还提供了一种接入设备,包括有如上所述的无线回传装置。In a third aspect, an embodiment of the present application further provides an access device, including the wireless backhaul apparatus as described above.
第四方面,本申请实施例还提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行如上所述的无线回传方法。In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium storing computer-executable instructions, where the computer-executable instructions are used to execute the wireless backhaul method described above.
本申请的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本申请而了解。本申请的目的和其他优点可通过在说明书、权利要求书以及附图中所特别指出的内容来实现和获得。Other features and advantages of the present application will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the present application. The objectives and other advantages of the application may be realized and attained by the means particularly pointed out in the description, claims and drawings.
附图说明Description of drawings
附图用来提供对本申请技术方案的进一步理解,并且构成说明书的一部分,与本申请的 实施例一起用于解释本申请的技术方案,并不构成对本申请技术方案的限制。The accompanying drawings are used to provide a further understanding of the technical solutions of the present application, and constitute a part of the specification, and are used to explain the technical solutions of the present application together with the embodiments of the present application, and do not constitute a limitation to the technical solutions of the present application.
图1是本申请一个实施例提供的用于执行无线回传方法的系统架构的示意图;FIG. 1 is a schematic diagram of a system architecture for implementing a wireless backhaul method provided by an embodiment of the present application;
图2是本申请一个实施例提供的AP设备的结构示意图;2 is a schematic structural diagram of an AP device provided by an embodiment of the present application;
图3是本申请一个实施例提供的无线回传方法的流程图;3 is a flowchart of a wireless backhaul method provided by an embodiment of the present application;
图4是本申请另一实施例提供的无线回传方法中得到第二数据报文的具体步骤的流程图;4 is a flowchart of specific steps for obtaining a second data packet in a wireless backhaul method provided by another embodiment of the present application;
图5是本申请另一实施例提供的无线回传方法的流程图;FIG. 5 is a flowchart of a wireless backhaul method provided by another embodiment of the present application;
图6是本申请另一实施例提供的无线回传方法中得到第四数据报文的具体步骤的流程图;6 is a flowchart of specific steps for obtaining a fourth data packet in a wireless backhaul method provided by another embodiment of the present application;
图7是本申请一个具体示例所提供的上行数据报文转发处理的流程图;FIG. 7 is a flowchart of uplink data packet forwarding processing provided by a specific example of the present application;
图8是本申请另一具体示例所提供的上行数据报文转发处理的流程图;8 is a flowchart of uplink data packet forwarding processing provided by another specific example of the present application;
图9是本申请一个具体示例所提供的下行数据报文转发处理的流程图;9 is a flow chart of downlink data packet forwarding processing provided by a specific example of the present application;
图10是本申请另一具体示例所提供的下行数据报文转发处理的流程图。FIG. 10 is a flowchart of a downlink data packet forwarding process provided by another specific example of the present application.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.
需要说明的是,虽然在装置示意图中进行了功能模块划分,在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于装置中的模块划分,或流程图中的顺序执行所示出或描述的步骤。说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that although the functional modules are divided in the schematic diagram of the device, and the logical sequence is shown in the flowchart, in some cases, the modules may be divided differently from the device, or executed in the order in the flowchart. steps shown or described. The terms "first", "second" and the like in the description and claims and the above drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.
本申请提供了一种无线回传方法及其装置、接入设备、计算机可读存储介质,通过获取基于第一报文结构的且携带有用于区分业务信息的第一标记信息的第一数据报文,接着根据该第一数据报文和该第一标记信息得到基于第二报文结构的且携带有该第一标记信息的第二数据报文,然后将该第二数据报文转发,其中,第一报文结构与第二报文结构不相同,因此,可以使得使用第二报文结构的传输网络能够利用应用于使用第一报文结构的传输网络的第一标记信息进行业务信息的区分,从而达到能够对多种用户和多种业务进行区分,以满足终端业务的多样性要求的目的。The present application provides a wireless backhaul method and device, access device, and computer-readable storage medium, by acquiring a first datagram based on a first message structure and carrying first label information for distinguishing service information message, and then obtain a second data message based on the second message structure and carrying the first label information according to the first data message and the first label information, and then forward the second data message, wherein , the first message structure is different from the second message structure. Therefore, the transmission network using the second message structure can use the first label information applied to the transmission network using the first message structure to perform service information Differentiation, so as to achieve the purpose of being able to distinguish multiple users and multiple services to meet the diverse requirements of terminal services.
下面结合附图,对本申请实施例作进一步阐述。The embodiments of the present application will be further described below with reference to the accompanying drawings.
如图1所示,图1是本申请一个实施例提供的用于执行无线回传方法的系统架构的示意图。在图1的示例中,该系统架构包括第一接入(Access Point,AP)设备100和第二AP设备101,第一AP设备100可以通过有线局域网(Local Area Network,LAN)口或有线广域网(Wide Area Network,WAN)口接入用户电脑、机顶盒等用户终端,并且第一AP设备100可以通过无线LAN口连接第二AP设备101,而第二AP设备101则可以通过各种方式最终连接至核心网。As shown in FIG. 1 , FIG. 1 is a schematic diagram of a system architecture for implementing a wireless backhaul method provided by an embodiment of the present application. In the example of FIG. 1 , the system architecture includes a first access point (Access Point, AP) device 100 and a second AP device 101, and the first AP device 100 can use a wired local area network (Local Area Network, LAN) port or a wired wide area network The (Wide Area Network, WAN) port is connected to user terminals such as user computers and set-top boxes, and the first AP device 100 can connect to the second AP device 101 through the wireless LAN port, and the second AP device 101 can be finally connected in various ways to the core network.
如图2所示,第一AP设备和第二AP设备均包括有控制模块200、数据处理模块210和接口模块220,数据处理模块210还包括两个子模块,分别是第一数据处理子模块211和第二数据处理子模块212,第一AP设备和第二AP设备均为被设置成连接WiFi网络和有线宽带网络的接入设备。As shown in FIG. 2 , both the first AP device and the second AP device include a control module 200 , a data processing module 210 and an interface module 220 , and the data processing module 210 further includes two sub-modules, which are the first data processing sub-module 211 respectively. and the second data processing sub-module 212, the first AP device and the second AP device are both access devices configured to connect to the WiFi network and the wired broadband network.
控制模块200被设置成实现对该系统架构中各模块的控制,例如,当接口模块220接收 到数据,控制模块200可以控制数据处理模块210对该数据进行相应的处理,并控制数据处理模块210将处理后的数据通过接口模块220转发出去。接口模块220包括有线LAN口(图中未示出)、有线WAN口(图中未示出)和无线LAN口(图中未示出)。第一数据处理子模块211被设置成处理从有线LAN口或有线WAN口接收到的数据,第二数据处理子模块212被设置成处理从无线LAN口接收到的数据。例如,当需要将有线LAN口或有线WAN口接收到的数据从无线LAN口转发,控制模块200控制第一数据处理子模块211对数据进行处理,将该数据的数据格式转换成符合无线LAN口协议的数据格式,再通过无线LAN口将处理后的数据转发。又如,当需要将从无线LAN口接收到的数据从有线LAN口或有线WAN口转发,控制模块200控制第二数据处理子模块212对数据进行处理,将该数据的数据格式转换成符合有线LAN口或有线WAN口协议的数据格式,再通过有线LAN口或有线WAN口将处理后的数据转发。The control module 200 is configured to control each module in the system architecture. For example, when the interface module 220 receives data, the control module 200 can control the data processing module 210 to perform corresponding processing on the data, and control the data processing module 210 The processed data is forwarded through the interface module 220 . The interface module 220 includes a wired LAN port (not shown in the figure), a wired WAN port (not shown in the figure) and a wireless LAN port (not shown in the figure). The first data processing sub-module 211 is configured to process data received from the wired LAN port or the wired WAN port, and the second data processing sub-module 212 is configured to process data received from the wireless LAN port. For example, when the data received by the wired LAN port or the wired WAN port needs to be forwarded from the wireless LAN port, the control module 200 controls the first data processing sub-module 211 to process the data, and converts the data format of the data into a data format that conforms to the wireless LAN port. The data format of the protocol, and then forward the processed data through the wireless LAN port. For another example, when the data received from the wireless LAN port needs to be forwarded from the wired LAN port or the wired WAN port, the control module 200 controls the second data processing sub-module 212 to process the data, and converts the data format of the data into a data format that conforms to the wired LAN port or the wired WAN port. The data format of the LAN port or wired WAN port protocol, and then forward the processed data through the wired LAN port or wired WAN port.
本申请实施例描述的系统架构以及应用场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域技术人员可知,随着系统架构的演变和新应用场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。The system architecture and application scenarios described in the embodiments of the present application are for the purpose of illustrating the technical solutions of the embodiments of the present application more clearly, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. The evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
本领域技术人员可以理解的是,图1中示出的系统架构的结构以及图2中示出的AP设备的结构并不构成对本申请实施例的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。It can be understood by those skilled in the art that the structure of the system architecture shown in FIG. 1 and the structure of the AP device shown in FIG. 2 do not constitute limitations to the embodiments of the present application, and may include more or less than shown in the drawings. components, or a combination of certain components, or a different arrangement of components.
基于上述系统架构的结构,提出本申请的无线回传方法的各个实施例。Based on the structure of the above-mentioned system architecture, various embodiments of the wireless backhaul method of the present application are proposed.
如图2所示,图2是本申请一个实施例提供的无线回传方法的流程图,该无线回传方法包括但不限于有步骤S100、步骤S200和步骤S300。As shown in FIG. 2 , FIG. 2 is a flowchart of a wireless backhaul method provided by an embodiment of the present application. The wireless backhaul method includes but is not limited to step S100 , step S200 and step S300 .
步骤S100,获取基于第一报文结构的第一数据报文,第一数据报文携带有用于区分业务信息的第一标记信息。Step S100: Obtain a first data packet based on the first packet structure, where the first data packet carries first label information for distinguishing service information.
在一实施例中,第一数据报文可以是AP设备从终端接收的数据报文,可以是当前AP设备从另一个AP设备接收的数据报文,还可以是AP设备从核心网接收的数据报文,本实施例对此并不作具体限定。例如,当第一数据报文为AP设备从终端接收的数据报文时,该第一数据报文的结构为第一报文结构且该第一数据报文携带有第一标记信息。又如,当第一数据报文为AP设备从核心网接收的数据报文时,该第一数据报文的结构为第一报文结构且该第一数据报文携带有第一标记信息。再如,当第一数据报文为当前AP设备从另一个AP设备接收的数据报文时,该第一数据报文的结构为第一报文结构且该第一数据报文携带有第一标记信息。In an embodiment, the first data packet may be a data packet received by the AP device from the terminal, may be a data packet received by the current AP device from another AP device, or may be data received by the AP device from the core network. message, which is not specifically limited in this embodiment. For example, when the first data packet is a data packet received by the AP device from the terminal, the structure of the first data packet is the first packet structure and the first data packet carries the first label information. For another example, when the first data packet is a data packet received by the AP device from the core network, the structure of the first data packet is the first packet structure and the first data packet carries the first label information. For another example, when the first data packet is a data packet received by the current AP device from another AP device, the structure of the first data packet is the first packet structure and the first data packet carries the first data packet. Tag information.
在一实施例中,第一数据报文可以有不同的获取途径,本实施例并不对此做具体限定。例如,第一数据报文可以通过有线宽带网络获取,对应的,第一报文结构为以太网报文结构;又如,第一数据报文可以通过WiFi网络获取,对应的,第一报文结构为WiFi帧结构。In an embodiment, the first data packet may be obtained in different ways, which are not specifically limited in this embodiment. For example, the first data packet can be obtained through a wired broadband network, and correspondingly, the first packet structure is an Ethernet packet structure; for another example, the first data packet can be obtained through a WiFi network, correspondingly, the first packet The structure is a WiFi frame structure.
在一实施例中,第一标记信息包括但不限于虚拟局域网标识(Virtual Local Area Network Identity Document,VLAN ID)。虚拟局域网标识可以用于对不同用户、不同业务的区分。In one embodiment, the first tag information includes but is not limited to a virtual local area network identification (Virtual Local Area Network Identity Document, VLAN ID). The virtual local area network identifier can be used to distinguish different users and different services.
在一实施例中,第一标记信息可以是一个也可以是多个,例如第一标记信息可以是多层虚拟局域网标识,也可以是单层虚拟局域网标识,本实施例并不对此做具体限定。In one embodiment, the first marker information may be one or multiple, for example, the first marker information may be a multi-layer virtual local area network identifier, or a single-layer virtual local area network identifier, which is not specifically limited in this embodiment. .
步骤S200,根据第一数据报文和第一标记信息得到基于第二报文结构的第二数据报文,第一报文结构与第二报文结构不相同,第二数据报文携带有第一标记信息。Step S200, obtaining a second data message based on the second message structure according to the first data message and the first label information, the first message structure is different from the second message structure, and the second data message carries the first message. a marker information.
在一实施例中,第二数据报文可以是AP设备向核心网发送的数据报文,可以是当前AP设备向另一个AP设备发送的数据报文,还可以是AP设备向终端发送的数据报文,本实施例对此并不作具体限定。例如,当第二数据报文为AP设备向核心网发送的数据报文时,该第二数据报文的结构为第二报文结构且该第二数据报文携带有第一标记信息。又如,当第二数据报文为当前AP设备向另一个AP设备发送的数据报文时,该第二数据报文的结构为第二报文结构且该第二数据报文携带有第一标记信息。再如,当第二数据报文为AP设备向终端发送的数据报文时,该第二数据报文的结构为第一报文结构且该第二数据报文携带有第一标记信息。In an embodiment, the second data packet may be a data packet sent by the AP device to the core network, may be a data packet sent by the current AP device to another AP device, or may be data sent by the AP device to the terminal. message, which is not specifically limited in this embodiment. For example, when the second data packet is a data packet sent by the AP device to the core network, the structure of the second data packet is the second packet structure and the second data packet carries the first label information. For another example, when the second data packet is a data packet sent by the current AP device to another AP device, the structure of the second data packet is the second packet structure and the second data packet carries the first data packet. Tag information. For another example, when the second data packet is a data packet sent by the AP device to the terminal, the structure of the second data packet is the first packet structure and the second data packet carries the first label information.
在一实施例中,第二报文结构包括第一标记字段,该第一标记字段可以用来携带第一标记信息,例如,当接收到携带有第一标记信息的第一数据报文后,可以通过把第一数据报文中的第一标记信息填写在第二报文结构的第一标记字段,以实现第二数据报文携带第一标记信息的目的。另外,第二报文结构可以为不同的结构类型,本实施例对此并不作具体限定,例如,第二报文结构可以为WiFi帧结构,此时,第一标记字段可以是WiFi帧结构中的保留字段,另外,第一标记信息可以是虚拟局域网标识,通过把该虚拟局域网标识填写在WiFi帧结构中的保留字段,以实现第一标记字段携带该第一标记信息的目的。此外,第二报文结构还可以为以太网报文结构,此时,第一标记字段可以是以太网报文结构中的虚拟局域网标识字段。In an embodiment, the second packet structure includes a first tag field, and the first tag field can be used to carry the first tag information. For example, after receiving the first data packet carrying the first tag information, The purpose of carrying the first mark information in the second data packet can be achieved by filling in the first mark information in the first data packet in the first mark field of the second packet structure. In addition, the second packet structure may be of different structure types, which is not specifically limited in this embodiment. For example, the second packet structure may be a WiFi frame structure, and in this case, the first flag field may be in the WiFi frame structure In addition, the first marking information may be a virtual local area network identifier, and by filling the virtual local area network identifier in the reserved field in the WiFi frame structure, the purpose of carrying the first marking information in the first marking field is realized. In addition, the second message structure may also be an Ethernet message structure, and in this case, the first label field may be a virtual local area network identification field in the Ethernet message structure.
在一实施例中,第一标记字段可以是WiFi帧结构中的物理层协议数据单元(Presentation Protocol Data Unit,PPDU)中的保留字段,还可以是WiFi帧结构中的MAC层协议数据单元(MAC Protocol Data Unit,MPDU)中的保留字段,例如,第一标记字段可以是正交频分复用(Orthogonal Frequency Division Multiplexing,OFDM)编码下的PPDU帧结构中的Pad bits位。In an embodiment, the first marker field may be a reserved field in a physical layer protocol data unit (Presentation Protocol Data Unit, PPDU) in the WiFi frame structure, or may be a MAC layer protocol data unit (MAC layer protocol data unit (MAC) in the WiFi frame structure. A reserved field in the Protocol Data Unit, MPDU), for example, the first flag field may be the Pad bits bit in the PPDU frame structure under orthogonal frequency division multiplexing (Orthogonal Frequency Division Multiplexing, OFDM) encoding.
在一实施例中,当第一报文结构为以太网报文结构,并且第二报文结构为WiFi帧结构时,根据第一数据报文和第一标记信息得到基于第二报文结构的第二数据报文,可以是将第一数据报文按照以太网报文结构进行解封装,提取出存储于以太网报文结构中对应字段的第一标记信息,再将第一标记信息按照WiFi帧结构封装到对应的第一标记字段中,从而得到第二数据报文。另外,当第一报文结构为WiFi帧结构,并且第二报文结构为以太网报文结构时,根据第一数据报文和第一标记信息得到基于第二报文结构的第二数据报文,还可以是将第一数据报文按照WiFi帧结构进行解封装,提取出存储于WiFi帧结构中对应字段的第一标记信息,再将第一标记信息按照以太网报文结构封装到对应的虚拟局域网标识字段中,进而得到第二数据报文。In an embodiment, when the first packet structure is an Ethernet packet structure, and the second packet structure is a WiFi frame structure, a data packet based on the second packet structure is obtained according to the first data packet and the first label information. The second data packet may be to decapsulate the first data packet according to the Ethernet packet structure, extract the first tag information stored in the corresponding field in the Ethernet packet structure, and then decapsulate the first tag information according to the WiFi packet structure. The frame structure is encapsulated into the corresponding first label field, thereby obtaining the second data packet. In addition, when the first message structure is a WiFi frame structure and the second message structure is an Ethernet message structure, a second datagram based on the second message structure is obtained according to the first data message and the first label information It is also possible to decapsulate the first data packet according to the WiFi frame structure, extract the first tag information stored in the corresponding field in the WiFi frame structure, and then encapsulate the first tag information into the corresponding field according to the Ethernet packet structure. In the virtual local area network identification field, the second data packet is obtained.
步骤S300,转发第二数据报文。Step S300, forward the second data packet.
在一实施例中,第二数据报文的转发可以采取不同的方式,本实施例并不对此做具体限定。例如,当第二报文结构为以太网报文结构,可以通过有线宽带网络转发第二数据报文。又如,当第二报文结构为WiFi帧结构,可以通过WiFi网络转发第二数据报文。In an embodiment, the forwarding of the second data packet may be performed in different manners, which is not specifically limited in this embodiment. For example, when the second packet structure is an Ethernet packet structure, the second data packet may be forwarded through a wired broadband network. For another example, when the second packet structure is a WiFi frame structure, the second data packet may be forwarded through the WiFi network.
在一实施例中,通过采用包括有上述步骤S100、步骤S200和步骤S300的无线回传方法,在获取到基于第一报文结构且携带有第一标记信息的第一数据报文时,根据第一数据报文和第一标记信息得到基于第二报文结构且携带有第一标记信息的第二数据报文,并将该第二数据报文转发,其中,第一报文结构与第二报文结构不相同,因此,可以使得使用第二报文结构的传输网络能够利用应用于使用第一报文结构的传输网络的第一标记信息进行业务信息的 区分,从而达到能够对多种用户和多种业务进行区分,以满足终端业务的多样性要求的目的。In one embodiment, by adopting the wireless backhaul method including the above steps S100, S200 and S300, when the first data packet based on the first packet structure and carrying the first label information is obtained, according to the The first data message and the first label information obtain a second data message based on the second message structure and carrying the first label information, and forward the second data message, wherein the first message structure is the same as the first data message. The two message structures are not the same. Therefore, the transmission network using the second message structure can use the first label information applied to the transmission network using the first message structure to distinguish service information, so as to be able to distinguish multiple Users are distinguished from various services to meet the diverse requirements of terminal services.
另外,在一实施例中,参照图3,步骤S200中的根据第一数据报文和第一标记信息得到基于第二报文结构的第二数据报文,可以包括但不限于有以下步骤:In addition, in an embodiment, referring to FIG. 3 , obtaining a second data packet based on the second packet structure according to the first data packet and the first label information in step S200 may include, but is not limited to, the following steps:
步骤S210,获取第一数据报文中的第一标记信息和第一数据载荷;Step S210, acquiring the first marking information and the first data payload in the first data packet;
步骤S220,根据第一标记信息和第一数据载荷进行基于第二报文结构的报文封装,得到第二数据报文。Step S220: Perform packet encapsulation based on the second packet structure according to the first label information and the first data payload to obtain a second data packet.
在一实施例中,第二报文结构包括第一标记字段,第一标记字段可以用于携带第一标记信息,例如,当第二报文结构为WiFi帧结构,第一标记字段可以是WiFi帧结构中的保留字段,第一标记信息可以是虚拟局域网标识,通过将虚拟局域网标识填写在WiFi帧结构中的保留字段,以实现第二数据报文携带第一标记信息的目的。In an embodiment, the second packet structure includes a first tag field, and the first tag field may be used to carry the first tag information. For example, when the second packet structure is a WiFi frame structure, the first tag field may be WiFi. In the reserved field in the frame structure, the first marking information may be a virtual local area network identifier. By filling the virtual local area network identifier in the reserved field in the WiFi frame structure, the purpose of carrying the first marking information in the second data packet is realized.
在一实施例中,当第一报文结构为以太网报文结构,并且第二报文结构为WiFi帧结构时,根据第一数据报文和第一标记信息得到基于第二报文结构的第二数据报文,可以是将第一数据报文按照以太网报文结构进行解封装,提取出存储于以太网报文结构中对应字段的第一标记信息以及第一数据载荷,再将第一标记信息和第一数据载荷按照WiFi帧结构封装到对应的第一标记字段中,从而得到第二数据报文。另外,当第一报文结构为WiFi帧结构,并且第二报文结构为以太网报文结构时,根据第一数据报文和第一标记信息得到基于第二报文结构的第二数据报文,还可以是将第一数据报文按照WiFi帧结构进行解封装,提取出存储于WiFi帧结构中对应字段的第一标记信息以及第一数据载荷,再将第一标记信息和第一数据载荷按照以太网报文结构封装到对应的虚拟局域网标识字段中,进而得到第二数据报文。In an embodiment, when the first packet structure is an Ethernet packet structure, and the second packet structure is a WiFi frame structure, a data packet based on the second packet structure is obtained according to the first data packet and the first label information. The second data packet may be to decapsulate the first data packet according to the Ethernet packet structure, extract the first label information and the first data payload stored in the corresponding fields in the Ethernet packet structure, and then decapsulate the first data packet. A tag information and a first data payload are encapsulated into a corresponding first tag field according to the WiFi frame structure, thereby obtaining a second data packet. In addition, when the first message structure is a WiFi frame structure and the second message structure is an Ethernet message structure, a second datagram based on the second message structure is obtained according to the first data message and the first label information It is also possible to decapsulate the first data packet according to the WiFi frame structure, extract the first label information and the first data payload stored in the corresponding fields in the WiFi frame structure, and then decapsulate the first label information and the first data The payload is encapsulated into the corresponding virtual local area network identification field according to the Ethernet packet structure, thereby obtaining a second data packet.
另外,在一实施例中,参照图4,该无线回传方法还可以包括但不限于有以下步骤:In addition, in an embodiment, referring to FIG. 4 , the wireless backhaul method may further include, but is not limited to, the following steps:
步骤S400,获取基于第二报文结构的第三数据报文,第三数据报文携带有用于区分业务信息的第二标记信息;Step S400, acquiring a third data message based on the second message structure, where the third data message carries second marking information for distinguishing service information;
步骤S500,根据第三数据报文和第二标记信息得到基于第一报文结构的第四数据报文,第四数据报文携带有第二标记信息;Step S500, obtaining a fourth data packet based on the first packet structure according to the third data packet and the second marking information, where the fourth data packet carries the second marking information;
步骤S600,转发第四数据报文。Step S600, forward the fourth data packet.
在一实施例中,第三数据报文可以是AP设备从终端接收的数据报文,可以是当前AP设备从另一个AP设备接收的数据报文,还可以是AP设备从核心网接收的数据报文,本实施例对此并不作具体限定。例如,当第三数据报文为AP设备从终端接收的数据报文时,该第三数据报文的结构为第二报文结构且该第三数据报文携带有第二标记信息。又如,当第三数据报文为AP设备从核心网接收的数据报文时,该第三数据报文的结构为第二报文结构且该第三数据报文携带有第二标记信息。再如,当第三数据报文为当前AP设备从另一个AP设备接收的数据报文时,该第三数据报文的结构为第二报文结构且该第三数据报文携带有第二标记信息。In an embodiment, the third data packet may be a data packet received by the AP device from the terminal, may be a data packet received by the current AP device from another AP device, or may be data received by the AP device from the core network. message, which is not specifically limited in this embodiment. For example, when the third data packet is a data packet received by the AP device from the terminal, the structure of the third data packet is the second packet structure and the third data packet carries the second label information. For another example, when the third data packet is a data packet received by the AP device from the core network, the structure of the third data packet is the second packet structure and the third data packet carries the second label information. For another example, when the third data packet is a data packet received by the current AP device from another AP device, the structure of the third data packet is the second packet structure and the third data packet carries the second packet. Tag information.
在一实施例中,第三数据报文可以有不同的获取途径,本实施例并不对此做具体限定。例如,第三数据报文可以通过有线宽带网络获取,对应的,第二报文结构为以太网报文结构;又如,第三数据报文可以通过WiFi网络获取,对应的,第二报文结构为WiFi帧结构。In an embodiment, the third data packet may be obtained in different ways, which is not specifically limited in this embodiment. For example, the third data packet can be obtained through a wired broadband network, and correspondingly, the second packet has an Ethernet packet structure; for another example, the third data packet can be obtained through a WiFi network, and correspondingly, the second packet has an Ethernet packet structure. The structure is a WiFi frame structure.
在一实施例中,第二标记信息包括但不限于虚拟局域网标识。虚拟局域网标识可以用于对不同用户、不同业务的区分。In one embodiment, the second marking information includes but is not limited to a virtual local area network identifier. The virtual local area network identifier can be used to distinguish different users and different services.
在一实施例中,第二标记信息可以是一个也可以是多个,例如第二标记信息可以是多层虚拟局域网标识,也可以是单层虚拟局域网标识,本实施例并不对此做具体限定。In one embodiment, the second tag information may be one or multiple, for example, the second tag information may be a multi-layer virtual local area network identifier, or a single-layer virtual local area network identifier, which is not specifically limited in this embodiment. .
在一实施例中,第四数据报文可以是AP设备向核心网发送的数据报文,可以是当前AP设备向另一个AP设备发送的数据报文,还可以是AP设备向终端发送的数据报文,本实施例对此并不作具体限定。例如,当第四数据报文为AP设备向核心网发送的数据报文时,该第四数据报文的结构为第一报文结构且该第四数据报文携带有第二标记信息。又如,当第四数据报文为当前AP设备向另一个AP设备发送的数据报文时,该第四数据报文的结构为第一报文结构且该第四数据报文携带有第二标记信息。再如,当第四数据报文为AP设备向终端发送的数据报文时,该第四数据报文的结构为第一报文结构且该第四数据报文携带有第二标记信息。In an embodiment, the fourth data packet may be a data packet sent by the AP device to the core network, may be a data packet sent by the current AP device to another AP device, or may be data sent by the AP device to the terminal. message, which is not specifically limited in this embodiment. For example, when the fourth data packet is a data packet sent by the AP device to the core network, the structure of the fourth data packet is the first packet structure and the fourth data packet carries the second label information. For another example, when the fourth data packet is a data packet sent by the current AP device to another AP device, the structure of the fourth data packet is the first packet structure and the fourth data packet carries the second data packet. Tag information. For another example, when the fourth data packet is a data packet sent by the AP device to the terminal, the structure of the fourth data packet is the first packet structure and the fourth data packet carries the second label information.
在一实施例中,第四报文结构包括第二标记字段,该第二标记字段可以用来携带第二标记信息,例如,当接收到携带有第二标记信息的第三数据报文后,可以通过把第三数据报文中的第二标记信息填写在第一报文结构的第二标记字段,以实现第四数据报文携带第二标记信息的目的。另外,第一报文结构可以为不同的结构类型,本实施例对此并不作具体限定,例如,第一报文结构可以为WiFi帧结构,此时,第二标记字段可以是WiFi帧结构中的保留字段,另外,第二标记信息可以是虚拟局域网标识,通过把该虚拟局域网标识填写在WiFi帧结构中的保留字段,以实现第二标记字段携带该第二标记信息的目的。此外,第一报文结构还可以为以太网报文结构,此时,第二标记字段可以是以太网报文结构中的虚拟局域网标识字段。In one embodiment, the fourth packet structure includes a second tag field, and the second tag field can be used to carry the second tag information. For example, after receiving the third data packet carrying the second tag information, The purpose of carrying the second mark information in the fourth data packet can be achieved by filling in the second mark information in the third data packet in the second mark field of the first packet structure. In addition, the first packet structure may be of different structure types, which is not specifically limited in this embodiment. For example, the first packet structure may be a WiFi frame structure, and in this case, the second flag field may be in the WiFi frame structure In addition, the second marking information can be a virtual local area network identifier, and by filling the virtual local area network identifier in the reserved field in the WiFi frame structure, the purpose of carrying the second marking information in the second marking field is realized. In addition, the first packet structure may also be an Ethernet packet structure, and in this case, the second label field may be a virtual local area network identification field in the Ethernet packet structure.
在一实施例中,第二标记字段可以是WiFi帧结构中的PPDU中的保留字段,还可以是WiFi帧结构中的MPDU中的保留字段,例如,第二标记字段可以是OFDM编码下的PPDU帧结构中的Pad bits字段。In an embodiment, the second marker field may be a reserved field in a PPDU in the WiFi frame structure, or may be a reserved field in an MPDU in the WiFi frame structure, for example, the second marker field may be a PPDU under OFDM coding. Pad bits field in the frame structure.
在一实施例中,当第一报文结构为以太网报文结构,并且第二报文结构为WiFi帧结构时,根据第三数据报文和第二标记信息得到基于第一报文结构的第四数据报文,可以是将第三数据报文按照以太网报文结构进行解封装,提取出存储于以太网报文结构中对应字段的第二标记信息,再将第二标记信息按照WiFi帧结构封装到对应的第二标记字段中,从而得到第四数据报文。另外,当第一报文结构为WiFi帧结构,并且第二报文结构为以太网报文结构时,根据第一数据报文和第一标记信息得到基于第二报文结构的第二数据报文,还可以是将第三数据报文按照WiFi帧结构进行解封装,提取出存储于WiFi帧结构中对应字段的第二标记信息,再将第二标记信息按照以太网报文结构封装到对应的虚拟局域网标识字段中,进而得到第四数据报文。In an embodiment, when the first packet structure is an Ethernet packet structure, and the second packet structure is a WiFi frame structure, the first packet structure-based The fourth data packet may be to decapsulate the third data packet according to the Ethernet packet structure, extract the second tag information stored in the corresponding field in the Ethernet packet structure, and then decapsulate the second tag information according to the WiFi packet structure. The frame structure is encapsulated into the corresponding second tag field, thereby obtaining a fourth data packet. In addition, when the first message structure is a WiFi frame structure and the second message structure is an Ethernet message structure, a second datagram based on the second message structure is obtained according to the first data message and the first label information It is also possible to decapsulate the third data packet according to the WiFi frame structure, extract the second tag information stored in the corresponding field in the WiFi frame structure, and then encapsulate the second tag information into the corresponding field according to the Ethernet packet structure. In the virtual local area network identification field, the fourth data packet is obtained.
另外,在一实施例中,参照图5,步骤S500中的根据第三数据报文和第二标记信息得到基于第一报文结构的第四数据报文,可以包括但不限于有以下步骤:In addition, in an embodiment, referring to FIG. 5 , obtaining the fourth data packet based on the first packet structure according to the third data packet and the second label information in step S500 may include, but is not limited to, the following steps:
步骤S510:获取第三数据报文中的第二标记信息和第二数据载荷;Step S510: acquiring the second marking information and the second data payload in the third data packet;
步骤S520:对第二标记信息和第二数据载荷进行基于第一报文结构的报文封装,得到第四数据报文。Step S520: Perform packet encapsulation based on the first packet structure on the second marking information and the second data payload to obtain a fourth data packet.
在一实施例中,第一报文结构包括第二标记字段,第二标记字段可以用于携带第二标记信息,例如,当第一报文结构为以太网报文结构,第二标记字段可以是以太网报文结构中的虚拟局域网标识字段,第二标记信息可以是虚拟局域网标识,通过将虚拟局域网标识填写在以太网报文结构中的虚拟局域网标识字段,以实现第四数据报文携带有第二标记信息的目的。又如,当第一报文结构为WiFi帧结构,第二标记字段可以是WiFi帧结构中的保留字段,第二标记信息可以是虚拟局域网标识,通过把该虚拟局域网标识填写在WiFi帧结构中的保留字 段,以实现第四数据报文携带该第二标记信息的目的。In an embodiment, the first packet structure includes a second tag field, and the second tag field may be used to carry the second tag information. For example, when the first packet structure is an Ethernet packet structure, the second tag field may be is a virtual local area network identification field in the Ethernet packet structure, and the second tag information can be a virtual local area network identification. There is a second marker for informational purposes. For another example, when the first message structure is a WiFi frame structure, the second tag field may be a reserved field in the WiFi frame structure, and the second tag information may be a virtual local area network identifier, by filling in the virtual local area network identifier in the WiFi frame structure. reserved field, so as to realize the purpose of carrying the second label information in the fourth data packet.
在一实施例中,当第二报文结构为WiFi帧结构,并且第一报文结构为以太网报文结构时,根据第三数据报文和第二标记信息得到基于第一报文结构的第四数据报文,可以是将第三数据报文按照WiFi帧结构进行解封装,提取出存储于WiFi帧结构中对应字段的第二标记信息以及第二数据载荷,再将第二标记信息和第二数据载荷按照以太网报文结构封装到对应的虚拟局域网标识字段中,从而得到第四数据报文。另外,当第二报文结构为以太网报文结构,并且第一报文结构为WiFi帧结构时,根据第三数据报文和第二标记信息得到基于第一报文结构的第四数据报文,还可以是将第三数据报文按照以太网报文结构进行解封装,提取出存储于WiFi帧结构中对应字段的第二标记信息以及第二数据载荷,再将第二标记信息和第二数据载荷按照WiFi帧结构封装到对应的第二标记字段中,进而得到第四数据报文。In one embodiment, when the second packet structure is a WiFi frame structure, and the first packet structure is an Ethernet packet structure, the first packet structure is obtained according to the third data packet and the second label information. The fourth data packet may be decapsulating the third data packet according to the WiFi frame structure, extracting the second label information and the second data payload stored in the corresponding fields in the WiFi frame structure, and then decapsulating the second label information and the second data payload. The second data payload is encapsulated into the corresponding virtual local area network identification field according to the Ethernet packet structure, thereby obtaining a fourth data packet. In addition, when the second message structure is an Ethernet message structure and the first message structure is a WiFi frame structure, a fourth datagram based on the first message structure is obtained according to the third data message and the second label information It is also possible to decapsulate the third data packet according to the Ethernet packet structure, extract the second label information and the second data payload stored in the corresponding fields in the WiFi frame structure, and then decapsulate the second label information and the first data payload. The second data payload is encapsulated into the corresponding second label field according to the WiFi frame structure, thereby obtaining a fourth data packet.
为了更加清楚的说明上述各个实施例中无线回传方法的具体步骤流程,下面以具体的示例进行说明。In order to more clearly describe the specific steps and processes of the wireless backhaul methods in the above embodiments, specific examples are used for description below.
示例一:Example one:
如图6所示,图6是本申请一个具体示例所提供的第一AP设备进行上行数据报文转发处理的流程图,该流程具体为:As shown in FIG. 6, FIG. 6 is a flow chart of forwarding processing of uplink data packets by the first AP device provided by a specific example of the present application, and the flow is specifically:
步骤S101:获取来自有线LAN口的以太网数据报文;Step S101: obtaining an Ethernet data packet from a wired LAN port;
步骤C101:判断接收到的以太网数据报文是否带虚拟局域网标识?若是,执行步骤S102;若否,执行步骤S105;Step C101: Determine whether the received Ethernet data packet has a virtual local area network identifier? If yes, go to step S102; if not, go to step S105;
步骤S102:按以太网报文结构解封装以太网数据报文,获取虚拟局域网标识、数据载荷;Step S102: Decapsulate the Ethernet data packet according to the Ethernet packet structure, and obtain the virtual local area network identifier and data payload;
步骤C102:判断虚拟局域网标识是否为多层?若是,执行步骤S104;若否,执行步骤S103;Step C102: Determine whether the virtual local area network identifier is multi-layered? If yes, go to step S104; if not, go to step S103;
步骤S103:将虚拟局域网标识填入WiFi帧结构中的PPDU或MPDU帧结构中的保留字段,执行步骤S105;Step S103: Fill the virtual local area network identifier into the reserved field in the PPDU or MPDU frame structure in the WiFi frame structure, and perform step S105;
步骤S104:将多个虚拟局域网标识依次填入WiFi帧结构中的PPDU或MPDU帧结构中的保留字段,执行步骤S105;Step S104: Fill multiple virtual local area network identifiers into the reserved fields in the PPDU or MPDU frame structure of the WiFi frame structure in turn, and perform step S105;
步骤S105:按WiFi帧结构封装,获得WiFi数据报文;Step S105: Encapsulate according to the WiFi frame structure to obtain a WiFi data packet;
步骤S106:将WiFi数据报文向无线LAN口转发;Step S106: forwarding the WiFi data packet to the wireless LAN port;
步骤S107:本次上行数据报文转发处理流程结束。Step S107 : the current upstream data packet forwarding processing flow ends.
示例二:Example two:
如图7所示,图7是本申请另一个具体示例所提供的第二AP设备进行上行数据报文转发处理的流程图,该流程具体为:As shown in FIG. 7 , FIG. 7 is a flowchart of the uplink data packet forwarding processing performed by the second AP device provided by another specific example of the present application, and the flowchart is specifically:
步骤S201:获取来自无线LAN口的WiFi数据报文;Step S201: obtaining WiFi data packets from a wireless LAN port;
步骤C201:判断接收到的WiFi数据报文是否带虚拟局域网标识?若是,执行步骤S202;若否,执行步骤S205;Step C201: Determine whether the received WiFi data packet has a virtual local area network identifier? If yes, go to step S202; if not, go to step S205;
步骤S202:按WiFi数据报文结构解封装以太网数据报文,获取虚拟局域网标识、数据载荷;Step S202: Decapsulate the Ethernet data packet according to the WiFi data packet structure, and obtain the virtual local area network identifier and data payload;
步骤C202:判断虚拟局域网标识是否为多层?若是,执行步骤S204;若否,执行步骤S203;Step C202: Determine whether the VLAN ID is multi-layered? If yes, go to step S204; if not, go to step S203;
步骤S203:将虚拟局域网标识填入以太网报文结构中的虚拟局域网标识字段,执行步骤 S205;Step S203: Fill the virtual local area network identifier into the virtual local area network identifier field in the Ethernet packet structure, and execute step S205;
步骤S204:将多个虚拟局域网标识依次填入以太网报文结构中的虚拟局域网标识字段,执行步骤S205;Step S204: Fill multiple virtual local area network identifiers into the virtual local area network identifier field in the Ethernet packet structure in turn, and execute step S205;
步骤S205:按以太网报文结构封装,获得以太网数据报文;Step S205: Encapsulate according to the Ethernet packet structure to obtain an Ethernet data packet;
步骤S206:将以太网数据报文向有线WAN口转发;Step S206: forwarding the Ethernet data packet to the wired WAN port;
步骤S207:本次上行数据报文转发处理流程结束。Step S207: the current upstream data packet forwarding processing flow ends.
示例三:Example three:
如图8所示,图8是本申请一个具体示例所提供的第二AP设备进行下行数据报文转发处理的流程图,该流程具体为:As shown in FIG. 8 , FIG. 8 is a flowchart of a second AP device performing downlink data packet forwarding processing provided by a specific example of the present application, and the process is specifically:
步骤S301:获取来自有线WAN口的以太网数据报文;Step S301: obtaining an Ethernet data packet from a wired WAN port;
步骤C301:判断接收到的以太网数据报文是否带虚拟局域网标识?若是,执行步骤S302;若否,执行步骤S305;Step C301: Determine whether the received Ethernet data packet has a virtual local area network identifier? If yes, go to step S302; if not, go to step S305;
步骤S302:按以太网报文结构解封装以太网数据报文,获取虚拟局域网标识、数据载荷;Step S302: Decapsulate the Ethernet data packet according to the Ethernet packet structure, and obtain the virtual local area network identifier and data payload;
步骤C302:判断虚拟局域网标识是否为多层?若是,执行步骤S304;若否,执行步骤S303;Step C302: Determine whether the VLAN ID is multi-layered? If yes, go to step S304; if not, go to step S303;
步骤S303:将虚拟局域网标识填入WiFi帧结构中的PPDU或MPDU帧结构中的保留字段,执行步骤S305;Step S303: Fill the virtual local area network identifier into the reserved field in the PPDU or MPDU frame structure in the WiFi frame structure, and perform step S305;
步骤S304:将多个虚拟局域网标识依次填入WiFi帧结构中的PPDU或MPDU帧结构中的保留字段,执行步骤S305;Step S304: Fill multiple virtual local area network identifiers into the reserved fields in the PPDU or MPDU frame structure of the WiFi frame structure in turn, and perform step S305;
步骤S305:按WiFi帧结构封装,获得WiFi数据报文;Step S305: Encapsulate according to the WiFi frame structure to obtain the WiFi data packet;
步骤S306:将WiFi数据报文向无线LAN口转发;Step S306: forwarding the WiFi data packet to the wireless LAN port;
步骤S307:本次下行数据报文转发处理流程结束。Step S307: The current downlink data packet forwarding processing flow ends.
示例四:Example four:
如图9所示,图9是本申请另一个具体示例所提供的第一AP设备进行下行数据报文转发处理的流程图,该流程具体为:As shown in FIG. 9 , FIG. 9 is a flowchart of the downlink data packet forwarding processing performed by the first AP device provided by another specific example of the present application, and the flowchart is specifically:
步骤S401:获取来自无线LAN口的WiFi数据报文;Step S401: obtaining WiFi data packets from a wireless LAN port;
步骤C401:判断接收到的WiFi数据报文是否带虚拟局域网标识?若是,执行步骤S402;若否,执行步骤S205;Step C401: Determine whether the received WiFi data packet has a virtual local area network identifier? If yes, go to step S402; if not, go to step S205;
步骤S402:按WiFi数据报文结构解封装以太网数据报文,获取虚拟局域网标识、数据载荷;Step S402: Decapsulate the Ethernet data packet according to the WiFi data packet structure, and obtain the virtual local area network identifier and data payload;
步骤C402:判断虚拟局域网标识是否为多层?若是,执行步骤S404;若否,执行步骤S403;Step C402: Determine whether the VLAN ID is multi-layered? If yes, go to step S404; if not, go to step S403;
步骤S403:将虚拟局域网标识填入以太网报文结构中的虚拟局域网标识字段,执行步骤S405;Step S403: Fill the virtual local area network identifier into the virtual local area network identifier field in the Ethernet packet structure, and execute step S405;
步骤S404:将多个虚拟局域网标识依次填入以太网报文结构中的虚拟局域网标识字段,执行步骤S405;Step S404: Fill multiple virtual local area network identifiers into the virtual local area network identifier field in the Ethernet packet structure in turn, and execute step S405;
步骤S405:按以太网报文结构封装,获得以太网数据报文;Step S405: Encapsulate according to the Ethernet packet structure to obtain an Ethernet data packet;
步骤S406:将以太网数据报文向有线LAN口转发;Step S406: forwarding the Ethernet data packet to the wired LAN port;
步骤S407:本次下行数据报文转发处理流程结束。Step S407: The current downlink data packet forwarding processing flow ends.
另外,本申请的一个实施例还提供了一种无线回传装置,该装置包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序。In addition, an embodiment of the present application also provides a wireless backhaul device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor.
处理器和存储器可以通过总线或者其他方式连接。The processor and memory may be connected by a bus or otherwise.
存储器作为一种非暂态计算机可读存储介质,可用于存储非暂态软件程序以及非暂态性计算机可执行程序。此外,存储器可以包括高速随机存取存储器,还可以包括非暂态存储器,例如至少一个磁盘存储器件、闪存器件、或其他非暂态固态存储器件。在一些实施方式中,存储器可包括相对于处理器远程设置的存储器,这些远程存储器可以通过网络连接至该处理器。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。As a non-transitory computer-readable storage medium, the memory can be used to store non-transitory software programs and non-transitory computer-executable programs. Additionally, the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some implementations, the memory may include memory located remotely from the processor, which may be connected to the processor through a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
需要说明的是,本实施例中的无线回传装置,可以包括有如图1所示实施例中的系统架构,本实施例中的无线回传装置和如图1所示实施例中的系统架构属于相同的发明构思,因此这些实施例具有相同的实现原理以及技术效果,此处不再详述。It should be noted that the wireless backhaul apparatus in this embodiment may include the system architecture in the embodiment shown in FIG. 1 , the wireless backhaul apparatus in this embodiment and the system architecture in the embodiment shown in FIG. 1 . Since they belong to the same inventive concept, these embodiments have the same realization principle and technical effect, and will not be described in detail here.
实现上述实施例的无线回传方法所需的非暂态软件程序以及指令存储在存储器中,当被处理器执行时,执行上述实施例中的无线回传方法,例如,执行以上描述的图3中的方法步骤S100至S300、图4中的方法步骤S210至S220、图5中的方法步骤S400至S600、图6中的方法步骤S510至S520。The non-transitory software programs and instructions required to implement the wireless backhaul method of the above embodiment are stored in the memory, and when executed by the processor, the wireless backhaul method in the above embodiment is executed, for example, the above-described FIG. 3 is executed method steps S100 to S300 in FIG. 4 , method steps S210 to S220 in FIG. 4 , method steps S400 to S600 in FIG. 5 , and method steps S510 to S520 in FIG. 6 .
另外,本申请的一个实施例还提供了一种接入设备,该接入设备包括有如上述实施例所提及的无线回传装置。该接入设备能够获取基于第一报文结构的且携带有用于区分业务信息的第一标记信息的第一数据报文,接着根据该第一数据报文和该第一标记信息得到基于第二报文结构的且携带有该第一标记信息的第二数据报文,然后将该第二数据报文转发,其中,第一报文结构与第二报文结构不相同,因此,可以使得使用第二报文结构的传输网络能够利用应用于使用第一报文结构的传输网络的第一标记信息进行业务信息的区分,从而达到能够对多种用户和多种业务进行区分,以满足终端业务的多样性要求的目的。In addition, an embodiment of the present application further provides an access device, where the access device includes the wireless backhaul apparatus mentioned in the foregoing embodiment. The access device can acquire a first data packet based on the first packet structure and carrying first label information for distinguishing service information, and then obtain a second data packet based on the first data packet and the first label information. A second data message with a message structure and carrying the first label information, and then forward the second data message, wherein the structure of the first message is different from the structure of the second message. Therefore, it is possible to use The transmission network of the second message structure can use the first label information applied to the transmission network using the first message structure to distinguish service information, so that it can distinguish multiple users and multiple services to meet the needs of terminal services. the purpose of the diversity requirement.
以上所描述的装置实施例仅仅是示意性的,其中作为分离部件说明的单元可以是或者也可以不是物理上分开的,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The apparatus embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
此外,本申请的一个实施例还提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机可执行指令,该计算机可执行指令被一个处理器或控制器执行,例如,被上述装置实施例或设备实施例中的一个处理器执行,可使得上述处理器执行上述实施例中的无线回传方法,例如,图3中的方法步骤S100至S300、图4中的方法步骤S210至S220、图5中的方法步骤S400至S600、图6中的方法步骤S510至S520。In addition, an embodiment of the present application also provides a computer-readable storage medium, where the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are executed by a processor or controller, for example, by the above-mentioned Executed by a processor in the apparatus embodiment or the device embodiment, the above-mentioned processor can execute the wireless backhaul method in the above-mentioned embodiment, for example, the method steps S100 to S300 in FIG. 3 and the method steps S210 to S210 in FIG. 4 S220 , method steps S400 to S600 in FIG. 5 , and method steps S510 to S520 in FIG. 6 .
本申请实施例包括:获取基于第一报文结构的第一数据报文,第一数据报文携带有用于区分业务信息的第一标记信息;根据第一数据报文和第一标记信息得到基于第二报文结构的第二数据报文,第一报文结构与第二报文结构不相同,第二数据报文携带有第一标记信息;转发第二数据报文。根据本申请实施例提供的方案,通过获取基于第一报文结构的且携带有用于区分业务信息的第一标记信息的第一数据报文,接着根据该第一数据报文和该第一标记信息得到基于第二报文结构的且携带有该第一标记信息的第二数据报文,然后将该第二数据报文转发,其中,第一报文结构与第二报文结构不相同,因此,可以使得使用第二报文结构的传输网络能够利用应用于使用第一报文结构的传输网络的第一标记信息进行业务信息的区分,从而达到能够对多种用户和多种业务进行区分,以满足终端业务的多样性要求的目的。The embodiments of the present application include: acquiring a first data packet based on a first packet structure, where the first data packet carries first label information for distinguishing service information; obtaining a first data packet based on the first data packet and the first label information In the second data message of the second message structure, the first message structure is different from the second message structure, and the second data message carries the first label information; the second data message is forwarded. According to the solution provided by the embodiment of the present application, by acquiring the first data packet based on the first packet structure and carrying the first label information for distinguishing service information, and then according to the first data packet and the first label obtaining a second data message based on the second message structure and carrying the first marking information, and then forwarding the second data message, wherein the first message structure is different from the second message structure, Therefore, the transmission network using the second message structure can use the first label information applied to the transmission network using the first message structure to distinguish the service information, so that it can distinguish multiple users and multiple services. , in order to meet the diversity requirements of terminal services.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统可以被实施为软件、固件、硬件及其适当的组合。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。Those of ordinary skill in the art can understand that all or some of the steps and systems in the methods disclosed above can be implemented as software, firmware, hardware, and appropriate combinations thereof. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit . Such software may be distributed on computer-readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). As is known to those of ordinary skill in the art, the term computer storage media includes both volatile and nonvolatile implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data flexible, removable and non-removable media. Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, magnetic tape, magnetic disk storage or other magnetic storage devices, or may Any other medium used to store desired information and which can be accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and can include any information delivery media, as is well known to those of ordinary skill in the art .
以上是对本申请的一些实施进行了具体说明,但本申请并不局限于上述实施方式,熟悉本领域的技术人员在不违背本申请范围的前提下还可做出种种的等同变形或替换,这些等同的变形或替换均包含在本申请权利要求所限定的范围内。The above is a specific description of some implementations of the present application, but the present application is not limited to the above-mentioned embodiments. Those skilled in the art can also make various equivalent modifications or replacements without departing from the scope of the present application. Equivalent modifications or substitutions are included within the scope defined by the claims of the present application.

Claims (10)

  1. 一种无线回传方法,包括:A wireless backhaul method, comprising:
    获取基于第一报文结构的第一数据报文,所述第一数据报文携带有用于区分业务信息的第一标记信息;acquiring a first data message based on the first message structure, where the first data message carries first marking information for distinguishing service information;
    根据所述第一数据报文和所述第一标记信息得到基于第二报文结构的第二数据报文,所述第一报文结构与所述第二报文结构不相同,所述第二数据报文携带有所述第一标记信息;A second data message based on a second message structure is obtained according to the first data message and the first label information, the first message structure is different from the second message structure, and the first message structure is different from the second message structure. Two data packets carry the first marking information;
    转发所述第二数据报文。forwarding the second data packet.
  2. 根据权利要求1所述的无线回传方法,其中,所述根据所述第一数据报文和所述第一标记信息得到基于第二报文结构的第二数据报文,包括:The wireless backhaul method according to claim 1, wherein the obtaining a second data packet based on the second packet structure according to the first data packet and the first label information comprises:
    获取所述第一数据报文中的所述第一标记信息和第一数据载荷;acquiring the first marking information and the first data payload in the first data message;
    根据所述第一标记信息和所述第一数据载荷进行基于第二报文结构的报文封装,得到第二数据报文。Perform packet encapsulation based on the second packet structure according to the first label information and the first data payload to obtain a second data packet.
  3. 根据权利要求1或2所述的无线回传方法,其中,所述第二报文结构包括第一标记字段,所述第一标记字段携带有所述第一标记信息。The wireless backhaul method according to claim 1 or 2, wherein the second packet structure includes a first marker field, and the first marker field carries the first marker information.
  4. 根据权利要求1所述的无线回传方法,还包括:The wireless backhaul method according to claim 1, further comprising:
    获取基于所述第二报文结构的第三数据报文,所述第三数据报文携带有用于区分业务信息的第二标记信息;acquiring a third data message based on the second message structure, where the third data message carries second marking information for distinguishing service information;
    根据所述第三数据报文和所述第二标记信息得到基于所述第一报文结构的第四数据报文,所述第四数据报文携带有所述第二标记信息;obtaining a fourth data packet based on the first packet structure according to the third data packet and the second marking information, where the fourth data packet carries the second marking information;
    转发所述第四数据报文。forwarding the fourth data packet.
  5. 根据权利要求4所述的无线回传方法,其中,所述根据所述第三数据报文和所述第二标记信息得到基于所述第一报文结构的第四数据报文,包括:The wireless backhaul method according to claim 4, wherein the obtaining a fourth data packet based on the first packet structure according to the third data packet and the second label information comprises:
    获取所述第三数据报文中的所述第二标记信息和第二数据载荷;acquiring the second marking information and the second data payload in the third data packet;
    对所述第二标记信息和所述第二数据载荷进行基于所述第一报文结构的报文封装,得到第四数据报文。Perform packet encapsulation based on the first packet structure on the second marking information and the second data payload to obtain a fourth data packet.
  6. 根据权利要求4或5所述的无线回传方法,其中,所述第一报文结构包括第二标记字段,所述第二标记字段携带有所述第二标记信息。The wireless backhaul method according to claim 4 or 5, wherein the first packet structure includes a second marker field, and the second marker field carries the second marker information.
  7. 根据权利要求1所述的无线回传方法,其中,所述第一报文结构为以太网报文结构,所述第二报文结构为WiFi帧结构。The wireless backhaul method according to claim 1, wherein the first message structure is an Ethernet message structure, and the second message structure is a WiFi frame structure.
  8. 一种无线回传装置,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述计算机程序时实现如权利要求1至7中任意一项所述的无线回传方法。A wireless backhaul device, comprising: a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor implements any one of claims 1 to 7 when the processor executes the computer program A wireless backhaul method as described.
  9. 一种接入设备,包括有如权利要求8所述的无线回传装置。An access device, comprising the wireless backhaul apparatus according to claim 8.
  10. 一种计算机可读存储介质,存储有计算机可执行指令,其中,所述计算机可执行指令用于使计算机执行如权利要求1至7任意一项所述的无线回传方法。A computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to cause a computer to execute the wireless backhaul method according to any one of claims 1 to 7.
PCT/CN2021/124432 2020-11-11 2021-10-18 Wireless backhaul method, device thereof, access device, and computer-readable storage medium WO2022100373A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011256558.8 2020-11-11
CN202011256558.8A CN114501399A (en) 2020-11-11 2020-11-11 Wireless backhaul method and apparatus, access device, and computer-readable storage medium

Publications (1)

Publication Number Publication Date
WO2022100373A1 true WO2022100373A1 (en) 2022-05-19

Family

ID=81490083

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/124432 WO2022100373A1 (en) 2020-11-11 2021-10-18 Wireless backhaul method, device thereof, access device, and computer-readable storage medium

Country Status (2)

Country Link
CN (1) CN114501399A (en)
WO (1) WO2022100373A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102348139A (en) * 2010-07-30 2012-02-08 中兴通讯股份有限公司 Multi-service hybrid microwave transmission method, apparatus and system thereof
CN102546118A (en) * 2012-03-12 2012-07-04 国家广播电影电视总局广播电视规划院 Service forwarding and priority mapping method for China-data over cable system interface specification (C-DOCSIS) system
CN106789538A (en) * 2017-01-20 2017-05-31 福建三元达网络技术有限公司 A kind of wireless backhaul method and system of compatible existing network
WO2017100394A1 (en) * 2015-12-11 2017-06-15 Idac Holdings, Inc. Methods and apparatus for common transport of backhaul and fronthaul traffic
CN111586803A (en) * 2019-02-15 2020-08-25 华为技术有限公司 Communication method and related equipment

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101836396B (en) * 2008-02-04 2012-05-30 中兴通讯股份有限公司 An apparatus and method for making WLAN devices accessing WiMAX network
CN101547137A (en) * 2008-03-27 2009-09-30 华为技术有限公司 Method and device for sending data and communication equipment
US8743711B2 (en) * 2009-12-15 2014-06-03 Intel Corporation Techniques for managing heterogeneous traffic streams
CN103795627B (en) * 2012-10-30 2017-08-18 华为技术有限公司 Three layers of local retransmission method and equipment
US9014069B2 (en) * 2012-11-07 2015-04-21 Qualcomm Incorporated Methods and apparatus for communication mode selection based on content type
CN104838622A (en) * 2013-11-26 2015-08-12 华为技术有限公司 Method and device for forwarding packet in data-over-cable service interface specification system
CN110266592B (en) * 2019-06-21 2021-07-30 Ut斯达康通讯有限公司 Communication method and device for SRV6 network and IP MPLS network
CN110380970B (en) * 2019-07-22 2020-10-13 北京邮电大学 Self-adaptive data message forwarding method and device suitable for heterogeneous network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102348139A (en) * 2010-07-30 2012-02-08 中兴通讯股份有限公司 Multi-service hybrid microwave transmission method, apparatus and system thereof
CN102546118A (en) * 2012-03-12 2012-07-04 国家广播电影电视总局广播电视规划院 Service forwarding and priority mapping method for China-data over cable system interface specification (C-DOCSIS) system
WO2017100394A1 (en) * 2015-12-11 2017-06-15 Idac Holdings, Inc. Methods and apparatus for common transport of backhaul and fronthaul traffic
CN106789538A (en) * 2017-01-20 2017-05-31 福建三元达网络技术有限公司 A kind of wireless backhaul method and system of compatible existing network
CN111586803A (en) * 2019-02-15 2020-08-25 华为技术有限公司 Communication method and related equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
MOTOROLA MOBILITY: "WiFi Offload Strategies and Analysis", 3GPP TSG-RAN WG2#83 R2-132468 , 23 August 2013 (2013-08-23), pages 1 - 4, XP009536809 *

Also Published As

Publication number Publication date
CN114501399A (en) 2022-05-13

Similar Documents

Publication Publication Date Title
US20200389397A1 (en) Methods and apparatus for use in providing transport and data center segmentation in a mobile network
CN107079015B (en) System and method for stream-based addressing in a mobile environment
US10263916B2 (en) System and method for message handling in a network device
WO2019242747A1 (en) Data packet sending and receiving method and device and data packet transmission system
WO2017215401A1 (en) Message processing method and device
US8917625B2 (en) Mapping quality of service (QOS) from a wireless network to a wired network
US9130859B1 (en) Methods and apparatus for inter-virtual local area network multicast services
WO2017193758A1 (en) Method, device and system for data transmission
US20150195197A1 (en) Service Function Chaining in a Packet Network
CN114503526B (en) Method and apparatus for routing and bearer mapping configuration
WO2018059313A1 (en) Data transmission method and related device
CN109660460B (en) BIER-TE information processing method, server and storage medium
CN112511988B (en) Message forwarding method, device, system, network device and storage medium
CN107196834B (en) Message processing method and device
CN102724118A (en) Label distribution method and device
CN107645433B (en) Message forwarding method and device
CN110858822B (en) Media access control security protocol message transmission method and related device
WO2021174943A1 (en) Data forwarding method and apparatus, and device and storage medium
CN110089146B (en) Device shaping in a communication network
WO2022048441A1 (en) Application data transmission method, system, and electronic device
CN105577501A (en) Lower-hanging equipment network access communication realization method of private network client terminal equipment and apparatus thereof
CN104754521B (en) A kind of message forwarding method, wireless access point, wireless controller and system
US11234163B1 (en) Dynamic eCPRI header compression
WO2022100373A1 (en) Wireless backhaul method, device thereof, access device, and computer-readable storage medium
CN105763659A (en) IPv6 tunneling packet encapsulation method and system

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: 21890900

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21890900

Country of ref document: EP

Kind code of ref document: A1