WO2014071752A1 - Data communication device and data communication method - Google Patents

Data communication device and data communication method Download PDF

Info

Publication number
WO2014071752A1
WO2014071752A1 PCT/CN2013/080258 CN2013080258W WO2014071752A1 WO 2014071752 A1 WO2014071752 A1 WO 2014071752A1 CN 2013080258 W CN2013080258 W CN 2013080258W WO 2014071752 A1 WO2014071752 A1 WO 2014071752A1
Authority
WO
WIPO (PCT)
Prior art keywords
value
terminal
identifier bit
type
access channel
Prior art date
Application number
PCT/CN2013/080258
Other languages
French (fr)
Chinese (zh)
Inventor
董贤东
刘峰
Original Assignee
东莞宇龙通信科技有限公司
宇龙计算机通信科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 东莞宇龙通信科技有限公司, 宇龙计算机通信科技(深圳)有限公司 filed Critical 东莞宇龙通信科技有限公司
Publication of WO2014071752A1 publication Critical patent/WO2014071752A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/08Non-scheduled access, e.g. ALOHA
    • H04W74/0866Non-scheduled access, e.g. ALOHA using a dedicated channel for access
    • H04W74/0875Non-scheduled access, e.g. ALOHA using a dedicated channel for access with assigned priorities based access

