WO2014146440A1 - Service discovery method, access point, and station - Google Patents

Service discovery method, access point, and station Download PDF

Info

Publication number
WO2014146440A1
WO2014146440A1 PCT/CN2013/087219 CN2013087219W WO2014146440A1 WO 2014146440 A1 WO2014146440 A1 WO 2014146440A1 CN 2013087219 W CN2013087219 W CN 2013087219W WO 2014146440 A1 WO2014146440 A1 WO 2014146440A1
Authority
WO
WIPO (PCT)
Prior art keywords
service information
service
broadcast
broadcast frame
information group
Prior art date
Application number
PCT/CN2013/087219
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 WO2014146440A1 publication Critical patent/WO2014146440A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/189Arrangements for providing special services to substations for broadcast or conference, e.g. multicast in combination with wireless systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a service discovery method, an access point, and a site. Background technique
  • Wireless Local Area Network usually adopts service discovery based on Access Point (AP), that is, the site needs to be first and After the AP associates with the establishment of the communication link, it knows which services the AP can provide.
  • AP Access Point
  • the method of actively discovering the service means that the STA actively sends a service request to the service device. If the service device can provide the service required by the STA, the service response is sent to the STA.
  • the passive discovery service means that the STA waits for and receives the service device broadcast service information, and finds the service information it needs.
  • the process of passive service discovery is as follows:
  • the AP broadcasts the service information in a broadcast frame, for example, broadcasts through a beacon, and the STA discovers the desired service information by receiving a broadcast frame.
  • the AP broadcasts all service information in a beacon, it will cause a high channel occupancy rate in a certain period of time. Assuming that more than one AP is broadcasting information at the same time, it is likely to cause collision of information. When a collision occurs, all service information will be lost and only the next beacon (Beacon) will be waiting. For the STA, it needs to be in the listening state all the time, and receive detailed information of all types of services in the broadcast frame, but in fact most of them are not required, and the power consumption on the STA side is high. Summary of the invention
  • the present invention provides a service discovery method, an access point and a site to solve the prior art
  • all the service information is broadcasted in a beacon, and the STA needs to be in the listening state all the time, and receives a large amount of unnecessary information, thereby causing high power consumption on the STA side.
  • the problem is that the service information is classified and sent to the STA by using the UI, and the STA receives the required service information at the time of obtaining, without receiving all the service information, reducing the power consumption of the STA, and supporting the passive service of the large data volume. Find.
  • the present invention provides a service discovery method, the method comprising: an access point classifying each service information according to a content of each service information to obtain different service information groups, each service information group having an information identifier The content of the service information in each service information group belongs to a service type corresponding to the information identifier; the access point determines a broadcast time of each service information group, and according to the broadcast of the service information group a time and information identifier establishing a service directory, the service directory including a broadcast time and an information identifier of all service information groups; the access point adding the service information group and the service directory to a broadcast frame; Determining a broadcast period of the broadcast frame, and periodically transmitting the broadcast frame to the station according to the broadcast period, where the station finds service information required by the station from the service information group of the broadcast frame or from the location The broadcast time of the service information group in which the service information required by the self is located is obtained in the service directory of the broadcast frame.
  • the service directory further includes summary information of the service information in each service information group, where the service information group and the service directory are added to a broadcast frame
  • the method includes: adding the service information group to each of the broadcast frames, and adding the service directory to each of the broadcast frames, so that the service information groups carried by the respective broadcast frames are different, and each of the The service directories carried by the broadcast frames are all the same, and each broadcast frame carries a service directory and a type of service information group.
  • the determining a broadcast time of each service information group, and establishing a service directory according to the broadcast time and the information identifier of the service information group further includes: according to each service The broadcast time of the packet determines the broadcast time of the service catalog.
  • the broadcast frame includes: a first broadcast frame and a second broadcast frame; Adding the service directory to the broadcast frame includes: adding the service directory to the first broadcast frame, and adding the broadcast time of the service directory and the service information group to different second broadcast frames, so that each The service information group carried by the second broadcast frame is different.
  • the present invention provides a service discovery method, the method comprising: receiving, by a station, a broadcast frame that carries a service directory and a service information group, where the service directory includes information identifiers and services of service information. Broadcast time of the information group; discovering the service information required by itself from the service information group of the broadcast frame or learning the broadcast time of the service information group in which the service information required by the self is required from the service directory of the broadcast frame .
  • the service information required by the service information group of the broadcast frame is found, or the service information required by the self is obtained from the service directory of the broadcast frame.
  • the broadcast time of the service information group includes: when the service information group of the received broadcast frame includes the service information required by the user, the station stops receiving other information sent by the access point. a broadcast frame; when the service information group of the received broadcast frame does not include the service information required by the self, the station learns, from the service directory, the service information required by the service itself.
  • the user enters the dormant state, enters the receiving state at the broadcast time of the service information group where the service information required by the user is located, and discovers the service information required by the user from the received broadcast frame. .
  • the service information required by the service information group of the broadcast frame is found, or the service information required by the self is obtained from the service directory of the broadcast frame.
  • the broadcast time of the service information group includes: when the service information group of the received broadcast frame includes the service information required by the user, the station does not receive the other information sent by the access point.
  • the service information is discarded for the other broadcast frames sent by the access point; when the service information group of the received broadcast frame does not include the service information required by the user, and the service is The information identifier of the service information and the broadcast time of the service information group corresponding to the service information required by the self exist in the directory, and the broadcast frame is received at the broadcast time of the service information group, and received from the broadcast information
  • the service information required by the self is found in the broadcast frame
  • the other broadcast frames sent by the access point are discarded; when the service information group of the received broadcast frame does not include the service information required by the user, and the service directory does not exist.
  • the information identifier of the service information corresponding to the service information required by the user and the broadcast time of the service information group, the site no longer receives the service information sent by the access point, and sends the service information to the access point. Other broadcast frames are discarded.
  • the broadcast frame includes a first broadcast frame and a second broadcast frame
  • the receiving, by the station, the broadcast frame that carries the service information group and the service directory sent by the access point includes: receiving the a first broadcast frame carried by the access point carrying the service directory, and a second broadcast frame that receives the broadcast time of the service directory and the service information group, where the service information group carried by each second broadcast frame They are all different.
  • the present invention provides an access point, where the access point includes: a classification unit, configured to classify each service information according to the content of each service information, to obtain different service information groups, and each service information The group has a message identifying the summary information of each service information, the content of the service information in each service information group belongs to the service type corresponding to the information identifier, and transmits the service information group to the processing unit; And receiving, by the classification unit, the service information group, determining a broadcast time of each service information group, and establishing a service directory according to a broadcast time and an information identifier of the service information group, where the service directory includes all a broadcast time and information identifier of the service information group, and transmitting the service information group and the service directory to the adding unit; and an adding unit, configured to receive the service information group and the service directory from the processing unit, The service information group and the service directory are added to a broadcast frame, and the broadcast frame is transmitted to the broadcast frame a sending unit, configured to receive the broadcast frame from the adding unit,
  • the service directory further includes summary information of service information in each service information group, where the adding unit is configured to separately add the service information group to Each of the broadcast frames is added to the respective broadcast frames, so that the service information groups carried by the broadcast frames are different, and the service directories carried by the broadcast frames are the same.
  • Each broadcast frame carries a service directory and a type of service information group.
  • the service directory further includes summary information of service information in each service information group, where the processing unit is further configured to determine, according to a broadcast time of each service information group The broadcast time of the service directory.
  • the broadcast frame includes: a first broadcast frame and a second broadcast frame; and the adding unit is configured to use the service directory Adding to the first broadcast frame, and adding the broadcast time of the service directory and the service information group to different second broadcast frames, so that the service information groups carried by the respective second broadcast frames are different.
  • the present invention provides a station, where the station includes: a receiving unit, configured to receive a broadcast frame that carries a service directory and a service information group sent by an access point, where the service directory includes an information identifier of the service information. And a broadcast time of the service information group, and transmitting the broadcast frame to the discovery unit; the discovery unit, configured to receive the broadcast frame from the receiving unit, and discover the required information from the service information group of the broadcast frame.
  • the service information or the broadcast time of the service information group in which the service information required by the self is required is obtained from the service directory of the broadcast frame.
  • the discovery unit is configured to: when the received service information group of the broadcast frame includes the service information required by the user, the station stops receiving the And another broadcast frame sent by the access point; when the service information group of the received broadcast frame does not include the service information required by the user, the site learns from the service directory After the broadcast time of the service information group in which the service information is required, the user enters the dormant state, enters the receiving state at the broadcast time of the service information group where the service information required by the user is located, and finds the received broadcast frame. Describe the service information you need.
  • the discovery unit is configured to: when the received service information group of the broadcast frame includes the service information required by the user, the site is no longer received. The other service information sent by the access point is discarded for other broadcast frames sent by the access point; when the received service information group of the broadcast frame does not include the self required Service information, and the information identifier of the service information corresponding to the service information required by the service and the broadcast time of the service information group are present in the service directory, and the broadcast is received at the broadcast time of the service information group.
  • the station does not receive the service information sent by the access point, and performs discarding processing on other broadcast frames sent by the access point.
  • the broadcast frame includes a first broadcast frame and a second broadcast frame, where the receiving unit is configured to receive a first broadcast frame that is sent by the access point and that carries a service directory, and And receiving a second broadcast frame that carries the broadcast time of the service directory and the service information group, where the service information groups carried by each second broadcast frame are different.
  • the access point classifies the service information according to different service information groups according to the summary information of each service information, and the service information in each service information group belongs to the same service.
  • Type determining a broadcast time of each service information group, and establishing a service directory according to a broadcast time and an information identifier of the service information group, the service directory including a broadcast time and an information identifier of all service information groups, and the service information group and the The service directory is added to the broadcast frame, and the broadcast frame is sent to the station. After the station receives the broadcast frame that carries the service directory and the service information group sent by the access point, the service directory and the service directory are carried according to the broadcast frame.
  • the service information group finds the service information required by itself, and implements the use of the AP to classify all the service information and send it to the STA, and the STA receives the required service information at the time of the knowledge, without receiving all the service information, and lowers the STA. Power consumption, capable of supporting passive data discovery with large amounts of data.
  • FIG. 1 is a flowchart of a service discovery method according to Embodiment 1 of the present invention.
  • FIG. 2 is a schematic diagram of an access point sending a broadcast frame to a station according to Embodiment 2 of the present invention
  • FIG. 3 is a flowchart of a service discovery method according to Embodiment 3 of the present invention
  • FIG. 4 is a flowchart of a service discovery method according to Embodiment 4 of the present invention.
  • FIG. 5 is a schematic diagram of an access point sending a broadcast frame to a station according to Embodiment 5 of the present invention
  • FIG. 6 is a schematic diagram of an access point sending a broadcast frame to a station according to Embodiment 6 of the present invention
  • Embodiment 8 is a schematic diagram of an access point according to Embodiment 8 of the present invention.
  • Embodiment 9 is a schematic diagram of a station provided in Embodiment 9 of the present invention.
  • FIG. 10 is a schematic diagram of an access point according to Embodiment 10 of the present invention.
  • FIG. 11 is a schematic diagram of a station according to Embodiment 11 of the present invention. detailed description
  • the access point is used by the site to discover service information required by the station from the service information group of the broadcast frame or from a service directory of the broadcast frame. Knowing the broadcast time of the service information group in which the service information required by the user is located, determining the broadcast time of each service information group, and summarizing the summary information of each service information and the broadcast of each service information group The time constitutes a service directory, the service information group and the service directory are added to the broadcast frame, and the broadcast frame is sent to the station, after the station receives the broadcast frame that carries the service directory and the service information group sent by the access point.
  • the manner of the passive discovery service involved in all the embodiments of the present invention refers to: the access point AP sends a broadcast frame to the station STA, for example, the broadcast frame is a beacon Beacon, and the station STA waits for and receives the access point AP.
  • the beacon is a management frame specified by the 802.11 standard and is periodically broadcasted by the AP.
  • FIG. 1 is a flowchart of a service discovery method according to Embodiment 1 of the present invention. As shown in the figure, the embodiment of the present invention specifically includes the following steps:
  • Step 1 1 the access point classifies each service information according to the content of each service information to obtain different service information groups, each service information group has an information identifier, and the service information in the content of each service information group belongs to and information. Identifies the corresponding service type.
  • the content of the service information refers to the detailed content of the service information
  • the summary information of the service information refers to the contents of the service information.
  • the service information of the access point is provided by one or more STAs, where the STA is an AP site and a non-AP site, that is, one or more AP sites and non-AP sites providing services report the service information to the AP.
  • the access point collects all service information and classifies it according to the summary information of each service information. For example, coffee shops, various restaurants, food supermarkets, etc. are classified as catering.
  • the summary information of each service information refers to the package information of the service information, and the service type to which the service information belongs can be identified according to the package information, and the detailed content of the service information can also be known according to the package information. a part of.
  • the access point classifies all service information to obtain three service information groups: a service information group for food and beverage, a service information group for entertainment, and a service information group for transportation.
  • the information of the service information group of the catering category is identified as catering; the information of the service information group of the entertainment category is identified as entertainment; and the information of the service information group of the transportation type is identified as traffic.
  • each service information group includes details of all service information of a service type corresponding to the information identifier, for example, the service information group carrying the catering category includes all service information of the service type corresponding to the information identifier corresponding to the catering. details.
  • Step 120 The access point determines a broadcast time of each service information group, and according to the service information group
  • the broadcast time and information identification establish a service directory, which includes the broadcast time and information identification of all service information groups.
  • the broadcast time of each service information group determines the three service information groups.
  • Broadcast time The information of the service information group of the catering category is identified as catering; the information of the service information group of the entertainment category is identified as entertainment; and the information of the service information group of the transportation type is identified as traffic.
  • the service directory is established based on the broadcast time and information identification of the three service information groups.
  • the service catalog may also include summary information of the service information in each service information group. Therefore, the service directory includes not only the information identifier of all the service information groups, but also the bill information of all the service information provided by the access point AP, that is, the summary information of the service information in each service information group, and the service information corresponding thereto.
  • the group broadcast time is the exact time at which the detailed content of each service information included in the service information group is broadcast, for example, the service information group of the catering class is transmitted after the first beacon period.
  • Step 130 the access point adds the service information group and the service directory to the broadcast frame.
  • Step 140 The access point determines a broadcast period of the broadcast frame, and periodically sends a broadcast frame to the station according to the broadcast period, where the station finds the service information required by the station from the service information group of the broadcast frame or from the service directory of the broadcast frame.
  • the broadcast time of the service information group in which the service information required by itself is known.
  • the service directory in step 130 further includes summary information of the service information in each service information group, and the access point adds the service information group to each broadcast frame separately, and adds the service directory separately.
  • the service information groups carried by each broadcast frame are different, and the service directories carried by each broadcast frame are the same.
  • each broadcast frame carries a service directory and a type of service information group.
  • the type of the service information group carried by each broadcast frame is different. For example, if the first broadcast frame carries a service directory and a service information group related to the catering, the second broadcast frame includes a service directory and entertainment.
  • the third broadcast frame contains a service directory and A service information group related to the mode. Among them, the service directories included in all broadcast frames are the same.
  • each broadcast frame carries a service directory and a type of service information group.
  • Information Element Information Element
  • the IE is part of the 802.11 management frame, which consists of a frame header and a frame body.
  • the frame entity includes a fixed domain and a series of information units.
  • Information Element The IE consists of three parts: a 1-byte Element ID field, a 1-byte Length field, and a variable-length Inf ormat ion field.
  • the above broadcast frame carries a service directory and detailed service information of a certain type of service, that is, a type of service information group.
  • the Element ID is used to uniquely mark the IE; the Length is the length of the IE; the ServiceContent is the service directory; and the ServiceInfo is the detailed service information of a certain type of service, that is, a type of service information group.
  • the access point when the access point sends a broadcast frame to the station in step 140, there may be a scheduled transmission broadcast frame.
  • three service information groups a service information group for food and beverage, a service information group for entertainment, and a service information group for transportation.
  • the access point sends the broadcast frame carrying the three service information groups to the station in multiple manners. For example, as shown in FIG. 2, the broadcast frame 21 carrying the service information group of the catering class is sent in the first place, and is carried.
  • the broadcast frame 11 of the entertainment service information group is after the first beacon period
  • the broadcast frame 23 carrying the traffic information group is after the second beacon period.
  • the broadcast frame carrying the service information group of the catering class, the broadcast frame carrying the service information group of the entertainment class, and the broadcast frame carrying the service information group of the traffic class constitute a broadcast period, and the broadcast period is 3 beacon periods.
  • the broadcast cycle can be cyclically transmitted multiple times according to actual conditions, and the length of the broadcast cycle can be changed according to the increase and decrease of the service type.
  • the beacon period is defined as: from the first to be sent
  • the period from the start of the broadcast frame until the second broadcast frame is sent is a beacon period. Therefore, the service discovery method provided by the embodiment of the present invention, the access point classifies the service information according to different service information groups according to the summary information of each service information, determines the broadcast time of each service information group, and according to the service information.
  • the broadcast time and the information identifier of the group establish a service directory, the service directory includes a broadcast time and an information identifier of all service information groups, and the service information group and the service directory are added to the broadcast frame, and the broadcast frame is sent to the station.
  • the service directory In the case that the service directory is small, it can be placed in each broadcast frame containing detailed service information of different service types, so that the broadcast containing other service information can be known regardless of which broadcast frame is received.
  • the broadcast time of the frame which can reduce the number of times the broadcast frame is received in some cases, and can discover the service more quickly.
  • FIG. 3 is a flowchart of a service discovery method according to Embodiment 3 of the present invention.
  • the service discovery method performed by the site side provided by this embodiment corresponds to the service discovery method performed by the access point side provided in Embodiment 1.
  • the embodiment of the present invention specifically includes the following steps:
  • Step 31 0 The station receives a broadcast frame that carries the service directory and the service information group sent by the access point.
  • the service directory includes an information identifier of the service information and a broadcast time of the service information group.
  • Step 320 The station finds the service information required by itself from the service information group of the broadcast frame or the broadcast time of the service information group in which the service information required by itself is obtained from the service directory of the broadcast frame.
  • each of the broadcast frames carries a service directory and a type of service information group.
  • Each of the broadcast frames carries different service information groups, and each broadcast frame carries the same service directory.
  • the service directory and service information set are in one broadcast frame, but the service directory and service information set may not be in one broadcast frame, as will be explained in detail in other embodiments.
  • the broadcast frame adopts two different processing modes for performing a series of processing. The processing of each processing mode is as follows:
  • the STA obtains a detailed service information containing the service it wants, that is, its own required service.
  • the information group stops scanning. In this way, the STA can enter the sleep state at the time when it does not need to receive.
  • the specific process is:
  • the station stops receiving other broadcast frames.
  • the station learns from the service directory the broadcast time of the service information group in which the service information required by itself is the detailed service required by itself. After the exact broadcast time of the broadcast frame of the information, it enters the sleep state, and enters the reception state only at the broadcast time of the service information group in which the service information required by itself is received, thereby discovering the service required by the broadcast frame received at the time. information.
  • the station When the service information group of the received broadcast frame contains the service information required by itself, the station simply does not receive other service information sent by the access point, and performs discard processing, and still receives other access points to send. Broadcast frame.
  • the discarding process involved in the embodiment of the present invention may be discarded without being unpacked, or may be a media access control (Medium Acces s Cont ro l, MAC) frame header, and the confirmation is that The broadcast frame sent by the AP is discarded.
  • the MAC frame is divided into a data frame, a control frame, and a management frame.
  • the Beacon we are talking about here is a management frame.
  • the discarding process involved in the other embodiments of the present invention is the same, and the detailed description will not be repeated.
  • the site Receiving a broadcast frame at the broadcast time of the service information group, and discovering the service information required by itself from the broadcast frame received at the time, and no longer receiving other service information of the access point, and the access point is Other broadcast frames are discarded. Because there may be multiple access point broadcast information, the site will still receive information from other access points.
  • the site no longer receives the service information sent by the access point, and the other information about the access point The broadcast frame is discarded.
  • the service information of the broadcast frame is found from the service information group of the broadcast frame or Obtaining the broadcast time of the service information group in which the service information required by the self is located from the service directory of the broadcast frame, and realizing that when the service directory is small, it can be placed in each of the different service types.
  • the station can know the broadcast time of the broadcast frame including other service information regardless of which broadcast frame is received, thereby reducing the number of times the broadcast frame is received in some cases, and the service can be found more quickly. .
  • FIG. 4 is a flowchart of a service discovery method according to Embodiment 4 of the present invention. As shown in the figure, the embodiment of the present invention specifically includes the following steps:
  • Step 41 0 The access point classifies the service information according to the content of each service information to obtain different service information groups.
  • Each service information group has an information identifier, and the service information in the content of each service information group belongs to the information identifier.
  • the corresponding service type classifies all service information of the access point according to different service information groups according to the summary information of each service information.
  • the service information in the service information group belongs to the same service type, and the service information group includes content information of all service information belonging to the same service type. However, the types of service information in different service information groups are different. This step is the same as step 1 1 0 and will not be described here.
  • Step 420 The access point determines a broadcast time of each service information group, and establishes a service directory according to a broadcast time and an information identifier of the service information group, where the service directory includes a broadcast time and an information identifier of all service information groups, and determines a service directory. Broadcast time. This step is the same as step 1 20 and will not be described here.
  • the service directory also includes summary information of the service information in each service information group.
  • Step 430 The access point adds the service directory to the first broadcast frame, and adds the broadcast time and the service information group of the service directory to different second broadcast frames, so that each second broadcast frame carries The service information groups are all different.
  • the service directory and the service information group are in different broadcast frames
  • the broadcast frame in which the service directory is located is defined as: a first broadcast frame
  • the broadcast frame in which the service information group is located is defined as: Two broadcast frames. Since there may be multiple service information groups, there may be multiple second broadcast frames. For example, a second broadcast frame carrying a service information group of a catering class, a second broadcast frame carrying a service information group of the entertainment class, and a second broadcast frame carrying a service information group of the traffic class.
  • the information element IE format definition of the first broadcast frame carrying the service directory is as shown in Table 2.
  • Element ID is used to uniquely identify IE;
  • Length is the length of the IE;
  • ServiceContent is the monthly directory information.
  • Element ID Length ServiceContent The information element IE format definition of the second broadcast frame carrying the service information group is shown in Table 3. Element ID is used to uniquely mark IE; Length is the length of IE; Servi celnfo is the detailed service information of a certain type of service, that is, the content of the service information group; Time is the exact time of the Beacon broadcast carrying the service directory.
  • Step 440 The access point determines a broadcast period of the first broadcast frame and the second broadcast frame, and periodically sends the first broadcast frame and the second broadcast frame to the station according to the broadcast period, where the site uses the service directory of the first broadcast frame.
  • the broadcast time of the service information group in which the service information required by itself is known is obtained, and the service information required by itself or the broadcast time of the service directory is found from the service information group of the second broadcast frame.
  • the access point may be scheduled to be sent.
  • the first broadcast frame is sent only once, each carrying The second broadcast frames of different service information groups are sent once.
  • the second broadcast frame is sent until all the second broadcast frames are sent to a broadcast period, and then the next broadcast period is executed.
  • the access point may also send the second broadcast frame first, and then send the first broadcast frame.
  • the beacon period between every two broadcast frames is the same.
  • the manner in which the access point sends the first broadcast frame and the second broadcast frame to the station for example, the first broadcast frame carrying the service directory, the second broadcast frame carrying the service information group of the catering class, and the entertainment class
  • the second broadcast frame of the service information group and the second broadcast frame carrying the service information group of the traffic class are transmitted in many ways. As shown in FIG. 5, the first broadcast frame 51 carrying the service directory is transmitted in the first place, and the second broadcast frame 52 carrying the service information group of the catering class is arranged after the first beacon period, and carries the entertainment service.
  • the second broadcast frame 53 of the packet is after the second beacon period, and the second broadcast frame 54 carrying the traffic information group of the traffic class is after the third beacon period.
  • the second broadcast frame 54 constitutes a broadcast period which is 4 beacon periods.
  • the broadcast period can be transmitted multiple times according to the actual situation.
  • the sending period of the first broadcast frame 51 carrying the service directory is 4 beacon periods.
  • the first broadcast frame is sent multiple times, and each second broadcast frame carrying a different service information group is sent once, and a sum is sent before or after each second broadcast frame is sent.
  • a plurality of first broadcast frames wherein the number of bytes occupied by the first broadcast frame is smaller than the number of bytes occupied by the second broadcast frame.
  • the format of the IE frame of the first broadcast frame and the second broadcast frame is as shown in Table 3.
  • the access point may sequentially transmit the second broadcast frame, and send the first broadcast frame between the respective second broadcast frames until all the second broadcast frames are transmitted as one broadcast period, and then execute the next broadcast period.
  • the first broadcast frame is sent between the two second broadcast frames.
  • the first broadcast frame with a higher transmission frequency is used to carry the service directory, so as to improve the site receiving the service directory. Probability, making the site discover services faster.
  • the first broadcast frame with a smaller number of occupied bytes is customized as a short message mark; and the second broadcast frame with a larger number of occupied bytes is customized as a long beacon.
  • the access point sequentially sends the second broadcast frame, for example, the second broadcast frame that first carries the service information group carrying the catering class, the second broadcast frame that carries the service information group that carries the entertainment class, and finally sends the traffic class.
  • the second broadcast frame of the service information group is sent in the order.
  • first broadcast frames are also transmitted between the two second broadcast frames, ie, long beacons.
  • first broadcast frames 60 carrying the service directory are continuously transmitted, and then the second broadcast carrying the service information group of the entertainment class is transmitted.
  • the frame 62 five first broadcast frames 60 carrying the service directory are continuously transmitted, and finally, after the second broadcast frame 63 carrying the service information group of the traffic class is transmitted, five first broadcasts carrying the service directory are continuously transmitted.
  • the frame 60 so far, forms a complete broadcast period, and the broadcast period can be cyclically transmitted multiple times according to actual conditions.
  • the beacon period between every two broadcast frames is a short beacon period, but the beacon period between every two second broadcast frames is a long beacon period.
  • the access point classifies the service information according to different service information groups according to the summary information of each service information, determines the broadcast time of each service information group, and The summary information of each service information and the broadcast time of each service information group constitute a service directory, add the service directory to the first broadcast frame, and add the broadcast time of the service directory and the service information group to different second In the broadcast frame, the service information groups carried by the second broadcast frames are different, and the first broadcast frame and the second broadcast frame are sent to the station, when the station receives the first broadcast frame or the second broadcast frame sent by the access point.
  • FIG. 7 is a flowchart of a service discovery method according to Embodiment 7 of the present invention.
  • the service discovery method performed by the site side corresponds to the service discovery method performed by the access point side provided in the fourth embodiment.
  • the embodiment of the present invention specifically includes the following steps:
  • Step 71 0 The station receives the broadcast frame that carries the service directory and the service information group sent by the access point, where the service directory includes the information identifier of the service information and the broadcast time of the service information group, and the received broadcast frame includes the first broadcast frame. And a second broadcast frame.
  • the station receives the first broadcast frame that carries the service directory or the second broadcast frame that carries the broadcast time of the service directory and the service information group, where the service information group carried by each second broadcast frame is received by the access point. Not the same.
  • Step 720 The station finds the service information required by the service information group of the broadcast frame, or the broadcast time of the service directory, or learns the service information group of the service information required by the self from the service directory of the broadcast frame. Broadcast time.
  • the received broadcast frame includes a first broadcast frame and a second broadcast frame.
  • the first broadcast frame carries a service directory
  • the second broadcast frame carries a type of service information group and a broadcast time of the service directory.
  • the first broadcast frame or the second broadcast frame is processed in two different manners by using two different processing manners.
  • the processing of each processing manner is as follows:
  • the STA obtains detailed service information including the service it wants, that is, the service information group required by itself stops scanning. In this manner, the STA can enter the sleep state at the time when it does not need to receive.
  • the specific process is:
  • the broadcast time of the service information group in which the service information required by the service information is required is obtained from the service directory carried in the first broadcast frame, and then enters a sleep state, and only the service information required by itself is obtained.
  • the broadcast time of the service information group in which it is located enters the receiving state, thereby discovering the service information required by itself from the received broadcast frame.
  • the station stops receiving other broadcast frames sent by the access point;
  • the frame When the second broadcast frame is received, and the service information group carried by the second broadcast frame does not include the self
  • the broadcast time of the service directory is obtained according to the second broadcast frame, and the sleep state is entered, and only the broadcast time of the service directory enters the receiving state, and the received first broadcast carrying the service directory is received.
  • the frame After the broadcast time of the service information group in which the service information required by the user is located, the frame enters the sleep state, and enters the reception state only at the broadcast time of the service information group where the service information required by itself is received, thereby receiving from the received
  • the service information required by itself is found in the second broadcast frame carrying the service information group.
  • the broadcast of the service information group is performed.
  • the station When the first broadcast frame carrying the service directory is received, and the information identifier of the service information corresponding to the service information required by itself and the broadcast time of the service information group are not present in the service directory, the station no longer receives the connection.
  • the service information sent by the ingress is discarded for other broadcast frames of the access point, for example, the first broadcast frame or the second broadcast frame.
  • the site When the second broadcast frame is received, and the service information group carried by the second broadcast frame includes the service information required by itself, the site no longer receives other service information, and for other broadcast frames of the access point, For example, the first broadcast frame or the second broadcast frame is discarded.
  • the broadcast time of the service directory is learned according to the second broadcast frame, and the site is used in the service directory.
  • the broadcast time receives the first broadcast frame.
  • the station pairs the first broadcast frame.
  • the processing procedure of the broadcast frame is the same as the above, and will not be described again here.
  • the station receives a broadcast frame that carries the service directory and the service information group sent by the access point, where the service directory includes the information identifier of the service information and the broadcast time of the service information group, and is received.
  • the broadcast frame includes a first broadcast frame and a second broadcast frame, and according to the service directory and the service information group carried by the received broadcast frame, discovers service information required by itself, and implements the site according to the first broadcast frame and the second broadcast frame. Receiving the required service information at the time of knowledge, without receiving all the service information, reducing the power consumption of the STA, and supporting the passive service discovery of a large amount of data.
  • FIG. 8 is a schematic diagram of an access point according to Embodiment 8 of the present invention.
  • the access point is used to perform the service discovery method provided by Embodiments 1 through 7 of the present invention.
  • the embodiment of the present invention specifically includes: a classification unit 81, a processing unit 82, an adding unit 83, and a sending unit 84.
  • the classification unit 81 classifies the content of each service information into different service information groups, and each service information group has a message identifying the summary information of each service information, and the service information in each service information group.
  • the content belongs to the service type corresponding to the information identification, and the service information group is transmitted to the processing unit 82;
  • the processing unit 82 is configured to receive the service information group from the classification unit 81, determine the broadcast time of each service information group, and according to the service information
  • the broadcast time and information identification of the group establishes a service directory, which includes the broadcast time and information identifier of all service information groups, and transmits the service information group and the service directory to the adding unit 8 3 ;
  • the adding unit 8 3 is used for the slave processing unit 82, receiving the service information group and the service directory, adding the service information group and the service directory to the broadcast frame, and transmitting the broadcast frame to the transmitting unit 84;
  • the transmitting unit 84 is configured to receive the broadcast frame from the adding unit 83, and determine the broadcast frame.
  • Broadcast period and periodically send broadcast frames to the station according to the broadcast period, And a broadcast time of the service information group in which the station finds the service information required by the station from the service information group of the broadcast frame or the service directory of the broadcast frame from the service directory of the broadcast frame.
  • the service directory further includes summary information of service information in each service information group
  • the adding unit 83 is configured to separately add the service information group to each broadcast frame, and The recordings are added to the respective broadcast frames, so that the service information groups carried by the broadcast frames are different, and the service directories carried by the broadcast frames are the same.
  • Each broadcast frame carries a service directory and a type of service information group. .
  • the service catalog also includes summary information of the service information in each service information group
  • the processing unit 82 is further configured to determine the broadcast time of the service catalog.
  • the broadcast frame involved in this embodiment includes: a first broadcast frame and a second broadcast frame.
  • the adding unit 83 is configured to add the service directory to the first broadcast frame, and add the broadcast time and the service information group of the service directory to different second broadcast frames, so that the service information groups carried by the respective second broadcast frames are not the same.
  • the sending unit 84 is configured to send a first broadcast frame to the station, where the station learns, from the first broadcast frame, a broadcast time for the access point to send the service information required by the access point, and sends a second broadcast frame to the station for the site to be the second The service information required by itself is found in the broadcast frame.
  • the first broadcast frame is sent only once, and the second broadcast frames carrying different service information groups are respectively sent once; or the first broadcast frame is sent multiple times, each carrying different service information groups.
  • the second broadcast frame is sent once, and one or more first broadcast frames are sent before each second broadcast frame is sent, where the number of bytes occupied by the first broadcast frame is smaller than that occupied by the second broadcast frame.
  • the number of bytes. Therefore, the access point has multiple forms of transmitting the first broadcast frame and the second broadcast frame, for example, after sending the first broadcast frame, and then sending the second broadcast frame until all the second broadcast frames are sent to a broadcast period. And then executing the next broadcast period; or transmitting the second broadcast frame in turn, and transmitting one or more first broadcast frames between the respective second broadcast frames until all the second broadcast frames are sent to be a broadcast period, and then Execute the next broadcast cycle.
  • the access point provided by the embodiment of the present invention classifies the service information according to different service information groups according to the summary information of each service information, determines the broadcast time of each service information group, and determines each service.
  • the summary information of the information and the broadcast time of each service information group constitute a service directory
  • the service information group and the service directory are added to the broadcast frame, and the broadcast frame is sent to the station, so that all the APs are used.
  • the service information is classified, it is sent to the STA, and the STA receives the required service information at the time of being informed, and does not need to receive all the service information, thereby reducing the STA's Power consumption, capable of supporting passive data discovery with large amounts of data.
  • FIG. 9 is a schematic diagram of a station provided in Embodiment 9 of the present invention.
  • the site is for performing the service discovery method provided by Embodiments 1 through 7 of the present invention.
  • the embodiment of the present invention specifically includes: a receiving unit 91 and a discovery unit 92.
  • the receiving unit 91 is configured to receive a broadcast frame that carries the service directory and the service information group sent by the access point, where the service directory includes the information identifier of the service information and the broadcast time of the service information group, and transmits the broadcast frame to the discovery unit 92; 92 is configured to receive a broadcast frame from the receiving unit, discover the service information required by itself from the service information group of the broadcast frame, or learn the broadcast time of the service information group in which the service information required by itself is obtained from the service directory of the broadcast frame.
  • the discovery unit 92 is configured to stop receiving the service information when the service information group of the received broadcast frame includes the service information required by itself.
  • the discovery unit 92 is configured to: when the service information group of the received broadcast frame includes service information required by itself, the site no longer receives other service information sent by the access point, for accessing The other broadcast frames sent by the point are discarded; when the service information group of the received broadcast frame does not contain the service information required by itself, and the service directory has the information of the service information corresponding to the service information required by itself.
  • the broadcast time of the identification and service information group is received at the broadcast time of the service information group, and the service information required by itself is found from the received broadcast frame, and the other broadcast frames sent by the access point are discarded. deal with.
  • the discovery unit 92 is further configured to: when the service information group of the received broadcast frame does not include the service information required by itself, and the service directory does not have the information identifier of the service information corresponding to the service information required by itself.
  • the receiving unit 91 is configured to receive, by the access point, the first broadcast frame that carries the service directory or the second broadcast that carries the broadcast time and the service information group of the service directory. a frame, where each of the second broadcast frames carries different service information groups.
  • the discovery unit 92 is configured to: after receiving the first broadcast frame, learn from the service directory carried by the first broadcast frame, after the broadcast time of the service information group in which the service information required by the user is located, enter The dormant state enters the receiving state only at the broadcast time of the service information group in which the service information required by itself, so that the service information required by itself is found from the received broadcast frame; when the second broadcast frame is received, and When the service information group carried by the second broadcast frame contains the service information required by itself, the station stops receiving other broadcast frames.
  • the discovery unit 92 is further configured to: when the second broadcast frame is received, and the service information group carried by the second broadcast frame does not include the service information required by itself, the broadcast of the service directory is obtained according to the second broadcast frame.
  • the user enters the dormant state, enters the receiving state only during the broadcast time of the service directory, and after obtaining the broadcast time of the service information group in which the service information required by the service information group is received from the received first broadcast frame carrying the service directory, Then, it enters the dormant state, and enters the receiving state only in the broadcast time of the service information group in which the service information required by itself is received, thereby discovering the service information required by itself from the received second broadcast frame carrying the service information group.
  • the discovery unit 92 is configured to: when receiving the first broadcast frame carrying the service directory, and the service directory has the information identifier and service information of the service information corresponding to the service information required by itself.
  • the broadcast time of the group receives the second broadcast frame at the broadcast time of the service information group, and discovers the service information required by itself from the received second broadcast frame, for other first broadcast frames sent by the access point. Or the second broadcast frame is discarded; when the first broadcast frame carrying the service directory is received, and the service identifier does not have the service identifier and the service information group corresponding to the service information required by the service directory.
  • the discovery unit 92 is configured to receive the second broadcast frame and the second broadcast frame.
  • the carried service information group contains the service information required by itself
  • the site does not receive other service information
  • the other broadcast frames sent by the access point for example, the second broadcast frame or the first broadcast frame are lost. Discarding the processing; when the second broadcast frame is received, and the service information group carried by the second broadcast frame does not include the service information required by itself, the broadcast time of the service directory is learned according to the second broadcast frame, and is used for the site.
  • the first broadcast frame is received at the broadcast time of the service catalog.
  • the station provided by the embodiment of the present invention after receiving the broadcast frame carrying the service directory and the service information group sent by the access point, discovers the service information required by the service information group of the broadcast frame or the broadcast frame from the broadcast frame.
  • the broadcast time of the service information group in which the service information required by the service information is obtained in the service directory is implemented, and all the service information is classified and sent to the STA by using the AP, and the STA receives the required service information at the time of obtaining, without receiving all the information.
  • the service information reduces the power consumption of the STA and can support the passive service discovery of large data volume.
  • FIG. 10 is a schematic diagram of an access point according to Embodiment 10 of the present invention.
  • the access point is used to perform the passive service discovery method provided by Embodiments 1 to 7 of the present invention.
  • the embodiment of the present invention specifically includes: as shown, the access point 100 includes: a transmitting circuit 102, a receiving circuit 103, a power controller 104, a decoding processor 105, a processing unit 106, a memory 107, and an antenna. 101.
  • Processing unit 106 controls the operation of access point 100, which may also be referred to as a CPU.
  • Memory 107 can include read only memory and random access memory and provides instructions and data to processing unit 106.
  • a portion of the memory 107 may also include non-volatile line random access memory (NVRAM).
  • the access point 100 can be embedded or can itself be a wireless communication device such as a mobile telephone, and can also include a carrier that houses the transmitting circuitry 102 and the receiving circuitry 103 to allow access between the access point 100 and the remote location. Data transmission and reception. Transmitting circuit 102 and receiving circuit 103 may be coupled to antenna 101.
  • the various components of the access point 100 are coupled together by a bus system 1000, wherein the bus system 1 000 includes a power bus, a control bus, and a status signal bus in addition to the data bus. However, for the sake of clarity, various buses are labeled as the bus system 1000 in the figure.
  • the access point 100 can also include a processing unit 106 for processing signals, and further includes a power controller 104, a decoding processor 105.
  • the decoder 105 may be associated with the processing unit 106 in a specific different product. Integration into one. Figure.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor, decoder or the like.
  • the steps of the method disclosed in the embodiments of the present invention may be directly implemented as hardware processor execution completion, or performed by a combination of hardware and software modules in the decoding processor.
  • the software modules can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory 107, and the decoding unit or the processing unit reads the information in the memory 107, and combines the hardware to complete the steps of the passive service discovery method provided by the first to seventh embodiments of the present invention.
  • FIG. 11 is a schematic diagram of a station according to Embodiment 11 of the present invention.
  • the site is used to perform the passive service discovery method provided by Embodiments 1 to 7 of the present invention.
  • the site 110 includes: a transmitting circuit 112, a receiving circuit 113, a power controller 114, a decoding processor 115, a processing unit 116, a memory 117, and an antenna 111.
  • Processing unit 116 controls the operation of site 110, which may also be referred to as a CPU.
  • Memory 117 can include read only memory and random access memory and provides instructions and data to processing unit 116. A portion of the memory 117 may also include non-volatile line random access memory (NVRAM).
  • NVRAM non-volatile line random access memory
  • the site 110 may embed or itself be a wireless communication device such as a mobile phone, and may also include a carrier that houses the transmitting circuit 112 and the receiving circuit 113 to allow data transmission between the station 110 and the remote location. receive. Transmitting circuit 112 and receiving circuit 113 may be coupled to antenna 111.
  • the various components of the site 110 are coupled together by a bus system 1100, which in addition to the data bus includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, various buses are labeled as bus system 1100 in the figure.
  • the site 110 may also include a processing unit 116 for processing signals, and further includes a power controller 114, a decoding processor 115.
  • the decoder 115 may be integrated with the processing unit 116 in a particular different product.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor. Decoder, etc.
  • the steps of the method disclosed in the embodiments of the present invention may be directly implemented as hardware processor execution completion, or performed by a combination of hardware and software modules in the decoding processor.
  • the software modules can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory 117, and the decoding unit or the processing unit reads the information in the memory 117, and combines the hardware to complete the steps of the passive service discovery method provided by the first to seventh embodiments of the present invention.
  • the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both, in order to clearly illustrate hardware and software. Interchangeability, the composition and steps of the various examples have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
  • RAM random access memory
  • ROM read-only memory
  • EEPROM electrically programmable ROM
  • EEPROM electrically erasable programmable ROM
  • registers hard disk, removable disk, CD-ROM, or technical field Any other form of storage medium known.

