WO2018099221A1 - 传输数据包的方法和设备 - Google Patents

传输数据包的方法和设备 Download PDF

Info

Publication number
WO2018099221A1
WO2018099221A1 PCT/CN2017/108021 CN2017108021W WO2018099221A1 WO 2018099221 A1 WO2018099221 A1 WO 2018099221A1 CN 2017108021 W CN2017108021 W CN 2017108021W WO 2018099221 A1 WO2018099221 A1 WO 2018099221A1
Authority
WO
WIPO (PCT)
Prior art keywords
information unit
length
delimiter
field
information
Prior art date
Application number
PCT/CN2017/108021
Other languages
English (en)
French (fr)
Inventor
于健
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP17877108.5A priority Critical patent/EP3537641B1/en
Publication of WO2018099221A1 publication Critical patent/WO2018099221A1/zh
Priority to US16/423,191 priority patent/US10904121B2/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0045Arrangements at the receiver end
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • H04L43/0847Transmission error
    • 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/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0006Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format
    • H04L1/0007Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format by modifying the frame length
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0041Arrangements at the transmitter end
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0061Error detection codes
    • 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/0079Formats for control data
    • 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
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • 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
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Definitions

  • the present application relates to the field of communications and, more particularly, to a method and apparatus for transmitting data packets.
  • an Access Point (AP) and a Station (STA) perform data, control information, and a Medium Access Control (MAC) Protocol Data Unit (MPDU). Management information interaction.
  • AP Access Point
  • STA Station
  • MAC Medium Access Control
  • MPDU Protocol Data Unit
  • A-MPDUs Aggregate MPDUs
  • PPDU Physical Protocol Protocol Data Unit
  • the receiving device such as STA adds low power consumption in addition to the 802.11 main radio (MR) including the traditional 802.11 transceiver.
  • WUR Wake up Receiver
  • the Wake sends a Wake Up Packet (WUP) to the WUR, and the WUR wakes up the 802.11 main transceiver module, and the AP communicates with the 802.11 main transceiver module.
  • WUP Wake Up Packet
  • the WUR Wake Up Packet
  • the WUR wakes up the 802.11 main transceiver module
  • the AP communicates with the 802.11 main transceiver module. This can effectively reduce the energy consumption of the device in idle listening. Since the WUP is usually short and its information bits are transmitted for a long time, the information needs to be separated by a separator. Since the MPDU separator is long and expensive, it is inefficient for transmission in the WUP.
  • the data packet rate is low, and the data field usually carries less data, only a few bytes to tens of bytes. Using the MPDU separator will also This leads to large overhead and affects transmission efficiency.
  • the present invention provides a method and a device for transmitting a data packet, which can reduce the overhead caused by the delimiter, reduce the complexity of the receiving device, and improve the transmission efficiency under the premise of implementing the function of the delimiter.
  • a method for transmitting a data packet comprising: receiving, by a receiving device, a data packet, the data packet comprising at least one pair of delimiters and information units, the delimiter separating two adjacent information units , the separator
  • the cyclic redundancy code field and the information unit type field are included.
  • the information unit type field is used to indicate the type of the information unit, and one type of information unit uniquely corresponds to the length of one information unit;
  • the device parses the information element according to the cyclic redundancy code field and the information element type field.
  • the method for transmitting a data packet provided by the first aspect adopts a more concise format of the delimiter, reduces the overhead of the delimiter under the premise of completing the delimiter, saves resources, improves transmission efficiency, and reduces The complexity of the receiving device.
  • the receiving device parses the information unit according to the cyclic redundancy code field and the information unit type field, including: determining, by using the cyclic redundancy code field, the data packet a first delimiter; determining a length of the first information unit according to a type of the first information unit corresponding to the information unit type field in the first delimiter; according to the type of the first information unit and the first information unit The length of the first information unit is parsed.
  • the receiving device parses the information unit according to the cyclic redundancy code field and the information unit type field, including: determining that the data packet does not pass the cyclic redundancy code field check a first delimiter, the length of the first delimiter is Z bits; the content of the Z-bit length in the data packet is sequentially extracted backward through the sliding window, and the data packet is determined to be adjacent to the first delimiter and passes through the loop a second delimiter of the redundancy code field check; extracting a first information unit between the first delimiter and the second delimiter; determining a type of the first information unit according to a length of the first information unit, Or determining a type of the first information unit according to a length of the first information unit and a subtype field in the first information unit indicating the first information unit type; according to the type of the first information unit and the first The length of an information unit parses the first information unit.
  • the delimiter in the data packet received by the receiving device, the delimiter further includes a length field, where the length field is used to indicate the pair of delimiters and information units. a length of the information unit, the receiving device parses the information unit according to the cyclic redundancy code field and the information unit type field, including: receiving, by the receiving device, at least one of the information unit type field and the length field, and the cyclic redundancy A code field that parses the information element.
  • the method for transmitting a data packet provided by the implementation manner adopts a more concise delimiter format, and a length field for indicating the length of the information unit is added to the delimiter, which can enhance the robustness of the delimiter and reduce Receive device complexity, enhance the recoverability of the separator, reduce the overhead of the separator, and improve the transmission efficiency.
  • the receiving device parses the information unit according to at least one of the information unit type field and the length field, and the cyclic redundancy code field, including: determining the data packet a first delimiter verified by a cyclic redundancy code field; according to a length of an information element corresponding to an information element type field in the first delimiter and a length of an information element indicated by the length field in the first delimiter Any one of the first information unit is extracted; and the first information unit is parsed according to the length of the first information unit and the type of the first information unit indicated by the information unit type field in the first delimiter.
  • the receiving device parses the information unit according to at least one of the information unit type field and the length field, and the cyclic redundancy code field, including: determining the identifier a first delimiter that is not verified by a cyclic redundancy code field, the length of the first delimiter being R bits; when the length of the information element corresponding to the information element type field in the first delimiter and the first separation When the length of the information unit indicated by the length field corresponds to the length of the information unit corresponding to the information unit type field in the first delimiter, or the length of the information unit indicated by the length field in the first delimiter , extracting information elements, and extracting
  • the information unit performs frame check sequence verification; when the length of the information unit corresponding to the information unit type field in the first delimiter does not correspond to the length of the information unit indicated by the length field in the first delimiter, Extracting, by the first delimiter, a length of the information unit corresponding to the information unit type field
  • the receiving device parses the information unit according to the frame check sequence verification result, including: determining an information unit that is verified by the frame check sequence; and the information unit that is to be verified Determining, by the first information unit, a type of the first information unit, or determining a length of the first information unit according to the length of the first information unit and the first information unit a subtype field of an information unit type, determining a type of the first information unit; parsing the first information unit according to a type of the first information unit and a length of the first information unit.
  • the receiving device parses the information unit according to the frame check sequence verification result, including: determining that the information unit is not verified by the frame check sequence; and sequentially backward through the sliding window Extracting a content of length R bits in the data packet, determining a second delimiter in the data packet adjacent to the first delimiter and verified by the cyclic redundancy code field; extracting the first delimiter and the second delimiter a first information unit between the symbols; determining a type of the first information unit according to a length of the first information unit, or according to a length of the first information unit and indicating the first in the first information unit The subtype field of the information unit type determines the type of the first information unit; and parses the first information unit according to the type of the first information unit and the length of the first information unit.
  • a method for transmitting a data packet comprising: a transmitting device generating a data packet, the data packet including at least one pair of delimiters and information units, the delimiter separating two adjacent information a unit, the delimiter includes a cyclic redundancy code field and an information unit type field.
  • the information unit type field is used to indicate the type of the information unit, and one type of information unit uniquely corresponds to one information. The length of the unit; the sending device sends the packet.
  • the method for transmitting a data packet provided by the second aspect adopts a more concise format of the delimiter, reduces the overhead of the delimiter under the premise of completing the delimiter, saves resources, improves transmission efficiency, and reduces The complexity of the receiving device.
  • the delimiter in the data packet generated by the sending device, the delimiter further includes a length field, where the length field is used to indicate the information in each pair of delimiters and information units. The length of the unit.
  • the information unit in the data packet generated by the sending device, when the length of one information unit corresponds to at least two types of information units, the information unit further includes A subtype field of the information unit type.
  • a method for transmitting a data packet comprising: receiving, by a receiving device, a data packet, the data packet comprising at least one pair of delimiters and information units, the delimiter separating two adjacent information a unit that includes only a cyclic redundancy code field; the receiving device parses the information element according to the cyclic redundancy code field.
  • the receiving device parses the information unit according to the cyclic redundancy code field, including: determining two consecutive delimiters in the delimiter that are verified by the cyclic redundancy code field; Parse the contents of the information element between the two consecutive separators.
  • determining that the delimiter is verified by a cyclic redundancy code field Two consecutive delimiters, including: determining a first delimiter in the delimiter that is verified by the cyclic redundancy code field; and sequentially extracting a fixed length of the data packet in the data packet through the sliding window; determining the data packet The first delimiter is adjacent and the second delimiter is verified by the cyclic redundancy code field.
  • a fourth aspect provides a method for transmitting a data packet, the method comprising: a transmitting device generating a data packet, the data packet including at least one pair of delimiters and information units, the delimiter separating two adjacent information Unit, the delimiter only includes the cyclic redundancy code field; the transmitting device sends the data packet.
  • a receiving device comprising a transceiver and a processor for implementing the function of receiving device behavior in the above aspect.
  • the functions may be implemented by hardware or by corresponding software implemented by hardware, and the hardware or software includes one or more modules corresponding to the above functions.
  • the receiving device can also include a memory.
  • a receiving device including a transceiver module and a processing module, for supporting a receiving device to perform a corresponding function in the foregoing method.
  • the receiving device may also include a storage module.
  • a transmitting device including a processor and a transceiver, for implementing the function of transmitting device behavior in the above aspect.
  • the functions may be implemented by hardware or by corresponding software implemented by hardware, and the hardware or software includes one or more modules corresponding to the above functions.
  • the transmitting device can also include a memory.
  • a transmitting device including a processing module and a transceiver module, configured to support a transmitting device to perform a corresponding function in the foregoing method.
  • the transmitting device can also include a storage module.
  • a communication system comprising the receiving device provided in the fifth aspect or the sixth aspect, and the transmitting device provided in the seventh or eighth aspect.
  • the communication system can perform the method of transmitting a data packet provided by the first aspect and the second aspect described above.
  • a tenth aspect a computer readable medium for storing a computer program, the computer program comprising any one of the possible implementations of the first aspect or the first aspect, the third aspect or the third An instruction of a method in any of the possible implementations of the aspect.
  • a computer readable medium for storing a computer program, the computer program comprising any one of the possible implementations of the second aspect or the second aspect, the fourth aspect or the An instruction of a method in any of the possible implementations of the four aspects.
  • FIG. 1 is a schematic diagram of a typical application scenario of a WLAN.
  • FIG. 2 is a schematic diagram of the format of an existing data packet.
  • FIG. 3 is a schematic diagram of the format of an existing MPDU delimiter.
  • FIG. 4 is a schematic flowchart of a method for transmitting a data packet according to an embodiment of the present application.
  • Figure 5 is a schematic illustration of the format of a packet and a separator in one embodiment of the present application.
  • FIG. 6 is a schematic diagram of a data packet and a separator format of another embodiment of the present application.
  • FIG. 7 is a schematic flowchart of a method for transmitting a data packet according to another embodiment of the present application.
  • FIG. 8 is a schematic diagram of a format of a data packet and a separator according to still another embodiment of the present application.
  • FIG. 9 is a schematic diagram of the format of a data packet and a separator in still another embodiment of the present application.
  • FIG. 10 is a schematic block diagram of a receiving device according to an embodiment of the present application.
  • FIG. 11 is a schematic block diagram of a receiving device of another embodiment of the present application.
  • FIG. 12 is a schematic block diagram of a receiving device according to an embodiment of the present application.
  • FIG. 13 is a schematic block diagram of a receiving device of another embodiment of the present application.
  • FIG. 14 is a schematic block diagram of a transmitting device according to an embodiment of the present application.
  • FIG. 15 is a schematic block diagram of a transmitting device of another embodiment of the present application.
  • FIG. 16 is a schematic block diagram of a transmitting device according to an embodiment of the present application.
  • FIG. 17 is a schematic block diagram of a transmitting device of another embodiment of the present application.
  • GSM Global System of Mobile communication
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • GPRS General Packet Radio Service
  • LTE Long Term Evolution
  • FDD Frequency Division Duplex
  • TDD Time Division Duplex
  • UMTS Universal Mobile Telecommunication System
  • WLAN Wireless Local Area Networks
  • WiMAX Worldwide Interoperability for Microwave Access
  • 5G future 5th Generation
  • NR New Radio
  • the embodiment of the present application is only described by taking a WLAN system as an example, but the embodiment of the present application is not limited thereto.
  • the method and apparatus according to embodiments of the present application are also applicable to other communication systems.
  • the embodiment of the present application is only described by using an AP and a STA in a WLAN system as an example, but the application is not limited thereto, and the method and device according to the embodiment of the present application may also be applied to a base station in other communication systems.
  • User equipment User equipment.
  • the stations in the embodiments of the present application may be a terminal device, a user equipment, an access terminal, a subscriber unit, a subscriber station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile device, a user terminal, a terminal, a wireless communication device, and a user.
  • Agent or user device may also be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), with wireless communication.
  • SIP Session Initiation Protocol
  • WLL Wireless Local Loop
  • PDA Personal Digital Assistant
  • the access point in this embodiment of the present application may be a network device of a device for communicating with a terminal device, and the network device may be a Global System of Mobile communication (GSM) system or a code division multiple access (Code Division Multiple) Base Transceiver Station (BTS) in Access, CDMA), which may also be a base station (NodeB, NB) in a Wideband Code Division Multiple Access (WCDMA) system, or an evolution in an LTE system.
  • GSM Global System of Mobile communication
  • BTS code division multiple access
  • CDMA Code Division Multiple Access
  • NodeB, NB base station
  • WCDMA Wideband Code Division Multiple Access
  • a type of base station (Evolutional NodeB, eNB or eNodeB), which may also be a wireless controller in a Cloud Radio Access Network (CRAN) scenario, or the network device may be a relay station, an in-vehicle device, a wearable device, and a future
  • the network device in the 5G network or the network device in the PLMN network in the future is not limited in this embodiment.
  • FIG. 1 is a schematic diagram of an application scenario of the embodiment of the present application.
  • the embodiment of the present application has no limitation on both ends of the sending and receiving, and may be point-to-point communication, or may be point-to-multipoint or Multiple point-to-point communication.
  • the method for transmitting a data packet in the embodiment of the present application may be applied between an AP and an AP, or between an STA and an STA, or between an AP and an STA. That is, the AP may be a receiving device or a sending device.
  • the STA may be a receiving device or a sending device. For example, when AP1 and STA1, between AP1 and STA2, between STA1 and STA2, and between AP1 and AP2, the method for transmitting data packets implemented by the present application can be applied.
  • the embodiment of the present application is only described by using the application scenario shown in FIG. 1 as an example, but the application is not limited thereto.
  • the system may include more APs and STAs.
  • FIG. 2 is a schematic diagram of a data packet format in the 802.11ac standard
  • FIG. 3 is a schematic diagram of an MPDU delimiter format in the 802.11ac system.
  • an A-MPDU carries multiple A-MPDU subframes and an End of frame pad (EOF pad), such as A-MPDU subframe 1, A-MPDU. Subframe 2, ... A-MPDU subframe n, etc.
  • the A-MPDU subframe can usually be variable length, and the end frame padding is usually 0-3 bytes.
  • MPDU delimiter MPDU
  • the MPDU separator is used to separate multiple aggregated MPDUs.
  • the MPDU delimiter is 4 bytes long
  • the MPDU length is variable
  • the length of the padding part is 0- 3 bytes.
  • the MPDU delimiter in the 802.11ac system has a total of 4 bytes, and the MPDU delimiter includes an End of frame (EOF) field, an MPDU length field, a Delimiter Signature field, and Cyclic Redundancy Code (CRC) field and reserved field (Reserved) field.
  • EEF End of frame
  • MPDU length field is used to indicate whether the MPDU is the last MPDU, and is generally 1 bit.
  • the MPDU Length field is used to indicate the number of bytes of the immediately following MPDU, typically 14 bits.
  • the delimiter signature field is a sequence with certain characteristics, generally 8 bits, which is used to help the receiver search for the delimiter.
  • the Cyclic Redundancy Code field protects the first 16 bits of the entire delimiter to help the receiving end detect if the delimiter has an error, typically 8 bits.
  • the reserved bit field is typically 1 bit.
  • delimiters including MPDU length and CRC, or other combinations of MPDU length and CRC.
  • delimiters including MPDU length and CRC, or other combinations of MPDU length and CRC.
  • FIG. 4 is a schematic flowchart of a method 100 for transmitting a data packet according to an embodiment of the present application.
  • the method 100 can be applied to the scenario in FIG. 1 .
  • it can also be applied to other communication scenarios.
  • it may be a structure in which a delimiter and an information unit exist in some signaling fields.
  • the method 100 includes:
  • the sending device generates a data packet, where the data packet includes at least one pair of delimiters and information units, where the delimiter is used to separate two adjacent information units, where the delimiter includes a cyclic redundancy code field and an information unit type field.
  • the information element type field is used to indicate the type of the information unit, and one type of information unit uniquely corresponds to the length of one information unit.
  • the sending device sends the data packet.
  • the receiving device receives the data packet, and specifically, the sending device sends the data packet to the receiving device.
  • the receiving device receives the data packet sent by the sending device.
  • the receiving device parses the content of the information unit in the data packet according to the cyclic redundancy code and the information unit type field.
  • the method for transmitting a data packet in the embodiment of the present application adopts a more concise format of the delimiter, and reduces the overhead of the delimiter under the premise of completing the delimiter function, saves resources, improves transmission efficiency, and reduces The complexity of the receiving device.
  • FCS Frame Check Sequence
  • a field called FCS which is generally used to check the entire MAC frame, such as a check signaling field or a delimiter, is called a CRC. Therefore, in the embodiment of the present application, the frame check sequence and the cyclic redundancy code may be interchanged, that is, the delimiter may also include a cyclic frame check sequence field and an information unit type field, which is not limited herein.
  • the delimiter may include any one of an end frame, a reserved bit, a site or an identification information of an access point, or the like, in addition to the cyclic redundancy code field and the information unit type field.
  • the embodiments of the present application are not limited herein.
  • FIG. 5 is a schematic diagram of a data packet and a separator format according to an embodiment of the present application, where the data packet includes a legacy preamble (L-Preamble) and a wake-up preamble (Wake-up Preamble, W). -Preamble), multiple pairs of separators and information units.
  • L-Preamble is used to guarantee the coexistence of data transmitted with the general primary link.
  • the W-Preamble is generally used for receiving devices for wake-up packet detection, signaling information reading, and the like.
  • the delimiters in the packet include a cyclic redundancy code field and an information element type field. For a pair of delimiters and information elements, the delimiter is determined by verifying the cyclic redundancy code field.
  • the cyclic redundancy code field protects the information element type field, and the cyclic redundancy code is calculated based on the information in the information unit type field.
  • the receiving device can determine whether the information element type field is correctly received by checking the cyclic redundancy code field.
  • the information unit may be a MAC frame, such as a data frame, a beacon frame, or an acknowledgment frame, or may be a field of the physical layer, which is not limited herein.
  • the delimiter acts to separate multiple information units. In each pair of delimiters and information units, an information element type field is used to indicate the type of subsequent information unit. Also, one type of information unit uniquely corresponds to the length of one information unit. That is to say, for a particular information element type field, a specific type of information unit may be indicated, and for a certain type of information unit, the length of an information unit corresponding to the information unit of the type may be uniquely determined. Therefore, the information unit type field does not indicate the length of the subsequent information unit, which can significantly reduce the overhead of the separator.
  • the preamble in the data packet may also be other preambles, or may have multiple preambles.
  • it may be an Internet of Things preamble or the like for the transmission of the Internet of Things site, and the embodiment of the present application is not limited herein.
  • a fixed location of the information element in the data packet generated by the transmitting device may also have a subtype field indicating the type of the information element, the subtype field being used to determine Information unit type.
  • the receiving device receives the information element including such a subtype type field.
  • the format of the data packet and the separator shown in FIG. 5, the information unit type field, the type of the information unit that belongs to the pair of the information unit type field, and the length of the information unit A mapping relationship can be as shown in Table 1.
  • Table 1 uses the 4-bit information element type field to indicate the type of different information elements in 16 and the length of the information unit.
  • Table 1 is merely a mapping relationship for indicating the existence between them, and they may be other mapping relationships between them.
  • the embodiment of the application is not limited to this
  • the length of the information element type field and the length of the cyclic redundancy code field may also be the length of other bits, and the type of the information unit may also be other types.
  • the length of the information unit can also be other lengths.
  • the information unit type field of 8 bits or more may be used to map the type of the information unit, which is not limited herein.
  • the receiving device parses the content of the information unit in the data packet according to the cyclic redundancy code and the information unit type field, and may include:
  • Step 1 Determine a first delimiter in the data packet that is verified by the cyclic redundancy code field.
  • Step 2 Determine a length of the first information unit according to a type of the first information unit corresponding to the information unit type field in the first delimiter.
  • Step 3 Parse the first information unit according to the type of the first information unit and the length of the first information unit.
  • the receiving device After receiving the data packet sent by the sending device, the receiving device starts to parse the content of the information unit in the data packet. Since the content of an information unit is parsed, it is necessary to know the type and length of this information unit. After receiving the correct delimiter, the receiving device may determine the type of the information unit according to the information unit type field in the delimiter, and determine the information unit according to the length of the corresponding information unit corresponding to the information unit of the type. The length so that the content of the information element can be parsed.
  • the first delimiter and the first information unit represent a class of delimiters and information units, that is, delimiters and information units belonging to the same pair in the data packet, and the cyclic redundancy code field of the delimiter Pass the check, so
  • the delimiter is called the first delimiter, and such a unit of information is called the first information unit, and there should be no restriction on the number of delimiters and information units.
  • the receiving end device when the receiving device receives the data packet, the receiving end device first checks whether the CRC-1 in the separator 1 passes, and when the CRC-1 check in the separator 1 passes, the delimiter is proved. 1 is a correct delimiter, and then according to the information unit type field 1 in the separator 1, for example, as shown in Table 1, the information unit type field 1 is 0001, it can be determined that the type of the information unit 1 is an acknowledgement frame Then, depending on the type of the information unit 1, the length of the information unit 1 can be determined. Thus, the receiving device knows the length and type of the information unit 1, and the content of the information unit 1 can be correctly parsed. Then, the receiving device continues to parse the content of the information unit 2 according to the information unit type field 2 and CRC-2 in the separator 2 in the same manner.
  • the receiving device parses the content of the information unit in the data packet according to the cyclic redundancy code and the information unit type field, and may include:
  • Step 1 Determine that the first delimiter is not verified by the cyclic redundancy code field in the data packet, and the length of the first delimiter is Z bits.
  • step 2 the content of the Z-bit length in the data packet is sequentially extracted backward through the sliding window, and the second delimiter adjacent to the first delimiter and verified by the cyclic redundancy code field in the data packet is determined.
  • Step 3 Extract a first information element between the first delimiter and the second delimiter.
  • Step 4 Determine, according to the length of the first information unit, a type of the first information unit, or according to a length of the first information unit and a subtype field in the first information unit that is used to indicate the first information unit type. , determining the type of the first information unit.
  • Step 5 Parse the first information unit according to the type of the first information unit and the length of the first information unit.
  • the receiving device after receiving the data packet sent by the sending device, when the receiving device transmits the cyclic redundancy code check of the first delimiter in the data packet, it cannot determine whether this is a correct delimiter, and therefore The content of the first information element that is paired with the delimiter cannot be parsed according to the cyclic redundancy code field and the information unit type field in the first delimiter. In this case, it is necessary to find the next second delimiter adjacent to the first delimiter and verified by the cyclic redundancy code.
  • the first information unit optionally, after sliding the window, after the first information unit,
  • the content whose packet length is the length of the first delimiter is sequentially extracted until a second delimiter adjacent to the first delimiter in the packet and verified by the cyclic redundancy code is found. Extracting the information unit between the first delimiter and the second delimiter is considered to be the first information unit. Since a type of information unit uniquely corresponds to the length of one information unit, when a length information unit can uniquely determine one type of information unit, that is, the type of the information unit and the length of the information unit have a one-to-one correspondence. In this way, the type of the first information unit can be reversed according to the length of the first information unit, and the first information unit can be parsed.
  • the type of the first information unit is determined, and then the content of the first information unit is parsed according to the type of the first information unit and the length of the first information unit. If the cyclic redundancy code of the next delimiter does not pass the check, the content of the next information element is parsed in the same way.
  • first delimiter and the second delimiter described above represent two types of delimiters, and no limitation should be placed on the number of delimiters.
  • the length of the content extracted in the data packet by using the sliding window may also be other lengths, which is not limited herein.
  • the receiving device when the receiving device receives the data packet sent by the sending device, the receiving device first checks whether the CRC-1 in the separator 1 passes, wherein the length of the separator 1 is Z bits, when separating When the CRC-1 check fails in the character 1, it is not possible to determine whether the separator 1 is a correct separator. Therefore, the information unit 1 cannot be parsed according to the information unit type field 1 and CRC-1 in the separator 1. Content. At this time, the receiving device can use the sliding window to sequentially extract the content of the packet length of Z bits after the information unit 1, until the second packet in the data packet adjacent to the separator 1 and verified by the cyclic redundancy code is found. Separator.
  • the second delimiter here may be a separator 2, or another delimiter, and then extract the information element between the delimiter 1 and the second delimiter, which is considered to be information unit 1.
  • the type of the information unit and the length of the information unit are in a one-to-one correspondence, the type of the information unit 1 can be reversed according to the length of the information unit 1, and the content of the first information unit can be parsed.
  • the type of the information unit 1 cannot be uniquely deduced based on the information unit 1 having a length of 20 bytes. At this time, it is necessary to according to the length of the information unit 1 and the subtype field for indicating the type of the information unit existing in the information unit 1.
  • the first bit to the third bit in the information unit 1 further indicates that the information unit is a control frame, so that the type of the information unit 1 can be determined, and then according to the type of the information unit 1 and the length of the information unit 1, The content of the information unit 1 is parsed. If the cyclic redundancy code of the next delimiter does not pass the check, the content of the next information element is parsed in the same way.
  • the delimiter since the delimiter includes a cyclic redundancy code field and an information unit type field, the format of the delimiter is more concise, the cost of the delimiter can be effectively reduced, resources are saved, and the resource is improved. The efficiency of the system.
  • the separator may further include a length field.
  • the length field is used to indicate the information unit. length.
  • the receiving device parses the content of the information unit in the data packet according to the cyclic redundancy code and the information unit type field, and may include: the receiving device according to the information unit type field and the length field At least one, and the cyclic redundancy code field, parsing the information element.
  • FIG. 6 is a schematic diagram of a data packet and a separator format according to another embodiment of the present application.
  • the receiving device receives a data packet sent by a sending device, where a separator includes an information unit.
  • Type field, length field and cyclic redundancy code field For a pair of delimiters and cyclic redundancy codes, it is determined whether the delimiter is correct by checking the cyclic redundancy code, and the cyclic redundancy code field protects the information unit type.
  • Field and length fields In each pair of delimiters and information units, the information element type field is used to indicate the type of the subsequent information unit, and one type of information unit uniquely corresponds to the length of one information unit.
  • the length field is also used to indicate the length of the subsequent information unit.
  • the method for transmitting a data packet in the embodiment of the present application can enhance the robustness of the delimiter by adopting a more concise format of the delimiter and adding a length field for indicating the length of the information element in the delimiter. Sex, reduce the complexity of the receiving device, enhance the recoverability of the separator, and reduce the overhead of the separator.
  • the format of the data packet and the delimiter the length of the information unit type field is 4 bits, and the length of the length field is also 4 bits, which is protected by the cyclic redundancy code field. It is an information element type field and a length field, so the cyclic redundancy code field has a length of 8 bits.
  • the embodiment of the present application is only described by taking the length of the information unit type field as 4 bits and the length field as 4 bits as an example, but the embodiment of the present application is Not limited to this.
  • the length of the information unit type field and the length of the length field may also be other bits.
  • the length of the information unit type field and the length field may also be 5 bits. Or 6 bits, the embodiment of the present application does not limit here.
  • the length of the information unit type field and the length of the length field may also be different.
  • the information unit type field may have a length of 5 bits
  • the length field may have a length of 6 bits.
  • the length of the cyclic redundancy code field may not be the sum of the length of the length field and the information unit type field, which is not limited herein.
  • the relationship between the length field and the length of the information unit may be the same as the mapping relationship between the information unit type field and the information unit length in Table 1, or may be other correspondences.
  • the length field can indicate the length of the information unit that belongs to the same pair of the length field, the embodiment of the present application is not limited herein.
  • the receiving device parses the information unit according to at least one of the information unit type field and the length field, and the cyclic redundancy code field, including:
  • Step 1 Determine a first delimiter in the data packet that is verified by the cyclic redundancy code field.
  • Step 2 Extract the first information unit according to any one of a length of the information unit corresponding to the information unit type field in the first delimiter and a length of the information unit indicated by the length field in the first delimiter.
  • Step 3 Parse the content of the first information unit according to the length of the first information unit and the type of the first information unit indicated by the information unit type field in the first delimiter.
  • the receiving device After receiving the data packet sent by the sending device, the receiving device starts detecting the correct delimiter in the data packet, and when the cyclic redundancy code field of the delimiter in the data packet is verified, the receiving device considers that the packet is received.
  • a correct delimiter the type of the information unit may be determined according to the information unit type field in the delimiter, and the length is determined according to the length of the information unit corresponding to the type, or according to the length of the information unit corresponding to the length field. The length of the information unit. Knowing the length of the information unit and the type of the information unit, the content of the information unit can be parsed.
  • the receiving device When the receiving device receives the data packet sent by the sending device, the format of the data packet is as shown in FIG. 6.
  • the receiving device first checks whether the CRC-1 in the separator 1 passes, and the CRC-1 check in the separator 1 passes.
  • Proof separator 1 Is a correct delimiter, and then according to the information unit type field 1 in the separator 1, for example, as shown in Table 1, the information unit type field 1 is 0001, it can be determined that the type of the information unit 1 is an acknowledgement frame,
  • the length of the information unit 1 is then determined according to the type of the information unit 1, or according to the length of the information unit indicated by the length field 1 in the separator.
  • the receiving device knows the length and type of the information unit 1, and the content of the information unit 1 can be correctly parsed.
  • the receiving device continues to parse the contents of the information unit 2 according to the separator 2 and the CRC-2 in the same manner.
  • the receiving device parses the information unit according to at least one of the information unit type field and the length field, and the cyclic redundancy code field, including:
  • Step 1 Determine the first delimiter in the delimiter that is not verified by the cyclic redundancy code field.
  • Step 2 when the length of the information unit corresponding to the information unit type field in the first delimiter corresponds to the length of the information unit indicated by the length field in the first delimiter, according to the information in the first delimiter And extracting the information unit from any one of the length of the information unit corresponding to the unit type field and the length of the information unit indicated by the length field in the first delimiter, and performing frame check sequence verification on the extracted information unit.
  • the information unit is extracted from the length of the information unit corresponding to the field and the length of the information unit indicated by the length field in the first delimiter, and frame check sequence verification is performed on the extracted information unit.
  • step 3 the information unit is parsed according to the frame check sequence verification result.
  • the receiving device after receiving the data packet sent by the sending device, when the receiving device fails to pass the cyclic redundancy check of the first delimiter in the data packet, it cannot determine whether this is a correct delimiter, and thus cannot
  • the content of the first information element paired with the delimiter is parsed according to the cyclic redundancy code field and the information unit type field and the length field in the first delimiter. In this case, it is not necessary to immediately start the sliding window to find the next delimiter, but to determine the length of the information unit corresponding to the information unit type field in the first delimiter and the information unit indicated by the length field in the first delimiter. Whether the length corresponds to, for example, whether the length of the information unit corresponding to the information unit type field in the first delimiter and the length of the information unit indicated by the length field in the first delimiter are determined by detecting.
  • the length of the information unit corresponding to the information unit type field in the first delimiter corresponds to the length of the information unit indicated by the length field in the first delimiter, that is, the information corresponding to the information unit type field in the first delimiter
  • the length of the unit and the length of the information element indicated by the length field in the first separator are equal. At this time, it is not yet determined whether the information unit is a correct information unit. Therefore, it is also necessary to perform frame check sequence verification on the information unit. Since only the length of the information unit is known, it is necessary to extract the information unit of the length for verification. According to the verification result, it is judged whether the information unit is a correct information unit.
  • the length of the information unit corresponding to the information unit type field in the first delimiter does not correspond to the length of the information unit indicated by the length field in the first delimiter, that is, the information corresponding to the information unit type field in the first delimiter
  • the length of the unit is not equal to the length of the information unit indicated by the length field in the first delimiter. In this case, it is also impossible to determine whether the information unit is a correct information unit, and the information unit needs to be frame-calibrated.
  • the verification of the sequence since the length of the information unit corresponding to the information unit type field and the length of the information unit indicated by the length field are not equal, it is necessary to perform frame check sequence verification on the information units extracted according to the two fields, according to the verification result. Go to judge Whether the information unit is a correct information unit.
  • the receiving device When the receiving device receives the data packet sent by the sending device, the format of the data packet is as shown in FIG. 6.
  • the receiving device first checks whether the CRC-1 in the separator 1 passes, and the CRC-1 check in the separator 1 If it is not passed, it is proved that the separator 1 is not a correct separator.
  • the length of the information unit corresponding to the information unit type field 1 in the separator 1 and the length of the information unit indicated by the length field 1 in the separator 1 are detected. Is it equal? When the two lengths are equal, it is not yet determined whether the information unit of the length is a correct information unit. Therefore, it is also necessary to perform frame check sequence verification on the information unit of the length. Therefore, it is necessary to extract the information unit of the length for verification.
  • the verification result it is judged whether the information unit is a correct information unit.
  • the two lengths are not equal, it is necessary to separately perform frame check sequence verification on the information units extracted according to the two lengths, and determine whether the information unit is a correct information unit according to the verification result.
  • parsing the information unit according to the frame check sequence verification result may include:
  • any one of the information units that are verified by the information unit is determined as the first information unit
  • the first information unit is parsed according to the type of the first information unit and the length of the first information unit.
  • the length of the information unit corresponding to the information unit type field in the first delimiter corresponds to the length of the information unit indicated by the length field in the first delimiter, that is, the length of the information unit is only one, therefore,
  • the frame check sequence of the information unit extracted according to the length is verified to pass, it is proved that the information unit is a correct information unit, and the information unit is determined as the first information unit, that is, the information unit corresponding to the first separator.
  • the type of the first information unit can be deduced based on the length of the first information unit.
  • the information unit does not include a field indicating the type of the information unit, or when the information unit of one length corresponds to at least two types of information units, according to the length of the first information unit and the first information unit A subtype field for indicating the first information unit type, determining a type of the first information unit. At this time, the length and type of the first information unit are determined, and the content of the first information unit can be parsed.
  • the length of the information unit corresponding to the information unit type field in the first delimiter does not correspond to the length of the information unit indicated by the length field in the first delimiter, there are two length information units, and therefore, The information unit extracted according to the two lengths is respectively subjected to frame check sequence verification.
  • the correct information unit determines any one of the information units as the first information unit, such that, according to the method corresponding to the length of the information unit corresponding to the information unit type field and the length of the information unit indicated by the first minute length field, Parsing the content of the first information unit.
  • the following takes the format of the data packet and the separator shown in FIG. 6 as an example to describe step 3 in the method S130 of the embodiment of the present application: the information unit is parsed according to the frame check sequence verification result.
  • the receiving device detects that the length of the information unit corresponding to the information unit type field 1 in the separator 1 and the length of the information unit indicated by the length field 1 in the separator 1 are equal, and the frame check sequence of the information unit extracted according to the length When the verification is passed. It can be determined that the information unit is the letter unit 1, the receiving device roots the length of the information unit 1, or a subtype field for indicating the type of the information unit 1 existing in the fixed position in the information unit 1, and determines the type of the information unit 1. So that the content of information unit 1 can be parsed.
  • the receiving device When the receiving device detects that the length of the information unit corresponding to the information unit type field 1 in the separator 1 and the length of the information unit indicated by the length field 1 in the separator 1 are not equal, and the two information units extracted according to the two lengths
  • the frame checksum is verified by the pass or when there is a pass. Any one of the over-verified information units may be determined as the information unit 1, the receiving device roots the length of the information unit 1, or a sub-type indicating the type of the information unit 1 existing in the fixed position in the information unit 1.
  • the field determines the type of the information unit 1, so that the content of the information unit 1 can be parsed.
  • parsing the information unit according to the frame check sequence verification result may further include:
  • the content of the R bit in the data packet is sequentially extracted backward through the sliding window, and the data packet is determined to be adjacent to the first separator and verified by the cyclic redundancy code field.
  • a second separator wherein the first separator has a length of R bits
  • the first information unit is parsed according to the type of the first information unit and the length of the first information unit.
  • the sliding window needs to be started to find the next separator.
  • the length of the content extracted backward through the sliding window may be the length of the first separator, that is, R bits, Understand, you can also extract content of other lengths.
  • the receiving device can compare the length field.
  • the content of the information unit can be parsed more quickly.
  • the cyclic redundancy check of the delimiter fails, avoiding immediately starting the sliding window to find the next delimiter can enhance the robustness of the delimiter and reduce the complexity of the receiving device.
  • the seperacy of the separator is enhanced and the cost of the separator is reduced.
  • the above various embodiments of the present application are directed to the case where, in each pair of delimiters and information units, one type of information unit uniquely corresponds to the length of one information unit.
  • the length indication may be introduced at a fixed position in the information unit, for example, when the information unit type field indicates that the type of the information unit is a data frame. , but the length of the data frame is not unique, then you need A fixed location in the information unit (e.g., the first byte of the data frame) further indicates the length of the data frame so that the length of the data frame can be determined to resolve the contents of the data frame.
  • the length of the information unit of some type may be designed to be different from the length of other types of information units, or may be at the length.
  • the fixed field of the information element further indicates the type of the information element, such that the type of the information unit of the length can be determined, and the content of the information element can be resolved.
  • FIG. 7 is a schematic flowchart of a method 200 for transmitting a data packet according to an embodiment of the present application.
  • the method 200 includes:
  • the sending device generates a data packet, where the data packet includes at least one pair of delimiters and information units, where the delimiter is used to separate two adjacent information units, and the delimiter includes only a cyclic redundancy code field.
  • the sending device sends the data packet.
  • the receiving device receives the data packet.
  • the transmitting device transmits the data packet to the receiving device.
  • the receiving device receives the data packet sent by the sending device.
  • the receiving device parses the content of the information unit in the data packet according to the cyclic redundancy code field.
  • the delimiter since the method for transmitting information in the embodiment of the present application adopts a more concise format of the delimiter, the delimiter includes only the cyclic redundancy code field, and the cost of the delimiter is reduced on the premise of completing the delimiter function. It saves resources, improves transmission efficiency, and reduces the complexity of the receiving device.
  • the FCS is also a cyclic redundancy code. Since this CRC is used to detect MAC frames, it is also called FCS. Generally, the CRC is used to check the entire MAC frame, such as the FCS, the check signaling field or the delimiter. Therefore, in the embodiment of the present application, the frame check sequence and the cyclic redundancy code can be interchanged. The embodiment is not limited herein.
  • FIG. 8 or FIG. 9 is a schematic diagram of a format of the data packet and the delimiter
  • the data packet includes an L-Preamble, a W-Preamble, a plurality of pairs of delimiters, and an information unit.
  • L-Preamble is used to guarantee the coexistence of data transmitted with the general primary link.
  • W-Preamble is generally used for receiving devices for wake-up packet detection, signaling information reading, and the like.
  • the delimiter in the packet includes only the cyclic redundancy code field, and the cyclic redundancy code field protects the content of the information unit, not the separator itself.
  • the delimiter determines if the delimiter is correct by verifying the cyclic redundancy code field.
  • the information unit may be a MAC frame, such as a data frame, a beacon frame, or an acknowledgment frame, or may be a field of the physical layer, which is not limited herein.
  • the delimiter acts to separate multiple information units. For a pair of separators and information elements, as shown in FIG. 8, the separator may be in front of the information unit, or the separator as shown in FIG. 9 may be behind the information unit.
  • the cyclic redundancy code field has a length of 4 bits.
  • the length of the cyclic redundancy code field may also be the length of other bits.
  • the embodiments of the present application are not limited herein.
  • the preamble in the data packet may be other preambles or multiple preambles.
  • it may be an Internet of Things preamble or the like for the transmission of the Internet of Things site, and the embodiment of the present application is not limited herein.
  • the receiving device parses the content of the information unit in the data packet according to the cyclic redundancy code, and may include:
  • Step 1 Determine two consecutive delimiters in the delimiter that are verified by the cyclic redundancy code field.
  • Step 2 parsing the content of the information unit between the two consecutive separators.
  • the receiving device After receiving the data packet sent by the sending device, the receiving device starts to parse the content of the information unit in the data packet. Since the information units are separated by a separator, it is necessary to find a unit of information between two consecutive separators in order to resolve the contents of the information unit. Since the delimiter only includes the cyclic redundancy code field, it is necessary to find the consecutive two delimiters by the cyclic redundancy code field check to determine the information unit between the two delimiters, so that the two can be parsed. The content of the information unit between the separators.
  • the receiving device determines two consecutive delimiters in the delimiter that are verified by the cyclic redundancy code field, and may include:
  • Step 1 Determine the first delimiter in the delimiter that is verified by the cyclic redundancy code field.
  • step 2 the fixed length content in the data packet is sequentially extracted backward through the sliding window.
  • Step 3 Determine a second delimiter in the data packet that is adjacent to the first delimiter and verified by the cyclic redundancy code field.
  • the receiving device first checks the cyclic redundancy code field of the delimiter, and when the cyclic redundancy code field of the delimiter passes the check, determines that the delimiter is the first delimiter; otherwise, Continue to verify the cyclic redundancy code of the delimiter until the first delimiter verified by the cyclic redundancy code field is found, and then the sliding length window is used to sequentially extract the fixed length content of the data packet until the data packet is found. a second delimiter that is verified by the cyclic redundancy code field and adjacent to the first delimiter, so that the first delimiter and the second delimiter are determined, and the information unit between the two delimiters can be parsed The content is gone.
  • the first delimiter and the second delimiter described above represent two types of class delimiters, and there should be no limitation on the number of delimiters and information units.
  • the first delimiter is a delimiter for the packet to be verified by the cyclic redundancy code field
  • the second delimiter is a delimiter adjacent to the first delimiter and verified by the cyclic redundancy code field.
  • the first separator and the second separator may be a plurality of separators or a separator.
  • the receiving device when the receiving device receives the data packet sent by the sending device, the receiving device first checks whether the CRC-1 in the separator 1 passes, and when the CRC-1 check in the separator 1 passes, the separation is proved.
  • the character 1 is a correct delimiter, and then the fixed-length content is sequentially extracted backward from the information unit 1 through the sliding window until it is found adjacent to the CRC-1 in the data packet, and is calibrated by the cyclic redundancy code field.
  • the delimiter is assumed to be CRC-2, so that information unit 1 between CRC-1 and CRC-2 can be extracted and the content of the information unit 1 can be parsed.
  • the length of the CRC-1 field is X bits
  • the length of the information element 1 is Y bits
  • X+Y is made into a complete number of bytes, because in a Wireless Fidelity (WiFi) system, usually It is in bytes. If it is less than one byte, it is usually padded. Therefore, as shown in Figure 7, when CRC-1 is 4 bits, the length of information element 1 can be integer byte + 4 bits. .
  • the length of the information unit 1 is a complete number of bytes.
  • the fixed length may be the sum of the lengths of the CRC-1 and the information unit 1.
  • the method for transmitting a data packet in the embodiment of the present application adopts a more concise delimiter format, and the delimiter only includes a cyclic redundancy code field, and reduces the overhead of the delimiter under the premise of completing the delimiter function. It saves resources, improves transmission efficiency, and reduces the complexity of the receiving device.
  • the receiving device and the transmitting device of the embodiments of the present application will be described in detail below.
  • FIG. 10 shows a schematic block diagram of a receiving device 300 in accordance with one embodiment of the present application. As shown in FIG. 10, the receiving device 300 includes:
  • the transceiver 310 is configured to receive a data packet, where the data packet includes at least one pair of delimiters and information units, where the delimiter is used to separate two adjacent information units, where the delimiter includes a cyclic redundancy code field and an information unit.
  • a type field, in each pair of delimiters and information units, the information unit type field is used to indicate the type of the information unit, and one type of information unit uniquely corresponds to the length of one information unit.
  • the processor 320 is configured to parse the information unit according to the cyclic redundancy code field and the information unit type field received by the transceiver 310.
  • the receiving device provided by the embodiment of the present application adopts a more concise delimiter format in the data packet received by the receiving device, and reduces the overhead of the delimiter under the premise of completing the delimiter, thereby saving resources. Improves transmission efficiency and reduces the complexity of the receiving device.
  • the storage device 300 may further include a memory 330.
  • the memory 330 can be used to store code or the like executed by the processor 320.
  • the various components in receiving device 300 are coupled together by a bus system 340, which in addition to the data bus includes a power bus, a control bus, and a status signal bus.
  • a bus system 340 which in addition to the data bus includes a power bus, a control bus, and a status signal bus.
  • the above method embodiments of the present application may be applied to a processor or implemented by a processor.
  • the processor may be an integrated circuit chip with signal processing capabilities.
  • each step of the foregoing method embodiment may be completed by an integrated logic circuit of hardware in a processor or an instruction in a form of software.
  • the above processor may be a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or the like.
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • FPGA field programmable gate array
  • Programming logic devices, discrete gates or transistor logic devices, discrete hardware components The methods, steps, and logical block diagrams disclosed in the embodiments of the present application can be implemented or executed.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the steps of the method disclosed in the embodiments of the present application may be directly implemented by the hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor.
  • the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory, and the processor reads the information in the memory and combines the hardware to complete the steps of the above method.
  • the processor 320 is specifically configured to: determine a first delimiter in the data packet that is verified by the cyclic redundancy code field; and according to the information unit type field in the first delimiter Determining a length of the first information unit according to a type of the first information unit; and according to a type of the first information unit and a length of the first information unit, Parsing the first information unit.
  • the processor 320 is specifically configured to: determine, in the data packet, that the first delimiter is not verified by the cyclic redundancy code field, and the length of the first delimiter is Z bits; The window sequentially extracts the content of the Z-bit length in the data packet, and determines a second delimiter in the data packet adjacent to the first delimiter and verified by the cyclic redundancy code field; extracting the first delimiter and a first information unit between the second delimiters; determining a type of the first information unit according to a length of the first information unit, or according to a length of the first information unit and an indication in the first information unit The subtype field of the first information unit type determines the type of the first information unit; and parses the first information unit according to the type of the first information unit and the length of the first information unit.
  • the identifier in the data packet received by the transceiver 310, the identifier further includes a length field, where the length field is used to indicate the information unit in each pair of delimiters and information units.
  • the processor 320 is specifically configured to: parse the information unit according to the transceiver 310 receiving at least one of the information element type field and the length field, and the cyclic redundancy code field.
  • the processor 320 is specifically configured to: determine a first delimiter in the data packet that is verified by the cyclic redundancy code field; and according to the information unit type field in the first delimiter Extracting, by the length of the information unit and any one of the lengths of the information units indicated by the length field in the first delimiter, the first information unit; according to the length of the first information unit and the information unit type in the first delimiter The type of the first information unit indicated by the field, parsing the first information unit.
  • the processor 320 is specifically configured to: determine, in the delimiter, a first delimiter that is not verified by a cyclic redundancy code field, where the length of the first delimiter is R bits; And corresponding to the information unit type field in the first delimiter, when the length of the information unit corresponding to the information unit type field in the first delimiter corresponds to the length of the information unit indicated by the length field in the first delimiter
  • the length of the information unit, or the length of the information element indicated by the length field in the first delimiter extracts the information unit, and performs frame check sequence verification on the extracted information unit; when the information is related to the first delimiter And when the length of the information unit corresponding to the unit type field does not correspond to the length of the information unit indicated by the length field in the first delimiter, according to the length of the information unit corresponding to the information unit type field in the first delimiter
  • the length of the information unit indicated by the length field in the first delimiter respectively extracts the information unit,
  • the processor 320 is specifically configured to: determine an information unit that is verified by the frame check sequence; determine any one of the information units that are verified by using the first information unit, according to the Determining a type of the first information unit, or determining the first according to a length of the first information unit and a subtype field in the first information unit indicating the first information unit type The type of the information unit; parsing the first information unit according to the type of the first information unit and the length of the first information unit.
  • the processor 320 is specifically configured to: determine that the information unit is not verified by the frame check sequence; and sequentially extract the content of the R packet in the data packet by using a sliding window, and determine a second delimiter in the data packet adjacent to the first delimiter and verified by the cyclic redundancy code field; extracting a first information element between the first delimiter and the second delimiter; Determining the first information unit according to the length of the information unit, or determining the first information according to the length of the first information unit and the subtype field in the first information unit for indicating the first information unit type The type of the unit; parsing the first information unit according to the type of the first information unit and the length of the first information unit.
  • the processor 320 may process the module by implementation.
  • the memory 330 can be implemented by a storage module.
  • the receiving device 400 can include a transceiver module 410, a processing module 420, and a storage module 430.
  • the receiving device 300 shown in FIG. 10 or the receiving device 400 shown in FIG. 11 can implement the various processes implemented in the foregoing embodiments shown in FIG. 4, and details are not described herein again to avoid repetition.
  • FIG. 12 shows a schematic block diagram of a receiving device 500 of one embodiment of the present application. As shown in FIG. 12, the receiving device 500 includes:
  • the transceiver 510 is configured to receive a data packet, where the data packet includes at least one pair of delimiters and information units, where the delimiter is used to separate two adjacent information units, and the delimiter includes only a cyclic redundancy code field;
  • the processor 520 is configured to parse the information unit according to the cyclic redundancy code field received by the transceiver 510.
  • the receiving device provided by the embodiment of the present application adopts a more concise format of the delimiter in the data packet received by the receiving device, and the delimiter only includes the cyclic redundancy code field, and reduces the role of the delimiter.
  • the overhead of the separator saves resources, improves transmission efficiency, and reduces the complexity of the receiving device.
  • the receiving device 500 may further include a memory 530.
  • the memory 530 can be used to store code or the like executed by the processor 520.
  • the various components in receiving device 500 are coupled together by a bus system 540, which in addition to the data bus includes a power bus, a control bus, and a status signal bus.
  • the processor 520 is specifically configured to: determine two consecutive delimiters in the delimiter that are verified by the cyclic redundancy code field; and parse the information unit between the consecutive two delimiters content.
  • the processor 520 is specifically configured to: determine a first delimiter in the delimiter that is verified by the cyclic redundancy code field; and sequentially extract a fixed length in the data packet by using a sliding window. Content; determining a second delimiter in the data packet that is adjacent to the first delimiter and verified by the cyclic redundancy code field.
  • the processor 520 can process the module by implementation.
  • the memory 530 can be implemented by a storage module.
  • the receiving device 600 can include a transceiver module 610, a processing module 620, and a storage module 630.
  • the receiving device 500 shown in FIG. 12 or the receiving device 600 shown in FIG. 13 can implement the various processes implemented in the foregoing various embodiments shown in FIG. 4. To avoid repetition, details are not described herein again.
  • FIG. 14 shows a schematic block diagram of a transmitting device 700 of one embodiment of the present application.
  • the sending device 700 includes:
  • the processor 710 is configured to generate a data packet, where the data packet includes at least one pair of delimiters and information units, where the delimiter is used to separate two adjacent information units, where the delimiter includes a cyclic redundancy code field and an information unit.
  • a type field in each pair of delimiters and information units, the information unit type field is used to indicate the type of the information unit, and one type of information unit uniquely corresponds to the length of one information unit;
  • the transceiver 720 is configured to send the data packet generated by the processor 710.
  • the sending device provided by the embodiment of the present application adopts a more concise delimiter format in the data packet generated by the sending device, and reduces the overhead of the delimiter and saves resources on the premise of completing the delimiter function. Improves transmission efficiency and reduces the complexity of the receiving device.
  • the storage device 700 may further include a memory 730.
  • the memory 730 can be used to store code or the like executed by the processor 710.
  • the various components in the transmitting device 700 are coupled together by a bus system 740, which in addition to the data bus includes a power bus, a control bus, and a status signal bus.
  • a bus system 740 which in addition to the data bus includes a power bus, a control bus, and a status signal bus.
  • the delimiter in the data packet generated by the processor 710, the delimiter further includes a length field, where the length field is used to indicate the information unit in each pair of delimiters and information units. length.
  • the information unit when the length of an information unit corresponds to at least two types of information units, the information unit further includes a type for indicating the information unit. Subtype field.
  • the transceiver 720 can be implemented by a transceiver module.
  • Processor 710 can be implemented by a processing module.
  • the memory 730 can be implemented by a storage module.
  • the transmitting device 800 can include a processing module 810, a transceiver module 820, and a storage module 830.
  • the transmitting device 700 shown in FIG. 14 or the transmitting device 800 shown in FIG. 15 can implement the various processes implemented in the foregoing various embodiments shown in FIG. 4, and details are not described herein again to avoid repetition.
  • FIG. 16 shows a schematic block diagram of a transmitting device 900 of one embodiment of the present application.
  • the sending device 900 includes:
  • the processor 910 is configured to generate a data packet, where the data packet includes at least one pair of delimiters and information units, where the delimiter is used to separate two adjacent information units, and the delimiter includes only a cyclic redundancy code field.
  • the transceiver 920 is configured to send the data packet generated by the processor 910.
  • the sending device provided by the embodiment of the present application adopts a more concise format of the delimiter in the data packet generated by the sending device, and the delimiter only includes the cyclic redundancy code field, and reduces the role of the delimiter.
  • the overhead of the separator saves resources, improves transmission efficiency, and reduces the complexity of the receiving device.
  • the storage device 900 may further include a memory 930.
  • the memory 930 can be used to store code and the like executed by the processor 910.
  • the various components in the transmitting device 900 are coupled together by a bus system 940, which in addition to the data bus includes a power bus, a control bus, and a status signal bus.
  • the transceiver 920 can be implemented by a transceiver module.
  • the processor 910 can process the module by implementation.
  • the memory 930 can be implemented by a storage module.
  • the transmitting device 1000 may include a processing module 1100, a transceiver module 1200, and a storage module 1300.
  • the transmitting device 900 shown in FIG. 16 or the transmitting device 1000 shown in FIG. 17 can implement the various processes implemented in the foregoing various embodiments shown in FIG. 7. To avoid repetition, details are not described herein again.
  • the embodiment of the present application provides a computer readable medium for storing a computer program, the computer program comprising a method for transmitting a data packet according to the embodiment of the present application in FIG. 4 and FIG.
  • the readable medium may be a read-only memory (ROM) or a random access memory (RAM), which is not limited in the embodiment of the present application.
  • the embodiment of the present application further provides a computer readable medium for storing a computer program, the computer program comprising a method for transmitting a data packet of the embodiment of the present application shown in FIG. 7 above.
  • the readable medium may be a ROM or a RAM, which is not limited in this embodiment of the present application.
  • the embodiment of the present application further provides a communication system, which includes the foregoing sending device provided by the embodiment of the present application, and the receiving device provided by the foregoing embodiment of the present application.
  • the method of transmitting a packet includes the foregoing sending device provided by the embodiment of the present application, and the receiving device provided by the foregoing embodiment of the present application.
  • the embodiment of the present application further provides a system chip, which includes a processing unit and a communication unit.
  • the processing unit may be, for example, a processor, and the communication unit may be, for example, an input/output interface, a pin or a circuit.
  • the processing unit can execute computer instructions to cause the chip within the terminal to perform any of the methods described above for transmitting data packets.
  • the computer instructions are stored in a storage unit.
  • the storage unit is a storage unit in the chip, such as a register, a cache, etc.
  • the storage unit may also be a storage unit located outside the chip in the terminal, such as a ROM or other device that can store static information and instructions.
  • ROM read-only memory
  • the processor mentioned in any of the above may be a CPU, a microprocessor, an ASIC, or an integrated circuit of one or more programs for controlling the method of data transmission of the first direct link described above.
  • the disclosed systems, devices, and methods may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product.
  • the technical solution of the present application which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including
  • the instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present application.
  • the foregoing storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.