Definitions

  • the present invention relates to the field of communications technologies, and in particular to data communication devices and data communication methods. Background technique
  • the STA (terminal) can be classified into a sensor type, an offloading type, and a hybrid type (that is, the STA can be either a sensor type or an offloading type).
  • EDCA Enhanced Distributed Channel Access
  • HCCA HCCA parameters
  • EDCA Enhanced Distribution Channel Access
  • HCCA Multiple Coordination Controlled Channel Access
  • the present invention provides a data communication apparatus, including: a data processing module, generating a message frame, where the message frame includes at least a terminal type identifier bit and a user access channel priority parameter identifier bit, and the terminal type identifier The value of the bit indicates the type of the terminal, and the value of the user access channel priority parameter identifier bit indicates the priority of the access channel set by the terminal; the data interaction module sends the message frame.
  • the data communication device can be
  • the AP such as a data collector
  • the data processing module may be a chip module for data processing in the data communication device
  • the data interaction module is equivalent to a signal transceiver device and an antenna, etc.
  • the AP sets the STA type and the STA in the message frame. The priority of the access channel set by the type ensures that the corresponding STA can access the network in an orderly manner according to the priority set for it.
  • the terminal type identifier bit when the value of the terminal type identifier bit is a first value, the terminal is a sensor type, and the value of the terminal type identifier bit is a second value, indicating that the terminal is an uninstall type.
  • the value of the terminal type identifier bit is a third value indicating that the terminal is a hybrid type, and the hybrid type indicates that the terminal can be used as a sensor type or an unloading type, the first value and the second value.
  • the third value is different from each other.
  • the AP can set the priority of each STA access channel according to the type of the STA, which is divided into a sensor type, an offloading type, and a hybrid type, to control the order in which different STAs access the network, for example,
  • the value of the terminal type flag is "00", it is expressed as the Sensor type.
  • the value of the terminal type flag is "01”, it is expressed as Offloading type.
  • the value of the terminal type flag is "10”
  • the value of the terminal type identifier bit having different bit lengths may also be used to indicate the type of the terminal.
  • the value of the terminal type identifier bit is the first value
  • the value of the user access channel priority parameter identifier bit is a fourth value
  • the terminal type identifier bit is The value is the second value
  • the value of the user access channel priority parameter identifier bit is a fifth value
  • the value of the terminal type identifier bit is the third value and the user access channel priority is
  • the value of the parameter identifier bit is a sixth value, where the fourth value, the fifth value, and the sixth value are different from each other, and the value of the user access channel priority parameter identifier bit is the fourth value indicating the The priority of the terminal is the highest, and the value of the user access channel priority parameter identifier bit is the fifth value indicating that the terminal has the lowest priority.
  • the terminal type identifier of the STA The value of the bit is "00", which is of the Sensor type.
  • the value of the corresponding STA user access channel priority parameter identifier bit of this type is "000", indicating that the STA is of the sensor type and has the highest priority among the two.
  • the STA's terminal type identifier bit has a value of "01" and is of the Offloading type.
  • the value of the corresponding user access channel priority parameter identifier bit of this type is "001", indicating that the STA is of the offloading type and has both The lowest priority.
  • the type of the STA of the hybrid type and the priority of the access channel are similar to those of the sensor type and the offloading type. That is, for different types of STAs, the priority of their access channels is different.
  • the terminal type identifier bit and the user access channel priority parameter identifier bit each include one or more bits or locations in the enhanced distributed channel access parameter set in the message frame.
  • the hybrid coordination function in the message frame controls one or more bits in the channel access parameter set.
  • the priority of the STA access channel can be set by using the EDCA parameter set or the bits in the HCCA parameter set.
  • the message frame further includes a packet information identifier bit, and the value of the packet information identifier bit is represented by a type group number set by the terminal.
  • the AP can be uniformly managed for an entire group of STAs. For example, if an AP manages 100 STAs at the same time, then The first 50 STAs are allocated in one group, and the group number is set to "0000001", indicating that the group number is the first group terminal, and the last 50 STAs are allocated in another group, and the group number is set to "0000010". Indicates that the group number is the second group of terminals. Of course, other bit lengths and values can also be used to indicate the group number of the STA.
  • the value of the terminal type identifier bit is the first value, and the value of the packet information identifier bit is a seventh value, and the value of the user access channel priority parameter identifier bit is An eighth value, or the value of the terminal type identifier bit is the second value, and the value of the packet information identifier bit is a ninth value and the value of the user access channel priority parameter identifier bit is tenth
  • the value, or the value of the terminal type identifier bit is the third value, and the value of the packet information identifier bit is an eleventh value and the value of the user access channel priority parameter identifier bit is a twelfth value.
  • the seventh value, the ninth value, and the eleventh value are different from each other, and the eighth value, the tenth value, and the The twelve values are different from each other.
  • the value of the STA type identifier bit of the STA is "00" and the value of the packet information identifier bit is "000001"
  • the value of the user access channel priority parameter identifier bit of the corresponding group type STA is determined.
  • the value of the terminal type identifier of the STA is "01” and the value of the packet information flag is "000010”, then the corresponding The value of the user access channel priority parameter identifier bit of this type of STA is "001”, and the STA of the Offloading type with group number 2 has the lowest priority access channel, that is, for different types of STAs, they cannot Assigned in the same group
  • the value of the packet information identifier bit is a seventh value, and the user picks up
  • the value of the input channel priority parameter identifier bit is a thirteenth value, or the value of the packet information identifier bit is a ninth value and the value of the user access channel priority parameter identifier bit is a fourteenth value, or
  • the value of the packet information identifier bit is the eleventh value and the value of the user access channel priority parameter identifier bit is a fifteenth value, wherein the seventh value, the ninth value, and the eleventh value are different from each other.
  • the thirteenth value, the fourteenth value, and the fifteenth value are the same or different from each other.
  • the AP assigns the first 50 STAs a group number of "00000 ⁇ , which is called the Sensor type terminal with the group number 1.
  • the corresponding AP sets the access for this group of STAs.
  • the channel priority is "001".
  • the AP assigns another group number "000010” to another 50 terminals, which is called a Sensor type terminal with group number 1.
  • the corresponding AP sets the access network priority for this group of terminals.
  • the level is "001" or "010", where the priority of the access channel indicated by "001" is higher or lower than the priority of the access channel indicated by "010", that is, the same type of STA, the AP is convenient for management. , they are assigned different group numbers. Due to different group numbers, the priority of these STAs accessing the network may be the same or different, but the priority of the access network of the same type of STAs in the same group number is the same.
  • the group information identifier bit includes one or more bits in the enhanced distributed channel access parameter set in the message frame or a mixed coordination function control channel access parameter set in the message frame.
  • One or more bits are included in the group information identifier bit.
  • the EDCA parameter set can be utilized or the bits in the HCCA parameter set can be utilized. To set the STA's grouping, or add a new information element in the EDCA parameter set or HCCA parameter set to group the STAs.
  • the message frame is a beacon frame, a probe response frame, an associated response frame, an open system authentication response frame, or a reassociation response frame.
  • the AP may notify the STA of the channel access parameters such as the priority set by the AP in various processes of interacting with the STA.
  • the present invention also provides a data communication method, including: generating a message frame, where the message frame includes at least a terminal type identifier bit and a user access channel priority parameter identifier bit, and the value of the terminal type identifier bit indicates a type of the terminal.
  • the value of the user access channel priority parameter identifier bit is represented as a priority of an access channel set by the terminal; and the message frame is sent.
  • the AP sets the STA type and the priority of the access channel set by the STA type in the message frame, and ensures that the corresponding STA can access the network in an orderly manner according to the priority set for it.
  • the terminal type identifier bit when the value of the terminal type identifier bit is a first value, the terminal is a sensor type, and the value of the terminal type identifier bit is a second value, indicating that the terminal is an uninstall type.
  • the value of the terminal type identifier bit is a third value indicating that the terminal is a hybrid type, and the hybrid type indicates that the terminal can be used as a sensor type or an unloading type, the first value and the second value.
  • the third value is different from each other.
  • the AP can set the priority of each STA access channel according to the type of the STA, which is divided into a sensor type, an offloading type, and a hybrid type, to control the order in which different STAs access the network, for example,
  • the value of the terminal type flag is "00", it is expressed as the Sensor type.
  • the value of the terminal type flag is "01”, it is expressed as Offloading type.
  • the value of the terminal type flag is "10”
  • the value of the terminal type identifier bit having different bit lengths may also be used to indicate the type of the terminal.
  • the value of the terminal type identifier bit is the first value
  • the value of the user access channel priority parameter identifier bit is a fourth value
  • the terminal type identifier bit is The value is the second value
  • the value of the user access channel priority parameter identifier bit is a fifth value
  • the value of the terminal type identifier bit is the third value and the user access channel priority is
  • the value of the parameter identifier bit is a sixth value, where the fourth value, the fifth value, and the sixth value are not mutually
  • the value of the user access channel priority parameter identifier bit is the fourth value indicating that the terminal has the highest priority
  • the value of the user access channel priority parameter identifier bit is the fifth value.
  • the terminal has the lowest priority.
  • the value of the STA type identifier bit of the STA is "00", which is a Sensor type
  • the value of the corresponding STA user access channel priority parameter identifier bit of this type is "000”, indicating STA.
  • the value of the terminal type identifier bit of the STA is "01”, which is of the Offloading type
  • the value of the corresponding user access channel priority parameter identifier bit of this type is "001" , indicating that the STA is of the offloading type and has the lowest priority of the two.
  • the type of the STA of the hybrid type and the priority of the access channel are similar to those of the sensor type and the offloading type. That is, for different types of STAs, the priority of their access channels is different.
  • the terminal type identifier bit and the user access channel priority parameter identifier bit each include one or more bits or locations in the enhanced distributed channel access parameter set in the message frame.
  • the hybrid coordination function in the message frame controls one or more bits in the channel access parameter set.
  • the priority of the STA access channel can be set by using the EDCA parameter set or the bits in the HCCA parameter set.
  • the message frame further includes a packet information identifier bit, and the value of the packet information identifier bit is represented by a type group number set by the terminal.
  • the AP can be uniformly managed for an entire group of STAs. For example, if an AP manages 100 STAs at the same time, then The first 50 STAs are allocated in one group, and the group number is set to "0000001", indicating that the group number is the first group terminal, and the last 50 STAs are allocated in another group, and the group number is set to "0000010". Indicates that the group number is the second group of terminals. Of course, other bit lengths and values can also be used to indicate the group number of the STA.
  • the value of the terminal type identifier bit is the first value, and the value of the packet information identifier bit is a seventh value, and the value of the user access channel priority parameter identifier bit is An eighth value, or the value of the terminal type identifier bit is the second value, and the value of the packet information identifier bit is a ninth value and the value of the user access channel priority parameter identifier bit is tenth
  • the value, or the value of the terminal type identifier bit is the third value, and the value of the packet information identifier bit is an eleventh value and the value of the user access channel priority parameter identifier bit is a twelfth value.
  • the seventh value, the ninth value, and the eleventh value are different from each other, and the eighth value, the tenth value, and the twelfth value are different from each other.
  • the value of the STA type identifier bit of the STA is "00" and the value of the packet information identifier bit is "000001"
  • the value of the user access channel priority parameter identifier bit of the corresponding group type STA is determined.
  • the value of the terminal type identifier of the STA is "01” and the value of the packet information flag is "000010”, then the corresponding The value of the user access channel priority parameter identifier bit of this type of STA is "001”, and the STA of the Offloading type with group number 2 has the lowest priority access channel, that is, for different types of STAs, they cannot Assigned in the same group.
  • the value of the packet information identifier bit is a seventh value, and the user picks up
  • the value of the input channel priority parameter identifier bit is a thirteenth value, or the value of the packet information identifier bit is a ninth value and the value of the user access channel priority parameter identifier bit is a fourteenth value, or
  • the value of the packet information identifier bit is the eleventh value and the value of the user access channel priority parameter identifier bit is a fifteenth value, wherein the seventh value, the ninth value, and the eleventh value are different from each other.
  • the thirteenth value, the fourteenth value, and the fifteenth value are the same or different from each other.
  • the AP assigns a group number of "00000 ⁇ to the top 50 STAs, which is called a Sensor type terminal with a group number of 1, and the corresponding AP.
  • the priority of the access channel set for this group of STAs is "001".
  • the same AP assigns another group number "000010" to the other 50 terminals, which is called the Sensor type terminal with group number 1.
  • the corresponding AP is this.
  • the group terminal sets the priority of the access network to "001" or "010", where the priority of the access channel indicated by "001” is higher or lower than the priority of the access channel indicated by "010", that is, the same kind Types of STAs, APs are assigned different group numbers for easy management. Due to different group numbers, the priority of these STAs to access the network may be the same or different, but the same type of STAs are in the same group number. The priority of the access network is the same.
  • the packet information identifier bit is included in the message frame.
  • the EDCA parameter set or the bits in the HCCA parameter set may be utilized to perform STA grouping, or to add new information elements in the EDCA parameter set or the HCCA parameter set. To group the STAs.
  • the message frame is a beacon frame, a probe response frame, an associated response frame, an open system authentication response frame, or a reassociation response frame.
  • the AP may notify the STA of the channel access parameters such as the priority set by the AP in various processes of interacting with the STA.
  • the present invention further provides a data communication apparatus, comprising: a data interaction module, receiving a message frame, wherein the message frame includes at least a terminal type identifier bit and a user access channel priority parameter identifier bit; and a data processing module, from the message Obtaining, in the frame, a value of the terminal type identifier bit and a value of the user access channel priority parameter identifier bit, where the value of the terminal type identifier bit indicates a type of the terminal, and the user access channel priority parameter identifier bit The value indicates the priority of the access channel set by the access point for the terminal.
  • the data communication device may be a STA
  • the data processing module may be a chip module for data processing in the data communication device
  • the data interaction module is equivalent to a signal transceiver device and an antenna, etc.
  • the STA may acquire the AP from the message frame.
  • the access channel is set according to its type priority, and can be accessed in an orderly manner according to the priority set by the AP.
  • the terminal type identifier bit when the value of the terminal type identifier bit is a first value, the terminal is a sensor type, and the value of the terminal type identifier bit is a second value, indicating that the terminal is an uninstall type.
  • the value of the terminal type identifier bit is a third value indicating that the terminal is a hybrid type, and the hybrid type indicates that the terminal can be used as a sensor type or an unloading type, the first value and the second value.
  • the third value is different from each other.
  • the type of the STA is divided into a sensor type, an offloading type, and a hybrid type, and corresponding to different access channel priorities, the STA may first obtain a type corresponding to itself from the message frame, and then obtain the type.
  • the priority parameter configured by the type STA for example, when the value of the terminal type identifier bit is "00", it is expressed as the Sensor type. When the value of the terminal type identifier bit is "01”, it is expressed as the Offloading type. When the value of the terminal type identifier bit is set, When it is "10", it is expressed as a mixed type.
  • the value of the terminal type identifier bit having a different bit length may also be used to indicate the type of the terminal.
  • the value of the terminal type identifier bit is the first value
  • the value of the user access channel priority parameter identifier bit is a fourth value
  • the terminal type identifier bit is The value is the second value
  • the value of the user access channel priority parameter identifier bit is a fifth value
  • the value of the terminal type identifier bit is the third value and the user access channel priority is
  • the value of the parameter identifier bit is a sixth value, where the fourth value, the fifth value, and the sixth value are different from each other, and the value of the user access channel priority parameter identifier bit is the fourth value indicating the The priority of the terminal is the highest, and the value of the user access channel priority parameter identifier bit is the fifth value indicating that the terminal has the lowest priority.
  • the value of the STA type identifier bit of the STA is "00", which is a Sensor type
  • the value of the corresponding STA user access channel priority parameter identifier bit of this type is "000”, indicating STA.
  • the value of the terminal type identifier bit of the STA is "01”, which is of the Offloading type
  • the value of the corresponding user access channel priority parameter identifier bit of this type is " 001" , indicating that the STA is of the offloading type and has the lowest priority of the two.
  • the type of the STA of the hybrid type and the priority of the access channel are similar to those of the sensor type and the offloading type. That is, for different types of STAs, their access channels have different priority levels.
  • the terminal type identifier bit and the user access channel priority parameter identifier bit each include one or more bits or locations in the enhanced distributed channel access parameter set in the message frame.
  • the hybrid coordination function in the message frame controls one or more bits in the channel access parameter set.
  • the EDCA parameter set or the bits in the HCCA parameter set may be utilized to set the priority of the STA access channel, and the ST A reads from the corresponding position in the message frame. Just take it.
  • the message frame further includes a packet information identifier bit, where the data processing module further acquires a value of the packet information identifier bit from the message frame, where the packet information identifier bit The value indicates the type group number set for the terminal.
  • the STA can implement the operation of accessing the network by combining its own group number, for example, the AP manages 100 at the same time. STA, then you can assign the first 50 STAs to a group, set them to group number "0000001", indicating that the group number is the first group terminal, and the last 50 STAs are assigned to another group, and set the group number for them. It is "0000010", indicating that the group number is the second group of terminals.
  • other bit lengths and values can also be used to indicate the group number of the STA.
  • the value of the terminal type identifier bit is the first value, and the value of the packet information identifier bit is a seventh value, and the value of the user access channel priority parameter identifier bit is An eighth value, or the value of the terminal type identifier bit is the second value, and the value of the packet information identifier bit is a ninth value and the value of the user access channel priority parameter identifier bit is tenth
  • the value, or the value of the terminal type identifier bit is the third value, and the value of the packet information identifier bit is an eleventh value and the value of the user access channel priority parameter identifier bit is a twelfth value.
  • the seventh value, the ninth value, and the eleventh value are different from each other, and the eighth value, the tenth value, and the twelfth value are different from each other.
  • the value of the STA type identifier bit of the STA is "00" and the value of the packet information identifier bit is "000001"
  • the value of the user access channel priority parameter identifier bit of the corresponding group type STA is determined.
  • the value of the terminal type identifier of the STA is "01” and the value of the packet information flag is "000010”, then the corresponding The value of the user access channel priority parameter identifier bit of this type of STA is "001”, and the STA of the Offloading type with group number 2 has the lowest priority access channel, that is, for different types of STAs, they cannot Assigned in the same group.
  • the value of the packet information identifier bit is a seventh value, and the user picks up
  • the value of the input channel priority parameter identifier bit is a thirteenth value, or the value of the packet information identifier bit is a ninth value and the value of the user access channel priority parameter identifier bit is a fourteenth value, or
  • the value of the packet information identifier bit is the eleventh value and the value of the user access channel priority parameter identifier bit is a fifteenth value, wherein the seventh value, the ninth value, and the eleventh value are different from each other.
  • the thirteenth value, the fourteenth value, and the fifteenth value are the same or different from each other.
  • the AP assigns a group number of "00000 ⁇ to the top 50 STAs, which is called a Sensor type terminal with a group number of 1, and the corresponding AP.
  • the priority of the access channel set for this group of STAs is "001", and the same AP gives 50 other
  • the terminal is assigned another group number "000010", which is called the Sensor type terminal with group number 2.
  • the corresponding AP sets the access network priority to "001" or "010" for this group of terminals, where "001" Indicates that the priority of the access channel is higher or lower than the priority of the access channel indicated by "010", that is, the STAs of the same type.
  • the APs are assigned different group numbers for the convenience of management, due to the group number. Differently, the priority of these STAs to access the network may be the same or different, but the access networks of the same type of STAs in the same group number have the same priority.
  • the group information identifier bit includes one or more bits in the enhanced distributed channel access parameter set in the message frame or a mixed coordination function control channel access parameter set in the message frame.
  • One or more bits may be utilized to perform STA grouping, or to add new information elements in the EDCA parameter set or the HCCA parameter set. To group the STAs.
  • the message frame is a beacon frame, a probe response frame, an associated response frame, an open system authentication response frame, or a reassociation response frame.
  • the AP may notify the STA of the channel access parameters such as the priority set by the AP in various processes of interacting with the STA.
  • the present invention further provides a data communication method, including: receiving a message frame, where the message frame includes at least a terminal type identifier bit and a user access channel priority parameter identifier bit; and obtaining the terminal type identifier from the message frame
  • the value of the bit and the value of the user access channel priority parameter identifier bit, the value of the terminal type identifier bit indicates the type of the terminal, and the value of the user access channel priority parameter identifier bit indicates that the access point is The priority of the access channel set by the terminal.
  • the STA can obtain the priority of the access channel set by the AP according to its type from the message frame, and can access the network in an orderly manner according to the priority set by the AP.
  • the terminal type identifier bit when the value of the terminal type identifier bit is a first value, the terminal is a sensor type, and the value of the terminal type identifier bit is a second value, indicating that the terminal is an uninstall type.
  • the value of the terminal type identifier bit is a third value indicating that the terminal is a hybrid type, and the hybrid type indicates that the terminal can be used as a sensor type or an unloading type, the first value and the second value.
  • the third value is different from each other.
  • the class of STA The type is divided into a sensor type, an offloading type, and a hybrid type, which correspond to the priorities of different access channels.
  • the STA can first obtain the type matching the self from the message frame, and then obtain the priority parameter configured for the type STA. For example, when the value of the terminal type flag is "00", it is expressed as the Sensor type. When the value of the terminal type flag is "01”, it is expressed as Offloading type. When the value of the terminal type flag is "10”, it is indicated as mixed. Type, of course, the value of the terminal type identifier bit having a different bit length may be used to indicate the type of the terminal.
  • the value of the terminal type identifier bit is the first value
  • the value of the user access channel priority parameter identifier bit is a fourth value
  • the terminal type identifier bit is The value is the second value
  • the value of the user access channel priority parameter identifier bit is a fifth value
  • the value of the terminal type identifier bit is the third value and the user access channel priority is
  • the value of the parameter identifier bit is a sixth value, where the fourth value, the fifth value, and the sixth value are different from each other, and the value of the user access channel priority parameter identifier bit is the fourth value indicating the The priority of the terminal is the highest, and the value of the user access channel priority parameter identifier bit is the fifth value indicating that the terminal has the lowest priority.
  • the value of the STA type identifier bit of the STA is "00", which is a Sensor type
  • the value of the corresponding STA user access channel priority parameter identifier bit of this type is "000”, indicating STA.
  • the value of the terminal type identifier bit of the STA is "01”, which is of the Offloading type
  • the value of the corresponding user access channel priority parameter identifier bit of this type is " 001" , indicating that the STA is of the offloading type and has the lowest priority of the two.
  • the type of the STA of the hybrid type and the priority of the access channel are similar to those of the sensor type and the offloading type. That is, for different types of STAs, their access channels have different priority levels.
  • the terminal type identifier bit and the user access channel priority parameter identifier bit each include one or more bits or locations in the enhanced distributed channel access parameter set in the message frame.
  • the hybrid coordination function in the message frame controls one or more bits in the channel access parameter set.
  • the EDCA parameter set or the bits in the HCCA parameter set may be utilized to set the priority of the STA access channel, and the ST A reads from the corresponding position in the message frame. Just take it.
  • the message frame further includes a packet information identifier bit
  • the data communication method further includes: acquiring, according to the ;; the message frame, the value of the identifier bit, The value of the packet information flag is expressed as the type group number set by the terminal.
  • the first 50 STAs can be assigned to a group, and the group number is set to "0000001", indicating that the group number is the first group terminal, and the last 50 STAs are allocated in another group, and the group number is set to "0000010" , indicating that the group number is the second group of terminals, of course, other bit lengths and values can also be used to indicate the group number of the STA.
  • the value of the terminal type identifier bit is the first value, and the value of the packet information identifier bit is a seventh value, and the value of the user access channel priority parameter identifier bit is An eighth value, or the value of the terminal type identifier bit is the second value, and the value of the packet information identifier bit is a ninth value and the value of the user access channel priority parameter identifier bit is tenth
  • the value, or the value of the terminal type identifier bit is the third value, and the value of the packet information identifier bit is an eleventh value and the value of the user access channel priority parameter identifier bit is a twelfth value.
  • the seventh value, the ninth value, and the eleventh value are different from each other, and the eighth value, the tenth value, and the twelfth value are different from each other.
  • the value of the STA type identifier bit of the STA is "00" and the value of the packet information identifier bit is "000001"
  • the value of the user access channel priority parameter identifier bit of the corresponding group type STA is determined.
  • the STA of the sensor type with group number 1 has the highest priority access channel, the value of the STA's terminal type flag is "01" and the value of the packet information flag is "000010", then the corresponding The value of the user access channel priority parameter identifier bit of this type of STA is "001”, and the STA of the Offloading type with group number 2 has the lowest priority access channel, that is, for different types of STAs, they cannot Assigned in the same group.
  • the value of the packet information identifier bit is a seventh value, and the user picks up
  • the value of the input channel priority parameter identifier bit is a thirteenth value, or the value of the packet information identifier bit is a ninth value and the value of the user access channel priority parameter identifier bit is a fourteenth value, or
  • the value of the packet information identifier bit is the eleventh value and the value of the user access channel priority parameter identifier bit
  • the fifteenth value, wherein the seventh value, the ninth value, and the eleventh value are different from each other, and the thirteenth value, the fourteenth value, and the fifteenth value are the same or different from each other.
  • the AP assigns the first 50 STAs a group number of "00000 ⁇ , which is called the Sensor type terminal with the group number 1.
  • the corresponding AP sets the access for this group of STAs.
  • the channel priority is "001".
  • the AP assigns another group number "000010” to another 50 terminals, which is called a Sensor type terminal with group number 1.
  • the corresponding AP sets the access network priority for this group of terminals.
  • the level is "001" or "010", where the priority of the access channel indicated by "001" is higher or lower than the priority of the access channel indicated by "010", that is, the same type of STA, the AP is convenient for management. They are assigned different group numbers. Due to different group numbers, the priority of these STAs to access the network may be the same or different, but the priority of the access network of the same type of STAs in the same group number is the same.
  • the group information identifier bit includes one or more bits in the enhanced distributed channel access parameter set in the message frame or a mixed coordination function control channel access parameter set in the message frame.
  • One or more bits may be utilized to perform STA grouping, or to add new information elements in the EDCA parameter set or the HCCA parameter set. To group the STAs.
  • the message frame is a beacon frame, a probe response frame, an associated response frame, an open system authentication response frame, or a reassociation response frame.
  • the AP may notify the STA of the channel access parameters such as the priority set by the AP in various processes of interacting with the STA.
  • the data communication device and the data communication method can be implemented, and the AP can be configured to set the multiple channel access parameter sets of the STA in detail, so that the process of the STA accessing the network can be well controlled.
  • FIG. 1 is a block diagram of a data communication device in accordance with one embodiment of the present invention.
  • FIG. 2 is a flow chart of a data communication method in accordance with one embodiment of the present invention
  • Figure 3 is a block diagram of a data communication device in accordance with one embodiment of the present invention
  • Figure 4 is a flow diagram of a data communication method in accordance with one embodiment of the present invention
  • FIG. 5 is a message structure diagram of a data communication method according to an embodiment of the present invention
  • FIG. 6 is a message structure diagram of a data communication method according to an embodiment of the present invention
  • FIG. 7 is data according to an embodiment of the present invention.
  • FIG. 1 is a block diagram of a data communication device in accordance with one embodiment of the present invention.
  • the present invention provides a data communication apparatus 100, including: a data processing module 102, which generates a message frame, where the message frame includes at least a terminal type identifier bit and a user access channel priority parameter identifier bit, where The value of the terminal type identifier bit indicates the type of the terminal, and the value of the user access channel priority parameter identifier bit indicates the priority of the access channel set by the terminal; the data interaction module 104 sends the message frame.
  • the data communication device 100 may be an AP, such as a data collector
  • the data processing module 102 may be a chip module for data processing in the data communication device 100
  • the data interaction module 104 is equivalent to a signal transceiver device and Antennas, etc.
  • the AP sets the STA type and the priority of the access channel set by the STA type in the message frame to ensure that the corresponding STA can access the network in an orderly manner according to the priority set for it.
  • the AP can press the STA The type is divided into the sensor type, the offloading type, and the hybrid type to set the priority of each STA access channel to control the order in which different STAs access the network. For example, when the terminal type identifier bit is "00" The time is expressed as the Sensor type. When the value of the terminal type flag is "01", it is expressed as Offloading type. When the value of the terminal type flag is
  • the "10" is expressed as a hybrid type.
  • the value of the terminal type identification bit having a different bit length may be used to indicate the type of the terminal.
  • the value of the terminal type identifier bit is the first value
  • the value of the user access channel priority parameter identifier bit is a fourth value
  • the value of the terminal type identifier bit is Determining a second value
  • the value of the user access channel priority parameter identifier bit is a fifth value
  • the value of the terminal type identifier bit is the third value
  • the user access channel priority parameter identifier bit The value of the fourth value, the fifth value, and the sixth value are different from each other, and the value of the user access channel priority parameter identifier bit is the fourth value indicating the priority of the terminal.
  • the highest level, the value of the user access channel priority parameter identifier bit is the fifth value indicating that the terminal has the lowest priority.
  • it is assumed that the value of the terminal type identifier bit of the STA is
  • the value of the corresponding STA user access channel priority parameter identifier bit of this type is "000", indicating that the STA is the sensor type and has the highest priority among the two, the terminal of the STA
  • the value of the type identifier bit is "01”, which is of the Offloading type.
  • the value of the corresponding user access channel priority parameter identifier bit of this type is "001”, indicating that the STA is of the offloading type and has the lowest priority of the two. level.
  • the type of the STA of the hybrid type and the priority of the access channel are similar to those of the sensor type and the offloading type. That is, for different types of STAs, their access channels have different priority levels.
  • the terminal type identifier bit and the user access channel priority parameter identifier bit both include one or more bits or the message frame in the enhanced distributed channel access parameter set in the message frame.
  • the medium hybrid coordination function controls one or more bits of the channel access parameter set.
  • the priority of the STA access channel can be set by using the EDCA parameter set or the bits in the HCCA parameter set.
  • the message frame further includes a packet information identifier bit, and the value of the packet information identifier bit is represented by a type group number set by the terminal.
  • the AP can manage the entire group of STAs. For example, if the AP manages 100 STAs at the same time, the first 50 STAs can be assigned to one group. Inside, set the group number to "0000001", indicating that the group number is the first group terminal, and the last 50 STAs are assigned in another group, and set the group number to "0000010", indicating that the group number is the second group terminal.
  • other bit lengths and values can also be used to indicate the STA's group number.
  • the value of the terminal type identifier bit is the first value, and the value of the packet information identifier bit is a seventh value, and the value of the user access channel priority parameter identifier bit is an eighth value.
  • the value, or the value of the terminal type identifier bit is the second value, and the value of the packet information identifier bit is a ninth value and the value of the user access channel priority parameter identifier bit is a tenth value, or
  • the value of the terminal type identifier bit is the third value, and the value of the packet information identifier bit is the eleventh value, and the value of the user access channel priority parameter identifier bit is the twelfth value, where The seventh value, the ninth value, and the eleventh value are different from each other, and the eighth value, the tenth value, and the twelfth value are different from each other.
  • the corresponding user access channel priority parameter identifier of the group type STA The value is "000", indicating that the STA of the sensor type with the group number of 1 has the highest priority access channel, the value of the terminal type identifier of the STA is "01" and the value of the packet information flag is "000010”, then The value of the user access channel priority parameter identifier bit of the corresponding type of STA is "001", and the STA of the Offloading type with the group number 2 has the lowest priority access channel, that is, for different types of STAs, Cannot be assigned in the same group.
  • the value of the packet information identifier bit when the value of the terminal type identifier bit is the first value, the second value, or the third value, the value of the packet information identifier bit is a seventh value, and the user access channel takes precedence.
  • the value of the level parameter identifier bit is a thirteenth value, or the value of the packet information identifier bit is a ninth value and the value of the user access channel priority parameter identifier bit is a fourteenth value, or the group information
  • the value of the identifier bit is the eleventh value, and the value of the user access channel priority parameter identifier bit is a fifteenth value, wherein the seventh value, the ninth value, and the eleventh value are different from each other, The thirteenth value, the fourteenth value, and the fifteenth value are the same or different from each other.
  • the AP allocates one to the first 50 STAs for convenient management.
  • the group number is " ⁇ ", which is called the Sensor type terminal with group number 1.
  • the corresponding AP sets the access channel priority to "001" for this group of STAs.
  • the same AP assigns another group number to the other 50 terminals.
  • "000010” called the Sensor type terminal with group number 2
  • the corresponding AP sets the access network priority to "001" or "010” for the group of terminals, where the access channel priority indicated by "001”
  • the priority of the access channel above or below the "010” is the same type of STA.
  • the APs are assigned different group numbers for convenient management. These STAs access the network due to different group numbers.
  • the priority may be the same or different, but the access network of the same type of STA in the same group number has the same priority.
  • the packet information identifier bit includes one or more bits in the enhanced distributed channel access parameter set in the message frame or one of a mixed coordination function control channel access parameter set in the message frame or Multiple bits.
  • the EDCA parameter set or the bits in the HCCA parameter set can be utilized to set the STA group, or to add a new information element in the EDCA parameter set or the HCCA parameter set. To group the STAs.
  • the message frame is a beacon frame, a probe response frame, an association response frame, an open system authentication response frame, or a reassociation response frame.
  • the AP may notify the STA of the channel access parameters such as the priority set by the AP in various processes of interacting with the STA.
  • FIG. 2 is a flow chart of a data communication method in accordance with one embodiment of the present invention.
  • the present invention further provides a data communication method, including: Step 202: Generate a message frame, where the message frame includes at least a terminal type identifier bit and a user access channel priority parameter identifier bit, where the terminal The value of the type identifier bit indicates the type of the terminal, and the value of the user access channel priority parameter identifier bit indicates the priority of the access channel set by the terminal.
  • Step 204 Send the message frame.
  • the AP sets the STA type and the priority of the access channel set by the STA type in the message frame, so that the corresponding STA can access the network in an orderly manner according to the priority set for the AP.
  • the terminal type identifier bit when the value of the terminal type identifier bit is a first value, the terminal is a sensor type, and the value of the terminal type identifier bit is a second value, indicating that the terminal is unloaded.
  • the first type, the first value, the third value indicates that the terminal is a hybrid type, and the hybrid type indicates that the terminal can be used as both a sensor type and an unloading type.
  • the binary value and the third value are different from each other.
  • the AP can preferentially set the priority of each STA access channel according to the type of the STA, which is divided into a sensor type, an offloading type, and a hybrid type, to control the order in which different STAs access the network, for example,
  • the value of the terminal type flag is "00", it is expressed as the Sensor type.
  • the value of the terminal type flag is "01”, it is expressed as Offloading type.
  • the value of the terminal type flag is "10”
  • the value of the terminal type identifier bit having different bit lengths may also be used to indicate the type of the terminal.
  • the value of the terminal type identifier bit is the first value
  • the value of the user access channel priority parameter identifier bit is a fourth value
  • the value of the terminal type identifier bit is Determining a second value
  • the value of the user access channel priority parameter identifier bit is a fifth value
  • the value of the terminal type identifier bit is the third value
  • the user access channel priority parameter identifier bit The value of the fourth value, the fifth value, and the sixth value are different from each other, and the value of the user access channel priority parameter identifier bit is the fourth value indicating the priority of the terminal.
  • the highest level, the value of the user access channel priority parameter identifier bit is the fifth value indicating that the terminal has the lowest priority.
  • the value of the STA type identifier bit of the STA is "00", which is a Sensor type
  • the value of the corresponding STA user access channel priority parameter identifier bit of this type is "000”, indicating STA.
  • the type of the STA of the hybrid type and the priority of the access channel are similar to those of the sensor type and the offloading type. That is, for different types of STAs, their access channels have different priority levels.
  • the terminal type identifier bit and the user access channel priority parameter identifier bit both include one or more bits or the message frame in the enhanced distributed channel access parameter set in the message frame.
  • the medium hybrid coordination function controls one or more bits of the channel access parameter set.
  • the EDCA parameter set can also be utilized.
  • the priority of the STA access channel is set using the bits in the HCCA parameter set.
  • the message frame further includes a packet information identifier bit, and the value of the packet information identifier bit is represented by a type group number set by the terminal.
  • multiple STAs can be divided into different groups, and the AP can be uniformly managed for an entire group of STAs. For example, if an AP manages 100 STAs at the same time, then The first 50 STAs are allocated in one group, and the group number is set to "0000001", indicating that the group number is the first group terminal, and the last 50 STAs are allocated in another group, and the group number is set to "0000010". Indicates that the group number is the second group of terminals. Of course, other bit lengths and values can also be used to indicate the group number of the STA.
  • the value of the terminal type identifier bit is the first value, and the value of the packet information identifier bit is a seventh value, and the value of the user access channel priority parameter identifier bit is an eighth value.
  • the value, or the value of the terminal type identifier bit is the second value, and the value of the packet information identifier bit is a ninth value and the value of the user access channel priority parameter identifier bit is a tenth value, or
  • the value of the terminal type identifier bit is the third value, and the value of the packet information identifier bit is the eleventh value, and the value of the user access channel priority parameter identifier bit is the twelfth value, where The seventh value, the ninth value, and the eleventh value are different from each other, and the eighth value, the tenth value, and the twelfth value are different from each other.
  • the corresponding user access channel priority parameter identifier of the group type STA The value is "000", indicating that the STA of the sensor type with the group number of 1 has the highest priority access channel, the value of the terminal type identifier of the STA is "01" and the value of the packet information flag is "000010”, then The value of the user access channel priority parameter identifier bit of the corresponding type of STA is "001", and the STA of the Offloading type with the group number 2 has the lowest priority access channel, that is, for different types of STAs, Cannot be assigned in the same group.
  • the value of the terminal type identifier bit is the first value, the second value, or the third value
  • the value of the packet information identifier bit is a seventh value
  • the user access channel takes precedence.
  • the value of the level parameter identifier bit is a thirteenth value, or the value of the packet information identifier bit is a ninth value and the value of the user access channel priority parameter identifier bit is a fourteenth value, or the group information
  • the value of the identifier bit is the eleventh value and the value of the user access channel priority parameter identifier bit is fifteenth.
  • the AP assigns a group number of "000001" to the first 50 STAs, which is called a Sensor type terminal with a group number of 1, correspondingly The priority of the access channel set by the AP to this group of STAs is "001". The same AP assigns another group number "000010" to the other 50 terminals, which is called the Sensor type terminal with group number 2.
  • the corresponding AP is This group of terminals sets the access network priority to "001" or "010", where "001" indicates that the access channel priority is higher or lower than the priority of the access channel indicated by "010", that is, the same STAs and APs are assigned different group numbers for the convenience of management. Due to different group numbers, the priority of these STAs to access the network may be the same or different, but the same type of STAs are in the same group number. The priority of the access network in the same is the same.
  • the packet information identifier bit includes one or more bits in the enhanced distributed channel access parameter set in the message frame or one of a mixed coordination function control channel access parameter set in the message frame or Multiple bits.
  • the EDCA parameter set or the bits in the HCCA parameter set can be utilized to set the STA group, or to add a new information element in the EDCA parameter set or the HCCA parameter set. To group the STAs.
  • the message frame is a beacon frame, a probe response frame, an association response frame, an open system authentication response frame, or a reassociation response frame.
  • the AP may notify the STA of the channel access parameters such as the priority set by the AP in various processes of interacting with the STA.
  • FIG. 3 is a block diagram of a data communication device in accordance with one embodiment of the present invention.
  • the present invention further provides a data communication apparatus 300, including: a data interaction module 302, which receives a message frame, where the message frame includes at least a terminal type identifier bit and a user access channel priority parameter identifier bit;
  • the data processing module 304 the value of the terminal type identifier bit and the value of the user access channel priority parameter identifier bit are obtained from the message frame, where the value of the terminal type identifier bit indicates the type of the terminal,
  • the value of the user access channel priority parameter identifier bit indicates the priority of the access channel set by the access point for the terminal.
  • the data communication device 300 may be a STA
  • the data processing module 304 may be a chip module for data processing in the data communication device 300
  • the data interaction module 302 is equivalent to a signal transceiving device and an antenna, etc.
  • the STA may acquire an AP from the message frame according to the same.
  • the type is the priority of the access channel set for it, and can be accessed in an orderly manner according to the priority set by the AP.
  • the value of the terminal type identifier bit is a first value
  • the terminal is a sensor type
  • the value of the terminal type identifier bit is a second value, indicating that the terminal is an unloading type
  • the value of the terminal type identifier bit is a third value indicating that the terminal is a hybrid type
  • the hybrid type indicates that the terminal can be used as both a sensor type and an unloading type
  • the first value, the second value, and the third The values are different from each other.
  • the type of the STA is divided into a sensor type, an offloading type, and a hybrid type, and corresponding to different access channel priorities, the STA may first obtain a type corresponding to itself from the message frame, and then obtain the type.
  • the priority parameter configured by the type STA for example, when the value of the terminal type identifier bit is "00", it is expressed as the Sensor type. When the value of the terminal type identifier bit is "01”, it is expressed as the Offloading type. When the value of the terminal type identifier bit is set, When it is "10", it is expressed as a hybrid type.
  • the value of the terminal type identifier bit having a different bit length may be used to indicate the type of the terminal.
  • the value of the terminal type identifier bit is the first value
  • the value of the user access channel priority parameter identifier bit is a fourth value
  • the value of the terminal type identifier bit is Determining a second value
  • the value of the user access channel priority parameter identifier bit is a fifth value
  • the value of the terminal type identifier bit is the third value
  • the user access channel priority parameter identifier bit The value of the fourth value, the fifth value, and the sixth value are different from each other, and the value of the user access channel priority parameter identifier bit is the fourth value indicating the priority of the terminal.
  • the highest level, the value of the user access channel priority parameter identifier bit is the fifth value indicating that the terminal has the lowest priority.
  • the value of the STA type identifier bit of the STA is "00", which is a Sensor type
  • the value of the corresponding STA user access channel priority parameter identifier bit of this type is "000”, indicating STA.
  • the type of mixed-type STA and the priority of the access channel are expressed similarly to the sensor type and STAs of the offloading type, that is, for different types of STAs, their access channels have different priority levels.
  • the terminal type identifier bit and the user access channel priority parameter identifier bit both include one or more bits or the message frame in the enhanced distributed channel access parameter set in the message frame.
  • the medium hybrid coordination function controls one or more bits of the channel access parameter set.
  • the EDCA parameter set or the bits in the HCCA parameter set may be utilized to set the priority of the STA access channel, and the STA reads from the corresponding position in the message frame. Just fine.
  • the message frame further includes a packet information identifier bit
  • the data processing module 304 further obtains a value of the packet information identifier bit from the message frame, where the value of the packet information identifier bit indicates The type group number set for the terminal.
  • the STA may perform operations of accessing the network by combining its own group number, for example, the AP manages 100 STAs at the same time.
  • the first 50 STAs can be assigned to a group, and the group number is set to "0000001", indicating that the group number is the first group terminal, and the last 50 STAs are allocated in another group, and the group number is set to " 0000010" , indicating that the group number is the second group of terminals, of course, other bit lengths and values can also be used to indicate the group number of the STA.
  • the value of the terminal type identifier bit is the first value, and the value of the packet information identifier bit is a seventh value, and the value of the user access channel priority parameter identifier bit is an eighth value.
  • the value, or the value of the terminal type identifier bit is the second value, and the value of the packet information identifier bit is a ninth value and the value of the user access channel priority parameter identifier bit is a tenth value, or
  • the value of the terminal type identifier bit is the third value, and the value of the packet information identifier bit is the eleventh value, and the value of the user access channel priority parameter identifier bit is the twelfth value, where The seventh value, the ninth value, and the eleventh value are different from each other, and the eighth value, the tenth value, and the twelfth value are different from each other.
  • the corresponding user access channel priority parameter identifier of the group type STA The value is "000", indicating that the STA of the sensor type with the group number of 1 has the highest priority access channel, the value of the terminal type identifier of the STA is "01" and the value of the packet information flag is "000010”, then The corresponding user of this type of STA The value of the access channel priority parameter identifier bit is "001", and the STA of the Offloading type with group number 2 has the lowest priority access channel, that is, for different types of STAs, they cannot be allocated in the same group.
  • the value of the packet information identifier bit when the value of the terminal type identifier bit is the first value, the second value, or the third value, the value of the packet information identifier bit is a seventh value, and the user access channel takes precedence.
  • the value of the level parameter identifier bit is a thirteenth value, or the value of the packet information identifier bit is a ninth value and the value of the user access channel priority parameter identifier bit is a fourteenth value, or the group information
  • the value of the identifier bit is the eleventh value, and the value of the user access channel priority parameter identifier bit is a fifteenth value, wherein the seventh value, the ninth value, and the eleventh value are different from each other, The thirteenth value, the fourteenth value, and the fifteenth value are the same or different from each other.
  • the AP assigns a group number of "000001" to the first 50 STAs, which is called a Sensor type terminal with a group number of 1, corresponding to The priority of the access channel set by the AP to this group of STAs is "001".
  • the same AP assigns another group number "000010" to the other 50 terminals, which is called the Sensor type terminal with group number 2.
  • the corresponding AP is This group of terminals sets the priority of the access network to "001" or "010", where the priority of the access channel indicated by "001" is higher or lower than the priority of the access channel indicated by "010", that is, the same STAs and APs are assigned different group numbers for the convenience of management. Due to different group numbers, the priority of these STAs to access the network may be the same or different, but the same type of STAs are in the same group number. The priority of the access network in the same is the same.
  • the packet information identifier bit includes one or more bits in the enhanced distributed channel access parameter set in the message frame or one of a mixed coordination function control channel access parameter set in the message frame or Multiple bits.
  • the EDCA parameter set or the bits in the HCCA parameter set can be utilized to set the STA group, or to add a new information element in the EDCA parameter set or the HCCA parameter set. To group the STAs.
  • the message frame is a beacon frame, a probe response frame, an association response frame, an open system authentication response frame, or a reassociation response frame.
  • the AP may notify the channel access parameters such as the priority set in the multiple processes interacting with the STA, To the STA.
  • FIG. 4 is a flow chart of a data communication method in accordance with one embodiment of the present invention.
  • the present invention further provides a data communication method, including: Step 402: Receive a message frame, where the message frame includes at least a terminal type identifier bit and a user access channel priority parameter identifier bit; Step 404, Obtaining, by the message frame, a value of the terminal type identifier bit and a value of the user access channel priority parameter identifier bit, where the value of the terminal type identifier bit indicates a type of the terminal, and the user access channel takes precedence
  • the value of the level parameter identification bit indicates the priority of the access channel set by the access point for the terminal.
  • the STA can obtain the priority of the access channel set by the AP according to its type from the message frame, and can access the network in an orderly manner according to the priority set by the AP.
  • the value of the terminal type identifier bit is a first value
  • the terminal is a sensor type
  • the value of the terminal type identifier bit is a second value, indicating that the terminal is an unloading type
  • the value of the terminal type identifier bit is a third value indicating that the terminal is a hybrid type
  • the hybrid type indicates that the terminal can be used as both a sensor type and an unloading type
  • the first value, the second value, and the third The values are different from each other.
  • the type of the STA is divided into a sensor type, an offloading type, and a hybrid type, and corresponding to different access channel priorities, the STA may first obtain a type corresponding to itself from the message frame, and then obtain the type.
  • the priority parameter configured by the STA type for example, when the value of the terminal type identifier bit is "00", it is expressed as the Sensor type. When the value of the terminal type identifier bit is "01”, it is expressed as the Offloading type. When the value of the terminal type identifier bit is set, When it is "10", it is expressed as a hybrid type.
  • the value of the terminal type identifier bit having a different bit length may be used to indicate the type of the terminal.
  • the value of the terminal type identifier bit is the first value
  • the value of the user access channel priority parameter identifier bit is a fourth value
  • the value of the terminal type identifier bit is Determining a second value
  • the value of the user access channel priority parameter identifier bit is a fifth value
  • the value of the terminal type identifier bit is the third value
  • the user access channel priority parameter identifier bit The value of the fourth value, the fifth value, and the sixth value are different from each other, and the value of the user access channel priority parameter identifier bit is the fourth value indicating the priority of the terminal.
  • the highest level, the value of the user access channel priority parameter identifier bit is the fifth value indicating that the terminal has the lowest priority.
  • the value of the terminal type identifier bit of the STA is "00" is the Sensor type
  • the value of the corresponding STA user access channel priority parameter identifier bit of this type is "000", indicating that the STA is the sensor type and has the highest priority among the two, the terminal of the STA
  • the value of the type identifier bit is "01”, which is of the Offloading type.
  • the value of the corresponding user access channel priority parameter identifier bit of this type is "001", indicating that the STA is of the offloading type and has the lowest priority of the two. level.
  • the type of the STA of the hybrid type and the priority of the access channel are similar to those of the sensor type and the offloading type. That is, for different types of STAs, the priority of their access channels is different.
  • the terminal type identifier bit and the user access channel priority parameter identifier bit both include one or more bits or the message frame in the enhanced distributed channel access parameter set in the message frame.
  • the medium hybrid coordination function controls one or more bits of the channel access parameter set.
  • the EDCA parameter set or the bits in the HCCA parameter set may be utilized to set the priority of the STA access channel, and the STA reads from the corresponding position in the message frame. Just fine.
  • the message frame further includes a packet information identifier bit
  • the data communication method further includes: acquiring, from the message frame, a value of the packet information identifier bit, and the value of the packet information identifier bit Indicates the type group number set for the terminal.
  • the first 50 STAs can be assigned to a group, and the group number is set to "0000001", indicating that the group number is the first group terminal, and the last 50 STAs are allocated in another group, and the group number is set to " 0000010" , indicating that the group number is the second group of terminals, of course, other bit lengths and values can also be used to indicate the group number of the STA.
  • the value of the terminal type identifier bit is the first value, and the value of the packet information identifier bit is a seventh value, and the value of the user access channel priority parameter identifier bit is an eighth value.
  • the value, or the value of the terminal type identifier bit is the second value, and the value of the packet information identifier bit is a ninth value and the value of the user access channel priority parameter identifier bit is a tenth value, or
  • the value of the terminal type identifier bit is the third value, and the value of the packet information identifier bit is the eleventh value, and the value of the user access channel priority parameter identifier bit is the twelfth value, where The first The seven values, the ninth value, and the eleventh value are different from each other, and the eighth value, the tenth value, and the twelfth value are different from each other.
  • the corresponding user access channel priority parameter identifier of the group type STA The value is "000", indicating that the STA of the sensor type with the group number of 1 has the highest priority access channel, the value of the terminal type identifier of the STA is "01" and the value of the packet information flag is "000010”, then The value of the user access channel priority parameter identifier bit of the corresponding type of STA is "001", and the STA of the Offloading type with the group number 2 has the lowest priority access channel, that is, for different types of STAs, Cannot be assigned in the same group.
  • the value of the packet information identifier bit when the value of the terminal type identifier bit is the first value, the second value, or the third value, the value of the packet information identifier bit is a seventh value, and the user access channel takes precedence.
  • the value of the level parameter identifier bit is a thirteenth value, or the value of the packet information identifier bit is a ninth value and the value of the user access channel priority parameter identifier bit is a fourteenth value, or the group information
  • the value of the identifier bit is the eleventh value, and the value of the user access channel priority parameter identifier bit is a fifteenth value, wherein the seventh value, the ninth value, and the eleventh value are different from each other, The thirteenth value, the fourteenth value, and the fifteenth value are the same or different from each other.
  • the AP assigns a group number of "000001" to the first 50 STAs, which is called a Sensor type terminal with a group number of 1, correspondingly The priority of the access channel set by the AP to this group of STAs is "001".
  • the same AP assigns another group number "000010" to the other 50 terminals, which is called the Sensor type terminal with group number 2.
  • the corresponding AP is This group of terminals sets the access network priority to "001" or "010", where "001" indicates that the access channel priority is higher or lower than the priority of the access channel indicated by "010", that is, the same STAs and APs are assigned different group numbers for the convenience of management. Due to different group numbers, the priority of these STAs to access the network may be the same or different, but the same type of STAs are in the same group number. The priority of the access network in the same is the same.
  • the packet information identifier bit includes one or more bits in the enhanced distributed channel access parameter set in the message frame or one of a mixed coordination function control channel access parameter set in the message frame or Multiple bits.
  • the EDCA parameter set can also be used to set the STA group by using the bits in the HCCA parameter set, or to add a new information element in the EDCA parameter set or the HCCA parameter set to group the STAs.
  • the message frame is a beacon frame, a probe response frame, an association response frame, an open system authentication response frame, or a reassociation response frame.
  • the AP may notify the STA of the channel access parameters such as the priority set by the AP in various processes of interacting with the STA.
  • the technical solution of the present invention will be described in detail by taking the design of the EDCA parameter set (the present invention is also applicable to other parameter sets such as HCCA) as an example.
  • the design of the EDCA format is as shown in FIG. 5, and the IE (indicator element) is adopted.
  • the method is adopted.
  • the EDCA parameter set is encapsulated in the form of IE.
  • FIG. 5 it is assumed that there is an 8-bit reserved bit in the message frame.
  • the 8 bits are used to set the STA type and the access channel priority. As shown in Figure 6.
  • the upper two bits of the eight bits are used to indicate the type of the STA, and the lower six bits are used to indicate the priority of the STA access channel, as exemplified in the following table.
  • the STA After receiving the message frame, the STA can parse the message frame to obtain the priority of the access channel. It can be seen from the above that the priority of the STA access channel of the sensor type is higher than the priority of the STA access channel of the offloading type.
  • the technical solution of the embodiment can control the order of different types of STAs in an orderly manner. Access to the network.
  • the eight bits are used to set the priority of the STA type, packet, and access channel, as shown in Figure 7.
  • B 7 B 6 out of 8 bits is used to indicate the type of STA
  • B 5 B 4 is a grouping of STAs, BgBsBiB.
  • the concept of grouping is introduced in this embodiment, so that when the number of STAs accessing the network is too large, it is convenient to control and manage multiple STAs simultaneously in units of packets.
  • the value of B 7 B 6 is "00" and the value of B 5 B 4 is “00” and the value of BgBsBiBo is "0000", indicating that the type of STA is sensor type, and its grouping For group 1, and the priority of its access channel is priority 1, in message frame 4 sent by the AP, the value of B 7 B 6 is "00” and the value of B 5 B 4 is "01" and BgBsBiB.
  • the value of "0001" indicates that the type of the STA is also the sensor type, and is grouped into group 2, and the priority of the access channel is priority 2, wherein the priority is also related to the packet, and the different packets correspond to
  • the priorities may be the same or different, so priority 1 and priority 2 may be the same or different.
  • the value of B 7 B 6 is "00" and the value of B 5 B 4 is “00” and the value of BgBsBiBo is "0000", indicating that the type of STA is sensor type, and its grouping For group 1, and the priority of its access channel is priority 1, in message frame 6 sent by the AP, the value of B 7 B 6 is "01" and the value of B 5 B 4 is "01" and BgBsBiB. If the value is "0001", the type of the STA is offloading, and the group is group 2, and the priority of the access channel is priority 2. The priority is related to the type and group of the STA. The priority of the type STA is different, and the priority 1 is higher than the priority 2.
  • the type and grouping of STAs determine the priority of the STAs. Even if the types of multiple STAs are the same, multiple STAs may be determined due to different packets. The priorities of the channels are different. When multiple STAs are different, they cannot be in the same group. In this case, the type and the packet jointly determine that the priority of multiple STA access channels must be different.
  • the STAs of different types and different groups can be controlled to access the network in an orderly manner.
  • the message frame carrying the EDCA parameter set provided in the embodiment of the present invention is also set with the information element identifier based on the mechanism of FIG. 5, and may be identified by a reserved bit in the Element ID (specificity ID). Shown as follows:
  • the EDCA parameter such as the priority (and group group number) of the access channel in the message frame can be determined, and the message frame can be further Analyze and access the network according to the parsed EDCA parameters.
  • the concept of "multiple EDCA parameter sets should be defined in the standard" proposed in the 802. l lah project group is perfected, which is beneficial to sensors like sensors (usually battery-powered and with long battery replacement). It has a high priority when entering the network, which is conducive to power saving of the device. For such devices that use Off-loading for Wi-Fi networks (usually mobile phones, which can be charged frequently), it has a lower priority access network, which ensures that when When a large number of terminals need to access the network at the same time, they should access the network according to the priority order, which is beneficial to the overall equipment power saving.
  • the data communication device and the data communication method can be implemented by the technical solution of the present invention, and the AP can be configured to set multiple channel access parameter sets of the STA in detail, so that the STA accessing the network can be well controlled. .