Abstract

The embodiments of the present invention relate to a service discovery method, an access point, and a station. The method comprises: classifying each piece of service information according to content of each piece of service information to obtain different service information groups; determining broadcast time of each service information group, and establishing service categories according to the broadcast time of the service information group as well as the information identification; adding the service information group and the service categories into a broadcast frame; determining a broadcast period of the broadcast frame, and periodically sending the broadcast frame to a station, so that the station finds service information required by the station from the service information group of the broadcast frame or obtain the broadcast time of the service information group where the service information required by the station from the service categories of the broadcast frame. Therefore, in the present invention, all service information is classified and then sent to an STA by means of an AP, and the STA receives required service information in an obtained time point and does not need to receive all service information, which reduces the power consumption of the STA and can support passive service discovery of a large volume of data.

Description

说 明 书  Description
服务发现方法、 接入点和站点 技术领域  Service discovery methods, access points and sites
本发明涉及通信技术领域,尤其涉及一种服务发现方法、接入点和站点。 背景技术  The present invention relates to the field of communications technologies, and in particular, to a service discovery method, an access point, and a site. Background technique
随着通信技术的发展, 无线局域网 (Wireless Local Area Network , WLAN ) 通常采用的是基于接入点(Acces s Po int , AP )的服务发现,即站点(s ta t ion, STA )需要先和 AP关联建立通信链路之后, 才知道 AP都可以提供哪些服务。  With the development of communication technology, Wireless Local Area Network (WLAN) usually adopts service discovery based on Access Point (AP), that is, the site needs to be first and After the AP associates with the establishment of the communication link, it knows which services the AP can provide.
目前, 服务发现的方式可分为两种: 主动服务发现和被动服务发现。 主 动发现服务的方式是指 STA主动发送服务请求给服务设备, 如果服务设备能 提供 STA所需服务, 则回复服务响应给 STA。 被动发现服务的方式是指 STA 等待并接收服务设备广播服务信息, 从中发现自己所需的服务信息。  Currently, there are two ways to discover services: active service discovery and passive service discovery. The method of actively discovering the service means that the STA actively sends a service request to the service device. If the service device can provide the service required by the STA, the service response is sent to the STA. The passive discovery service means that the STA waits for and receives the service device broadcast service information, and finds the service information it needs.
其中, 被动服务发现的流程是: AP将服务信息放到广播帧中进行广播, 比如, 通过信标(Beacon )进行广播, STA 通过接收广播帧, 从中发现想要 的服务信息。  The process of passive service discovery is as follows: The AP broadcasts the service information in a broadcast frame, for example, broadcasts through a beacon, and the STA discovers the desired service information by receiving a broadcast frame.
但是, 在某些场景中, 服务类型很多, 数据量很大。 如果 AP将所有服务 信息包含在一个信标(Beacon ) 中广播, 将会造成某一个时间段内很高的信 道占用率, 假设同时不止一个 AP在广播信息, 则很可能导致信息的碰撞, 一 旦碰撞发生, 将会丟失所有的服务信息, 只能等待下一个信标(Beacon ) 。 对于 STA而言, 则需要一直处于监听状态, 接收广播帧中所有类型服务的详 细信息, 而实际上其中大部分不是其所需要的, 并造成 STA侧的功耗很高。 发明内容  However, in some scenarios, there are many types of services and a large amount of data. If the AP broadcasts all service information in a beacon, it will cause a high channel occupancy rate in a certain period of time. Assuming that more than one AP is broadcasting information at the same time, it is likely to cause collision of information. When a collision occurs, all service information will be lost and only the next beacon (Beacon) will be waiting. For the STA, it needs to be in the listening state all the time, and receive detailed information of all types of services in the broadcast frame, but in fact most of them are not required, and the power consumption on the STA side is high. Summary of the invention
本发明提供了一种服务发现方法、 接入点和站点, 以解决现有技术中在 服务类型很多数据量很大的场景中,ΑΡ将所有服务信息放到一个信标中广播, 而 STA需要一直处于监听状态, 并接收大量不需要的信息, 从而导致 STA侧 的功耗很高的问题, 利用 ΑΡ将所有服务信息分类后发送给 STA,且 STA在获 知的时刻接收需要的服务信息, 而不需要接收所有的服务信息, 降低了 STA 的功耗, 能够支持大数据量的被动服务发现。 The present invention provides a service discovery method, an access point and a site to solve the prior art In a scenario where the service type is large and the amount of data is large, all the service information is broadcasted in a beacon, and the STA needs to be in the listening state all the time, and receives a large amount of unnecessary information, thereby causing high power consumption on the STA side. The problem is that the service information is classified and sent to the STA by using the UI, and the STA receives the required service information at the time of obtaining, without receiving all the service information, reducing the power consumption of the STA, and supporting the passive service of the large data volume. Find.
在第一方面, 本发明提供了一种服务发现方法, 所述方法包括: 接入点 根据每一服务信息的内容将其进行分类获得不同的服务信息组, 每个服务信 息组有一个信息标识, 每一服务信息组中的服务信息的内容属于与所述信息 标识相对应的服务类型; 所述接入点确定所述每一服务信息组的广播时间, 并根据所述服务信息组的广播时间和信息标识建立服务目录, 所述服务目录 包括所有服务信息组的广播时间和信息标识; 所述接入点将所述服务信息组 和所述服务目录添加到广播帧中; 所述接入点确定所述广播帧的广播周期, 并根据所述广播周期周期性向站点发送所述广播帧, 用以所述站点从所述广 播帧的服务信息组中发现自身所需的服务信息或者从所述广播帧的服务目录 中获知所述自身所需的服务信息所在的服务信息组的广播时间。  In a first aspect, the present invention provides a service discovery method, the method comprising: an access point classifying each service information according to a content of each service information to obtain different service information groups, each service information group having an information identifier The content of the service information in each service information group belongs to a service type corresponding to the information identifier; the access point determines a broadcast time of each service information group, and according to the broadcast of the service information group a time and information identifier establishing a service directory, the service directory including a broadcast time and an information identifier of all service information groups; the access point adding the service information group and the service directory to a broadcast frame; Determining a broadcast period of the broadcast frame, and periodically transmitting the broadcast frame to the station according to the broadcast period, where the station finds service information required by the station from the service information group of the broadcast frame or from the location The broadcast time of the service information group in which the service information required by the self is located is obtained in the service directory of the broadcast frame.
在第一种可能的实现方式中, 所述服务目录还包括所述每一服务信息组 中的服务信息的摘要信息, 所述将所述服务信息组和所述服务目录添加到广 播帧中, 包括: 将所述服务信息组分别添加到各个广播帧中, 且将所述服务 目录分别添加到所述各个广播帧中, 使得所述各个广播帧携带的服务信息组 皆不同, 且所述各个广播帧携带的所述服务目录皆相同, 其中, 每一广播帧 携带有服务目录和一种类型的服务信息组。  In a first possible implementation, the service directory further includes summary information of the service information in each service information group, where the service information group and the service directory are added to a broadcast frame, The method includes: adding the service information group to each of the broadcast frames, and adding the service directory to each of the broadcast frames, so that the service information groups carried by the respective broadcast frames are different, and each of the The service directories carried by the broadcast frames are all the same, and each broadcast frame carries a service directory and a type of service information group.
在第二种可能的实现方式中,所述确定所述每一服务信息组的广播时间, 并根据所述服务信息组的广播时间和信息标识建立服务目录, 还包括: 根据 所述每一服务信息组的广播时间确定所述服务目录的广播时间。  In a second possible implementation manner, the determining a broadcast time of each service information group, and establishing a service directory according to the broadcast time and the information identifier of the service information group, further includes: according to each service The broadcast time of the packet determines the broadcast time of the service catalog.
结合第一方面的第二种可能的实现方式, 在第三种可能的实现方式中, 所述广播帧包括: 第一广播帧和第二广播帧; 所述将所述服务信息组和所述 服务目录添加到广播帧中, 包括: 将所述服务目录添加到第一广播帧中, 且 将所述服务目录的广播时间和所述服务信息组添加到不同的第二广播帧中, 使得各个第二广播帧携带的服务信息组皆不相同。 With reference to the second possible implementation manner of the first aspect, in a third possible implementation manner, the broadcast frame includes: a first broadcast frame and a second broadcast frame; Adding the service directory to the broadcast frame includes: adding the service directory to the first broadcast frame, and adding the broadcast time of the service directory and the service information group to different second broadcast frames, so that each The service information group carried by the second broadcast frame is different.
在第二方面, 本发明提供了一种服务发现方法, 所述方法包括: 站点接 收接入点发送的携带服务目录和服务信息组的广播帧, 所述服务目录包括服 务信息的信息标识和服务信息组的广播时间; 从所述广播帧的服务信息组中 发现自身所需的服务信息或者从所述广播帧的服务目录中获知所述自身所需 的服务信息所在的服务信息组的广播时间。  In a second aspect, the present invention provides a service discovery method, the method comprising: receiving, by a station, a broadcast frame that carries a service directory and a service information group, where the service directory includes information identifiers and services of service information. Broadcast time of the information group; discovering the service information required by itself from the service information group of the broadcast frame or learning the broadcast time of the service information group in which the service information required by the self is required from the service directory of the broadcast frame .
在第一种可能的实现方式中, 所述从所述广播帧的服务信息组中发现自 身所需的服务信息或者从所述广播帧的服务目录中获知所述自身所需的服务 信息所在的服务信息组的广播时间, 包括: 当接收到的所述广播帧的所述服 务信息组中包含所述自身所需的服务信息时, 则所述站点停止接收所述接入 点发送的其他的广播帧; 当接收到的所述广播帧的所述服务信息组中不包含 所述自身所需的服务信息时, 则所述站点从所述服务目录中获知所述自身所 需的服务信息所在的服务信息组的广播时间后, 进入休眠状态, 在所述自身 所需的服务信息所在的服务信息组的广播时间进入接收状态, 从接收到的广 播帧中发现所述自身所需的服务信息。  In a first possible implementation, the service information required by the service information group of the broadcast frame is found, or the service information required by the self is obtained from the service directory of the broadcast frame. The broadcast time of the service information group includes: when the service information group of the received broadcast frame includes the service information required by the user, the station stops receiving other information sent by the access point. a broadcast frame; when the service information group of the received broadcast frame does not include the service information required by the self, the station learns, from the service directory, the service information required by the service itself. After the broadcast time of the service information group, the user enters the dormant state, enters the receiving state at the broadcast time of the service information group where the service information required by the user is located, and discovers the service information required by the user from the received broadcast frame. .
在第二种可能的实现方式中, 所述从所述广播帧的服务信息组中发现自 身所需的服务信息或者从所述广播帧的服务目录中获知所述自身所需的服务 信息所在的服务信息组的广播时间, 包括: 当接收到的所述广播帧的所述服 务信息组中包含所述自身所需的服务信息时, 则所述站点不再接收所述接入 点发送的其他的服务信息, 对于所述接入点发送的其他广播帧作丟弃处理; 当接收到的所述广播帧的所述服务信息组中不包含所述自身所需的服务信 息, 且所述服务目录中存在与所述自身所需的服务信息相对应的所述服务信 息的信息标识和服务信息组的广播时间, 则在所述服务信息组的广播时间接 收广播帧, 并从所述接收到的广播帧中发现所述自身所需的服务信息, 对于 所述接入点发送的其他广播帧作丟弃处理; 当接收到的所述广播帧的所述服 务信息组中不包含所述自身所需的服务信息, 且所述服务目录中不存在与所 述自身所需的服务信息相对应的所述服务信息的信息标识和服务信息组的广 播时间, 则所述站点不再接收所述接入点发送的服务信息, 对于所述接入点 发送的其他广播帧作丟弃处理。 In a second possible implementation, the service information required by the service information group of the broadcast frame is found, or the service information required by the self is obtained from the service directory of the broadcast frame. The broadcast time of the service information group includes: when the service information group of the received broadcast frame includes the service information required by the user, the station does not receive the other information sent by the access point. The service information is discarded for the other broadcast frames sent by the access point; when the service information group of the received broadcast frame does not include the service information required by the user, and the service is The information identifier of the service information and the broadcast time of the service information group corresponding to the service information required by the self exist in the directory, and the broadcast frame is received at the broadcast time of the service information group, and received from the broadcast information The service information required by the self is found in the broadcast frame, The other broadcast frames sent by the access point are discarded; when the service information group of the received broadcast frame does not include the service information required by the user, and the service directory does not exist. The information identifier of the service information corresponding to the service information required by the user and the broadcast time of the service information group, the site no longer receives the service information sent by the access point, and sends the service information to the access point. Other broadcast frames are discarded.
在第三种可能的实现方式中,所述广播帧包括第一广播帧和第二广播帧, 所述站点接收接入点发送的携带服务信息组和服务目录的广播帧, 包括: 接 收所述接入点发送的携带有服务目录的第一广播帧、 以及接收携带有所述服 务目录的广播时间和所述服务信息组的第二广播帧, 其中, 各个第二广播帧 携带的服务信息组皆不相同。  In a third possible implementation, the broadcast frame includes a first broadcast frame and a second broadcast frame, and the receiving, by the station, the broadcast frame that carries the service information group and the service directory sent by the access point, includes: receiving the a first broadcast frame carried by the access point carrying the service directory, and a second broadcast frame that receives the broadcast time of the service directory and the service information group, where the service information group carried by each second broadcast frame They are all different.
在第三方面, 本发明提供了一种接入点, 所述接入点包括: 分类单元, 用于根据每一服务信息的内容将其进行分类, 得到不同的服务信息组, 每个 服务信息组有一个信息标识每一服务信息的摘要信息, 每一服务信息组中的 服务信息的内容属于与所述信息标识相对应的服务类型, 以及将所述服务信 息组传输给处理单元; 处理单元, 用于从所述分类单元接收所述服务信息组, 确定所述每一服务信息组的广播时间, 并根据所述服务信息组的广播时间和 信息标识建立服务目录, 所述服务目录包括所有服务信息组的广播时间和信 息标识, 以及将所述服务信息组和所述服务目录传输给添加单元; 添加单元, 用于从所述处理单元接收所述服务信息组和所述服务目录, 将所述服务信息 组和所述服务目录添加到广播帧中, 以及将所述广播帧传输给发送单元; 发 送单元, 用于从添加单元接收所述广播帧, 确定所述广播帧的广播周期, 并 根据所述广播周期周期性向站点发送所述广播帧, 用以所述站点从所述广播 帧的服务信息组中发现自身所需的服务信息或者从所述广播帧的服务目录中 获知所述自身所需的服务信息所在的服务信息组的广播时间。  In a third aspect, the present invention provides an access point, where the access point includes: a classification unit, configured to classify each service information according to the content of each service information, to obtain different service information groups, and each service information The group has a message identifying the summary information of each service information, the content of the service information in each service information group belongs to the service type corresponding to the information identifier, and transmits the service information group to the processing unit; And receiving, by the classification unit, the service information group, determining a broadcast time of each service information group, and establishing a service directory according to a broadcast time and an information identifier of the service information group, where the service directory includes all a broadcast time and information identifier of the service information group, and transmitting the service information group and the service directory to the adding unit; and an adding unit, configured to receive the service information group and the service directory from the processing unit, The service information group and the service directory are added to a broadcast frame, and the broadcast frame is transmitted to the broadcast frame a sending unit, configured to receive the broadcast frame from the adding unit, determine a broadcast period of the broadcast frame, and periodically send the broadcast frame to the station according to the broadcast period, where the station uses the broadcast frame The service information group finds the service information required by itself or the broadcast time of the service information group in which the service information required by the user is located from the service directory of the broadcast frame.
在第一种可能的实现方式中, 所述服务目录还包括所述每一服务信息组 中的服务信息的摘要信息, 所述添加单元用于将所述服务信息组分别添加到 各个广播帧中, 且将所述服务目录分别添加到所述各个广播帧中, 使得所述 各个广播帧携带的服务信息组皆不同, 且所述各个广播帧携带的所述服务目 录皆相同, 其中, 每一广播帧携带有服务目录和一种类型的服务信息组。 In a first possible implementation manner, the service directory further includes summary information of service information in each service information group, where the adding unit is configured to separately add the service information group to Each of the broadcast frames is added to the respective broadcast frames, so that the service information groups carried by the broadcast frames are different, and the service directories carried by the broadcast frames are the same. Each broadcast frame carries a service directory and a type of service information group.
在第二种可能的实现方式中, 所述服务目录还包括所述每一服务信息组 中的服务信息的摘要信息, 所述处理单元还用于根据所述每一服务信息组的 广播时间确定所述服务目录的广播时间。  In a second possible implementation manner, the service directory further includes summary information of service information in each service information group, where the processing unit is further configured to determine, according to a broadcast time of each service information group The broadcast time of the service directory.
结合第三方面的第二种可能的实现方式, 在第三种可能的实现方式中, 所述广播帧包括: 第一广播帧和第二广播帧; 所述添加单元用于将所述服务 目录添加到第一广播帧中, 且将所述服务目录的广播时间和所述服务信息组 添加到不同的第二广播帧中, 使得各个第二广播帧携带的服务信息组皆不相 同。  With reference to the second possible implementation manner of the third aspect, in a third possible implementation manner, the broadcast frame includes: a first broadcast frame and a second broadcast frame; and the adding unit is configured to use the service directory Adding to the first broadcast frame, and adding the broadcast time of the service directory and the service information group to different second broadcast frames, so that the service information groups carried by the respective second broadcast frames are different.
在第四方面, 本发明提供了一种站点, 所述站点包括: 接收单元, 用于 接收接入点发送的携带服务目录和服务信息组的广播帧, 所述服务目录包括 服务信息的信息标识和服务信息组的广播时间, 以及将所述广播帧传输给发 现单元; 发现单元, 用于从所述接收单元接收所述广播帧, 从所述广播帧的 服务信息组中发现自身所需的服务信息或者从所述广播帧的服务目录中获知 所述自身所需的服务信息所在的服务信息组的广播时间。  In a fourth aspect, the present invention provides a station, where the station includes: a receiving unit, configured to receive a broadcast frame that carries a service directory and a service information group sent by an access point, where the service directory includes an information identifier of the service information. And a broadcast time of the service information group, and transmitting the broadcast frame to the discovery unit; the discovery unit, configured to receive the broadcast frame from the receiving unit, and discover the required information from the service information group of the broadcast frame The service information or the broadcast time of the service information group in which the service information required by the self is required is obtained from the service directory of the broadcast frame.
在第一种可能的实现方式中, 所述发现单元用于当接收到的所述广播帧 的所述服务信息组中包含所述自身所需的服务信息时, 则所述站点停止接收 所述接入点发送的其他的广播帧; 当接收到的所述广播帧的所述服务信息组 中不包含所述自身所需的服务信息时, 则所述站点从所述服务目录中获知所 述自身所需的服务信息所在的服务信息组的广播时间后, 进入休眠状态, 在 所述自身所需的服务信息所在的服务信息组的广播时间进入接收状态, 从接 收到的广播帧中发现所述自身所需的服务信息。  In a first possible implementation manner, the discovery unit is configured to: when the received service information group of the broadcast frame includes the service information required by the user, the station stops receiving the And another broadcast frame sent by the access point; when the service information group of the received broadcast frame does not include the service information required by the user, the site learns from the service directory After the broadcast time of the service information group in which the service information is required, the user enters the dormant state, enters the receiving state at the broadcast time of the service information group where the service information required by the user is located, and finds the received broadcast frame. Describe the service information you need.
在第二种可能的实现方式中, 所述发现单元用于当接收到的所述广播帧 的所述服务信息组中包含所述自身所需的服务信息时, 则所述站点不再接收 所述接入点发送的其他的服务信息, 对于所述接入点发送的其他广播帧作丟 弃处理; 当接收到的所述广播帧的所述服务信息组中不包含所述自身所需的 服务信息, 且所述服务目录中存在与所述自身所需的服务信息相对应的所述 服务信息的信息标识和服务信息组的广播时间, 则在所述服务信息组的广播 时间接收广播帧,并从所述接收到的广播帧中发现所述自身所需的服务信息, 对于所述接入点发送的其他广播帧作丟弃处理; 当接收到的所述广播帧的所 述服务信息组中不包含所述自身所需的服务信息, 且所述服务目录中不存在 与所述自身所需的服务信息相对应的所述服务信息的信息标识和服务信息组 的广播时间, 则所述站点不再接收所述接入点发送的服务信息, 对于所述接 入点发送的其他广播帧作丟弃处理。 In a second possible implementation, the discovery unit is configured to: when the received service information group of the broadcast frame includes the service information required by the user, the site is no longer received. The other service information sent by the access point is discarded for other broadcast frames sent by the access point; when the received service information group of the broadcast frame does not include the self required Service information, and the information identifier of the service information corresponding to the service information required by the service and the broadcast time of the service information group are present in the service directory, and the broadcast is received at the broadcast time of the service information group. And discovering, from the received broadcast frame, the service information required by the self, and discarding other broadcast frames sent by the access point; when the received service of the broadcast frame is received The service group does not include the service information required by the self, and the information identifier of the service information corresponding to the service information required by the service and the broadcast time of the service information group do not exist in the service directory. The station does not receive the service information sent by the access point, and performs discarding processing on other broadcast frames sent by the access point.
在第三种可能的实现方式中,所述广播帧包括第一广播帧和第二广播帧, 所述接收单元用于接收所述接入点发送的携带有服务目录的第一广播帧、 以 及接收携带有所述服务目录的广播时间和所述服务信息组的第二广播帧, 其 中, 各个第二广播帧携带的服务信息组皆不相同。  In a third possible implementation, the broadcast frame includes a first broadcast frame and a second broadcast frame, where the receiving unit is configured to receive a first broadcast frame that is sent by the access point and that carries a service directory, and And receiving a second broadcast frame that carries the broadcast time of the service directory and the service information group, where the service information groups carried by each second broadcast frame are different.
通过应用本发明公开的服务发现方法、 接入点和站点, 接入点根据每一 服务信息的摘要信息将服务信息按照不同的服务信息组分类, 每一服务信息 组中的服务信息属于同一服务类型, 确定每一服务信息组的广播时间, 并根 据服务信息组的广播时间和信息标识建立服务目录, 该服务目录包括所有服 务信息组的广播时间和信息标识, 将所述服务信息组和所述服务目录添加到 广播帧中, 向站点发送所述广播帧, 当站点接收到接入点发送的携带服务目 录和服务信息组的广播帧之后, 根据所述广播帧携带的所述服务目录和服务 信息组, 发现自身所需的服务信息, 实现了利用 AP将所有服务信息分类后发 送给 STA,且 STA在获知的时刻接收需要的服务信息, 而不需要接收所有的服 务信息, 降低了 STA的功耗, 能够支持大数据量的被动服务发现。 附图说明 图 1为本发明实施例一提供的服务发现方法的流程图; By applying the service discovery method, the access point and the site disclosed by the present invention, the access point classifies the service information according to different service information groups according to the summary information of each service information, and the service information in each service information group belongs to the same service. Type, determining a broadcast time of each service information group, and establishing a service directory according to a broadcast time and an information identifier of the service information group, the service directory including a broadcast time and an information identifier of all service information groups, and the service information group and the The service directory is added to the broadcast frame, and the broadcast frame is sent to the station. After the station receives the broadcast frame that carries the service directory and the service information group sent by the access point, the service directory and the service directory are carried according to the broadcast frame. The service information group finds the service information required by itself, and implements the use of the AP to classify all the service information and send it to the STA, and the STA receives the required service information at the time of the knowledge, without receiving all the service information, and lowers the STA. Power consumption, capable of supporting passive data discovery with large amounts of data. DRAWINGS FIG. 1 is a flowchart of a service discovery method according to Embodiment 1 of the present invention;
图 2为本发明实施例二提供的接入点向站点发送广播帧的示意图; 图 3为本发明实施例三提供的服务发现方法的流程图;  2 is a schematic diagram of an access point sending a broadcast frame to a station according to Embodiment 2 of the present invention; FIG. 3 is a flowchart of a service discovery method according to Embodiment 3 of the present invention;
图 4为本发明实施例四提供的服务发现方法的流程图;  4 is a flowchart of a service discovery method according to Embodiment 4 of the present invention;
图 5为本发明实施例五提供的接入点向站点发送广播帧的示意图; 图 6为本发明实施例六提供的接入点向站点发送广播帧的示意图; 图 7为本发明实施例七提供的服务发现方法的流程图;  5 is a schematic diagram of an access point sending a broadcast frame to a station according to Embodiment 5 of the present invention; FIG. 6 is a schematic diagram of an access point sending a broadcast frame to a station according to Embodiment 6 of the present invention; A flowchart of the service discovery method provided;
图 8为本发明实施例八提供的接入点的示意图;  8 is a schematic diagram of an access point according to Embodiment 8 of the present invention;
图 9为本发明实施例九提供的站点的示意图;  9 is a schematic diagram of a station provided in Embodiment 9 of the present invention;
图 1 0为本发明实施例十提供的接入点的示意图;  FIG. 10 is a schematic diagram of an access point according to Embodiment 10 of the present invention;
图 1 1为本发明实施例十一提供的站点的示意图。 具体实施方式  FIG. 11 is a schematic diagram of a station according to Embodiment 11 of the present invention. detailed description
为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本发 明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于 本发明中的实施例, 本领域普通技术人员在没有作出创造性劳动前提下所获 得的所有其他实施例, 都属于本发明保护的范围。  The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例提供的服务发现方法、 接入点和站点, 接入点用以所述站 点从所述广播帧的服务信息组中发现自身所需的服务信息或者从所述广播帧 的服务目录中获知所述自身所需的服务信息所在的服务信息组的广播时间, 确定每一服务信息组的广播时间, 并将所述每一服务信息的摘要信息和所述 每一服务信息组的广播时间组成服务目录, 将所述服务信息组和所述服务目 录添加到广播帧中, 向站点发送所述广播帧, 当站点接收到接入点发送的携 带服务目录和服务信息组的广播帧之后, 根据所述广播帧携带的所述服务目 录和服务信息组, 发现自身所需的服务信息, 实现了利用 AP将所有服务信息 分类后发送给 STA,且 STA在获知的时刻接收需要的服务信息, 而不需要接收 所有的服务信息, 降低了 STA的功耗, 能够支持大数据量的被动服务发现。 The service discovery method, the access point, and the site provided by the embodiment of the present invention, the access point is used by the site to discover service information required by the station from the service information group of the broadcast frame or from a service directory of the broadcast frame. Knowing the broadcast time of the service information group in which the service information required by the user is located, determining the broadcast time of each service information group, and summarizing the summary information of each service information and the broadcast of each service information group The time constitutes a service directory, the service information group and the service directory are added to the broadcast frame, and the broadcast frame is sent to the station, after the station receives the broadcast frame that carries the service directory and the service information group sent by the access point. And discovering the service information required by the service directory and the service information group carried by the broadcast frame, and realizing all service information by using the AP After being classified, it is sent to the STA, and the STA receives the required service information at the time of learning, without receiving all the service information, reducing the power consumption of the STA, and supporting the passive service discovery of a large amount of data.
其中, 本发明所有实施例中涉及到的被动发现服务的方式指的是: 接入 点 AP向站点 STA发送广播帧, 比如, 该广播帧为信标 Beacon , 站点 STA等 待并接收接入点 AP发送的广播帧, 从中发现自身所需的服务信息。 其中, 信 标(Beacon )是 802. 1 1标准规定的一种管理帧, 由 AP周期性广播发送。  The manner of the passive discovery service involved in all the embodiments of the present invention refers to: the access point AP sends a broadcast frame to the station STA, for example, the broadcast frame is a beacon Beacon, and the station STA waits for and receives the access point AP. The broadcast frame sent, from which to find the service information required by itself. The beacon is a management frame specified by the 802.11 standard and is periodically broadcasted by the AP.
图 1为本发明实施例一提供的服务发现方法的流程图。 如图所示, 本发 明实施例具体包括以下步骤:  FIG. 1 is a flowchart of a service discovery method according to Embodiment 1 of the present invention. As shown in the figure, the embodiment of the present invention specifically includes the following steps:
步骤 1 1 0 , 接入点根据每一服务信息的内容将其进行分类获得不同的服 务信息组, 每个服务信息组有一个信息标识, 每一服务信息组的内容中的服 务信息属于与信息标识相对应的服务类型。 其中, 服务信息的内容指的是服 务信息的详细内容, 服务信息的摘要信息指的是服务信息的筒单内容。  Step 1 1 0, the access point classifies each service information according to the content of each service information to obtain different service information groups, each service information group has an information identifier, and the service information in the content of each service information group belongs to and information. Identifies the corresponding service type. The content of the service information refers to the detailed content of the service information, and the summary information of the service information refers to the contents of the service information.
具体地, 接入点的服务信息是由一个或多个 STA提供的, 该 STA为 AP 站点和非 AP站点,即一个或多个提供服务的 AP站点和非 AP站点将服务信息 汇报给 AP。 接入点将收集到所有服务信息按照每一服务信息的摘要信息进行 分类。 比如, 将咖啡店, 各类餐馆, 食品超市等归到餐饮类。 其中, 每一服 务信息的摘要信息指的是该服务信息的筒单信息, 根据该筒单信息能识别该 服务信息属于的服务类型, 同时根据该筒单信息也能获知该服务信息的详细 内容的一部分。 比如, 接入点将所有服务信息分类后得到三个服务信息组: 餐饮类的服务信息组、 娱乐类的服务信息组、 以及交通类的服务信息组。 其 中, 餐饮类的服务信息组的信息标识为餐饮; 娱乐类的服务信息组的信息标 识为娱乐; 交通类的服务信息组的信息标识为交通。  Specifically, the service information of the access point is provided by one or more STAs, where the STA is an AP site and a non-AP site, that is, one or more AP sites and non-AP sites providing services report the service information to the AP. The access point collects all service information and classifies it according to the summary information of each service information. For example, coffee shops, various restaurants, food supermarkets, etc. are classified as catering. The summary information of each service information refers to the package information of the service information, and the service type to which the service information belongs can be identified according to the package information, and the detailed content of the service information can also be known according to the package information. a part of. For example, the access point classifies all service information to obtain three service information groups: a service information group for food and beverage, a service information group for entertainment, and a service information group for transportation. The information of the service information group of the catering category is identified as catering; the information of the service information group of the entertainment category is identified as entertainment; and the information of the service information group of the transportation type is identified as traffic.
另外, 每一服务信息组包括与其信息标识相对应的服务类型的所有服务 信息的详细内容, 比如, 携带餐饮类的服务信息组包括属于餐饮这一信息标 识相对应的服务类型的所有服务信息的详细内容。  In addition, each service information group includes details of all service information of a service type corresponding to the information identifier, for example, the service information group carrying the catering category includes all service information of the service type corresponding to the information identifier corresponding to the catering. details.
步骤 120 , 接入点确定每一服务信息组的广播时间, 并根据服务信息组 的广播时间和信息标识建立服务目录, 该服务目录包括所有服务信息组的广 播时间和信息标识。 Step 120: The access point determines a broadcast time of each service information group, and according to the service information group The broadcast time and information identification establish a service directory, which includes the broadcast time and information identification of all service information groups.
具体地, 每一服务信息组的广播时间, 比如, 三个服务信息组: 餐饮类 的服务信息组、 娱乐类的服务信息组、 以及交通类的服务信息组, 确定这三 个服务信息组的广播时间。 餐饮类的服务信息组的信息标识为餐饮; 娱乐类 的服务信息组的信息标识为娱乐; 交通类的服务信息组的信息标识为交通。 根据这三个服务信息组的广播时间和信息标识建立服务目录。  Specifically, the broadcast time of each service information group, for example, three service information groups: a service information group of a catering type, a service information group of a entertainment category, and a service information group of a traffic type, determine the three service information groups. Broadcast time. The information of the service information group of the catering category is identified as catering; the information of the service information group of the entertainment category is identified as entertainment; and the information of the service information group of the transportation type is identified as traffic. The service directory is established based on the broadcast time and information identification of the three service information groups.
另外, 服务目录还可以包括每一服务信息组中的服务信息的摘要信息。 故服务目录不仅包括所有服务信息组的信息标识,还包括该接入点 AP提供的 所有服务信息的筒单信息即每一服务信息组中的服务信息的摘要信息, 以及 与之对应的服务信息组广播时间即该服务信息组包括的每个服务信息的详细 内容广播的确切时间, 比如, 餐饮类的服务信息组在第 1个信标周期之后发 送。  In addition, the service catalog may also include summary information of the service information in each service information group. Therefore, the service directory includes not only the information identifier of all the service information groups, but also the bill information of all the service information provided by the access point AP, that is, the summary information of the service information in each service information group, and the service information corresponding thereto. The group broadcast time is the exact time at which the detailed content of each service information included in the service information group is broadcast, for example, the service information group of the catering class is transmitted after the first beacon period.
步骤 1 30 , 接入点将服务信息组和服务目录添加到广播帧中。  Step 1 30, the access point adds the service information group and the service directory to the broadcast frame.
步骤 140 , 接入点确定广播帧的广播周期, 并根据广播周期周期性向站 点发送广播帧, 用以站点从广播帧的服务信息组中发现自身所需的服务信息 或者从广播帧的服务目录中获知自身所需的服务信息所在的服务信息组的广 播时间。  Step 140: The access point determines a broadcast period of the broadcast frame, and periodically sends a broadcast frame to the station according to the broadcast period, where the station finds the service information required by the station from the service information group of the broadcast frame or from the service directory of the broadcast frame. The broadcast time of the service information group in which the service information required by itself is known.
在一个实施例中, 步骤 1 30中服务目录还包括所述每一服务信息组中的 服务信息的摘要信息, 接入点将服务信息组分别添加到各个广播帧中, 且将 服务目录分别添加到各个广播帧中, 使得各个广播帧携带的服务信息组皆不 同, 且各个广播帧携带的服务目录皆相同。  In an embodiment, the service directory in step 130 further includes summary information of the service information in each service information group, and the access point adds the service information group to each broadcast frame separately, and adds the service directory separately. In each broadcast frame, the service information groups carried by each broadcast frame are different, and the service directories carried by each broadcast frame are the same.
具体地,每一个广播帧携带有服务目录和一种类型的服务信息组。其中, 每个广播帧携带的服务信息组的类型不同, 比如, 如第一个广播帧携带有一 个服务目录、 以及与餐饮相关的一个服务信息组, 第二个广播帧包含一个服 务目录与娱乐相关的一个服务信息组, 第三个广播帧包含一个服务目录与交 通方式相关的一个服务信息组。 其中, 所有广播帧中包括的服务目录都相同。 在一个实施例中, 步骤 140 , 每一广播帧携带有服务目录和一种类型的 服务信息组。 Specifically, each broadcast frame carries a service directory and a type of service information group. The type of the service information group carried by each broadcast frame is different. For example, if the first broadcast frame carries a service directory and a service information group related to the catering, the second broadcast frame includes a service directory and entertainment. Related to a service information group, the third broadcast frame contains a service directory and A service information group related to the mode. Among them, the service directories included in all broadcast frames are the same. In one embodiment, in step 140, each broadcast frame carries a service directory and a type of service information group.
具体地, 该广播帧的信息单元(Informat ion Element , IE)格式定义如表 1所示。 信息单元 IE是 802. 11管理帧的组成部分, 该管理帧由帧头以及帧 实体(frame body)两部分组成。 其中帧实体包括固定域和一系列信息单元两 部分。 信息单元 IE由三个部分组成: 1个字节的 Element ID域、 1个字节的 Length域, 以及变长的 Inf ormat ion域。  Specifically, the information element (Information Element, IE) format definition of the broadcast frame is as shown in Table 1. Information Element The IE is part of the 802.11 management frame, which consists of a frame header and a frame body. The frame entity includes a fixed domain and a series of information units. Information Element The IE consists of three parts: a 1-byte Element ID field, a 1-byte Length field, and a variable-length Inf ormat ion field.
表 1
Figure imgf000012_0001
上述广播帧中携带服务目录和和某类服务的详细服务信息即一种类型的 服务信息组。 其中, Element ID用于唯一标记 IE; Length标记 IE的长度; ServiceContent是服务目录; Servicelnfo是某类服务的详细服务信息即一 种类型的服务信息组。
Table 1
Figure imgf000012_0001
The above broadcast frame carries a service directory and detailed service information of a certain type of service, that is, a type of service information group. The Element ID is used to uniquely mark the IE; the Length is the length of the IE; the ServiceContent is the service directory; and the ServiceInfo is the detailed service information of a certain type of service, that is, a type of service information group.
另外, 步骤 140中接入点向站点发送广播帧时, 可以有调度的发送广播 帧。 比如, 三个服务信息组: 餐饮类的服务信息组、 娱乐类的服务信息组、 以及交通类的服务信息组。 接入点向站点发送携带上述三个服务信息组的广 播帧的发送方式有多种, 比如, 如图 2所示, 携带餐饮类的服务信息组的广 播帧 21排在第一位发送, 携带娱乐类的服务信息组的广播帧 11在第 1个信 标周期之后, 携带交通类的服务信息组的广播帧 23在第 2个信标周期之后。 其中, 携带餐饮类的服务信息组的广播帧、 携带娱乐类的服务信息组的广播 帧、 以及携带交通类的服务信息组的广播帧组成一个广播周期, 该广播周期 为 3个信标周期。 另外, 该广播周期循环根据实际情况可以循环多次发送, 并且该广播周期的长度可以根据服务类型的增加和减少而改变。  In addition, when the access point sends a broadcast frame to the station in step 140, there may be a scheduled transmission broadcast frame. For example, three service information groups: a service information group for food and beverage, a service information group for entertainment, and a service information group for transportation. The access point sends the broadcast frame carrying the three service information groups to the station in multiple manners. For example, as shown in FIG. 2, the broadcast frame 21 carrying the service information group of the catering class is sent in the first place, and is carried. The broadcast frame 11 of the entertainment service information group is after the first beacon period, and the broadcast frame 23 carrying the traffic information group is after the second beacon period. The broadcast frame carrying the service information group of the catering class, the broadcast frame carrying the service information group of the entertainment class, and the broadcast frame carrying the service information group of the traffic class constitute a broadcast period, and the broadcast period is 3 beacon periods. In addition, the broadcast cycle can be cyclically transmitted multiple times according to actual conditions, and the length of the broadcast cycle can be changed according to the increase and decrease of the service type.
值得注意的是, 在本发明所有实施例中信标周期定义为: 从发送第一个 广播帧开始直至发送第二个广播帧之前这段时间为一个信标周期。 因此, 本发明实施例提供的服务发现方法, 接入点根据每一服务信息的 摘要信息将所述服务信息按照不同的服务信息组分类, 确定每一服务信息组 的广播时间, 并根据服务信息组的广播时间和信息标识建立服务目录, 该服 务目录包括所有服务信息组的广播时间和信息标识, 将所述服务信息组和所 述服务目录添加到广播帧中, 向站点发送所述广播帧, 实现了在服务目录很 小的情况下, 可将其放到每个包含不同服务类型的详细的服务信息的广播帧 中, 这样不管接收到哪个广播帧, 都可以获知包含其它服务信息的广播帧的 广播时间, 从而可以减少一些情况下接收广播帧的次数, 能够更快速的发现 服务。 It is worth noting that in all embodiments of the invention the beacon period is defined as: from the first to be sent The period from the start of the broadcast frame until the second broadcast frame is sent is a beacon period. Therefore, the service discovery method provided by the embodiment of the present invention, the access point classifies the service information according to different service information groups according to the summary information of each service information, determines the broadcast time of each service information group, and according to the service information. The broadcast time and the information identifier of the group establish a service directory, the service directory includes a broadcast time and an information identifier of all service information groups, and the service information group and the service directory are added to the broadcast frame, and the broadcast frame is sent to the station. In the case that the service directory is small, it can be placed in each broadcast frame containing detailed service information of different service types, so that the broadcast containing other service information can be known regardless of which broadcast frame is received. The broadcast time of the frame, which can reduce the number of times the broadcast frame is received in some cases, and can discover the service more quickly.
图 3为本发明实施例三提供的服务发现方法的流程图。 该实施例提供的 站点侧执行的服务发现方法是与实施例一提供的接入点侧执行的服务发现方 法相对应的。 如图所示, 本发明实施例具体包括以下步骤:  FIG. 3 is a flowchart of a service discovery method according to Embodiment 3 of the present invention. The service discovery method performed by the site side provided by this embodiment corresponds to the service discovery method performed by the access point side provided in Embodiment 1. As shown in the figure, the embodiment of the present invention specifically includes the following steps:
步骤 31 0 , 站点接收接入点发送的携带服务目录和服务信息组的广播帧。 其中, 服务目录包括服务信息的信息标识和服务信息组的广播时间。  Step 31 0: The station receives a broadcast frame that carries the service directory and the service information group sent by the access point. The service directory includes an information identifier of the service information and a broadcast time of the service information group.
步骤 320 , 站点从广播帧的服务信息组中发现自身所需的服务信息或者 从广播帧的服务目录中获知自身所需的服务信息所在的服务信息组的广播时 间。  Step 320: The station finds the service information required by itself from the service information group of the broadcast frame or the broadcast time of the service information group in which the service information required by itself is obtained from the service directory of the broadcast frame.
在一个实施例中, 步骤 31 0中的每一个广播帧携带有服务目录和一种类 型的服务信息组, 各个广播帧携带的服务信息组皆不同, 且各个广播帧携带 的服务目录皆相同。在该实施例中服务目录和服务信息组是在一个广播帧中, 但是服务目录和服务信息组也可以不在一个广播帧中, 这种情况在其他实施 例进行详细说明。 步骤 320 中, 当站点接收到接入点发送的广播帧之后, 对 该广播帧采用两种不同的处理方式进行一系列的处理, 每一处理方式的处理 过程如下:  In one embodiment, each of the broadcast frames carries a service directory and a type of service information group. Each of the broadcast frames carries different service information groups, and each broadcast frame carries the same service directory. In this embodiment the service directory and service information set are in one broadcast frame, but the service directory and service information set may not be in one broadcast frame, as will be explained in detail in other embodiments. In step 320, after the station receives the broadcast frame sent by the access point, the broadcast frame adopts two different processing modes for performing a series of processing. The processing of each processing mode is as follows:
( 1 ) STA获得一个包含其想要的服务的详细服务信息即自身所需的服务 信息组就停止扫描,这种方式下 STA可以在不需要接收的时刻进入休眠状态。 其具体过程为: (1) The STA obtains a detailed service information containing the service it wants, that is, its own required service. The information group stops scanning. In this way, the STA can enter the sleep state at the time when it does not need to receive. The specific process is:
当接收到的广播帧的服务信息组中包含自身所需的服务信息时, 则站点 停止接收其他的广播帧。  When the service information group of the received broadcast frame contains the service information required by itself, the station stops receiving other broadcast frames.
当接收到的广播帧的服务信息组中不包含自身所需的服务信息时, 则站 点从服务目录中获知自身所需的服务信息所在的服务信息组的广播时间即自 身所需要的详细的服务信息的广播帧的确切广播时间后, 进入休眠状态, 只 在自身所需的服务信息所在的服务信息组的广播时间进入接收状态, 从而从 该时刻接收到的广播帧中发现自身所需的服务信息。  When the service information group of the received broadcast frame does not include the service information required by itself, the station learns from the service directory the broadcast time of the service information group in which the service information required by itself is the detailed service required by itself. After the exact broadcast time of the broadcast frame of the information, it enters the sleep state, and enters the reception state only at the broadcast time of the service information group in which the service information required by itself is received, thereby discovering the service required by the broadcast frame received at the time. information.
( 2 ) STA需要一直扫描直至获得所有包含其想要服务的详细服务信息即 自身所需的服务信息组, 这种方式下的 STA必须一直处于监听状态。 其具体 过程为:  (2) The STA needs to scan all the time until it obtains the detailed service information that it needs to service, that is, the service information group required by itself. In this way, the STA must always be in the listening state. The specific process is:
当接收到的广播帧的服务信息组中包含自身所需的服务信息时, 则站点 只是不再接收该接入点发送的其他服务信息, 并进行丟弃处理, 仍然会接收 其他接入点发送的广播帧。 在这里, 本发明实施例中涉及到的丟弃处理, 可 以为不解包,直接扔掉,也可以为只解介质访问控制(Med ium Acces s Cont ro l , MAC ) 帧头, 确认是该 AP发送的广播帧后扔掉。 其中, MAC帧分为数据帧, 控制帧, 管理帧。 我们这里所说的 Beacon是一种管理帧。 至于本发明其他实 施例中涉及到的丟弃处理与之相同, 不再重复详细说明。  When the service information group of the received broadcast frame contains the service information required by itself, the station simply does not receive other service information sent by the access point, and performs discard processing, and still receives other access points to send. Broadcast frame. Here, the discarding process involved in the embodiment of the present invention may be discarded without being unpacked, or may be a media access control (Medium Acces s Cont ro l, MAC) frame header, and the confirmation is that The broadcast frame sent by the AP is discarded. The MAC frame is divided into a data frame, a control frame, and a management frame. The Beacon we are talking about here is a management frame. The discarding process involved in the other embodiments of the present invention is the same, and the detailed description will not be repeated.
当接收到的广播帧的服务信息组中不包含自身所需的服务信息, 且服务 目录中存在与自身所需的服务信息相对应的服务信息的信息标识和服务信息 组的广播时间, 则站点在该服务信息组的广播时间接收广播帧, 并从该时刻 接收到的广播帧中发现自身所需的服务信息, 并且不再接收该接入点的其他 服务信息, 并对该接入点的其他广播帧做丟弃处理。 因为可能存在多个接入 点广播信息, 站点还是会接收其他接入点的信息  When the service information group of the received broadcast frame does not include the service information required by itself, and the service identifier of the service information corresponding to the service information required by itself and the broadcast time of the service information group exist in the service directory, the site Receiving a broadcast frame at the broadcast time of the service information group, and discovering the service information required by itself from the broadcast frame received at the time, and no longer receiving other service information of the access point, and the access point is Other broadcast frames are discarded. Because there may be multiple access point broadcast information, the site will still receive information from other access points.
但是, 当接收到的广播帧的服务信息组中不包含自身所需的服务信息, 且服务目录中不存在与自身所需的服务信息相对应的服务信息的信息标识和 服务信息组的广播时间, 则站点不再接收该接入点发送的服务信息, 对于该 接入点的其他广播帧作丟弃处理。 However, when the service information group of the received broadcast frame does not contain the service information required by itself, And the service identifier of the service information corresponding to the service information required by the service directory and the broadcast time of the service information group do not exist in the service directory, the site no longer receives the service information sent by the access point, and the other information about the access point The broadcast frame is discarded.
因此, 本发明实施例提供的服务发现方法、 站点接收到接入点发送的携 带服务目录和服务信息组的广播帧之后, 从所述广播帧的服务信息组中发现 自身所需的服务信息或者从所述广播帧的服务目录中获知所述自身所需的服 务信息所在的服务信息组的广播时间, 实现了在服务目录很小的情况下, 可 将其放到每个包含不同服务类型的详细的服务信息的广播帧中, 这样站点不 管接收到哪个广播帧, 都可以获知包含其它服务信息的广播帧的广播时间, 从而可以减少一些情况下接收广播帧的次数, 能够更快速的发现服务。  Therefore, after the service discovery method provided by the embodiment of the present invention receives the broadcast frame carrying the service directory and the service information group sent by the access point, the service information of the broadcast frame is found from the service information group of the broadcast frame or Obtaining the broadcast time of the service information group in which the service information required by the self is located from the service directory of the broadcast frame, and realizing that when the service directory is small, it can be placed in each of the different service types. In the broadcast frame of the detailed service information, the station can know the broadcast time of the broadcast frame including other service information regardless of which broadcast frame is received, thereby reducing the number of times the broadcast frame is received in some cases, and the service can be found more quickly. .
图 4为本发明实施例四提供的服务发现方法的流程图。 如图所示, 本发 明实施例具体包括以下步骤:  FIG. 4 is a flowchart of a service discovery method according to Embodiment 4 of the present invention. As shown in the figure, the embodiment of the present invention specifically includes the following steps:
步骤 41 0 , 接入点根据每一服务信息的内容将其进行分类获得不同的服 务信息组, 每个服务信息组有一个信息标识, 每一服务信息组的内容中的服 务信息属于与信息标识相对应的服务类型根据每一服务信息的摘要信息将接 入点所有服务信息按照不同的服务信息组分类。 其中, 服务信息组中的服务 信息属于同一服务类型, 服务信息组包括属于同一服务类型的所有服务信息 的内容信息。 但是, 不同服务信息组中的服务信息的类型不同。 该步骤与步 骤 1 1 0相同, 在这里不再赘述。  Step 41 0: The access point classifies the service information according to the content of each service information to obtain different service information groups. Each service information group has an information identifier, and the service information in the content of each service information group belongs to the information identifier. The corresponding service type classifies all service information of the access point according to different service information groups according to the summary information of each service information. The service information in the service information group belongs to the same service type, and the service information group includes content information of all service information belonging to the same service type. However, the types of service information in different service information groups are different. This step is the same as step 1 1 0 and will not be described here.
步骤 420 , 接入点确定每一服务信息组的广播时间, 并根据服务信息组 的广播时间和信息标识建立服务目录, 该服务目录包括所有服务信息组的广 播时间和信息标识, 并确定服务目录的广播时间。 该步骤与步骤 1 20相同, 在这里不再赘述。 其中, 服务目录还包括每一服务信息组中的服务信息的摘 要信息。  Step 420: The access point determines a broadcast time of each service information group, and establishes a service directory according to a broadcast time and an information identifier of the service information group, where the service directory includes a broadcast time and an information identifier of all service information groups, and determines a service directory. Broadcast time. This step is the same as step 1 20 and will not be described here. The service directory also includes summary information of the service information in each service information group.
步骤 430 , 接入点将服务目录添加到第一广播帧中, 且将服务目录的广 播时间和服务信息组添加到不同的第二广播帧中, 使得各个第二广播帧携带 的服务信息组皆不相同。 Step 430: The access point adds the service directory to the first broadcast frame, and adds the broadcast time and the service information group of the service directory to different second broadcast frames, so that each second broadcast frame carries The service information groups are all different.
具体地,在本发明实施例中服务目录和服务信息组是在不同的广播帧中, 将服务目录所在的广播帧定义为: 第一广播帧, 将服务信息组所在的广播帧 定义为: 第二广播帧。 因为服务信息组可能为多个, 所有第二广播帧也可能 为多个。 比如, 携带餐饮类的服务信息组的第二广播帧、 携带娱乐类的服务 信息组的第二广播帧、 以及携带交通类的服务信息组的第二广播帧。  Specifically, in the embodiment of the present invention, the service directory and the service information group are in different broadcast frames, and the broadcast frame in which the service directory is located is defined as: a first broadcast frame, and the broadcast frame in which the service information group is located is defined as: Two broadcast frames. Since there may be multiple service information groups, there may be multiple second broadcast frames. For example, a second broadcast frame carrying a service information group of a catering class, a second broadcast frame carrying a service information group of the entertainment class, and a second broadcast frame carrying a service information group of the traffic class.
其中, 携带服务目录的第一广播帧的信息单元 IE格式定义如表 2所示。 Element ID用于唯一标 i己 IE; Length标记 IE的长度; ServiceContent是月良 务目录信息。  The information element IE format definition of the first broadcast frame carrying the service directory is as shown in Table 2. Element ID is used to uniquely identify IE; Length is the length of the IE; ServiceContent is the monthly directory information.
表 2  Table 2
Element ID Length ServiceContent 携带服务信息组的第二广播帧的信息单元 IE 格式定义如表 3 所示。 Element ID用于唯一标记 IE; Length标记 IE的长度; Servi celnfo是某类 服务的详细服务信息即服务信息组的内容; Time 是携带服务目录的 Beacon 广播的确切时间。  Element ID Length ServiceContent The information element IE format definition of the second broadcast frame carrying the service information group is shown in Table 3. Element ID is used to uniquely mark IE; Length is the length of IE; Servi celnfo is the detailed service information of a certain type of service, that is, the content of the service information group; Time is the exact time of the Beacon broadcast carrying the service directory.
表 3
Figure imgf000016_0001
步骤 440 , 接入点确定第一广播帧和第二广播帧的广播周期, 并根据该 广播周期周期性向站点发送第一广播帧和第二广播帧, 用以站点从第一广播 帧的服务目录中获知述自身所需的服务信息所在的服务信息组的广播时间, 且从第二广播帧的服务信息组中发现自身所需的服务信息或者服务目录的广 播时间。 其中, 接入点向站点发送第一广播帧和第二广播帧的方式有很多种, 可以有调度的发送第一广播帧和第二广播帧。
table 3
Figure imgf000016_0001
Step 440: The access point determines a broadcast period of the first broadcast frame and the second broadcast frame, and periodically sends the first broadcast frame and the second broadcast frame to the station according to the broadcast period, where the site uses the service directory of the first broadcast frame. The broadcast time of the service information group in which the service information required by itself is known is obtained, and the service information required by itself or the broadcast time of the service directory is found from the service information group of the second broadcast frame. There are many ways for the access point to send the first broadcast frame and the second broadcast frame to the station, and the first broadcast frame and the second broadcast frame may be scheduled to be sent.
在一个实施例中, 在广播周期内, 第一广播帧仅发送一次, 各个携带有 不同服务信息组的第二广播帧分别发送一次。 比如, 接入点发送所述第一广 播帧后, 再发送所述第二广播帧, 直至所有第二广播帧发送完毕为一广播周 期, 然后再执行下一个广播周期。 另外, 接入点也可以先发送第二广播帧, 再发送第一广播帧。 其中, 不管第一广播帧还是第二广播帧, 每两个广播帧 之间的信标周期相同。 In one embodiment, during the broadcast period, the first broadcast frame is sent only once, each carrying The second broadcast frames of different service information groups are sent once. For example, after the access point sends the first broadcast frame, the second broadcast frame is sent until all the second broadcast frames are sent to a broadcast period, and then the next broadcast period is executed. In addition, the access point may also send the second broadcast frame first, and then send the first broadcast frame. Wherein, regardless of the first broadcast frame or the second broadcast frame, the beacon period between every two broadcast frames is the same.
具体地, 接入点向站点发送第一广播帧和第二广播帧的方式, 比如, 对 于携带服务目录的第一广播帧、 携带餐饮类的服务信息组的第二广播帧、 携 带娱乐类的服务信息组的第二广播帧、 以及携带交通类的服务信息组的第二 广播帧的发送方式很多。 如图 5所示, 携带服务目录的第一广播帧 51排在第 一位发送,携带餐饮类的服务信息组的第二广播帧 52排在第 1个信标周期之 后, 携带娱乐类的服务信息组的第二广播帧 5 3在第 2个信标周期之后, 携带 交通类的服务信息组的第二广播帧 54在第 3个信标周期之后。 其中, 携带服 务目录的第一广播帧 51、携带餐饮类的服务信息组的第二广播帧 52、 携带娱 乐类的服务信息组的第二广播帧 5 3、 以及携带交通类的服务信息组的第二广 播帧 54组成一个广播周期, 该广播周期为 4个信标周期。 另外, 该广播周期 根据实际情况可以循环多次发送。 其中, 携带服务目录的第一广播帧 51的发 送周期为 4个信标周期。  Specifically, the manner in which the access point sends the first broadcast frame and the second broadcast frame to the station, for example, the first broadcast frame carrying the service directory, the second broadcast frame carrying the service information group of the catering class, and the entertainment class The second broadcast frame of the service information group and the second broadcast frame carrying the service information group of the traffic class are transmitted in many ways. As shown in FIG. 5, the first broadcast frame 51 carrying the service directory is transmitted in the first place, and the second broadcast frame 52 carrying the service information group of the catering class is arranged after the first beacon period, and carries the entertainment service. The second broadcast frame 53 of the packet is after the second beacon period, and the second broadcast frame 54 carrying the traffic information group of the traffic class is after the third beacon period. The first broadcast frame 51 carrying the service directory, the second broadcast frame 52 carrying the service information group of the catering class, the second broadcast frame 53 carrying the service information group of the entertainment class, and the service information group carrying the traffic class The second broadcast frame 54 constitutes a broadcast period which is 4 beacon periods. In addition, the broadcast period can be transmitted multiple times according to the actual situation. The sending period of the first broadcast frame 51 carrying the service directory is 4 beacon periods.
再另一个实施例中, 在广播周期内, 第一广播帧发送多次, 各个携带有 不同服务信息组的第二广播帧分别发送一次, 在每个第二广播帧发送之前或 之后发送一个和多个第一广播帧, 其中, 第一广播帧占用的字节数小于所述 第二广播帧占用的字节数。 比如, 第一广播帧和第二广播帧其 IE帧格式如表 3 所示。 接入点可以依次发送第二广播帧, 且在各个第二广播帧之间发送第 一广播帧, 直至所有第二广播帧发送完毕为一广播周期, 然后再执行下一个 广播周期。 其中, 在两个第二广播帧之间发送一个或多个第一广播帧, 本实 施例中采用发送频率更高的第一广播帧来携带服务目录, 目的是为了提高站 点接收到服务目录的概率, 使得站点更快速的发现服务。 具体地, 在本发明实施例中, 将占用字节数比较少的第一广播帧自定义 为短信标; 将占用字节数比较多的第二广播帧自定义为长信标。 当接入点依 次发送第二广播帧, 比如, 按照先发送携带餐饮类的服务信息组的第二广播 帧、 再发送携带娱乐类的服务信息组的第二广播帧、 最后发送携带交通类的 服务信息组的第二广播帧的顺序发送。 但是, 在两个第二广播帧即长信标之 间还要发送一个或多个第一广播帧即短信标。 如图 6所示, 发送携带餐饮类 的服务信息组的第二广播帧 61之后,连续发送 5个携带服务目录的第一广播 帧 60 , 然后, 发送携带娱乐类的服务信息组的第二广播帧 62之后, 再连续 发送 5个携带服务目录的第一广播帧 60 , 最后, 发送携带交通类的服务信息 组的第二广播帧 6 3之后, 再连续发送 5个携带服务目录的第一广播帧 60 , 至此形成一个完整的广播周期,该广播周期根据实际情况可以循环多次发送。 其中, 不管第一广播帧还是第二广播帧, 每两个广播帧之间的信标周期为短 信标周期, 但是每两个第二广播帧之间的信标周期为长信标周期。 In still another embodiment, during the broadcast period, the first broadcast frame is sent multiple times, and each second broadcast frame carrying a different service information group is sent once, and a sum is sent before or after each second broadcast frame is sent. a plurality of first broadcast frames, wherein the number of bytes occupied by the first broadcast frame is smaller than the number of bytes occupied by the second broadcast frame. For example, the format of the IE frame of the first broadcast frame and the second broadcast frame is as shown in Table 3. The access point may sequentially transmit the second broadcast frame, and send the first broadcast frame between the respective second broadcast frames until all the second broadcast frames are transmitted as one broadcast period, and then execute the next broadcast period. The first broadcast frame is sent between the two second broadcast frames. In this embodiment, the first broadcast frame with a higher transmission frequency is used to carry the service directory, so as to improve the site receiving the service directory. Probability, making the site discover services faster. Specifically, in the embodiment of the present invention, the first broadcast frame with a smaller number of occupied bytes is customized as a short message mark; and the second broadcast frame with a larger number of occupied bytes is customized as a long beacon. When the access point sequentially sends the second broadcast frame, for example, the second broadcast frame that first carries the service information group carrying the catering class, the second broadcast frame that carries the service information group that carries the entertainment class, and finally sends the traffic class. The second broadcast frame of the service information group is sent in the order. However, one or more first broadcast frames, ie, short beacons, are also transmitted between the two second broadcast frames, ie, long beacons. As shown in FIG. 6, after transmitting the second broadcast frame 61 carrying the service information group of the catering class, five first broadcast frames 60 carrying the service directory are continuously transmitted, and then the second broadcast carrying the service information group of the entertainment class is transmitted. After the frame 62, five first broadcast frames 60 carrying the service directory are continuously transmitted, and finally, after the second broadcast frame 63 carrying the service information group of the traffic class is transmitted, five first broadcasts carrying the service directory are continuously transmitted. The frame 60, so far, forms a complete broadcast period, and the broadcast period can be cyclically transmitted multiple times according to actual conditions. Wherein, regardless of the first broadcast frame or the second broadcast frame, the beacon period between every two broadcast frames is a short beacon period, but the beacon period between every two second broadcast frames is a long beacon period.
因此, 本发明实施例提供的服务发现方法, 接入点根据每一服务信息的 摘要信息将所述服务信息按照不同的服务信息组分类, 确定每一服务信息组 的广播时间, 并将所述每一服务信息的摘要信息和所述每一服务信息组的广 播时间组成服务目录, 将服务目录添加到第一广播帧中, 且将服务目录的广 播时间和服务信息组添加到不同的第二广播帧中, 使得各个第二广播帧携带 的服务信息组皆不相同, 向站点发送第一广播帧和第二广播帧, 当站点接收 到接入点发送的第一广播帧或第二广播帧,实现了利用 AP将所有服务信息分 类,并将服务目录添加到第一广播帧中,且将服务目录的广播时间和服务信息 组添加到不同的第二广播帧中, 并向站点发送第一广播帧和第二广播帧, 使 得站点根据第一广播帧和第二广播帧在获知的时刻接收需要的服务信息, 而 不需要接收所有的服务信息, 降低了 STA的功耗, 能够支持大数据量的被动 服务发现。  Therefore, the service discovery method provided by the embodiment of the present invention, the access point classifies the service information according to different service information groups according to the summary information of each service information, determines the broadcast time of each service information group, and The summary information of each service information and the broadcast time of each service information group constitute a service directory, add the service directory to the first broadcast frame, and add the broadcast time of the service directory and the service information group to different second In the broadcast frame, the service information groups carried by the second broadcast frames are different, and the first broadcast frame and the second broadcast frame are sent to the station, when the station receives the first broadcast frame or the second broadcast frame sent by the access point. Implementing the AP to classify all service information, adding the service directory to the first broadcast frame, and adding the broadcast time and service information group of the service directory to different second broadcast frames, and sending the first to the site Broadcasting frame and second broadcast frame, so that the station receives the required service letter according to the first broadcast frame and the second broadcast frame at the learned time Without the need to receive all of the service information, the STA reduce power consumption, large amount of data to support passive service discovery.
图 7为本发明实施例七提供的服务发现方法的流程图。 该实施例提供的 站点侧执行的服务发现方法是与实施例四提供的接入点侧执行的服务发现方 法相对应的。 如图所示, 本发明实施例具体包括以下步骤: FIG. 7 is a flowchart of a service discovery method according to Embodiment 7 of the present invention. Provided by this embodiment The service discovery method performed by the site side corresponds to the service discovery method performed by the access point side provided in the fourth embodiment. As shown in the figure, the embodiment of the present invention specifically includes the following steps:
步骤 71 0 , 站点接收接入点发送的携带服务目录和服务信息组的广播帧, 其中, 服务目录包括服务信息的信息标识和服务信息组的广播时间, 接收到 的广播帧包括第一广播帧和第二广播帧。  Step 71 0: The station receives the broadcast frame that carries the service directory and the service information group sent by the access point, where the service directory includes the information identifier of the service information and the broadcast time of the service information group, and the received broadcast frame includes the first broadcast frame. And a second broadcast frame.
具体地, 站点接收接入点发送的携带有服务目录的第一广播帧或携带有 服务目录的广播时间和服务信息组的第二广播帧, 其中, 各个第二广播帧携 带的服务信息组皆不相同。  Specifically, the station receives the first broadcast frame that carries the service directory or the second broadcast frame that carries the broadcast time of the service directory and the service information group, where the service information group carried by each second broadcast frame is received by the access point. Not the same.
步骤 720 , 站点从广播帧的服务信息组中发现自身所需的服务信息、 或 者服务目录的广播时间、 或者从广播帧的服务目录中获知所述自身所需的服 务信息所在的服务信息组的广播时间。 其中, 接收到的广播帧包括第一广播 帧和第二广播帧。 第一广播帧携带有服务目录, 第二广播帧携带有一种类型 的服务信息组和服务目录的广播时间。  Step 720: The station finds the service information required by the service information group of the broadcast frame, or the broadcast time of the service directory, or learns the service information group of the service information required by the self from the service directory of the broadcast frame. Broadcast time. The received broadcast frame includes a first broadcast frame and a second broadcast frame. The first broadcast frame carries a service directory, and the second broadcast frame carries a type of service information group and a broadcast time of the service directory.
具体地, 当站点接收到接入点发送的广播帧之后, 对该第一广播帧或第 二广播帧采用两种不同的处理方式进行一系列的处理, 每一处理方式的处理 过程如下:  Specifically, after the station receives the broadcast frame sent by the access point, the first broadcast frame or the second broadcast frame is processed in two different manners by using two different processing manners. The processing of each processing manner is as follows:
( 1 ) STA获得一个包含其想要的服务的详细服务信息即自身所需的服务 信息组就停止扫描,这种方式下 STA可以在不需要接收的时刻进入休眠状态。 其具体过程为:  (1) The STA obtains detailed service information including the service it wants, that is, the service information group required by itself stops scanning. In this manner, the STA can enter the sleep state at the time when it does not need to receive. The specific process is:
当接收到的是第一广播帧, 则从第一广播帧携带的服务目录中获知自身 所需的服务信息所在的服务信息组的广播时间后, 进入休眠状态, 只在自身 所需的服务信息所在的服务信息组的广播时间进入接收状态, 从而从接收到 的广播帧中发现自身所需的服务信息。  When the first broadcast frame is received, the broadcast time of the service information group in which the service information required by the service information is required is obtained from the service directory carried in the first broadcast frame, and then enters a sleep state, and only the service information required by itself is obtained. The broadcast time of the service information group in which it is located enters the receiving state, thereby discovering the service information required by itself from the received broadcast frame.
当接收到的是第二广播帧,且第二广播帧携带的服务信息组中包含自身 所需的服务信息时, 则站点停止接收该接入点发送的其他的广播帧;  When the second broadcast frame is received, and the service information group carried by the second broadcast frame includes the service information required by the second broadcast frame, the station stops receiving other broadcast frames sent by the access point;
当接收到的是第二广播帧,且第二广播帧携带的服务信息组中不包含自 身所需的服务信息时,则根据第二广播帧获知服务目录的广播时间后,进入休 眠状态, 只在服务目录的广播时间进入接收状态, 并从接收到的携带有服务 目录的第一广播帧中获知自身所需的服务信息所在的服务信息组的广播时间 后, 然后再进入休眠状态, 只在自身所需的服务信息所在的服务信息组的广 播时间进入接收状态, 从而从接收到的携带有服务信息组的第二广播帧中发 现自身所需的服务信息。 When the second broadcast frame is received, and the service information group carried by the second broadcast frame does not include the self When the required service information is obtained, the broadcast time of the service directory is obtained according to the second broadcast frame, and the sleep state is entered, and only the broadcast time of the service directory enters the receiving state, and the received first broadcast carrying the service directory is received. After the broadcast time of the service information group in which the service information required by the user is located, the frame enters the sleep state, and enters the reception state only at the broadcast time of the service information group where the service information required by itself is received, thereby receiving from the received The service information required by itself is found in the second broadcast frame carrying the service information group.
( 2 ) STA需要一直扫描直至获得所有包含其想要服务的详细服务信息即 自身所需的服务信息组, 这种方式下的 STA必须一直处于监听状态。 其具体 过程为:  (2) The STA needs to scan all the time until it obtains the detailed service information that it needs to service, that is, the service information group required by itself. In this way, the STA must always be in the listening state. The specific process is:
当接收到的是携带有服务目录的第一广播帧,且服务目录中存在与自身 所需的服务信息相对应的服务信息的信息标识和服务信息组的广播时间, 则 在服务信息组的广播时间接收第二广播帧, 并从接收到的第二广播帧中发现 自身所需的服务信息, 对于该接入点的其他广播帧, 比如, 第一广播帧或第 二广播帧, 作丟弃处理;  When the first broadcast frame carrying the service directory is received, and the information identifier of the service information corresponding to the service information required by itself and the broadcast time of the service information group are present in the service directory, the broadcast of the service information group is performed. Receiving a second broadcast frame, and discovering the service information required by itself from the received second broadcast frame, and discarding other broadcast frames of the access point, for example, the first broadcast frame or the second broadcast frame. deal with;
当接收到的是携带有服务目录的第一广播帧, 且服务目录中不存在与自 身所需的服务信息相对应的服务信息的信息标识和服务信息组的广播时间, 则站点不再接收接入点发送的服务信息, 对于该接入点的其他广播帧, 比如, 第一广播帧或第二广播帧, 作丟弃处理。  When the first broadcast frame carrying the service directory is received, and the information identifier of the service information corresponding to the service information required by itself and the broadcast time of the service information group are not present in the service directory, the station no longer receives the connection. The service information sent by the ingress is discarded for other broadcast frames of the access point, for example, the first broadcast frame or the second broadcast frame.
当接收到的是第二广播帧, 且第二广播帧携带的服务信息组中包含自身 所需的服务信息时, 则站点不再接收其他的服务信息, 对于该接入点的其他 广播帧, 比如, 第一广播帧或第二广播帧, 作丟弃处理。  When the second broadcast frame is received, and the service information group carried by the second broadcast frame includes the service information required by itself, the site no longer receives other service information, and for other broadcast frames of the access point, For example, the first broadcast frame or the second broadcast frame is discarded.
当接收到的是第二广播帧, 且第二广播帧携带的服务信息组中不包含自 身所需的服务信息时, 则根据第二广播帧获知服务目录的广播时间, 用以站 点在服务目录的广播时间接收第一广播帧。  When the second broadcast frame is received, and the service information group carried by the second broadcast frame does not include the service information required by itself, the broadcast time of the service directory is learned according to the second broadcast frame, and the site is used in the service directory. The broadcast time receives the first broadcast frame.
另外, 当第一广播帧为信标, 第二广播帧也为信标, 但是第一广播帧占 用的字节数小于所述第二广播帧占用的字节数时, 站点对第一广播帧或第二 广播帧的处理过程与上述相同, 在这里不再赘述。 In addition, when the first broadcast frame is a beacon and the second broadcast frame is also a beacon, but the first broadcast frame occupies less than the number of bytes occupied by the second broadcast frame, the station pairs the first broadcast frame. Or second The processing procedure of the broadcast frame is the same as the above, and will not be described again here.
因此, 本发明实施例提供的服务发现方法, 站点接收接入点发送的携带 服务目录和服务信息组的广播帧, 其中, 服务目录包括服务信息的信息标识 和服务信息组的广播时间, 接收到的广播帧包括第一广播帧和第二广播帧, 根据接收到的广播帧携带的服务目录和服务信息组, 发现自身所需的服务信 息, 实现了站点根据第一广播帧和第二广播帧在获知的时刻接收需要的服务 信息, 而不需要接收所有的服务信息, 降低了 STA的功耗, 能够支持大数据 量的被动服务发现。  Therefore, the service discovery method provided by the embodiment of the present invention, the station receives a broadcast frame that carries the service directory and the service information group sent by the access point, where the service directory includes the information identifier of the service information and the broadcast time of the service information group, and is received. The broadcast frame includes a first broadcast frame and a second broadcast frame, and according to the service directory and the service information group carried by the received broadcast frame, discovers service information required by itself, and implements the site according to the first broadcast frame and the second broadcast frame. Receiving the required service information at the time of knowledge, without receiving all the service information, reducing the power consumption of the STA, and supporting the passive service discovery of a large amount of data.
图 8为本发明实施例八提供的接入点的示意图。 该接入点用于执行本发 明实施例一至七提供的服务发现方法。 如图所示, 本发明实施例具体包括: 分类单元 81、 处理单元 82、 添加单元 8 3和发送单元 84。  FIG. 8 is a schematic diagram of an access point according to Embodiment 8 of the present invention. The access point is used to perform the service discovery method provided by Embodiments 1 through 7 of the present invention. As shown in the figure, the embodiment of the present invention specifically includes: a classification unit 81, a processing unit 82, an adding unit 83, and a sending unit 84.
分类单元 81用于每一服务信息的内容将其进行分类,得到不同的服务信 息组, 每个服务信息组有一个信息标识每一服务信息的摘要信息, 每一服务 信息组中的服务信息的内容属于与信息标识相对应的服务类型, 以及将服务 信息组传输给处理单元 82 ;处理单元 82用于从分类单元 81接收服务信息组, 确定每一服务信息组的广播时间, 并根据服务信息组的广播时间和信息标识 建立服务目录, 该服务目录包括所有服务信息组的广播时间和信息标识, 以 及将服务信息组和服务目录传输给添加单元 8 3 ; 添加单元 8 3用于从处理单 元 82 接收服务信息组和服务目录, 将服务信息组和服务目录添加到广播帧 中, 以及将广播帧传输给发送单元 84 ; 发送单元 84用于从添加单元 8 3接收 广播帧, 确定广播帧的广播周期, 并根据广播周期周期性向站点发送广播帧, 用以所述站点从所述广播帧的服务信息组中发现自身所需的服务信息或者从 所述广播帧的服务目录中获知所述自身所需的服务信息所在的服务信息组的 广播时间。  The classification unit 81 classifies the content of each service information into different service information groups, and each service information group has a message identifying the summary information of each service information, and the service information in each service information group. The content belongs to the service type corresponding to the information identification, and the service information group is transmitted to the processing unit 82; the processing unit 82 is configured to receive the service information group from the classification unit 81, determine the broadcast time of each service information group, and according to the service information The broadcast time and information identification of the group establishes a service directory, which includes the broadcast time and information identifier of all service information groups, and transmits the service information group and the service directory to the adding unit 8 3 ; the adding unit 8 3 is used for the slave processing unit 82, receiving the service information group and the service directory, adding the service information group and the service directory to the broadcast frame, and transmitting the broadcast frame to the transmitting unit 84; the transmitting unit 84 is configured to receive the broadcast frame from the adding unit 83, and determine the broadcast frame. Broadcast period, and periodically send broadcast frames to the station according to the broadcast period, And a broadcast time of the service information group in which the station finds the service information required by the station from the service information group of the broadcast frame or the service directory of the broadcast frame from the service directory of the broadcast frame.
在一个实施例中, 服务目录还包括每一服务信息组中的服务信息的摘要 信息, 添加单元 8 3用于将服务信息组分别添加到各个广播帧中, 且将服务目 录分别添加到各个广播帧中, 使得各个广播帧携带的服务信息组皆不同, 且 各个广播帧携带的服务目录皆相同, 其中, 每一广播帧携带有服务目录和一 种类型的服务信息组。 In an embodiment, the service directory further includes summary information of service information in each service information group, and the adding unit 83 is configured to separately add the service information group to each broadcast frame, and The recordings are added to the respective broadcast frames, so that the service information groups carried by the broadcast frames are different, and the service directories carried by the broadcast frames are the same. Each broadcast frame carries a service directory and a type of service information group. .
在另一个实施例中, 服务目录还包括每一服务信息组中的服务信息的摘 要信息, 处理单元 82还用于确定服务目录的广播时间。 在该实施例中涉及到 的广播帧包括: 第一广播帧和第二广播帧。 添加单元 83用于将服务目录添加 到第一广播帧中, 且将服务目录的广播时间和服务信息组添加到不同的第二 广播帧中, 使得各个第二广播帧携带的服务信息组皆不相同。 发送单元 84用 于向站点发送第一广播帧, 用以站点从第一广播帧获知接入点发送自身所需 的服务信息的广播时间, 且向站点第二广播帧, 用以站点从第二广播帧中发 现自身所需的服务信息。  In another embodiment, the service catalog also includes summary information of the service information in each service information group, and the processing unit 82 is further configured to determine the broadcast time of the service catalog. The broadcast frame involved in this embodiment includes: a first broadcast frame and a second broadcast frame. The adding unit 83 is configured to add the service directory to the first broadcast frame, and add the broadcast time and the service information group of the service directory to different second broadcast frames, so that the service information groups carried by the respective second broadcast frames are not the same. The sending unit 84 is configured to send a first broadcast frame to the station, where the station learns, from the first broadcast frame, a broadcast time for the access point to send the service information required by the access point, and sends a second broadcast frame to the station for the site to be the second The service information required by itself is found in the broadcast frame.
其中, 发送单元 84的广播周期内, 第一广播帧仅发送一次, 各个携带有 不同服务信息组的第二广播帧分别发送一次; 或者第一广播帧发送多次, 各 个携带有不同服务信息组的第二广播帧分别发送一次, 在每个第二广播帧发 送之前发送一个和多个第一广播帧, 其中, 所述第一广播帧占用的字节数小 于所述第二广播帧占用的字节数。 因此, 接入点有多种发送第一广播帧和第 二广播帧的形式, 比如: 发送第一广播帧后, 再发送第二广播帧, 直至所有 第二广播帧发送完毕为一广播周期, 然后再执行下一个广播周期; 或者依次 发送第二广播帧, 且在各个第二广播帧之间发送一个或多个第一广播帧, 直 至所有第二广播帧发送完毕为一广播周期, 然后再执行下一个广播周期。  In the broadcast period of the sending unit 84, the first broadcast frame is sent only once, and the second broadcast frames carrying different service information groups are respectively sent once; or the first broadcast frame is sent multiple times, each carrying different service information groups. The second broadcast frame is sent once, and one or more first broadcast frames are sent before each second broadcast frame is sent, where the number of bytes occupied by the first broadcast frame is smaller than that occupied by the second broadcast frame. The number of bytes. Therefore, the access point has multiple forms of transmitting the first broadcast frame and the second broadcast frame, for example, after sending the first broadcast frame, and then sending the second broadcast frame until all the second broadcast frames are sent to a broadcast period. And then executing the next broadcast period; or transmitting the second broadcast frame in turn, and transmitting one or more first broadcast frames between the respective second broadcast frames until all the second broadcast frames are sent to be a broadcast period, and then Execute the next broadcast cycle.
因此, 本发明实施例提供的接入点, 根据每一服务信息的摘要信息将所 述服务信息按照不同的服务信息组分类, 确定每一服务信息组的广播时间, 并将所述每一服务信息的摘要信息和所述每一服务信息组的广播时间组成服 务目录, 将所述服务信息组和所述服务目录添加到广播帧中, 向站点发送所 述广播帧, 实现了利用 AP将所有服务信息分类后发送给 STA,且 STA在获知 的时刻接收需要的服务信息, 而不需要接收所有的服务信息, 降低了 STA的 功耗, 能够支持大数据量的被动服务发现。 Therefore, the access point provided by the embodiment of the present invention classifies the service information according to different service information groups according to the summary information of each service information, determines the broadcast time of each service information group, and determines each service. The summary information of the information and the broadcast time of each service information group constitute a service directory, the service information group and the service directory are added to the broadcast frame, and the broadcast frame is sent to the station, so that all the APs are used. After the service information is classified, it is sent to the STA, and the STA receives the required service information at the time of being informed, and does not need to receive all the service information, thereby reducing the STA's Power consumption, capable of supporting passive data discovery with large amounts of data.
图 9为本发明实施例九提供的站点的示意图。 该站点用于执行本发明实 施例一至七提供的服务发现方法。 如图所示, 本发明实施例具体包括: 接收 单元 91和发现单元 92。  FIG. 9 is a schematic diagram of a station provided in Embodiment 9 of the present invention. The site is for performing the service discovery method provided by Embodiments 1 through 7 of the present invention. As shown in the figure, the embodiment of the present invention specifically includes: a receiving unit 91 and a discovery unit 92.
接收单元 91 用于接收接入点发送的携带服务目录和服务信息组的广播 帧, 服务目录包括服务信息的信息标识和服务信息组的广播时间, 以及将广 播帧传输给发现单元 92 ; 发现单元 92用于从接收单元接收广播帧, 从广播 帧的服务信息组中发现自身所需的服务信息或者从广播帧的服务目录中获知 自身所需的服务信息所在的服务信息组的广播时间。  The receiving unit 91 is configured to receive a broadcast frame that carries the service directory and the service information group sent by the access point, where the service directory includes the information identifier of the service information and the broadcast time of the service information group, and transmits the broadcast frame to the discovery unit 92; 92 is configured to receive a broadcast frame from the receiving unit, discover the service information required by itself from the service information group of the broadcast frame, or learn the broadcast time of the service information group in which the service information required by itself is obtained from the service directory of the broadcast frame.
当广播帧中既有服务目录又有服务信息组时, 在一个实施例中, 发现单 元 92用于当接收到的广播帧的服务信息组中包含自身所需的服务信息时,则 站点停止接收接入点发送的其他的广播帧; 当接收到的广播帧的服务信息组 中不包含自身所需的服务信息时, 则站点从服务目录中获知自身所需的服务 信息所在的服务信息组的广播时间后, 进入休眠状态, 只在自身所需的服务 信息所在的服务信息组的广播时间进入接收状态, 从而从接收到的广播帧中 发现自身所需的服务信息。  When there are both a service directory and a service information group in the broadcast frame, in one embodiment, the discovery unit 92 is configured to stop receiving the service information when the service information group of the received broadcast frame includes the service information required by itself. Other broadcast frames sent by the access point; when the service information group of the received broadcast frame does not contain the service information required by itself, the site learns from the service directory the service information group in which the service information required by itself is located. After the broadcast time, the user enters the dormant state and enters the receiving state only during the broadcast time of the service information group in which the service information required by itself is received, thereby discovering the service information required by itself from the received broadcast frame.
在另一个实施例中,发现单元 92用于当接收到的广播帧的服务信息组中 包含自身所需的服务信息时,则站点不再接收接入点发送的其他的服务信息, 对于接入点发送的其他广播帧作丟弃处理; 当接收到的广播帧的服务信息组 中不包含自身所需的服务信息, 且服务目录中存在与自身所需的服务信息相 对应的服务信息的信息标识和服务信息组的广播时间, 则在服务信息组的广 播时间接收广播帧, 并从接收到的广播帧中发现自身所需的服务信息, 对于 该接入点发送的其他广播帧作丟弃处理。 另外, 发现单元 92还用于当接收到 的广播帧的服务信息组中不包含自身所需的服务信息, 且服务目录中不存在 与自身所需的服务信息相对应的服务信息的信息标识和服务信息组的广播时 间, 则站点不再接收接入点发送的服务信息, 对于接入点发送的其他广播帧 作丟弃处理。 In another embodiment, the discovery unit 92 is configured to: when the service information group of the received broadcast frame includes service information required by itself, the site no longer receives other service information sent by the access point, for accessing The other broadcast frames sent by the point are discarded; when the service information group of the received broadcast frame does not contain the service information required by itself, and the service directory has the information of the service information corresponding to the service information required by itself. The broadcast time of the identification and service information group is received at the broadcast time of the service information group, and the service information required by itself is found from the received broadcast frame, and the other broadcast frames sent by the access point are discarded. deal with. In addition, the discovery unit 92 is further configured to: when the service information group of the received broadcast frame does not include the service information required by itself, and the service directory does not have the information identifier of the service information corresponding to the service information required by itself. The broadcast time of the service information group, the station no longer receives the service information sent by the access point, and other broadcast frames sent by the access point Dispose of.
当广播帧包括第一广播帧和第二广播帧,接收单元 91用于接收接入点发 送的携带有服务目录的第一广播帧或携带有服务目录的广播时间和服务信息 组的第二广播帧, 其中, 各个第二广播帧携带的服务信息组皆不相同。  When the broadcast frame includes the first broadcast frame and the second broadcast frame, the receiving unit 91 is configured to receive, by the access point, the first broadcast frame that carries the service directory or the second broadcast that carries the broadcast time and the service information group of the service directory. a frame, where each of the second broadcast frames carries different service information groups.
在一个实施例中, 发现单元 92用于当接收到的是第一广播帧,则从第一 广播帧携带的服务目录中获知自身所需的服务信息所在的服务信息组的广播 时间后, 进入休眠状态, 只在自身所需的服务信息所在的服务信息组的广播 时间进入接收状态, 从而从接收到的广播帧中发现自身所需的服务信息; 当 接收到的是第二广播帧,且第二广播帧携带的服务信息组中包含自身所需的 服务信息时, 则站点停止接收其他的广播帧。 另外, 发现单元 92还用于当接 收到的是第二广播帧,且第二广播帧携带的服务信息组中不包含自身所需的 服务信息时, 则根据第二广播帧获知服务目录的广播时间后, 进入休眠状态, 只在服务目录的广播时间进入接收状态, 并从接收到的携带有服务目录的第 一广播帧中获知自身所需的服务信息所在的服务信息组的广播时间后, 然后 再进入休眠状态, 只在自身所需的服务信息所在的服务信息组的广播时间进 入接收状态, 从而从接收到的携带有服务信息组的第二广播帧中发现自身所 需的服务信息。  In an embodiment, the discovery unit 92 is configured to: after receiving the first broadcast frame, learn from the service directory carried by the first broadcast frame, after the broadcast time of the service information group in which the service information required by the user is located, enter The dormant state enters the receiving state only at the broadcast time of the service information group in which the service information required by itself, so that the service information required by itself is found from the received broadcast frame; when the second broadcast frame is received, and When the service information group carried by the second broadcast frame contains the service information required by itself, the station stops receiving other broadcast frames. In addition, the discovery unit 92 is further configured to: when the second broadcast frame is received, and the service information group carried by the second broadcast frame does not include the service information required by itself, the broadcast of the service directory is obtained according to the second broadcast frame. After the time, the user enters the dormant state, enters the receiving state only during the broadcast time of the service directory, and after obtaining the broadcast time of the service information group in which the service information required by the service information group is received from the received first broadcast frame carrying the service directory, Then, it enters the dormant state, and enters the receiving state only in the broadcast time of the service information group in which the service information required by itself is received, thereby discovering the service information required by itself from the received second broadcast frame carrying the service information group.
在另一个实施例中,发现单元 92用于当接收到的是携带有服务目录的第 一广播帧, 且服务目录中存在与自身所需的服务信息相对应的服务信息的信 息标识和服务信息组的广播时间, 则在服务信息组的广播时间接收第二广播 帧, 并从接收到的第二广播帧中发现自身所需的服务信息, 对于该接入点发 送的的其他第一广播帧或第二广播帧作丟弃处理; 当接收到的是携带有服务 目录的第一广播帧, 且服务目录中不存在与自身所需的服务信息相对应的服 务信息的信息标识和服务信息组的广播时间, 则站点不再接收接入点发送的 服务信息, 对于该接入点发送的的其他广播帧, 第一广播帧或第二广播帧作 丟弃处理。 另外, 发现单元 92用于当接收到的是第二广播帧, 且第二广播帧 携带的服务信息组中包含自身所需的服务信息时, 则站点不再接收其他的服 务信息, 对于该接入点发送的的其他广播帧, 比如, 第二广播帧或第一广播 帧作丟弃处理; 当接收到的是第二广播帧, 且第二广播帧携带的服务信息组 中不包含自身所需的服务信息时, 则根据第二广播帧获知服务目录的广播时 间,用以站点在服务目录的广播时间接收第一广播帧。 In another embodiment, the discovery unit 92 is configured to: when receiving the first broadcast frame carrying the service directory, and the service directory has the information identifier and service information of the service information corresponding to the service information required by itself. The broadcast time of the group receives the second broadcast frame at the broadcast time of the service information group, and discovers the service information required by itself from the received second broadcast frame, for other first broadcast frames sent by the access point. Or the second broadcast frame is discarded; when the first broadcast frame carrying the service directory is received, and the service identifier does not have the service identifier and the service information group corresponding to the service information required by the service directory. The broadcast time, the station no longer receives the service information sent by the access point, and the first broadcast frame or the second broadcast frame is discarded for other broadcast frames sent by the access point. In addition, the discovery unit 92 is configured to receive the second broadcast frame and the second broadcast frame. When the carried service information group contains the service information required by itself, the site does not receive other service information, and the other broadcast frames sent by the access point, for example, the second broadcast frame or the first broadcast frame are lost. Discarding the processing; when the second broadcast frame is received, and the service information group carried by the second broadcast frame does not include the service information required by itself, the broadcast time of the service directory is learned according to the second broadcast frame, and is used for the site. The first broadcast frame is received at the broadcast time of the service catalog.
因此, 本发明实施例提供的站点, 站点接收到接入点发送的携带服务目 录和服务信息组的广播帧之后, 从广播帧的服务信息组中发现自身所需的服 务信息或者从广播帧的服务目录中获知自身所需的服务信息所在的服务信息 组的广播时间, 实现了利用 AP将所有服务信息分类后发送给 STA,且 STA在 获知的时刻接收需要的服务信息,而不需要接收所有的服务信息,降低了 STA 的功耗, 能够支持大数据量的被动服务发现。  Therefore, the station provided by the embodiment of the present invention, after receiving the broadcast frame carrying the service directory and the service information group sent by the access point, discovers the service information required by the service information group of the broadcast frame or the broadcast frame from the broadcast frame. The broadcast time of the service information group in which the service information required by the service information is obtained in the service directory is implemented, and all the service information is classified and sent to the STA by using the AP, and the STA receives the required service information at the time of obtaining, without receiving all the information. The service information reduces the power consumption of the STA and can support the passive service discovery of large data volume.
图 10为本发明实施例十提供的接入点的示意图。该接入点用于执行本发 明实施例一至七提供的被动服务发现方法。 如图所示, 本发明实施例具体包 括: 如图所示, 该接入点 100包括: 发射电路 102、 接收电路 103、 功率控制 器 104、 解码处理器 105、 处理单元 106 , 存储器 107及天线 101。 处理单元 106控制接入点 1 00的操作, 处理单元 106还可以称为 CPU。 存储器 107可以 包括只读存储器和随机存取存储器, 并向处理单元 106提供指令和数据。 存 储器 107的一部分还可以包括非易失行随机存取存储器(NVRAM )。 具体的应 用中, 接入点 100可以嵌入或者本身可以就是例如移动电话之类的无线通信 设备, 还可以包括容纳发射电路 102和接收电路 103的载体, 以允许接入点 100和远程位置之间进行数据发射和接收。 发射电路 102和接收电路 103可 以耦合到天线 101。 接入点 100的各个组件通过总线系统 1000耦合在一起, 其中, 总线系统 1 000除包括数据总线之外, 还包括电源总线、 控制总线和状 态信号总线。但是为了清楚明起见,在图中将各种总线都标为总线系统 1000。 接入点 100还可以包括用于处理信号的处理单元 106、 此外还包括功率控制 器 104、 解码处理器 105。 具体的不同产品中解码器 1 05可能与处理单元 106 集成为一体。 图。 通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器, 解码器等。 结合本发明实施例所公开的方法的步骤可以直接体现为硬件处理 器执行完成, 或者用解码处理器中的硬件及软件模块组合执行完成。 软件模 块可以位于随机存储器, 闪存、 只读存储器, 可编程只读存储器或者电可擦 写可编程存储器、 寄存器等本领域成熟的存储介质中。 该存储介质位于存储 器 107 , 解码单元或者处理单元读取存储器 107 中的信息, 结合其硬件完成 本发明实施例一至七提供的被动服务发现方法的步骤。 FIG. 10 is a schematic diagram of an access point according to Embodiment 10 of the present invention. The access point is used to perform the passive service discovery method provided by Embodiments 1 to 7 of the present invention. As shown in the figure, the embodiment of the present invention specifically includes: as shown, the access point 100 includes: a transmitting circuit 102, a receiving circuit 103, a power controller 104, a decoding processor 105, a processing unit 106, a memory 107, and an antenna. 101. Processing unit 106 controls the operation of access point 100, which may also be referred to as a CPU. Memory 107 can include read only memory and random access memory and provides instructions and data to processing unit 106. A portion of the memory 107 may also include non-volatile line random access memory (NVRAM). In a particular application, the access point 100 can be embedded or can itself be a wireless communication device such as a mobile telephone, and can also include a carrier that houses the transmitting circuitry 102 and the receiving circuitry 103 to allow access between the access point 100 and the remote location. Data transmission and reception. Transmitting circuit 102 and receiving circuit 103 may be coupled to antenna 101. The various components of the access point 100 are coupled together by a bus system 1000, wherein the bus system 1 000 includes a power bus, a control bus, and a status signal bus in addition to the data bus. However, for the sake of clarity, various buses are labeled as the bus system 1000 in the figure. The access point 100 can also include a processing unit 106 for processing signals, and further includes a power controller 104, a decoding processor 105. The decoder 105 may be associated with the processing unit 106 in a specific different product. Integration into one. Figure. The general purpose processor may be a microprocessor or the processor or any conventional processor, decoder or the like. The steps of the method disclosed in the embodiments of the present invention may be directly implemented as hardware processor execution completion, or performed by a combination of hardware and software modules in the decoding processor. The software modules can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like. The storage medium is located in the memory 107, and the decoding unit or the processing unit reads the information in the memory 107, and combines the hardware to complete the steps of the passive service discovery method provided by the first to seventh embodiments of the present invention.
图 11为本发明实施例十一提供的站点的示意图。该站点用于执行本发明 实施例一至七提供的被动服务发现方法。 如图所示, 该站点 110 包括: 发射 电路 112、 接收电路 113、 功率控制器 114、 解码处理器 115、 处理单元 116 , 存储器 117及天线 111。 处理单元 116控制站点 110的操作, 处理单元 116 还可以称为 CPU。 存储器 117可以包括只读存储器和随机存取存储器, 并向 处理单元 116提供指令和数据。 存储器 117的一部分还可以包括非易失行随 机存取存储器(NVRAM )。 具体的应用中, 站点 110可以嵌入或者本身可以就 是例如移动电话之类的无线通信设备, 还可以包括容纳发射电路 112和接收 电路 113的载体, 以允许站点 110和远程位置之间进行数据发射和接收。 发 射电路 112和接收电路 113可以耦合到天线 111。 站点 110的各个组件通过 总线系统 1100耦合在一起, 其中, 总线系统 1100除包括数据总线之外, 还 包括电源总线、 控制总线和状态信号总线。 但是为了清楚明起见, 在图中将 各种总线都标为总线系统 1100。 站点 110还可以包括用于处理信号的处理单 元 116、 此外还包括功率控制器 114、 解码处理器 115。 具体的不同产品中解 码器 115可能与处理单元 116集成为一体。 图。 通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器, 解码器等。 结合本发明实施例所公开的方法的步骤可以直接体现为硬件处理 器执行完成, 或者用解码处理器中的硬件及软件模块组合执行完成。 软件模 块可以位于随机存储器, 闪存、 只读存储器, 可编程只读存储器或者电可擦 写可编程存储器、 寄存器等本领域成熟的存储介质中。 该存储介质位于存储 器 117 , 解码单元或者处理单元读取存储器 117 中的信息, 结合其硬件完成 本发明实施例一至七提供的被动服务发现方法的步骤。 专业人员应该还可以进一步意识到, 结合本文中所公开的实施例描述的 各示例的单元及算法步骤, 能够以电子硬件、 计算机软件或者二者的结合来 实现, 为了清楚地说明硬件和软件的可互换性, 在上述说明中已经按照功能 一般性地描述了各示例的组成及步骤。 这些功能究竟以硬件还是软件方式来 执行, 取决于技术方案的特定应用和设计约束条件。 专业技术人员可以对每 个特定的应用来使用不同方法来实现所描述的功能, 但是这种实现不应认为 超出本发明的范围。 FIG. 11 is a schematic diagram of a station according to Embodiment 11 of the present invention. The site is used to perform the passive service discovery method provided by Embodiments 1 to 7 of the present invention. As shown, the site 110 includes: a transmitting circuit 112, a receiving circuit 113, a power controller 114, a decoding processor 115, a processing unit 116, a memory 117, and an antenna 111. Processing unit 116 controls the operation of site 110, which may also be referred to as a CPU. Memory 117 can include read only memory and random access memory and provides instructions and data to processing unit 116. A portion of the memory 117 may also include non-volatile line random access memory (NVRAM). In a specific application, the site 110 may embed or itself be a wireless communication device such as a mobile phone, and may also include a carrier that houses the transmitting circuit 112 and the receiving circuit 113 to allow data transmission between the station 110 and the remote location. receive. Transmitting circuit 112 and receiving circuit 113 may be coupled to antenna 111. The various components of the site 110 are coupled together by a bus system 1100, which in addition to the data bus includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, various buses are labeled as bus system 1100 in the figure. The site 110 may also include a processing unit 116 for processing signals, and further includes a power controller 114, a decoding processor 115. The decoder 115 may be integrated with the processing unit 116 in a particular different product. Figure. The general purpose processor may be a microprocessor or the processor or any conventional processor. Decoder, etc. The steps of the method disclosed in the embodiments of the present invention may be directly implemented as hardware processor execution completion, or performed by a combination of hardware and software modules in the decoding processor. The software modules can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like. The storage medium is located in the memory 117, and the decoding unit or the processing unit reads the information in the memory 117, and combines the hardware to complete the steps of the passive service discovery method provided by the first to seventh embodiments of the present invention. A person skilled in the art should further appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both, in order to clearly illustrate hardware and software. Interchangeability, the composition and steps of the various examples have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
结合本文中所公开的实施例描述的方法或算法的步骤可以用硬件、 处理 器执行的软件模块, 或者二者的结合来实施。 软件模块可以置于随机存储器 ( RAM ) 、 内存、 只读存储器(ROM ) 、 电可编程 R0M、 电可擦除可编程 R0M、 寄存器、 硬盘、 可移动磁盘、 CD-R0M、 或技术领域内所公知的任意其它形式 的存储介质中。  The steps of a method or algorithm described in connection with the embodiments disclosed herein can be implemented in hardware, a software module executed by a processor, or a combination of both. Software modules can be placed in random access memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or technical field Any other form of storage medium known.
以上所述的具体实施方式, 对本发明的目的、 技术方案和有益效果进行 了进一步详细说明, 所应理解的是, 以上所述仅为本发明的具体实施方式而 已, 并不用于限定本发明的保护范围, 凡在本发明的精神和原则之内, 所做 的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。  The above described embodiments of the present invention are further described in detail, and the embodiments of the present invention are intended to be illustrative only. The scope of the protection, any modifications, equivalents, improvements, etc., made within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims

权 利 要 求 书 CP12727 1、 一种服务发现方法, 其特征在于, 所述方法包括: Claims CP12727 1. A service discovery method, characterized in that the method includes:
接入点根据每一服务信息的内容将其进行分类获得不同的服务信息组, 每个服务信息组有一个信息标识, 每一服务信息组中的服务信息的内容属于 与所述信息标识相对应的服务类型; The access point classifies each service information according to its content to obtain different service information groups. Each service information group has an information identifier, and the content of the service information in each service information group corresponds to the information identifier. type of service;
所述接入点确定所述每一服务信息组的广播时间, 并根据所述服务信息 组的广播时间和信息标识建立服务目录, 所述服务目录包括所有服务信息组 的广播时间和信息标识; The access point determines the broadcast time of each service information group, and establishes a service directory based on the broadcast time and information identification of the service information group, where the service directory includes the broadcast time and information identification of all service information groups;
所述接入点将所述服务信息组和所述服务目录添加到广播帧中; 所述接入点确定所述广播帧的广播周期, 并根据所述广播周期周期性向 站点发送所述广播帧, 用以所述站点从所述广播帧的服务信息组中发现自身 所需的服务信息或者从所述广播帧的服务目录中获知所述自身所需的服务信 息所在的服务信息组的广播时间。 The access point adds the service information group and the service directory to the broadcast frame; the access point determines the broadcast period of the broadcast frame, and periodically sends the broadcast frame to the station according to the broadcast period. , for the station to discover the service information it needs from the service information group of the broadcast frame or to obtain the broadcast time of the service information group in which the service information it needs is located from the service directory of the broadcast frame. .
2、 根据权利要求 1 所述的服务发现方法, 其特征在于, 所述服务目录 还包括所述每一服务信息组中的服务信息的摘要信息, 所述将所述服务信息 组和所述服务目录添加到广播帧中, 包括: 2. The service discovery method according to claim 1, characterized in that, the service directory further includes summary information of the service information in each service information group, and the service information group and the service Directories are added to the broadcast frame, including:
将所述服务信息组分别添加到各个广播帧中, 且将所述服务目录分别添 加到所述各个广播帧中, 使得所述各个广播帧携带的服务信息组皆不同, 且 所述各个广播帧携带的所述服务目录皆相同, 其中, 每一广播帧携带有服务 目录和一种类型的服务信息组。 The service information group is added to each broadcast frame respectively, and the service directory is added to each broadcast frame respectively, so that the service information groups carried by each broadcast frame are different, and each broadcast frame The service directories carried are all the same, wherein each broadcast frame carries a service directory and a type of service information group.
3、 根据权利要求 1 所述的服务发现方法, 其特征在于, 所述服务目录 还包括所述每一服务信息组中的服务信息的摘要信息所述确定所述每一服务 信息组的广播时间, 并根据所述服务信息组的广播时间和信息标识建立服务 目录, 还包括: 根据所述每一服务信息组的广播时间确定所述服务目录的广播时间。 3. The service discovery method according to claim 1, wherein the service directory further includes summary information of the service information in each service information group and determines the broadcast time of each service information group. , and establish a service directory based on the broadcast time and information identification of the service information group, and also includes: The broadcast time of the service directory is determined according to the broadcast time of each service information group.
4、 根据权利要求 3所述的服务发现方法, 其特征在于, 所述广播帧包 括: 第一广播帧和第二广播帧; 所述将所述服务信息组和所述服务目录添加 到广播帧中, 包括: 4. The service discovery method according to claim 3, wherein the broadcast frame includes: a first broadcast frame and a second broadcast frame; and adding the service information group and the service directory to the broadcast frame. , including:
将所述服务目录添加到第一广播帧中, 且将所述服务目录的广播时间和 所述服务信息组添加到不同的第二广播帧中, 使得各个第二广播帧携带的服 务信息组皆不相同。 Add the service directory to the first broadcast frame, and add the broadcast time of the service directory and the service information group to different second broadcast frames, so that the service information groups carried by each second broadcast frame are all Are not the same.
5、 根据权利要求 4所述的服务发现方法, 其特征在于, 所述根据所述 广播周期周期性向站点发送所述广播帧, 包括: 5. The service discovery method according to claim 4, characterized in that: periodically sending the broadcast frame to the station according to the broadcast cycle includes:
根据所述广播周期周期性向所述站点发送所述第一广播帧和第二广播 帧, 用以所述站点从所述第一广播帧的服务目录中获知所述自身所需的服务 信息所在的服务信息组的广播时间, 且从所述第二广播帧的服务信息组中发 现自身所需的服务信息和所述服务目录的广播时间。 The first broadcast frame and the second broadcast frame are periodically sent to the station according to the broadcast cycle, so that the station can learn from the service directory of the first broadcast frame where the service information it needs is located. broadcast time of the service information group, and discover the service information required by itself and the broadcast time of the service directory from the service information group of the second broadcast frame.
6、 根据权利要求 5所述的服务发现方法, 其特征在于, 根据所述广播 周期周期性向所述站点发送所述第一广播帧和第二广播帧包括: 6. The service discovery method according to claim 5, wherein periodically sending the first broadcast frame and the second broadcast frame to the station according to the broadcast cycle includes:
在所述广播周期内, 所述第一广播帧仅发送一次, 所述各个携带有不同 服务信息组的第二广播帧分别发送一次。 During the broadcast period, the first broadcast frame is sent only once, and the second broadcast frames carrying different service information groups are sent once respectively.
7、 根据权利要求 5所述的服务发现方法, 其特征在于, 根据所述广播 周期周期性向所述站点发送所述第一广播帧和第二广播帧, 包括: 7. The service discovery method according to claim 5, characterized in that, periodically sending the first broadcast frame and the second broadcast frame to the station according to the broadcast cycle, including:
在所述广播周期内, 所述第一广播帧发送多次, 各个携带有不同服务信 息组的所述第二广播帧分别发送一次, 在每个第二广播帧发送之前或之后发 送一个和多个第一广播帧, 其中, 所述第一广播帧占用的字节数小于所述第 二广播帧占用的字节数。 During the broadcast period, the first broadcast frame is sent multiple times, each of the second broadcast frames carrying different service information groups is sent once, and one and more broadcast frames are sent before or after each second broadcast frame is sent. a first broadcast frame, wherein the number of bytes occupied by the first broadcast frame is less than the number of bytes occupied by the second broadcast frame.
8、 一种服务发现方法, 其特征在于, 所述方法包括: 8. A service discovery method, characterized in that the method includes:
站点接收接入点发送的携带服务目录和服务信息组的广播帧, 所述服务 目录包括服务信息的信息标识和服务信息组的广播时间; 所述站点从所述广播帧的服务信息组中发现自身所需的服务信息或者从 所述广播帧的服务目录中获知所述自身所需的服务信息所在的服务信息组的 广播时间。 The station receives a broadcast frame carrying a service directory and a service information group sent by the access point, where the service directory includes an information identifier of the service information and a broadcast time of the service information group; The station discovers the service information it needs from the service information group of the broadcast frame or obtains the broadcast time of the service information group in which the service information it needs is located from the service directory of the broadcast frame.
9、 根据权利要求 8所述的服务发现方法, 其特征在于, 所述从所述广 播帧的服务信息组中发现自身所需的服务信息或者从所述广播帧的服务目录 中获知所述自身所需的服务信息所在的服务信息组的广播时间, 包括: 9. The service discovery method according to claim 8, characterized in that: the service information required by itself is discovered from the service information group of the broadcast frame or the service directory of the broadcast frame is obtained. The broadcast time of the service information group where the required service information is located, including:
当接收到的所述广播帧的所述服务信息组中包含所述自身所需的服务信 息时, 则所述站点停止接收所述接入点发送的其他的广播帧; When the service information group of the received broadcast frame contains the service information required by itself, the station stops receiving other broadcast frames sent by the access point;
当接收到的所述广播帧的所述服务信息组中不包含所述自身所需的服务 信息时, 则所述站点从所述服务目录中获知所述自身所需的服务信息所在的 服务信息组的广播时间后, 进入休眠状态, 在所述自身所需的服务信息所在 的服务信息组的广播时间进入接收状态, 从接收到的广播帧中发现所述自身 所需的服务信息。 When the service information group of the received broadcast frame does not contain the service information required by itself, the station obtains the service information where the service information required by itself is located from the service directory. After the broadcast time of the group, it enters the sleep state, enters the receiving state during the broadcast time of the service information group where the service information it needs is located, and discovers the service information it needs from the received broadcast frame.
1 0、 根据权利要求 8所述的服务发现方法, 其特征在于, 所述从所述广 播帧的服务信息组中发现自身所需的服务信息或者从所述广播帧的服务目录 中获知所述自身所需的服务信息所在的服务信息组的广播时间, 包括: 10. The service discovery method according to claim 8, characterized in that: the service information required by itself is discovered from the service information group of the broadcast frame or the service information is obtained from the service directory of the broadcast frame. The broadcast time of the service information group where the service information required by itself is located, including:
当接收到的所述广播帧的所述服务信息组中包含所述自身所需的服务信 息时, 则所述站点不再接收所述接入点发送的其他的服务信息, 对于所述接 入点发送的其他广播帧作丟弃处理; When the service information group of the received broadcast frame contains the service information required by itself, the station will no longer receive other service information sent by the access point. For the access Other broadcast frames sent by the point are discarded;
当接收到的所述广播帧的所述服务信息组中不包含所述自身所需的服务 信息, 且所述服务目录中存在与所述自身所需的服务信息相对应的所述服务 信息的信息标识和服务信息组的广播时间, 则在所述服务信息组的广播时间 接收广播帧, 并从所述接收到的广播帧中发现所述自身所需的服务信息, 对 于所述接入点发送的其他广播帧作丟弃处理; When the service information group of the received broadcast frame does not contain the service information required by the self, and the service information corresponding to the service information required by the self exists in the service directory information identifier and the broadcast time of the service information group, then receive the broadcast frame at the broadcast time of the service information group, and discover the service information required by itself from the received broadcast frame, for the access point Other broadcast frames sent are discarded;
当接收到的所述广播帧的所述服务信息组中不包含所述自身所需的服务 信息, 且所述服务目录中不存在与所述自身所需的服务信息相对应的所述服 务信息的信息标识和服务信息组的广播时间, 则所述站点不再接收所述接入 点发送的服务信息, 对于所述接入点发送的其他广播帧作丟弃处理。 When the service information group of the received broadcast frame does not contain the service information required by itself, and the service corresponding to the service information required by itself does not exist in the service directory, If the information identifier of the service information and the broadcast time of the service information group are determined, the station will no longer receive the service information sent by the access point, and will discard other broadcast frames sent by the access point.
11、 根据权利要求 8所述的服务发现方法, 其特征在于, 所述广播帧包 括第一广播帧和第二广播帧, 所述站点接收接入点发送的携带服务信息组和 服务目录的广播帧, 包括: 11. The service discovery method according to claim 8, wherein the broadcast frame includes a first broadcast frame and a second broadcast frame, and the station receives a broadcast carrying a service information group and a service directory sent by an access point. frames, including:
接收所述接入点发送的携带有服务目录的第一广播帧、 以及接收携带有 所述服务目录的广播时间和所述服务信息组的第二广播帧, 其中, 各个第二 广播帧携带的服务信息组皆不相同。 Receive a first broadcast frame carrying a service directory sent by the access point, and receive a second broadcast frame carrying the broadcast time of the service directory and the service information group, wherein each second broadcast frame carries The service information groups are all different.
12、 根据权利要求 11所述的服务发现方法, 其特征在于, 所述从所述 广播帧的服务信息组中发现自身所需的服务信息或者从所述广播帧的服务目 录中获知所述自身所需的服务信息所在的服务信息组的广播时间, 包括: 当接收到的是所述第一广播帧,则从所述第一广播帧携带的服务目录中 获知所述自身所需的服务信息所在的服务信息组的广播时间后, 进入休眠状 态,在所述自身所需的服务信息所在的服务信息组的广播时间进入接收状态, 从接收到的广播帧中发现所述自身所需的服务信息; 12. The service discovery method according to claim 11, characterized in that: the service information required by itself is discovered from the service information group of the broadcast frame or the service directory of the broadcast frame is obtained. The broadcast time of the service information group in which the required service information is located includes: When the first broadcast frame is received, the required service information is obtained from the service directory carried by the first broadcast frame. After the broadcast time of the service information group where the service information is located, it enters the dormant state, enters the receiving state during the broadcast time of the service information group where the service information it needs is located, and discovers the service it needs from the received broadcast frame. information;
当接收到的是所述第二广播帧,且所述第二广播帧携带的所述服务信息 组中包含所述自身所需的服务信息时, 则所述站点停止接收所述接入点发送 的其他的广播帧。 When the second broadcast frame is received, and the service information group carried by the second broadcast frame contains the service information required by itself, the station stops receiving the information sent by the access point. other broadcast frames.
1 3、 根据权利要求 11或 12所述的服务发现方法, 其特征在于, 所述从 所述广播帧的服务信息组中发现自身所需的服务信息或者从所述广播帧的服 务目录中获知所述自身所需的服务信息所在的服务信息组的广播时间, 包括: 当接收到的是所述第二广播帧,且所述第二广播帧携带的所述服务信息 组中不包含所述自身所需的服务信息时, 则根据所述第二广播帧获知所述服 务目录的广播时间后, 进入休眠状态, 在所述服务目录的广播时间进入接收 状态; 13. The service discovery method according to claim 11 or 12, characterized in that: discovering the service information required by itself from the service information group of the broadcast frame or obtaining it from the service directory of the broadcast frame The broadcast time of the service information group in which the service information required by itself is located includes: When the second broadcast frame is received, and the service information group carried by the second broadcast frame does not include the When receiving the service information required by itself, after learning the broadcast time of the service directory according to the second broadcast frame, it enters the sleep state, and enters the receiving state at the broadcast time of the service directory;
从接收到的携带有所述服务目录的所述第一广播帧中获知所述自身所需 的服务信息所在的服务信息组的广播时间后, 然后再进入休眠状态, 在所述 自身所需的服务信息所在的服务信息组的广播时间进入接收状态, 从接收到 的携带有所述服务信息组的所述第二广播帧中发现所述自身所需的服务信 息。 Obtain the required information from the received first broadcast frame carrying the service directory. after the broadcast time of the service information group where the service information is located, and then enters the sleep state, and enters the receiving state during the broadcast time of the service information group where the service information required by itself is located, from the received service information carrying the service information The service information required by itself is found in the second broadcast frame of the group.
14、 根据权利要求 11所述的服务发现方法, 其特征在于, 所述从所述 广播帧的服务信息组中发现自身所需的服务信息或者从所述广播帧的服务目 录中获知所述自身所需的服务信息所在的服务信息组的广播时间, 包括: 当接收到的是携带有所述服务目录的所述第一广播帧, 且所述服务目录 中存在与所述自身所需的服务信息相对应的所述服务信息的信息标识和服务 信息组的广播时间, 则在所述服务信息组的广播时间接收所述第二广播帧, 并从所述接收到的第二广播帧中发现所述自身所需的服务信息, 对于所述接 入点发送的其他第一广播帧或第二广播帧作丟弃处理; 14. The service discovery method according to claim 11, characterized in that: the service information required by itself is discovered from the service information group of the broadcast frame or the service directory of the broadcast frame is obtained. The broadcast time of the service information group in which the required service information is located includes: when the first broadcast frame carrying the service directory is received, and the service required by the self exists in the service directory If the information corresponds to the information identifier of the service information and the broadcast time of the service information group, then the second broadcast frame is received at the broadcast time of the service information group, and is found from the received second broadcast frame. The service information required by itself is discarded for other first broadcast frames or second broadcast frames sent by the access point;
当接收到的是携带有所述服务目录的所述第一广播帧, 且所述服务目录 中不存在与所述自身所需的服务信息相对应的所述服务信息的信息标识和服 务信息组的广播时间, 则所述站点不再接收所述接入点发送的服务信息, 对 于所述接入点发送的其他第一广播帧或第二广播帧作丟弃处理。 When the first broadcast frame carrying the service directory is received, and the information identifier and service information group of the service information corresponding to the service information required by the self do not exist in the service directory broadcast time, the station no longer receives the service information sent by the access point, and discards other first broadcast frames or second broadcast frames sent by the access point.
15、 根据权利要求 11或 14所述的服务发现方法, 其特征在于, 所述从 所述广播帧的服务信息组中发现自身所需的服务信息或者从所述广播帧的服 务目录中获知所述自身所需的服务信息所在的服务信息组的广播时间, 包括: 当接收到的是所述第二广播帧, 且所述第二广播帧携带的所述服务信息 组中包含所述自身所需的服务信息时, 则所述站点不再接收所述接入点发送 的服务信息, 对于所述接入点发送的其他第二广播帧或第一广播帧作丟弃处 理; 15. The service discovery method according to claim 11 or 14, characterized in that: the service information required by itself is discovered from the service information group of the broadcast frame or the service information is obtained from the service directory of the broadcast frame. The broadcast time of the service information group in which the service information required by itself is located includes: when the second broadcast frame is received, and the service information group carried by the second broadcast frame contains the service information group required by itself. When the required service information is required, the station no longer receives the service information sent by the access point, and discards other second broadcast frames or first broadcast frames sent by the access point;
当接收到的是所述第二广播帧, 且所述第二广播帧携带的所述服务信息 组中不包含所述自身所需的服务信息时, 则根据所述第二广播帧获知所述服 务目录的广播时间, 用以所述站点在所述服务目录的广播时间接收所述第一 广播帧。 When the second broadcast frame is received, and the service information group carried by the second broadcast frame does not contain the service information required by itself, then the second broadcast frame is learned according to the second broadcast frame. The broadcast time of the service catalog is used for the station to receive the first broadcast time of the service catalog. broadcast frame.
16、 一种接入点, 其特征在于, 所述接入点包括: 16. An access point, characterized in that, the access point includes:
分类单元, 用于根据每一服务信息的内容将其进行分类获得不同的服务 信息组, 每个服务信息组有一个信息标识每一服务信息的摘要信息, 每一服 务信息组中的服务信息的内容属于与所述信息标识相对应的服务类型, 以及 将所述服务信息组传输给处理单元; Classification unit, used to classify each service information according to its content to obtain different service information groups. Each service information group has a message identifying the summary information of each service information. The service information in each service information group The content belongs to the service type corresponding to the information identifier, and the service information group is transmitted to the processing unit;
处理单元, 用于从所述分类单元接收所述服务信息组, 确定所述每一服 务信息组的广播时间, 并根据所述服务信息组的广播时间和信息标识建立服 务目录, 所述服务目录包括所有服务信息组的广播时间和信息标识, 以及将 所述服务信息组和所述服务目录传输给添加单元; A processing unit, configured to receive the service information group from the classification unit, determine the broadcast time of each service information group, and establish a service directory according to the broadcast time and information identification of the service information group, the service directory Including the broadcast time and information identification of all service information groups, and transmitting the service information group and the service directory to the adding unit;
添加单元, 用于从所述处理单元接收所述服务信息组和所述服务目录, 将所述服务信息组和所述服务目录添加到广播帧中, 以及将所述广播帧传输 给发送单元; An adding unit, configured to receive the service information group and the service directory from the processing unit, add the service information group and the service directory to a broadcast frame, and transmit the broadcast frame to a sending unit;
发送单元, 用于从添加单元接收所述广播帧, 确定所述广播帧的广播周 期, 并根据所述广播周期周期性向站点发送所述广播帧, 用以所述站点从所 述广播帧的服务信息组中发现自身所需的服务信息或者从所述广播帧的服务 目录中获知所述自身所需的服务信息所在的服务信息组的广播时间。 A sending unit, configured to receive the broadcast frame from the adding unit, determine the broadcast period of the broadcast frame, and periodically send the broadcast frame to the station according to the broadcast period, so that the station can receive services from the broadcast frame. Discover the service information required by itself in the information group or obtain the broadcast time of the service information group in which the service information required by itself is located from the service directory of the broadcast frame.
17、 根据权利要求 17所述的接入点, 其特征在于, 所述服务目录还包 括所述每一服务信息组中的服务信息的摘要信息, 所述添加单元用于将所述 服务信息组分别添加到各个广播帧中, 且将所述服务目录分别添加到所述各 个广播帧中, 使得所述各个广播帧携带的服务信息组皆不同, 且所述各个广 播帧携带的所述服务目录皆相同, 其中, 每一广播帧携带有服务目录和一种 类型的服务信息组。 17. The access point according to claim 17, wherein the service directory further includes summary information of the service information in each service information group, and the adding unit is configured to add the service information group to are added to each broadcast frame respectively, and the service directory is added to each broadcast frame respectively, so that the service information groups carried by each broadcast frame are different, and the service directory carried by each broadcast frame They are all the same, where each broadcast frame carries a service directory and a type of service information group.
18、 根据权利要求 17所述的接入点, 其特征在于, 所述服务目录还包 括所述每一服务信息组中的服务信息的摘要信息, 所述处理单元还用于根据 所述每一服务信息组的广播时间确定所述服务目录的广播时间。 18. The access point according to claim 17, characterized in that: the service directory further includes summary information of service information in each service information group, and the processing unit is further configured to: The broadcast time of the service information group determines the broadcast time of the service catalog.
19、 根据权利要求 19所述的接入点, 其特征在于, 所述广播帧包括: 第一广播帧和第二广播帧; 所述添加单元用于将所述服务目录添加到第一广 播帧中, 且将所述服务目录的广播时间和所述服务信息组添加到不同的第二 广播帧中, 使得各个第二广播帧携带的服务信息组皆不相同。 19. The access point according to claim 19, wherein the broadcast frame includes: a first broadcast frame and a second broadcast frame; the adding unit is configured to add the service directory to the first broadcast frame. , and add the broadcast time of the service directory and the service information group to different second broadcast frames, so that the service information groups carried by each second broadcast frame are different.
20、 根据权利要求 20所述的接入点, 其特征在于, 所述发送单元用于 根据所述广播周期周期性向所述站点发送所述第一广播帧和第二广播帧, 用 以所述站点从所述第一广播帧的服务目录中获知所述自身所需的服务信息所 在的服务信息组的广播时间, 且从所述第二广播帧的服务信息组中发现自身 所需的服务信息和所述服务目录的广播时间。 20. The access point according to claim 20, characterized in that, the sending unit is configured to periodically send the first broadcast frame and the second broadcast frame to the station according to the broadcast cycle, for the The station learns the broadcast time of the service information group in which the service information it needs is located from the service directory of the first broadcast frame, and discovers the service information it needs from the service information group of the second broadcast frame. and the broadcast time of said service catalog.
21、 根据权利要求 21所述的接入点, 其特征在于, 所述发送单元还用 于在所述广播周期内, 所述第一广播帧仅发送一次, 所述各个携带有不同服 务信息组的第二广播帧分别发送一次。 21. The access point according to claim 21, wherein the sending unit is further configured to send the first broadcast frame only once within the broadcast period, each of which carries a different service information group. The second broadcast frame is sent once.
22、 根据权利要求 21所述的接入点, 其特征在于, 所述发送单元还用 于在所述广播周期内, 所述第一广播帧发送多次, 各个携带有不同服务信息 组的所述第二广播帧分别发送一次, 在每个第二广播帧发送之前或之后发送 一个和多个第一广播帧, 其中, 所述第一广播帧占用的字节数小于所述第二 广播帧占用的字节数。 22. The access point according to claim 21, wherein the sending unit is further configured to send the first broadcast frame multiple times within the broadcast period, each of which carries a different service information group. The second broadcast frames are sent once respectively, and one or more first broadcast frames are sent before or after each second broadcast frame is sent, wherein the number of bytes occupied by the first broadcast frame is smaller than that of the second broadcast frame. Number of bytes occupied.
23、 一种站点, 其特征在于, 所述站点包括: 23. A site, characterized in that, the site includes:
接收单元,用于接收接入点发送的携带服务目录和服务信息组的广播帧, 所述服务目录包括服务信息的信息标识和服务信息组的广播时间, 以及将所 述广播帧传输给发现单元; A receiving unit configured to receive a broadcast frame carrying a service directory and a service information group sent by the access point, where the service directory includes an information identifier of the service information and a broadcast time of the service information group, and transmit the broadcast frame to the discovery unit. ;
发现单元, 用于从所述接收单元接收所述广播帧, 从所述广播帧的服务 信息组中发现自身所需的服务信息或者从所述广播帧的服务目录中获知所述 自身所需的服务信息所在的服务信息组的广播时间。 A discovery unit, configured to receive the broadcast frame from the receiving unit, discover the service information it needs from the service information group of the broadcast frame, or obtain the service information it needs from the service directory of the broadcast frame. The broadcast time of the service information group in which the service information resides.
24、 根据权利要求 23所述的站点, 其特征在于, 所述发现单元用于当 接收到的所述广播帧的所述服务信息组中包含所述自身所需的服务信息时, 则所述站点停止接收所述接入点发送的其他的广播帧; 当接收到的所述广播 帧的所述服务信息组中不包含所述自身所需的服务信息时, 则所述站点从所 述服务目录中获知所述自身所需的服务信息所在的服务信息组的广播时间 后, 进入休眠状态, 在所述自身所需的服务信息所在的服务信息组的广播时 间进入接收状态, 从接收到的广播帧中发现所述自身所需的服务信息。 24. The site according to claim 23, characterized in that the discovery unit is used for current When the service information group of the received broadcast frame contains the service information required by itself, the station stops receiving other broadcast frames sent by the access point; when the received broadcast frame When the service information group of the frame does not contain the service information required by itself, then the station obtains the broadcast time of the service information group in which the service information required by itself is located from the service directory, and then enters In the dormant state, it enters the receiving state during the broadcast time of the service information group in which the service information it needs is located, and discovers the service information it needs from the received broadcast frame.
25、 根据权利要求 23所述的站点, 其特征在于, 所述发现单元用于当 接收到的所述广播帧的所述服务信息组中包含所述自身所需的服务信息时, 则所述站点不再接收所述接入点发送的其他的服务信息, 对于所述接入点发 送的其他广播帧作丟弃处理; 当接收到的所述广播帧的所述服务信息组中不 包含所述自身所需的服务信息, 且所述服务目录中存在与所述自身所需的服 务信息相对应的所述服务信息的信息标识和服务信息组的广播时间, 则在所 述服务信息组的广播时间接收广播帧, 并从所述接收到的广播帧中发现所述 自身所需的服务信息, 对于所述接入点发送的其他广播帧作丟弃处理; 当接 收到的所述广播帧的所述服务信息组中不包含所述自身所需的服务信息, 且 所述服务目录中不存在与所述自身所需的服务信息相对应的所述服务信息的 信息标识和服务信息组的广播时间, 则所述站点不再接收所述接入点发送的 服务信息, 对于所述接入点发送的其他广播帧作丟弃处理。 25. The station according to claim 23, characterized in that, the discovery unit is configured to: when the service information group of the received broadcast frame contains the service information required by itself, then the The station no longer receives other service information sent by the access point, and discards other broadcast frames sent by the access point; when the service information group of the received broadcast frame does not contain all Describe the service information required by itself, and there is an information identifier of the service information corresponding to the service information required by itself and the broadcast time of the service information group in the service directory, then in the service information group Receive the broadcast frame during the broadcast time, discover the service information required by itself from the received broadcast frame, and discard other broadcast frames sent by the access point; when the broadcast frame is received The service information group does not contain the service information required by the self, and the information identification of the service information and the service information group corresponding to the service information required by the self do not exist in the service directory. broadcast time, the station no longer receives the service information sent by the access point, and discards other broadcast frames sent by the access point.
26、 根据权利要求 23所述的站点, 其特征在于, 所述广播帧包括第一 广播帧和第二广播帧, 所述接收单元用于接收所述接入点发送的携带有服务 目录的第一广播帧、 以及接收携带有所述服务目录的广播时间和所述服务信 息组的第二广播帧, 其中, 各个第二广播帧携带的服务信息组皆不相同。 26. The station according to claim 23, characterized in that: the broadcast frame includes a first broadcast frame and a second broadcast frame, and the receiving unit is configured to receive a third broadcast frame carrying a service directory sent by the access point. A broadcast frame, and receiving a second broadcast frame carrying the broadcast time of the service directory and the service information group, wherein the service information groups carried by each second broadcast frame are different.
27、 根据权利要求 26所述的站点, 其特征在于, 所述发现单元用于当 接收到的是所述第一广播帧,则从所述第一广播帧携带的服务目录中获知所 述自身所需的服务信息所在的服务信息组的广播时间后, 进入休眠状态, 在 所述自身所需的服务信息所在的服务信息组的广播时间进入接收状态, 从接 收到的广播帧中发现所述自身所需的服务信息; 当接收到的是所述第二广播 帧,且所述第二广播帧携带的所述服务信息组中包含所述自身所需的服务信 息时, 则所述站点停止接收所述接入点发送的其他的广播帧。 27. The site according to claim 26, wherein the discovery unit is configured to, when receiving the first broadcast frame, learn the self-service directory from the service directory carried by the first broadcast frame. After the broadcast time of the service information group where the required service information is located, it enters the sleep state, and enters the receiving state during the broadcast time of the service information group where the required service information is located. The service information required by itself is found in the received broadcast frame; when the second broadcast frame is received, and the service information group carried by the second broadcast frame contains the service information required by itself. service information, the station stops receiving other broadcast frames sent by the access point.
28、 根据权利要求 26或 27所述的站点,其特征在于, 所述发现单元还 用于当接收到的是所述第二广播帧,且所述第二广播帧携带的所述服务信息 组中不包含所述自身所需的服务信息时, 则根据所述第二广播帧获知所述服 务目录的广播时间后, 进入休眠状态, 在所述服务目录的广播时间进入接收 状态; 从接收到的携带有所述服务目录的所述第一广播帧中获知所述自身所 需的服务信息所在的服务信息组的广播时间后, 然后再进入休眠状态, 在所 述自身所需的服务信息所在的服务信息组的广播时间进入接收状态, 从接收 到的携带有所述服务信息组的所述第二广播帧中发现所述自身所需的服务信 息。 28. The site according to claim 26 or 27, characterized in that: the discovery unit is further configured to receive the second broadcast frame and the service information group carried by the second broadcast frame. When the service information required by itself is not included, then after learning the broadcast time of the service catalog according to the second broadcast frame, it enters the sleep state, and enters the receiving state at the broadcast time of the service catalog; from receiving After learning the broadcast time of the service information group where the service information required by itself is located in the first broadcast frame carrying the service directory, and then enters the sleep state, where the service information required by itself is located Enter the receiving state at the broadcast time of the service information group, and discover the service information required by itself from the received second broadcast frame carrying the service information group.
29、 根据权利要求 26所述的站点, 其特征在于, 所述发现单元用于当 接收到的是携带有所述服务目录的所述第一广播帧, 且所述服务目录中存在 与所述自身所需的服务信息相对应的所述服务信息的信息标识和服务信息组 的广播时间, 则在所述服务信息组的广播时间接收所述第二广播帧, 并从所 述接收到的第二广播帧中发现所述自身所需的服务信息, 对于所述接入点发 送的其他第一广播帧或第二广播帧作丟弃处理, 当接收到的是携带有所述服 务目录的所述第一广播帧, 且所述服务目录中不存在与所述自身所需的服务 信息相对应的所述服务信息的信息标识和服务信息组的广播时间, 则所述站 点不再接收所述接入点发送的服务信息, 对于所述接入点发送的其他第一广 播帧或第二广播帧作丟弃处理。 29. The site according to claim 26, wherein the discovery unit is configured to receive the first broadcast frame carrying the service directory, and the service directory contains the The information identifier of the service information corresponding to the service information required by itself and the broadcast time of the service information group, then the second broadcast frame is received at the broadcast time of the service information group, and the second broadcast frame is received from the received third The service information required by itself is found in the second broadcast frame, and other first broadcast frames or second broadcast frames sent by the access point are discarded. When receiving all the first broadcast frames or second broadcast frames that carry the service directory, the first broadcast frame, and the information identifier of the service information and the broadcast time of the service information group corresponding to the service information required by the station do not exist in the service directory, then the station will no longer receive the The service information sent by the access point is discarded for other first broadcast frames or second broadcast frames sent by the access point.
30、 根据权利要求 26或 29所述的站点,其特征在于, 所述发现单元用 于当接收到的是所述第二广播帧, 且所述第二广播帧携带的所述服务信息组 中包含所述自身所需的服务信息时, 则所述站点不再接收其他的服务信息, 对于所述接入点发送的其他第二广播帧或第一广播帧作丟弃处理; 当接收到 的是所述第二广播帧, 且所述第二广播帧携带的所述服务信息组中不包含所 述自身所需的服务信息时, 则根据所述第二广播帧获知所述服务目录的广播 时间, 用以所述站点在所述服务目录的广播时间接收所述第一广播帧。 30. The site according to claim 26 or 29, characterized in that: the discovery unit is used to: when the second broadcast frame is received, and the service information group carried by the second broadcast frame When the station contains the service information it needs, the station will no longer receive other service information, and will discard other second broadcast frames or first broadcast frames sent by the access point; when receiving is the second broadcast frame, and the service information group carried by the second broadcast frame does not contain the service information required by itself, then the service directory is obtained according to the second broadcast frame. The broadcast time is used for the station to receive the first broadcast frame at the broadcast time of the service directory.
PCT/CN2013/087219 2013-03-19 2013-11-15 Service discovery method, access point, and station WO2014146440A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310088350.3 2013-03-19
CN201310088350.3A CN104066148B (en) 2013-03-19 2013-03-19 Service discovery method, access point and website

