[go: up one dir, main page]

CN103781153A - Definition method of element field and device - Google Patents

Definition method of element field and device Download PDF

Info

Publication number
CN103781153A
CN103781153A CN201210407258.4A CN201210407258A CN103781153A CN 103781153 A CN103781153 A CN 103781153A CN 201210407258 A CN201210407258 A CN 201210407258A CN 103781153 A CN103781153 A CN 103781153A
Authority
CN
China
Prior art keywords
field
element field
beacons
identification number
content
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201210407258.4A
Other languages
Chinese (zh)
Inventor
李云波
彼得·禄
伍天宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201210407258.4A priority Critical patent/CN103781153A/en
Priority to PCT/CN2013/073491 priority patent/WO2014063467A1/en
Publication of CN103781153A publication Critical patent/CN103781153A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/12Access restriction or access information delivery, e.g. discovery data delivery using downlink control channel

Landscapes

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

Abstract

本发明实施例公开了一种元素字段的定义方法及装置,涉及通信技术领域,所述方法包括:为元素字段添加信标数目或者添加信标数目和目标站点,其中,所述信标数目用于指示站点从接收到所述元素字段所属的信标帧到被触发事件发生所间隔的信标帧周期数目,所述元素字段从字段头至字段尾依次为元素标识号、长度和被触发事件内容;将携带所述元素字段的信标帧进行广播。本发明适用于无线局域网系统中的接入点与站点的交互。

The embodiment of the present invention discloses a method and device for defining an element field, which relates to the field of communication technology. The method includes: adding the number of beacons to the element field or adding the number of beacons and the target site, wherein the number of beacons is used In order to indicate the number of beacon frame periods between the reception of the beacon frame to which the element field belongs and the occurrence of the triggered event, the element field is the element identification number, length, and triggered event from the beginning to the end of the field Content; broadcast the beacon frame carrying the element field. The invention is applicable to the interaction between the access point and the station in the wireless local area network system.

Description

元素字段的定义方法及装置Method and device for defining element field

技术领域 technical field

本发明涉及通信技术领域,特别涉及一种元素字段的定义方法及装置。The invention relates to the field of communication technology, in particular to a method and device for defining an element field.

背景技术 Background technique

在无线局域网系统中,接入点(Access Point,英文缩写为AP)周期性地向关联到自己的站点广播信标帧,并在信标帧中携带一些管理信息或控制信息。站点会对接收到的信标帧的元素字段进行解析,在获取这些管理信息或控制信息后,站点就会触发相应的动作。In a wireless local area network system, an access point (Access Point, English abbreviated as AP) periodically broadcasts a beacon frame to the stations associated with itself, and carries some management information or control information in the beacon frame. The station will analyze the element fields of the received beacon frame, and after obtaining the management information or control information, the station will trigger the corresponding action.

以信标帧中的业务量指示地图(Traffic Indication Map,英文缩写为TIM)字段为例,TIM字段是用来指示在当前信标帧周期内有哪些启用功率节省功能的站点有下行数据,当这些站点解析信标帧中的TIM字段,确定当前信标帧周期内有自身的下行数据后,该站点会通过上行向接入点发送功率节省查询(PowerSave Poll,英文缩写为PS-Poll)帧,接入点在接收到PS-Poll帧后向该站点发送下行数据。如果当前信标帧周期内,所有关联到AP的站点都没有下行数据,则不进行TIM指示或者指示的值为0。Take the Traffic Indication Map (TIM) field in the beacon frame as an example. The TIM field is used to indicate which stations with the power saving function enabled have downlink data in the current beacon frame period. These stations analyze the TIM field in the beacon frame, and after determining that there is their own downlink data in the current beacon frame period, the station will send a power saving query (PowerSave Poll, English abbreviation: PS-Poll) frame to the access point through the uplink , the access point sends downlink data to the station after receiving the PS-Poll frame. If within the current beacon frame period, all stations associated with the AP have no downlink data, no TIM indication is performed or the indicated value is 0.

现有技术中至少存在如下问题:在某些特殊的场景中,以传感器网络为例,用户的业务周期很长,达到几小时或者几天,此时会出现整个信标帧周期内都没有下行数据的情况,但是站点并不确定当前信标帧内是否含有自己的数据,所以仍需要频繁的醒来去查看信标帧;在802.11ah场景中,一个AP可能会为6000多个站点提供服务,为了避免站点间的信息碰撞,要将这些站点分为多个小组,AP以小组为单位广播信标帧。在此种情况下,属于某个小组中的一个站点并不确定当前信标帧内是否含有自己的数据,所以仍需要频繁的醒来去查看信标帧。上述两个场景中,站点需要频繁的醒来去查看信标帧,对于非电源供电的站点而言,会浪费大量的电量。There are at least the following problems in the prior art: In some special scenarios, taking the sensor network as an example, the user’s business cycle is very long, reaching several hours or several days, and there will be no downlink during the entire beacon frame period. data, but the station is not sure whether the current beacon frame contains its own data, so it still needs to wake up frequently to check the beacon frame; in the 802.11ah scenario, an AP may provide services for more than 6000 stations , in order to avoid information collision between stations, these stations should be divided into multiple groups, and the AP broadcasts beacon frames in units of groups. In this case, a station belonging to a certain group is not sure whether the current beacon frame contains its own data, so it still needs to wake up frequently to check the beacon frame. In the above two scenarios, the site needs to wake up frequently to check the beacon frame, which will waste a lot of power for the non-power supply site.

发明内容 Contents of the invention

提供一种元素字段的定义方法及装置,能够解决特定场景下非电源供电的站点的电量浪费的问题,提高站点的电能利用效率。A method and device for defining an element field are provided, which can solve the problem of power waste in a site not powered by a power supply in a specific scenario, and improve the power utilization efficiency of the site.

第一方面,提供一种元素字段的定义方法,包括:In the first aspect, a method for defining element fields is provided, including:

为元素字段添加信标数目或者添加信标数目和目标站点,其中,所述信标数目用于指示站点从接收到所述元素字段所属的信标帧到被触发事件发生所间隔的信标帧周期数目,所述元素字段从字段头至字段尾依次为元素标识号、长度和被触发事件内容;Adding the number of beacons or adding the number of beacons and the target station to the element field, wherein the number of beacons is used to indicate the interval between the station receiving the beacon frame to which the element field belongs and the occurrence of the triggered event. The number of cycles, the element field from the field head to the end of the field is the element identification number, length and the content of the triggered event;

将携带所述元素字段的信标帧进行广播。A beacon frame carrying the element field is broadcast.

可选的,所述为元素字段添加信标数目或者添加信标数目和目标站点包括:当所述元素字段包括的被触发事件内容是应用于关联到接入点AP的所有站点时,为所述元素字段添加信标数目;当所述元素字段包括的被触发事件内容是应用于关联到AP的特定站点时,为所述元素字段添加信标数目和目标站点,所述目标站点用于指示所述特定站点对所述被触发事件内容进行检测和响应,所述特定站点之外的其余站点忽略所述被触发事件内容。Optionally, adding the number of beacons to the element field or adding the number of beacons and the target station includes: when the content of the triggered event included in the element field is applied to all stations associated with the access point AP, for all Add the number of beacons to the element field; when the content of the triggered event included in the element field is applied to a specific site associated with the AP, add the number of beacons and the target site to the element field, and the target site is used to indicate The specific site detects and responds to the content of the triggered event, and other sites other than the specific site ignore the content of the triggered event.