Landscapes

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

Abstract

The present invention provides a data communication method of a data communication device. The data communication device comprises a data processing module and a data interaction module. The data processing module generates a message frame, the message frame at least comprises a terminal type identification bit and a user access channel priority level parameter identification bit, the value of the terminal type identification bit indicates the type of the terminal, and the value of the user access channel priority level parameter identification bit indicates the priority level of the access channel set by the terminal. The data interaction module sends the message frame. By means of the present invention, it is ensured that an AP can set channel access parameter sets of various STAs in detail, and accordingly the process of accessing an STA to a network can be controlled well.

Description

数据通信装置和数据通信方法  Data communication device and data communication method
技术领域  Technical field
本发明涉及通信技术领域, 具体而言, 涉及数据通信装置和数据通信 方法。 背景技术  The present invention relates to the field of communications technologies, and in particular to data communication devices and data communication methods. Background technique
在 IEEE (美国电气和电子工程师协会) 802.11 ah 项目组中, 对终端 如何接入网络, 提出了以下的需求:  In the IEEE (Institute of Electrical and Electronics Engineers) 802.11 ah project team, the following requirements are placed on how terminals access the network:
对于一个 BSS ( basic service set, 基本服务集) 网络, STA (终端) 可以分为 sensor (传感器) 类型、 offloading (卸载) 类型以及混合类型 (即 STA既可以作为 sensor类型也可以作为 offloading类型) 。  For a BSS (basic service set) network, the STA (terminal) can be classified into a sensor type, an offloading type, and a hybrid type (that is, the STA can be either a sensor type or an offloading type).
对于 sensor类型的 STA, 要求其有最高优先权接入网络, 但是 AP如 何来为 STA设置 EDCA (增强型分布信道接入) 参数或 HCCA参数, 例 如接入网络的优先级, 都是尚待解决的问题。  For a STA of the sensor type, it is required to have the highest priority access network, but how the AP sets the EDCA (Enhanced Distributed Channel Access) parameters or HCCA parameters for the STA, such as the priority of the access network, is still to be solved. The problem.
对于不同类型的 STA, 应针对 STA 的类型定义多种 EDCA (增强型 分布信道接入) 或 HCCA (混合协调功能控制的信道接入) 参数集, 对于 这个参数集以怎样的信令发送出来, 以及不同的 EDCA或 HCCA参数集 是基于怎样的条件来设定的, 都是需要解决的问题。  For different types of STAs, multiple EDCA (Enhanced Distribution Channel Access) or HCCA (Multiple Coordination Controlled Channel Access) parameter sets should be defined for the type of STA. What kind of signaling is sent for this parameter set, And the different EDCA or HCCA parameter sets are set based on what conditions, are all problems that need to be solved.
因此, 需要一种新的用于 STA与 AP之间的通信方案, 保证 AP可以 详细设置不同类型 STA的信道接入参数集, 从而可以对 STA接入网络的 过程进行良好的控制。 发明内容  Therefore, a new communication scheme between the STA and the AP is needed to ensure that the AP can set the channel access parameter set of different types of STAs in detail, so that the STA access network can be well controlled. Summary of the invention
本发明所要解决的技术问题在于, 提供一种新的用于 STA与 AP之间 的通信方案, 保证 AP可以详细设置不同类型 STA的信道接入参数集, 从 而可以对 STA接入网络的过程进行良好的控制。 有鉴于此, 本发明提供一种数据通信装置, 包括: 数据处理模块, 生 成消息帧, 所述消息帧中至少包含终端类型标识位和用户接入信道优先级 参数标识位, 所述终端类型标识位的值表示终端的类型, 所述用户接入信 道优先级参数标识位的值表示为所述终端设置的接入信道的优先级; 数据 交互模块, 发送所述消息帧。 在该技术方案中, 数据通信装置可以是The technical problem to be solved by the present invention is to provide a new communication scheme between the STA and the AP, and ensure that the AP can set the channel access parameter set of different types of STAs in detail, so that the STA can access the network. Good control. In view of the above, the present invention provides a data communication apparatus, including: a data processing module, generating a message frame, where the message frame includes at least a terminal type identifier bit and a user access channel priority parameter identifier bit, and the terminal type identifier The value of the bit indicates the type of the terminal, and the value of the user access channel priority parameter identifier bit indicates the priority of the access channel set by the terminal; the data interaction module sends the message frame. In this technical solution, the data communication device can be
AP , 譬如数据采集器等设备, 数据处理模块可以是数据通信装置中数据 处理的芯片模块, 而数据交互模块则相当于信号收发装置以及天线等, AP在消息帧中设置了 STA类型以及按 STA类型设置的接入信道的优先 级, 保证相应的 STA 可以按照为其设置好的优先级, 来有序地接入网 络。 The AP, such as a data collector, the data processing module may be a chip module for data processing in the data communication device, and the data interaction module is equivalent to a signal transceiver device and an antenna, etc. The AP sets the STA type and the STA in the message frame. The priority of the access channel set by the type ensures that the corresponding STA can access the network in an orderly manner according to the priority set for it.
在上述技术方案中, 优选地, 所述终端类型标识位的值为第一值时表 示所述终端为传感器类型, 所述终端类型标识位的值为第二值时表示所述 终端为卸载类型, 所述终端类型标识位的值时为第三值表示所述终端为混 合类型, 所述混合类型表示所述终端既可作为传感器类型也可作为卸载类 型, 所述第一值、 第二值、 第三值相互不同。 在该技术方案中, AP 可以 按 STA的类型——区分为 sensor类型、 offloading类型以及混合类型, 来 针对性设置每个 STA接入信道的优先级, 来控制不同 STA接入网络的顺 序, 譬如当终端类型标识位的值为 "00" 时表示为 Sensor 类型, 当终端 类型标识位的值为 "01" 时表示为 Offloading类型, 当终端类型标识位的 值为 " 10" 时表示为混合类型, 当然也可用其它比特位长度不一样的终端 类型标识位的值来表示终端的类型。  In the foregoing technical solution, preferably, when the value of the terminal type identifier bit is a first value, the terminal is a sensor type, and the value of the terminal type identifier bit is a second value, indicating that the terminal is an uninstall type. The value of the terminal type identifier bit is a third value indicating that the terminal is a hybrid type, and the hybrid type indicates that the terminal can be used as a sensor type or an unloading type, the first value and the second value. The third value is different from each other. In this technical solution, the AP can set the priority of each STA access channel according to the type of the STA, which is divided into a sensor type, an offloading type, and a hybrid type, to control the order in which different STAs access the network, for example, When the value of the terminal type flag is "00", it is expressed as the Sensor type. When the value of the terminal type flag is "01", it is expressed as Offloading type. When the value of the terminal type flag is "10", it is expressed as a mixed type. Of course, the value of the terminal type identifier bit having different bit lengths may also be used to indicate the type of the terminal.
在上述技术方案中, 优选地, 所述终端类型标识位的值为所述第一值 且所述用户接入信道优先级参数标识位的值为第四值, 或所述终端类型标 识位的值为所述第二值且所述用户接入信道优先级参数标识位的值为第五 值, 或所述终端类型标识位的值为所述第三值且所述用户接入信道优先级 参数标识位的值为第六值, 其中, 所述第四值、 第五值、 第六值相互不 同, 所述用户接入信道优先级参数标识位的值为所述第四值表示所述终端 的优先级最高, 所述用户接入信道优先级参数标识位的值为所述第五值表 示所述终端的优先级最低。 在该技术方案中, 假设 STA 的终端类型标识 位的值为 "00" , 为 Sensor类型, 那么相应的这种类型的 STA用户接入 信道优先级参数标识位的值为 "000" , 表示 STA为 sensor类型且具有两 者中最高的优先级, STA 的终端类型标识位的值为 "01 " , 为 Offloading 类型, 那么相应的这种类型的用户接入信道优先级参数标识位的值为 "001" , 表示 STA为 offloading类型且具有两者中最低的优先级。 混合 类型的 STA 的类型以及接入信道的优先级的表示方式, 类似与 sensor类 型和 offloading类型的 STA, 即对于不同类型的 STA, 它们的接入信道的 优先级别是不一样的。 In the above technical solution, preferably, the value of the terminal type identifier bit is the first value, and the value of the user access channel priority parameter identifier bit is a fourth value, or the terminal type identifier bit is The value is the second value, and the value of the user access channel priority parameter identifier bit is a fifth value, or the value of the terminal type identifier bit is the third value and the user access channel priority is The value of the parameter identifier bit is a sixth value, where the fourth value, the fifth value, and the sixth value are different from each other, and the value of the user access channel priority parameter identifier bit is the fourth value indicating the The priority of the terminal is the highest, and the value of the user access channel priority parameter identifier bit is the fifth value indicating that the terminal has the lowest priority. In this technical solution, it is assumed that the terminal type identifier of the STA The value of the bit is "00", which is of the Sensor type. The value of the corresponding STA user access channel priority parameter identifier bit of this type is "000", indicating that the STA is of the sensor type and has the highest priority among the two. The STA's terminal type identifier bit has a value of "01" and is of the Offloading type. Then, the value of the corresponding user access channel priority parameter identifier bit of this type is "001", indicating that the STA is of the offloading type and has both The lowest priority. The type of the STA of the hybrid type and the priority of the access channel are similar to those of the sensor type and the offloading type. That is, for different types of STAs, the priority of their access channels is different.
在上述技术方案中, 优选地, 所述终端类型标识位和所述用户接入信 道优先级参数标识位均包括所述消息帧中增强型分布信道接入参数集中的 一个或多个位或所述消息帧中混合协调功能控制信道接入参数集中的一个 或多个位。 在该技术方案中, 取决于 AP的不同, 可以利用 EDCA参数集 也可以利用 HCCA参数集中的比特位, 来进行 STA接入信道的优先级的 设置。  In the above technical solution, preferably, the terminal type identifier bit and the user access channel priority parameter identifier bit each include one or more bits or locations in the enhanced distributed channel access parameter set in the message frame. The hybrid coordination function in the message frame controls one or more bits in the channel access parameter set. In this technical solution, depending on the AP, the priority of the STA access channel can be set by using the EDCA parameter set or the bits in the HCCA parameter set.
在上述技术方案中, 优选地, 所述消息帧中还包含分组信息标识位, 所述分组信息标识位的值表示为所述终端设置的类型组号。 在该技术方案 中, 在接入网络的 STA数量较多时, 可以将多个 STA划分为不同的组, AP 可以针对一整组的 STA 进行统一管理, 譬如 AP 同时管理 100 个 STA, 那么可以将前 50 个 STA 分配在一个组里面, 给它们设置组号为 "0000001 " , 表示组号为第一组终端, 后 50 个 STA 分配在另外一个组 里面, 给它们设置组号为 "0000010" , 表示组号为第二组终端, 当然也 可以用其它比特位长度以及值来表示 STA的组号。  In the foregoing technical solution, preferably, the message frame further includes a packet information identifier bit, and the value of the packet information identifier bit is represented by a type group number set by the terminal. In this technical solution, when the number of STAs accessing the network is large, multiple STAs can be divided into different groups, and the AP can be uniformly managed for an entire group of STAs. For example, if an AP manages 100 STAs at the same time, then The first 50 STAs are allocated in one group, and the group number is set to "0000001", indicating that the group number is the first group terminal, and the last 50 STAs are allocated in another group, and the group number is set to "0000010". Indicates that the group number is the second group of terminals. Of course, other bit lengths and values can also be used to indicate the group number of the STA.
在上述技术方案中, 优选地, 所述终端类型标识位的值为所述第一值 且所述分组信息标识位的值为第七值且所述用户接入信道优先级参数标识 位的值为第八值, 或所述终端类型标识位的值为所述第二值且所述分组信 息标识位的值为第九值且所述用户接入信道优先级参数标识位的值为第十 值, 或所述终端类型标识位的值为所述第三值且所述分组信息标识位的值 为第十一值且所述用户接入信道优先级参数标识位的值为第十二值, 其 中, 所述第七值、 第九值、 第十一值相互不同, 所述第八值、 第十值、 第 十二值相互不同。 在该技术方案中, 假设 STA 的终端类型标识位的值为 "00" 且分组信息标识位的值为 "000001 " , 那么相应的这组类型 STA 的用户接入信道优先级参数标识位的值为 " 000" , 表示组号为 1 的 sensor类型的 STA 具有最高的优先级接入信道, STA 的终端类型标识位 的值为 "01 " 且分组信息标识位的值为 "000010" , 那么相应的这组类型 STA 的用户接入信道优先级参数标识位的值为 "001" , 表示组号为 2 的 Offloading 类型的 STA 具有最低的优先级接入信道, 即对于不同类型的 STA, 它们不能分配在同一组里面 In the above technical solution, preferably, the value of the terminal type identifier bit is the first value, and the value of the packet information identifier bit is a seventh value, and the value of the user access channel priority parameter identifier bit is An eighth value, or the value of the terminal type identifier bit is the second value, and the value of the packet information identifier bit is a ninth value and the value of the user access channel priority parameter identifier bit is tenth The value, or the value of the terminal type identifier bit is the third value, and the value of the packet information identifier bit is an eleventh value and the value of the user access channel priority parameter identifier bit is a twelfth value. The seventh value, the ninth value, and the eleventh value are different from each other, and the eighth value, the tenth value, and the The twelve values are different from each other. In this technical solution, assuming that the value of the STA type identifier bit of the STA is "00" and the value of the packet information identifier bit is "000001", the value of the user access channel priority parameter identifier bit of the corresponding group type STA is determined. "000", indicating that the STA of the sensor type with the group number 1 has the highest priority access channel, the value of the terminal type identifier of the STA is "01" and the value of the packet information flag is "000010", then the corresponding The value of the user access channel priority parameter identifier bit of this type of STA is "001", and the STA of the Offloading type with group number 2 has the lowest priority access channel, that is, for different types of STAs, they cannot Assigned in the same group
在上述技术方案中, 优选地, 所述终端类型标识位的值为所述第一 值、 第二值或第三值时, 所述分组信息标识位的值为第七值且所述用户接 入信道优先级参数标识位的值为第十三值, 或所述分组信息标识位的值为 第九值且所述用户接入信道优先级参数标识位的值为第十四值, 或所述分 组信息标识位的值为第十一值且所述用户接入信道优先级参数标识位的值 为第十五值, 其中, 所述第七值、 第九值、 第十一值相互不同, 所述第十 三值、 第十四值、 第十五值相互相同或不同。 在该技术方案中, 譬如属于 In the above technical solution, preferably, when the value of the terminal type identifier bit is the first value, the second value, or the third value, the value of the packet information identifier bit is a seventh value, and the user picks up The value of the input channel priority parameter identifier bit is a thirteenth value, or the value of the packet information identifier bit is a ninth value and the value of the user access channel priority parameter identifier bit is a fourteenth value, or The value of the packet information identifier bit is the eleventh value and the value of the user access channel priority parameter identifier bit is a fifteenth value, wherein the seventh value, the ninth value, and the eleventh value are different from each other. The thirteenth value, the fourteenth value, and the fifteenth value are the same or different from each other. In this technical solution, for example
Sensor类型的 STA共有 100个, AP为了方便管理, 给前 50个 STA分配 了一个组号为 "00000Γ , 称之为组号为 1 的 Sensor 类型终端, 相应的 AP给这组 STA设置的接入信道优先级为 "001" , 同样 AP给另外 50个 终端分配了另外一个组号 "000010" , 称之为组号为 1 的 Sensor 类型终 端, 相应的 AP 为这组终端设置了接入网络优先级为 "001 " 或 "010" , 其中 "001 " 表示的接入信道优先级高于或是低于 "010" 表示的接入信道 的优先级, 即同种类型的 STA, AP 为了方便管理, 给它们分配了不同的 组号, 由于组号的不同, 这些 STA接入网络的优先级可能一样, 也可能 不一样, 但是同一类型的 STA 处于同一组号中的接入网络的优先级是一 样的。 There are a total of 100 STAs of the Sensor type. For the convenience of management, the AP assigns the first 50 STAs a group number of "00000Γ, which is called the Sensor type terminal with the group number 1. The corresponding AP sets the access for this group of STAs. The channel priority is "001". Similarly, the AP assigns another group number "000010" to another 50 terminals, which is called a Sensor type terminal with group number 1. The corresponding AP sets the access network priority for this group of terminals. The level is "001" or "010", where the priority of the access channel indicated by "001" is higher or lower than the priority of the access channel indicated by "010", that is, the same type of STA, the AP is convenient for management. , they are assigned different group numbers. Due to different group numbers, the priority of these STAs accessing the network may be the same or different, but the priority of the access network of the same type of STAs in the same group number is the same.
在上述技术方案中, 优选地, 所述分组信息标识位包括所述消息帧中 增强型分布信道接入参数集中的一个或多个位或所述消息帧中混合协调功 能控制信道接入参数集中的一个或多个位。 在该技术方案中, 取决于 AP 的不同, 可以利用 EDCA参数集也可以利用 HCCA参数集中的比特位, 来进行 STA的分组的设置, 或是在 EDCA参数集或 HCCA参数集中增加 新的信息元素来对 STA进行分组设置。 In the foregoing technical solution, preferably, the group information identifier bit includes one or more bits in the enhanced distributed channel access parameter set in the message frame or a mixed coordination function control channel access parameter set in the message frame. One or more bits. In this technical solution, depending on the AP, the EDCA parameter set can be utilized or the bits in the HCCA parameter set can be utilized. To set the STA's grouping, or add a new information element in the EDCA parameter set or HCCA parameter set to group the STAs.
在上述技术方案中, 优选地, 所述消息帧为信标帧、 探测响应帧、 关 联响应帧、 开放系统认证响应帧或重关联响应帧。 在该技术方案中, AP 可以在与 STA 交互的多种过程中, 将为其设置的优先级等信道接入参 数, 通知给 STA。  In the above technical solution, preferably, the message frame is a beacon frame, a probe response frame, an associated response frame, an open system authentication response frame, or a reassociation response frame. In this technical solution, the AP may notify the STA of the channel access parameters such as the priority set by the AP in various processes of interacting with the STA.
本发明还提供一种数据通信方法, 包括: 生成消息帧, 所述消息帧中 至少包含终端类型标识位和用户接入信道优先级参数标识位, 所述终端类 型标识位的值表示终端的类型, 所述用户接入信道优先级参数标识位的值 表示为所述终端设置的接入信道的优先级; 发送所述消息帧。 在该技术方 案中, AP在消息帧中设置了 STA类型以及按 STA类型设置的接入信道 的优先级, 保证相应的 STA 可以按照为其设置好的优先级, 来有序地接 入网络。  The present invention also provides a data communication method, including: generating a message frame, where the message frame includes at least a terminal type identifier bit and a user access channel priority parameter identifier bit, and the value of the terminal type identifier bit indicates a type of the terminal. The value of the user access channel priority parameter identifier bit is represented as a priority of an access channel set by the terminal; and the message frame is sent. In this technical solution, the AP sets the STA type and the priority of the access channel set by the STA type in the message frame, and ensures that the corresponding STA can access the network in an orderly manner according to the priority set for it.
在上述技术方案中, 优选地, 所述终端类型标识位的值为第一值时表 示所述终端为传感器类型, 所述终端类型标识位的值为第二值时表示所述 终端为卸载类型, 所述终端类型标识位的值时为第三值表示所述终端为混 合类型, 所述混合类型表示所述终端既可作为传感器类型也可作为卸载类 型, 所述第一值、 第二值、 第三值相互不同。 在该技术方案中, AP 可以 按 STA的类型——区分为 sensor类型、 offloading类型以及混合类型, 来 针对性设置每个 STA接入信道的优先级, 来控制不同 STA接入网络的顺 序, 譬如当终端类型标识位的值为 "00" 时表示为 Sensor 类型, 当终端 类型标识位的值为 "01" 时表示为 Offloading类型, 当终端类型标识位的 值为 " 10" 时表示为混合类型, 当然也可用其它比特位长度不一样的终端 类型标识位的值来表示终端的类型。  In the foregoing technical solution, preferably, when the value of the terminal type identifier bit is a first value, the terminal is a sensor type, and the value of the terminal type identifier bit is a second value, indicating that the terminal is an uninstall type. The value of the terminal type identifier bit is a third value indicating that the terminal is a hybrid type, and the hybrid type indicates that the terminal can be used as a sensor type or an unloading type, the first value and the second value. The third value is different from each other. In this technical solution, the AP can set the priority of each STA access channel according to the type of the STA, which is divided into a sensor type, an offloading type, and a hybrid type, to control the order in which different STAs access the network, for example, When the value of the terminal type flag is "00", it is expressed as the Sensor type. When the value of the terminal type flag is "01", it is expressed as Offloading type. When the value of the terminal type flag is "10", it is expressed as a mixed type. Of course, the value of the terminal type identifier bit having different bit lengths may also be used to indicate the type of the terminal.
在上述技术方案中, 优选地, 所述终端类型标识位的值为所述第一值 且所述用户接入信道优先级参数标识位的值为第四值, 或所述终端类型标 识位的值为所述第二值且所述用户接入信道优先级参数标识位的值为第五 值, 或所述终端类型标识位的值为所述第三值且所述用户接入信道优先级 参数标识位的值为第六值, 其中, 所述第四值、 第五值、 第六值相互不 同, 所述用户接入信道优先级参数标识位的值为所述第四值表示所述终端 的优先级最高, 所述用户接入信道优先级参数标识位的值为所述第五值表 示所述终端的优先级最低。 在该技术方案中, 假设 STA 的终端类型标识 位的值为 "00" , 为 Sensor类型, 那么相应的这种类型的 STA用户接入 信道优先级参数标识位的值为 "000" , 表示 STA为 sensor类型且具有两 者中最高的优先级, STA 的终端类型标识位的值为 "01 " , 为 Offloading 类型, 那么相应的这种类型的用户接入信道优先级参数标识位的值为 "001" , 表示 STA为 offloading类型且具有两者中最低的优先级。 混合 类型的 STA 的类型以及接入信道的优先级的表示方式, 类似与 sensor类 型和 offloading类型的 STA, 即对于不同类型的 STA, 它们的接入信道的 优先级别是不一样的。 In the above technical solution, preferably, the value of the terminal type identifier bit is the first value, and the value of the user access channel priority parameter identifier bit is a fourth value, or the terminal type identifier bit is The value is the second value, and the value of the user access channel priority parameter identifier bit is a fifth value, or the value of the terminal type identifier bit is the third value and the user access channel priority is The value of the parameter identifier bit is a sixth value, where the fourth value, the fifth value, and the sixth value are not mutually The value of the user access channel priority parameter identifier bit is the fourth value indicating that the terminal has the highest priority, and the value of the user access channel priority parameter identifier bit is the fifth value. The terminal has the lowest priority. In this technical solution, if the value of the STA type identifier bit of the STA is "00", which is a Sensor type, the value of the corresponding STA user access channel priority parameter identifier bit of this type is "000", indicating STA. For the sensor type and the highest priority of the two, the value of the terminal type identifier bit of the STA is "01", which is of the Offloading type, and the value of the corresponding user access channel priority parameter identifier bit of this type is "001" , indicating that the STA is of the offloading type and has the lowest priority of the two. The type of the STA of the hybrid type and the priority of the access channel are similar to those of the sensor type and the offloading type. That is, for different types of STAs, the priority of their access channels is different.
在上述技术方案中, 优选地, 所述终端类型标识位和所述用户接入信 道优先级参数标识位均包括所述消息帧中增强型分布信道接入参数集中的 一个或多个位或所述消息帧中混合协调功能控制信道接入参数集中的一个 或多个位。 在该技术方案中, 取决于 AP的不同, 可以利用 EDCA参数集 也可以利用 HCCA参数集中的比特位, 来进行 STA接入信道的优先级的 设置。  In the above technical solution, preferably, the terminal type identifier bit and the user access channel priority parameter identifier bit each include one or more bits or locations in the enhanced distributed channel access parameter set in the message frame. The hybrid coordination function in the message frame controls one or more bits in the channel access parameter set. In this technical solution, depending on the AP, the priority of the STA access channel can be set by using the EDCA parameter set or the bits in the HCCA parameter set.
在上述技术方案中, 优选地, 所述消息帧中还包含分组信息标识位, 所述分组信息标识位的值表示为所述终端设置的类型组号。 在该技术方案 中, 在接入网络的 STA数量较多时, 可以将多个 STA划分为不同的组, AP 可以针对一整组的 STA 进行统一管理, 譬如 AP 同时管理 100 个 STA, 那么可以将前 50 个 STA 分配在一个组里面, 给它们设置组号为 "0000001 " , 表示组号为第一组终端, 后 50 个 STA 分配在另外一个组 里面, 给它们设置组号为 "0000010" , 表示组号为第二组终端, 当然也 可以用其它比特位长度以及值来表示 STA的组号。  In the foregoing technical solution, preferably, the message frame further includes a packet information identifier bit, and the value of the packet information identifier bit is represented by a type group number set by the terminal. In this technical solution, when the number of STAs accessing the network is large, multiple STAs can be divided into different groups, and the AP can be uniformly managed for an entire group of STAs. For example, if an AP manages 100 STAs at the same time, then The first 50 STAs are allocated in one group, and the group number is set to "0000001", indicating that the group number is the first group terminal, and the last 50 STAs are allocated in another group, and the group number is set to "0000010". Indicates that the group number is the second group of terminals. Of course, other bit lengths and values can also be used to indicate the group number of the STA.
在上述技术方案中, 优选地, 所述终端类型标识位的值为所述第一值 且所述分组信息标识位的值为第七值且所述用户接入信道优先级参数标识 位的值为第八值, 或所述终端类型标识位的值为所述第二值且所述分组信 息标识位的值为第九值且所述用户接入信道优先级参数标识位的值为第十 值, 或所述终端类型标识位的值为所述第三值且所述分组信息标识位的值 为第十一值且所述用户接入信道优先级参数标识位的值为第十二值, 其 中, 所述第七值、 第九值、 第十一值相互不同, 所述第八值、 第十值、 第 十二值相互不同。 在该技术方案中, 假设 STA 的终端类型标识位的值为 "00" 且分组信息标识位的值为 "000001 " , 那么相应的这组类型 STA 的用户接入信道优先级参数标识位的值为 " 000" , 表示组号为 1 的 sensor类型的 STA 具有最高的优先级接入信道, STA 的终端类型标识位 的值为 "01 " 且分组信息标识位的值为 "000010" , 那么相应的这组类型 STA 的用户接入信道优先级参数标识位的值为 "001" , 表示组号为 2 的 Offloading 类型的 STA 具有最低的优先级接入信道, 即对于不同类型的 STA, 它们不能分配在同一组里面。 In the above technical solution, preferably, the value of the terminal type identifier bit is the first value, and the value of the packet information identifier bit is a seventh value, and the value of the user access channel priority parameter identifier bit is An eighth value, or the value of the terminal type identifier bit is the second value, and the value of the packet information identifier bit is a ninth value and the value of the user access channel priority parameter identifier bit is tenth The value, or the value of the terminal type identifier bit is the third value, and the value of the packet information identifier bit is an eleventh value and the value of the user access channel priority parameter identifier bit is a twelfth value. The seventh value, the ninth value, and the eleventh value are different from each other, and the eighth value, the tenth value, and the twelfth value are different from each other. In this technical solution, assuming that the value of the STA type identifier bit of the STA is "00" and the value of the packet information identifier bit is "000001", the value of the user access channel priority parameter identifier bit of the corresponding group type STA is determined. "000", indicating that the STA of the sensor type with the group number 1 has the highest priority access channel, the value of the terminal type identifier of the STA is "01" and the value of the packet information flag is "000010", then the corresponding The value of the user access channel priority parameter identifier bit of this type of STA is "001", and the STA of the Offloading type with group number 2 has the lowest priority access channel, that is, for different types of STAs, they cannot Assigned in the same group.
在上述技术方案中, 优选地, 所述终端类型标识位的值为所述第一 值、 第二值或第三值时, 所述分组信息标识位的值为第七值且所述用户接 入信道优先级参数标识位的值为第十三值, 或所述分组信息标识位的值为 第九值且所述用户接入信道优先级参数标识位的值为第十四值, 或所述分 组信息标识位的值为第十一值且所述用户接入信道优先级参数标识位的值 为第十五值, 其中, 所述第七值、 第九值、 第十一值相互不同, 所述第十 三值、 第十四值、 第十五值相互相同或不同。 在该技术方案中, 譬如属于 Sensor类型的 STA共有 100个, AP为了方便管理, 给前 50个 STA分配 了一个组号为 "00000Γ , 称之为组号为 1 的 Sensor 类型终端, 相应的 AP给这组 STA设置的接入信道优先级为 "001" , 同样 AP给另外 50个 终端分配了另外一个组号 "000010" , 称之为组号为 1 的 Sensor 类型终 端, 相应的 AP 为这组终端设置了接入网络优先级为 "001 " 或 "010" , 其中 "001 " 表示的接入信道优先级高于或是低于 "010" 表示的接入信道 的优先级, 即同种类型的 STA, AP 为了方便管理, 给它们分配了不同的 组号, 由于组号的不同, 这些 STA接入网络的优先级可能一样, 也可能 不一样, 但是同一类型的 STA 处于同一组号中的接入网络的优先级是一 样的。  In the above technical solution, preferably, when the value of the terminal type identifier bit is the first value, the second value, or the third value, the value of the packet information identifier bit is a seventh value, and the user picks up The value of the input channel priority parameter identifier bit is a thirteenth value, or the value of the packet information identifier bit is a ninth value and the value of the user access channel priority parameter identifier bit is a fourteenth value, or The value of the packet information identifier bit is the eleventh value and the value of the user access channel priority parameter identifier bit is a fifteenth value, wherein the seventh value, the ninth value, and the eleventh value are different from each other. The thirteenth value, the fourteenth value, and the fifteenth value are the same or different from each other. In this technical solution, for example, there are 100 STAs belonging to the Sensor type. For the convenience of management, the AP assigns a group number of "00000Γ to the top 50 STAs, which is called a Sensor type terminal with a group number of 1, and the corresponding AP. The priority of the access channel set for this group of STAs is "001". The same AP assigns another group number "000010" to the other 50 terminals, which is called the Sensor type terminal with group number 1. The corresponding AP is this. The group terminal sets the priority of the access network to "001" or "010", where the priority of the access channel indicated by "001" is higher or lower than the priority of the access channel indicated by "010", that is, the same kind Types of STAs, APs are assigned different group numbers for easy management. Due to different group numbers, the priority of these STAs to access the network may be the same or different, but the same type of STAs are in the same group number. The priority of the access network is the same.
在上述技术方案中, 优选地, 所述分组信息标识位包括所述消息帧中 增强型分布信道接入参数集中的一个或多个位或所述消息帧中混合协调功 能控制信道接入参数集中的一个或多个位。 在该技术方案中, 取决于 AP 的不同, 可以利用 EDCA参数集也可以利用 HCCA参数集中的比特位, 来进行 STA的分组的设置, 或是在 EDCA参数集或 HCCA参数集中增加 新的信息元素来对 STA进行分组设置。 In the above technical solution, preferably, the packet information identifier bit is included in the message frame. One or more bits in the enhanced distribution channel access parameter set or one or more bits in the mixed coordination function control channel access parameter set in the message frame. In this technical solution, depending on the AP, the EDCA parameter set or the bits in the HCCA parameter set may be utilized to perform STA grouping, or to add new information elements in the EDCA parameter set or the HCCA parameter set. To group the STAs.
在上述技术方案中, 优选地, 所述消息帧为信标帧、 探测响应帧、 关 联响应帧、 开放系统认证响应帧或重关联响应帧。 在该技术方案中, AP 可以在与 STA 交互的多种过程中, 将为其设置的优先级等信道接入参 数, 通知给 STA。  In the above technical solution, preferably, the message frame is a beacon frame, a probe response frame, an associated response frame, an open system authentication response frame, or a reassociation response frame. In this technical solution, the AP may notify the STA of the channel access parameters such as the priority set by the AP in various processes of interacting with the STA.
本发明还提供一种数据通信装置, 包括: 数据交互模块, 接收消息 帧, 所述消息帧中至少包含终端类型标识位和用户接入信道优先级参数标 识位; 数据处理模块, 从所述消息帧中获取所述终端类型标识位的值和所 述用户接入信道优先级参数标识位的值, 所述终端类型标识位的值表示终 端的类型, 所述用户接入信道优先级参数标识位的值表示接入点为所述终 端设置的接入信道的优先级。 在该技术方案中, 数据通信装置可以是 STA, 数据处理模块可以是数据通信装置中数据处理的芯片模块, 而数据 交互模块则相当于信号收发装置以及天线等, STA 可以从消息帧中获取 AP 按照其类型为其设置的接入信道的优先级, 并可以按照 AP 为其设置 好的优先级, 来有序地接入网络。  The present invention further provides a data communication apparatus, comprising: a data interaction module, receiving a message frame, wherein the message frame includes at least a terminal type identifier bit and a user access channel priority parameter identifier bit; and a data processing module, from the message Obtaining, in the frame, a value of the terminal type identifier bit and a value of the user access channel priority parameter identifier bit, where the value of the terminal type identifier bit indicates a type of the terminal, and the user access channel priority parameter identifier bit The value indicates the priority of the access channel set by the access point for the terminal. In this technical solution, the data communication device may be a STA, the data processing module may be a chip module for data processing in the data communication device, and the data interaction module is equivalent to a signal transceiver device and an antenna, etc., the STA may acquire the AP from the message frame. The access channel is set according to its type priority, and can be accessed in an orderly manner according to the priority set by the AP.
在上述技术方案中, 优选地, 所述终端类型标识位的值为第一值时表 示所述终端为传感器类型, 所述终端类型标识位的值为第二值时表示所述 终端为卸载类型, 所述终端类型标识位的值时为第三值表示所述终端为混 合类型, 所述混合类型表示所述终端既可作为传感器类型也可作为卸载类 型, 所述第一值、 第二值、 第三值相互不同。 在该技术方案中, STA的类 型——区分为 sensor类型、 offloading 类型以及混合类型, 对应于不同的 接入信道的优先级, STA可以从消息帧首先获取与自身相符的类型, 再获 取为该类型 STA 配置的优先级参数, 譬如当终端类型标识位的值为 "00" 时表示为 Sensor 类型, 当终端类型标识位的值为 "01 " 时表示为 Offloading 类型, 当终端类型标识位的值为 " 10" 时表示为混合类型, 当 然也可用其它比特位长度不一样的终端类型标识位的值来表示终端的类 型。 In the foregoing technical solution, preferably, when the value of the terminal type identifier bit is a first value, the terminal is a sensor type, and the value of the terminal type identifier bit is a second value, indicating that the terminal is an uninstall type. The value of the terminal type identifier bit is a third value indicating that the terminal is a hybrid type, and the hybrid type indicates that the terminal can be used as a sensor type or an unloading type, the first value and the second value. The third value is different from each other. In this technical solution, the type of the STA is divided into a sensor type, an offloading type, and a hybrid type, and corresponding to different access channel priorities, the STA may first obtain a type corresponding to itself from the message frame, and then obtain the type. The priority parameter configured by the type STA, for example, when the value of the terminal type identifier bit is "00", it is expressed as the Sensor type. When the value of the terminal type identifier bit is "01", it is expressed as the Offloading type. When the value of the terminal type identifier bit is set, When it is "10", it is expressed as a mixed type. However, the value of the terminal type identifier bit having a different bit length may also be used to indicate the type of the terminal.
在上述技术方案中, 优选地, 所述终端类型标识位的值为所述第一值 且所述用户接入信道优先级参数标识位的值为第四值, 或所述终端类型标 识位的值为所述第二值且所述用户接入信道优先级参数标识位的值为第五 值, 或所述终端类型标识位的值为所述第三值且所述用户接入信道优先级 参数标识位的值为第六值, 其中, 所述第四值、 第五值、 第六值相互不 同, 所述用户接入信道优先级参数标识位的值为所述第四值表示所述终端 的优先级最高, 所述用户接入信道优先级参数标识位的值为所述第五值表 示所述终端的优先级最低。 在该技术方案中, 假设 STA 的终端类型标识 位的值为 "00" , 为 Sensor类型, 那么相应的这种类型的 STA用户接入 信道优先级参数标识位的值为 "000" , 表示 STA为 sensor类型且具有两 者中最高的优先级, STA 的终端类型标识位的值为 "01 " , 为 Offloading 类型, 那么相应的这种类型的用户接入信道优先级参数标识位的值为 "001" , 表示 STA为 offloading类型且具有两者中最低的优先级。 混合 类型的 STA 的类型以及接入信道的优先级的表示方式, 类似与 sensor类 型和 offloading类型的 STA, 即对于不同类型的 STA, 它们的接入信道的 优先级别是不一样的。  In the above technical solution, preferably, the value of the terminal type identifier bit is the first value, and the value of the user access channel priority parameter identifier bit is a fourth value, or the terminal type identifier bit is The value is the second value, and the value of the user access channel priority parameter identifier bit is a fifth value, or the value of the terminal type identifier bit is the third value and the user access channel priority is The value of the parameter identifier bit is a sixth value, where the fourth value, the fifth value, and the sixth value are different from each other, and the value of the user access channel priority parameter identifier bit is the fourth value indicating the The priority of the terminal is the highest, and the value of the user access channel priority parameter identifier bit is the fifth value indicating that the terminal has the lowest priority. In this technical solution, if the value of the STA type identifier bit of the STA is "00", which is a Sensor type, the value of the corresponding STA user access channel priority parameter identifier bit of this type is "000", indicating STA. For the sensor type and the highest priority of the two, the value of the terminal type identifier bit of the STA is "01", which is of the Offloading type, and the value of the corresponding user access channel priority parameter identifier bit of this type is " 001" , indicating that the STA is of the offloading type and has the lowest priority of the two. The type of the STA of the hybrid type and the priority of the access channel are similar to those of the sensor type and the offloading type. That is, for different types of STAs, their access channels have different priority levels.
在上述技术方案中, 优选地, 所述终端类型标识位和所述用户接入信 道优先级参数标识位均包括所述消息帧中增强型分布信道接入参数集中的 一个或多个位或所述消息帧中混合协调功能控制信道接入参数集中的一个 或多个位。 在该技术方案中, 取决于 AP的不同, 可以利用 EDCA参数集 也可以利用 HCCA参数集中的比特位, 来进行 STA接入信道的优先级的 设置, ST A从消息帧中的相应位置进行读取即可。  In the above technical solution, preferably, the terminal type identifier bit and the user access channel priority parameter identifier bit each include one or more bits or locations in the enhanced distributed channel access parameter set in the message frame. The hybrid coordination function in the message frame controls one or more bits in the channel access parameter set. In this technical solution, depending on the AP, the EDCA parameter set or the bits in the HCCA parameter set may be utilized to set the priority of the STA access channel, and the ST A reads from the corresponding position in the message frame. Just take it.
在上述技术方案中, 优选地, 所述消息帧中还包含分组信息标识位, 所述数据处理模块还从所述消息帧中获取所述分组信息标识位的值, 所述 分组信息标识位的值表示为所述终端设置的类型组号。 在该技术方案中, 在接入网络的 STA数量较多时, 可以将多个 STA划分为不同的组, STA 可以结合自身的组号, 实现接入网络的操作, 譬如 AP 同时管理 100 个 STA, 那么可以将前 50 个 STA 分配在一个组里面, 给它们设置组号为 "0000001 " , 表示组号为第一组终端, 后 50 个 STA 分配在另外一个组 里面, 给它们设置组号为 "0000010" , 表示组号为第二组终端, 当然也 可以用其它比特位长度以及值来表示 STA的组号。 In the above technical solution, preferably, the message frame further includes a packet information identifier bit, where the data processing module further acquires a value of the packet information identifier bit from the message frame, where the packet information identifier bit The value indicates the type group number set for the terminal. In this technical solution, when the number of STAs accessing the network is large, multiple STAs can be divided into different groups, and the STA can implement the operation of accessing the network by combining its own group number, for example, the AP manages 100 at the same time. STA, then you can assign the first 50 STAs to a group, set them to group number "0000001", indicating that the group number is the first group terminal, and the last 50 STAs are assigned to another group, and set the group number for them. It is "0000010", indicating that the group number is the second group of terminals. Of course, other bit lengths and values can also be used to indicate the group number of the STA.
在上述技术方案中, 优选地, 所述终端类型标识位的值为所述第一值 且所述分组信息标识位的值为第七值且所述用户接入信道优先级参数标识 位的值为第八值, 或所述终端类型标识位的值为所述第二值且所述分组信 息标识位的值为第九值且所述用户接入信道优先级参数标识位的值为第十 值, 或所述终端类型标识位的值为所述第三值且所述分组信息标识位的值 为第十一值且所述用户接入信道优先级参数标识位的值为第十二值, 其 中, 所述第七值、 第九值、 第十一值相互不同, 所述第八值、 第十值、 第 十二值相互不同。 在该技术方案中, 假设 STA 的终端类型标识位的值为 "00" 且分组信息标识位的值为 "000001 " , 那么相应的这组类型 STA 的用户接入信道优先级参数标识位的值为 " 000" , 表示组号为 1 的 sensor类型的 STA 具有最高的优先级接入信道, STA 的终端类型标识位 的值为 "01 " 且分组信息标识位的值为 "000010" , 那么相应的这组类型 STA 的用户接入信道优先级参数标识位的值为 "001" , 表示组号为 2 的 Offloading 类型的 STA 具有最低的优先级接入信道, 即对于不同类型的 STA, 它们不能分配在同一组里面。  In the above technical solution, preferably, the value of the terminal type identifier bit is the first value, and the value of the packet information identifier bit is a seventh value, and the value of the user access channel priority parameter identifier bit is An eighth value, or the value of the terminal type identifier bit is the second value, and the value of the packet information identifier bit is a ninth value and the value of the user access channel priority parameter identifier bit is tenth The value, or the value of the terminal type identifier bit is the third value, and the value of the packet information identifier bit is an eleventh value and the value of the user access channel priority parameter identifier bit is a twelfth value. The seventh value, the ninth value, and the eleventh value are different from each other, and the eighth value, the tenth value, and the twelfth value are different from each other. In this technical solution, assuming that the value of the STA type identifier bit of the STA is "00" and the value of the packet information identifier bit is "000001", the value of the user access channel priority parameter identifier bit of the corresponding group type STA is determined. "000", indicating that the STA of the sensor type with the group number 1 has the highest priority access channel, the value of the terminal type identifier of the STA is "01" and the value of the packet information flag is "000010", then the corresponding The value of the user access channel priority parameter identifier bit of this type of STA is "001", and the STA of the Offloading type with group number 2 has the lowest priority access channel, that is, for different types of STAs, they cannot Assigned in the same group.
在上述技术方案中, 优选地, 所述终端类型标识位的值为所述第一 值、 第二值或第三值时, 所述分组信息标识位的值为第七值且所述用户接 入信道优先级参数标识位的值为第十三值, 或所述分组信息标识位的值为 第九值且所述用户接入信道优先级参数标识位的值为第十四值, 或所述分 组信息标识位的值为第十一值且所述用户接入信道优先级参数标识位的值 为第十五值, 其中, 所述第七值、 第九值、 第十一值相互不同, 所述第十 三值、 第十四值、 第十五值相互相同或不同。 在该技术方案中, 譬如属于 Sensor类型的 STA共有 100个, AP为了方便管理, 给前 50个 STA分配 了一个组号为 "00000Γ , 称之为组号为 1 的 Sensor 类型终端, 相应的 AP给这组 STA设置的接入信道优先级为 "001" , 同样 AP给另外 50个 终端分配了另外一个组号 "000010" , 称之为组号为 2 的 Sensor 类型终 端, 相应的 AP 为这组终端设置了接入网络优先级为 "001 " 或 "010" , 其中 "001 " 表示的接入信道优先级高于或是低于 "010" 表示的接入信道 的优先级, 即同种类型的 STA, AP 为了方便管理, 给它们分配了不同的 组号, 由于组号的不同, 这些 STA 接入网络的优先级可能一样, 也可能 不一样, 但是同一类型的 STA 处于同一组号中的接入网络的优先级是一 样的。 In the above technical solution, preferably, when the value of the terminal type identifier bit is the first value, the second value, or the third value, the value of the packet information identifier bit is a seventh value, and the user picks up The value of the input channel priority parameter identifier bit is a thirteenth value, or the value of the packet information identifier bit is a ninth value and the value of the user access channel priority parameter identifier bit is a fourteenth value, or The value of the packet information identifier bit is the eleventh value and the value of the user access channel priority parameter identifier bit is a fifteenth value, wherein the seventh value, the ninth value, and the eleventh value are different from each other. The thirteenth value, the fourteenth value, and the fifteenth value are the same or different from each other. In this technical solution, for example, there are 100 STAs belonging to the Sensor type. For the convenience of management, the AP assigns a group number of "00000Γ to the top 50 STAs, which is called a Sensor type terminal with a group number of 1, and the corresponding AP. The priority of the access channel set for this group of STAs is "001", and the same AP gives 50 other The terminal is assigned another group number "000010", which is called the Sensor type terminal with group number 2. The corresponding AP sets the access network priority to "001" or "010" for this group of terminals, where "001" Indicates that the priority of the access channel is higher or lower than the priority of the access channel indicated by "010", that is, the STAs of the same type. The APs are assigned different group numbers for the convenience of management, due to the group number. Differently, the priority of these STAs to access the network may be the same or different, but the access networks of the same type of STAs in the same group number have the same priority.
在上述技术方案中, 优选地, 所述分组信息标识位包括所述消息帧中 增强型分布信道接入参数集中的一个或多个位或所述消息帧中混合协调功 能控制信道接入参数集中的一个或多个位。 在该技术方案中, 取决于 AP 的不同, 可以利用 EDCA参数集也可以利用 HCCA参数集中的比特位, 来进行 STA的分组的设置, 或是在 EDCA参数集或 HCCA参数集中增加 新的信息元素来对 STA进行分组设置。  In the foregoing technical solution, preferably, the group information identifier bit includes one or more bits in the enhanced distributed channel access parameter set in the message frame or a mixed coordination function control channel access parameter set in the message frame. One or more bits. In this technical solution, depending on the AP, the EDCA parameter set or the bits in the HCCA parameter set may be utilized to perform STA grouping, or to add new information elements in the EDCA parameter set or the HCCA parameter set. To group the STAs.
在上述技术方案中, 优选地, 所述消息帧为信标帧、 探测响应帧、 关 联响应帧、 开放系统认证响应帧或重关联响应帧。 在该技术方案中, AP 可以在与 STA 交互的多种过程中, 将为其设置的优先级等信道接入参 数, 通知给 STA。  In the above technical solution, preferably, the message frame is a beacon frame, a probe response frame, an associated response frame, an open system authentication response frame, or a reassociation response frame. In this technical solution, the AP may notify the STA of the channel access parameters such as the priority set by the AP in various processes of interacting with the STA.
本发明还提供一种数据通信方法, 包括: 接收消息帧, 所述消息帧中 至少包含终端类型标识位和用户接入信道优先级参数标识位; 从所述消息 帧中获取所述终端类型标识位的值和所述用户接入信道优先级参数标识位 的值, 所述终端类型标识位的值表示终端的类型, 所述用户接入信道优先 级参数标识位的值表示接入点为所述终端设置的接入信道的优先级。 在该 技术方案中, STA可以从消息帧中获取 AP按照其类型为其设置的接入信 道的优先级, 并可以按照 AP为其设置好的优先级, 来有序地接入网络。  The present invention further provides a data communication method, including: receiving a message frame, where the message frame includes at least a terminal type identifier bit and a user access channel priority parameter identifier bit; and obtaining the terminal type identifier from the message frame The value of the bit and the value of the user access channel priority parameter identifier bit, the value of the terminal type identifier bit indicates the type of the terminal, and the value of the user access channel priority parameter identifier bit indicates that the access point is The priority of the access channel set by the terminal. In this technical solution, the STA can obtain the priority of the access channel set by the AP according to its type from the message frame, and can access the network in an orderly manner according to the priority set by the AP.
在上述技术方案中, 优选地, 所述终端类型标识位的值为第一值时表 示所述终端为传感器类型, 所述终端类型标识位的值为第二值时表示所述 终端为卸载类型, 所述终端类型标识位的值时为第三值表示所述终端为混 合类型, 所述混合类型表示所述终端既可作为传感器类型也可作为卸载类 型, 所述第一值、 第二值、 第三值相互不同。 在该技术方案中, STA的类 型——区分为 sensor类型、 offloading 类型以及混合类型, 对应于不同的 接入信道的优先级, STA可以从消息帧首先获取与自身相符的类型, 再获 取为该类型 STA 配置的优先级参数, 譬如当终端类型标识位的值为 "00" 时表示为 Sensor 类型, 当终端类型标识位的值为 "01 " 时表示为 Offloading 类型, 当终端类型标识位的值为 " 10" 时表示为混合类型, 当 然也可用其它比特位长度不一样的终端类型标识位的值来表示终端的类 型。 In the foregoing technical solution, preferably, when the value of the terminal type identifier bit is a first value, the terminal is a sensor type, and the value of the terminal type identifier bit is a second value, indicating that the terminal is an uninstall type. The value of the terminal type identifier bit is a third value indicating that the terminal is a hybrid type, and the hybrid type indicates that the terminal can be used as a sensor type or an unloading type, the first value and the second value. The third value is different from each other. In this technical solution, the class of STA The type is divided into a sensor type, an offloading type, and a hybrid type, which correspond to the priorities of different access channels. The STA can first obtain the type matching the self from the message frame, and then obtain the priority parameter configured for the type STA. For example, when the value of the terminal type flag is "00", it is expressed as the Sensor type. When the value of the terminal type flag is "01", it is expressed as Offloading type. When the value of the terminal type flag is "10", it is indicated as mixed. Type, of course, the value of the terminal type identifier bit having a different bit length may be used to indicate the type of the terminal.
在上述技术方案中, 优选地, 所述终端类型标识位的值为所述第一值 且所述用户接入信道优先级参数标识位的值为第四值, 或所述终端类型标 识位的值为所述第二值且所述用户接入信道优先级参数标识位的值为第五 值, 或所述终端类型标识位的值为所述第三值且所述用户接入信道优先级 参数标识位的值为第六值, 其中, 所述第四值、 第五值、 第六值相互不 同, 所述用户接入信道优先级参数标识位的值为所述第四值表示所述终端 的优先级最高, 所述用户接入信道优先级参数标识位的值为所述第五值表 示所述终端的优先级最低。 在该技术方案中, 假设 STA 的终端类型标识 位的值为 "00" , 为 Sensor类型, 那么相应的这种类型的 STA用户接入 信道优先级参数标识位的值为 "000" , 表示 STA为 sensor类型且具有两 者中最高的优先级, STA 的终端类型标识位的值为 "01 " , 为 Offloading 类型, 那么相应的这种类型的用户接入信道优先级参数标识位的值为 "001" , 表示 STA为 offloading类型且具有两者中最低的优先级。 混合 类型的 STA 的类型以及接入信道的优先级的表示方式, 类似与 sensor类 型和 offloading类型的 STA, 即对于不同类型的 STA, 它们的接入信道的 优先级别是不一样的。  In the above technical solution, preferably, the value of the terminal type identifier bit is the first value, and the value of the user access channel priority parameter identifier bit is a fourth value, or the terminal type identifier bit is The value is the second value, and the value of the user access channel priority parameter identifier bit is a fifth value, or the value of the terminal type identifier bit is the third value and the user access channel priority is The value of the parameter identifier bit is a sixth value, where the fourth value, the fifth value, and the sixth value are different from each other, and the value of the user access channel priority parameter identifier bit is the fourth value indicating the The priority of the terminal is the highest, and the value of the user access channel priority parameter identifier bit is the fifth value indicating that the terminal has the lowest priority. In this technical solution, if the value of the STA type identifier bit of the STA is "00", which is a Sensor type, the value of the corresponding STA user access channel priority parameter identifier bit of this type is "000", indicating STA. For the sensor type and the highest priority of the two, the value of the terminal type identifier bit of the STA is "01", which is of the Offloading type, and the value of the corresponding user access channel priority parameter identifier bit of this type is " 001" , indicating that the STA is of the offloading type and has the lowest priority of the two. The type of the STA of the hybrid type and the priority of the access channel are similar to those of the sensor type and the offloading type. That is, for different types of STAs, their access channels have different priority levels.
在上述技术方案中, 优选地, 所述终端类型标识位和所述用户接入信 道优先级参数标识位均包括所述消息帧中增强型分布信道接入参数集中的 一个或多个位或所述消息帧中混合协调功能控制信道接入参数集中的一个 或多个位。 在该技术方案中, 取决于 AP的不同, 可以利用 EDCA参数集 也可以利用 HCCA参数集中的比特位, 来进行 STA接入信道的优先级的 设置, ST A从消息帧中的相应位置进行读取即可。 在上述技术方案中, 优选地, 所述消息帧中还包含分组信息标识位, 所述数据通信方法还包括: 从所述;;肖息帧中获取所述分组信, 标识位的 值, 所述分组信息标识位的值表示为所述终端设置的类型组号。 在该技术 方案中, 在接入网络的 STA数量较多时, 可以将多个 STA划分为不同的 组, STA可以结合自身的组号, 实现接入网络的操作, 譬如 AP 同时管理 100个 STA, 那么可以将前 50个 STA分配在一个组里面, 给它们设置组 号为 "0000001 " , 表示组号为第一组终端, 后 50 个 STA分配在另外一 个组里面, 给它们设置组号为 "0000010" , 表示组号为第二组终端, 当 然也可以用其它比特位长度以及值来表示 STA的组号。 In the above technical solution, preferably, the terminal type identifier bit and the user access channel priority parameter identifier bit each include one or more bits or locations in the enhanced distributed channel access parameter set in the message frame. The hybrid coordination function in the message frame controls one or more bits in the channel access parameter set. In this technical solution, depending on the AP, the EDCA parameter set or the bits in the HCCA parameter set may be utilized to set the priority of the STA access channel, and the ST A reads from the corresponding position in the message frame. Just take it. In the above technical solution, preferably, the message frame further includes a packet information identifier bit, and the data communication method further includes: acquiring, according to the ;; the message frame, the value of the identifier bit, The value of the packet information flag is expressed as the type group number set by the terminal. In this technical solution, when the number of STAs accessing the network is large, multiple STAs may be divided into different groups, and the STA may perform operations for accessing the network by combining its own group number, for example, the AP manages 100 STAs at the same time. Then the first 50 STAs can be assigned to a group, and the group number is set to "0000001", indicating that the group number is the first group terminal, and the last 50 STAs are allocated in another group, and the group number is set to "0000010" , indicating that the group number is the second group of terminals, of course, other bit lengths and values can also be used to indicate the group number of the STA.
在上述技术方案中, 优选地, 所述终端类型标识位的值为所述第一值 且所述分组信息标识位的值为第七值且所述用户接入信道优先级参数标识 位的值为第八值, 或所述终端类型标识位的值为所述第二值且所述分组信 息标识位的值为第九值且所述用户接入信道优先级参数标识位的值为第十 值, 或所述终端类型标识位的值为所述第三值且所述分组信息标识位的值 为第十一值且所述用户接入信道优先级参数标识位的值为第十二值, 其 中, 所述第七值、 第九值、 第十一值相互不同, 所述第八值、 第十值、 第 十二值相互不同。 在该技术方案中, 假设 STA 的终端类型标识位的值为 "00" 且分组信息标识位的值为 " 000001 " , 那么相应的这组类型 STA 的用户接入信道优先级参数标识位的值为 " 000 " , 表示组号为 1 的 sensor类型的 STA 具有最高的优先级接入信道, STA 的终端类型标识位 的值为 "01 " 且分组信息标识位的值为 "000010" , 那么相应的这组类型 STA 的用户接入信道优先级参数标识位的值为 "001 " , 表示组号为 2 的 Offloading 类型的 STA 具有最低的优先级接入信道, 即对于不同类型的 STA, 它们不能分配在同一组里面。  In the above technical solution, preferably, the value of the terminal type identifier bit is the first value, and the value of the packet information identifier bit is a seventh value, and the value of the user access channel priority parameter identifier bit is An eighth value, or the value of the terminal type identifier bit is the second value, and the value of the packet information identifier bit is a ninth value and the value of the user access channel priority parameter identifier bit is tenth The value, or the value of the terminal type identifier bit is the third value, and the value of the packet information identifier bit is an eleventh value and the value of the user access channel priority parameter identifier bit is a twelfth value. The seventh value, the ninth value, and the eleventh value are different from each other, and the eighth value, the tenth value, and the twelfth value are different from each other. In this technical solution, if the value of the STA type identifier bit of the STA is "00" and the value of the packet information identifier bit is "000001", then the value of the user access channel priority parameter identifier bit of the corresponding group type STA is determined. For "000", the STA of the sensor type with group number 1 has the highest priority access channel, the value of the STA's terminal type flag is "01" and the value of the packet information flag is "000010", then the corresponding The value of the user access channel priority parameter identifier bit of this type of STA is "001", and the STA of the Offloading type with group number 2 has the lowest priority access channel, that is, for different types of STAs, they cannot Assigned in the same group.
在上述技术方案中, 优选地, 所述终端类型标识位的值为所述第一 值、 第二值或第三值时, 所述分组信息标识位的值为第七值且所述用户接 入信道优先级参数标识位的值为第十三值, 或所述分组信息标识位的值为 第九值且所述用户接入信道优先级参数标识位的值为第十四值, 或所述分 组信息标识位的值为第十一值且所述用户接入信道优先级参数标识位的值 为第十五值, 其中, 所述第七值、 第九值、 第十一值相互不同, 所述第十 三值、 第十四值、 第十五值相互相同或不同。 在该技术方案中, 譬如属于In the above technical solution, preferably, when the value of the terminal type identifier bit is the first value, the second value, or the third value, the value of the packet information identifier bit is a seventh value, and the user picks up The value of the input channel priority parameter identifier bit is a thirteenth value, or the value of the packet information identifier bit is a ninth value and the value of the user access channel priority parameter identifier bit is a fourteenth value, or The value of the packet information identifier bit is the eleventh value and the value of the user access channel priority parameter identifier bit The fifteenth value, wherein the seventh value, the ninth value, and the eleventh value are different from each other, and the thirteenth value, the fourteenth value, and the fifteenth value are the same or different from each other. In this technical solution, for example
Sensor类型的 STA共有 100个, AP为了方便管理, 给前 50个 STA分配 了一个组号为 "00000Γ , 称之为组号为 1 的 Sensor 类型终端, 相应的 AP给这组 STA设置的接入信道优先级为 "001" , 同样 AP给另外 50个 终端分配了另外一个组号 "000010" , 称之为组号为 1 的 Sensor 类型终 端, 相应的 AP 为这组终端设置了接入网络优先级为 "001 " 或 "010" , 其中 "001 " 表示的接入信道优先级高于或是低于 "010" 表示的接入信道 的优先级, 即同种类型的 STA, AP 为了方便管理, 给它们分配了不同的 组号, 由于组号的不同, 这些 STA 接入网络的优先级可能一样, 也可能 不一样, 但是同一类型的 STA 处于同一组号中的接入网络的优先级是一 样的。 There are a total of 100 STAs of the Sensor type. For the convenience of management, the AP assigns the first 50 STAs a group number of "00000Γ, which is called the Sensor type terminal with the group number 1. The corresponding AP sets the access for this group of STAs. The channel priority is "001". Similarly, the AP assigns another group number "000010" to another 50 terminals, which is called a Sensor type terminal with group number 1. The corresponding AP sets the access network priority for this group of terminals. The level is "001" or "010", where the priority of the access channel indicated by "001" is higher or lower than the priority of the access channel indicated by "010", that is, the same type of STA, the AP is convenient for management. They are assigned different group numbers. Due to different group numbers, the priority of these STAs to access the network may be the same or different, but the priority of the access network of the same type of STAs in the same group number is the same.
在上述技术方案中, 优选地, 所述分组信息标识位包括所述消息帧中 增强型分布信道接入参数集中的一个或多个位或所述消息帧中混合协调功 能控制信道接入参数集中的一个或多个位。 在该技术方案中, 取决于 AP 的不同, 可以利用 EDCA参数集也可以利用 HCCA参数集中的比特位, 来进行 STA的分组的设置, 或是在 EDCA参数集或 HCCA参数集中增加 新的信息元素来对 STA进行分组设置。  In the foregoing technical solution, preferably, the group information identifier bit includes one or more bits in the enhanced distributed channel access parameter set in the message frame or a mixed coordination function control channel access parameter set in the message frame. One or more bits. In this technical solution, depending on the AP, the EDCA parameter set or the bits in the HCCA parameter set may be utilized to perform STA grouping, or to add new information elements in the EDCA parameter set or the HCCA parameter set. To group the STAs.
在上述技术方案中, 优选地, 所述消息帧为信标帧、 探测响应帧、 关 联响应帧、 开放系统认证响应帧或重关联响应帧。 在该技术方案中, AP 可以在与 STA 交互的多种过程中, 将为其设置的优先级等信道接入参 数, 通知给 STA。  In the above technical solution, preferably, the message frame is a beacon frame, a probe response frame, an associated response frame, an open system authentication response frame, or a reassociation response frame. In this technical solution, the AP may notify the STA of the channel access parameters such as the priority set by the AP in various processes of interacting with the STA.
通过以上技术方案, 可以实现数据通信装置和数据通信方法, 保证 AP 可以详细设置 STA 的多个信道接入参数集, 从而可以对 STA接入网 络的过程进行良好的控制。 附图说明  Through the above technical solution, the data communication device and the data communication method can be implemented, and the AP can be configured to set the multiple channel access parameter sets of the STA in detail, so that the process of the STA accessing the network can be well controlled. DRAWINGS
图 1是根据本发明的一个实施例的数据通信装置的框图;  1 is a block diagram of a data communication device in accordance with one embodiment of the present invention;
图 2是根据本发明的一个实施例的数据通信方法的流程图; 图 3是根据本发明的一个实施例的数据通信装置的框图; 图 4是根据本发明的一个实施例的数据通信方法的流程图; 2 is a flow chart of a data communication method in accordance with one embodiment of the present invention; Figure 3 is a block diagram of a data communication device in accordance with one embodiment of the present invention; Figure 4 is a flow diagram of a data communication method in accordance with one embodiment of the present invention;
图 5是根据本发明的一个实施例的数据通信方法的消息结构图; 图 6是根据本发明的一个实施例的数据通信方法的消息结构图; 图 7是根据本发明的一个实施例的数据通信方法的消息结构图。 具体实施方式  5 is a message structure diagram of a data communication method according to an embodiment of the present invention; FIG. 6 is a message structure diagram of a data communication method according to an embodiment of the present invention; FIG. 7 is data according to an embodiment of the present invention. The message structure diagram of the communication method. detailed description
为了能够更清楚地理解本发明的上述目的、 特征和优点, 下面结合附 图和具体实施方式对本发明进行进一步的详细描述。 需要说明的是, 在不 沖突的情况下, 本申请的实施例及实施例中的特征可以相互组合。  The above described objects, features and advantages of the present invention will be more fully understood from the following detailed description. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments of the present application may be combined with each other.
在下面的描述中阐述了很多具体细节以便于充分理解本发明, 但是, 本发明还可以采用其他不同于在此描述的其他方式来实施, 因此, 本发明 的保护范围并不受下面公开的具体实施例的限制。  In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, but the invention may be practiced otherwise than as described herein. Limitations of the embodiments.
图 1是根据本发明的一个实施例的数据通信装置的框图。  1 is a block diagram of a data communication device in accordance with one embodiment of the present invention.
如图 1 所示, 本发明提供一种数据通信装置 100, 包括: 数据处理模 块 102 , 生成消息帧, 所述消息帧中至少包含终端类型标识位和用户接入 信道优先级参数标识位, 所述终端类型标识位的值表示终端的类型, 所述 用户接入信道优先级参数标识位的值表示为所述终端设置的接入信道的优 先级; 数据交互模块 104 , 发送所述消息帧。 在该技术方案中, 数据通信 装置 100可以是 AP , 譬如数据采集器等设备, 数据处理模块 102可以是 数据通信装置 100中数据处理的芯片模块, 而数据交互模块 104则相当于 信号收发装置以及天线等, AP 在消息帧中设置了 STA 类型以及按 STA 类型设置的接入信道的优先级, 保证相应的 STA 可以按照为其设置好的 优先级, 来有序地接入网络。  As shown in FIG. 1 , the present invention provides a data communication apparatus 100, including: a data processing module 102, which generates a message frame, where the message frame includes at least a terminal type identifier bit and a user access channel priority parameter identifier bit, where The value of the terminal type identifier bit indicates the type of the terminal, and the value of the user access channel priority parameter identifier bit indicates the priority of the access channel set by the terminal; the data interaction module 104 sends the message frame. In this technical solution, the data communication device 100 may be an AP, such as a data collector, the data processing module 102 may be a chip module for data processing in the data communication device 100, and the data interaction module 104 is equivalent to a signal transceiver device and Antennas, etc., the AP sets the STA type and the priority of the access channel set by the STA type in the message frame to ensure that the corresponding STA can access the network in an orderly manner according to the priority set for it.
在上述技术方案中, 所述终端类型标识位的值为第一值时表示所述终 端为传感器类型, 所述终端类型标识位的值为第二值时表示所述终端为卸 载类型, 所述终端类型标识位的值时为第三值表示所述终端为混合类型, 所述混合类型表示所述终端既可作为传感器类型也可作为卸载类型, 所述 第一值、 第二值、 第三值相互不同。 在该技术方案中, AP可以按 STA的 类型——区分为 sensor类型、 offloading 类型以及混合类型, 来针对性设 置每个 STA接入信道的优先级, 来控制不同 STA接入网络的顺序, 譬如 当终端类型标识位的值为 "00" 时表示为 Sensor 类型, 当终端类型标识 位的值为 " 01 " 时表示为 Offloading 类型, 当终端类型标识位的值为In the foregoing technical solution, when the value of the terminal type identifier bit is a first value, the terminal is a sensor type, and the value of the terminal type identifier bit is a second value, indicating that the terminal is an unloading type, The value of the terminal type identifier bit is a third value indicating that the terminal is a hybrid type, and the hybrid type indicates that the terminal can be used as both a sensor type and an unloading type, and the first value, the second value, and the third The values are different from each other. In this technical solution, the AP can press the STA The type is divided into the sensor type, the offloading type, and the hybrid type to set the priority of each STA access channel to control the order in which different STAs access the network. For example, when the terminal type identifier bit is "00" The time is expressed as the Sensor type. When the value of the terminal type flag is "01", it is expressed as Offloading type. When the value of the terminal type flag is
" 10" 时表示为混合类型, 当然也可用其它比特位长度不一样的终端类型 标识位的值来表示终端的类型。 The "10" is expressed as a hybrid type. Of course, the value of the terminal type identification bit having a different bit length may be used to indicate the type of the terminal.
在上述技术方案中, 所述终端类型标识位的值为所述第一值且所述用 户接入信道优先级参数标识位的值为第四值, 或所述终端类型标识位的值 为所述第二值且所述用户接入信道优先级参数标识位的值为第五值, 或所 述终端类型标识位的值为所述第三值且所述用户接入信道优先级参数标识 位的值为第六值, 其中, 所述第四值、 第五值、 第六值相互不同, 所述用 户接入信道优先级参数标识位的值为所述第四值表示所述终端的优先级最 高, 所述用户接入信道优先级参数标识位的值为所述第五值表示所述终端 的优先级最低。 在该技术方案中, 假设 STA 的终端类型标识位的值为 In the foregoing technical solution, the value of the terminal type identifier bit is the first value, and the value of the user access channel priority parameter identifier bit is a fourth value, or the value of the terminal type identifier bit is Determining a second value, and the value of the user access channel priority parameter identifier bit is a fifth value, or the value of the terminal type identifier bit is the third value, and the user access channel priority parameter identifier bit The value of the fourth value, the fifth value, and the sixth value are different from each other, and the value of the user access channel priority parameter identifier bit is the fourth value indicating the priority of the terminal. The highest level, the value of the user access channel priority parameter identifier bit is the fifth value indicating that the terminal has the lowest priority. In this technical solution, it is assumed that the value of the terminal type identifier bit of the STA is
"00" , 为 Sensor类型, 那么相应的这种类型的 STA用户接入信道优先 级参数标识位的值为 "000" , 表示 STA为 sensor类型且具有两者中最高 的优先级, STA的终端类型标识位的值为 "01" , 为 Offloading类型, 那 么相应的这种类型的用户接入信道优先级参数标识位的值为 "001 " , 表 示 STA 为 offloading类型且具有两者中最低的优先级。 混合类型的 STA 的类型以及接入信道的优先级的表示方式, 类似与 sensor 类型和 offloading类型的 STA, 即对于不同类型的 STA, 它们的接入信道的优先 级别是不一样的。 "00" is the Sensor type, then the value of the corresponding STA user access channel priority parameter identifier bit of this type is "000", indicating that the STA is the sensor type and has the highest priority among the two, the terminal of the STA The value of the type identifier bit is "01", which is of the Offloading type. The value of the corresponding user access channel priority parameter identifier bit of this type is "001", indicating that the STA is of the offloading type and has the lowest priority of the two. level. The type of the STA of the hybrid type and the priority of the access channel are similar to those of the sensor type and the offloading type. That is, for different types of STAs, their access channels have different priority levels.
在上述技术方案中, 所述终端类型标识位和所述用户接入信道优先级 参数标识位均包括所述消息帧中增强型分布信道接入参数集中的一个或多 个位或所述消息帧中混合协调功能控制信道接入参数集中的一个或多个 位。 在该技术方案中, 取决于 AP的不同, 可以利用 EDCA参数集也可以 利用 HCCA参数集中的比特位, 来进行 STA接入信道的优先级的设置。  In the foregoing technical solution, the terminal type identifier bit and the user access channel priority parameter identifier bit both include one or more bits or the message frame in the enhanced distributed channel access parameter set in the message frame. The medium hybrid coordination function controls one or more bits of the channel access parameter set. In this technical solution, depending on the AP, the priority of the STA access channel can be set by using the EDCA parameter set or the bits in the HCCA parameter set.
在上述技术方案中, 所述消息帧中还包含分组信息标识位, 所述分组 信息标识位的值表示为所述终端设置的类型组号。 在该技术方案中, 在接 入网络的 STA数量较多时, 可以将多个 STA 划分为不同的组, AP 可以 针对一整组的 STA进行统一管理, 譬如 AP 同时管理 100个 STA, 那么 可以将前 50 个 STA 分配在一个组里面, 给它们设置组号为 "0000001 " , 表示组号为第一组终端, 后 50 个 STA 分配在另外一个组 里面, 给它们设置组号为 "0000010" , 表示组号为第二组终端, 当然也 可以用其它比特位长度以及值来表示 STA的组号。 In the above technical solution, the message frame further includes a packet information identifier bit, and the value of the packet information identifier bit is represented by a type group number set by the terminal. In this technical solution, in the connection When the number of STAs entering the network is large, multiple STAs can be divided into different groups. The AP can manage the entire group of STAs. For example, if the AP manages 100 STAs at the same time, the first 50 STAs can be assigned to one group. Inside, set the group number to "0000001", indicating that the group number is the first group terminal, and the last 50 STAs are assigned in another group, and set the group number to "0000010", indicating that the group number is the second group terminal. Of course, other bit lengths and values can also be used to indicate the STA's group number.
在上述技术方案中, 所述终端类型标识位的值为所述第一值且所述分 组信息标识位的值为第七值且所述用户接入信道优先级参数标识位的值为 第八值, 或所述终端类型标识位的值为所述第二值且所述分组信息标识位 的值为第九值且所述用户接入信道优先级参数标识位的值为第十值, 或所 述终端类型标识位的值为所述第三值且所述分组信息标识位的值为第十一 值且所述用户接入信道优先级参数标识位的值为第十二值, 其中, 所述第 七值、 第九值、 第十一值相互不同, 所述第八值、 第十值、 第十二值相互 不同。 在该技术方案中, 艮设 STA 的终端类型标识位的值为 "00" 且分 组信息标识位的值为 "000001 " , 那么相应的这组类型 STA 的用户接入 信道优先级参数标识位的值为 "000" , 表示组号为 1 的 sensor 类型的 STA 具有最高的优先级接入信道, STA 的终端类型标识位的值为 "01 " 且分组信息标识位的值为 "000010" , 那么相应的这组类型 STA 的用户 接入信道优先级参数标识位的值为 "001 " , 表示组号为 2 的 Offloading 类型的 STA 具有最低的优先级接入信道, 即对于不同类型的 STA, 它们 不能分配在同一组里面。  In the foregoing technical solution, the value of the terminal type identifier bit is the first value, and the value of the packet information identifier bit is a seventh value, and the value of the user access channel priority parameter identifier bit is an eighth value. The value, or the value of the terminal type identifier bit is the second value, and the value of the packet information identifier bit is a ninth value and the value of the user access channel priority parameter identifier bit is a tenth value, or The value of the terminal type identifier bit is the third value, and the value of the packet information identifier bit is the eleventh value, and the value of the user access channel priority parameter identifier bit is the twelfth value, where The seventh value, the ninth value, and the eleventh value are different from each other, and the eighth value, the tenth value, and the twelfth value are different from each other. In this technical solution, if the value of the STA type identifier bit of the STA is "00" and the value of the packet information identifier bit is "000001", then the corresponding user access channel priority parameter identifier of the group type STA The value is "000", indicating that the STA of the sensor type with the group number of 1 has the highest priority access channel, the value of the terminal type identifier of the STA is "01" and the value of the packet information flag is "000010", then The value of the user access channel priority parameter identifier bit of the corresponding type of STA is "001", and the STA of the Offloading type with the group number 2 has the lowest priority access channel, that is, for different types of STAs, Cannot be assigned in the same group.
在上述技术方案中, 所述终端类型标识位的值为所述第一值、 第二值 或第三值时, 所述分组信息标识位的值为第七值且所述用户接入信道优先 级参数标识位的值为第十三值, 或所述分组信息标识位的值为第九值且所 述用户接入信道优先级参数标识位的值为第十四值, 或所述分组信息标识 位的值为第十一值且所述用户接入信道优先级参数标识位的值为第十五 值, 其中, 所述第七值、 第九值、 第十一值相互不同, 所述第十三值、 第 十四值、 第十五值相互相同或不同。 在该技术方案中, 譬如属于 Sensor 类型的 STA共有 100个, AP为了方便管理, 给前 50个 STA分配了一个 组号为 "ΟΟΟΟΟΓ , 称之为组号为 1的 Sensor类型终端, 相应的 AP给这 组 STA设置的接入信道优先级为 "001 " , 同样 AP给另外 50个终端分配 了另外一个组号 "000010" , 称之为组号为 2 的 Sensor类型终端, 相应 的 AP 为这组终端设置了接入网络优先级为 " 001 " 或 " 010 " , 其中 "001 " 表示的接入信道优先级高于或是低于 "010" 表示的接入信道的优 先级, 即同种类型的 STA , AP 为了方便管理, 给它们分配了不同的组 号, 由于组号的不同, 这些 STA接入网络的优先级可能一样, 也可能不 一样, 但是同一类型的 STA 处于同一组号中的接入网络的优先级是一样 的。 In the foregoing technical solution, when the value of the terminal type identifier bit is the first value, the second value, or the third value, the value of the packet information identifier bit is a seventh value, and the user access channel takes precedence. The value of the level parameter identifier bit is a thirteenth value, or the value of the packet information identifier bit is a ninth value and the value of the user access channel priority parameter identifier bit is a fourteenth value, or the group information The value of the identifier bit is the eleventh value, and the value of the user access channel priority parameter identifier bit is a fifteenth value, wherein the seventh value, the ninth value, and the eleventh value are different from each other, The thirteenth value, the fourteenth value, and the fifteenth value are the same or different from each other. In this technical solution, for example, there are 100 STAs belonging to the Sensor type, and the AP allocates one to the first 50 STAs for convenient management. The group number is "ΟΟΟΟΟΓ", which is called the Sensor type terminal with group number 1. The corresponding AP sets the access channel priority to "001" for this group of STAs. The same AP assigns another group number to the other 50 terminals. "000010", called the Sensor type terminal with group number 2, the corresponding AP sets the access network priority to "001" or "010" for the group of terminals, where the access channel priority indicated by "001" The priority of the access channel above or below the "010" is the same type of STA. The APs are assigned different group numbers for convenient management. These STAs access the network due to different group numbers. The priority may be the same or different, but the access network of the same type of STA in the same group number has the same priority.
在上述技术方案中, 所述分组信息标识位包括所述消息帧中增强型分 布信道接入参数集中的一个或多个位或所述消息帧中混合协调功能控制信 道接入参数集中的一个或多个位。 在该技术方案中, 取决于 AP 的不同, 可以利用 EDCA 参数集也可以利用 HCCA 参数集中的比特位, 来进行 STA的分组的设置, 或是在 EDCA参数集或 HCCA参数集中增加新的信 息元素来对 STA进行分组设置。  In the foregoing technical solution, the packet information identifier bit includes one or more bits in the enhanced distributed channel access parameter set in the message frame or one of a mixed coordination function control channel access parameter set in the message frame or Multiple bits. In this technical solution, depending on the AP, the EDCA parameter set or the bits in the HCCA parameter set can be utilized to set the STA group, or to add a new information element in the EDCA parameter set or the HCCA parameter set. To group the STAs.
在上述技术方案中, 所述消息帧为信标帧、 探测响应帧、 关联响应 帧、 开放系统认证响应帧或重关联响应帧。 在该技术方案中, AP 可以在 与 STA 交互的多种过程中, 将为其设置的优先级等信道接入参数, 通知 给 STA。  In the above technical solution, the message frame is a beacon frame, a probe response frame, an association response frame, an open system authentication response frame, or a reassociation response frame. In this technical solution, the AP may notify the STA of the channel access parameters such as the priority set by the AP in various processes of interacting with the STA.
图 2是根据本发明的一个实施例的数据通信方法的流程图。  2 is a flow chart of a data communication method in accordance with one embodiment of the present invention.
如图 2所示, 本发明还提供一种数据通信方法, 包括: 步骤 202 , 生 成消息帧, 所述消息帧中至少包含终端类型标识位和用户接入信道优先级 参数标识位, 所述终端类型标识位的值表示终端的类型, 所述用户接入信 道优先级参数标识位的值表示为所述终端设置的接入信道的优先级; 步骤 204 , 发送所述消息帧。 在该技术方案中, AP 在消息帧中设置了 STA 类 型以及按 STA类型设置的接入信道的优先级, 保证相应的 STA可以按照 为其设置好的优先级, 来有序地接入网络。  As shown in FIG. 2, the present invention further provides a data communication method, including: Step 202: Generate a message frame, where the message frame includes at least a terminal type identifier bit and a user access channel priority parameter identifier bit, where the terminal The value of the type identifier bit indicates the type of the terminal, and the value of the user access channel priority parameter identifier bit indicates the priority of the access channel set by the terminal. Step 204: Send the message frame. In this technical solution, the AP sets the STA type and the priority of the access channel set by the STA type in the message frame, so that the corresponding STA can access the network in an orderly manner according to the priority set for the AP.
在上述技术方案中, 所述终端类型标识位的值为第一值时表示所述终 端为传感器类型, 所述终端类型标识位的值为第二值时表示所述终端为卸 载类型, 所述终端类型标识位的值时为第三值表示所述终端为混合类型, 所述混合类型表示所述终端既可作为传感器类型也可作为卸载类型, 所述 第一值、 第二值、 第三值相互不同。 在该技术方案中, AP可以按 STA的 类型——区分为 sensor类型、 offloading 类型以及混合类型, 来针对性设 置每个 STA接入信道的优先级, 来控制不同 STA接入网络的顺序, 譬如 当终端类型标识位的值为 "00" 时表示为 Sensor 类型, 当终端类型标识 位的值为 " 01 " 时表示为 Offloading 类型, 当终端类型标识位的值为 " 10" 时表示为混合类型, 当然也可用其它比特位长度不一样的终端类型 标识位的值来表示终端的类型。 In the foregoing technical solution, when the value of the terminal type identifier bit is a first value, the terminal is a sensor type, and the value of the terminal type identifier bit is a second value, indicating that the terminal is unloaded. The first type, the first value, the third value indicates that the terminal is a hybrid type, and the hybrid type indicates that the terminal can be used as both a sensor type and an unloading type. The binary value and the third value are different from each other. In this technical solution, the AP can preferentially set the priority of each STA access channel according to the type of the STA, which is divided into a sensor type, an offloading type, and a hybrid type, to control the order in which different STAs access the network, for example, When the value of the terminal type flag is "00", it is expressed as the Sensor type. When the value of the terminal type flag is "01", it is expressed as Offloading type. When the value of the terminal type flag is "10", it is expressed as a mixed type. Of course, the value of the terminal type identifier bit having different bit lengths may also be used to indicate the type of the terminal.
在上述技术方案中, 所述终端类型标识位的值为所述第一值且所述用 户接入信道优先级参数标识位的值为第四值, 或所述终端类型标识位的值 为所述第二值且所述用户接入信道优先级参数标识位的值为第五值, 或所 述终端类型标识位的值为所述第三值且所述用户接入信道优先级参数标识 位的值为第六值, 其中, 所述第四值、 第五值、 第六值相互不同, 所述用 户接入信道优先级参数标识位的值为所述第四值表示所述终端的优先级最 高, 所述用户接入信道优先级参数标识位的值为所述第五值表示所述终端 的优先级最低。 在该技术方案中, 假设 STA 的终端类型标识位的值为 "00" , 为 Sensor类型, 那么相应的这种类型的 STA用户接入信道优先 级参数标识位的值为 "000" , 表示 STA为 sensor类型且具有两者中最高 的优先级, STA的终端类型标识位的值为 "01 " , 为 Offloading类型, 那 么相应的这种类型的用户接入信道优先级参数标识位的值为 "001 " , 表 示 STA 为 offloading类型且具有两者中最低的优先级。 混合类型的 STA 的类型以及接入信道的优先级的表示方式, 类似与 sensor 类型和 offloading类型的 STA, 即对于不同类型的 STA, 它们的接入信道的优先 级别是不一样的。  In the foregoing technical solution, the value of the terminal type identifier bit is the first value, and the value of the user access channel priority parameter identifier bit is a fourth value, or the value of the terminal type identifier bit is Determining a second value, and the value of the user access channel priority parameter identifier bit is a fifth value, or the value of the terminal type identifier bit is the third value, and the user access channel priority parameter identifier bit The value of the fourth value, the fifth value, and the sixth value are different from each other, and the value of the user access channel priority parameter identifier bit is the fourth value indicating the priority of the terminal. The highest level, the value of the user access channel priority parameter identifier bit is the fifth value indicating that the terminal has the lowest priority. In this technical solution, if the value of the STA type identifier bit of the STA is "00", which is a Sensor type, the value of the corresponding STA user access channel priority parameter identifier bit of this type is "000", indicating STA. The sensor type and the highest priority of the two, the value of the terminal type identifier of the STA is "01", which is the Offloading type, and the value of the corresponding user access channel priority parameter identifier bit of this type is " 001 " , indicating that the STA is of the offloading type and has the lowest priority of the two. The type of the STA of the hybrid type and the priority of the access channel are similar to those of the sensor type and the offloading type. That is, for different types of STAs, their access channels have different priority levels.
在上述技术方案中, 所述终端类型标识位和所述用户接入信道优先级 参数标识位均包括所述消息帧中增强型分布信道接入参数集中的一个或多 个位或所述消息帧中混合协调功能控制信道接入参数集中的一个或多个 位。 在该技术方案中, 取决于 AP的不同, 可以利用 EDCA参数集也可以 利用 HCCA参数集中的比特位, 来进行 STA接入信道的优先级的设置。 在上述技术方案中, 所述消息帧中还包含分组信息标识位, 所述分组 信息标识位的值表示为所述终端设置的类型组号。 在该技术方案中, 在接 入网络的 STA数量较多时, 可以将多个 STA 划分为不同的组, AP 可以 针对一整组的 STA进行统一管理, 譬如 AP 同时管理 100个 STA, 那么 可以将前 50 个 STA 分配在一个组里面, 给它们设置组号为 "0000001 " , 表示组号为第一组终端, 后 50 个 STA 分配在另外一个组 里面, 给它们设置组号为 "0000010" , 表示组号为第二组终端, 当然也 可以用其它比特位长度以及值来表示 STA的组号。 In the foregoing technical solution, the terminal type identifier bit and the user access channel priority parameter identifier bit both include one or more bits or the message frame in the enhanced distributed channel access parameter set in the message frame. The medium hybrid coordination function controls one or more bits of the channel access parameter set. In this technical solution, depending on the AP, the EDCA parameter set can also be utilized. The priority of the STA access channel is set using the bits in the HCCA parameter set. In the above technical solution, the message frame further includes a packet information identifier bit, and the value of the packet information identifier bit is represented by a type group number set by the terminal. In this technical solution, when the number of STAs accessing the network is large, multiple STAs can be divided into different groups, and the AP can be uniformly managed for an entire group of STAs. For example, if an AP manages 100 STAs at the same time, then The first 50 STAs are allocated in one group, and the group number is set to "0000001", indicating that the group number is the first group terminal, and the last 50 STAs are allocated in another group, and the group number is set to "0000010". Indicates that the group number is the second group of terminals. Of course, other bit lengths and values can also be used to indicate the group number of the STA.
在上述技术方案中, 所述终端类型标识位的值为所述第一值且所述分 组信息标识位的值为第七值且所述用户接入信道优先级参数标识位的值为 第八值, 或所述终端类型标识位的值为所述第二值且所述分组信息标识位 的值为第九值且所述用户接入信道优先级参数标识位的值为第十值, 或所 述终端类型标识位的值为所述第三值且所述分组信息标识位的值为第十一 值且所述用户接入信道优先级参数标识位的值为第十二值, 其中, 所述第 七值、 第九值、 第十一值相互不同, 所述第八值、 第十值、 第十二值相互 不同。 在该技术方案中, 艮设 STA 的终端类型标识位的值为 "00" 且分 组信息标识位的值为 "000001 " , 那么相应的这组类型 STA 的用户接入 信道优先级参数标识位的值为 "000" , 表示组号为 1 的 sensor 类型的 STA 具有最高的优先级接入信道, STA 的终端类型标识位的值为 "01 " 且分组信息标识位的值为 "000010" , 那么相应的这组类型 STA 的用户 接入信道优先级参数标识位的值为 "001 " , 表示组号为 2 的 Offloading 类型的 STA 具有最低的优先级接入信道, 即对于不同类型的 STA, 它们 不能分配在同一组里面。  In the foregoing technical solution, the value of the terminal type identifier bit is the first value, and the value of the packet information identifier bit is a seventh value, and the value of the user access channel priority parameter identifier bit is an eighth value. The value, or the value of the terminal type identifier bit is the second value, and the value of the packet information identifier bit is a ninth value and the value of the user access channel priority parameter identifier bit is a tenth value, or The value of the terminal type identifier bit is the third value, and the value of the packet information identifier bit is the eleventh value, and the value of the user access channel priority parameter identifier bit is the twelfth value, where The seventh value, the ninth value, and the eleventh value are different from each other, and the eighth value, the tenth value, and the twelfth value are different from each other. In this technical solution, if the value of the STA type identifier bit of the STA is "00" and the value of the packet information identifier bit is "000001", then the corresponding user access channel priority parameter identifier of the group type STA The value is "000", indicating that the STA of the sensor type with the group number of 1 has the highest priority access channel, the value of the terminal type identifier of the STA is "01" and the value of the packet information flag is "000010", then The value of the user access channel priority parameter identifier bit of the corresponding type of STA is "001", and the STA of the Offloading type with the group number 2 has the lowest priority access channel, that is, for different types of STAs, Cannot be assigned in the same group.
在上述技术方案中, 所述终端类型标识位的值为所述第一值、 第二值 或第三值时, 所述分组信息标识位的值为第七值且所述用户接入信道优先 级参数标识位的值为第十三值, 或所述分组信息标识位的值为第九值且所 述用户接入信道优先级参数标识位的值为第十四值, 或所述分组信息标识 位的值为第十一值且所述用户接入信道优先级参数标识位的值为第十五 值, 其中, 所述第七值、 第九值、 第十一值相互不同, 所述第十三值、 第 十四值、 第十五值相互相同或不同。 在该技术方案中, 譬如属于 Sensor 类型的 STA共有 100个, AP为了方便管理, 给前 50个 STA分配了一个 组号为 "000001 " , 称之为组号为 1的 Sensor类型终端, 相应的 AP给这 组 STA设置的接入信道优先级为 "001 " , 同样 AP给另外 50个终端分配 了另外一个组号 "000010" , 称之为组号为 2 的 Sensor类型终端, 相应 的 AP 为这组终端设置了接入网络优先级为 " 001 " 或 " 010 " , 其中 "001 " 表示的接入信道优先级高于或是低于 "010" 表示的接入信道的优 先级, 即同种类型的 STA , AP 为了方便管理, 给它们分配了不同的组 号, 由于组号的不同, 这些 STA接入网络的优先级可能一样, 也可能不 一样, 但是同一类型的 STA 处于同一组号中的接入网络的优先级是一样 的。 In the foregoing technical solution, when the value of the terminal type identifier bit is the first value, the second value, or the third value, the value of the packet information identifier bit is a seventh value, and the user access channel takes precedence. The value of the level parameter identifier bit is a thirteenth value, or the value of the packet information identifier bit is a ninth value and the value of the user access channel priority parameter identifier bit is a fourteenth value, or the group information The value of the identifier bit is the eleventh value and the value of the user access channel priority parameter identifier bit is fifteenth. a value, wherein the seventh value, the ninth value, and the eleventh value are different from each other, and the thirteenth value, the fourteenth value, and the fifteenth value are the same or different from each other. In this technical solution, for example, there are 100 STAs belonging to the Sensor type. For the convenience of management, the AP assigns a group number of "000001" to the first 50 STAs, which is called a Sensor type terminal with a group number of 1, correspondingly The priority of the access channel set by the AP to this group of STAs is "001". The same AP assigns another group number "000010" to the other 50 terminals, which is called the Sensor type terminal with group number 2. The corresponding AP is This group of terminals sets the access network priority to "001" or "010", where "001" indicates that the access channel priority is higher or lower than the priority of the access channel indicated by "010", that is, the same STAs and APs are assigned different group numbers for the convenience of management. Due to different group numbers, the priority of these STAs to access the network may be the same or different, but the same type of STAs are in the same group number. The priority of the access network in the same is the same.
在上述技术方案中, 所述分组信息标识位包括所述消息帧中增强型分 布信道接入参数集中的一个或多个位或所述消息帧中混合协调功能控制信 道接入参数集中的一个或多个位。 在该技术方案中, 取决于 AP 的不同, 可以利用 EDCA 参数集也可以利用 HCCA 参数集中的比特位, 来进行 STA的分组的设置, 或是在 EDCA参数集或 HCCA参数集中增加新的信 息元素来对 STA进行分组设置。  In the foregoing technical solution, the packet information identifier bit includes one or more bits in the enhanced distributed channel access parameter set in the message frame or one of a mixed coordination function control channel access parameter set in the message frame or Multiple bits. In this technical solution, depending on the AP, the EDCA parameter set or the bits in the HCCA parameter set can be utilized to set the STA group, or to add a new information element in the EDCA parameter set or the HCCA parameter set. To group the STAs.
在上述技术方案中, 所述消息帧为信标帧、 探测响应帧、 关联响应 帧、 开放系统认证响应帧或重关联响应帧。 在该技术方案中, AP 可以在 与 STA 交互的多种过程中, 将为其设置的优先级等信道接入参数, 通知 给 STA。  In the above technical solution, the message frame is a beacon frame, a probe response frame, an association response frame, an open system authentication response frame, or a reassociation response frame. In this technical solution, the AP may notify the STA of the channel access parameters such as the priority set by the AP in various processes of interacting with the STA.
图 3是根据本发明的一个实施例的数据通信装置的框图。  3 is a block diagram of a data communication device in accordance with one embodiment of the present invention.
如图 3 所示, 本发明还提供一种数据通信装置 300 , 包括: 数据交互 模块 302 , 接收消息帧, 所述消息帧中至少包含终端类型标识位和用户接 入信道优先级参数标识位; 数据处理模块 304 , 从所述消息帧中获取所述 终端类型标识位的值和所述用户接入信道优先级参数标识位的值, 所述终 端类型标识位的值表示终端的类型, 所述用户接入信道优先级参数标识位 的值表示接入点为所述终端设置的接入信道的优先级。 在该技术方案中, 数据通信装置 300 可以是 STA, 数据处理模块 304 可以是数据通信装置 300 中数据处理的芯片模块, 而数据交互模块 302则相当于信号收发装置 以及天线等, STA可以从消息帧中获取 AP按照其类型为其设置的接入信 道的优先级, 并可以按照 AP为其设置好的优先级, 来有序地接入网络。 As shown in FIG. 3, the present invention further provides a data communication apparatus 300, including: a data interaction module 302, which receives a message frame, where the message frame includes at least a terminal type identifier bit and a user access channel priority parameter identifier bit; The data processing module 304: the value of the terminal type identifier bit and the value of the user access channel priority parameter identifier bit are obtained from the message frame, where the value of the terminal type identifier bit indicates the type of the terminal, The value of the user access channel priority parameter identifier bit indicates the priority of the access channel set by the access point for the terminal. In this technical solution, The data communication device 300 may be a STA, the data processing module 304 may be a chip module for data processing in the data communication device 300, and the data interaction module 302 is equivalent to a signal transceiving device and an antenna, etc., and the STA may acquire an AP from the message frame according to the same. The type is the priority of the access channel set for it, and can be accessed in an orderly manner according to the priority set by the AP.
在上述技术方案中, 所述终端类型标识位的值为第一值时表示所述终 端为传感器类型, 所述终端类型标识位的值为第二值时表示所述终端为卸 载类型, 所述终端类型标识位的值时为第三值表示所述终端为混合类型, 所述混合类型表示所述终端既可作为传感器类型也可作为卸载类型, 所述 第一值、 第二值、 第三值相互不同。 在该技术方案中, STA的类型一一区 分为 sensor 类型、 offloading 类型以及混合类型, 对应于不同的接入信道 的优先级, STA可以从消息帧首先获取与自身相符的类型, 再获取为该类 型 STA 配置的优先级参数, 譬如当终端类型标识位的值为 "00" 时表示 为 Sensor 类型, 当终端类型标识位的值为 "01 " 时表示为 Offloading 类 型, 当终端类型标识位的值为 " 10" 时表示为混合类型, 当然也可用其它 比特位长度不一样的终端类型标识位的值来表示终端的类型。  In the foregoing technical solution, when the value of the terminal type identifier bit is a first value, the terminal is a sensor type, and the value of the terminal type identifier bit is a second value, indicating that the terminal is an unloading type, The value of the terminal type identifier bit is a third value indicating that the terminal is a hybrid type, and the hybrid type indicates that the terminal can be used as both a sensor type and an unloading type, and the first value, the second value, and the third The values are different from each other. In this technical solution, the type of the STA is divided into a sensor type, an offloading type, and a hybrid type, and corresponding to different access channel priorities, the STA may first obtain a type corresponding to itself from the message frame, and then obtain the type. The priority parameter configured by the type STA, for example, when the value of the terminal type identifier bit is "00", it is expressed as the Sensor type. When the value of the terminal type identifier bit is "01", it is expressed as the Offloading type. When the value of the terminal type identifier bit is set, When it is "10", it is expressed as a hybrid type. Of course, the value of the terminal type identifier bit having a different bit length may be used to indicate the type of the terminal.
在上述技术方案中, 所述终端类型标识位的值为所述第一值且所述用 户接入信道优先级参数标识位的值为第四值, 或所述终端类型标识位的值 为所述第二值且所述用户接入信道优先级参数标识位的值为第五值, 或所 述终端类型标识位的值为所述第三值且所述用户接入信道优先级参数标识 位的值为第六值, 其中, 所述第四值、 第五值、 第六值相互不同, 所述用 户接入信道优先级参数标识位的值为所述第四值表示所述终端的优先级最 高, 所述用户接入信道优先级参数标识位的值为所述第五值表示所述终端 的优先级最低。 在该技术方案中, 假设 STA 的终端类型标识位的值为 "00" , 为 Sensor类型, 那么相应的这种类型的 STA用户接入信道优先 级参数标识位的值为 "000" , 表示 STA为 sensor类型且具有两者中最高 的优先级, STA的终端类型标识位的值为 "01 " , 为 Offloading类型, 那 么相应的这种类型的用户接入信道优先级参数标识位的值为 "001 " , 表 示 STA 为 offloading类型且具有两者中最低的优先级。 混合类型的 STA 的类型以及接入信道的优先级的表示方式, 类似与 sensor 类型和 offloading类型的 STA, 即对于不同类型的 STA, 它们的接入信道的优先 级别是不一样的。 In the foregoing technical solution, the value of the terminal type identifier bit is the first value, and the value of the user access channel priority parameter identifier bit is a fourth value, or the value of the terminal type identifier bit is Determining a second value, and the value of the user access channel priority parameter identifier bit is a fifth value, or the value of the terminal type identifier bit is the third value, and the user access channel priority parameter identifier bit The value of the fourth value, the fifth value, and the sixth value are different from each other, and the value of the user access channel priority parameter identifier bit is the fourth value indicating the priority of the terminal. The highest level, the value of the user access channel priority parameter identifier bit is the fifth value indicating that the terminal has the lowest priority. In this technical solution, if the value of the STA type identifier bit of the STA is "00", which is a Sensor type, the value of the corresponding STA user access channel priority parameter identifier bit of this type is "000", indicating STA. The sensor type and the highest priority of the two, the value of the terminal type identifier of the STA is "01", which is the Offloading type, and the value of the corresponding user access channel priority parameter identifier bit of this type is " 001 " , indicating that the STA is of the offloading type and has the lowest priority of the two. The type of mixed-type STA and the priority of the access channel are expressed similarly to the sensor type and STAs of the offloading type, that is, for different types of STAs, their access channels have different priority levels.
在上述技术方案中, 所述终端类型标识位和所述用户接入信道优先级 参数标识位均包括所述消息帧中增强型分布信道接入参数集中的一个或多 个位或所述消息帧中混合协调功能控制信道接入参数集中的一个或多个 位。 在该技术方案中, 取决于 AP的不同, 可以利用 EDCA参数集也可以 利用 HCCA参数集中的比特位, 来进行 STA接入信道的优先级的设置, STA从消息帧中的相应位置进行读取即可。  In the foregoing technical solution, the terminal type identifier bit and the user access channel priority parameter identifier bit both include one or more bits or the message frame in the enhanced distributed channel access parameter set in the message frame. The medium hybrid coordination function controls one or more bits of the channel access parameter set. In this technical solution, depending on the AP, the EDCA parameter set or the bits in the HCCA parameter set may be utilized to set the priority of the STA access channel, and the STA reads from the corresponding position in the message frame. Just fine.
在上述技术方案中, 所述消息帧中还包含分组信息标识位, 所述数据 处理模块 304还从所述消息帧中获取所述分组信息标识位的值, 所述分组 信息标识位的值表示为所述终端设置的类型组号。 在该技术方案中, 在接 入网络的 STA数量较多时, 可以将多个 STA划分为不同的组, STA可以 结合自身的组号, 实现接入网络的操作, 譬如 AP同时管理 100个 STA, 那么可以将前 50 个 STA 分配在一个组里面, 给它们设置组号为 "0000001 " , 表示组号为第一组终端, 后 50 个 STA 分配在另外一个组 里面, 给它们设置组号为 "0000010" , 表示组号为第二组终端, 当然也 可以用其它比特位长度以及值来表示 STA的组号。  In the above technical solution, the message frame further includes a packet information identifier bit, and the data processing module 304 further obtains a value of the packet information identifier bit from the message frame, where the value of the packet information identifier bit indicates The type group number set for the terminal. In this technical solution, when the number of STAs accessing the network is large, multiple STAs may be divided into different groups, and the STA may perform operations of accessing the network by combining its own group number, for example, the AP manages 100 STAs at the same time. Then the first 50 STAs can be assigned to a group, and the group number is set to "0000001", indicating that the group number is the first group terminal, and the last 50 STAs are allocated in another group, and the group number is set to " 0000010" , indicating that the group number is the second group of terminals, of course, other bit lengths and values can also be used to indicate the group number of the STA.
在上述技术方案中, 所述终端类型标识位的值为所述第一值且所述分 组信息标识位的值为第七值且所述用户接入信道优先级参数标识位的值为 第八值, 或所述终端类型标识位的值为所述第二值且所述分组信息标识位 的值为第九值且所述用户接入信道优先级参数标识位的值为第十值, 或所 述终端类型标识位的值为所述第三值且所述分组信息标识位的值为第十一 值且所述用户接入信道优先级参数标识位的值为第十二值, 其中, 所述第 七值、 第九值、 第十一值相互不同, 所述第八值、 第十值、 第十二值相互 不同。 在该技术方案中, 艮设 STA 的终端类型标识位的值为 "00" 且分 组信息标识位的值为 "000001 " , 那么相应的这组类型 STA 的用户接入 信道优先级参数标识位的值为 "000" , 表示组号为 1 的 sensor 类型的 STA 具有最高的优先级接入信道, STA 的终端类型标识位的值为 "01 " 且分组信息标识位的值为 "000010" , 那么相应的这组类型 STA 的用户 接入信道优先级参数标识位的值为 "001 " , 表示组号为 2 的 Offloading 类型的 STA 具有最低的优先级接入信道, 即对于不同类型的 STA, 它们 不能分配在同一组里面。 In the foregoing technical solution, the value of the terminal type identifier bit is the first value, and the value of the packet information identifier bit is a seventh value, and the value of the user access channel priority parameter identifier bit is an eighth value. The value, or the value of the terminal type identifier bit is the second value, and the value of the packet information identifier bit is a ninth value and the value of the user access channel priority parameter identifier bit is a tenth value, or The value of the terminal type identifier bit is the third value, and the value of the packet information identifier bit is the eleventh value, and the value of the user access channel priority parameter identifier bit is the twelfth value, where The seventh value, the ninth value, and the eleventh value are different from each other, and the eighth value, the tenth value, and the twelfth value are different from each other. In this technical solution, if the value of the STA type identifier bit of the STA is "00" and the value of the packet information identifier bit is "000001", then the corresponding user access channel priority parameter identifier of the group type STA The value is "000", indicating that the STA of the sensor type with the group number of 1 has the highest priority access channel, the value of the terminal type identifier of the STA is "01" and the value of the packet information flag is "000010", then The corresponding user of this type of STA The value of the access channel priority parameter identifier bit is "001", and the STA of the Offloading type with group number 2 has the lowest priority access channel, that is, for different types of STAs, they cannot be allocated in the same group.
在上述技术方案中, 所述终端类型标识位的值为所述第一值、 第二值 或第三值时, 所述分组信息标识位的值为第七值且所述用户接入信道优先 级参数标识位的值为第十三值, 或所述分组信息标识位的值为第九值且所 述用户接入信道优先级参数标识位的值为第十四值, 或所述分组信息标识 位的值为第十一值且所述用户接入信道优先级参数标识位的值为第十五 值, 其中, 所述第七值、 第九值、 第十一值相互不同, 所述第十三值、 第 十四值、 第十五值相互相同或不同。 在该技术方案中, 譬如属于 Sensor 类型的 STA共有 100个, AP为了方便管理, 给前 50个 STA分配了一个 组号为 "000001" , 称之为组号为 1的 Sensor类型终端, 相应的 AP给这 组 STA设置的接入信道优先级为 "001" , 同样 AP给另外 50个终端分配 了另外一个组号 "000010" , 称之为组号为 2 的 Sensor 类型终端, 相应 的 AP 为这组终端设置了接入网络优先级为 " 001 " 或 " 010" , 其中 "001 " 表示的接入信道优先级高于或是低于 "010" 表示的接入信道的优 先级, 即同种类型的 STA , AP 为了方便管理, 给它们分配了不同的组 号, 由于组号的不同, 这些 STA接入网络的优先级可能一样, 也可能不 一样, 但是同一类型的 STA 处于同一组号中的接入网络的优先级是一样 的。  In the foregoing technical solution, when the value of the terminal type identifier bit is the first value, the second value, or the third value, the value of the packet information identifier bit is a seventh value, and the user access channel takes precedence. The value of the level parameter identifier bit is a thirteenth value, or the value of the packet information identifier bit is a ninth value and the value of the user access channel priority parameter identifier bit is a fourteenth value, or the group information The value of the identifier bit is the eleventh value, and the value of the user access channel priority parameter identifier bit is a fifteenth value, wherein the seventh value, the ninth value, and the eleventh value are different from each other, The thirteenth value, the fourteenth value, and the fifteenth value are the same or different from each other. In this technical solution, for example, there are 100 STAs belonging to the Sensor type. For the convenience of management, the AP assigns a group number of "000001" to the first 50 STAs, which is called a Sensor type terminal with a group number of 1, corresponding to The priority of the access channel set by the AP to this group of STAs is "001". The same AP assigns another group number "000010" to the other 50 terminals, which is called the Sensor type terminal with group number 2. The corresponding AP is This group of terminals sets the priority of the access network to "001" or "010", where the priority of the access channel indicated by "001" is higher or lower than the priority of the access channel indicated by "010", that is, the same STAs and APs are assigned different group numbers for the convenience of management. Due to different group numbers, the priority of these STAs to access the network may be the same or different, but the same type of STAs are in the same group number. The priority of the access network in the same is the same.
在上述技术方案中, 所述分组信息标识位包括所述消息帧中增强型分 布信道接入参数集中的一个或多个位或所述消息帧中混合协调功能控制信 道接入参数集中的一个或多个位。 在该技术方案中, 取决于 AP 的不同, 可以利用 EDCA 参数集也可以利用 HCCA 参数集中的比特位, 来进行 STA的分组的设置, 或是在 EDCA参数集或 HCCA参数集中增加新的信 息元素来对 STA进行分组设置。  In the foregoing technical solution, the packet information identifier bit includes one or more bits in the enhanced distributed channel access parameter set in the message frame or one of a mixed coordination function control channel access parameter set in the message frame or Multiple bits. In this technical solution, depending on the AP, the EDCA parameter set or the bits in the HCCA parameter set can be utilized to set the STA group, or to add a new information element in the EDCA parameter set or the HCCA parameter set. To group the STAs.
在上述技术方案中, 所述消息帧为信标帧、 探测响应帧、 关联响应 帧、 开放系统认证响应帧或重关联响应帧。 在该技术方案中, AP 可以在 与 STA 交互的多种过程中, 将为其设置的优先级等信道接入参数, 通知 给 STA。 In the above technical solution, the message frame is a beacon frame, a probe response frame, an association response frame, an open system authentication response frame, or a reassociation response frame. In this technical solution, the AP may notify the channel access parameters such as the priority set in the multiple processes interacting with the STA, To the STA.
图 4是根据本发明的一个实施例的数据通信方法的流程图。  4 is a flow chart of a data communication method in accordance with one embodiment of the present invention.
如图 4所示, 本发明还提供一种数据通信方法, 包括: 步骤 402 , 接 收消息帧, 所述消息帧中至少包含终端类型标识位和用户接入信道优先级 参数标识位; 步骤 404, 从所述消息帧中获取所述终端类型标识位的值和 所述用户接入信道优先级参数标识位的值, 所述终端类型标识位的值表示 终端的类型, 所述用户接入信道优先级参数标识位的值表示接入点为所述 终端设置的接入信道的优先级。 在该技术方案中, STA可以从消息帧中获 取 AP按照其类型为其设置的接入信道的优先级, 并可以按照 AP 为其设 置好的优先级, 来有序地接入网络。  As shown in FIG. 4, the present invention further provides a data communication method, including: Step 402: Receive a message frame, where the message frame includes at least a terminal type identifier bit and a user access channel priority parameter identifier bit; Step 404, Obtaining, by the message frame, a value of the terminal type identifier bit and a value of the user access channel priority parameter identifier bit, where the value of the terminal type identifier bit indicates a type of the terminal, and the user access channel takes precedence The value of the level parameter identification bit indicates the priority of the access channel set by the access point for the terminal. In this technical solution, the STA can obtain the priority of the access channel set by the AP according to its type from the message frame, and can access the network in an orderly manner according to the priority set by the AP.
在上述技术方案中, 所述终端类型标识位的值为第一值时表示所述终 端为传感器类型, 所述终端类型标识位的值为第二值时表示所述终端为卸 载类型, 所述终端类型标识位的值时为第三值表示所述终端为混合类型, 所述混合类型表示所述终端既可作为传感器类型也可作为卸载类型, 所述 第一值、 第二值、 第三值相互不同。 在该技术方案中, STA的类型一一区 分为 sensor 类型、 offloading 类型以及混合类型, 对应于不同的接入信道 的优先级, STA可以从消息帧首先获取与自身相符的类型, 再获取为该类 型 STA 配置的优先级参数, 譬如当终端类型标识位的值为 "00" 时表示 为 Sensor 类型, 当终端类型标识位的值为 "01" 时表示为 Offloading 类 型, 当终端类型标识位的值为 " 10" 时表示为混合类型, 当然也可用其它 比特位长度不一样的终端类型标识位的值来表示终端的类型。  In the foregoing technical solution, when the value of the terminal type identifier bit is a first value, the terminal is a sensor type, and the value of the terminal type identifier bit is a second value, indicating that the terminal is an unloading type, The value of the terminal type identifier bit is a third value indicating that the terminal is a hybrid type, and the hybrid type indicates that the terminal can be used as both a sensor type and an unloading type, and the first value, the second value, and the third The values are different from each other. In this technical solution, the type of the STA is divided into a sensor type, an offloading type, and a hybrid type, and corresponding to different access channel priorities, the STA may first obtain a type corresponding to itself from the message frame, and then obtain the type. The priority parameter configured by the STA type, for example, when the value of the terminal type identifier bit is "00", it is expressed as the Sensor type. When the value of the terminal type identifier bit is "01", it is expressed as the Offloading type. When the value of the terminal type identifier bit is set, When it is "10", it is expressed as a hybrid type. Of course, the value of the terminal type identifier bit having a different bit length may be used to indicate the type of the terminal.
在上述技术方案中, 所述终端类型标识位的值为所述第一值且所述用 户接入信道优先级参数标识位的值为第四值, 或所述终端类型标识位的值 为所述第二值且所述用户接入信道优先级参数标识位的值为第五值, 或所 述终端类型标识位的值为所述第三值且所述用户接入信道优先级参数标识 位的值为第六值, 其中, 所述第四值、 第五值、 第六值相互不同, 所述用 户接入信道优先级参数标识位的值为所述第四值表示所述终端的优先级最 高, 所述用户接入信道优先级参数标识位的值为所述第五值表示所述终端 的优先级最低。 在该技术方案中, 假设 STA 的终端类型标识位的值为 "00" , 为 Sensor类型, 那么相应的这种类型的 STA用户接入信道优先 级参数标识位的值为 "000" , 表示 STA为 sensor类型且具有两者中最高 的优先级, STA的终端类型标识位的值为 "01" , 为 Offloading类型, 那 么相应的这种类型的用户接入信道优先级参数标识位的值为 "001 " , 表 示 STA 为 offloading类型且具有两者中最低的优先级。 混合类型的 STA 的类型以及接入信道的优先级的表示方式, 类似与 sensor 类型和 offloading类型的 STA, 即对于不同类型的 STA, 它们的接入信道的优先 级别是不一样的。 In the foregoing technical solution, the value of the terminal type identifier bit is the first value, and the value of the user access channel priority parameter identifier bit is a fourth value, or the value of the terminal type identifier bit is Determining a second value, and the value of the user access channel priority parameter identifier bit is a fifth value, or the value of the terminal type identifier bit is the third value, and the user access channel priority parameter identifier bit The value of the fourth value, the fifth value, and the sixth value are different from each other, and the value of the user access channel priority parameter identifier bit is the fourth value indicating the priority of the terminal. The highest level, the value of the user access channel priority parameter identifier bit is the fifth value indicating that the terminal has the lowest priority. In this technical solution, it is assumed that the value of the terminal type identifier bit of the STA is "00" is the Sensor type, then the value of the corresponding STA user access channel priority parameter identifier bit of this type is "000", indicating that the STA is the sensor type and has the highest priority among the two, the terminal of the STA The value of the type identifier bit is "01", which is of the Offloading type. The value of the corresponding user access channel priority parameter identifier bit of this type is "001", indicating that the STA is of the offloading type and has the lowest priority of the two. level. The type of the STA of the hybrid type and the priority of the access channel are similar to those of the sensor type and the offloading type. That is, for different types of STAs, the priority of their access channels is different.
在上述技术方案中, 所述终端类型标识位和所述用户接入信道优先级 参数标识位均包括所述消息帧中增强型分布信道接入参数集中的一个或多 个位或所述消息帧中混合协调功能控制信道接入参数集中的一个或多个 位。 在该技术方案中, 取决于 AP的不同, 可以利用 EDCA参数集也可以 利用 HCCA参数集中的比特位, 来进行 STA接入信道的优先级的设置, STA从消息帧中的相应位置进行读取即可。  In the foregoing technical solution, the terminal type identifier bit and the user access channel priority parameter identifier bit both include one or more bits or the message frame in the enhanced distributed channel access parameter set in the message frame. The medium hybrid coordination function controls one or more bits of the channel access parameter set. In this technical solution, depending on the AP, the EDCA parameter set or the bits in the HCCA parameter set may be utilized to set the priority of the STA access channel, and the STA reads from the corresponding position in the message frame. Just fine.
在上述技术方案中, 所述消息帧中还包含分组信息标识位, 所述数据 通信方法还包括: 从所述消息帧中获取所述分组信息标识位的值, 所述分 组信息标识位的值表示为所述终端设置的类型组号。 在该技术方案中, 在 接入网络的 STA数量较多时, 可以将多个 STA划分为不同的组, STA可 以结合自身的组号, 实现接入网络的操作, 譬如 AP 同时管理 100 个 STA, 那么可以将前 50 个 STA 分配在一个组里面, 给它们设置组号为 "0000001 " , 表示组号为第一组终端, 后 50 个 STA 分配在另外一个组 里面, 给它们设置组号为 "0000010" , 表示组号为第二组终端, 当然也 可以用其它比特位长度以及值来表示 STA的组号。  In the above technical solution, the message frame further includes a packet information identifier bit, and the data communication method further includes: acquiring, from the message frame, a value of the packet information identifier bit, and the value of the packet information identifier bit Indicates the type group number set for the terminal. In this technical solution, when the number of STAs accessing the network is large, multiple STAs may be divided into different groups, and the STA may perform operations for accessing the network by combining its own group number, for example, the AP manages 100 STAs at the same time. Then the first 50 STAs can be assigned to a group, and the group number is set to "0000001", indicating that the group number is the first group terminal, and the last 50 STAs are allocated in another group, and the group number is set to " 0000010" , indicating that the group number is the second group of terminals, of course, other bit lengths and values can also be used to indicate the group number of the STA.
在上述技术方案中, 所述终端类型标识位的值为所述第一值且所述分 组信息标识位的值为第七值且所述用户接入信道优先级参数标识位的值为 第八值, 或所述终端类型标识位的值为所述第二值且所述分组信息标识位 的值为第九值且所述用户接入信道优先级参数标识位的值为第十值, 或所 述终端类型标识位的值为所述第三值且所述分组信息标识位的值为第十一 值且所述用户接入信道优先级参数标识位的值为第十二值, 其中, 所述第 七值、 第九值、 第十一值相互不同, 所述第八值、 第十值、 第十二值相互 不同。 在该技术方案中, 艮设 STA 的终端类型标识位的值为 "00" 且分 组信息标识位的值为 "000001 " , 那么相应的这组类型 STA 的用户接入 信道优先级参数标识位的值为 "000" , 表示组号为 1 的 sensor 类型的 STA 具有最高的优先级接入信道, STA 的终端类型标识位的值为 "01 " 且分组信息标识位的值为 "000010" , 那么相应的这组类型 STA 的用户 接入信道优先级参数标识位的值为 "001 " , 表示组号为 2 的 Offloading 类型的 STA 具有最低的优先级接入信道, 即对于不同类型的 STA, 它们 不能分配在同一组里面。 In the foregoing technical solution, the value of the terminal type identifier bit is the first value, and the value of the packet information identifier bit is a seventh value, and the value of the user access channel priority parameter identifier bit is an eighth value. The value, or the value of the terminal type identifier bit is the second value, and the value of the packet information identifier bit is a ninth value and the value of the user access channel priority parameter identifier bit is a tenth value, or The value of the terminal type identifier bit is the third value, and the value of the packet information identifier bit is the eleventh value, and the value of the user access channel priority parameter identifier bit is the twelfth value, where The first The seven values, the ninth value, and the eleventh value are different from each other, and the eighth value, the tenth value, and the twelfth value are different from each other. In this technical solution, if the value of the STA type identifier bit of the STA is "00" and the value of the packet information identifier bit is "000001", then the corresponding user access channel priority parameter identifier of the group type STA The value is "000", indicating that the STA of the sensor type with the group number of 1 has the highest priority access channel, the value of the terminal type identifier of the STA is "01" and the value of the packet information flag is "000010", then The value of the user access channel priority parameter identifier bit of the corresponding type of STA is "001", and the STA of the Offloading type with the group number 2 has the lowest priority access channel, that is, for different types of STAs, Cannot be assigned in the same group.
在上述技术方案中, 所述终端类型标识位的值为所述第一值、 第二值 或第三值时, 所述分组信息标识位的值为第七值且所述用户接入信道优先 级参数标识位的值为第十三值, 或所述分组信息标识位的值为第九值且所 述用户接入信道优先级参数标识位的值为第十四值, 或所述分组信息标识 位的值为第十一值且所述用户接入信道优先级参数标识位的值为第十五 值, 其中, 所述第七值、 第九值、 第十一值相互不同, 所述第十三值、 第 十四值、 第十五值相互相同或不同。 在该技术方案中, 譬如属于 Sensor 类型的 STA共有 100个, AP为了方便管理, 给前 50个 STA分配了一个 组号为 "000001 " , 称之为组号为 1的 Sensor类型终端, 相应的 AP给这 组 STA设置的接入信道优先级为 "001 " , 同样 AP给另外 50个终端分配 了另外一个组号 "000010" , 称之为组号为 2 的 Sensor 类型终端, 相应 的 AP 为这组终端设置了接入网络优先级为 " 001 " 或 " 010 " , 其中 "001 " 表示的接入信道优先级高于或是低于 "010" 表示的接入信道的优 先级, 即同种类型的 STA , AP 为了方便管理, 给它们分配了不同的组 号, 由于组号的不同, 这些 STA接入网络的优先级可能一样, 也可能不 一样, 但是同一类型的 STA 处于同一组号中的接入网络的优先级是一样 的。  In the foregoing technical solution, when the value of the terminal type identifier bit is the first value, the second value, or the third value, the value of the packet information identifier bit is a seventh value, and the user access channel takes precedence. The value of the level parameter identifier bit is a thirteenth value, or the value of the packet information identifier bit is a ninth value and the value of the user access channel priority parameter identifier bit is a fourteenth value, or the group information The value of the identifier bit is the eleventh value, and the value of the user access channel priority parameter identifier bit is a fifteenth value, wherein the seventh value, the ninth value, and the eleventh value are different from each other, The thirteenth value, the fourteenth value, and the fifteenth value are the same or different from each other. In this technical solution, for example, there are 100 STAs belonging to the Sensor type. For the convenience of management, the AP assigns a group number of "000001" to the first 50 STAs, which is called a Sensor type terminal with a group number of 1, correspondingly The priority of the access channel set by the AP to this group of STAs is "001". The same AP assigns another group number "000010" to the other 50 terminals, which is called the Sensor type terminal with group number 2. The corresponding AP is This group of terminals sets the access network priority to "001" or "010", where "001" indicates that the access channel priority is higher or lower than the priority of the access channel indicated by "010", that is, the same STAs and APs are assigned different group numbers for the convenience of management. Due to different group numbers, the priority of these STAs to access the network may be the same or different, but the same type of STAs are in the same group number. The priority of the access network in the same is the same.
在上述技术方案中, 所述分组信息标识位包括所述消息帧中增强型分 布信道接入参数集中的一个或多个位或所述消息帧中混合协调功能控制信 道接入参数集中的一个或多个位。 在该技术方案中, 取决于 AP 的不同, 可以利用 EDCA 参数集也可以利用 HCCA 参数集中的比特位, 来进行 STA的分组的设置, 或是在 EDCA参数集或 HCCA参数集中增加新的信 息元素来对 STA进行分组设置。 In the foregoing technical solution, the packet information identifier bit includes one or more bits in the enhanced distributed channel access parameter set in the message frame or one of a mixed coordination function control channel access parameter set in the message frame or Multiple bits. In this technical solution, depending on the AP, The EDCA parameter set can also be used to set the STA group by using the bits in the HCCA parameter set, or to add a new information element in the EDCA parameter set or the HCCA parameter set to group the STAs.
在上述技术方案中, 所述消息帧为信标帧、 探测响应帧、 关联响应 帧、 开放系统认证响应帧或重关联响应帧。 在该技术方案中, AP 可以在 与 STA 交互的多种过程中, 将为其设置的优先级等信道接入参数, 通知 给 STA。  In the above technical solution, the message frame is a beacon frame, a probe response frame, an association response frame, an open system authentication response frame, or a reassociation response frame. In this technical solution, the AP may notify the STA of the channel access parameters such as the priority set by the AP in various processes of interacting with the STA.
以下以 EDCA参数集 (本发明也适用于 HCCA等其他参数集) 的设 计为例, 详细说明本发明的技术方案。  Hereinafter, the technical solution of the present invention will be described in detail by taking the design of the EDCA parameter set (the present invention is also applicable to other parameter sets such as HCCA) as an example.
1、 解决 EDCA参数集以怎样的信令方式发送出来。  1. Solve the signaling method of the EDCA parameter set.
在现有标准中, 对 EDCA格式的设计如图 5 所示, 采用了 IE (指示 元素) 的形式, 为了保证不对现有标准做较大的改动, 在本实施例的技术 方案中, 还是采用 EDCA参数集以 IE的形式封装。  In the existing standard, the design of the EDCA format is as shown in FIG. 5, and the IE (indicator element) is adopted. In order to ensure that no major changes are made to the existing standard, in the technical solution of the embodiment, the method is adopted. The EDCA parameter set is encapsulated in the form of IE.
在图 5 中, 假设消息帧中有一个 8 比特位的保留 (reserved )位, 在 本发明的一个实施例中, 采用这 8 个比特位来设置 STA 的类型和接入信 道的优先级, 具体如图 6所示。  In FIG. 5, it is assumed that there is an 8-bit reserved bit in the message frame. In one embodiment of the present invention, the 8 bits are used to set the STA type and the access channel priority. As shown in Figure 6.
在图 6 中, 在保留位中, 用 8个比特位中的高两位来表示 STA的类 型, 低六位来表示 STA接入信道的优先级, 示例如下表。  In Fig. 6, in the reserved bits, the upper two bits of the eight bits are used to indicate the type of the STA, and the lower six bits are used to indicate the priority of the STA access channel, as exemplified in the following table.
Figure imgf000029_0001
Figure imgf000029_0001
Β5Β4Β3Β2ΒιΒο Description (描述) Β5Β 4 Β3Β 2 ΒιΒο Description (Description)
000000 Priority 1 (优先级 1 )  000000 Priority 1 (priority 1)
000001 Priority2 (优先级 2 ) 在 AP发出的消息帧 1 中, B7B6的值为 "00" 且 BsB BgBsBiB。的值 为 "000000" , 则表示 STA 的类型为 sensor类型, 且其接入信道的优先 级为优先级 1 , 在 AP 发出的消息帧 2 中, B7B6 的值为 " 01 " 且 BsB BgBsBiB。的值为 "00000 , 则表示 STA 的类型为 "offloading" 类 型, 且其接入信道的优先级为优先级 2 , 其中, 优先级 1高于优先级 2。 000001 Priority2 (priority 2) In message frame 1 sent by the AP, the value of B 7 B 6 is "00" and BsB BgBsBiB. The value of "000000" indicates that the type of the STA is sensor type, and the priority of the access channel is priority 1. In the message frame 2 sent by the AP, the value of B 7 B 6 is "01" and BsB. BgBsBiB. The value of "00000" indicates that the type of the STA is "offloading", and the priority of the access channel is priority 2, where priority 1 is higher than priority 2.
STA接收到消息帧后, 可以解析消息帧来获取接入信道的优先级。 从 以上设计可见, sensor类型的 STA接入信道的优先级要高于 offloading类 型的 STA 接入信道的优先级的, 通过本实施例的技术方案, 可以有序地 控制不同类型的 STA有序地接入网络。  After receiving the message frame, the STA can parse the message frame to obtain the priority of the access channel. It can be seen from the above that the priority of the STA access channel of the sensor type is higher than the priority of the STA access channel of the offloading type. The technical solution of the embodiment can control the order of different types of STAs in an orderly manner. Access to the network.
在本发明的另一个实施例中, 采用这 8 个比特位来设置 STA 的类 型、 分组和接入信道的优先级, 具体如图 7所示。  In another embodiment of the present invention, the eight bits are used to set the priority of the STA type, packet, and access channel, as shown in Figure 7.
在图 7 中, 在保留位中, 用 8 个比特位中的 B7B6来表示 STA 的类 型, B5B4表示 STA的分组, BgBsBiB。来表示 STA接入信道的优先级, 示 例如下表。 In Fig. 7, in the reserved bits, B 7 B 6 out of 8 bits is used to indicate the type of STA, and B 5 B 4 is a grouping of STAs, BgBsBiB. To indicate the priority of the STA access channel, an example is shown in the following table.
B7B6 Description (描述) B 7 B 6 Description (Description)
00 Sensor (传感器)  00 Sensor (sensor)
01 Offloading (卸载)  01 Offloading (Uninstall)
10 Reserved (保留)  10 Reserved (reserved)
11 Reserved (保留)  11 Reserved (reserved)
B5B4 Description (描述) B5B4 Description (Description)
00 Group 1 (组 1 )  00 Group 1 (Group 1)
01 Group2 (组 2 )  01 Group2 (Group 2)
10 Reserved (保留)  10 Reserved (reserved)
11 Reserved (保留) B3B2B1B0 Description (描述) 11 Reserved (reserved) B3B2B1B0 Description (Description)
0000 Priority 1 (优先级 1 )  0000 Priority 1 (priority 1)
0001 Priority2 (优先级 2 )  0001 Priority2 (Priority 2)
本实施例中引入了分组的概念, 是为了在接入网络的 STA 的数量过 多时, 便于以分组为单位对同时对多个 STA进行控制和管理。 The concept of grouping is introduced in this embodiment, so that when the number of STAs accessing the network is too large, it is convenient to control and manage multiple STAs simultaneously in units of packets.
在 AP发出的消息帧 3 中, B7B6的值为 "00" 且 B5B4的值为 "00" 且 BgBsBiBo的值为 "0000" , 则表示 STA的类型为 sensor类型, 其分组 为组 1 , 且其接入信道的优先级为优先级 1 , 在 AP发出的消息帧 4 中, B7B6的值为 "00" 且 B5B4的值为 "01 " 且 BgBsBiB。的值为 "0001 " , 则 表示 STA的类型同样为 sensor类型, 且分组为组 2, 且其接入信道的优先 级为优先级 2 , 其中, 优先级还与分组相关, 而不同分组对应的优先级可 能相同也可能不同, 所以优先级 1与优先级 2可能相同也可能不同。 In message frame 3 sent by the AP, the value of B 7 B 6 is "00" and the value of B 5 B 4 is "00" and the value of BgBsBiBo is "0000", indicating that the type of STA is sensor type, and its grouping For group 1, and the priority of its access channel is priority 1, in message frame 4 sent by the AP, the value of B 7 B 6 is "00" and the value of B 5 B 4 is "01" and BgBsBiB. The value of "0001" indicates that the type of the STA is also the sensor type, and is grouped into group 2, and the priority of the access channel is priority 2, wherein the priority is also related to the packet, and the different packets correspond to The priorities may be the same or different, so priority 1 and priority 2 may be the same or different.
在 AP发出的消息帧 5 中, B7B6的值为 "00" 且 B5B4的值为 "00" 且 BgBsBiBo的值为 "0000" , 则表示 STA的类型为 sensor类型, 其分组 为组 1 , 且其接入信道的优先级为优先级 1 , 在 AP发出的消息帧 6 中, B7B6的值为 "01" 且 B5B4的值为 "01 " 且 BgBsBiB。的值为 "0001 " , 则 表示 STA的类型为 offloading类型, 且分组为组 2, 且其接入信道的优先 级为优先级 2, 其中, 优先级同时与 STA的类型和分组相关, 在不同类型 的 STA的优先级是一定不同的前提下, 优先级 1高于优先级 2。 In message frame 5 sent by the AP, the value of B 7 B 6 is "00" and the value of B 5 B 4 is "00" and the value of BgBsBiBo is "0000", indicating that the type of STA is sensor type, and its grouping For group 1, and the priority of its access channel is priority 1, in message frame 6 sent by the AP, the value of B 7 B 6 is "01" and the value of B 5 B 4 is "01" and BgBsBiB. If the value is "0001", the type of the STA is offloading, and the group is group 2, and the priority of the access channel is priority 2. The priority is related to the type and group of the STA. The priority of the type STA is different, and the priority 1 is higher than the priority 2.
从以上设计可见, 对于不同分组下的 STA 来说, STA 的类型和分组 决定了其优先级的高低, 即便是多个 STA 的类型相同, 也可能由于所在 分组不同而决定了多个 STA接入信道的优先级不同, 而在多个 STA不同 时, 其不可能处于同一分组, 此时类型和分组共同决定了多个 STA 接入 信道的优先级一定不同。 通过本实施例的技术方案, 可以有序地控制不同 类型、 不同分组下的 STA有序地接入网络。  It can be seen from the above design that for STAs in different groups, the type and grouping of STAs determine the priority of the STAs. Even if the types of multiple STAs are the same, multiple STAs may be determined due to different packets. The priorities of the channels are different. When multiple STAs are different, they cannot be in the same group. In this case, the type and the packet jointly determine that the priority of multiple STA access channels must be different. Through the technical solution of the embodiment, the STAs of different types and different groups can be controlled to access the network in an orderly manner.
需要注意的是, 以上实施例中虽然对保留位的八个比特位的作用进行 具体划分, 但本领域技术人员应当理解, 上述对保留位的划分仅为示例作 用, 其还可以根据实际需要进行不同方式的划分。 It should be noted that, in the above embodiment, although the role of the eight bits of the reserved bits is specifically divided, those skilled in the art should understand that the above-mentioned division of the reserved bits is only an example. It can also be divided into different ways according to actual needs.
2、 解决 EDCA参数集设定的条件。  2. Solve the conditions set by the EDCA parameter set.
a、 对本发明实施例中提供的新的载有 EDCA 参数集的消息帧, 同样 基于图 5的机构设置了信息元素标识, 可以采用 Element ID (元素 ID ) 中 的保留位来标识, 具体下表所示:
Figure imgf000032_0001
a. The message frame carrying the EDCA parameter set provided in the embodiment of the present invention is also set with the information element identifier based on the mechanism of FIG. 5, and may be identified by a reserved bit in the Element ID (specificity ID). Shown as follows:
Figure imgf000032_0001
如上表, 在 STA 发现接收到的消息帧中, Element ID 的值为 222 时, 可以确定该消息帧中载有接入信道的优先级 (以及分组组号) 等 EDCA参数, 可进一步对消息帧进行解析, 并按解析出来的 EDCA参数接 入网络。  In the above table, when the STA finds that the received message frame has a value of 222, the EDCA parameter such as the priority (and group group number) of the access channel in the message frame can be determined, and the message frame can be further Analyze and access the network according to the parsed EDCA parameters.
通过以上技术方案, 完善了 802. l lah项目组中提出的 "在标准中应该 定义多种 EDCA参数集" 的概念, 有利于像传感器 (通常是电池供电, 且 更换电池周期比较长) 在接入网络时有高的优先级, 利于设备省电, 对于 利用 Wi-Fi网络做 Offloading的这类设备(通常为手机, 可经常充电) , 具有较低的优先级接入网络, 这样保证了当大量的终端同时要接入网络 时, 应该按照优先级别顺序接入网络, 有利于整体设备的省电 (如果没有 优先级别, 大量的设备都进行网络接入, 产生沖突的可能性大大高于按优 先级顺序接入网络的产生沖突的可能性) , 并提高了整体的接入网络效 率。 同时提出了分组的概念, 有利于 AP 对大量的终端进行分组并按分组 进行管理, 减少了 AP 发出的消息数量, 提高了管理效率, 节省了电量消 耗, 同时也能够基于分组来控制不同终端接入网络的优先级。  Through the above technical solutions, the concept of "multiple EDCA parameter sets should be defined in the standard" proposed in the 802. l lah project group is perfected, which is beneficial to sensors like sensors (usually battery-powered and with long battery replacement). It has a high priority when entering the network, which is conducive to power saving of the device. For such devices that use Off-loading for Wi-Fi networks (usually mobile phones, which can be charged frequently), it has a lower priority access network, which ensures that when When a large number of terminals need to access the network at the same time, they should access the network according to the priority order, which is beneficial to the overall equipment power saving. (If there is no priority level, a large number of devices are connected to the network, and the possibility of conflict is much higher than pressing Priority-order access to the network creates conflicting possibilities) and improves overall access network efficiency. At the same time, the concept of grouping is proposed, which helps the AP to group a large number of terminals and manage them according to the group, which reduces the number of messages sent by the AP, improves management efficiency, saves power consumption, and can also control different terminal connections based on packets. The priority of entering the network.
综上所述, 通过本发明的技术方案, 可以实现数据通信装置和数据通 信方法, 保证 AP可以详细设置 STA的多个信道接入参数集, 从而可以对 STA接入网络的过程进行良好的控制。  In summary, the data communication device and the data communication method can be implemented by the technical solution of the present invention, and the AP can be configured to set multiple channel access parameter sets of the STA in detail, so that the STA accessing the network can be well controlled. .
以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于 本领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精 神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明 的保护范围之内。  The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims

权 利 要 求 书 Claim
1. 一种数据通信装置, 其特征在于, 包括: A data communication device, comprising:
数据处理模块, 生成消息帧, 所述消息帧中至少包含终端类型标识位 和用户接入信道优先级参数标识位, 所述终端类型标识位的值表示终端的 类型, 所述用户接入信道优先级参数标识位的值表示为所述终端设置的接 入信道的优先级;  The data processing module generates a message frame, where the message frame includes at least a terminal type identifier bit and a user access channel priority parameter identifier bit, where the value of the terminal type identifier bit indicates a type of the terminal, and the user access channel takes precedence. The value of the level parameter identifier bit indicates the priority of the access channel set by the terminal;
数据交互模块, 发送所述消息帧。  The data interaction module sends the message frame.
2. 根据权利要求 1 所述的数据通信装置, 其特征在于, 所述终端类 型标识位的值为第一值时表示所述终端为传感器类型, 所述终端类型标识 位的值为第二值时表示所述终端为卸载类型, 所述终端类型标识位的值时 为第三值表示所述终端为混合类型, 所述混合类型表示所述终端既可作为 传感器类型也可作为卸载类型, 所述第一值、 第二值、 第三值相互不同。  The data communication device according to claim 1, wherein when the value of the terminal type identifier bit is a first value, the terminal is a sensor type, and the value of the terminal type identifier bit is a second value. The terminal indicates that the terminal is of an unloading type, and the value of the terminal type identifier bit is a third value indicating that the terminal is a hybrid type, and the hybrid type indicates that the terminal can be used as both a sensor type and an unloading type. The first value, the second value, and the third value are different from each other.
3. 根据权利要求 2 所述的数据通信装置, 其特征在于, 所述终端类 型标识位的值为所述第一值且所述用户接入信道优先级参数标识位的值为 第四值, 或所述终端类型标识位的值为所述第二值且所述用户接入信道优 先级参数标识位的值为第五值, 或所述终端类型标识位的值为所述第三值 且所述用户接入信道优先级参数标识位的值为第六值, 其中, 所述第四 值、 第五值、 第六值相互不同, 所述用户接入信道优先级参数标识位的值 为所述第四值表示所述终端的优先级最高, 所述用户接入信道优先级参数 标识位的值为所述第五值表示所述终端的优先级最低。  The data communication device according to claim 2, wherein the value of the terminal type identifier bit is the first value, and the value of the user access channel priority parameter identifier bit is a fourth value, Or the value of the terminal type identifier bit is the second value, and the value of the user access channel priority parameter identifier bit is a fifth value, or the value of the terminal type identifier bit is the third value and The value of the user access channel priority parameter identifier is a sixth value, where the fourth value, the fifth value, and the sixth value are different from each other, and the value of the user access channel priority parameter identifier is The fourth value indicates that the terminal has the highest priority, and the value of the user access channel priority parameter identifier bit indicates that the terminal has the lowest priority.
4. 根据权利要求 2 所述的数据通信装置, 其特征在于, 所述终端类 型标识位和所述用户接入信道优先级参数标识位均包括所述消息帧中增强 型分布信道接入参数集中的一个或多个位或所述消息帧中混合协调功能控 制信道接入参数集中的一个或多个位。  The data communication device according to claim 2, wherein the terminal type identifier bit and the user access channel priority parameter identifier bit both comprise an enhanced distributed channel access parameter set in the message frame. One or more bits or a mixed coordination function in the message frame controls one or more bits of the channel access parameter set.
5. 根据权利要求 2 所述的数据通信装置, 其特征在于, 所述消息帧 中还包含分组信息标识位, 所述分组信息标识位的值表示为所述终端设置 的类型组号。 The data communication device according to claim 2, wherein the message frame further includes a packet information identifier bit, and the value of the packet information identifier bit is represented by a type group number set by the terminal.
6. 根据权利要求 5 所述的数据通信装置, 其特征在于, 所述分组信 息标识位包括所述消息帧中增强型分布信道接入参数集中的一个或多个位 或所述消息帧中混合协调功能控制信道接入参数集中的一个或多个位。 6. The data communication apparatus according to claim 5, wherein the packet information flag bit comprises one or more bits in an enhanced distributed channel access parameter set in the message frame or a mixture in the message frame. The coordination function controls one or more bits of the channel access parameter set.
7. 根据权利要求 1 至 6 中任一项所述的数据通信装置, 其特征在 于, 所述消息帧为信标帧、 探测响应帧、 关联响应帧、 开放系统认证响应 帧或重关联响应帧。  The data communication apparatus according to any one of claims 1 to 6, wherein the message frame is a beacon frame, a probe response frame, an association response frame, an open system authentication response frame, or a reassociation response frame. .
8. 一种数据通信方法, 其特征在于, 包括:  8. A data communication method, comprising:
生成消息帧, 所述消息帧中至少包含终端类型标识位和用户接入信道 优先级参数标识位, 所述终端类型标识位的值表示终端的类型, 所述用户 接入信道优先级参数标识位的值表示为所述终端设置的接入信道的优先 级;  And generating a message frame, where the message frame includes at least a terminal type identifier bit and a user access channel priority parameter identifier bit, where the value of the terminal type identifier bit indicates a type of the terminal, and the user access channel priority parameter identifier bit The value of the access channel is the priority of the access channel set by the terminal;
发送所述消息帧。  Send the message frame.
9. 根据权利要求 8 所述的数据通信方法, 其特征在于, 所述终端类 型标识位的值为第一值时表示所述终端为传感器类型, 所述终端类型标识 位的值为第二值时表示所述终端为卸载类型, 所述终端类型标识位的值时 为第三值表示所述终端为混合类型, 所述混合类型表示所述终端既可作为 传感器类型也可作为卸载类型, 所述第一值、 第二值、 第三值相互不同。  The data communication method according to claim 8, wherein, when the value of the terminal type identifier bit is a first value, the terminal is a sensor type, and the value of the terminal type identifier bit is a second value. The terminal indicates that the terminal is of an unloading type, and the value of the terminal type identifier bit is a third value indicating that the terminal is a hybrid type, and the hybrid type indicates that the terminal can be used as both a sensor type and an unloading type. The first value, the second value, and the third value are different from each other.
10. 根据权利要求 9所述的数据通信方法, 其特征在于, 所述终端类 型标识位的值为所述第一值且所述用户接入信道优先级参数标识位的值为 第四值, 或所述终端类型标识位的值为所述第二值且所述用户接入信道优 先级参数标识位的值为第五值, 或所述终端类型标识位的值为所述第三值 且所述用户接入信道优先级参数标识位的值为第六值, 其中, 所述第四 值、 第五值、 第六值相互不同, 所述用户接入信道优先级参数标识位的值 为所述第四值表示所述终端的优先级最高, 所述用户接入信道优先级参数 标识位的值为所述第五值表示所述终端的优先级最低。  The data communication method according to claim 9, wherein the value of the terminal type identifier bit is the first value, and the value of the user access channel priority parameter identifier bit is a fourth value, Or the value of the terminal type identifier bit is the second value, and the value of the user access channel priority parameter identifier bit is a fifth value, or the value of the terminal type identifier bit is the third value and The value of the user access channel priority parameter identifier is a sixth value, where the fourth value, the fifth value, and the sixth value are different from each other, and the value of the user access channel priority parameter identifier is The fourth value indicates that the terminal has the highest priority, and the value of the user access channel priority parameter identifier bit indicates that the terminal has the lowest priority.
11. 根据权利要求 9所述的数据通信方法, 其特征在于, 所述终端类 型标识位和所述用户接入信道优先级参数标识位均包括所述消息帧中增强 型分布信道接入参数集中的一个或多个位或所述消息帧中混合协调功能控 制信道接入参数集中的一个或多个位。 The data communication method according to claim 9, wherein the terminal type identifier bit and the user access channel priority parameter identifier bit both comprise an enhanced distributed channel access parameter set in the message frame. One or more bits or a mixed coordination function in the message frame controls one or more bits of the channel access parameter set.
12. 根据权利要求 9所述的数据通信方法, 其特征在于, 所述消息帧 中还包含分组信息标识位, 所述分组信息标识位的值表示为所述终端设置 的类型组号。 The data communication method according to claim 9, wherein the message frame further includes a packet information identifier bit, and the value of the packet information identifier bit is represented by a type group number set by the terminal.
13. 根据权利要求 12 所述的数据通信方法, 其特征在于, 所述分组 信息标识位包括所述消息帧中增强型分布信道接入参数集中的一个或多个 位或所述消息帧中混合协调功能控制信道接入参数集中的一个或多个位。  13. The data communication method according to claim 12, wherein the packet information flag includes one or more bits in the enhanced distributed channel access parameter set in the message frame or a mixture in the message frame. The coordination function controls one or more bits of the channel access parameter set.
14. 根据权利要求 8 至 13 中任一项所述的数据通信方法, 其特征在 于, 所述消息帧为信标帧、 探测响应帧、 关联响应帧、 开放系统认证响应 帧或重关联响应帧。  The data communication method according to any one of claims 8 to 13, wherein the message frame is a beacon frame, a probe response frame, an association response frame, an open system authentication response frame, or a reassociation response frame. .
15. 一种数据通信装置, 其特征在于, 包括:  A data communication device, comprising:
数据交互模块, 接收消息帧, 所述消息帧中至少包含终端类型标识位 和用户接入信道优先级参数标识位;  The data interaction module receives a message frame, where the message frame includes at least a terminal type identifier bit and a user access channel priority parameter identifier bit;
数据处理模块, 从所述消息帧中获取所述终端类型标识位的值和所述 用户接入信道优先级参数标识位的值, 所述终端类型标识位的值表示终端 的类型, 所述用户接入信道优先级参数标识位的值表示接入点为所述终端 设置的接入信道的优先级。  a data processing module, the value of the terminal type identifier bit and the value of the user access channel priority parameter identifier bit are obtained from the message frame, where the value of the terminal type identifier bit indicates the type of the terminal, and the user The value of the access channel priority parameter identifier bit indicates the priority of the access channel set by the access point for the terminal.
16. 根据权利要求 15 所述的数据通信装置, 其特征在于, 所述终端 类型标识位的值为第一值时表示所述终端为传感器类型, 所述终端类型标 识位的值为第二值时表示所述终端为卸载类型, 所述终端类型标识位的值 时为第三值表示所述终端为混合类型, 所述混合类型表示所述终端既可作 为传感器类型也可作为卸载类型, 所述第一值、 第二值、 第三值相互不 同。  The data communication device according to claim 15, wherein when the value of the terminal type identifier bit is a first value, the terminal is a sensor type, and the value of the terminal type identifier bit is a second value. The terminal indicates that the terminal is of an unloading type, and the value of the terminal type identifier bit is a third value indicating that the terminal is a hybrid type, and the hybrid type indicates that the terminal can be used as both a sensor type and an unloading type. The first value, the second value, and the third value are different from each other.
17. 根据权利要求 16 所述的数据通信装置, 其特征在于, 所述终端 类型标识位的值为所述第一值且所述用户接入信道优先级参数标识位的值 为第四值, 或所述终端类型标识位的值为所述第二值且所述用户接入信道 优先级参数标识位的值为第五值, 或所述终端类型标识位的值为所述第三 值且所述用户接入信道优先级参数标识位的值为第六值, 其中, 所述第四 值、 第五值、 第六值相互不同, 所述用户接入信道优先级参数标识位的值 为所述第四值表示所述终端的优先级最高, 所述用户接入信道优先级参数 标识位的值为所述第五值表示所述终端的优先级最低。 The data communication device according to claim 16, wherein the value of the terminal type identifier bit is the first value, and the value of the user access channel priority parameter identifier bit is a fourth value. Or the value of the terminal type identifier bit is the second value, and the value of the user access channel priority parameter identifier bit is a fifth value, or the value of the terminal type identifier bit is the third value and The value of the user access channel priority parameter identifier is a sixth value, where the fourth value, the fifth value, and the sixth value are different from each other, and the value of the user access channel priority parameter identifier is The fourth value indicates that the terminal has the highest priority, and the user access channel priority parameter The value of the flag bit indicates that the terminal has the lowest priority.
18. 根据权利要求 16 所述的数据通信装置, 其特征在于, 所述终端 类型标识位和所述用户接入信道优先级参数标识位均包括所述消息帧中增 强型分布信道接入参数集中的一个或多个位或所述消息帧中混合协调功能 控制信道接入参数集中的一个或多个位。  The data communication device according to claim 16, wherein the terminal type identifier bit and the user access channel priority parameter identifier bit both comprise an enhanced distributed channel access parameter set in the message frame. One or more bits or a mixed coordination function in the message frame controls one or more bits of the channel access parameter set.
19. 根据权利要求 16 所述的数据通信装置, 其特征在于, 所述消息 帧中还包含分组信息标识位, 所述数据处理模块还从所述消息帧中获取所 述分组信息标识位的值, 所述分组信息标识位的值表示为所述终端设置的 类型组号。  The data communication device according to claim 16, wherein the message frame further includes a packet information identifier bit, and the data processing module further acquires a value of the packet information identifier bit from the message frame. The value of the group information identifier bit is represented by a type group number set by the terminal.
20. 根据权利要求 19 所述的数据通信装置, 其特征在于, 所述分组 信息标识位包括所述消息帧中增强型分布信道接入参数集中的一个或多个 位或所述消息帧中混合协调功能控制信道接入参数集中的一个或多个位。  20. The data communication apparatus according to claim 19, wherein the packet information flag includes one or more bits in the enhanced distributed channel access parameter set in the message frame or a mixture in the message frame. The coordination function controls one or more bits of the channel access parameter set.
21. 根据权利要求 15至 20中任一项所述的数据通信装置, 其特征在 于, 所述消息帧为信标帧、 探测响应帧、 关联响应帧、 开放系统认证响应 帧或重关联响应帧。  The data communication apparatus according to any one of claims 15 to 20, wherein the message frame is a beacon frame, a probe response frame, an association response frame, an open system authentication response frame, or a reassociation response frame. .
22. 一种数据通信方法, 其特征在于, 包括:  22. A data communication method, comprising:
接收消息帧, 所述消息帧中至少包含终端类型标识位和用户接入信道 优先级参数标识位;  Receiving a message frame, where the message frame includes at least a terminal type identifier bit and a user access channel priority parameter identifier bit;
从所述消息帧中获取所述终端类型标识位的值和所述用户接入信道优 先级参数标识位的值, 所述终端类型标识位的值表示终端的类型, 所述用 户接入信道优先级参数标识位的值表示接入点为所述终端设置的接入信道 的优先级。  Obtaining, by the message frame, a value of the terminal type identifier bit and a value of the user access channel priority parameter identifier bit, where the value of the terminal type identifier bit indicates a type of the terminal, and the user access channel takes precedence The value of the level parameter identification bit indicates the priority of the access channel set by the access point for the terminal.
23. 根据权利要求 22 所述的数据通信方法, 其特征在于, 所述终端 类型标识位的值为第一值时表示所述终端为传感器类型, 所述终端类型标 识位的值为第二值时表示所述终端为卸载类型, 所述终端类型标识位的值 时为第三值表示所述终端为混合类型, 所述混合类型表示所述终端既可作 为传感器类型也可作为卸载类型, 所述第一值、 第二值、 第三值相互不 同。 The data communication method according to claim 22, wherein, when the value of the terminal type identifier bit is a first value, the terminal is a sensor type, and the value of the terminal type identifier bit is a second value. The terminal indicates that the terminal is of an unloading type, and the value of the terminal type identifier bit is a third value indicating that the terminal is a hybrid type, and the hybrid type indicates that the terminal can be used as both a sensor type and an unloading type. The first value, the second value, and the third value are different from each other.
24. 根据权利要求 23 所述的数据通信方法, 其特征在于, 所述终端 类型标识位的值为所述第一值且所述用户接入信道优先级参数标识位的值 为第四值, 或所述终端类型标识位的值为所述第二值且所述用户接入信道 优先级参数标识位的值为第五值, 或所述终端类型标识位的值为所述第三 值且所述用户接入信道优先级参数标识位的值为第六值, 其中, 所述第四 值、 第五值、 第六值相互不同, 所述用户接入信道优先级参数标识位的值 为所述第四值表示所述终端的优先级最高, 所述用户接入信道优先级参数 标识位的值为所述第五值表示所述终端的优先级最低。 The data communication method according to claim 23, wherein the value of the terminal type identifier bit is the first value, and the value of the user access channel priority parameter identifier bit is a fourth value, Or the value of the terminal type identifier bit is the second value, and the value of the user access channel priority parameter identifier bit is a fifth value, or the value of the terminal type identifier bit is the third value and The value of the user access channel priority parameter identifier is a sixth value, where the fourth value, the fifth value, and the sixth value are different from each other, and the value of the user access channel priority parameter identifier is The fourth value indicates that the terminal has the highest priority, and the value of the user access channel priority parameter identifier bit indicates that the terminal has the lowest priority.
25. 根据权利要求 23 所述的数据通信方法, 其特征在于, 所述终端 类型标识位和所述用户接入信道优先级参数标识位均包括所述消息帧中增 强型分布信道接入参数集中的一个或多个位或所述消息帧中混合协调功能 控制信道接入参数集中的一个或多个位。  The data communication method according to claim 23, wherein the terminal type identifier bit and the user access channel priority parameter identifier bit both comprise an enhanced distributed channel access parameter set in the message frame. One or more bits or a mixed coordination function in the message frame controls one or more bits of the channel access parameter set.
26. 根据权利要求 23 所述的数据通信方法, 其特征在于, 所述消息 帧中还包含分组信息标识位, 所述数据通信方法还包括:  The data communication method according to claim 23, wherein the message frame further includes a packet information identifier bit, and the data communication method further includes:
从所述消息帧中获取所述分组信息标识位的值, 所述分组信息标识位 的值表示为所述终端设置的类型组号。  And acquiring, by the message frame, a value of the packet information identifier bit, where the value of the packet information identifier bit is represented by a type group number set by the terminal.
27. 根据权利要求 26 所述的数据通信方法, 其特征在于, 所述分组 信息标识位包括所述消息帧中增强型分布信道接入参数集中的一个或多个 位或所述消息帧中混合协调功能控制信道接入参数集中的一个或多个位。  27. The data communication method according to claim 26, wherein the packet information flag includes one or more bits in the enhanced distributed channel access parameter set in the message frame or a mixture in the message frame. The coordination function controls one or more bits of the channel access parameter set.
28. 根据权利要求 22至 27中任一项所述的数据通信方法, 其特征在 于, 所述消息帧为信标帧、 探测响应帧、 关联响应帧、 开放系统认证响应 帧或重关联响应帧。  The data communication method according to any one of claims 22 to 27, wherein the message frame is a beacon frame, a probe response frame, an association response frame, an open system authentication response frame, or a reassociation response frame. .
PCT/CN2013/080258 2012-11-08 2013-07-28 Data communication device and data communication method WO2014071752A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210445287XA CN102932948A (en) 2012-11-08 2012-11-08 Data communication device and data communication method
CN201210445287.X 2012-11-08