Publications (1)

Publication Number Publication Date
WO2014146440A1 true WO2014146440A1 (en) 2014-09-25

Family

ID=51553628

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/087219 WO2014146440A1 (en) 2013-03-19 2013-11-15 Service discovery method, access point, and station

Country Status (2)

Country Link
CN (1) CN104066148B (en)
WO (1) WO2014146440A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7013452B2 (en) * 2016-11-01 2022-01-31 ヒューレット-パッカード デベロップメント カンパニー エル.ピー. Service implementation by resource agreement
CN108684027A (en) * 2018-05-15 2018-10-19 北京邮电大学 A kind of implementation method and device of multi-functional iBeacon beacons
CA3157097A1 (en) * 2019-11-07 2021-05-14 Antonio De La Oliva Distributing service information

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101582784A (en) * 2008-05-16 2009-11-18 华为技术有限公司 Management method and data transmission method of broadcast protocol client terminal and client terminal
CN102771133A (en) * 2010-01-13 2012-11-07 高通股份有限公司 Signaling mechanisms and systems for enabling, transmitting and maintaining interactivity features on mobile devices in a mobile broadcast communication system
CN102792706A (en) * 2010-01-13 2012-11-21 高通股份有限公司 Dynamic generation, delivery, and execution of interactive applications over a mobile broadcast network

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1793603A1 (en) * 2005-11-30 2007-06-06 Nagra France Sarl Method of transmission of authorization messages to a plurality of mobile receivers and method of treatment of such messages
KR101253546B1 (en) * 2006-11-20 2013-04-11 에스케이플래닛 주식회사 System and method for synchronization between broadcasting contents and data information
US20100085922A1 (en) * 2008-04-21 2010-04-08 Infosys Technologies Limited System and method for improving bandwidth of wireless local area network
CN101640942B (en) * 2009-08-31 2011-09-07 杭州华三通信技术有限公司 Method for sending broadcast data and equipment thereof
CN102546792B (en) * 2011-12-30 2016-03-30 华为终端有限公司 A kind of service information pushing and method of reseptance, relevant apparatus and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101582784A (en) * 2008-05-16 2009-11-18 华为技术有限公司 Management method and data transmission method of broadcast protocol client terminal and client terminal
CN102771133A (en) * 2010-01-13 2012-11-07 高通股份有限公司 Signaling mechanisms and systems for enabling, transmitting and maintaining interactivity features on mobile devices in a mobile broadcast communication system
CN102792706A (en) * 2010-01-13 2012-11-21 高通股份有限公司 Dynamic generation, delivery, and execution of interactive applications over a mobile broadcast network