其中,当仅为所述元素字段添加所述信标数目时,所述元素字段从字段头至字段尾可以依次为元素标识号、长度、信标数目和被触发事件内容;当为所述元素字段添加所述信标数目和所述目标站点时,所述元素字段从字段头至字段尾可以依次为元素标识号、长度、目标站点、信标数目和被触发事件内容。Wherein, when only the number of beacons is added to the element field, the element field may be the element identification number, length, number of beacons, and the content of the triggered event in sequence from the field head to the end of the field; when the element field When the number of beacons and the target site are added to the field, the element field may be the element identification number, length, target site, number of beacons, and the content of the triggered event in sequence from the head to the end of the field.

其中,所述被触发事件内容包括:下行数据传输和/或上行数据传输。Wherein, the content of the triggered event includes: downlink data transmission and/or uplink data transmission.

其中,所述信标数目的内容包括:自然数;所述目标站点的内容包括:站点组号、用户关联身份标识号码(Identity,英文缩写为ID)或介质访问控制(Media Access Control,英文缩写为MAC)地址。Wherein, the content of the number of beacons includes: a natural number; the content of the target site includes: a site group number, a user-associated identity number (Identity, the English abbreviation is ID) or Media Access Control (Media Access Control, the English abbreviation is MAC) address.

第二方面,同一种元素字段的定义方法,包括:In the second aspect, the definition method of the same element field includes:

将元素字段的元素标识号重定义为元素类型标识号和子元素标识号,重新定义之后的元素字段所表示的内容由元素类型标识号和子元素标识号共同确定;The element identification number of the element field is redefined as an element type identification number and a sub-element identification number, and the content represented by the redefined element field is jointly determined by the element type identification number and the sub-element identification number;

将携带所述元素字段的信标帧进行广播。A beacon frame carrying the element field is broadcast.

在第一种可能的实现方式中,当信标帧中包含有属于同一元素类型的多个元素字段时,把所述多个元素字段放在同一个元素类型标识号下作为子元素字段进行指示。In the first possible implementation manner, when the beacon frame contains multiple element fields belonging to the same element type, put the multiple element fields under the same element type identification number as sub-element fields for indication .

结合第二方面或第二方面的第一种可能的实现方式,在第二种可能的实现方式中,重定义后的元素字段从字段头至字段尾依次为:元素类型标识号、总长度、子元素标识号1、长度1,直至表示到子元素标识号n、长度n、子元素的内容n,其中,n为属于同一元素类型的元素字段总数目。Combining with the second aspect or the first possible implementation of the second aspect, in the second possible implementation, the redefined element fields from the field header to the field tail are: element type identification number, total length, Sub-element identification number 1, length 1, up to sub-element identification number n, length n, sub-element content n, where n is the total number of element fields belonging to the same element type.

第三方面,提供一种元素字段的定义装置,包括:In a third aspect, a device for defining an element field is provided, including:

添加单元,用于为元素字段添加信标数目或者添加信标数目和目标站点,其中,所述信标数目用于指示站点从接收到所述元素字段所属的信标帧到被触发事件发生所间隔的信标帧周期数目,所述元素字段从字段头至字段尾依次为元素标识号、长度和被触发事件内容;The adding unit is used to add the number of beacons to the element field or add the number of beacons and the target station, wherein the number of beacons is used to indicate the period from when the station receives the beacon frame to which the element field belongs to when the triggered event occurs The number of beacon frame periods at intervals, the element field from the field head to the field end is the element identification number, length and the content of the triggered event in sequence;

广播单元,用于将携带所述元素字段的信标帧进行广播。The broadcasting unit is configured to broadcast the beacon frame carrying the element field.

可选的,所述添加单元包括:第一添加子单元,用于当所述元素字段包括的被触发事件内容是应用于关联到接入点AP的所有站点时,为所述元素字段添加信标数目;第二添加子单元,用于当所述元素字段包括的被触发事件内容是应用于关联到AP的特定站点时,为所述元素字段添加信标数目和目标站点,所述目标站点用于指示所述特定站点对所述被触发事件内容进行检测和响应,所述特定站点之外的其余站点忽略所述被触发事件内容。Optionally, the adding unit includes: a first adding subunit, configured to add information to the element field when the content of the triggered event included in the element field is applied to all stations associated with the access point AP. The number of targets; the second adding subunit is used to add the number of beacons and the target site to the element field when the content of the triggered event included in the element field is applied to a specific site associated with the AP, and the target site It is used to instruct the specific site to detect and respond to the content of the triggered event, and other sites other than the specific site ignore the content of the triggered event.

其中,当所述第一添加子单元为所述元素字段添加所述信标数目时,所述元素字段从字段头至字段尾依次为元素标识号、长度、信标数目和被触发事件内容;当所述第二添加子单元为所述元素字段添加所述信标数目和所述目标站点时,所述元素字段从字段头至字段尾依次为元素标识号、长度、目标站点、信标数目和被触发事件内容。Wherein, when the first adding subunit adds the number of beacons to the element field, the element field is the element identification number, length, number of beacons, and the content of the triggered event in sequence from the field head to the end of the field; When the second adding subunit adds the number of beacons and the target site to the element field, the element field is the element identification number, length, target site, and number of beacons in sequence from the field head to the end of the field and the content of the triggered event.

其中,所述被触发事件内容包括:下行数据传输和/或上行数据传输。Wherein, the content of the triggered event includes: downlink data transmission and/or uplink data transmission.

其中,所述信标数目的内容包括:自然数;所述目标站点的内容包括:站点组号、用户关联身份标识号码ID或介质访问控制MAC地址。Wherein, the content of the number of beacons includes: a natural number; the content of the target site includes: a site group number, a user-associated identification number ID or a media access control MAC address.

第四方面,提供一种元素字段的定义装置,包括:In a fourth aspect, a device for defining an element field is provided, including:

重定义单元,用于将元素字段的元素标识号重定义为元素类型标识号和子元素标识号,重新定义之后的元素字段所表示的内容由元素类型标识号和子元素标识号共同确定;The redefinition unit is used to redefine the element identification number of the element field into an element type identification number and a sub-element identification number, and the content represented by the redefined element field is jointly determined by the element type identification number and the sub-element identification number;

广播单元,用于将携带所述元素字段的信标帧进行广播。The broadcasting unit is configured to broadcast the beacon frame carrying the element field.

在第一种可能的实现方式中,还包括:指示单元,用于当信标帧中包含有属于同一元素类型的多个元素字段时,把所述多个元素字段放在同一个元素类型标识号下作为子元素字段进行指示。In a first possible implementation manner, it further includes: an indication unit, configured to place the multiple element fields in the same element type identifier when the beacon frame contains multiple element fields belonging to the same element type Indicated as a sub-element field under the number.

结合第四方面或第四方面的第一种可能的实现方式,在第二种可能的实现方式中,重定义后的元素字段从字段头至字段尾依次为:元素类型标识号、总长度、子元素标识号1、长度1,直至表示到子元素标识号n、长度n、子元素的内容n,其中,n为属于同一元素类型的元素字段总数目。In combination with the fourth aspect or the first possible implementation of the fourth aspect, in the second possible implementation, the redefined element fields are in order from the field head to the field end: element type identification number, total length, Sub-element identification number 1, length 1, up to sub-element identification number n, length n, sub-element content n, where n is the total number of element fields belonging to the same element type.