Publications (1)

Publication Number Publication Date
WO2014071752A1 true WO2014071752A1 (en) 2014-05-15

Family

ID=47647597

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/080258 WO2014071752A1 (en) 2012-11-08 2013-07-28 Data communication device and data communication method

Country Status (2)

Country Link
CN (1) CN102932948A (en)
WO (1) WO2014071752A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102932948A (en) * 2012-11-08 2013-02-13 东莞宇龙通信科技有限公司 Data communication device and data communication method
CN109245809B (en) 2013-06-25 2021-08-20 华为技术有限公司 Uplink multi-user data transmission method and uplink multi-user input and output system
US9955502B2 (en) * 2014-05-01 2018-04-24 Qualcomm Incorporated EDCA parameter set differentiation for different device types
CN111212012B (en) * 2014-10-31 2021-11-09 华为技术有限公司 Network equipment, terminal and data transmission method
CN107615867B (en) * 2015-03-27 2021-05-04 华为技术有限公司 Multi-site access method, device and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101552932A (en) * 2008-04-01 2009-10-07 华为技术有限公司 Method, devices and system for transmitting and processing optical-fiber network
CN102202348A (en) * 2010-03-22 2011-09-28 华为技术有限公司 Data packet sending method and access point
CN102413468A (en) * 2011-11-14 2012-04-11 工业和信息化部电信传输研究所 Method for avoiding network congestion in 802.11 authentication or association process
CN102932948A (en) * 2012-11-08 2013-02-13 东莞宇龙通信科技有限公司 Data communication device and data communication method
CN102932949A (en) * 2012-11-08 2013-02-13 东莞宇龙通信科技有限公司 Data communication device and data communication method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102378389B (en) * 2010-08-20 2015-09-16 中兴通讯股份有限公司 A kind of cut-in method of Physical Random Access Channel and device
US8706172B2 (en) * 2010-10-26 2014-04-22 Miscrosoft Corporation Energy efficient continuous sensing for communications devices
CN102740493B (en) * 2011-04-02 2017-03-29 中兴通讯股份有限公司 Terminal Access Control method of adjustment and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101552932A (en) * 2008-04-01 2009-10-07 华为技术有限公司 Method, devices and system for transmitting and processing optical-fiber network
CN102202348A (en) * 2010-03-22 2011-09-28 华为技术有限公司 Data packet sending method and access point
CN102413468A (en) * 2011-11-14 2012-04-11 工业和信息化部电信传输研究所 Method for avoiding network congestion in 802.11 authentication or association process
CN102932948A (en) * 2012-11-08 2013-02-13 东莞宇龙通信科技有限公司 Data communication device and data communication method
CN102932949A (en) * 2012-11-08 2013-02-13 东莞宇龙通信科技有限公司 Data communication device and data communication method