Also Published As

Publication number Publication date
CN104066148A (en) 2014-09-24
CN104066148B (en) 2018-01-02

Similar Documents

Publication Publication Date Title
US9307483B2 (en) Systems and methods for transmitting and receiving discovery and paging messages
JP6138809B2 (en) System and method for fast initial network link setup
JP6158198B2 (en) System and method for fast initial network link setup
JP6174055B2 (en) Apparatus and method for access identifier based multicast communication
JP4960372B2 (en) Multicast and / or broadcast variable waiting period
CN105532065B (en) System and method for OFDMA PS-Poll transmission
WO2013107398A1 (en) Node grouping method, node, and access point
US10660026B2 (en) Method for establishing association between station and access point, and device
WO2013169876A1 (en) Systems and methods for paging message enhancement
JP7439299B2 (en) Communication method and communication device
US20170230988A1 (en) Methods and apparatus for communication mode configuration in a high-efficiency wireless network
WO2015131358A1 (en) Channel resource indication method and device
WO2016109921A1 (en) Data transmission method, station, access point and access controller
EP3403447B1 (en) Regulating responses based on request addressing or request channels
KR20150023878A (en) Service information discovery method and device
CN113455026A (en) Access method and communication device
WO2014146440A1 (en) Service discovery method, access point, and station
WO2021190272A1 (en) Signal transmission method and apparatus
US11570661B2 (en) Signaling transmission method and device, signaling reception method and device, storage medium and terminal
EP3298840B1 (en) Supporting packet query-response transactions at lower layer
WO2014186985A1 (en) Communication device and wireless communication method
KR20190117401A (en) Device and method for bloom filter aided wake up radio multicasting

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

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

Country of ref document: EP

Kind code of ref document: A1