与现有技术相比,本发明实施例通过为元素字段添加信标数目或者添加信标数目和目标站点,并在无线局域网广播携带该元素字段的信标帧,使得站点(终端)在接收到携带该元素字段信标帧后,解析所述元素字段获取信标数目,进而可以获得某一事件下一次被触发所间隔的信标帧周期数目,从而在此信标帧周期数目的时间间隔内不用频繁地醒来去解析信标帧关注此触发事件,只需在经过信标帧周期时间间隔后醒来去解析相应的信标帧即可,避免了站点频繁地解析信标帧带来的功率浪费,达到省电的目的。Compared with the prior art, the embodiment of the present invention adds the number of beacons to the element field or adds the number of beacons and the target station, and broadcasts the beacon frame carrying the element field on the wireless local area network, so that the station (terminal) receives After carrying the beacon frame of the element field, parse the element field to obtain the number of beacons, and then obtain the number of beacon frame periods at which an event is triggered next time, so that within the time interval of the number of beacon frame periods You don't need to wake up frequently to parse beacon frames and pay attention to this trigger event. You only need to wake up to parse the corresponding beacon frames after the beacon frame period interval, which avoids the inconvenience caused by frequent parsing of beacon frames. Power waste, to achieve the purpose of power saving.

附图说明 Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the descriptions of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only of the present invention. For some embodiments, those skilled in the art can also obtain other drawings based on these drawings without creative efforts.

图1为本发明实施例一提供的方法流程图;FIG. 1 is a flowchart of a method provided by Embodiment 1 of the present invention;

图2为本发明实施例二提供的方法流程图;FIG. 2 is a flow chart of the method provided by Embodiment 2 of the present invention;

图3为本发明实施例三提供的方法流程图;FIG. 3 is a flow chart of the method provided by Embodiment 3 of the present invention;

图4为本发明实施例三提供的扩展后的元素字段结构图;FIG. 4 is a structure diagram of an extended element field provided by Embodiment 3 of the present invention;

图5为本发明实施例三提供的扩展后的元素字段结构图;FIG. 5 is a structure diagram of an extended element field provided by Embodiment 3 of the present invention;

图6为本发明实施例四提供的方法流程图;FIG. 6 is a flowchart of a method provided by Embodiment 4 of the present invention;

图7为本发明实施例四提供的元素字段结构图;FIG. 7 is a structure diagram of an element field provided by Embodiment 4 of the present invention;

图8、图9为本发明实施例四提供的重定义后的元素字段结构图;FIG. 8 and FIG. 9 are structure diagrams of element fields after redefinition provided by Embodiment 4 of the present invention;

图10、图11为本发明实施例五提供的装置结构示意图;Figure 10 and Figure 11 are schematic structural diagrams of the device provided by Embodiment 5 of the present invention;

图12为本发明实施例六提供的发射机结构示意图;FIG. 12 is a schematic structural diagram of a transmitter provided by Embodiment 6 of the present invention;

图13、图14为本发明实施例七提供的装置结构示意图;Figure 13 and Figure 14 are schematic structural diagrams of the device provided by Embodiment 7 of the present invention;

图15为本发明实施例八提供的发射机结构示意图。FIG. 15 is a schematic structural diagram of a transmitter provided by Embodiment 8 of the present invention.

具体实施方式 Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

为使本发明技术方案的优点更加清楚,下面结合附图和实施例对本发明作详细说明。In order to make the advantages of the technical solution of the present invention clearer, the present invention will be described in detail below in conjunction with the accompanying drawings and embodiments.

实施例一Embodiment one

本实施例提供一种元素字段的定义方法,如图1所示,所述方法包括:This embodiment provides a method for defining an element field, as shown in FIG. 1 , the method includes:

101、为元素字段添加信标数目或者添加信标数目和目标站点,其中,所述信标数目用于指示站点从接收到所述元素字段所属的信标帧到被触发事件发生所间隔的信标帧周期数目,所述元素字段从字段头至字段尾依次为元素标识号、长度和被触发事件内容。101. Add the number of beacons to the element field or add the number of beacons and the target station, wherein the number of beacons is used to indicate the interval between the station receiving the beacon frame to which the element field belongs and the occurrence of the triggered event. The number of frame marking cycles, the element field is the element identification number, length, and the content of the triggered event in sequence from the field head to the field end.

102、将携带所述元素字段的信标帧进行广播。102. Broadcast a beacon frame carrying the element field.

可选的,所述为元素字段添加信标数目或者添加信标数目和目标站点包括:Optionally, adding the number of beacons to the element field or adding the number of beacons and the target site includes:

当所述元素字段包括的被触发事件内容是应用于关联到接入点AP的所有站点时,为所述元素字段添加信标数目;When the triggered event content included in the element field is applied to all stations associated with the access point AP, add the number of beacons to the element field;

当所述元素字段包括的被触发事件内容是应用于关联到AP的特定站点时,为所述元素字段添加信标数目和目标站点,所述目标站点用于指示所述特定站点对所述被触发事件内容进行检测和响应,所述特定站点之外的其余站点忽略所述被触发事件内容。When the content of the triggered event included in the element field is applied to a specific station associated with the AP, add a beacon number and a target station to the element field, and the target station is used to indicate that the specific station is sensitive to the The content of the triggering event is detected and responded to, and the rest of the sites other than the specific site ignore the content of the triggered event.

其中,当仅为所述元素字段添加所述信标数目时,所述元素字段从字段头至字段尾依次为元素标识号、长度、信标数目和被触发事件内容;Wherein, when only the number of beacons is added to the element field, the element field is the element identification number, length, number of beacons, and the content of the triggered event in sequence from the field head to the end of the field;

当为所述元素字段添加所述信标数目和所述目标站点时,所述元素字段从字段头至字段尾依次为元素标识号、长度、目标站点、信标数目和被触发事件内容。When the number of beacons and the target site are added to the element field, the element field includes element identification number, length, target site, number of beacons and content of the triggered event in sequence from the field head to the end of the field.

其中,所述被触发事件内容包括:下行数据传输和/或上行数据传输。Wherein, the content of the triggered event includes: downlink data transmission and/or uplink data transmission.

其中,所述信标数目的内容包括:自然数;所述目标站点的内容包括:站点组号、用户关联身份标识号码ID或介质访问控制MAC地址。Wherein, the content of the number of beacons includes: a natural number; the content of the target site includes: a site group number, a user-associated identification number ID or a media access control MAC address.

与现有技术相比,本发明实施例通过为元素字段添加信标数目或者添加信标数目和目标站点,并在无线局域网广播携带该元素字段的信标帧,使得站点(终端)在接收到携带该元素字段信标帧后,解析所述元素字段获取信标数目,进而可以获得某一事件下一次被触发所间隔的信标帧周期数目,从而在此信标帧周期数目的时间间隔内不用频繁地醒来去解析信标帧关注此触发事件,只需在经过信标帧周期时间间隔后醒来去解析相应的信标帧即可,避免了站点频繁地解析信标帧带来的功率浪费,达到省电的目的。Compared with the prior art, the embodiment of the present invention adds the number of beacons to the element field or adds the number of beacons and the target station, and broadcasts the beacon frame carrying the element field on the wireless local area network, so that the station (terminal) receives After carrying the beacon frame of the element field, parse the element field to obtain the number of beacons, and then obtain the number of beacon frame periods at which an event is triggered next time, so that within the time interval of the number of beacon frame periods You don't need to wake up frequently to parse beacon frames and pay attention to this trigger event. You only need to wake up to parse the corresponding beacon frames after the beacon frame period interval, which avoids the inconvenience caused by frequent parsing of beacon frames. Power waste, to achieve the purpose of power saving.

实施例二Embodiment two

本实施例提供一种元素字段的定义方法,如图2所示,所述方法包括:This embodiment provides a method for defining an element field, as shown in FIG. 2 , the method includes:

201、将元素字段的元素标识号重定义为元素类型标识号和子元素标识号,重新定义之后的元素字段所表示的内容由元素类型标识号和子元素标识号共同确定。201. Redefine the element identification number of the element field as an element type identification number and a sub-element identification number, and the content represented by the redefined element field is jointly determined by the element type identification number and the sub-element identification number.

202、将携带所述元素字段的信标帧进行广播。202. Broadcast a beacon frame carrying the element field.

可选的,当信标帧中包含有属于同一元素类型的多个元素字段时,把所述多个元素字段放在同一个元素类型标识号下作为子元素字段进行指示。Optionally, when the beacon frame contains multiple element fields belonging to the same element type, put the multiple element fields under the same element type identification number as sub-element fields for indication.

可选的,重定义后的元素字段从字段头至字段尾依次为:元素类型标识号、总长度、子元素标识号1、长度1,直至表示到子元素标识号n、长度n、子元素的内容n,其中,n为属于同一元素类型的元素字段总数目。Optionally, the redefined element fields from the field head to the end of the field are: element type identification number, total length, sub-element identification number 1, length 1, until the sub-element identification number n, length n, sub-element The content of n, where n is the total number of element fields belonging to the same element type.

与现有技术相比,本发明实施例通过将元素标识号重定义为元素类型标识号和子元素标识号,从而扩展了元素标识号的实际使用数目,并且方便了站点对同一类型的元素字段之间的解析,如果站点不支持或者未启用某一类型的元素字段,那么直接可以将属于这一类型的所有元素字段都进行忽略,避免了需要对每一个元素字段都进行解析带来的功率浪费,达到省电的目的。Compared with the prior art, the embodiment of the present invention redefines the element identification number as an element type identification number and a sub-element identification number, thereby expanding the actual number of element identification numbers used, and facilitating the site to identify elements of the same type. If the site does not support or enable a certain type of element field, then all element fields of this type can be ignored directly, avoiding the waste of power caused by parsing each element field , to achieve the purpose of power saving.

实施例三Embodiment Three

本实施例提供一种元素字段的定义方法,如图3所示,所述方法包括:This embodiment provides a method for defining an element field, as shown in FIG. 3 , the method includes:

301、判断当前元素字段对应的事件是否应用于关联到AP的全部站点。301. Determine whether the event corresponding to the current element field is applied to all stations associated with the AP.

302、若应用于关联到AP的全部站点,在元素字段中添加信标数目。302. If it is applied to all stations associated with the AP, add the number of beacons in the element field.

例如,如图4所示,在原始的元素字段结构中添加信标数目,将信标数目添加到长度和被触发事件内容之间,信标数目可以占用1个字节,信标数目表示站点在接收到元素字段所属的信标帧到被触发事件发生所间隔的信标帧周期数目,即站点在接收到信标帧后间隔多久才会响应信标帧中所指示的被触发事件。信标数目为自然数,例如,0、1、2、3等。For example, as shown in Figure 4, the number of beacons is added to the original element field structure, and the number of beacons is added between the length and the content of the triggered event. The number of beacons can occupy 1 byte, and the number of beacons indicates the station The number of beacon frame periods between receiving the beacon frame to which the element field belongs and the occurrence of the triggered event, that is, how long it takes for the station to respond to the triggered event indicated in the beacon frame after receiving the beacon frame. The number of beacons is a natural number, for example, 0, 1, 2, 3 and so on.

例如,以信标数目=3为例,站点在接收到信标帧后,解析所述信标帧中的元素字段获知信标数目为3,表示3个信标帧周期后站点需要对元素字段的被触发事件进行响应,那么下一个信标帧周期,站点就可以进行省电状态,等到3个信标帧周期过后再醒来,对信标帧中包括的被触发事件进行响应,在这个流程中,站点不用每个信标帧周期都醒来去解析信标帧,节省了3个信标帧周期所耗费的电量,对于传感器网络,用户的业务周期往往是很长的,甚至达到几个小时或者几天,使用信标数目对站点进行指示可以节省大量的电量。For example, taking the number of beacons = 3 as an example, after receiving the beacon frame, the station parses the element field in the beacon frame and learns that the number of beacons is 3, which means that the station needs to update the element field after 3 beacon frame periods. To respond to the triggered event, then the next beacon frame period, the station can enter the power saving state, wait until the 3 beacon frame periods have passed before waking up, and respond to the triggered event included in the beacon frame, in this In the process, the site does not need to wake up every beacon frame period to parse the beacon frame, which saves the power consumption of 3 beacon frame periods. For sensor networks, the user's service period is often very long, even reaching several Using the number of beacons to indicate a station can save a lot of power over hours or days.

可选的,结合实施例二,当为所述元素字段添加信标数目时,重定义后的元素字段从字段头至字段尾依次为:元素类型标识号、总长度、子元素标识号1、长度1、信标数目1、子元素的内容1、…、子元素标识号n、长度n、信标数目n和子元素的内容n,其中,n为属于同一元素类型的元素字段的数目。Optionally, in combination with Embodiment 2, when adding the number of beacons to the element field, the redefined element field from the field header to the field tail is as follows: element type identification number, total length, sub-element identification number 1, Length 1, beacon number 1, sub-element content 1, ..., sub-element identification number n, length n, beacon number n, and sub-element content n, where n is the number of element fields belonging to the same element type.

303、若仅应用于关联到AP的部分站点,在元素字段中添加目标站点和信标数目。303. If it is only applied to some stations associated with the AP, add the target station and the number of beacons in the element field.

其中,此步骤主要针对信标帧中的触发事件仅应用于关联到AP的部分站点的情况。Wherein, this step is mainly aimed at the situation that the trigger event in the beacon frame is only applied to some stations associated with the AP.

例如,如图5所示,在原始的元素字段结构中添加目标站点和信标数目,所述元素字段从字段头至字段尾依次为元素标识号、长度、目标站点、信标数目和被触发事件内容。其中,信标数目可以占用1个字节,信标数目表示站点在接收到元素字段所属的信标帧到被触发事件发生所间隔的信标帧周期数目,即站点在接收到信标帧后间隔多久才会响应信标帧中所指示的被触发事件。信标数目为自然数,例如,0、1、2、3等。目标站点可以占用一个或多个字节,目标站点主要由站点组号、用户ID或用户的MAC地址组成,当AP仅需要部分站点对信标帧中元素字段包括的被触发事件进行响应时,向站点广播包含目标站点的信标帧,站点在接收到信标帧并解析到目标站点部分时,能够确定此信标帧包括的内容是否为针对自身的,如果不是针对自身的,那么站点就可以对此信标帧进行忽略,进而再结合信标数目就可以实现对触发事件所针对的站点的省电控制。For example, as shown in Figure 5, the target site and the number of beacons are added to the original element field structure, and the element fields are element identification number, length, target site, number of beacons, and triggered events in sequence from the field head to the end of the field content. Among them, the number of beacons can occupy 1 byte, and the number of beacons indicates the number of beacon frame periods between when the station receives the beacon frame to which the element field belongs and when the triggered event occurs, that is, after the station receives the beacon frame How often to respond to triggered events indicated in beacon frames. The number of beacons is a natural number, for example, 0, 1, 2, 3 and so on. The target site can occupy one or more bytes. The target site is mainly composed of the site group number, user ID or user MAC address. When the AP only needs some sites to respond to the triggered events included in the element field in the beacon frame, Broadcast the beacon frame containing the target site to the site. When the site receives the beacon frame and parses the part of the target site, it can determine whether the content included in the beacon frame is for itself. If it is not for itself, then the site will The beacon frame can be ignored, and combined with the number of beacons, the power saving control of the station targeted by the trigger event can be realized.