Abstract

本申请公开了一种传输数据包的方法、接收设备和发送设备,该方法包括:接收设备接收数据包,该数据包包括至少一对分隔符和信息单元,该分隔符用于分隔相邻的两个信息单元,该分隔符包括循环冗余码字段和信息单元类型字段,在每一对分隔符和信息单元中,信息单元类型字段用于指示信息单元的类型,一种类型的信息单元唯一对应一个信息单元的长度;接收设备根据该循环冗余码字段和该信息单元类型字段,解析该信息单元。本申请提供的传输数据包的方法,采用了更为简洁的分隔符的格式,在完成分隔符作用的前提下,减小了分隔符的开销,节省了资源,提升了传输效率,降低了接收设备的复杂度。

Description

传输数据包的方法和设备
本申请要求于2016年11月29日提交中国专利局、申请号为201611073991.1、申请名称为“传输数据包的方法和设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信领域,并且更具体地,涉及一种传输数据包的方法和设备。
背景技术
在通信领域中,接入点(Access Point,AP)和站点(Station,STA)通过媒体接入控制(Medium Access Control,MAC)协议数据单元(MAC Protocol Data Unit,MPDU)进行数据、控制信息和管理信息的交互。
在802.11ac标准中,为了提高系统MAC层的效率,引入了聚合媒体接入控制协议数据单元(Aggregate MPDU,A-MPDU),即将多个MPDU聚合在一起,通过一个数据分组发出,而不需要发送多个数据分组分别发送,在物理层协议数据单元(Physics Protocol Data Unit,PPDU)的数据字段承载A-MPDU,其中A-MPDU中承载着多个A-MPDU子帧,而在每个A-MPDU子帧中,分为MPDU分隔符(delimiter)、MPDU以及填充部分,通过MPDU分隔符对多个聚合的MPDU进行分隔。
在新的一代唤醒无线电(Wake up Radio)工作组中,其核心思想是接收端设备(如STA)除包含传统802.11收发端的802.11主收发模块(802.11main radio,MR)外,新增低功耗唤醒接收机(Wake up Receiver,WUR)部分。当802.11主收发模块进入深度休眠后,低功耗的WUR苏醒开始工作。通过AP给WUR发送唤醒数据包(Wake Up Packet,WUP),WUR唤醒802.11主收发模块,AP再与802.11主收发模块进行通信。这样能够有效降低设备在空闲侦听(idle listening)中的能耗。由于WUP通常较短,其信息比特传输的时间较长,需要用分隔符对信息进行分隔。由于MPDU分隔符较长,开销较大,用于WUP中会导致传输效率低下。
在物联网中,比如传感器相关的一些低速场景及应用中,其数据分组速率较低,数据字段携带的数据通常较少,只有几个字节到几十个字节,使用MPDU分隔符也会导致开销较大,影响传输效率。
发明内容
本申请提供了一种传输数据包的方法和设备,能够在实现分隔符作用的前提下,减小分隔符带来的开销,降低接收设备的复杂度,提高传输效率。
第一方面,提供了一种传输数据包的方法,该方法包括:接收设备接收数据包,该数据包包括至少一对分隔符和信息单元,该分隔符用于分隔相邻的两个信息单元,该分隔符 包括循环冗余码字段和信息单元类型字段,在每一对分隔符和信息单元中,信息单元类型字段用于指示信息单元的类型,一种类型的信息单元唯一对应一个信息单元的长度;接收设备根据该循环冗余码字段和该信息单元类型字段,解析该信息单元。
第一方面提供的传输数据包的方法,采用了更为简洁的分隔符的格式,在完成分隔符作用的前提下,减小了分隔符的开销,节省了资源,提升了传输效率,降低了接收设备的复杂度。
在第一方面的一种可能的实现方式中,接收设备根据该循环冗余码字段和该信息单元类型字段,解析该信息单元,包括:确定该数据包中通过循环冗余码字段校验的第一分隔符;根据与该第一分隔符中该信息单元类型字段对应的第一信息单元的类型,确定该第一信息单元的长度;根据该第一信息单元的类型和该第一信息单元的长度,解析该第一信息单元。
在第一方面的一种可能的实现方式中,接收设备根据该循环冗余码字段和该信息单元类型字段,解析该信息单元,包括:确定该数据包中没有通过循环冗余码字段校验的第一分隔符,该第一分隔符的长度为Z比特;通过滑动窗口依次向后提取该数据包中长度为Z比特的内容,确定该数据包中与该第一分隔符相邻并且通过该循环冗余码字段校验的第二分隔符;提取该第一分隔符和该第二分隔符之间的第一信息单元;根据该第一信息单元的长度,确定该第一信息单元的类型,或根据该第一信息单元的长度以及该第一信息单元中用于指示该第一信息单元类型的子类型字段,确定该第一信息单元的类型;根据该第一信息单元的类型和该第一信息单元的长度,解析该第一信息单元。
在第一方面的另一种可能的实现方式中,在接收设备接收的该数据包中,该分隔符还包括长度字段,在每一对分隔符和信息单元中,该长度字段用于指示该信息单元的长度,接收设备根据该循环冗余码字段和该信息单元类型字段,解析该信息单元,包括:接收设备根据该信息单元类型字段和该长度字段中的至少一个,以及该循环冗余码字段,解析该信息单元。该实现方式提供的传输数据包的方法,采用了更为简洁的分隔符的格式,并且在分隔符中加入了用于指示信息单元的长度的长度字段,可以增强分隔符的鲁棒性,减少接收设备复杂度,增强了分隔符的可恢复性,减小了分隔符的开销,提升了传输效率。
在第一方面的一种可能的实现方式中,接收设备根据该信息单元类型字段和该长度字段中的至少一个,以及该循环冗余码字段,解析该信息单元,包括:确定该数据包中通过循环冗余码字段校验的第一分隔符;根据与该第一分隔符中信息单元类型字段对应的信息单元的长度和该第一分隔符中该长度字段指示的信息单元的长度中的任意一个,提取第一信息单元;根据该第一信息单元的长度和该第一分隔符中该信息单元类型字段指示的该第一信息单元的类型,解析该第一信息单元。
在第一方面的一种可能的实现方式中,接收设备根据该信息单元类型字段和该长度字段中的至少一个,以及该循环冗余码字段,解析该信息单元,包括:确定该分隔符中没有通过循环冗余码字段校验的第一分隔符,该第一分隔符的长度为R比特;当与该第一分隔符中该信息单元类型字段对应的信息单元的长度和该第一分隔符中该长度字段指示的信息单元的长度对应时,根据与该第一分隔符中该信息单元类型字段对应的信息单元的长度,或者该第一分隔符中该长度字段指示的信息单元的长度,提取信息单元,并对提取的 信息单元做帧校验序列验证;当与该第一分隔符中该信息单元类型字段对应的信息单元的长度和该第一分隔符中该长度字段指示的信息单元的长度不对应时,根据与该第一分隔符中该信息单元类型字段对应的信息单元的长度和该第一分隔符中该长度字段指示的信息单元的长度分别提取信息单元,并对提取的信息单元分别做帧校验序列验证;根据帧校验序列验证结果,解析该信息单元。
在第一方面的一种可能的实现方式中,接收设备根据帧校验序列验证结果,解析该信息单元,包括:确定通过该帧校验序列验证的信息单元;将通过验证的信息单元中的任意一个信息单元确定为第一信息单元,根据该第一信息单元的长度,确定该第一信息单元的类型,或者根据该第一信息单元的长度以及该第一信息单元中用于指示该第一信息单元类型的子类型字段,确定该第一信息单元的类型;根据该第一信息单元的类型和该第一信息单元的长度,解析该第一信息单元。
在第一方面的一种可能的实现方式中,接收设备根据帧校验序列验证结果,解析该信息单元,包括:确定该信息单元都没有通过该帧校验序列验证;通过滑动窗口依次向后提取该数据包中长度为R比特的内容,确定该数据包中与该第一分隔符相邻并且通过该循环冗余码字段校验的第二分隔符;提取该第一分隔符和该第二分隔符中之间的第一信息单元;根据该第一信息单元的长度,确定该第一信息单元的类型,或者根据该第一信息单元的长度以及该第一信息单元中用于指示该第一信息单元类型的子类型字段,确定该第一信息单元的类型;根据该第一信息单元的类型和该第一信息单元的长度,解析该第一信息单元。
第二方面,提供了一种传输数据包的方法,该方法包括:发送设备生成数据包,该数据包包括至少一对分隔符和信息单元,该分隔符用于分隔相邻的两个该信息单元,该分隔符包括循环冗余码字段和信息单元类型字段,在每一对分隔符和信息单元中,信息单元类型字段用于指示信息单元的类型,一种类型的信息单元唯一对应一个信息单元的长度;发送设备发送该数据包。
第二方面提供的传输数据包的方法,采用了更为简洁的分隔符的格式,在完成分隔符作用的前提下,减小了分隔符的开销,节省了资源,提升了传输效率,降低了接收设备的复杂度。
在第二方面的一种可能的实现方式中,在发送设备生成的该数据包中,该分隔符还包括长度字段,在每一对分隔符和信息单元中,该长度字段用于指示该信息单元的长度。
在第二方面的另一种可能的实现方式中,在发送设备生成的该数据包中,当一个信息单元的长度对应着至少两种类型的信息单元时,该信息单元还包括用于指示该信息单元类型的子类型字段。
第三方面,提供了一种传输数据包的方法,该方法包括:接收设备接收数据包,该数据包包括至少一对分隔符和信息单元,该分隔符用于分隔相邻的两个该信息单元,该分隔符只包括循环冗余码字段;接收设备根据该循环冗余码字段,解析该信息单元。
在第三方面的一种可能的实现方式中,接收设备根据该循环冗余码字段,解析该信息单元,包括:确定该分隔符中通过循环冗余码字段校验的连续两个分隔符;解析该连续两个分隔符之间的信息单元的内容。
在第三方面的一种可能的实现方式中,确定该分隔符中通过循环冗余码字段校验的 连续两个分隔符,包括:确定该分隔符中通过该循环冗余码字段校验的第一分隔符;通过滑动窗口依次向后提取该数据包中固定长度的内容;确定该数据包中与该第一分隔符相邻并且通过该循环冗余码字段校验的第二分隔符。
第四方面,提供了一种传输数据包的方法,该方法包括:发送设备生成数据包,该数据包包括至少一对分隔符和信息单元,该分隔符用于分隔相邻的两个该信息单元,该分隔符只包括循环冗余码字段;发送设备发送该数据包。
第五方面,提供了一种接收设备,该接收设备包括收发器和处理器,用于实现上述方面中接收设备行为的功能。功能可以通过硬件实现,也可以通过硬件执行相应的软件实现,硬件或软件包括一个或者多个与上述功能相对应的模块。该接收设备还可以包括存储器。
第六方面,提供了一种接收设备,包括收发模块和处理模块,用于支持接收设备执行上述方法中相应的功能。该接收设备还可以包括存储模块。
第七方面,提供了一种发送设备,包括处理器和收发器,用于实现上述方面中发送设备行为的功能。功能可以通过硬件实现,也可以通过硬件执行相应的软件实现,硬件或软件包括一个或者多个与上述功能相对应的模块。该发送设备还可以包括存储器。
第八方面,提供了一种发送设备,包括处理模块和收发模块,用于支持发送设备执行上述方法中相应的功能。该发送设备还可以包括存储模块。
第九方面,提供了一种通信系统,该通信系统包括上述第五方面或第六方面提供的接收设备及上述第七或第八方面提供的发送设备。该通信系统可以完成上述第一方面和第二方面提供的传输数据包的方法。
第十方面,提供了一种计算机可读介质,用于存储计算机程序,所述计算机程序包括用于执行上述第一方面或第一方面的任一种可能的实现方式,第三方面或第三方面的任一种可能的实现方式中的方法的指令。
第十一方面,提供了一种计算机可读介质,用于存储计算机程序,所述计算机程序包括用于执行上述第二方面或第二方面的任一种可能的实现方式,第四方面或第四方面的任一种可能的实现方式中的方法的指令。
附图说明
图1是WLAN的典型的应用场景示意图。
图2是现有的数据包的格式的示意图。
图3是现有的MPDU分隔符的格式的示意图。
图4是本申请一个实施例的传输数据包的方法的示意性流程图。
图5是本申请一个实施例的数据包和分隔符格式的示意图。
图6是本申请另一个实施例的数据包和分隔符格式的示意图。
图7是本申请另一个实施例的传输数据包的方法的示意性流程图。
图8是本申请又一个实施例的数据包和分隔符的格式的示意图。
图9是本申请又一个实施例的数据包和分隔符的格式的示意图。
图10是本申请一个实施例的接收设备的示意性框图。
图11是本申请另一个实施例的接收设备的示意性框图。
图12是本申请一个实施例的接收设备的示意性框图。
图13是本申请另一个实施例的接收设备的示意性框图。
图14是本申请一个实施例的发送设备的示意性框图。
图15是本申请另一个实施例的发送设备的示意性框图。
图16是本申请一个实施例的发送设备的示意性框图。
图17是本申请另一个实施例的发送设备的示意性框图。
具体实施方式
下面将结合附图,对本申请中的技术方案进行描述。
本申请实施例的技术方案可以应用于各种通信系统,例如:全球移动通讯(Global System of Mobile communication,GSM)系统、码分多址(Code Division Multiple Access,CDMA)系统、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)系统、通用分组无线业务(General Packet Radio Service,GPRS)、长期演进(Long Term Evolution,LTE)系统、LTE频分双工(Frequency Division Duplex,FDD)系统、LTE时分双工(Time Division Duplex,TDD)、通用移动通信系统(Universal Mobile Telecommunication System,UMTS)、无线局域网系统(Wireless Local Area Networks,WLAN)、全球互联微波接入(Worldwide Interoperability for Microwave Access,WiMAX)通信系统、未来的第五代(5th Generation,5G)系统或新无线(New Radio,NR)等。
本申请实施例仅以WLAN系统为例进行说明,但本申请实施例并不限于此。根据本申请实施例的方法和设备还可以应用于其它通信系统。类似地,本申请实施例也仅以WLAN系统中的AP和STA为例进行说明,但本申请并不限于此,根据本申请实施例的方法和设备还可以应用于其它通信系统中的基站和用户设备。
本申请实施例中的站点可以是终端设备、用户设备、接入终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置。终端设备还可以是蜂窝电话、无绳电话、会话启动协议(Session Initiation Protocol,SIP)电话、无线本地环路(Wireless Local Loop,WLL)站、个人数字处理(Personal Digital Assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备,未来5G网络中的终端设备或者未来演进的公用陆地移动通信网络(Public Land Mobile Network,PLMN)中的终端设备等,本申请实施例对此并不限定。
本申请实施例中的接入点可以是用于与终端设备通信的设备的网络设备,该网络设备可以是全球移动通讯(Global System of Mobile communication,GSM)系统或码分多址(Code Division Multiple Access,CDMA)中的基站(Base Transceiver Station,BTS),也可以是宽带码分多址(Wideband Code Division Multiple Access,WCDMA)系统中的基站(NodeB,NB),还可以是LTE系统中的演进型基站(Evolutional NodeB,eNB或eNodeB),还可以是云无线接入网络(Cloud Radio Access Network,CRAN)场景下的无线控制器,或者该网络设备可以为中继站、车载设备、可穿戴设备以及未来5G网络中的网络设备或者未来演进的PLMN网络中的网络设备等,本申请实施例并不限定。
图1示出了本申请实施例的一种应用场景的示意图,如图1所示,本申请实施例对收发两端没有限制,可以是点对点之间的通信,也可以是点对多点或者多点对点之间的通信。本申请实施例的传输数据包的方法可以应用在AP与AP之间,或者STA与STA之间,或者AP与STA之间。即AP可以是接收设备,也可以是发送设备,同样,STA可以是接收设备,也可以是发送设备。例如AP1与STA1之间、AP1与STA2之间、STA1与STA2之间、AP1与AP2之间进行通信时,都可以应用本申请实施的传输数据包的方法。
应理解,本申请实施例仅以图1所示的应用场景为例进行说明,但本申请并不限于此,例如,该系统可以包括更多的AP和STA。
图2为802.11ac标准中数据包格式的示意图,图3为802.11ac系统中的MPDU分隔符格式的示意图。如图2所示,在802.11ac标准中,A-MPDU承载着多个A-MPDU子帧以及结束帧填充((End of frame pad,EOF pad),例如A-MPDU子帧1、A-MPDU子帧2、…A-MPDU子帧n等。A-MPDU子帧通常可以为可变长的,结束帧填充通常为0-3个字节。在每个A-MPDU子帧中,分为MPDU分隔符(delimiter)、MPDU以及填充部分。通过MPDU分隔符对多个聚合的MPDU进行分隔。通常,MPDU分隔符长度为4字节,MPDU长度为可变的,填充部分的长度为0-3字节。
如图3所示,在802.11ac系统中的MPDU分隔符,总共4个字节,MPDU分隔符包括结束帧(End of frame,EOF)字段、MPDU长度字段、分隔符签名(Delimiter Signature)字段、循环冗余码(Cyclic Redundancy Code,CRC)字段和保留位(Reserved)字段。其中结束帧字段用于指示该MPDU是否是最后一个MPDU,一般为1比特。MPDU长度字段用于指示紧跟的MPDU的字节数,一般为14比特。分隔符签名字段为具有一定特征的序列,一般为8比特,用来帮助接收端搜索分隔符,即使接收端解错了一个分隔符,仍然可以通过搜索下一个分隔符签名来找到下一个MDPU,这样防止放生错误扩散。循环冗余码字段保护整个分隔符的前16比特,用来帮助接收端检测分隔符是否发生错误,一般为8比特。保留位字段一般为1比特。此外,按照4字节的滑动窗口,每4字节来检测CRC是否通过,也可以用于寻找下一个分隔符。通过寻找下一个分隔符,即使某一个分隔符发生错误,接收设备依然可以通过寻找下一个分隔符,然后将下一个分隔符同当前错误的分隔符之间的数据认定为一个MPDU,来读取该MPDU。
目前还存在着其他格式分隔符,例如分隔符包括MPDU长度和CRC,或者MPDU长度和CRC的其他组合。而在物联网中,比如在一些低速的应用场景和应用中,以及在唤醒无线电工作组中,还是利用现有的分隔符来完成对信息的分隔,这样会造成分隔符的开销很大,占用的资源多,使得接收设备较为复杂。
为解决上述问题,本申请实施例提供了一种传输数据包的方法。图4示出了本申请实施例的传输数据包的方法100的示意性流程图。该方法100可以应用于图1中的场景,当然,也可以应用于其他通信场景,例如,可以是某些信令字段中存在分隔符和信息单元的结构,本申请实施例并不对此进行限定。该方法100包括:
S110,发送设备生成数据包,该数据包包括至少一对分隔符和信息单元,分隔符用于分隔相邻的两个信息单元,该分隔符包括循环冗余码字段和信息单元类型字段。在每一对分隔符和信息单元中,信息单元类型字段用于指示信息单元的类型,一种类型的信息单元唯一对应一个信息单元的长度。
S120,发送设备发送该数据包。相应的,接收设备接收该数据包,具体而言,发送设备向接收设备发送该数据包。接收设备接收该发送设备发送的该数据包。
S130,该接收设备根据该循环冗余码和该信息单元类型字段解析该数据包中的信息单元的内容。
因此,本申请实施例的传输数据包的方法采用了更为简洁的分隔符的格式,在完成分隔符作用的前提下,减小了分隔符的开销,节省了资源,提升了传输效率,降低了接收设备的复杂度。
应理解,在本申请实施例中,帧校验序列(Frame Check Sequence,FCS)也是一种CRC。因为该CRC是用来检测MAC帧的,所以又被称为FCS。一般用来校验整个MAC帧的叫做FCS,校验信令字段或者分隔符等字段的叫做CRC。因此,在本申请实施例中,帧校验序列和循环冗余码可以互换,即分隔符也可以包括循环帧校验序列字段和信息单元类型字段,本申请实施例在此不做限制。
还应理解,在本申请的实施例中,分隔符除了包括循环冗余码字段和信息单元类型字段,还可以包括结束帧、保留位、站点或者接入点的标识信息等中的任意一个或者多个,本申请实施例在此不做限制。
可选的,图5是本申请一个实施例的数据包和分隔符格式的示意图,该数据包包括一个传统前导码(Legacy Preamble,L-Preamble)、一个唤醒前导码(Wake-up Preamble,W-Preamble)、多对分隔符和信息单元。应理解,图5只示出了该数据包包括两对分隔符和信息单元,但这不应对分隔符和信息单元的对数产生影响。该数据包还可以包括更多对分隔符和信息单元。L-Preamble用于保证同一般主链路传输的数据的共存(Coexistence)。W-Preamble一般用于接收设备进行唤醒数据包检测,信令信息读取等。该数据包中的分隔符包括循环冗余码字段和信息单元类型字段,对于一对分隔符和信息单元来说,通过校验循环冗余码字段来确定分隔符是否正确。循环冗余码字段保护的是信息单元类型字段,循环冗余码是基于信息单元类型字段中的信息计算而成。接收设备可以通过校验循环冗余码字段确定信息单元类型字段是否正确接收。信息单元可以是一个MAC帧,如数据帧、信标帧或者确认帧等,也可以是物理层的一个字段,本申请实施例在此不做限制。分隔符起到就是分隔多个信息单元的作用。在每一对分隔符和信息单元中,信息单元类型字段用于指示后续的信息单元的类型。并且,一种类型的信息单元唯一对应一个信息单元的长度。也就是说,对于某个特定的信息单元类型字段,可以指示一种特定类型的信息单元,而对于某种类型的信息单元,可以唯一确定一个与该类型的信息单元对应的信息单元的长度。因此,信息单元类型字段不用指示后续信息单元的长度,这样可以明显减小分隔符的开销。
应理解,针对如图5所示的数据包和分隔符的格式,该数据包中的前导码也可以是其他的前导码,也可以有多个前导码。例如,可以是用于物联网站点传输的物联网前导码等,本申请实施例在此不做限制。
可选的,作为一个实施例,若信息单元中不存在指示该信息单元类型的字段,或者当一个长度的信息单元至少对应着两种类型的信息单元时,在这种情况下,在S110中,发送设备生成的数据包中的信息单元的固定位置(例如,信息单元的第一比特到第三比特)还可以存在着用于指示该信息单元类型的子类型字段,该子类型字段用来确定该信息单元 的类型。相应的,接收设备接收包括这种含子类型字段的信息单元。
可选的,作为一个实施例,如图5所示的数据包和分隔符的格式,信息单元类型字段、与信息单元类型字段属于一对的信息单元的类型以及该信息单元的长度之间的一种映射关系可以如表1所示。例如,当信息单元类型字段为0000时。可以根据该映射关系确定该信息单元的类型为唤醒帧,也可以确定该唤醒帧的长度为20字节。表1用4比特的信息单元类型字段可以表示16中不同信息单元的类型和信息单元的长度。
表1 映射表
Figure PCTCN2017108021-appb-000001
应理解,在本申请的实施例中,仅以图5所示的数据包和分隔符的格式为例进行说明,但本申请实施例并不限于此。
还应理解,在本申请的实施例中,表1仅仅是为了表示他们之间的存在的一种映射关系,他们之间还可以是其他的映射关系。本申请实施例并不限于此
还应理解,针对图5所示的数据包和分隔符的格式,信息单元类型字段的长度和循环冗余码字段的长度也可以为其他比特的长度,信息单元的类型还可以为其他类型,信息单元的长度还可以为其他长度。例如,当数据包包含的信息单元的种类较多时,可以利用8比特或者更多比特的信息单元类型字段来映射信息单元的类型,本申请实施例在此不做限制。
可选的,作为一个实施例,在S130中,该接收设备根据该循环冗余码和该信息单元类型字段解析该数据包中的信息单元的内容,可以包括:
步骤1,确定数据包中通过循环冗余码字段校验的第一分隔符。
步骤2,根据与该第一分隔符中信息单元类型字段对应的第一信息单元的类型,确定该第一信息单元的长度。
步骤3,根据该第一信息单元的类型和该第一信息单元的长度,解析该第一信息单元。
具体而言,该接收设备接收到发送设备发送的数据包后,开始解析数据包中信息单元的内容。由于解析一个信息单元的内容,需要知道这个信息单元的类型和长度。当接收设备接收到一个正确分隔符后,就可以根据该分隔符中的信息单元类型字段,确定信息单元的类型,并根据与该类型的信息单元的对应的信息单元的长度,确定该信息单元的长度,这样,就可以解析该信息单元的内容。
应理解,上述的第一分隔符和第一信息单元表示的是一类分隔符和信息单元,即数据包中,属于同一对的分隔符和信息单元,并且该分隔符的循环冗余码字段通过校验,这样 的分隔符称为第一分隔符,这样的信息单元称为第一信息单元,而不应对分隔符和信息单元的个数产生限制。
下面将以图5所示的数据包和分隔符的格式为例进行详细说明本申请一个实施例的方法S130的各步骤。
如图5所示,当该接收设备接收到数据包时,该接收端设备首先校验分隔符1中的CRC-1是否通过,当分隔符1中CRC-1校验通过时,证明分隔符1是一个正确的分隔符,然后根据分隔符1中的信息单元类型字段1,例如,如表1所示,该信息单元类型字段1为0001,则可以确定信息单元1的类型为一个确认帧,然后根据信息单元1的类型,则可以确定信息单元1的长度。这样,接收设备获知了信息单元1的长度和类型,就可以正确解析信息单元1的内容。然后,接收设备按照同样的方法,继续根据分隔符2中信息单元类型字段2和CRC-2,解析信息单元2的内容。
应理解,上述的分隔符1、信息单元类型字段1以及信息单元1仅仅是为了表明在同一对分隔符和信息单元,而不应该对本申请的实施例产生任何限制。
可选的,作为另一个实施例,在S130中,该接收设备根据该循环冗余码和该信息单元类型字段解析该数据包中的信息单元的内容,可以包括:
步骤1,确定该数据包中没有通过循环冗余码字段校验的第一分隔符,该第一分隔符的长度为Z比特。
步骤2,通过滑动窗口依次向后提取该数据包中长度为Z比特的内容,确定该数据包中与该第一分隔符相邻并且通过循环冗余码字段校验的第二分隔符。
步骤3,提取该第一分隔符和该第二分隔符之间的第一信息单元。
步骤4,根据该第一信息单元的长度,确定该第一信息单元的类型,或者根据该第一信息单元的长度以及该第一信息单元中用于指示该第一信息单元类型的子类型字段,确定该第一信息单元的类型。
步骤5,根据该第一信息单元的类型和该第一信息单元的长度,解析该第一信息单元。
具体而言,该接收设备接收到发送设备发送的数据包后,当数据包中的第一分隔符的循环冗余码校验没有通过时,不能确定这是不是一个正确的分隔符,因此还不能根据第一分隔符中循环冗余码字段和信息单元类型字段来解析与该分隔符为一对的第一信息单元的内容。这种情况下,需要寻找下一个与该第一分隔符相邻并且通过循环冗余码校验的第二分隔符,在本申请实施中,可选的,通过滑动窗口,在第一信息单元之后,依次提取数据包长度为该第一分隔符的长度的内容,直到找到该数据包中与该第一分隔符相邻并且通过循环冗余码校验的第二分隔符。提取该第一分隔符和该第二分隔符之间的信息单元,认为是第一信息单元。由于一种类型的信息单元唯一对应一个信息单元的长度,当一个长度的信息单元也可以唯一确定一种类型的信息单元时,即信息单元的类型和信息单元的长度是一一对应的关系,这样可以根据该第一信息单元的长度反推出该第一信息单元的类型,就可以解析该第一信息单元了。
但是,若信息单元中不存在指示该信息单元的类型的字段时,或者当一个长度的信息单元至少对应着两种类型的信息单元时,在这种情况下,就需要根据信息单元的长度以及信息单元中固定位置存在的用于指示信息单元类型的子类型字段,来确定信息单元的类型,即根据该第一信息单元的长度以及该第一信息单元中固定位置存在的用于指示该第一信 息单元类型的子类型字段,来确定该第一信息单元的类型。利用这种方法,便确定了该第一信息单元的类型,然后根据该第一信息单元的类型和改第一信息单元的长度,解析该第一信息单元的内容。若下一个分隔符的循环冗余码也没有通过校验,则按照同样的方法来解析下一个信息单元的内容。
应理解,上述的第一分隔符和第二分隔符表示的是两类分隔符,而不应对分隔符的个数产生限制。
还应理解,利用滑动窗口在该数据包中提取的内容的长度也可以为其他长度,本申请实施例在此不做限制。
下面将以图5所示的数据包和分隔符的格式为例详细说明本申请另一个实施例的方法S130的各步骤。
如图5所示,当该接收设备接收到发送设备发送的数据包时,接收端设备首先校验分隔符1中的CRC-1是否通过,其中,分隔符1的长度为Z比特,当分隔符1中CRC-1校验不通过时,则不能确定分隔符1是否是一个正确的分隔符,因此,就不能根据分隔符1中的信息单元类型字段1和CRC-1来解析信息单元1的内容。这时,接收设备可以利用滑动窗口,在信息单元1之后,依次提取数据包长度为Z比特的内容,直到找到该数据包中与分隔符1相邻并且通过循环冗余码校验的第二分隔符。例如,这里的第二分隔符可以是分隔符2,或者是其他分隔符,然后提取分隔符1和该第二分隔符之间的信息单元,认为是信息单元1。当信息单元的类型和信息单元的长度是一一对应的关系时,就可以根据信息单元1的长度反推出信息单元1的类型,就可以解析该第一信息单元的内容。
但是,若信息单元中不存在指示该信息单元类型的字段,或者当一个长度的信息单元至少对应着两种类型的信息单元时,例如,当表1中的确认帧的长度也是20字节时,就不能根据长度为20字节信息单元1唯一反推出该信息单元1的类型。这时,就需要根据信息单元1的长度以及信息单元1中存在的用于指示信息单元类型的子类型字段。例如,信息单元1中的第一比特位至第三比特位为进一步指示该信息单元为控制帧,这样就可以确定信息单元1的类型,然后根据信息单元1的类型和信息单元1的长度,解析信息单元1的内容。若下一个分隔符的循环冗余码也没有通过校验,则按照同样的方法来解析下一个信息单元的内容。
因此,本申请实施例的传输信息的方法,由于分隔符包括循环冗余码字段和信息单元类型字段,使得分隔符的格式更加简洁,可以有效的减少分隔符的开销,节省了资源,提升了系统的效率。
可选的,可以作为一个实施例,在图5所示的分隔符格式的基础上,该分隔符还可以包括长度字段,在每一对分隔符和信息单元中,长度字段用于指示信息单元的长度。相应的,在S130中,该接收设备根据该循环冗余码和该信息单元类型字段解析该数据包中的信息单元的内容,可以包括:接收设备根据该信息单元类型字段和该长度字段中的至少一个,以及该循环冗余码字段,解析所述信息单元。
具体而言,可以作为一个实施例,图6是本申请另一个实施例的数据包和分隔符格式的示意图,该接收设备接收发送设备发送的数据包,该数据包中的分隔符包括信息单元类型字段,长度字段和循环冗余码字段,对于一对分隔符和循环冗余码来说,通过校验循环冗余码来确定分隔符是否正确,循环冗余码字段保护的是信息单元类型字段和长度字段。 在每一对分隔符和信息单元中,信息单元类型字段用于指示后续的信息单元的类型,一种类型的信息单元唯一对应一个信息单元的长度。而长度字段也用于指示后续信息单元的长度。
因此,本申请实施例的传输数据包的方法,由于采用了更为简洁的分隔符的格式,并且在分隔符中加入了用于指示信息单元的长度的长度字段,可以增强分隔符的鲁棒性,减少接收设备复杂度,增强了分隔符的可恢复性,减小了分隔符的开销。
可选的,作为一个实施例,如图6所示的数据包和分隔符的格式,信息单元类型字段的长度为4比特,长度字段的长度也为4比特,由于循环冗余码字段保护的是信息单元类型字段和长度字段,因此循环冗余码字段的长度为8比特。
应理解,针对如图6所示的数据包和分隔符的格式,本申请实施例仅以信息单元类型字段的长度为4比特和长度字段为4比特为例进行说明,但本申请实施例并不限于此。例如,当一个数据包包含的信息单元的种类较多时,信息单元类型字段的长度和长度字段的长度也可以为其他比特,例如,信息单元类型字段的长度和长度字段的长度也可以为5比特或者6比特,本申请实施例在此不做限制。
还应理解,在本申请实施例中,信息单元类型字段的长度和长度字段的长度也可以不同,例如,信息单元类型字段的长度可以为5比特,长度字段的长度可以为6比特。循环冗余码字段的长度也可以不是长度字段和信息单元类型字段长度的和,本申请实施例在此不做限制。
还应理解,在本申请实施例中,长度字段与信息单元的长度之间的关系可以与表1中信息单元类型字段与信息单元的长度之间的映射关系一样,也可以为其他的对应关系,只要该长度字段可以指示与该长度字段属于同一对的信息单元的长度即可,本申请实施例在此不做限制。
可选的,作为一个实施例,在S130中,该接收设备根据该信息单元类型字段和该长度字段中的至少一个,以及该循环冗余码字段,解析所述信息单元,包括:
步骤1,确定该数据包中通过循环冗余码字段校验的第一分隔符。
步骤2,根据与该第一分隔符中信息单元类型字段对应的信息单元的长度和该第一分隔符中长度字段指示的信息单元的长度中的任意一个,提取第一信息单元。
步骤3,根据该第一信息单元的长度和该第一分隔符中所述信息单元类型字段指示的该第一信息单元的类型,解析该第一信息单元的内容。
具体而言,该接收设备接收到发送设备发送的数据包后,开始检测数据包中正确的分隔符,当数据包中的分隔符的循环冗余码字段校验通过时,接收设备认为接收到一个正确分隔符,就可以根据该分隔符中的信息单元类型字段,确定信息单元的类型,根据与该类型的信息单元的对应的长度,或者根据该长度字段对应的信息单元的长度,确定该信息单元的长度。知道了该信息单元的长度和该信息单元的类型,就可以解析该信息单元的内容了。
下面将以图6所示的数据包和分隔符的格式为例详细说明本申请实施例的方法S130的各步骤。
当接收设备接收到发送设备发送的数据包时,数据包的格式如图6所示,接收设备首先校验分隔符1中的CRC-1是否通过,当分隔符1中CRC-1校验通过时,证明分隔符1 是一个正确的分隔符,然后根据分隔符1中的信息单元类型字段1,例如,如表1所示,该信息单元类型字段1为0001,则可以确定信息单元1的类型为一个确认帧,然后根据信息单元1的类型,或者根据分隔符中长度字段1指示的信息单元的长度,确定信息单元1的长度。这样,接收设备获知了信息单元1的长度和类型,就可以正确解析信息单元1的内容。然后,接收设备按照同样的方法,继续根据分隔符2和CRC-2,解析信息单元2的内容。
应理解,上述的分隔符1、信息单元类型字段1以及信息单元1仅仅是为了表明在同一对分隔符和信息单元,而不应该对本申请的实施例产生任何限制。
可选的,作为另一个实施例,在S130中,该接收设备根据该信息单元类型字段和该长度字段中的至少一个,以及该循环冗余码字段,解析所述信息单元,包括:
步骤1,确定分隔符中没有通过循环冗余码字段校验的第一分隔符。
步骤2,当与该第一分隔符中信息单元类型字段对应的信息单元的长度和该第一分隔符中该长度字段指示的信息单元的长度对应时,根据与该第一分隔符中该信息单元类型字段对应的信息单元的长度和该第一分隔符中该长度字段指示的信息单元的长度中的任意一个,提取信息单元,并对提取的信息单元做帧校验序列验证。当与该第一分隔符中该信息单元类型字段对应的信息单元的长度和该第一分隔符中该长度字段指示的信息单元的长度不对应时,根据与该第一分隔符中信息单元类型字段对应的信息单元的长度和该第一分隔符中该长度字段指示的信息单元的长度分别提取信息单元,并对提取的信息单元分别做帧校验序列验证。
步骤3,根据帧校验序列验证结果,解析该信息单元。
具体而言,接收设备接收到发送设备发送的数据包后,当数据包中的第一分隔符的循环冗余码校验没有通过时,不能确定这是不是一个正确的分隔符,因此还不能根据第一分隔符中循环冗余码字段和信息单元类型字段以及长度字段来解析与该分隔符为一对的第一信息单元的内容。这种情况下,不需要立即启动滑动窗口寻找下一个分隔符,而是确定第一分隔符中信息单元类型字段对应的信息单元的长度和该第一分隔符中该长度字段指示的信息单元的长度是否对应,例如,可以通过检测确定第一分隔符中该信息单元类型字段对应的信息单元的长度和该第一分隔符中该长度字段指示的信息单元的长度是否对应。
当该第一分隔符中信息单元类型字段对应的信息单元的长度和该第一分隔符中该长度字段指示的信息单元的长度对应时,即该第一分隔符中信息单元类型字段对应的信息单元的长度和该第一分隔符中该长度字段指示的信息单元的长度是相等的。此时还不能确定该信息单元是否为一个正确的信息单元,因此,还需要对该信息单元进行帧校验序列验证。由于只知道该信息单元的长度,因此,需要提取该长度的信息单元进行验证。根据验证结果去判断该信息单元是否为一个正确的信息单元。
当该第一分隔符中信息单元类型字段对应的信息单元的长度和该第一分隔符中该长度字段指示的信息单元的长度不对应,即该第一分隔符中信息单元类型字段对应的信息单元的长度和该第一分隔符中该长度字段指示的信息单元的长度不相等,这种情况下,也不能确定该信息单元是否是一个正确的信息单元,还需要对该信息单元进行帧校验序列验证,由于信息单元类型字段对应的信息单元的长度和长度字段指示的信息单元的长度不相等,因此需要对按照这两个字段提取的信息单元分别进行帧校验序列验证,根据验证结果去判 断该信息单元是否为一个正确的信息单元。
下面将以图6所示的数据包和分隔符的格式为例详细说明本申请另一个实施例的方法S130的各步骤
当接收设备接收到发送设备发送的数据包时,数据包的格式如图6所示,接收端设备首先校验分隔符1中的CRC-1是否通过,当分隔符1中CRC-1校验没有通过时,证明分隔符1不是一个正确的分隔符,这时,会检测分隔符1中信息单元类型字段1对应的信息单元的长度和分隔符1中的长度字段1指示的信息单元的长度是否相等。当两个长度是相等的情况下,此时还不能确定该长度的信息单元是否为一个正确的信息单元,因此,还需要对该长度的信息单元进行帧校验序列验证。因此,需要提取该长度的信息单元进行验证。根据验证结果去判断该信息单元是否为一个正确的信息单元。当两个长度是不相等的情况下,需要对按照这两个长度提取的信息单元分别进行帧校验序列验证,根据验证结果去判断该信息单元是否为一个正确的信息单元。
可选的,在步骤3中,根据帧校验序列验证结果,解析该信息单元,可以包括:
当帧校验序列验证通过时,将通过验证的信息单元中的任意一个该信息单元确定为第一信息单元;
根据该第一信息单元的长度,确定该第一信息单元的类型,或者根据该第一信息单元的长度以及该第一信息单元中用于指示该第一信息单元类型的子类型字段,确定该第一信息单元的类型;
根据该第一信息单元的类型和该第一信息单元的长度,解析该第一信息单元。
具体而言,当该第一分隔符中信息单元类型字段对应的信息单元的长度和该第一分隔符中该长度字段指示的信息单元的长度对应时,即信息单元的长度只有一个,因此,当根据该长度提取的信息单元的帧校验序列验证通过时,证明该信息单元是一个正确的信息单元,将该信息单元确定为第一信息单元,即与第一分隔符对应的信息单元。当一个长度的信息单元也可以唯一确定一种类型的信息单元时,这样可以根据该第一信息单元的长度反推出该第一信息单元的类型。当信息单元中不包含指示该信息单元类型的字段时,或者当一个长度的信息单元至少对应着两种类型的信息单元时,就要根据该第一信息单元的长度以及该第一信息单元中用于指示该第一信息单元类型的子类型字段,确定该第一信息单元的类型。此时,确定了该第一信息单元的长度和类型,便可以解析该第一信息单元的内容了。
当该第一分隔符中信息单元类型字段对应的信息单元的长度和该第一分隔符中该长度字段指示的信息单元的长度不对应时,即有两个长度的信息单元,因此,需要对按照这两个长度提取的信息单元分别做帧校验序列验证。
当其中有一个信息单元的的帧校验序列验证通过时,便可以认为这是个正确的信息单元,或者当两个信息单元的帧校验序列验证都通过时,证明这两个信息单元可能是正确的信息单元,将其中任意一个信息单元确定为第一信息单元,这样,按照信息单元类型字段对应的信息单元的长度和该第一分长度字段指示的信息单元的长度对应时的方法,去解析该第一信息单元的内容。
下面将以图6所示的数据包和分隔符的格式为例详细说明本申请实施例方法S130中的步骤3:根据帧校验序列验证结果,解析该信息单元。
当接收设备检测分隔符1中信息单元类型字段1对应的信息单元的长度和分隔符1中的长度字段1指示的信息单元的长度相等时,并且按照该长度提取的信息单元的帧校验序列验证通过时。就可以确定该信息单元为信单元1,接收设备根根该信息单元1的长度,或者信息单元1中固定位置存在的用于指示信息单元1的类型的子类型字段,确定信息单元1的类型,这样就可以解析信息单元1的内容了。
当接收设备检测分隔符1中信息单元类型字段1对应的信息单元的长度和分隔符1中的长度字段1指示的信息单元的长度不相等时,并且按照该两个长度提取的两个信息单元的帧校验序列验都证通过或者有一个通过时。可以将过验证的信息单元中的任意一个信息单元确定为信息单元1,接收设备根根该信息单元1的长度,或者信息单元1中固定位置存在的用于指示信息单元1的类型的子类型字段,确定信息单元1的类型,这样就可以解析信息单元1的内容了。
可选的,在步骤3中,根据帧校验序列验证结果,解析该信息单元,还可以包括:
当帧校验序列验证都不通过时,通过滑动窗口依次向后提取该数据包中长度为R比特的内容,确定该数据包中与该第一分隔符相邻并且通过该循环冗余码字段校验的第二分隔符,其中,第一分隔符的长度为R比特;
提取该第一分隔符和该第二分隔符中之间的第一信息单元;
根据该第一信息单元的长度,确定该第一信息单元的类型,或根据该第一信息单元的长度以及该第一信息单元中用于指示该第一信息单元类型的子类型字段,确定该第一信息单元的类型;
根据该第一信息单元的类型和该第一信息单元的长度,解析该第一信息单元。
具体而言,当该第一分隔符中信息单元类型字段对应的信息单元的长度和该第一分隔符中该长度字段指示的信息单元的长度相等时,并且根据该长度提取的信息单元的帧校验序列验证不通过时。或者当该第一分隔符中与信息单元类型字段对应的信息单元的长度和该第一分隔符中该长度字段指示的信息单元的长度不相等,并且根据这两个长度提取的信息单元的帧校验序列验证都不通过时,需要启动滑动窗口寻找下一个分隔符,可选的,这里通过滑动窗口向后提取的内容的长度可以为该第一分隔符的长度,即为R比特,应理解,也可以提取其他长度的内容。此时,利用与图6所示的数据包和分隔符格式利用滑动窗口寻找第二分隔符和解析信息单元的内容相似的方法,解析该第一信息单元的内容,为避免重复,这里不再赘述。
因此,本申请实施例的传输数据包的方法,由于采用了更为简洁的分隔符的格式,并且在分隔符中加入了用于指示信息单元的长度的长度字段,接收设备可以通过对比长度字段指示的信息单元的长度和信息类型字段对应的信息单元的长度,或者分别尝试根据信息类型字段或者长度字段来解析信息单元的内容。可以更快速的解析信息单元的内容,在分隔符的循环冗余校验失败的情况下,避免立即启动滑动窗口寻找下一个分隔符,可以增强分隔符的鲁棒性,减少接收设备复杂度,增强了分隔符的可恢复性,减小了分隔符的开销。
本申请的上述各种实施例针对的情况是在每一对分隔符和信息单元中,一种类型的信息单元唯一对应一个信息单元的长度。而针对于一种类型的信息单元不能唯一对应一个信息单元的长度这种情况,可以同样在信息单元中的固定位置引入长度指示,例如,当信息单元类型字段指示为信息单元的类型为数据帧,但是数据帧的长度却不唯一,这时,需要 在信息单元中的固定位置(例如数据帧的第一个字节)去进一步指示该数据帧的长度,这样便可以确定该数据帧的长度,就可以解析该数据帧的内容了。或者当接收设备没有正确接收到分隔符,而获知了信息单元的长度,同样,可以设计某种类型的信息单元的长度与其他类型的信息单元的长度不一样,或者,也可以在该长度的信息单元的固定字段进一步指示该信息单元的类型,这样,就可以确定该长度的信息单元的类型,进而解析该信息单元的内容。
本申请实施例还提供了一种传输数据包的方法200,图7示出本申请实施例的传输数据包的方法200的示意性流程图,该方法200包括:
S210,发送设备生成数据包,该数据包包括至少一对分隔符和信息单元,该分隔符用于分隔相邻的两个信息单元,该分隔符只包括循环冗余码字段。
S220,发送设备发送该数据包。相应的,接收设备接收该数据包。具体而言,发送设备向接收设备发送该数据包。接收设备接收发送设备发送的该数据包。
S230,该接收设备根据该循环冗余码字段解析该数据包中的信息单元的内容。
因此,由于本申请实施例的传输信息的方法采用了更为简洁的分隔符的格式,分隔符只包括循环冗余码字段,在完成分隔符作用的前提下,减小了分隔符的开销,节省了资源,提升了传输效率,降低了接收设备的复杂度。
应理解,本申请实施例中,FCS也是一种循环冗余码。因为该CRC是用来检测MAC帧的,所以又被称为FCS。一般用来校验整个MAC帧的叫做FCS,校验信令字段或者分隔符等字段的叫做CRC,因此,在本申请实施例中,帧校验序列和循环冗余码可以互换,本申请实施例在此不做限制。
具体的,在本申请的一个实施例中,图8或者图9为该数据包和分隔符的格式示意图,该数据包包括一个L-Preamble、一个W-Preamble、多对分隔符和信息单元。L-Preamble用于保证同一般主链路传输的数据的共存(Coexistence)。W-Preamble一般用于接收设备进行唤醒数据包检测,信令信息读取等。该数据包中的分隔符只包括循环冗余码字段,循环冗余码字段保护的是信息单元的内容,而不是分隔符本身。对于一对分隔符和信息单元来说,通过校验循环冗余码字段来确定分隔符是否正确。信息单元可以是一个MAC帧、如数据帧、信标帧或者确认帧等,也可以是物理层的一个字段,本申请实施例在此不做限制。分隔符起到就是分隔多个信息单元的作用。对于一对分隔符和信息单元来说,如图8所示,分隔符可以在信息单元的前面,或者如图9所示的分隔符也可以在信息单元的后面。
可选的,作为一个实施例,对于图8或者图9所示的数据包和分隔符的格式,循环冗余码字段的长度为4比特。
应理解,对于图8或者图9所示的数据包和分隔符的格式,循环冗余码字段的长度也可以为其他比特的长度。本申请实施例在此不做限制。
还应理解,针对如图8或者图9所示的数据包和分隔符的格式,该数据包中的前导码也可以是其他的前导码,也可以有多个前导码。例如,可以是用于物联网站点传输的物联网前导码等,本申请实施例在此不做限制。
还应理解,在本申请的实施例中,仅以如图8或者图9所示所示的数据包和分隔符的格式为例进行说明,但本申请实施例并不限于此。
可选的,作为一个实施例,在S230中,该接收设备根据该循环冗余码解析该数据包中的信息单元的内容,可以包括:
步骤1,确定该分隔符中通过循环冗余码字段校验的连续两个分隔符。
步骤2,解析该连续两个分隔符之间的信息单元的内容。
具体而言,接收设备接收到发送设备发送的数据包后,开始解析数据包中信息单元的内容。由于信息单元被分隔符一一分隔,因此,需要找到连续的两个分隔符之间的信息单元,才能解析该信息单元的内容。由于分隔符只包括循环冗余码字段,因此需要通过循环冗余码字段校验来找到连续的两个分隔符,才能确定在这两个分隔符之间的信息单元,这样才可以解析这两个分隔符之间的信息单元的内容。
可选的,作为S230中步骤1的一个实施例,接收设备确定该分隔符中通过循环冗余码字段校验的连续两个分隔符,可以包括:
步骤1,确定分隔符中通过循环冗余码字段校验的第一分隔符。
步骤2,通过滑动窗口依次向后提取该数据包中固定长度的内容。
步骤3,确定该数据包中与该第一分隔符相邻并且通过该循环冗余码字段校验的第二分隔符。
具体而言,接收设备接收到数据包后,首先校验分隔符的循环冗余码字段,当分隔符的循环冗余码字段校验通过时,确定该分隔符为第一分隔符,否则,继续校验分隔符的循环冗余码,直到找到通过循环冗余码字段校验的第一分隔符,然后通过滑动窗口,依次向后提取该数据包中固定长度的内容,直到找到该数据包中通过循环冗余码字段校验且与第一分隔符相邻的第二分隔符,这样,确定了第一个分隔符与第二分隔符,便可以解析这两个分隔符之间的信息单元的内容了。
应理解,上述的第一分隔符和第二分隔符表示的是两类类分隔符,而不应对分隔符和信息单元的个数产生限制。第一分隔符为数据包通过循环冗余码字段校验的分隔符,第二分隔符为与第一分隔符相邻,并且通过循环冗余码字段校验的分隔符。第一分隔符与第二分隔符可以是多个分隔符,也可以是一个分隔符。
下面将以图8所示的数据包和分隔符的格式为例详细说明本申请实施例的方法S230。
如图8所示,当接收设备接收到发送设备发送的数据包时,接收设备首先校验分隔符1中的CRC-1是否通过,当分隔符1中CRC-1校验通过时,证明分隔符1是一个正确的分隔符,然后通过滑动窗口从信息单元1之后开始,依次向后提取固定长度的内容,直到找到该数据包中与CRC-1相邻,并且通过循环冗余码字段校验的分隔符,假定为CRC-2,这样,便可以提取CRC-1和CRC-2之间的信息单元1,解析该信息单元1的内容。当分隔符1中CRC-1校验没有通过时,继续寻找循环冗余码字段通过校验的分隔符,确定该分隔符为第一分隔符,然后按照同样的方法去寻找第二分隔符,进而解析这两个分隔符之间的信息单元的内容。按照这样的方法,去解析整个数据包中信息单元的内容,
可选的,假定CRC-1字段的长度为X比特,信息单元1的长度为Y比特,X+Y凑成完整的字节数,因为在无线保真(Wireless Fidelity,WiFi)系统中,通常是以字节为单位的,若不满一个字节,通常通过填补对其,因此,如图7所示,当CRC-1为4比特时,信息单元1的长度可以为整数字节+4比特。可选的,当CRC-1为8比特时,信息单元1的长度为完整的字节数。可选的,该固定长度可以为CRC-1和信息单元1的长度之和。
应理解,上述的分隔符1、信息单元类型字段1以及信息单元1仅仅是为了表明在同一对分隔符和信息单元,而不应该对本申请的实施例产生任何限制。
因此,本申请实施例的传输数据包的方法采用了更为简洁的分隔符的格式,分隔符只包括循环冗余码字段,在完成分隔符作用的前提下,减小了分隔符的开销,节省了资源,提升了传输效率,降低了接收设备的复杂度。
应理解,在本申请的各种实施例中,上述各过程的序号的大小和各步骤并不意味执行顺序的先后,各过程的执行顺序应当以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
下面将对本申请实施例的接收设备和发送设备进行详细说明。
图10示出了根据本申请一个实施例的接收设备的300的示意性框图。如图10所示,接收设备300,包括:
收发器310,用于接收数据包,该数据包包括至少一对分隔符和信息单元,该分隔符用于分隔相邻的两个该信息单元,该分隔符包括循环冗余码字段和信息单元类型字段,在每一对分隔符和信息单元中,该信息单元类型字段用于指示该信息单元的类型,一种类型的信息单元唯一对应一个信息单元的长度。
处理器320,用于根据该收发器310接收的该循环冗余码字段和该信息单元类型字段,解析该信息单元。
本申请实施例提供的接收设备,在接收设备接收的数据包中,采用了更为简洁的分隔符的格式,在完成分隔符作用的前提下,减小了分隔符的开销,节省了资源,提升了传输效率,降低了接收设备的复杂度。
可选地,接收设备300中还可以包括存储器330。存储器330可以用于存储处理器320执行的代码等。
接收设备300中的各个组件通过总线系统340耦合在一起,其中总线系统340除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。
应注意,本申请上述方法实施例可以应用于处理器中,或者由处理器实现。处理器可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法实施例的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。
可选地,作为一个实施例,该处理器320具体用于:确定该数据包中通过循环冗余码字段校验的第一分隔符;根据与该第一分隔符中信息单元类型字段对应的第一信息单元的类型,确定该第一信息单元的长度;根据该第一信息单元的类型和该第一信息单元的长度, 解析该第一信息单元。
可选地,作为一个实施例,该处理器320具体用于:确定该数据包中没有通过循环冗余码字段校验的第一分隔符,该第一分隔符的长度为Z比特;通过滑动窗口依次向后提取该数据包中长度为Z比特的内容,确定该数据包中与该第一分隔符相邻并且通过该循环冗余码字段校验的第二分隔符;提取该第一分隔符和该第二分隔符之间的第一信息单元;根据该第一信息单元的长度,确定该第一信息单元的类型,或根据该第一信息单元的长度以及该第一信息单元中用于指示该第一信息单元类型的子类型字段,确定该第一信息单元的类型;根据该第一信息单元的类型和该第一信息单元的长度,解析该第一信息单元。
可选地,作为一个实施例,在该收发器310接收的所述数据包中,该分隔符还包括长度字段,在每一对分隔符和信息单元中,该长度字段用于指示该信息单元的长度,该处理器320具体用于:根据该收发器310接收该信息单元类型字段和该长度字段中的至少一个,以及该循环冗余码字段,解析所述信息单元。
可选地,作为一个实施例,该处理器320具体用于:确定该数据包中通过循环冗余码字段校验的第一分隔符;根据与该第一分隔符中信息单元类型字段对应的信息单元的长度和该第一分隔符中该长度字段指示的信息单元的长度中的任意一个,提取第一信息单元;根据该第一信息单元的长度和该第一分隔符中该信息单元类型字段指示的该第一信息单元的类型,解析该第一信息单元。
可选地,作为一个实施例,该处理器320具体用于:确定该分隔符中没有通过循环冗余码字段校验的第一分隔符,该第一分隔符的长度为R比特;当与该第一分隔符中该信息单元类型字段对应的信息单元的长度和该第一分隔符中该长度字段指示的信息单元的长度对应时,根据与该第一分隔符中该信息单元类型字段对应的信息单元的长度,或者该第一分隔符中该长度字段指示的信息单元的长度,提取信息单元,并对提取的信息单元做帧校验序列验证;当与该第一分隔符中该信息单元类型字段对应的信息单元的长度和该第一分隔符中该长度字段指示的信息单元的长度不对应时,根据与该第一分隔符中该信息单元类型字段对应的信息单元的长度和该第一分隔符中该长度字段指示的信息单元的长度分别提取信息单元,并对提取的信息单元分别做帧校验序列验证;根据帧校验序列验证结果,解析该信息单元。
可选地,作为一个实施例,该处理器320具体用于:确定通过该帧校验序列验证的信息单元;将通过验证的信息单元中的任意一个信息单元确定为第一信息单元,根据该第一信息单元的长度,确定该第一信息单元的类型,或者根据该第一信息单元的长度以及该第一信息单元中用于指示该第一信息单元类型的子类型字段,确定该第一信息单元的类型;根据该第一信息单元的类型和该第一信息单元的长度,解析该第一信息单元。
可选地,作为一个实施例,该处理器320具体用于:确定该信息单元都没有通过该帧校验序列验证;通过滑动窗口依次向后提取该数据包中长度为R比特的内容,确定该数据包中与该第一分隔符相邻并且通过该循环冗余码字段校验的第二分隔符;提取该第一分隔符和该第二分隔符中之间的第一信息单元;根据该第一信息单元的长度,确定该第一信息单元的类型,或者根据该第一信息单元的长度以及该第一信息单元中用于指示该第一信息单元类型的子类型字段,确定该第一信息单元的类型;根据该第一信息单元的类型和该第一信息单元的长度,解析该第一信息单元。
应注意,本申请实施例中,处理器320可以处理模块由实现。存储器330可以由存储模块实现。如图11所示,接收设备400可以包括收发模块410、处理模块420和存储模块430。
图10所示的接收设备300或图11所示的接收设备400能够实现前述图4所示各个的实施例中所实现的各个过程,为避免重复,这里不再赘述。
图12示出了本申请一个实施例的接收设备500的示意性框图。如图12所示,接收设备500,包括:
收发器510,用于接收数据包,该数据包包括至少一对分隔符和信息单元,该分隔符用于分隔相邻的两个该信息单元,该分隔符只包括循环冗余码字段;
处理器520,用于根据该收发器510接收的循环冗余码字段,解析该信息单元。
本申请实施例提供的接收设备,在接收设备接收的数据包中,采用了更为简洁的分隔符的格式,分隔符只包括循环冗余码字段,在完成分隔符作用的前提下,减小了分隔符的开销,节省了资源,提升了传输效率,降低了接收设备的复杂度。
可选地,接收设备500中还可以包括存储器530。存储器530可以用于存储处理器520执行的代码等。
接收设备500中的各个组件通过总线系统540耦合在一起,其中总线系统540除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。
可选地,作为一个实施例,该处理器520具体用于:确定该分隔符中通过循环冗余码字段校验的连续两个分隔符;解析该连续两个分隔符之间的信息单元的内容。
可选地,作为一个实施例,该处理器520具体用于:确定该分隔符中通过该循环冗余码字段校验的第一分隔符;通过滑动窗口依次向后提取该数据包中固定长度的内容;确定该数据包中与该第一分隔符相邻并且通过该循环冗余码字段校验的第二分隔符。
应注意,本申请实施例中,处理器520可以处理模块由实现。存储器530可以由存储模块实现。如图13所示,接收设备600可以包括收发模块610、处理模块620和存储模块630。
图12所示的接收设备500或图13所示的接收设备600能够实现前述图4所示的各个实施例中所实现的各个过程,为避免重复,这里不再赘述。
图14示出了本申请一个实施例的发送设备700的示意性框图。如图14所示,发送设备700,包括:
处理器710,用于生成数据包,该数据包包括至少一对分隔符和信息单元,该分隔符用于分隔相邻的两个该信息单元,该分隔符包括循环冗余码字段和信息单元类型字段,在每一对分隔符和信息单元中,该信息单元类型字段用于指示该信息单元的类型,一种类型的信息单元唯一对应一个信息单元的长度;
收发器720,用于发送该处理器710生成的该数据包。
本申请实施例提供的发送设备,在发送设备生成的数据包中,采用了更为简洁的分隔符的格式,在完成分隔符作用的前提下,减小了分隔符的开销,节省了资源,提升了传输效率,降低了接收设备的复杂度。
可选地,发送设备700中还可以包括存储器730。存储器730可以用于存储处理器710执行的代码等。
发送设备700中的各个组件通过总线系统740耦合在一起,其中总线系统740除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。
可选地,作为一个实施例,在该处理器710生成的该数据包中,该分隔符还包括长度字段,在每一对分隔符和信息单元中,该长度字段用于指示该信息单元的长度。
可选地,作为一个实施例,在该处理器710生成的该数据包中,当一个信息单元的长度对应着至少两种类型的信息单元时,该信息单元还包括用于指示该信息单元类型的子类型字段。
应注意,本申请实施例中,收发器720可以由收发模块实现。处理器710可以由处理模块实现。存储器730可以由存储模块实现。如图15所示,发送设备800可以包括处理模块810、收发模块820和存储模块830。
图14所示的发送设备700或图15所示的发送设备800能够实现前述图4所示的各个实施例中所实现的各个过程,为避免重复,这里不再赘述。
图16示出了本申请一个实施例的发送设备900的示意性框图。如图16所示,发送设备900,包括:
处理器910,用于生成数据包,该数据包包括至少一对分隔符和信息单元,该分隔符用于分隔相邻的两个该信息单元,该分隔符只包括循环冗余码字段。
收发器920,用于发送该处理器910生成的该数据包。
本申请实施例提供的发送设备,在发送设备生成的数据包中,采用了更为简洁的分隔符的格式,分隔符只包括循环冗余码字段,在完成分隔符作用的前提下,减小了分隔符的开销,节省了资源,提升了传输效率,降低了接收设备的复杂度。
可选地,发送设备900中还可以包括存储器930。存储器930可以用于存储处理器910执行的代码等。
发送设备900中的各个组件通过总线系统940耦合在一起,其中总线系统940除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。
应注意,本申请实施例中,收发器920可以由收发模块实现。处理器910可以处理模块由实现。存储器930可以由存储模块实现。如图17所示,发送设备1000可以包括处理模块1100、收发模块1200和存储模块1300。
图16所示的发送设备900或图17所示的发送设备1000能够实现前述图7所示的各个实施例中所实现的各个过程,为避免重复,这里不再赘述。
本申请实施例提供了一种计算机可读介质,用于存储计算机程序,该计算机程序包括用于执行上述图4和图6中本申请实施例的传输数据包的方法。该可读介质可以是只读存储器(Read-Only Memory,ROM)、或随机存取存储器(Random Access Memory,RAM),本申请实施例对此不做限制。
本申请实施例还提供了一种计算机可读介质,用于存储计算机程序,该计算机程序包括用于执行上述图7所示的本申请实施例的传输数据包的方法。该可读介质可以是ROM或者RAM,本申请实施例对此不做限制。
本申请实施例还提供了一种通信系统,该通信系统包括上述本申请实施例提供的发送设备和上述本申请实施例提供的接收设备,该通信系统可以完成本申请实施例提供的任一种传输数据包的方法。
本申请实施例还提供了一种系统芯片,该系统芯片包括:处理单元和通信单元,该处理单元,例如可以是处理器,该通信单元例如可以是输入/输出接口、管脚或电路等。该处理单元可执行计算机指令,以使该终端内的芯片执行上述任意一种传输数据包的方法。
可选地,该计算机指令被存储在存储单元中。
可选地,该存储单元为该芯片内的存储单元,如寄存器、缓存等,该存储单元还可以是该终端内的位于该芯片外部的存储单元,如ROM或可存储静态信息和指令的其他类型的静态存储设备,RAM等。其中,上述任一处提到的处理器,可以是一个CPU,微处理器,ASIC,或一个或多个用于控制上述第一种直连链路数据传输的方法的程序执行的集成电路。
应理解,本文中术语“和/或”以及“A或B中的至少一种”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟 悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (22)

  1. 一种传输数据包的方法,其特征在于,包括:
    接收数据包,所述数据包包括至少一对分隔符和信息单元,所述分隔符用于分隔相邻的两个所述信息单元,所述分隔符包括循环冗余码字段和信息单元类型字段,在每一对分隔符和信息单元中,所述信息单元类型字段用于指示所述信息单元的类型,一种类型的信息单元唯一对应一个信息单元的长度;
    根据所述循环冗余码字段和所述信息单元类型字段,解析所述信息单元。
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述循环冗余码字段和所述信息单元类型字段,解析所述信息单元,包括:
    确定所述数据包中通过循环冗余码字段校验的第一分隔符;
    根据与所述第一分隔符中所述信息单元类型字段对应的第一信息单元的类型,确定所述第一信息单元的长度;
    根据所述第一信息单元的类型和所述第一信息单元的长度,解析所述第一信息单元。
  3. 根据权利要求1所述的方法,其特征在于,所述根据所述循环冗余码字段和所述信息单元类型字段,解析所述信息单元,包括:
    确定所述数据包中没有通过循环冗余码字段校验的第一分隔符,所述第一分隔符的长度为Z比特;
    通过滑动窗口依次向后提取所述数据包中长度为Z比特的内容,确定所述数据包中与所述第一分隔符相邻并且通过所述循环冗余码字段校验的第二分隔符;
    提取所述第一分隔符和所述第二分隔符之间的第一信息单元;
    根据所述第一信息单元的长度,确定所述第一信息单元的类型,或根据所述第一信息单元的长度以及所述第一信息单元中用于指示所述第一信息单元类型的子类型字段,确定所述第一信息单元的类型;
    根据所述第一信息单元的类型和所述第一信息单元的长度,解析所述第一信息单元。
  4. 根据权利要求1所述的方法,其特征在于,所述分隔符还包括长度字段,在每一对分隔符和信息单元中,所述长度字段用于指示所述信息单元的长度,所述根据所述循环冗余码字段和所述信息单元类型字段,解析所述信息单元,包括:
    根据所述信息单元类型字段和所述长度字段中的至少一个,以及所述循环冗余码字段,解析所述信息单元。
  5. 根据权利要求4所述的方法,其特征在于,所述根据所述信息单元类型字段和所述长度字段中的至少一个,以及所述循环冗余码字段,解析所述信息单元,包括:
    确定所述数据包中通过循环冗余码字段校验的第一分隔符;
    根据与所述第一分隔符中所述信息单元类型字段对应的信息单元的长度和所述第一分隔符中所述长度字段指示的信息单元的长度中的任意一个,提取第一信息单元;
    根据所述第一信息单元的长度和所述第一分隔符中所述信息单元类型字段指示的所述第一信息单元的类型,解析所述第一信息单元。
  6. 根据权利要求4所述的方法,其特征在于,所述根据所述信息单元类型字段和所 述长度字段中的至少一个,以及所述循环冗余码字段,解析所述信息单元,包括:
    确定所述分隔符中没有通过循环冗余码字段校验的第一分隔符,所述第一分隔符的长度为R比特;
    当与所述第一分隔符中所述信息单元类型字段对应的信息单元的长度和所述第一分隔符中所述长度字段指示的信息单元的长度对应时,根据与所述第一分隔符中所述信息单元类型字段对应的信息单元的长度,或者所述第一分隔符中所述长度字段指示的信息单元的长度,提取信息单元,并对提取的信息单元做帧校验序列验证;
    当与所述第一分隔符中所述信息单元类型字段对应的信息单元的长度和所述第一分隔符中所述长度字段指示的信息单元的长度不对应时,根据与所述第一分隔符中所述信息单元类型字段对应的信息单元的长度和所述第一分隔符中所述长度字段指示的信息单元的长度分别提取信息单元,并对提取的信息单元分别做帧校验序列验证;
    根据帧校验序列验证结果,解析所述信息单元。
  7. 根据权利要求6所述的方法,其特征在于,所述根据帧校验序列验证结果,解析所述信息单元,包括:
    确定通过所述帧校验序列验证的信息单元;
    将通过验证的信息单元中的任意一个所述信息单元确定为第一信息单元,根据所述第一信息单元的长度,确定所述第一信息单元的类型,或根据所述第一信息单元的长度以及所述第一信息单元中用于指示所述第一信息单元类型的子类型字段,确定所述第一信息单元的类型;
    根据所述第一信息单元的类型和所述第一信息单元的长度,解析所述第一信息单元。
  8. 根据权利要求6所述的方法,其特征在于,所述根据帧校验序列验证结果,解析所述信息单元,包括:
    确定所述信息单元都没有通过所述帧校验序列验证;
    通过滑动窗口依次向后提取所述数据包中长度为R比特的内容,确定所述数据包中与所述第一分隔符相邻并且通过所述循环冗余码字段校验的第二分隔符;
    提取所述第一分隔符和所述第二分隔符中之间的第一信息单元;
    根据所述第一信息单元的长度,确定所述第一信息单元的类型,或根据所述第一信息单元的长度以及所述第一信息单元中用于指示所述第一信息单元类型的子类型字段,确定所述第一信息单元的类型;
    根据所述第一信息单元的类型和所述第一信息单元的长度,解析所述第一信息单元。
  9. 一种传输数据包的方法,其特征在于,包括:
    生成数据包,所述数据包包括至少一对分隔符和信息单元,所述分隔符用于分隔相邻的两个所述信息单元,所述分隔符包括循环冗余码字段和信息单元类型字段,在每一对分隔符和信息单元中,所述信息单元类型字段用于指示所述信息单元的类型,一种类型的信息单元唯一对应一个信息单元的长度;
    发送所述数据包。
  10. 根据权利要求9所述的方法,其特征在于,所述分隔符还包括长度字段,在每一对分隔符和信息单元中,所述长度字段用于指示所述信息单元的长度。
  11. 根据权利要求9或10所述的方法,其特征在于,当一个信息单元的长度对应着 至少两种类型的信息单元时,所述信息单元还包括用于指示所述信息单元类型的子类型字段。
  12. 一种接收设备,其特征在于,包括
    收发器,用于接收数据包,所述数据包包括至少一对分隔符和信息单元,所述分隔符用于分隔相邻的两个所述信息单元,所述分隔符包括循环冗余码字段和信息单元类型字段,在每一对分隔符和信息单元中,所述信息单元类型字段用于指示所述信息单元的类型,一种类型的信息单元唯一对应一个信息单元的长度;
    处理器,用于根据所述收发器接收的所述循环冗余码字段和所述信息单元类型字段,解析所述信息单元。
  13. 根据权利要求12所述的接收设备,其特征在于,所述处理器具体用于:
    确定所述数据包中通过循环冗余码字段校验的第一分隔符;
    根据与所述第一分隔符中所述信息单元类型字段对应的第一信息单元的类型,确定所述第一信息单元的长度;
    根据所述第一信息单元的类型和所述第一信息单元的长度,解析所述第一信息单元。
  14. 根据权利要求12所述的接收设备,其特征在于,所述处理器具体用于:
    确定所述数据包中没有通过循环冗余码字段校验的第一分隔符,所述第一分隔符的长度为Z比特;
    通过滑动窗口依次向后提取所述数据包中长度为Z比特的内容,确定所述数据包中与所述第一分隔符相邻并且通过所述循环冗余码字段校验的第二分隔符;
    提取所述第一分隔符和所述第二分隔符之间的第一信息单元;
    根据所述第一信息单元的长度,确定所述第一信息单元的类型,或根据所述第一信息单元的长度以及所述第一信息单元中用于指示所述第一信息单元类型的子类型字段,确定所述第一信息单元的类型;
    根据所述第一信息单元的类型和所述第一信息单元的长度,解析所述第一信息单元。
  15. 根据权利要求12所述的接收设备,其特征在于,在所述收发器接收的所述数据包中,所述分隔符还包括长度字段,在每一对分隔符和信息单元中,所述长度字段用于指示所述信息单元的长度,所述处理器具体用于:
    根据所述收发器接收的所述信息单元类型字段和所述长度字段中的至少一个,以及所述循环冗余码字段,解析所述信息单元。
  16. 根据权利要求15所述的接收设备,其特征在于,所述处理器具体用于:
    确定所述数据包中通过循环冗余码字段校验的第一分隔符;
    根据与所述第一分隔符中所述信息单元类型字段对应的信息单元的长度和所述第一分隔符中所述长度字段指示的信息单元的长度中的任意一个,提取第一信息单元;
    根据所述第一信息单元的长度和所述第一分隔符中所述信息单元类型字段指示的所述第一信息单元的类型,解析所述第一信息单元。
  17. 根据权利要求15所述的接收设备,其特征在于,所述处理器具体用于:
    确定所述分隔符中没有通过循环冗余码字段校验的第一分隔符,所述第一分隔符的长度为R比特;
    当与所述第一分隔符中所述信息单元类型字段对应的信息单元的长度和所述第一分 隔符中所述长度字段指示的信息单元的长度对应时,根据与所述第一分隔符中所述信息单元类型字段对应的信息单元的长度,或者所述第一分隔符中所述长度字段指示的信息单元的长度,提取信息单元,并对提取的信息单元做帧校验序列验证;
    当与所述第一分隔符中所述信息单元类型字段对应的信息单元的长度和所述第一分隔符中所述长度字段指示的信息单元的长度不对应时,根据与所述第一分隔符中所述信息单元类型字段对应的信息单元的长度和所述第一分隔符中所述长度字段指示的信息单元的长度分别提取信息单元,并对提取的信息单元分别做帧校验序列验证;
    根据帧校验序列验证结果,解析所述信息单元。
  18. 根据权利要求17所述的接收设备,其特征在于,所述处理器具体用于:
    确定通过所述帧校验序列验证的信息单元;
    将通过验证的信息单元中的任意一个所述信息单元确定为第一信息单元,根据所述第一信息单元的长度,确定所述第一信息单元的类型,或根据所述第一信息单元的长度以及所述第一信息单元中用于指示所述第一信息单元类型的子类型字段,确定所述第一信息单元的类型;
    根据所述第一信息单元的类型和所述第一信息单元的长度,解析所述第一信息单元。
  19. 根据权利要求17所述的接收设备,其特征在于,所述处理器具体用于:
    确定所述信息单元都没有通过所述帧校验序列验证;
    通过滑动窗口依次向后提取所述数据包中长度为R比特的内容,确定所述数据包中与所述第一分隔符相邻并且通过所述循环冗余码字段校验的第二分隔符;
    提取所述第一分隔符和所述第二分隔符中之间的第一信息单元;
    根据所述第一信息单元的长度,确定所述第一信息单元的类型,或者根据所述第一信息单元的长度以及所述第一信息单元中用于指示所述第一信息单元类型的子类型字段,确定所述第一信息单元的类型;
    根据所述第一信息单元的类型和所述第一信息单元的长度,解析所述第一信息单元。
  20. 一种发送设备,其特征在于,包括:
    处理器,用于生成数据包,所述数据包包括至少一对分隔符和信息单元,所述分隔符用于分隔相邻的两个所述信息单元,所述分隔符包括循环冗余码字段和信息单元类型字段,在每一对分隔符和信息单元中,所述信息单元类型字段用于指示所述信息单元的类型,一种类型的信息单元唯一对应一个信息单元的长度;
    收发器,用于发送所述处理器生成的所述数据包。
  21. 根据权利要求20所述的发送设备,其特征在于,在所述处理器生成的所述数据包中,所述分隔符还包括长度字段,在每一对分隔符和信息单元中,所述长度字段用于指示所述信息单元的长度。
  22. 根据权利要求20或21所述的发送设备,其特征在于,在所述处理器生成的所述数据包中,当一个信息单元的长度对应着至少两种类型的信息单元时,所述信息单元还包括用于指示所述信息单元类型的子类型字段。
PCT/CN2017/108021 2016-11-29 2017-10-27 传输数据包的方法和设备 WO2018099221A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP17877108.5A EP3537641B1 (en) 2016-11-29 2017-10-27 Method and device for transmitting data packet
US16/423,191 US10904121B2 (en) 2016-11-29 2019-05-28 Data packet transmission method and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611073991.1A CN108123775B (zh) 2016-11-29 2016-11-29 传输数据包的方法和设备
CN201611073991.1 2016-11-29

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/423,191 Continuation US10904121B2 (en) 2016-11-29 2019-05-28 Data packet transmission method and device

Publications (1)

Publication Number Publication Date
WO2018099221A1 true WO2018099221A1 (zh) 2018-06-07

Family

ID=62225865

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/108021 WO2018099221A1 (zh) 2016-11-29 2017-10-27 传输数据包的方法和设备

Country Status (4)

Country Link
US (1) US10904121B2 (zh)
EP (1) EP3537641B1 (zh)
CN (1) CN108123775B (zh)
WO (1) WO2018099221A1 (zh)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109413450B (zh) * 2018-09-30 2021-04-27 武汉斗鱼网络科技有限公司 一种弹幕数据的完整性校验方法、装置、终端及存储介质
CN116232555A (zh) * 2019-03-15 2023-06-06 华为技术有限公司 数据传输方法及装置
CN110825751B (zh) * 2019-11-13 2023-10-03 上海图莱智能科技有限公司 一种自定义数据格式的方法及数据转换系统
CN111673737A (zh) * 2020-05-13 2020-09-18 北京理工大学 一种机器人信息发送方法、接收方法、设备及存储介质
CN111641662B (zh) * 2020-07-01 2023-05-12 中国银行股份有限公司 报文格式检验方法及装置
CN115694563A (zh) * 2021-07-30 2023-02-03 国基电子(上海)有限公司 基于蓝牙的传输方法、发送装置、传输系统及存储介质
CN113746848B (zh) * 2021-09-07 2023-04-18 烽火通信科技股份有限公司 一种并行可编程组包器和方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013117029A1 (zh) * 2012-02-07 2013-08-15 北京新岸线移动多媒体技术有限公司 一种数据传输方法和装置
US20160043946A1 (en) * 2014-08-06 2016-02-11 Qualcomm Incorporated Systems and methods for aggregating multi-user media access control protocol data unit frames in a wireless network
US20160065466A1 (en) * 2014-08-28 2016-03-03 Qualcomm Incorporated Systems and methods for signaling multi-destination aggregated multi-user media access control protocol data units in a wireless network
CN105432114A (zh) * 2013-07-30 2016-03-23 高通股份有限公司 用于在无线网络中传达多目的地话务的系统和方法

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7305043B2 (en) * 2002-10-17 2007-12-04 Ibiquity Digital Corporation Method and apparatus for formatting signals for digital audio broadcasting transmission and reception
US7609724B1 (en) 2005-04-29 2009-10-27 Qualcomm Incorporated Enhanced frame aggregation in a wireless network system
US8249104B2 (en) * 2008-10-30 2012-08-21 Futurewei Technologies, Inc. Optical network terminal management and control interface over Ethernet
CN102595495A (zh) * 2012-02-07 2012-07-18 北京新岸线无线技术有限公司 一种数据发送、接收方法和装置
US10212086B2 (en) * 2013-08-28 2019-02-19 Qualcomm Incorporated Methods and apparatus for target transmission duration in multiple user uplink
US9602635B2 (en) * 2014-10-27 2017-03-21 Intel IP Corporation Wireless device, method, and computer readable media for compressed media access control header
EP3219041B1 (en) * 2014-11-11 2020-06-17 NXP USA, Inc. Acknowledgment for multiple user communication in a wlan
CN106161410B (zh) * 2015-04-24 2019-07-19 华为技术有限公司 数据处理方法、装置及系统
JP6728700B2 (ja) * 2016-01-15 2020-07-22 富士通株式会社 通信システム、通信プログラム、通信方法、および、通信装置
EP3484229B1 (en) * 2016-07-06 2022-05-11 Wilus Institute of Standards and Technology Inc. Wireless communication terminal using trigger information
US11917540B2 (en) * 2018-08-03 2024-02-27 Apple Inc. Target wake time scheme for multicast communication
US11770731B2 (en) * 2018-10-29 2023-09-26 Apple Inc. Target wake time traffic differentiation and service period extension

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013117029A1 (zh) * 2012-02-07 2013-08-15 北京新岸线移动多媒体技术有限公司 一种数据传输方法和装置
CN105432114A (zh) * 2013-07-30 2016-03-23 高通股份有限公司 用于在无线网络中传达多目的地话务的系统和方法
US20160043946A1 (en) * 2014-08-06 2016-02-11 Qualcomm Incorporated Systems and methods for aggregating multi-user media access control protocol data unit frames in a wireless network
US20160065466A1 (en) * 2014-08-28 2016-03-03 Qualcomm Incorporated Systems and methods for signaling multi-destination aggregated multi-user media access control protocol data units in a wireless network

Also Published As

Publication number Publication date
CN108123775B (zh) 2020-09-29
US20190280953A1 (en) 2019-09-12
EP3537641A4 (en) 2019-11-27
EP3537641A1 (en) 2019-09-11
CN108123775A (zh) 2018-06-05
EP3537641B1 (en) 2021-04-14
US10904121B2 (en) 2021-01-26

Similar Documents

Publication Publication Date Title
WO2018099221A1 (zh) 传输数据包的方法和设备
WO2019128580A1 (zh) 控制信道配置及检测方法和装置、程序及介质
EP2820787B1 (en) Apparatus and methods for block acknowledgment compression
EP3070867B1 (en) Apparatus and methods for block acknowledgment compression
US9253290B2 (en) Apparatus and methods for block acknowledgment compression
EP3499977B1 (en) Method and device for sending and receiving wur frame
US7760700B2 (en) Fast control messaging mechanism for use in wireless network communications
CN111698067B (zh) 数据传输方法及装置
WO2013117029A1 (zh) 一种数据传输方法和装置
US20160043946A1 (en) Systems and methods for aggregating multi-user media access control protocol data unit frames in a wireless network
WO2018166517A1 (zh) 一种数据传输方法、数据发送设备及数据接收设备
WO2019029566A1 (zh) 循环冗余校验的方法和设备
CN106888072B (zh) 数据传输方法及装置
WO2021056579A1 (zh) 一种dmrs样式指示信息的传输方法和通信装置
CN114095116A (zh) Dci解析方法、发送方法、终端和网络设备

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2017877108

Country of ref document: EP

Effective date: 20190607