Also Published As

Publication number Publication date
CN102932948A (en) 2013-02-13

Similar Documents

Publication Publication Date Title
JP6949155B2 (en) Wireless communication device and wireless communication method
JP6949156B2 (en) Wireless communication device and wireless communication method
CN105532065B (en) System and method for OFDMA PS-Poll transmission
CN108055695B (en) Method for accessing channel to terminal in wireless local area network
CN102474890A (en) Setting up a direct link in a peer to peer wireless network
JP6512346B2 (en) Wireless communication apparatus and wireless communication method
CN115623426B (en) Multicast service transmission method and device suitable for multiple links
WO2014071752A1 (en) Data communication device and data communication method
WO2013159648A1 (en) Method and device for establishing association between station and access point
WO2013013543A1 (en) Identifier allocation method and system
WO2022267690A1 (en) Ofdma frequency domain resource scheduling method, sta, ap and communication system
EP3214779A1 (en) Communication control device, wireless communication device, communication control method, wireless communication method and program
US20220394556A1 (en) Method for determining data buffer status, and apparatus
CN113891343A (en) Request and response method for detecting MLD (Multi-level discovery and discovery), station and access point
WO2022127555A1 (en) Multi-user wireless data transmission method, system, device, and storage medium
JP2022000985A (en) Information processing device, information processing method, and program
JP2023024536A (en) Data transmission method and associated apparatus
EP4228317A1 (en) Ppdu uplink bandwidth indication method and related apparatus
CN108471637B (en) WUR control information transmission method and device
KR20240011712A (en) Terminal, base station, and communication method
WO2021062626A1 (en) Methods and devices for configuring channel busy ratio measurement
CN117377092A (en) Data transmission method and communication device
CN103095364A (en) Method and device for data transmission

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13852927

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 28/01/2016)

122 Ep: pct application non-entry in european phase

Ref document number: 13852927

Country of ref document: EP

Kind code of ref document: A1