可选的,结合实施例二,当为所述元素字段添加信标数目和目标站点时,重定义后的元素字段从字段头至字段尾依次为:元素类型标识号、总长度、子元素标识号1、长度1、目标站点1、信标数目1、子元素的内容1、…、子元素标识号n、长度n、目标站点n、信标数目n和子元素的内容n,其中,n为属于同一元素类型的元素字段的数目。Optionally, in combination with Embodiment 2, when adding the number of beacons and the target site to the element field, the redefined element field from the field header to the field tail is as follows: element type identification number, total length, sub-element identification number 1, length 1, target site 1, number of beacons 1, content of sub-element 1, ..., identification number of sub-element n, length n, target site n, number of beacons n and content of sub-element n, where n is The number of element fields that belong to the same element type.

304、将携带修改后的元素字段的信标帧进行广播。304. Broadcast the beacon frame carrying the modified element field.

与现有技术相比,本发明实施例根据信标帧所面向的站点情况为元素字段添加信标数目或者添加信标数目和目标站点,并在无线局域网广播携带该元素字段的信标帧,使得站点在接收到携带该元素字段信标帧后,解析所述元素字段并获取信标数目,进而可以获得某一事件下一次被触发所间隔的信标帧周期数目,从而在此信标帧周期数目的时间间隔内不用频繁地醒来去解析信标帧关注此触发事件,只需在经过信标帧周期时间间隔后醒来去解析相应的信标帧即可,避免了站点频繁地解析信标帧带来的功率浪费,达到省电的目的。Compared with the prior art, the embodiment of the present invention adds the number of beacons or adds the number of beacons and the target site to the element field according to the site conditions of the beacon frame, and broadcasts the beacon frame carrying the element field on the wireless local area network, After the station receives the beacon frame carrying the element field, it parses the element field and obtains the number of beacons, and then can obtain the number of beacon frame periods between the next triggering of a certain event, so that in this beacon frame It is not necessary to wake up frequently to parse the beacon frame within the time interval of the number of cycles to pay attention to this trigger event, just wake up to parse the corresponding beacon frame after the time interval of the beacon frame cycle, avoiding frequent parsing by the site The power waste caused by the beacon frame achieves the purpose of power saving.

实施例四Embodiment Four

本实施例提供一种元素字段的定义方法,如图6所示,所述方法包括:This embodiment provides a method for defining an element field, as shown in FIG. 6, the method includes:

401、对元素字段中的元素标识号进行重定义。401. Redefine the element identification number in the element field.

例如,如图7所示,现有的元素字段的格式包括元素标识号、长度和被触发事件内容三部分,其中,元素标识号用于表示该元素字段是关于哪个事件的,长度用于表示改元素字段所占用的数据长度,被触发事件内容用于表示具体的事件内容,可选的,被触发事件内容可以为上行数据传输、下行数据传输或其他类似的触发事件等。For example, as shown in Figure 7, the format of the existing element field includes three parts: element identification number, length, and content of the triggered event, where the element identification number is used to indicate which event the element field is about, and the length is used to indicate Changing the data length occupied by the element field, the content of the triggered event is used to represent the specific content of the event. Optionally, the content of the triggered event can be uplink data transmission, downlink data transmission or other similar trigger events.

进一步的,为了扩展元素标识的数量,可以将元素标识号分成元素类型标识号和子元素标识号两部分。一个元素标识号下面可以包括若干个子元素标识号,通过元素类型标识号和子元素标识号来共同确定一个元素所表示的内容。Further, in order to expand the number of element identifications, the element identification number can be divided into two parts: an element type identification number and a sub-element identification number. An element identification number may include several sub-element identification numbers, and the content represented by an element is jointly determined by the element type identification number and the sub-element identification number.

例如,修改后的格式可以如图8所示,从字段头到字段尾分别为元素类型标识号、总长度、子元素标识号、子长度、子元素的内容,其中总长度表示从子元素标识号开始到子元素内容结束的长度,子长度标识子元素内容的长度。或者格式如图9所示,从字段头到字段尾分别为元素类型标识号、总长度、子元素标识号、子元素的内容,其中总长度表示从子元素标识号开始到子元素内容结束的长度。For example, the modified format can be shown in Figure 8. From the field header to the end of the field are the element type identification number, the total length, the sub-element identification number, the sub-length, and the content of the sub-element, where the total length represents the sub-element identification The length from the beginning of the number to the end of the content of the sub-element, and the sub-length identifies the length of the content of the sub-element. Or the format is as shown in Figure 9, from the field head to the end of the field are the element type identification number, total length, sub-element identification number, and content of the sub-element, where the total length represents the length from the sub-element identification number to the end of the sub-element content length.

需要说明的是,上述的重定义方法能够带来两点好处,一方面,由于当前总的元素标识号为256个,对元素标识号的使用具有很大的限制,上述对元素标识号的重定义方法能够极大的扩充元素标识号的数目,理论上可以达到为256×256个元素字段编号;另一方面,当前的元素字段解析过程中,站点在接收到信标帧后,需要对信标帧中所有的元素字段的元素标识号进行解析,以确认该元素字段的内容是否与自身相关,这个过程造成了功率浪费。上述的重定义方法将具有相同类型的元素字段组合到一起,如果站点不支持或者没有启用某一类型的元素字段,则可以根据元素类型标识号将这一类型的多个元素字段全部忽略,加快了解析效率,并节省了功率。It should be noted that the above redefinition method can bring two benefits. On the one hand, since the current total number of element identification numbers is 256, there are great restrictions on the use of element identification numbers. The definition method can greatly expand the number of element identification numbers, which can theoretically reach 256×256 element field numbers; on the other hand, in the current element field parsing process, after the station receives the beacon frame, it needs to The element identification numbers of all the element fields in the frame are analyzed to confirm whether the content of the element field is related to itself, and this process causes power waste. The above redefinition method combines element fields of the same type. If the site does not support or enable a certain type of element field, you can ignore all the multiple element fields of this type according to the element type identification number to speed up Improve the analysis efficiency and save power.

进一步的,考虑和未来协议的兼容性问题。在需要兼容的情况下,元素类型标识号可以当作元素标识号来使用,长度定为1个字节(byte),再根据需要确定子元素标识号的长度,例如,可以为1个字节;在不需要兼容的情况下,元素类型标识号的长度和子元素标识号的长度都可以根据具体的需要来设定。Further, consider compatibility issues with future protocols. In the case of compatibility, the element type identification number can be used as the element identification number, and the length is set to 1 byte (byte), and then the length of the sub-element identification number is determined according to the needs, for example, it can be 1 byte ; If compatibility is not required, the length of the element type identification number and the length of the sub-element identification number can be set according to specific needs.

402、将携带重定义后的元素字段的信标帧进行广播。402. Broadcast the beacon frame carrying the redefined element field.

与现有技术相比,本发明实施例通过将元素标识号重定义为元素类型标识号和子元素标识号,从而扩展了元素标识号的实际使用数目,并且方便了站点对同一类型的元素字段之间的解析,如果站点不支持或者未启用某一类型的元素字段,那么直接可以将属于这一类型的所有元素字段都进行忽略,避免了需要对每一个元素字段都进行解析带来的功率浪费,达到省电的目的。Compared with the prior art, the embodiment of the present invention redefines the element identification number as an element type identification number and a sub-element identification number, thereby expanding the number of actual use of element identification numbers, and making it convenient for the site to identify elements of the same type. If the site does not support or enable a certain type of element field, then all element fields of this type can be ignored directly, avoiding the power waste caused by parsing each element field , to achieve the purpose of power saving.

实施例五Embodiment five

本实施例提供一种元素字段的定义装置50,如图10所示,所述装置50包括:This embodiment provides an element field definition device 50. As shown in FIG. 10, the device 50 includes:

添加单元51,用于为元素字段添加信标数目或者添加信标数目和目标站点,其中,所述信标数目用于指示站点从接收到所述元素字段所属的信标帧到被触发事件发生所间隔的信标帧周期数目,所述元素字段从字段头至字段尾依次为元素标识号、长度和被触发事件内容;Adding unit 51, configured to add a beacon number or add a beacon number and a target station to the element field, wherein the beacon number is used to indicate that the station receives the beacon frame to which the element field belongs to the triggered event occurs The interval number of beacon frame periods, the element field from the field head to the field end is the element identification number, length and the content of the triggered event in sequence;

广播单元52,用于将携带所述元素字段的信标帧进行广播。The broadcasting unit 52 is configured to broadcast the beacon frame carrying the element field.

可选的,如图11所示,所述添加单元51包括:Optionally, as shown in Figure 11, the adding unit 51 includes:

第一添加子单元511,用于当所述元素字段包括的被触发事件内容是应用于关联到接入点AP的所有站点时,为所述元素字段添加信标数目;The first adding subunit 511 is configured to add the number of beacons to the element field when the content of the triggered event included in the element field is applied to all stations associated with the access point AP;

第二添加子单元512,用于当所述元素字段包括的被触发事件内容是应用于关联到AP的特定站点时,为所述元素字段添加信标数目和目标站点,所述目标站点用于指示所述特定站点对所述被触发事件内容进行检测和响应,所述特定站点之外的其余站点忽略所述被触发事件内容。The second adding subunit 512 is configured to add the number of beacons and a target site to the element field when the content of the triggered event included in the element field is applied to a specific site associated with the AP, and the target site is used for The specific site is instructed to detect and respond to the content of the triggered event, and other sites other than the specific site ignore the content of the triggered event.

其中,当所述第一添加子单元511为所述元素字段添加所述信标数目时,所述元素字段从字段头至字段尾依次为元素标识号、长度、信标数目和被触发事件内容;Wherein, when the first adding subunit 511 adds the number of beacons to the element field, the element field from the field head to the end of the field is the element identification number, length, number of beacons and the content of the triggered event ;

当所述第二添加子单元512为所述元素字段添加所述信标数目和所述目标站点时,所述元素字段从字段头至字段尾依次为元素标识号、长度、目标站点、信标数目和被触发事件内容。When the second adding subunit 512 adds the number of beacons and the target site to the element field, the element field from the field head to the end of the field is the element identification number, length, target site, beacon The number and content of the triggered event.

其中,所述被触发事件内容包括:下行数据传输和/或上行数据传输。Wherein, the content of the triggered event includes: downlink data transmission and/or uplink data transmission.

其中,所述信标数目的内容包括:自然数;所述目标站点的内容包括:站点组号、用户关联身份标识号码ID或介质访问控制MAC地址。Wherein, the content of the number of beacons includes: a natural number; the content of the target site includes: a site group number, a user-associated identification number ID or a media access control MAC address.

与现有技术相比,本发明实施例通过为元素字段添加信标数目或者添加信标数目和目标站点,并在无线局域网广播携带该元素字段的信标帧,使得站点(终端)在接收到携带该元素字段信标帧后,解析所述元素字段获取信标数目,进而可以获得某一事件下一次被触发所间隔的信标帧周期数目,从而在此信标帧周期数目的时间间隔内不用频繁地醒来去解析信标帧关注此触发事件,只需在经过信标帧周期时间间隔后醒来去解析相应的信标帧即可,避免了站点频繁地解析信标帧带来的功率浪费,达到省电的目的。Compared with the prior art, the embodiment of the present invention adds the number of beacons to the element field or adds the number of beacons and the target station, and broadcasts the beacon frame carrying the element field on the wireless local area network, so that the station (terminal) receives After carrying the beacon frame of the element field, parse the element field to obtain the number of beacons, and then obtain the number of beacon frame periods at which an event is triggered next time, so that within the time interval of the number of beacon frame periods You don't need to wake up frequently to parse beacon frames and pay attention to this trigger event. You only need to wake up to parse the corresponding beacon frames after the beacon frame period interval, which avoids the inconvenience caused by frequent parsing of beacon frames. Power waste, to achieve the purpose of power saving.

实施例六Embodiment six

本实施例提供一种发射机60,如图12所示,所述发射机60包括:This embodiment provides a transmitter 60. As shown in FIG. 12, the transmitter 60 includes:

处理器61,用于为元素字段添加信标数目或者添加信标数目和目标站点,其中,所述信标数目用于指示站点从接收到所述元素字段所属的信标帧到被触发事件发生所间隔的信标帧周期数目,所述元素字段从字段头至字段尾依次为元素标识号、长度和被触发事件内容;Processor 61, configured to add a beacon number or add a beacon number and a target station to the element field, wherein the beacon number is used to indicate that the station receives the beacon frame to which the element field belongs to the occurrence of the triggered event The interval number of beacon frame periods, the element field from the field head to the field end is the element identification number, length and the content of the triggered event in sequence;

发送器62,用于将携带所述元素字段的信标帧进行广播。The transmitter 62 is configured to broadcast the beacon frame carrying the element field.

可选的,所述处理器61还用于:当所述元素字段包括的被触发事件内容是应用于关联到接入点AP的所有站点时,为所述元素字段添加信标数目;当所述元素字段包括的被触发事件内容是应用于关联到AP的特定站点时,为所述元素字段添加信标数目和目标站点,所述目标站点用于指示所述特定站点对所述被触发事件内容进行检测和响应,所述特定站点之外的其余站点忽略所述被触发事件内容。Optionally, the processor 61 is further configured to: add the number of beacons to the element field when the content of the triggered event included in the element field is applied to all stations associated with the access point AP; When the content of the triggered event included in the element field is applied to a specific station associated with the AP, the number of beacons and the target station are added to the element field, and the target station is used to indicate that the specific station responds to the triggered event The content is detected and responded to, and the remaining sites other than the specific site ignore the content of the triggered event.

其中,当所述处理器61为所述元素字段添加所述信标数目时,所述元素字段从字段头至字段尾依次为元素标识号、长度、信标数目和被触发事件内容;当所述处理器61为所述元素字段添加所述信标数目和所述目标站点时,所述元素字段从字段头至字段尾依次为元素标识号、长度、目标站点、信标数目和被触发事件内容。Wherein, when the processor 61 adds the number of beacons to the element field, the element field is the element identification number, length, number of beacons, and the content of the triggered event in sequence from the field head to the field end; when the When the processor 61 adds the number of beacons and the target site to the element field, the element field from the field head to the end of the field is the element identification number, length, target site, number of beacons, and the triggered event content.

其中,所述被触发事件内容包括:下行数据传输和/或上行数据传输。Wherein, the content of the triggered event includes: downlink data transmission and/or uplink data transmission.

其中,所述信标数目的内容包括:自然数;所述目标站点的内容包括:站点组号、用户关联身份标识号码ID或介质访问控制MAC地址。Wherein, the content of the number of beacons includes: a natural number; the content of the target site includes: a site group number, a user-associated identification number ID or a media access control MAC address.

与现有技术相比,本发明实施例通过为元素字段添加信标数目或者添加信标数目和目标站点,并在无线局域网广播携带该元素字段的信标帧,使得站点(终端)在接收到携带该元素字段信标帧后,解析所述元素字段获取信标数目,进而可以获得某一事件下一次被触发所间隔的信标帧周期数目,从而在此信标帧周期数目的时间间隔内不用频繁地醒来去解析信标帧关注此触发事件,只需在经过信标帧周期时间间隔后醒来去解析相应的信标帧即可,避免了站点频繁地解析信标帧带来的功率浪费,达到省电的目的。Compared with the prior art, the embodiment of the present invention adds the number of beacons to the element field or adds the number of beacons and the target station, and broadcasts the beacon frame carrying the element field on the wireless local area network, so that the station (terminal) receives After carrying the beacon frame of the element field, parse the element field to obtain the number of beacons, and then obtain the number of beacon frame periods at which an event is triggered next time, so that within the time interval of the number of beacon frame periods You don't need to wake up frequently to parse beacon frames and pay attention to this trigger event. You only need to wake up to parse the corresponding beacon frames after the beacon frame period interval, which avoids the inconvenience caused by frequent parsing of beacon frames. Power waste, to achieve the purpose of power saving.

实施例七Embodiment seven

本实施例提供一种元素字段的定义装置70,如图13所示,所述装置70包括:This embodiment provides an element field definition device 70, as shown in Figure 13, the device 70 includes:

重定义单元71,用于将元素字段的元素标识号重定义为元素类型标识号和子元素标识号,重新定义之后的元素字段所表示的内容由元素类型标识号和子元素标识号共同确定;The redefinition unit 71 is used to redefine the element identification number of the element field into an element type identification number and a sub-element identification number, and the content represented by the redefined element field is jointly determined by the element type identification number and the sub-element identification number;

广播单元72,用于将携带所述元素字段的信标帧进行广播。The broadcast unit 72 is configured to broadcast the beacon frame carrying the element field.

进一步的,如图14所示,所述装置70还包括:指示单元73,用于当信标帧中包含有属于同一元素类型的多个元素字段时,把所述多个元素字段放在同一个元素类型标识号下作为子元素字段进行指示。Further, as shown in FIG. 14 , the device 70 further includes: an indicating unit 73, configured to place the multiple element fields in the same element type when the beacon frame contains multiple element fields of the same element type. An element type identification number is indicated as a sub-element field.

其中,重定义后的元素字段从字段头至字段尾依次为:元素类型标识号、总长度、子元素标识号1、长度1,直至表示到子元素标识号n、长度n、子元素的内容n,其中,n为属于同一元素类型的元素字段总数目。Among them, the redefined element fields from the field head to the end of the field are: element type identification number, total length, sub-element identification number 1, length 1, until the sub-element identification number n, length n, and the content of the sub-element n, where n is the total number of element fields belonging to the same element type.

与现有技术相比,本发明实施例通过将元素标识号重定义为元素类型标识号和子元素标识号,从而扩展了元素标识号的实际使用数目,并且方便了站点对同一类型的元素字段之间的解析,如果站点不支持或者未启用某一类型的元素字段,那么直接可以将属于这一类型的所有元素字段都进行忽略,避免了需要对每一个元素字段都进行解析带来的功率浪费,达到省电的目的。Compared with the prior art, the embodiment of the present invention redefines the element identification number as an element type identification number and a sub-element identification number, thereby expanding the actual number of element identification numbers used, and facilitating the site to identify elements of the same type. If the site does not support or enable a certain type of element field, then all element fields of this type can be ignored directly, avoiding the waste of power caused by parsing each element field , to achieve the purpose of power saving.

实施例八Embodiment Eight

本实施例提供一种发射机80,如图15所示,所述发射机80包括:This embodiment provides a transmitter 80. As shown in FIG. 15, the transmitter 80 includes:

处理器81,用于将元素字段的元素标识号重定义为元素类型标识号和子元素标识号,重新定义之后的元素字段所表示的内容由所述元素类型标识号和所述子元素标识号共同确定;Processor 81, configured to redefine the element identification number of the element field into an element type identification number and a sub-element identification number, and the content represented by the redefined element field is determined by the element type identification number and the sub-element identification number Sure;

发送器82,用于将携带所述元素字段的信标帧进行广播。The transmitter 82 is configured to broadcast the beacon frame carrying the element field.

可选的,所述处理器81还用于:当信标帧中包含有属于同一元素类型的多个元素字段时,把所述多个元素字段放在同一个元素类型标识号下作为子元素字段进行指示。Optionally, the processor 81 is further configured to: when the beacon frame contains multiple element fields belonging to the same element type, put the multiple element fields under the same element type identification number as a sub-element field to indicate.

其中,重定义后的元素字段从字段头至字段尾依次为:元素类型标识号、总长度、子元素标识号1、长度1,直至表示到子元素标识号n、长度n、子元素的内容n,其中,n为属于同一元素类型的元素字段总数目。Among them, the redefined element fields from the field head to the end of the field are: element type identification number, total length, sub-element identification number 1, length 1, until the sub-element identification number n, length n, and the content of the sub-element n, where n is the total number of element fields belonging to the same element type.

与现有技术相比,本发明实施例通过将元素标识号重定义为元素类型标识号和子元素标识号,从而扩展了元素标识号的实际使用数目,并且方便了站点对同一类型的元素字段之间的解析,如果站点不支持或者未启用某一类型的元素字段,那么直接可以将属于这一类型的所有元素字段都进行忽略,避免了需要对每一个元素字段都进行解析带来的功率浪费,达到省电的目的。Compared with the prior art, the embodiment of the present invention redefines the element identification number as an element type identification number and a sub-element identification number, thereby expanding the actual number of element identification numbers used, and facilitating the site to identify elements of the same type. If the site does not support or enable a certain type of element field, then all element fields of this type can be ignored directly, avoiding the waste of power caused by parsing each element field , to achieve the purpose of power saving.

本发明实施例提供的元素字段的定义装置可以实现上述提供的方法实施例,具体功能实现请参见方法实施例中的说明,在此不再赘述。本发明实施例提供的元素字段的定义方法及装置可以适用于无线局域网系统中的接入点与站点的交互,但不仅限于此。The device for defining an element field provided by the embodiment of the present invention can implement the method embodiment provided above. For specific function implementation, please refer to the description in the method embodiment, which will not be repeated here. The method and device for defining an element field provided by the embodiments of the present invention can be applied to the interaction between an access point and a station in a wireless local area network system, but is not limited thereto.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the programs can be stored in a computer-readable storage medium. During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM), etc.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. All should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.

Claims (16)

1. a define method for element field, is characterized in that, comprising:
For element field is added number of beacons or is added number of beacons and targeted sites, wherein, described number of beacons is used to indicate website and occurs to the event that is triggered from receiving beacon frame under described element field the beacon frame number of cycles at institute interval, and described element field is followed successively by component identification number, length and the event content that is triggered from field head to field tail;
The beacon frame that carries described element field is broadcasted.
2. method according to claim 1, is characterized in that, described add number of beacons or add number of beacons and targeted sites for element field comprise:
The event content that is triggered comprising when described element field is while being applied to all websites that are associated with access point AP, for described element field is added number of beacons;
The event content that is triggered comprising when described element field is while being applied to the particular station that is associated with AP, for described element field is added number of beacons and targeted sites, described targeted sites is used to indicate described particular station the described event content that is triggered is carried out to detection and response, the event content that is triggered described in ignoring of all the other websites outside described particular station.
3. method according to claim 1, is characterized in that, when only, for described element field is while adding described number of beacons, described element field is followed successively by component identification number, length, number of beacons and the event content that is triggered from field head to field tail;
When for described element field is while adding described number of beacons and described targeted sites, described element field is followed successively by component identification number, length, targeted sites, number of beacons and the event content that is triggered from field head to field tail.
4. according to the method described in claim 1-3 any one, it is characterized in that, described in the event content that is triggered comprise: downlink data transmission and/or transmitting uplink data.
5. according to the method described in claim 1-3 any one, it is characterized in that, the content of described number of beacons comprises: natural number; The content of described targeted sites comprises: website group number, user-association identify label number ID or medium access control MAC Address.
6. a define method for element field, is characterized in that, comprising:
The component identification of element field number is redefined as element type identification number and daughter element identification number, and the represented content of element field after redefining is determined jointly by described element type identification number and described daughter element identification number;
The beacon frame that carries described element field is broadcasted.
7. method according to claim 6, is characterized in that, in the time including the multiple element field that belongs to identity element type in beacon frame, described multiple element field is placed under same element type identification number and is indicated as daughter element field.
8. method according to claim 7, it is characterized in that, element field after redefining is followed successively by from field head to field tail: element type identification number, total length, daughter element identification number 1, length 1, until represent to the content n of daughter element identification number n, length n, daughter element, wherein, n is the element field total number that belongs to identity element type.
9. a definition device for element field, is characterized in that, comprising:
Adding device, be used to element field to add number of beacons or add number of beacons and targeted sites, wherein, described number of beacons is used to indicate website and occurs to the event that is triggered from receiving beacon frame under described element field the beacon frame number of cycles at institute interval, and described element field is followed successively by component identification number, length and the event content that is triggered from field head to field tail;
Radio unit, for broadcasting the beacon frame that carries described element field.
10. the definition device of element field according to claim 9, is characterized in that, described adding device comprises:
First adds subelement, is while being applied to all websites that are associated with access point AP for the event content that is triggered comprising when described element field, for described element field is added number of beacons;
Second adds subelement, while being applied to the particular station that is associated with AP for the event content that is triggered comprising when described element field, for described element field is added number of beacons and targeted sites, described targeted sites is used to indicate described particular station the described event content that is triggered is carried out to detection and response, the event content that is triggered described in ignoring of all the other websites outside described particular station.
The definition device of 11. element field according to claim 9, it is characterized in that, to add subelement be described element field while adding described number of beacons when described first, and described element field is followed successively by component identification number, length, number of beacons and the event content that is triggered from field head to field tail;
To add subelement be described element field while adding described number of beacons and described targeted sites when described second, and described element field is followed successively by component identification number, length, targeted sites, number of beacons and the event content that is triggered from field head to field tail.
12. according to the definition device of the element field described in claim 9-11 any one, it is characterized in that, described in the event content that is triggered comprise: downlink data transmission and/or transmitting uplink data.
13. according to the definition device of the element field described in claim 9-11 any one, it is characterized in that, the content of described number of beacons comprises: natural number; The content of described targeted sites comprises: website group number, user-association identify label number ID or medium access control MAC Address.
The definition device of 14. 1 kinds of element field, is characterized in that, comprising:
Redefine unit, for the component identification of element field number being redefined into element type identification number and daughter element identification number, the represented content of element field after redefining is determined jointly by described element type identification number and described daughter element identification number;
Radio unit, for broadcasting the beacon frame that carries described element field.
The definition device of 15. element field according to claim 14, is characterized in that, also comprises:
Indicating member, when including when beacon frame the multiple element field that belongs to identity element type, is placed on described multiple element field under same element type identification number and indicates as daughter element field.
The definition device of 16. element field according to claim 15, it is characterized in that, element field after redefining is followed successively by from field head to field tail: element type identification number, total length, daughter element identification number 1, length 1, until represent to the content n of daughter element identification number n, length n, daughter element, wherein, n is the element field total number that belongs to identity element type.
CN201210407258.4A 2012-10-23 2012-10-23 Definition method of element field and device Pending CN103781153A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201210407258.4A CN103781153A (en) 2012-10-23 2012-10-23 Definition method of element field and device
PCT/CN2013/073491 WO2014063467A1 (en) 2012-10-23 2013-03-29 Method and device for defining element field

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210407258.4A CN103781153A (en) 2012-10-23 2012-10-23 Definition method of element field and device

Publications (1)

Publication Number Publication Date
CN103781153A true CN103781153A (en) 2014-05-07

Family

ID=50543945

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210407258.4A Pending CN103781153A (en) 2012-10-23 2012-10-23 Definition method of element field and device

Country Status (2)

Country Link
CN (1) CN103781153A (en)
WO (1) WO2014063467A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018014698A1 (en) * 2016-07-19 2018-01-25 华为技术有限公司 Scheduling method, access point, and station
WO2018152961A1 (en) * 2017-02-22 2018-08-30 华为技术有限公司 Information transmission method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050036475A1 (en) * 2003-06-24 2005-02-17 Sony Corporation Wireless communication apparatus, wireless communication method, and computer program
CN101189833A (en) * 2005-06-16 2008-05-28 诺基亚公司 Scheduling Data Transmissions in Wireless Networks to Improve Power Efficiency

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2115943B1 (en) * 2007-02-27 2018-04-04 Thomson Licensing Method and apparatus for power management in wlan
US9264992B2 (en) * 2009-09-22 2016-02-16 Samsung Electronics Co., Ltd. Method and system for announcement time of idle timeout for power saving operations in wireless networks
US8774021B2 (en) * 2009-12-10 2014-07-08 Nokia Corporation Data-related task support in wireless communication systems

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050036475A1 (en) * 2003-06-24 2005-02-17 Sony Corporation Wireless communication apparatus, wireless communication method, and computer program
CN101189833A (en) * 2005-06-16 2008-05-28 诺基亚公司 Scheduling Data Transmissions in Wireless Networks to Improve Power Efficiency

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018014698A1 (en) * 2016-07-19 2018-01-25 华为技术有限公司 Scheduling method, access point, and station
US11375454B2 (en) 2016-07-19 2022-06-28 Huawei Technologies Co., Ltd. Scheduling method, access point, and station
US12225466B2 (en) 2016-07-19 2025-02-11 Huawei Technologies Co., Ltd. Scheduling method, access point, and station
WO2018152961A1 (en) * 2017-02-22 2018-08-30 华为技术有限公司 Information transmission method and device

Also Published As

Publication number Publication date
WO2014063467A1 (en) 2014-05-01

Similar Documents

Publication Publication Date Title
CN108541047B (en) Indication method and device for downlink service data
US11039375B2 (en) Method for transferring information between base station and terminal, base station, terminal, and system
US9462549B2 (en) Systems and methods for optimizing power consumption associated with processing group addressed messages
US20160100361A1 (en) Communication methods and communication devices
WO2018076988A1 (en) Wakeup method and apparatus
CN107787029A (en) The transmission method and device of wake-up association in a kind of WLAN
CN103313201A (en) Traffic indication information transmission method and device
WO2017133462A1 (en) System message update indication method, device, and system
CN109548120B (en) Communication method and device of wireless local area network, station equipment and access point equipment
CN103686881A (en) Method, equipment and system for channel switching
WO2009084874A1 (en) Method of transmitting and receiving a paging message in a mobile communication system
WO2018099315A1 (en) Station association method and device
US10306556B2 (en) Access point notification of wireless stations about availability of data
EP2840838B1 (en) Network discovery method, access point, and terminal device
CN104038978B (en) Transmission processing, receiving handling method and the device of business instruction information
EP3048856B1 (en) Station access management device and method for wireless local area network
CN103781153A (en) Definition method of element field and device
CN108632959A (en) A kind of website awakening method and targeted sites
CN103209479A (en) Method, device and system for transmitting paging message

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140507