WO2014101491A1 - 服务信息发现方法及设备 - Google Patents

服务信息发现方法及设备 Download PDF

Info

Publication number
WO2014101491A1
WO2014101491A1 PCT/CN2013/083921 CN2013083921W WO2014101491A1 WO 2014101491 A1 WO2014101491 A1 WO 2014101491A1 CN 2013083921 W CN2013083921 W CN 2013083921W WO 2014101491 A1 WO2014101491 A1 WO 2014101491A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
information
sta
service device
indication message
Prior art date
Application number
PCT/CN2013/083921
Other languages
English (en)
French (fr)
Inventor
赵牧
杨浔
陶源
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2014101491A1 publication Critical patent/WO2014101491A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • 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

Definitions

  • the present invention relates to communication technologies, and in particular, to a service information discovery method and device. Background technique
  • the station Before selecting a wireless LAN, the station (Station) usually needs to know whether there is a service device in the wireless local area network to provide the service it needs.
  • the device is called service discovery.
  • STA When a STA discovers a certain service, one way is to actively send a query request message to the service device, and then use the query response message returned by the service device to know whether the service device has the service that it needs; another way is Listen to the service information broadcast by the service device to know whether the service device has the service that it needs.
  • the STA discovers that the service device can provide its own required service, it sends a connection request to the service device to establish a communication connection.
  • the STA usually needs to constantly query whether the peripheral device has its own services, or the service device needs to continuously broadcast the services that it can provide in order to find devices that are interested in its own services. It can be seen that there are a large number of query request messages or broadcast service information in the WLAN, which will result in low utilization of channel resources and energy resources.
  • the embodiments of the present invention provide a service information discovery method and device, which are used to solve the problem that service discovery leads to low utilization of channel resources and energy resources.
  • the first aspect provides a service information discovery method, including:
  • the management device receives the service request indication message sent by the station STA, where the service request indication message carries the first information, where the first information is used to identify the service that the STA requests to obtain; the management device is based on the service information and the service device. a mapping relationship and the first information, determining a target service device capable of providing the service identified by the first information;
  • the management device instructs a communication connection between the STA and the target service device.
  • the second aspect provides a service information discovery method, including: The service device receives a connection establishment indication message sent by the management device, where the connection establishment indication message is used to indicate that the service device establishes a communication connection with the station STA, and the connection establishment indication message is used by the management device according to the service information and the service device. And the first information generated in the service request indication message sent by the STA is used to determine the service device that can provide the service identified by the first information, where the first information is used to identify the location Describe a service that the STA requests to acquire; the service device establishes a communication connection with the STA according to the connection establishment indication message.
  • the third aspect provides a service information discovery method, including:
  • the STA sends a service request indication message to the management device, where the service request indication message carries the first information, where the first information is used to identify the service that the STA requests to acquire;
  • the fourth aspect provides a management device, including:
  • a receiving module configured to receive a service request indication message sent by the STA, where the service request indication message carries the first information, where the first information is used to identify the service that the STA requests to obtain, and the determining module is configured to be used according to the service. a mapping relationship between the information and the service device and the first information, determining a target service device capable of providing the service identified by the first information;
  • connection establishment indication module configured to establish a communication connection between the STA and the target service device.
  • the fifth aspect provides a service device, including:
  • a receiving module configured to receive a connection establishment indication message sent by the management device, where the connection establishment indication message is used to indicate that the service device establishes a communication connection with the station STA, where the connection establishment indication message is used by the management device according to the service information
  • the mapping between the service device and the first information in the service request indication message sent by the STA is used to determine the service device that can provide the service identified by the first information, where the first information is used. Identifying the service requested by the STA;
  • connection establishing module configured to establish a communication connection with the STA according to the connection establishment indication message.
  • the sixth aspect provides a site STA, including:
  • a sending module configured to send a service request indication message to the management device, where the service request indication message carries the first information, where the first information is used to identify the service requested by the STA, and the connection establishment module is configured to receive the Determining, by the management device, a service advertisement message, determining a target service device according to the indication of the service advertisement message, and establishing a communication connection with the target service device, where the service advertisement message is used by the management device according to the service information and the service device
  • the mapping relationship between the first information and the first information generation is used to determine the target service device capable of providing the service identified by the first information.
  • the management device receives a service request indication message that is sent by the STA and carries information indicating the service that the STA requests to acquire, and the mapping relationship and service between the management device and the service device according to the service information.
  • the target service device learns that it needs to provide services for the STA according to the instruction of the management device, does not need periodic broadcast service information, and saves channel resources and energy consumption resources consumed by the target service device broadcast service information, and the STA does not Multiple attempts are required to send a service request to the service device to obtain the required service, which saves channel resources and energy consumption resources consumed by the STA to send the service request multiple times.
  • FIG. 1 is a flowchart of a service information discovery method according to an embodiment of the present invention
  • FIG. 2 is a flowchart of another service information discovery method according to an embodiment of the present invention
  • FIG. 3 is a flowchart of still another service information discovery method according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of another management device according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of a service device according to an embodiment of the present disclosure
  • FIG. 7 is a schematic structural diagram of another service device according to an embodiment of the present invention
  • FIG. 8 is a schematic structural diagram of a STA according to an embodiment of the present disclosure
  • FIG. 9 is a schematic structural diagram of another STA according to an embodiment of the present invention. detailed description
  • FIG. 1 is a flowchart of a service information discovery method according to an embodiment of the present invention. As shown in FIG. 1, the method in this embodiment includes:
  • Step 101 The management device receives the service request indication message sent by the STA, where the service request indication message carries the first information, where the first information is used to identify the service that the STA requests to acquire.
  • Step 102 The management device determines, according to the mapping relationship between the service information and the service device and the first information, a target service device that can provide the service identified by the first information.
  • Step 103 The management device instructs the STA to establish a communication connection with the target service device.
  • a device that can provide a service in a wireless network is referred to as a service device.
  • the service device may be an access point (AP) or an STA, where the STA that can provide the service may be a printer. , fax machines, projectors, etc.
  • the device responsible for managing each service device in the wireless network is called a management device, and the management device may be an AP or a STA.
  • the management device knows in advance information about services that can be provided by each service device in the wireless network, forms a mapping relationship between the service information and the service device, and stores the mapping relationship between the service information and the service device. local. Based on this, when the STA requests to obtain the service, the STA sends the service request indication message directly to the management device, and the service request indication message carries the first information that identifies the service that the STA requests to obtain, so that the management device can learn that the STA requests to obtain the specific information. Which service or services.
  • the management device receives the service request indication message sent by the STA, and obtains the first information that identifies the service that the STA requests to obtain from the service request indication message, and further learns the service that the STA requests to acquire according to the first information.
  • the first information here can be any information that can uniquely identify a service, such as It may be the name of the service, the communication protocol code corresponding to the service, or the identification (ID) of the service, and the like.
  • the management device determines, according to the mapping relationship between the service information and the service device and the first information, a service device in the wireless network that can provide the service identified by the first information, where the first information center can be provided.
  • the service device of the identified service is called the target service device.
  • the first information may include all or part of the service information in the mapping relationship between the service information stored by the management device and the service device.
  • the management device After determining the target service device, the management device instructs the STA to establish a communication connection with the target service device, so that the target service device can provide services for the STA.
  • an implementation manner that the management device indicates that the STA establishes a communication connection with the target service device includes: the management device sends a first connection establishment indication message to the target service device, to indicate that the target service device broadcasts the service information indication message, to And causing the STA to establish a communication connection with the target service device after determining the target service device according to the service information indication message.
  • the management device sends a first connection establishment indication message to the target service device.
  • the first connection establishment indication message is used to indicate that the target service device broadcasts the service information indication message, so that the STA determines the target service device.
  • the target service device After receiving the first connection establishment indication message, the target service device broadcasts the service information indication message, where the service information indication message carries the information of the target service device.
  • the STA monitors the service information indication message broadcast by the target service device, and after listening to the service information indication message broadcast by the target service device, the information of the target service device may be obtained from the service information indication message, and then the target service device is determined. Thereafter, the STA may initiate a connection establishment request to the target service device, and then receive a connection establishment response returned by the target service device according to the connection establishment request to establish a communication connection with the target service device.
  • another implementation manner of the management device instructing the STA to establish a communication connection with the target service device includes: the management device sends a first service advertisement message to the STA, to instruct the STA to obtain the target service device from the first service advertisement message. And establishing a communication connection with the target service device, where the first service advertisement message carries information of the target service device.
  • the management device sends a first service advertisement message to the STA, and carries the information of the target service device in the first service advertisement message, so that the STA learns The information of the target service device, and then the target service device is determined according to the information of the target service device.
  • the STA may initiate a connection establishment request to the target service device, and then receive a connection establishment response returned by the target service device according to the connection establishment request, to be established with the target service device. Establish a communication connection.
  • the target serving device may not broadcast the service information indication message, but wait for the STA to initiate the connection establishment process or initiate the authentication association process.
  • the target service device may transition from the sleep state to the awake state according to the indication of the management device, so as to establish a communication connection with the STA and provide the service to the STA.
  • another implementation manner of the management device indicating that the STA establishes a communication connection with the target service device includes: the management device sends a second connection establishment indication message to the target service device, to indicate that the target service device broadcasts the service information indication message, And causing the STA to determine the target service device according to the service information indication message, and send a second service advertisement message to the STA, to instruct the STA to listen to the service information indication message broadcast by the target service device, and after determining the target service device according to the service information indication message, Establish a communication connection with the target service device.
  • the management device determines the target service device that can provide the service to the STA
  • the second connection establishment indication message is sent to the target service device
  • the second service advertisement message is sent to the STA, so that the STA can be timely.
  • the STA may initiate a connection establishment request to the target service device, and then receive a connection establishment response returned by the target service device according to the connection establishment request to establish a communication connection with the target service device.
  • another embodiment of the management device instructing the STA to establish a communication connection with the target service device includes: the management device sends a third connection establishment indication message to the target service device, where the third connection establishment indication message carries the STA And the information, so that the target service device establishes a communication connection with the STA according to the information of the STA.
  • the management device provides the information of the STA to the target service device by using the third connection establishment indication message, so that the target service device can learn which STA needs to be served, and according to the information of the STA, the target service device can adopt Various ways to establish a communication connection with the STA.
  • the target service device according to the information of the STA, knows which STA needs to be provided with the service, and also knows that it needs to provide the service, and the target service device can make the STA determine the target month by broadcasting the service information indication message. The service device, and then the STA initiates connection establishment to the target service device. Alternatively, the target service device may directly initiate connection establishment to the STA according to the STA information.
  • the first connection establishment indication message carries the operation mode indication information, where the operation mode indication information is used to indicate a manner in which the STA establishes a communication connection with the target service device.
  • the first service advertisement message carries the working mode indication information.
  • the second connection Both the connection establishment indication message and the second service announcement message carry work mode indication information.
  • the third connection establishment indication message carries the working mode indication information. A manner of establishing a communication connection between the STA and the target service device, so that the STA and the target service device need to establish a connection by establishing a communication connection specified by the management device.
  • the management device may determine the target service device capable of serving the STA according to the first information in the service request indication message sent by the STA, and the mapping relationship between the service information and the service device, and indicate the target.
  • the communication connection between the service device and the STA is established, and the target service device and other service devices in the wireless network do not need to periodically broadcast the information of the service that can be provided by the user, so that the device that needs the service finds itself and saves the periodicity.
  • the channel resources and the energy consumption resources of the broadcast service information are wasted; further, the service equipment in the wireless network does not need periodic broadcast service information, which can reduce the amount of information existing in the wireless network, and is beneficial for reducing information congestion;
  • the service request indication message is sent to the management device, so that the service required by the user is obtained, and the service request is not required to be sent multiple times, which saves channel resources and energy consumption resources consumed by sending the service request multiple times.
  • the manner in which the management device receives the service request indication message sent by the STA is not limited in this embodiment.
  • the STA may send a service request indication message to the management device before the STA performs authentication association with the management device or during the authentication association process or after the authentication association.
  • the following is an example.
  • the management device receives the service request indication message sent by the STA, where the management device receives the first association request message sent by the STA, where the first association request message includes the first information, and then the management device returns the first message to the STA. Correlate response message.
  • the first association request message is the service request indication message.
  • the STA after the STA is authenticated by the management device, the STA initiates a process of associating the management device, and sends a service request indication message to the management device in the process of association with the management device.
  • the first association response message may be a response message with a successful association, or may be a response message with an association failure.
  • the management device finds that the wireless device in the wireless network where the management device is located does not provide any service required by the STA according to the first information, the STA does not need to associate the management device, and then returns a response message indicating that the association fails.
  • Another manner of the management device receiving the service request indication message sent by the STA includes: the management device receiving the first service request message sent by the STA, where the first service request message includes the first message
  • the management device returns a first service response message to the STA, where the first service response message includes each service information stored by the management device; the management device receives the second association request message sent by the STA; the management device returns a second association response to the STA Message.
  • the first service request message is the service request indication message.
  • the STA first sends a first service request message to the management device, and carries the first information identifying the service that the STA requests to acquire in the first service request message, to notify the management device STA of the service requested to be acquired; After receiving the first service request, the first service response message is returned to the STA to inform the STA that the service device in the wireless network where the management device is located can provide the service required by the STA. After that, the STA associates with the management device for authentication.
  • the STA sends a service request to the management device to know in advance whether the service device in the wireless network where the management device is located can provide the service required by the STA, only in determining the wireless network where the management device is located. After the service device is able to provide the service it needs (ie, receives the first service response message), it is associated with the management device for authentication.
  • a further manner of the management device receiving the service request indication message sent by the STA includes: the management device receiving the second service request message sent by the STA; the management device returns a second service response message to the STA, where the second service response message carries the management
  • the service information stored on the device so that the STA learns the service that the service device in the wireless network where the management device is located can provide the third association request to the management device when the STA determines that the wireless network in which the management device is located has the service that it needs.
  • the third association request message carries the foregoing first information.
  • the management device receives the third association request message sent by the STA, and returns a third association response message to the STA.
  • the third association request message is the service request indication message.
  • the STA first obtains each service information stored on the management device by sending the second service request message, and determines, according to the obtained service information, the wireless network where the management device is located, before performing the authentication association with the management device. If the wireless network in which the management device is located can provide the service required by the STA, the STA initiates an authentication association process to the management device, and provides the information of the service requested by the STA to the management device in the authentication association process. And causing the management device to determine, according to the information, a target service device that provides the service identified by the information.
  • a further manner of the management device receiving the service request indication message sent by the STA includes: managing the device broadcast service information indication message, where the service information indication message carries the service information stored on the management device; the service information indication message and the target The service information broadcasted by the service device indicates that the message is different, for example, the content carried is different, and the service information indication message carries the management The information of the service that all or part of the service devices stored on the device can provide; and the service information indication message broadcast by the target service device carries the information of the service that the target service device itself can provide.
  • the management device receives a fourth association request message sent by the STA according to the service information indication message, where the fourth association request message includes the first information, and the management device returns a fourth association response message to the STA.
  • the management device periodically broadcasts the service information indication message, and the service information indication message advertises the information of the service that can be provided by the wireless network where the management device is located, so that after receiving the service information indication message, the STA may Knowing the services that the wireless network of the management device can provide, and determining whether the wireless network where the management device is located can provide the services required by the STA, and after determining that the wireless network where the management device is located can provide the services required by the STA, initiate authentication to the management device.
  • the association process, and the information of the service requested by the STA is provided to the management device in the authentication association process, so that the management device determines, according to the information, the target service device that provides the service identified by the information.
  • the service request indication message received by the management device further carries working mode indication information, where the working mode indication information is used to indicate a manner in which the STA is connected to a service communication service.
  • the mode of operation indication information may instruct the STA to establish a communication connection directly with a service device that is capable of providing the service.
  • the working mode indication information may instruct the STA to establish a communication connection with the service device capable of providing the service through the management device.
  • the number of STAs that send the service request indication message to the management device is multiple.
  • step 101 is specifically: the management device receives a service request indication message sent by each STA of the multiple STAs.
  • the step 102 is specifically: the management device determines, according to the first information in each service request indication message and the mapping relationship between the service information and the service device, that the at least one service of all the services identified by the first information can be provided.
  • Target service device At least one of the target service devices is determined, and each of the at least one target service device is capable of providing at least one of the services identified by all the first information.
  • step 103 is specifically: the management device instructs each STA and each STA to establish a communication connection between the target service devices.
  • the management device may simultaneously indicate that the at least two STAs establish a communication connection with the same target serving device in one process. For example, the management device can be sent to the third of the target service device.
  • the connection establishment indication message carries information of each of the at least two STAs at the same time, so that the target serving device establishes a communication connection with each STA according to the information of each STA.
  • the management device may send the first service advertisement message in a broadcast manner, so that each of the at least two STAs can pass the first service advertisement.
  • the message knows the information of the target service device.
  • the process of the management device indicating that one or at least two STAs establish a communication connection with the corresponding target service device can be referred to the above description, and details are not described herein again.
  • the target service device learns that it needs to provide services for the STA according to the indication of the management device, does not need periodic broadcast service information, and saves channel resources and energy consumption consumed by the target service device to broadcast service information. Resources, etc., and the STA does not need to repeatedly send a service request to the service device to obtain the required service, which saves channel resources and energy consumption resources consumed by the STA to send the service request multiple times.
  • FIG. 2 is a flowchart of another method for discovering service information according to an embodiment of the present invention. As shown in FIG. 2, the method in this embodiment includes:
  • Step 201 The service device receives a connection establishment indication message sent by the management device, where the connection establishment indication message is used to indicate that the service device establishes a communication connection with the STA, where the connection establishment indication message is used by the management device according to the service information and the service device.
  • the mapping relationship and the first information generated in the service request indication message sent by the STA are used to determine the service device that can provide the service identified by the first information, where the first information is used to identify the service that the STA requests to acquire.
  • Step 202 The service device establishes a communication connection with the STA according to the foregoing connection establishment indication message.
  • the present embodiment is a description from the perspective of a service device, wherein the operation performed by the management device can be referred to the description of the embodiment shown in Fig. 1.
  • the service device of this embodiment is equivalent to the target service device in the embodiment shown in Fig. 1.
  • the service device After receiving the connection establishment indication message, the service device establishes a communication connection with the STA according to the indication of the connection establishment indication message.
  • the service device may broadcast the service information indication message, so that the STA determines the service device according to the service information indication message, and establishes a communication connection with the service device.
  • the service information indication message carries information about the service device.
  • the STA can learn the information of the service device, and then send a connection establishment request to the service device; the service device receives the connection establishment request of the STA, and returns a connection establishment response to the STA, thereby establishing with the STA. Communication connection.
  • the service device may switch from the sleep state to the awake state, and wait for the connection establishment request sent by the STA. After receiving the connection establishment request sent by the STA, the service device returns a connection establishment response to the STA. Thereby establishing a communication connection with the STA.
  • the STA may obtain the information of the service device from the service announcement message sent by the management device.
  • the connection establishment indication message sent by the management device carries information of the STA requesting the service. Based on this, the service device establishes a communication connection with the STA according to the connection establishment indication message, and the service device obtains the information of the STA from the connection establishment indication message, and establishes a communication connection with the STA according to the information of the STA. For example, after the service device obtains the information of the STA from the connection establishment indication message, it can learn which STA needs to be provided with the service, and can also know that it needs to provide the service, so that the service information indication message can be broadcasted, so that the STA indicates the message according to the service information. The service device is determined, and then the connection establishment with the service device is initiated. Alternatively, after the service device obtains the STA information from the connection establishment indication message, the service device may directly establish a connection establishment with the STA according to the information of the STA.
  • the connection setup indication message carries the work mode indication information, where the work mode indication information is used to indicate a manner in which the STA establishes a communication connection with the service device.
  • the service device Based on the connection establishment indication message, the service device establishes a communication connection with the STA.
  • the service device establishes a communication connection with the STA according to the connection establishment indication message and the manner of establishing a communication connection indicated by the operation mode indication information.
  • the mode of operation indication information may instruct the STA to establish a communication connection directly with a service device that is capable of providing the service.
  • the mode of operation indication information may instruct the STA to establish a communication connection with the service device capable of providing the service through the management device.
  • the management device determines that the service device of this embodiment can simultaneously provide services for multiple STAs. Based on this, step 202 is specifically: the service device establishes a communication connection with each of the plurality of STAs according to the connection establishment indication message.
  • the connection establishment indication message sent by the management device to the service device may simultaneously carry information of each of the plurality of STAs, so that the service device may establish a communication connection with each STA according to the information of each STA.
  • the service device may broadcast a service information indication message according to the connection establishment indication message, so that each STA learns the information of the service device, and then respectively initiates the service device to the service device. The connection is established such that the service device is connected to each STA.
  • the service device establishes a communication connection with the STA and provides a service to the STA according to the instruction of the management device, and does not need to periodically broadcast the service information as in the prior art, thereby saving the consumption of the periodic broadcast service information.
  • the channel resources and the energy consumption resources, and the STA does not need to repeatedly send a service request to the service device to obtain the required service, which saves channel resources and energy consumption resources consumed by the STA to send the service request multiple times.
  • FIG. 3 is a flowchart of still another service information discovery method according to an embodiment of the present invention. As shown in FIG. 3, the method in this embodiment includes:
  • Step 301 The STA sends a service request indication message to the management device, where the service request indication message carries the first information, where the first information is used to identify the service that the STA requests to acquire.
  • Step 302 The STA receives a service advertisement message sent by the management device, determines a target service device according to the indication of the service advertisement message, and establishes a communication connection with the target service device.
  • the service advertisement message is used by the management device according to the service information and the service device.
  • the mapping relationship and the first information generation are used to determine a target service device capable of providing the service identified by the first information.
  • the determining, by the STA, the target service device according to the indication of the service advertisement message, and establishing a communication connection with the target service device includes: the STA listening to the service information indication message broadcast by the target service device according to the indication of the service advertisement message, The target service device is determined after listening to the service information indication message, and then establishes a communication connection with the target service device.
  • the service announcement message carries information of the target service device. Based on this, the STA determines the target service device according to the indication of the service advertisement message, and establishes a communication connection with the target service device, including: the STA determines the target service device according to the information of the target service device in the service announcement message, and then establishes communication with the target service device. connection.
  • the STA after the STA discovers the target service device, the STA obtains the information of the target service device, and then the STA can establish a communication connection with the target service device in various manners.
  • the service announcement message carries the working mode indication information, where the working mode indication information is used to indicate a manner in which the STA establishes a communication connection with the target service device.
  • the STA receives the service announcement message sent by the management device, and determines according to the indication of the service advertisement message. And the establishing, by the STA, the service notification message sent by the management device, determining the target service device according to the indication of the service notification message, and then establishing the indication indicated by the working mode indication information.
  • the way the communication is connected establishing a communication connection with the target service device.
  • the operational mode indication information may instruct the STA to establish a communication connection directly with a service device capable of providing services thereto.
  • the working mode indication information may instruct the STA to establish a communication connection with the service device capable of providing a service through the management device.
  • the STA when the STA needs to request the service, the STA directly sends a service request indication message carrying the first information identifying the requested service to the management device, and then receives the service announcement message sent by the service device, and determines according to the service notification message.
  • the target service device providing the required service, and then establishing a communication connection with the target service device does not need to try to send a service request to the service device to obtain the required service as many times as in the prior art, thereby saving the STA from sending the service request multiple times. Channel resources and energy resources consumed.
  • FIG. 4 is a schematic structural diagram of a management device according to an embodiment of the present invention. As shown in FIG. 4, the management device of this embodiment includes: a receiving module 41, a determining module 42 and a connection establishing indicating module 43.
  • the receiving module 41 is configured to receive a service request indication message sent by the STA, where the service request indication message carries the first information, where the first information is used to identify the service that the STA requests to acquire.
  • the determining module 42 is connected to the receiving module 41, and is configured to determine, according to the mapping relationship between the service information and the service device and the first information received by the receiving module 41, a target service device capable of providing the service identified by the first information.
  • connection establishment indication module 43 is connected to the determination module 42 for instructing the STA and the determination service module 42 to establish a communication connection between the target service devices.
  • connection establishment indication module 43 is specifically configured to send a first connection establishment indication message to the target service device, to indicate that the target service device broadcasts a service information indication message, so that the STA is based on The service information indication message establishes a communication connection with the target service device after determining the target service device.
  • the first connection establishment indication message carries the working mode indication information, where the working mode indication information is used to indicate a manner of establishing a communication connection between the STA and the target service device.
  • connection establishment indication module 43 is specifically configured to send a first service advertisement message to the STA, to indicate that the STA acquires information about the target service device from the first service advertisement message, and the target service device Establishing a communication connection, where the first service advertisement message carries information of the target service device. Further optionally, the first service advertisement message carries the working mode indication information.
  • connection establishment indication module 43 is specifically configured to send a second connection establishment indication message to the target service device, to indicate that the target service device broadcasts a service information indication message, so that the STA determines according to the service information indication message. Transmitting, by the target service device, a second service advertisement message to the STA, to instruct the STA to listen to the service information indication message broadcast by the target service device, and determining, according to the service information indication message, After the target service device, establish a communication connection with the target service device. Further, the second connection establishment indication message and the second service advertisement message both carry the working mode indication information.
  • connection establishment indication module 43 is specifically configured to send a third connection establishment indication message to the target service device, where the third connection establishment indication message carries information about the STA, so that the target service device is configured according to the The STA information establishes a communication connection with the STA. Further, the third connection establishment indication message carries the working mode indication information.
  • the service request indication message received by the management device further carries working mode indication information, where the working mode indication information is used to indicate a manner of establishing a communication connection between the STA and the target service device.
  • the determining module 42 is specifically configured to determine, according to the first information, the working mode indication information, and the mapping relationship between the service information and the service device, that the service identified by the first information is provided and that the The service device indicating the manner of establishing the communication connection indicated by the work mode indication information serves as the target service device.
  • the number of STAs that send the service request indication message to the management device of the embodiment is multiple.
  • the receiving module 41 is specifically configured to receive a service request indication message sent by each STA of the multiple STAs.
  • the determining module 42 is specifically configured to determine, according to the first information in each service request indication message and the mapping relationship between the service information and the service device, the target that can provide at least one of the services identified by all the first information. Service equipment.
  • the connection establishment indication module 43 is specifically configured to indicate that a communication connection is established between each STA and a target service device corresponding to each STA.
  • Each functional module of the management device provided in this embodiment may be used to execute the service letter shown in FIG. 1 above.
  • the flow of the method for discovering the method is not described in detail. For details, refer to the description of the method embodiment.
  • the management device provided in this embodiment receives a service request indication message that is sent by the STA and carries information indicating the service that the STA requests to acquire, and determines that the information in the service request indication message and the mapping relationship between the service information and the service device are determined. Providing a target service device of the service identified by the information in the service request indication message, and then instructing the STA to establish a communication connection with the target service device, so that the target service device provides the service to the STA. Based on the management device provided by the embodiment, the target service device learns that the service needs to be provided for the STA according to the indication of the management device, does not need periodic broadcast service information, and saves channel resources and energy consumption resources consumed by the target service device to broadcast the service information. Etc., and the STA does not need to repeatedly send a service request to the service device to obtain the required service, which saves channel resources and energy consumption resources consumed by the STA to send the service request multiple times.
  • FIG. 5 is a schematic structural diagram of another management device according to an embodiment of the present invention. As shown in FIG. 5, the management device of this embodiment includes: a communication interface 51, a memory 52, and a processor 53.
  • the communication interface 51 is configured to receive a service request indication message sent by the STA, where the service request indication message carries the first information, where the first information is used to identify the service that the STA requests to acquire.
  • the memory 52 is used to store the program.
  • the program may include program code, and the program code includes computer operation instructions.
  • the memory 52 may include a high speed RAM memory, and may also include a non-volatile memory such as at least one disk memory.
  • the processor 53 is configured to execute a program stored in the memory 52, configured to: determine, according to a mapping relationship between the service information and the service device, and the first information received by the communication interface 51, to provide the service identified by the first information
  • the target service device then instructs the STA to establish a communication connection with the target service device.
  • the processor 53 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or configured to implement the implementation of the present invention.
  • CPU central processing unit
  • ASIC application specific integrated circuit
  • the processor 53 is specifically configured to determine, according to the mapping relationship between the service information and the service device and the first information received by the communication interface 51, a target service that can provide the service identified by the first information.
  • the device controls the communication interface 51 to send a first connection establishment indication message to the target service device to instruct the target service device to broadcast a service information indication message, so that the STA determines the target service according to the service information indication message.
  • the communication interface 51 is further configured to send a first connection establishment indication message to the target service device according to the control of the processor 53.
  • the first connection establishment indication message sent by the communication interface 51 carries the operation mode indication information, where the operation mode indication information is used to indicate a manner of establishing a communication connection between the STA and the target service device.
  • the processor 53 is specifically configured to determine, according to the mapping relationship between the service information and the service device, the first information received by the communication interface 51, the target service device capable of providing the service identified by the first information, and then control the communication interface. And sending, by the STA, a first service advertisement message to the STA, to indicate that the STA acquires the information of the target service device from the first service advertisement message, and establish a communication connection with the target service device, where the first service is The announcement message carries information about the target service device.
  • the communication interface 51 is further configured to send a first service announcement message to the STA under the control of the processor 53. Further optionally, the first service advertisement message sent by the communication interface 51 carries the working mode indication information.
  • the processor 53 is specifically configured to determine, according to the mapping relationship between the service information and the service device and the first information received by the communication interface 51, a target service device capable of providing the service identified by the first information, and then control the communication interface.
  • Sending a second connection establishment indication message to the target service device to indicate that the target service device broadcasts a service information indication message, so that the STA determines the target service device according to the service information indication message, and controls communication.
  • the interface 51 sends a second service advertisement message to the STA, to instruct the STA to listen to the service information indication message broadcast by the target service device, and after determining the target service device according to the service information indication message, Establishing a communication connection with the target service device.
  • the communication interface 51 is further configured to send a second connection establishment indication message to the target service device under the control of the processor 53, and send a second service announcement message to the STA. Further optionally, the second connection establishment indication message and the second service advertisement message sent by the communication interface 51 both carry the working mode indication information.
  • the processor 53 is specifically configured to determine, according to the mapping relationship between the service information and the service device and the first information received by the communication interface 51, a target service device capable of providing the service identified by the first information, and then control the communication interface.
  • the third connection establishment indication message is sent to the target service device, where the third connection establishment indication message carries the information of the STA, so that the target service device establishes with the STA according to the STA information.
  • Communication connection is further configured to send a third connection to the target service device under the control of the processor 53. Direct instructions. Further optionally, the third connection establishment indication message sent by the communication interface 51 carries the working mode indication information.
  • the service request indication message received by the communication interface 51 further carries the working mode indication information, where the working mode indication information is used to indicate that the STA establishes a communication connection with the target service device. the way.
  • the processor 52 is specifically configured to determine, according to the first information, the working mode indication information, and a mapping relationship between the service information and the service device, that the service identified by the first information is provided and that the A service device indicating a manner of establishing a communication connection indicated by the operation mode information as the target service device, and then instructing establishment of a communication connection between the STA and the target service device.
  • the communication interface 51 is specifically configured to receive a service request indication message sent by each of the plurality of STAs.
  • the processor 53 is specifically configured to determine, according to the first information in each service request indication message and the mapping relationship between the service information and the service device, a target service device that can provide at least one of the services identified by all the first information, A communication connection is then established between each STA and the target service device corresponding to each STA.
  • the communication interface 51, the memory 52, and the processor 53 can be connected to each other through a bus and complete communication with each other.
  • the bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus, or an Extended Industry Standard Architecture (Extended Industry Standard Architecture).
  • ISA Industry Standard Architecture
  • PCI Peripheral Component
  • EISA Extended Industry Standard Architecture
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 5, but it does not mean that there is only one bus or one type of bus.
  • the communication interface 51, the memory 52, and the processor 53 are integrated on one chip, the communication interface 51, the memory 52, and the processor 53 can complete the same communication through the internal interface.
  • the management device provided in this embodiment may be used to perform the process of the foregoing service information discovery method shown in FIG. 1.
  • the specific working principle is not described here. For details, refer to the description of the method embodiment.
  • the management device provided in this embodiment receives a service request indication message that is sent by the STA and carries information indicating the service that the STA requests to acquire, and the information in the message according to the service request indication and the advance a mapping relationship between the stored service information and the service device, determining a target service device capable of providing the service identified by the information in the service request indication message, and then instructing the STA and the target service device to establish a communication connection, so that the target service device STA provides services.
  • the target service device learns that the service needs to be provided for the STA according to the indication of the management device, does not need periodic broadcast service information, and saves channel resources and energy consumption resources consumed by the target service device to broadcast the service information. Etc., and the STA does not need to repeatedly send a service request to the service device to obtain the required service, which saves channel resources and energy consumption resources consumed by the STA to send the service request multiple times.
  • FIG. 6 is a schematic structural diagram of a service device according to an embodiment of the present invention. As shown in FIG. 6, the service device of this embodiment includes: a receiving module 61 and a connection establishing module 62.
  • the receiving module 61 is configured to receive a connection establishment indication message sent by the management device, where the connection establishment indication message is used to indicate that the service device of the embodiment establishes a communication connection with the STA, where the connection establishment indication message is used by the management device according to the
  • the mapping between the service information and the service device and the first information in the service request indication message sent by the STA are used to determine the service device of the embodiment that can provide the service identified by the first information.
  • the first information is used to identify a service that the STA requests to acquire.
  • the connection establishing module 62 is connected to the receiving module 61, and is configured to establish a communication connection with the STA according to the connection establishment indication message received by the receiving module 61.
  • connection establishing module 62 is specifically configured to: according to the connection establishment indication message received by the receiving module 61, broadcast a service information indication message, so that the STA determines the service of the embodiment according to the service information indication message.
  • the device establishes a communication connection with the service device of the embodiment.
  • connection establishment indication message received by the receiving module 61 carries the information of the STA.
  • the connection establishing module 62 is specifically configured to obtain the information of the STA from the connection establishment indication message, and establish a communication connection with the STA according to the information of the STA.
  • the connection establishment indication message received by the receiving module 61 carries the working mode indication information, where the working mode indication information is used to indicate the manner in which the STA establishes a communication connection with the service device of the embodiment.
  • the connection establishing module 62 is specifically configured to establish a communication connection with the STA according to the connection establishment indication message received by the receiving module 61 in a manner of establishing a communication connection indicated by the working mode indication information.
  • the management device determines that the service device of the embodiment may be multiple
  • the STA provides services, that is, the STAs described above are plural.
  • the connection establishing module 62 is specifically configured to establish a communication connection with each of the plurality of STAs according to the connection establishment indication message received by the receiving module 61.
  • the function modules of the service device provided in this embodiment can be used to execute the process of the method for discovering the service information shown in FIG. 2.
  • the specific working principle is not described here. For details, refer to the description of the method embodiment.
  • the service device provided in this embodiment in cooperation with the management device provided in the foregoing embodiment, can establish a communication connection with the STA and provide a service to the STA according to the instruction of the management device, and does not need to periodically broadcast the service information as in the prior art.
  • the channel resource and the energy consumption resource consumed by the periodic broadcast service information are saved, and the STA does not need to repeatedly send a service request to the service device to obtain the required service, which saves the service device.
  • the STA sends the channel resources and energy resources consumed by the service request multiple times.
  • FIG. 7 is a schematic structural diagram of another service device according to an embodiment of the present invention.
  • the service device of this embodiment includes: a communication interface 71, a memory 72, and a processor 73.
  • the communication interface 71 is configured to receive a connection establishment indication message sent by the management device, where the connection establishment indication message is used to indicate that the service device of the embodiment establishes a communication connection with the STA, where the connection establishment indication message is used by the management device according to the
  • the mapping between the service information and the service device and the first information in the service request indication message sent by the STA are used to determine the service device of the embodiment that can provide the service identified by the first information.
  • the first information is used to identify a service that the STA requests to acquire.
  • the memory 72 is used to store the program.
  • the program may include program code, and the program code includes computer operation instructions.
  • the memory 72 may include a high speed RAM memory, and may also include a non-volatile memory such as at least one disk memory.
  • the processor 73 is configured to execute a program stored in the memory 72, to: establish a communication connection with the STA according to the connection establishment indication message received by the communication interface 71.
  • Processor 73 may be a CPU, or a particular ASIC, or one or more integrated circuits configured to implement embodiments of the present invention.
  • the processor 73 is specifically configured to: according to the connection establishment indication message, control the communication interface 71 to broadcast a service information indication message, so that the STA determines the target according to the service information indication message. Serving a device and establishing a communication with the target service device Pick up.
  • connection establishment indication message received by the communication interface 71 carries the information of the STA.
  • the processor 73 is specifically configured to obtain the information of the STA from the connection establishment indication message, and establish a communication connection with the STA according to the information of the STA.
  • the connection establishment indication message received by the communication interface 71 carries the operation mode indication information, where the operation mode indication information is used to indicate a manner of establishing a communication connection between the STA and the service device.
  • the processor 73 is specifically configured to establish a communication connection with the STA according to the connection establishment indication message and the manner of establishing a communication connection indicated by the operation mode indication information.
  • the management device determines that the monthly service device of the embodiment may be multiple
  • the STA provides services, that is, the STAs described above are plural.
  • the processor 73 is specifically configured to establish a communication connection with each of the plurality of STAs according to the connection establishment indication message received by the communication interface 71.
  • the communication interface 71, the memory 72, and the processor 73 can be connected to each other through a bus and complete communication with each other.
  • the bus can be an ISA bus, a PCI bus or an EISA bus.
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 7, but it does not mean that there is only one bus or one type of bus.
  • the communication interface 71, the memory 72, and the processor 73 are integrated on one chip, the communication interface 71, the memory 72, and the processor 73 can complete the same communication through the internal interface.
  • the service device provided by this embodiment can be used to execute the process of the method for discovering the service information shown in the figure.
  • the specific working principle is not described here. For details, refer to the description of the method embodiment.
  • the service device provided in this embodiment in cooperation with the management device provided in the foregoing embodiment, can establish a communication connection with the STA and provide a service to the STA according to the instruction of the management device, and does not need to periodically broadcast the service information as in the prior art.
  • the channel resource and the energy consumption resource consumed by the periodic broadcast service information are saved, and the STA does not need to repeatedly send a service request to the service device to obtain the required service, which saves the service device.
  • the STA sends the channel resources and energy resources consumed by the service request multiple times.
  • FIG. 8 is a schematic structural diagram of a STA according to an embodiment of the present disclosure. As shown in Figure 8, this is The STA of the embodiment includes: a sending module 81 and a connection establishing module 82.
  • the sending module 81 is configured to send a service request indication message to the management device, where the service request indication message carries the first information, where the first information is used to identify the service requested by the STA in this embodiment.
  • the connection establishing module 82 is connected to the sending module 81, and configured to: after the sending the service request indication message is sent by the sending module 81, receive a service notification message sent by the management device, and determine a target service device according to the indication of the service notification message, Establishing a communication connection with the target service device, where the service notification message is used by the management device to determine that the first information can be provided according to the mapping relationship between the service information and the service device and the first information.
  • the target service device of the identified service is connected to the sending module 81, and configured to: after the sending the service request indication message is sent by the sending module 81, receive a service notification message sent by the management device, and determine a target service device according to the indication of the service notification message, Establishing a communication connection with the target service device, where the service notification message is used by the management device to determine that the first information can be provided according to the mapping relationship between the service information and the service device and the first information.
  • the target service device of the identified service is connected to the sending module 81,
  • connection establishing module 82 is specifically configured to receive a service advertisement message sent by the management device, and listen to the service information indication message broadcast by the target service device according to the indication of the service advertisement message, where the device is monitored. Determining the target service device after the service information indication message, and then establishing a communication connection with the target service device.
  • the service announcement message carries information about the target service device.
  • the receiving discovery module 82 is specifically configured to receive the service advertisement message sent by the management device, determine the target service device according to the information of the target service device in the service notification message, and then target the target device.
  • the service device establishes a communication connection.
  • the service announcement message carries the working mode indication information, where the working mode indication information is used to indicate a manner of establishing a communication connection between the STA and the target service device.
  • the connection establishing module 82 is specifically configured to receive a service advertisement message sent by the management device, determine the target service device according to the indication of the service advertisement message, and then establish a communication connection by using the working mode indication information, and The target service device establishes a communication connection.
  • the function modules of the STA provided in this embodiment can be used to execute the process of the service information discovery method shown in FIG. 3, and the specific working principle is not described here. For details, refer to the description of the method embodiment.
  • the STA provided in this embodiment cooperates with the management device provided in the foregoing embodiment, and when the service is required to be requested, directly sends a service request indication message carrying the first information of the service requested by the identifier to the management device, and then receives the service device.
  • FIG. 9 is a schematic structural diagram of another STA according to an embodiment of the present invention.
  • the STA of this embodiment includes: a communication interface 91, a memory 92, and a processor 93.
  • a communication interface 91 configured to send a service request indication message to the management device, where the service request indication message carries first information, where the first information is used to identify a service requested by the STA, and the service request is sent After the message is received, the service notification message sent by the management device is received; wherein the service advertisement message is generated by the management device according to the mapping relationship between the service information and the service device and the first information, and is used to determine that the service information can be provided.
  • the memory 92 is used to store the program.
  • the program includes a program code
  • the program code includes a computer operation instruction.
  • Memory 92 may include high speed RAM memory and may also include non-volatile memory, such as at least one disk memory.
  • the processor 93 is configured to execute a program stored in the memory 92, configured to: determine a target service device according to an indication of a service announcement message received by the communication interface 91, and then establish a communication connection with the target service device.
  • Processor 93 may be a CPU, or a particular ASIC, or one or more integrated circuits configured to implement embodiments of the present invention.
  • the processor 93 is specifically configured to: according to the indication of the monthly service notification message, control the communication interface 91 to listen to the service information indication message broadcast by the target service device, and listen to the communication interface 91. Determining the target service device after the service information indication message, and then establishing a communication connection with the target service device.
  • the communication interface 91 is further configured to listen to the service information indication message broadcast by the target service device under the control of the processor 93.
  • the service announcement message carries information about the target service device.
  • the processor 93 is specifically configured to determine the target service device according to the information of the target service device in the service advertisement message, and then establish a communication connection with the target service device.
  • the service advertisement message carries the working mode indication information, where the working mode indication information is used to indicate a manner of establishing a communication connection between the STA in the embodiment and the target service device.
  • the processor 93 is specifically configured to determine the target service device according to the indication of the service announcement message received by the communication interface 91, and then indicated by the operation mode indication information. Establishing a communication connection manner, establishing a communication connection with the target service device.
  • the communication interface 91, the memory 92, and the processor 93 can be connected to each other through a bus and complete communication with each other.
  • the bus can be an ISA bus, a PCI bus or an EISA bus.
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 9, but it does not mean that there is only one bus or one type of bus.
  • the communication interface 91, the memory 92, and the processor 93 are integrated on one chip, the communication interface 91, the memory 92, and the processor 93 can complete the same communication through the internal interface.
  • the STA provided in this embodiment can be used to perform the process of the service information discovery method shown in FIG. 3, and the specific working principle is not described here. For details, refer to the description of the method embodiment.
  • the STA provided in this embodiment cooperates with the management device provided in the foregoing embodiment, and when the service is required to be requested, directly sends a service request indication message carrying the first information of the service requested by the identifier to the management device, and then receives the service device.
  • the service announcement message sent, according to the service advertisement message finds the target service device that can provide the required service, and then establishes a communication connection with the target service device, without multiple attempts to send a service request to the service device to obtain the required as in the prior art.
  • the service saves channel resources and energy consumption resources consumed by the STA to send service requests multiple times.
  • the aforementioned program can be stored in a computer readable storage medium.
  • the program when executed, performs the steps including the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Landscapes

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

Abstract

本发明实施例提供一种服务信息发现方法及设备。一种方法包括:管理设备接收站点STA发送的服务请求指示消息,服务请求指示消息携带有第一信息,第一信息用于标识STA请求获取的服务;管理设备根据服务信息与服务设备之间的映射关系和第一信息,确定能够提供第一信息所标识的服务的目标服务设备;管理设备指示STA和目标服务设备之间建立通信连接。本发明技术方案由管理设备在STA请求服务时,确定能够提供服务的目标服务设备,并控制目标服务设备与STA之间的连接建立,目标服务设备不需要广播服务信息,而STA也不需要多次尝试发现目标服务设备,解决服务发现导致信道资源、能耗资源等利用率低的问题。

Description

说 明 书
服务信息发现方法及设备 技术领域 本发明实施例涉及通信技术, 尤其涉及一种服务信息发现方法及设备。 背景技术
站点 (Station, 筒称为 STA )在选择加入一个无线局域网之前, 通常需 要获知该无线局域网络中是否有服务设备可以提供其所需的服务, 筒称为服 务发现。 现有技术中, STA在发现某种服务时, 一种方式是主动向服务设备 发送查询请求消息, 然后通过服务设备返回的查询响应消息了解服务设备是 否有自己需要的服务; 另一种方式是监听服务设备广播的服务信息, 从而了 解服务设备是否有自己需要的服务。 STA在发现服务设备可以提供自己所需 的服务时, 就发送连接请求给该服务设备, 从而建立通信连接。
在实际应用中, STA通常需要不断的查询周边设备是否有自己需要的服 务, 又或者服务设备需要持续不断的广播自己所能提供的服务, 以便找到对 自己的服务感兴趣的设备。 由此可见, 在无线局域网络中就会存在大量查询 请求消息或广播的服务信息, 这将导致信道资源、 能耗资源等利用率不高。 发明内容 本发明实施例提供一种服务信息发现方法及设备, 用以解决服务发现导 致信道资源、 能耗资源等利用率低的问题。
第一方面提供一种服务信息发现方法, 包括:
管理设备接收站点 STA发送的服务请求指示消息, 所述服务请求指示消 息携带有第一信息, 所述第一信息用于标识所述 STA请求获取的服务; 所述管理设备根据服务信息与服务设备之间的映射关系和所述第一信 息, 确定能够提供所述第一信息所标识的服务的目标服务设备;
所述管理设备指示所述 STA和所述目标服务设备之间建立通信连接。 第二方面提供一种服务信息发现方法, 包括: 服务设备接收管理设备发送的连接建立指示消息, 所述连接建立指示消 息用于指示所述服务设备与站点 STA建立通信连接, 所述连接建立指示消息 由所述管理设备根据服务信息与服务设备之间的映射关系和所述 STA发送的 服务请求指示消息中的第一信息生成, 用于确定能够提供所述第一信息所标 识的服务的所述服务设备,所述第一信息用于标识所述 STA请求获取的服务; 所述服务设备根据所述连接建立指示消息, 与所述 STA建立通信连接。 第三方面提供一种服务信息发现方法, 包括:
站点 STA向管理设备发送服务请求指示消息, 所述服务请求指示消息携 带有第一信息, 所述第一信息用于标识所述 STA请求获取的服务;
所述 STA接收所述管理设备发送的服务通告消息,根据所述服务通告消 息的指示确定目标服务设备, 并与所述目标服务设备建立通信连接, 其中所 述服务通告消息由所述管理设备根据服务信息与服务设备之间的映射关系和 所述第一信息生成, 用于确定能够提供所述第一信息所标识的服务的所述目 标服务设备。
第四方面提供一种管理设备, 包括:
接收模块, 用于接收站点 STA发送的服务请求指示消息, 所述服务请求 指示消息携带有第一信息,所述第一信息用于标识所述 STA请求获取的服务; 确定模块, 用于根据服务信息与服务设备之间的映射关系和所述第一信 息, 确定能够提供所述第一信息所标识的服务的目标服务设备;
连接建立指示模块, 用于指示所述 STA和所述目标服务设备之间建立通 信连接。
第五方面提供一种服务设备, 包括:
接收模块, 用于接收管理设备发送的连接建立指示消息, 所述连接建立 指示消息用于指示所述服务设备与站点 STA建立通信连接, 所述连接建立指 示消息由所述管理设备根据服务信息与服务设备之间的映射关系和所述 STA 发送的服务请求指示消息中的第一信息生成, 用于确定能够提供所述第一信 息所标识的服务的所述服务设备, 所述第一信息用于标识所述 STA请求获取 的服务;
连接建立模块, 用于根据所述连接建立指示消息, 与所述 STA建立通信 连接。 第六方面提供一种站点 STA, 包括:
发送模块, 用于向管理设备发送服务请求指示消息, 所述服务请求指示 消息携带有第一信息, 所述第一信息用于标识所述 STA请求获取的服务; 连接建立模块, 用于接收所述管理设备发送的服务通告消息, 根据所述 服务通告消息的指示确定目标服务设备, 并与所述目标服务设备建立通信连 接, 其中所述服务通告消息由所述管理设备根据服务信息与服务设备之间的 映射关系和所述第一信息生成, 用于确定能够提供所述第一信息所标识的服 务的所述目标服务设备。
本发明实施例提供的服务信息发现方法及设备, 管理设备接收 STA发送 的携带有标识 STA请求获取的服务的信息的服务请求指示消息, 管理设备根 据服务信息与服务设备之间的映射关系和服务请求指示消息中的信息, 确定 能够提供服务请求指示消息中的信息所标识的服务的目标服务设备, 然后指 示 STA和目标服务设备之间建立通信连接, 使得目标服务设备向 STA提供 服务, 在该过程中, 目标服务设备根据管理设备的指示获知需要为 STA提供 服务, 不需要周期性的广播服务信息, 节约了目标服务设备广播服务信息所 消耗的信道资源和能耗资源等, 而 STA也不需要多次尝试向服务设备发送服 务请求以获取所需的服务, 节约了 STA多次发送服务请求所消耗的信道资源 和能耗资源。 附图说明 为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作一筒单地介绍, 显而易见地, 下 面描述中的附图是本发明的一些实施例, 对于本领域普通技术人员来讲, 在 不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。
图 1为本发明实施例提供的一种服务信息发现方法的流程图;
图 2为本发明实施例提供的另一种服务信息发现方法的流程图; 图 3为本发明实施例提供的又一种服务信息发现方法的流程图; 图 4为本发明实施例提供的一种管理设备的结构示意图;
图 5为本发明实施例提供的另一种管理设备的结构示意图;
图 6为本发明实施例提供的一种服务设备的结构示意图; 图 7为本发明实施例提供的另一种服务设备的结构示意图; 图 8为本发明实施例提供的一种 STA的结构示意图;
图 9为本发明实施例提供的另一种 STA的结构示意图。 具体实施方式
为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本发 明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于 本发明中的实施例, 本领域普通技术人员在没有作出创造性劳动前提下所获 得的所有其他实施例, 都属于本发明保护的范围。
图 1为本发明实施例提供的一种服务信息发现方法的流程图。 如图 1所 示, 本实施例的方法包括:
步骤 101、 管理设备接收 STA发送的服务请求指示消息, 所述服务请求 指示消息携带有第一信息, 所述第一信息用于标识 STA请求获取的服务。
步骤 102、 管理设备根据服务信息与服务设备之间的映射关系和第一信 息, 确定能够提供第一信息所标识的服务的目标服务设备。
步骤 103、 管理设备指示 STA与目标服务设备之间建立通信连接。
在本实施例中, 将无线网络中可以提供服务的设备称为服务设备, 例如 服务设备可以是接入点 (Access Point, 筒称为 AP )或者 STA, 其中, 能提 供服务的 STA可以是打印机, 传真机, 投影仪等。 无线网络中负责对各服务 设备进行管理的设备被称为管理设备, 管理设备可以是 AP, 也可以是 STA。
在本实施例中, 管理设备预先获知无线网络中各服务设备所能提供的服 务的信息, 形成服务信息与服务设备之间的映射关系, 并将服务信息与服务 设备之间的映射关系存储在本地。 基于此, STA请求获取服务时, 直接向管 理设备发送服务请求指示消息, 并在服务请求指示消息中携带标识 STA请求 获取的服务的第一信息, 这样管理设备就可以获知 STA请求获取的具体是哪 种或哪些服务。
管理设备接收 STA发送服务请求指示消息,从服务请求指示消息中获取 标识 STA请求获取的服务的第一信息, 进而根据第一信息获知 STA请求获 取的服务。 这里的第一信息可以是任何可以唯一标识一个服务的信息, 例如 可以是服务的名称、 该服务对应的通信协议代码、 或者服务的标识(ID )等。 在获取第一信息之后, 管理设备根据服务信息与服务设备之间的映射关 系和第一信息,确定无线网络中能够提供第一信息所标识的服务的服务设备, 这里将能够提供第一信息所标识的服务的服务设备称为目标服务设备。 在此 说明, 第一信息可以包括管理设备所存储的服务信息与服务设备之间的映射 关系中的服务信息的全部或部分。
在确定目标服务设备之后, 管理设备指示 STA与目标服务设备之间建立 通信连接, 这样目标服务设备就可以为 STA提供服务。
可选的, 管理设备指示 STA与目标服务设备之间建立通信连接的一种实 施方式包括: 管理设备向目标服务设备发送第一连接建立指示消息, 以指示 目标服务设备广播服务信息指示消息, 以使 STA在根据该服务信息指示消息 确定目标服务设备后与目标服务设备建立通信连接。 具体的, 管理设备向目 标服务设备发送第一连接建立指示消息, 在该实施方式中, 第一连接建立指 示消息用于指示目标服务设备广播服务信息指示消息,从而使 STA确定目标 服务设备。 目标服务设备接收到第一连接建立指示消息后, 广播服务信息指 示消息, 其中, 服务信息指示消息携带有目标服务设备的信息。 STA监听目 标服务设备广播的服务信息指示消息, 在监听到目标服务设备广播的服务信 息指示消息后, 可以从该服务信息指示消息中获取目标服务设备的信息, 进 而确定目标服务设备。 之后, STA可以向目标服务设备发起连接建立请求, 然后接收目标服务设备根据该连接建立请求返回的连接建立响应, 以与目标 服务设备建立通信连接。
可选的, 管理设备指示 STA与目标服务设备之间建立通信连接的另一种 实施方式包括: 管理设备向 STA发送第一服务通告消息, 以指示 STA由第 一服务通告消息中获取目标服务设备的信息后与目标服务设备建立通信连 接, 所述第一服务通告消息携带有目标服务设备的信息。 在该实施方式中, 管理设备在确定出能够为 STA提供服务的目标服务设备之后, 向 STA发送 第一服务通告消息, 并将目标服务设备的信息携带在第一服务通告消息中, 使得 STA获知目标服务设备的信息, 进而根据目标服务设备的信息确定目标 服务设备。 之后, STA可以向目标服务设备发起连接建立请求, 然后接收目 标服务设备根据该连接建立请求返回的连接建立响应, 以与目标服务设备建 立通信连接。
进一步, 在该实施方式中, 目标服务设备可以不广播服务信息指示消息, 而是等待 STA发起连接建立的过程或发起认证关联的过程。 可选的, 如果目 标服务设备处于休眠状态, 则目标服务设备可以根据管理设备的指示, 从休 眠状态转入唤醒状态, 以便与 STA建立通信连接并向 STA提供服务。
可选的, 管理设备指示 STA与目标服务设备之间建立通信连接的又一种 实施方式包括: 管理设备向目标服务设备发送第二连接建立指示消息, 以指 示目标服务设备广播服务信息指示消息, 以使 STA根据服务信息指示消息确 定目标服务设备, 并向 STA发送第二服务通告消息, 以指示 STA监听目标 服务设备广播的服务信息指示消息, 并在根据服务信息指示消息确定目标服 务设备后, 与目标服务设备建立通信连接。 在该实施方式中, 管理设备在确 定出能够为 STA提供服务的目标服务设备之后, , 分别向目标服务设备发送 第二连接建立指示消息, 并向 STA发送第二服务通告消息, 使得 STA能够 及时确定目标服务设备。之后, STA可以向目标服务设备发起连接建立请求, 然后接收目标服务设备根据该连接建立请求返回的连接建立响应, 以与目标 服务设备建立通信连接。
可选的, 管理设备指示 STA与目标服务设备之间建立通信连接的又一种 实施方式包括: 管理设备向目标服务设备发送第三连接建立指示消息, 所述 第三连接建立指示消息携带有 STA的信息,以使目标服务设备根据所述 STA 的信息, 与所述 STA建立通信连接。 在该实施方式中, 管理设备通过第三连 接建立指示消息, 将 STA的信息提供给目标服务设备, 这样目标服务设备可 以获知需要向哪个 STA提供服务, 根据该 STA的信息, 目标服务设备可以 采用各种方式与该 STA建立通信连接。 例如, 目标服务设备根据该 STA的 信息在获知需要向哪个 STA提供服务的同时, 也就获知自身需要提供服务, 则目标服务设备可以通过广播服务信息指示消息的方式, 使该 STA确定目标 月^务设备, 进而由该 STA主动向目标服务设备发起连接建立。 或者, 目标服 务设备也可以根据 STA的信息, 直接向 STA发起连接建立。
在上述各实施方式中,第一连接建立指示消息携带有工作模式指示信息, 所述工作模式指示信息用于指示 STA与目标服务设备之间建立通信连接的方 式。 或者, 第一服务通告消息携带有工作模式指示信息。 或者, 所述第二连 接建立指示消息和第二服务通告消息均携带有工作模式指示信息。 或者, 所 述第三连接建立指示消息携带有工作模式指示信息。 定 STA与目标服务设备之间建立通信连接的方式, 这样 STA与目标服务设 备需要采用管理设备指定的建立通信连接的方式进行连接建立。
在上述过程中, 由于管理设备可以根据 STA发送的服务请求指示消息中 的第一信息, 以及服务信息与服务设备之间的映射关系, 确定出能够为 STA 提供服务的目标服务设备, 并指示目标服务设备与 STA之间建立通信连接, 目标服务设备以及无线网络中的其他服务设备都不需要周期性的广播自己所 能提供的服务的信息, 以使需要服务的设备发现自己, 节约了周期性广播服 务信息浪费的信道资源和能耗资源等; 进一步, 无线网络中的服务设备不需 要周期性的广播服务信息, 可以减少无线网络中存在的信息数量, 有利于减 少信息拥塞; 另外, STA直接向管理设备发送服务请求指示消息, 从而获得 自己所需的服务, 也不需要多次尝试发送服务请求, 节约了多次发送服务请 求所消耗的信道资源和能耗资源。
其中, 本实施例对管理设备接收 STA发送的服务请求指示消息的方式不 做限定。 例如, STA可以在 STA与管理设备进行认证关联之前或者在认证关 联过程中或者在认证关联之后, 向管理设备发送服务请求指示消息。 下面举 例说明。
管理设备接收 STA发送的服务请求指示消息的一种方式包括: 管理设备 接收 STA发送的第一关联请求消息, 所述第一关联请求消息包括上述第一信 息; 之后, 管理设备向 STA返回第一关联响应消息。 在该实施方式中, 第一 关联请求消息即为所述服务请求指示消息。 在该实施方式中, STA在通过管 理设备的认证后, 发起关联管理设备的过程, 并在与管理设备的关联过程中 向管理设备发送服务请求指示消息。 其中, 第一关联响应消息可以是关联成 功的响应消息, 也可以是关联失败的响应消息。 例如, 如果管理设备根据第 一信息,发现管理设备所在无线网络没有任何服务设备能够提供 STA所需的 服务, 说明该 STA不需要关联管理设备, 于是返回关联失败的响应消息。
管理设备接收 STA发送的服务请求指示消息的另一种方式包括: 管理设 备接收 STA发送的第一服务请求消息, 该第一服务请求消息包括上述第一信 息; 管理设备向 STA返回第一服务响应消息, 该第一服务响应消息包括管理 设备所存储的各个服务信息; 管理设备接收 STA发送的第二关联请求消息; 管理设备向 STA返回第二关联响应消息。 在该实施方式中, 第一服务请求消 息即为上述服务请求指示消息。 在该实施方式中, STA首先向管理设备发送 第一服务请求消息, 并在第一服务请求消息中携带标识 STA请求获取的服务 的第一信息, 以告知管理设备 STA请求获取的服务; 管理设备接收到第一服 务请求之后, 向 STA返回第一服务响应消息, 以告知 STA管理设备所在无 线网络中有服务设备能够提供 STA所需的服务。之后, STA与管理设备进行 认证关联。 即 STA在与管理设备进行认证关联之前, 向通过向管理设备发送 服务请求, 以预先获知管理设备所在无线网络中是否有服务设备能够提供其 所需的服务, 只有在确定管理设备所在无线网络中有服务设备能够提供其所 需的服务(即接收到第一服务响应消息)之后, 才与管理设备进行认证关联。
管理设备接收 STA发送的服务请求指示消息的又一种方式包括: 管理设 备接收 STA发送的第二服务请求消息; 管理设备向 STA返回第二服务响应 消息, 所述第二服务响应消息携带有管理设备上存储的服务信息, 以使 STA 获知管理设备所在无线网络中的服务设备所能提供的服务; 当 STA确定管理 设备所在无线网络中有自己需要的服务时, 向管理设备发送第三关联请求消 息, 所述第三关联请求消息携带有上述第一信息; 管理设备接收 STA发送的 第三关联请求消息, 并向 STA返回第三关联响应消息。 在该实施方式中, 第 三关联请求消息即为上述服务请求指示消息。 在该实施方式中, STA在与管 理设备进行认证关联之前, 首先通过发送第二服务请求消息的方式, 获取管 理设备上存储的各个服务信息, 并基于获取的服务信息判断管理设备所在无 线网络能否提供自己所需的服务, 如果管理设备所在无线网络能够提供 STA 所需的服务, 则 STA向管理设备发起认证关联过程, 并在认证关联过程中将 STA请求获取的服务的信息提供给管理设备, 以使管理设备根据该信息确定 提供该信息所标识的服务的目标服务设备。
管理设备接收 STA发送的服务请求指示消息的又一种方式包括: 管理设 备广播服务信息指示消息, 所述服务信息指示消息携带有管理设备上存储的 服务信息; 这里的服务信息指示消息与上述目标服务设备广播的服务信息指 示消息不同, 例如携带的内容不同, 这里的服务信息指示消息携带的是管理 设备上所存储的全部或部分服务设备所能提供的服务的信息; 而目标服务设 备广播的服务信息指示消息携带的是目标服务设备自身所能提供的服务的信 息。管理设备接收 STA根据所述服务信息指示消息发送的第四关联请求消息, 所述第四关联请求消息包括上述第一信息; 管理设备向 STA返回第四关联响 应消息。 在该实施方式中, 管理设备周期性的广播良务信息指示消息, 通过 服务信息指示消息将管理设备所在无线网络所能提供的服务的信息通告出 去, 这样 STA接收到服务信息指示消息后, 可以获知管理设备所在无线网络 所能提供的服务, 进而判断管理设备所在无线网络是否能够提供 STA所需的 服务, 在判断出管理设备所在无线网络能够提供 STA所需的服务之后, 向管 理设备发起认证关联过程, 并在认证关联过程中将 STA请求获取的服务的信 息提供给管理设备, 以使管理设备根据该信息确定提供该信息所标识的服务 的目标服务设备。
在一可选实施方式中, 管理设备接收到的服务请求指示消息还携带有工 作模式指示信息, 该工作模式指示信息用于指示 STA与能为其提供服务的服 通信连接的方式。 例如, 该工作模式指示信息可以指示 STA与能够为其提供 服务的服务设备直接建立通信连接。或者,该工作模式指示信息可以指示 STA 与能够为其提供服务的服务设备通过管理设备建立通信连接。
在一可选实施方式中,向管理设备发送服务请求指示消息的 STA为多个。 基于此, 步骤 101具体为: 管理设备接收多个 STA中每个 STA发送的服务 请求指示消息。 相应的, 步骤 102具体为: 管理设备根据每个服务请求指示 消息中的第一信息和服务信息与服务设备之间的映射关系, 确定能够提供所 有第一信息所标识的服务中至少一个服务的目标服务设备。 这里确定出的目 标服务设备至少为一个, 且至少一个目标服务设备中的每个目标服务设备至 少能够提供所有第一信息所标识的服务中的至少一个服务。相应的,步骤 103 具体为: 管理设备指示每个 STA和每个 STA各自对应的目标服务设备之间 建立通信连接。
在此说明, 在上述过程中, 如果至少两个 STA对应同一目标服务设备, 则管理设备可以在一个过程中同时指示所述至少两个 STA与该同一目标服务 设备之间建立通信连接。 例如, 管理设备可以在发送给目标服务设备的第三 连接建立指示消息中, 同时携带至少两个 STA中每个 STA的信息, 以使目 标服务设备根据每个 STA的信息与每个 STA建立通信连接。 又例如, 对于 管理设备向 STA发送第一服务通告消息的方式, 管理设备可以以广播的方式 发送第一服务通告消息, 使得所述至少两个 STA中的每个 STA均可以通过 第一服务通告消息获知目标服务设备的信息。 其中, 管理设备指示一个或至 少两个 STA与对应的目标服务设备建立通信连接的过程可参见上面的描述, 在此不再赘述。
由上述可见, 在本实施例中, 目标服务设备根据管理设备的指示获知需 要为 STA提供服务, 不需要周期性的广播服务信息, 节约了目标服务设备广 播服务信息所消耗的信道资源和能耗资源等, 而 STA也不需要多次尝试向服 务设备发送服务请求以获取所需的服务, 节约了 STA多次发送服务请求所消 耗的信道资源和能耗资源。
图 2为本发明实施例提供的另一种服务信息发现方法的流程图。 如图 2 所示, 本实施例的方法包括:
步骤 201、 服务设备接收管理设备发送的连接建立指示消息, 所述连接 建立指示消息用于指示服务设备与 STA建立通信连接, 所述连接建立指示消 息由管理设备根据服务信息与服务设备之间的映射关系和 STA发送的服务请 求指示消息中的第一信息生成, 用于确定能够提供第一信息所标识的服务的 所述服务设备, 所述第一信息用于标识 STA请求获取的服务。
步骤 202、服务设备根据上述连接建立指示消息, 与 STA建立通信连接。 本实施是从服务设备的角度进行的描述, 其中关于管理设备执行的操作 可参见图 1所示实施例的描述。 本实施例的服务设备相当于图 1所示实施例 中的目标服务设备。
服务设备在接收到连接建立指示消息后,根据连接建立指示消息的指示, 与 STA建立通信连接。
可选的, 服务设备在接收到连接建立指示消息后, 可以广播服务信息指 示消息, 以使 STA根据服务信息指示消息确定该服务设备, 并与该服务设备 建立通信连接。 其中, 服务信息指示消息携带有服务设备的信息。 这样 STA 就可以获知服务设备的信息, 然后向服务设备发送连接建立请求; 服务设备 接收 STA的连接建立请求, 并向 STA返回连接建立响应, 从而与 STA建立 通信连接。
或者, 服务设备在接收到连接建立指示消息后, 可以从休眠状态转入唤 醒状态, 并等待 STA发送的连接建立请求, 服务设备接收到 STA发送的连 接建立请求之后, 向 STA返回连接建立响应, 从而与 STA建立通信连接。 在该实施方式中, STA可以从管理设备发送的服务通告消息中获得服务设备 的信息。
或者,管理设备发送的连接建立指示消息携带有请求服务的 STA的信息。 基于此,服务设备根据连接建立指示消息,与 STA建立通信连接的过程包括: 服务设备从所述连接建立指示消息中获取 STA的信息, 根据 STA的信息, 与 STA建立通信连接。 例如, 服务设备从连接建立指示消息中获取到 STA 的信息后, 可以获知需要向哪个 STA提供服务, 同时也可以获知自身需要提 供服务, 故可以广播服务信息指示消息, 使得 STA根据服务信息指示消息确 定该服务设备, 进而主动发起与该服务设备的连接建立。 或者, 服务设备从 连接建立指示消息中获取到 STA的信息后, 可以直接根据该 STA的信息发 起与该 STA的连接建立。
在一可选实施方式中, 连接建立指示消息携带有工作模式指示信息, 所 述工作模式指示信息用于指示 STA与服务设备之间建立通信连接的方式。基 于此, 服务设备根据所述连接建立指示消息, 与 STA建立通信连接包括: 服 务设备根据连接建立指示消息, 以所述工作模式指示信息所指示的建立通信 连接的方式,与 STA建立通信连接。例如,该工作模式指示信息可以指示 STA 与能够为其提供服务的服务设备直接建立通信连接。 或者, 该工作模式指示 信息可以指示 STA与能够为其提供服务的服务设备通过管理设备建立通信连 接。
在一可选实施方式中, 管理设备确定出本实施例的服务设备可以为多个 STA同时提供服务。 基于此, 步骤 202具体为: 服务设备根据所述连接建立 指示消息, 分别与多个 STA中的每个 STA建立通信连接。 例如, 管理设备 发送给服务设备的连接建立指示消息可以同时携带有多个 STA 中每个 STA 的信息, 这样服务设备可以根据每个 STA的信息, 分别与每个 STA建立通 信连接。 又例如, 服务设备可以根据连接建立指示消息, 广播服务信息指示 消息, 从而使每个 STA获知该服务设备的信息, 然后分别发起到该服务设备 的连接建立, 使得该服务设备与每个 STA连接连接。
其中, 关于服务设备根据连接建立指示消息, 以所述工作模式指示信息 所指示的建立通信连接的方式, 与 STA建立通信连接的各种实施方式可参见 图 1所示实施例中的描述, 在此不再赘述。
在本实施例中, 服务设备根据管理设备的指示, 与 STA建立通信连接并 向 STA提供服务, 不需要像现有技术那样周期性的广播服务信息, 节约了周 期性的广播服务信息所消耗的信道资源和能耗资源, 而 STA也不需要多次尝 试向服务设备发送服务请求以获取所需的服务, 节约了 STA多次发送服务请 求所消耗的信道资源和能耗资源。
图 3为本发明实施例提供的又一种服务信息发现方法的流程图。 如图 3 所示, 本实施例的方法包括:
步骤 301、 STA向管理设备发送服务请求指示消息, 所述服务请求指示 消息携带有第一信息, 所述第一信息用于标识 STA请求获取的服务。
步骤 302、 STA接收管理设备发送的服务通告消息, 根据所述服务通告 消息的指示确定目标服务设备, 并与目标服务设备建立通信连接; 其中所述 服务通告消息由管理设备根据服务信息与服务设备之间的映射关系和第一信 息生成, 用于确定能够提供第一信息所标识的服务的目标服务设备。
在一可选实施方式中, STA根据服务通告消息的指示确定目标服务设备, 并与目标服务设备建立通信连接, 包括: STA根据服务通告消息的指示, 监 听目标服务设备广播的服务信息指示消息, 在监听到服务信息指示消息后确 定目标服务设备, 然后与目标服务设备建立通信连接。
在一可选实施方式中, 所述服务通告消息携带有目标服务设备的信息。 基于此, STA根据服务通告消息的指示确定目标服务设备, 并与目标服务设 备建立通信连接, 包括: STA根据服务通告消息中目标服务设备的信息, 确 定目标服务设备, 然后与目标服务设备建立通信连接。
在上述各实施方式中, STA在发现目标服务设备之后, 就会获得目标服 务设备的信息,之后, STA可以采用各种方式与目标服务设备建立通信连接。
进一步, 上述服务通告消息携带有工作模式指示信息, 所述工作模式指 示信息, 用于指示 STA与目标服务设备之间建立通信连接的方式。 基于此, STA接收管理设备发送的服务通告消息, 根据所述服务通告消息的指示确定 目标服务设备, 并与目标服务设备建立通信连接, 包括: STA接收管理设备 发送的服务通告消息, 根据所述服务通告消息的指示确定目标服务设备, 然 后以所述工作模式指示信息所指示的建立通信连接的方式, 与目标服务设备 建立通信连接。 例如, 该工作模式指示信息可以指示 STA与能够为其提供服 务的服务设备直接建立通信连接。 或者, 该工作模式指示信息可以指示 STA 与能够为其提供服务的服务设备通过管理设备建立通信连接。
本实施例提供的方法是从 STA的角度进行的描述,详细过程可参见前述 实施例的描述, 在此不再赘述。
在本实施例中, STA需要请求服务时, 直接向管理设备发送携带有标识 所请求的服务的第一信息的服务请求指示消息, 然后接收服务设备发送的服 务通告消息, 根据服务通告消息确定能提供所需服务的目标服务设备, 然后 与目标服务设备建立通信连接, 不需要像现有技术那样多次尝试向服务设备 发送服务请求以获取所需的服务, 节约了 STA多次发送服务请求所消耗的信 道资源和能耗资源。
图 4为本发明实施例提供的一种管理设备的结构示意图。 如图 4所示, 本实施例的管理设备包括: 接收模块 41、 确定模块 42和连接建立指示模块 43。
接收模块 41 ,用于接收 STA发送的服务请求指示消息,所述服务请求指 示消息携带有第一信息, 所述第一信息用于标识所述 STA请求获取的服务。
确定模块 42, 与接收模块 41连接, 用于根据服务信息与服务设备之间 的映射关系和接收模块 41接收的第一信息,确定能够提供所述第一信息所标 识的服务的目标服务设备。
连接建立指示模块 43 , 与确定模块 42连接, 用于指示所述 STA和确定 模块 42确定出的目标服务设备之间建立通信连接。
在一可选实施方式中,连接建立指示模块 43具体可用于向所述目标服务 设备发送第一连接建立指示消息, 以指示所述目标服务设备广播服务信息指 示消息, 以使所述 STA在根据所述服务信息指示消息确定所述目标服务设备 后与所述目标服务设备建立通信连接。 进一步可选的, 所述第一连接建立指 示消息携带有工作模式指示信息, 所述工作模式指示信息用于指示所述 STA 与所述目标服务设备之间建立通信连接的方式。 或者, 连接建立指示模块 43具体可用于向所述 STA发送第一服务通告 消息, 以指示所述 STA由所述第一服务通告消息中获取所述目标服务设备的 信息后与所述目标服务设备建立通信连接, 所述第一服务通告消息携带有所 述目标服务设备的信息。 进一步可选的, 所述第一服务通告消息携带有所述 工作模式指示信息。
或者,连接建立指示模块 43具体可用于向所述目标服务设备发送第二连 接建立指示消息, 以指示所述目标服务设备广播服务信息指示消息, 以使所 述 STA根据所述服务信息指示消息确定所述目标服务设备, 并向所述 STA 发送第二服务通告消息, 以指示所述 STA监听所述目标服务设备广播的所述 服务信息指示消息, 并在根据所述服务信息指示消息确定所述目标服务设备 后, 与所述目标服务设备建立通信连接。 进一步可选的, 所述第二连接建立 指示消息和所述第二服务通告消息均携带有所述工作模式指示信息。
或者,连接建立指示模块 43具体可用于向所述目标服务设备发送第三连 接建立指示消息, 所述第三连接建立指示消息携带有所述 STA的信息, 以使 所述目标服务设备根据所述 STA的信息, 与所述 STA建立通信连接。 进一 步可选的, 所述第三连接建立指示消息携带有所述工作模式指示信息。
在一可选实施方式中, 管理设备接收的服务请求指示消息还携带有工作 模式指示信息, 所述工作模式指示信息用于指示所述 STA与所述目标服务设 备之间建立通信连接的方式。基于此, 确定模块 42具体可用于根据所述第一 信息、 所述工作模式指示信息和服务信息与服务设备之间的映射关系, 确定 能够提供所述第一信息所标识的服务且支持所述工作模式指示信息所指示的 建立通信连接的方式的服务设备作为所述目标服务设备。
在一可选实施方式中, 向本实施例管理设备发送服务请求指示消息的 STA为多个。 基于此, 接收模块 41具体可用于接收多个 STA中每个 STA发 送的服务请求指示消息。 相应的, 确定模块 42具体可用于根据每个服务请求 指示消息中的第一信息和服务信息与服务设备之间的映射关系, 确定能够提 供所有第一信息所标识的服务中至少一个服务的目标服务设备。 基于此, 连 接建立指示模块 43具体可用于指示每个 STA和每个 STA对应的目标服务设 备之间建立通信连接。
本实施例提供的管理设备的各功能模块可用于执行上述图 1所示服务信 息发现方法实施例的流程, 其具体工作原理不再赘述, 详见方法实施例的描 述。
本实施例提供的管理设备, 接收 STA发送的携带有标识 STA请求获取 的服务的信息的服务请求指示消息, 根据服务请求指示消息中的信息和服务 信息与服务设备之间的映射关系, 确定能够提供服务请求指示消息中的信息 所标识的服务的目标服务设备, 然后指示 STA和目标服务设备之间建立通信 连接, 使得目标服务设备向 STA提供服务。 基于本实施例提供的管理设备, 目标服务设备根据管理设备的指示获知需要为 STA提供服务, 不需要周期性 的广播服务信息, 节约了目标服务设备广播服务信息所消耗的信道资源和能 耗资源等, 而 STA也不需要多次尝试向服务设备发送服务请求以获取所需的 服务, 节约了 STA多次发送服务请求所消耗的信道资源和能耗资源。
图 5为本发明实施例提供的另一种管理设备的结构示意图。如图 5所示, 本实施例的管理设备包括: 通信接口 51、 存储器 52和处理器 53。
通信接口 51 ,用于接收 STA发送的服务请求指示消息,所述服务请求指 示消息携带有第一信息, 所述第一信息用于标识所述 STA请求获取的服务。
存储器 52, 用于存放程序。 具体的, 所述程序可以包括程序代码, 所述 程序代码包括计算机操作指令。 存储器 52可能包含高速 RAM存储器, 也可 能还包括非易失性存储器(non-volatile memory ) ,例如至少一个磁盘存储器。
处理器 53, 用于执行存储器 52存放的程序, 以用于: 根据服务信息与 服务设备之间的映射关系和通信接口 51接收的第一信息,确定能够提供所述 第一信息所标识的服务的目标服务设备, 然后指示所述 STA和所述目标服务 设备之间建立通信连接。
在实现上, 处理器 53可以是一个中央处理器(Central Processing Unit, 筒称为 CPU ) , 或者是特定集成电路(Application Specific Integrated Circuit, 筒称为 ASIC ) , 或者是被配置成实施本发明实施例的一个或多个集成电路。
在一可选实施方式中,处理器 53具体可用于根据服务信息与服务设备之 间的映射关系和通信接口 51接收的第一信息,确定能够提供所述第一信息所 标识的服务的目标服务设备,然后控制通信接口 51向目标服务设备发送第一 连接建立指示消息, 以指示所述目标服务设备广播服务信息指示消息, 以使 所述 STA在根据所述服务信息指示消息确定所述目标服务设备后与所述目标 服务设备建立通信连接。基于此, 通信接口 51还用于根据处理器 53的控制, 向目标服务设备发送第一连接建立指示消息。 进一步可选的, 通信接口 51发 送的第一连接建立指示消息携带有工作模式指示信息, 所述工作模式指示信 息用于指示所述 STA与所述目标服务设备之间建立通信连接的方式。
或者,处理器 53具体可用于根据服务信息与服务设备之间的映射关系和 通信接口 51接收的第一信息,确定能够提供所述第一信息所标识的服务的目 标服务设备, 然后控制通信接口 51向所述 STA发送第一服务通告消息, 以 指示所述 STA由所述第一服务通告消息中获取所述目标服务设备的信息后与 所述目标服务设备建立通信连接, 所述第一服务通告消息携带有所述目标服 务设备的信息。 基于此, 通信接口 51还用于在处理器 53的控制下, 向所述 STA发送第一服务通告消息。进一步可选的,通信接口 51发送的第一服务通 告消息携带有所述工作模式指示信息。
或者,处理器 53具体可用于根据服务信息与服务设备之间的映射关系和 通信接口 51接收的第一信息,确定能够提供所述第一信息所标识的服务的目 标服务设备,然后控制通信接口 51向所述目标服务设备发送第二连接建立指 示消息, 以指示所述目标服务设备广播服务信息指示消息, 以使所述 STA根 据所述服务信息指示消息确定所述目标服务设备,并控制通信接口 51向所述 STA发送第二服务通告消息,以指示所述 STA监听所述目标服务设备广播的 所述服务信息指示消息, 并在根据所述服务信息指示消息确定所述目标服务 设备后, 与所述目标服务设备建立通信连接。 基于此, 通信接口 51还用于在 处理器 53的控制下, 向所述目标服务设备发送第二连接建立指示消息, 并向 所述 STA发送第二服务通告消息。 进一步可选的, 通信接口 51发送的第二 连接建立指示消息和所述第二服务通告消息均携带有所述工作模式指示信 息。
或者,处理器 53具体可用于根据服务信息与服务设备之间的映射关系和 通信接口 51接收的第一信息,确定能够提供所述第一信息所标识的服务的目 标服务设备,然后控制通信接口 51向所述目标服务设备发送第三连接建立指 示消息, 所述第三连接建立指示消息携带有所述 STA的信息, 以使所述目标 服务设备根据所述 STA的信息, 与所述 STA建立通信连接。 相应的, 通信 接口 51还用于在处理器 53的控制下, 向所述目标服务设备发送第三连接建 立指示消息。 进一步可选的, 通信接口 51发送的第三连接建立指示消息携带 有所述工作模式指示信息。
在一可选实施方式中,通信接口 51接收到的服务请求指示消息还携带有 工作模式指示信息, 所述工作模式指示信息用于指示所述 STA与所述目标服 务设备之间建立通信连接的方式。基于此, 处理器 52具体可用于根据所述第 一信息、 所述工作模式指示信息和服务信息与服务设备之间的映射关系, 确 定能够提供所述第一信息所标识的服务且支持所述工作模式指示信息所指示 的建立通信连接的方式的服务设备作为所述目标服务设备, 然后指示所述 STA和所述目标服务设备之间建立通信连接。
在一可选实施方式中, 向本实施例的管理设备发送服务请求指示消息的
STA为多个。 基于此, 通信接口 51具体可用于接收多个 STA中每个 STA发 送的服务请求指示消息。处理器 53具体可用于根据每个服务请求指示消息中 的第一信息和服务信息与服务设备之间的映射关系, 确定能够提供所有第一 信息所标识的服务中至少一个服务的目标服务设备, 然后指示每个 STA和每 个 STA对应的目标服务设备之间建立通信连接。
可选的, 在具体实现上, 如果通信接口 51、 存储器 52和处理器 53独立 实现, 则通信接口 51、 存储器 52和处理器 53可以通过总线相互连接并完成 相互间的通信。 所述总线可以是工业标准体系结构 ( Industry Standard Architecture, 筒称为 ISA )总线、 夕卜部设备互连 ( Peripheral Component, 筒 称为 PCI ) 总线或扩展工业标准体系结构 ( Extended Industry Standard Architecture, 筒称为 EISA )总线等。所述总线可以分为地址总线、数据总线、 控制总线等。 为便于表示, 图 5中仅用一条粗线表示, 但并不表示仅有一根 总线或一种类型的总线。
可选的, 在具体实现上, 如果通信接口 51、 存储器 52和处理器 53集成 在一块芯片上实现, 则通信接口 51、 存储器 52和处理器 53可以通过内部接 口完成相同间的通信。
本实施例提供的管理设备可用于执行上述图 1所示服务信息发现方法实 施例的流程, 其具体工作原理不再赘述, 详见方法实施例的描述。
本实施例提供的管理设备, 接收 STA发送的携带有标识 STA请求获取 的服务的信息的服务请求指示消息, 根据服务请求指示消息中的信息和预先 存储的服务信息与服务设备之间的映射关系, 确定能够提供服务请求指示消 息中的信息所标识的服务的目标服务设备, 然后指示 STA和目标服务设备之 间建立通信连接, 使得目标服务设备向 STA提供服务。 基于本实施例提供的 管理设备, 目标服务设备根据管理设备的指示获知需要为 STA提供服务, 不 需要周期性的广播服务信息, 节约了目标服务设备广播服务信息所消耗的信 道资源和能耗资源等, 而 STA也不需要多次尝试向服务设备发送服务请求以 获取所需的服务, 节约了 STA多次发送服务请求所消耗的信道资源和能耗资 源。
图 6为本发明实施例提供的一种服务设备的结构示意图。 如图 6所示, 本实施例的服务设备包括: 接收模块 61和连接建立模块 62。
接收模块 61 , 用于接收管理设备发送的连接建立指示消息, 所述连接建 立指示消息用于指示本实施例的服务设备与 STA建立通信连接, 其中所述连 接建立指示消息由所述管理设备根据服务信息与服务设备之间的映射关系和 所述 STA发送的服务请求指示消息中的第一信息生成, 用于确定能够提供所 述第一信息所标识的服务的本实施例的服务设备, 所述第一信息用于标识所 述 STA请求获取的服务。
连接建立模块 62, 与接收模块 61连接, 用于根据接收模块 61接收的连 接建立指示消息, 与所述 STA建立通信连接。
在一可选实施方式中, 连接建立模块 62具体可用于根据接收模块 61接 收的连接建立指示消息, 广播服务信息指示消息, 以使所述 STA根据所述服 务信息指示消息确定本实施例的服务设备, 并与本实施例的服务设备建立通 信连接。
在一可选实施方式中,接收模块 61接收的连接建立指示消息携带有所述 STA的信息。基于此,连接建立模块 62具体可用于从所述连接建立指示消息 中获取所述 STA的信息,根据所述 STA的信息,与所述 STA建立通信连接。
在一可选实施方式中,接收模块 61接收的连接建立指示消息携带有工作 模式指示信息, 所述工作模式指示信息用于指示所述 STA与本实施例的服务 设备之间建立通信连接的方式。基于此, 连接建立模块 62具体可用于根据接 收模块 61接收的连接建立指示消息,以所述工作模式指示信息所指示的建立 通信连接的方式, 与所述 STA建立通信连接。 在一可选实施方式中, 管理设备确定出本实施例的服务设备可以为多个
STA提供服务, 即上面所述 STA为多个。 基于此, 连接建立模块 62具体可 用于根据接收模块 61接收的连接建立指示消息, 分别与多个 STA中的每个 STA建立通信连接。
本实施例提供的服务设备的各功能模块可用于执行图 2所示服务信息发 现方法实施例的流程, 其具体工作原理不再赘述, 详见方法实施例的描述。
本实施例提供的服务设备, 与上述实施例提供的管理设备相配合, 可以 根据管理设备的指示, 与 STA建立通信连接并向 STA提供服务, 不需要像 现有技术那样周期性的广播服务信息, 节约了周期性的广播服务信息所消耗 的信道资源和能耗资源, 并且基于本实施例的服务设备, STA也不需要多次 尝试向服务设备发送服务请求以获取所需的服务, 节约了 STA多次发送服务 请求所消耗的信道资源和能耗资源。
图 7为本发明实施例提供的另一种服务设备的结构示意图。如图 7所示, 本实施例的服务设备包括: 通信接口 71、 存储器 72和处理器 73。
通信接口 71 , 用于接收管理设备发送的连接建立指示消息, 所述连接建 立指示消息用于指示本实施例的服务设备与 STA建立通信连接, 其中所述连 接建立指示消息由所述管理设备根据服务信息与服务设备之间的映射关系和 所述 STA发送的服务请求指示消息中的第一信息生成, 用于确定能够提供所 述第一信息所标识的服务的本实施例的服务设备, 所述第一信息用于标识所 述 STA请求获取的服务。
存储器 72, 用于存放程序。 具体的, 所述程序可以包括程序代码, 所述 程序代码包括计算机操作指令。 存储器 72可能包含高速 RAM存储器, 也可 能还包括非易失性存储器(non-volatile memory ) ,例如至少一个磁盘存储器。
处理器 73, 用于执行存储器 72存放的程序, 以用于: 根据通信接口 71 接收到的连接建立指示消息, 与所述 STA建立通信连接。
处理器 73可能是一个 CPU, 或者是特定 ASIC, 或者是被配置成实施本 发明实施例的一个或多个集成电路。
在一可选实施方式中,所述处理器 73具体可用于根据所述连接建立指示 消息, 控制通信接口 71广播服务信息指示消息, 以使所述 STA根据所述服 务信息指示消息确定所述目标服务设备, 并与所述目标服务设备建立通信连 接。
在一可选实施方式中,通信接口 71接收的连接建立指示消息携带有所述 STA的信息。基于此,处理器 73具体可用于从所述连接建立指示消息中获取 所述 STA的信息, 根据所述 STA的信息, 与所述 STA建立通信连接。
在一可选实施方式中,通信接口 71接收的连接建立指示消息携带有工作 模式指示信息, 所述工作模式指示信息用于指示所述 STA与所述服务设备之 间建立通信连接的方式。基于此, 处理器 73具体可用于根据所述连接建立指 示消息,以所述工作模式指示信息所指示的建立通信连接的方式,与所述 STA 建立通信连接。
在一可选实施方式中, 管理设备确定出本实施例的月良务设备可以为多个
STA提供服务, 即上面所述 STA为多个。 基于此, 处理器 73具体可用于根 据通信接口 71接收的连接建立指示消息, 分别与多个 STA中的每个 STA建 立通信连接。
可选的, 在具体实现上, 如果通信接口 71、 存储器 72和处理器 73独立 实现, 则通信接口 71、 存储器 72和处理器 73可以通过总线相互连接并完成 相互间的通信。 所述总线可以是 ISA总线、 PCI总线或 EISA总线等。 所述总 线可以分为地址总线、 数据总线、 控制总线等。 为便于表示, 图 7中仅用一 条粗线表示, 但并不表示仅有一根总线或一种类型的总线。
可选的, 在具体实现上, 如果通信接口 71、 存储器 72和处理器 73集成 在一块芯片上实现, 则通信接口 71、 存储器 72和处理器 73可以通过内部接 口完成相同间的通信。
本实施例提供的服务设备可用于执行图 所示服务信息发现方法实施例 的流程, 其具体工作原理不再赘述, 详见方法实施例的描述。
本实施例提供的服务设备, 与上述实施例提供的管理设备相配合, 可以 根据管理设备的指示, 与 STA建立通信连接并向 STA提供服务, 不需要像 现有技术那样周期性的广播服务信息, 节约了周期性的广播服务信息所消耗 的信道资源和能耗资源, 并且基于本实施例的服务设备, STA也不需要多次 尝试向服务设备发送服务请求以获取所需的服务, 节约了 STA多次发送服务 请求所消耗的信道资源和能耗资源。
图 8为本发明实施例提供的一种 STA的结构示意图。 如图 8所示, 本实 施例的 STA包括: 发送模块 81和连接建立模块 82。
发送模块 81 , 用于向管理设备发送服务请求指示消息, 所述服务请求指 示消息携带有第一信息, 所述第一信息用于标识本实施例 STA请求获取的服 务。
连接建立模块 82, 与发送模块 81连接, 用于在发送模块 81发送所述服 务请求指示消息后, 接收所述管理设备发送的服务通告消息, 根据所述服务 通告消息的指示确定目标服务设备, 并与所述目标服务设备建立通信连接; 其中所述服务通告消息由所述管理设备根据服务信息与服务设备之间的映射 关系和所述第一信息, 用于确定能够提供所述第一信息所标识的服务的目标 服务设备。
在一可选实施方式中,连接建立模块 82具体可用于接收管理设备发送的 服务通告消息, 根据所述服务通告消息的指示, 监听所述目标服务设备广播 的服务信息指示消息, 在监听到所述服务信息指示消息后确定所述目标服务 设备, 然后与所述目标服务设备建立通信连接。
在一可选实施方式中, 所述服务通告消息携带有所述目标服务设备的信 息。基于此, 接收发现模块 82具体可用于接收所述管理设备发送的所述服务 通告消息, 根据所述服务通告消息中所述目标服务设备的信息, 确定所述目 标服务设备, 然后与所述目标服务设备建立通信连接。
在一可选实施方式中, 所述服务通告消息携带有工作模式指示信息, 所 述工作模式指示信息用于指示所述 STA与所述目标服务设备之间建立通信连 接的方式。基于此, 连接建立模块 82具体可用于接收管理设备发送的服务通 告消息, 根据所述服务通告消息的指示确定目标服务设备, 然后以所述工作 模式指示信息所指示的建立通信连接的方式, 与所述目标服务设备建立通信 连接。
本实施例提供的 STA的各功能模块可用于执行图 3所示服务信息发现方 法实施例的流程, 其具体工作原理不再赘述, 详见方法实施例的描述。
本实施例提供的 STA, 与上述实施例提供的管理设备相配合, 在需要请 求服务时, 直接向管理设备发送携带有标识所请求的服务的第一信息的服务 请求指示消息, 然后接收服务设备发送的服务通告消息, 根据服务通告消息 发现能提供所需服务的目标服务设备, 然后与目标服务设备建立通信连接, 不需要像现有技术那样多次尝试向服务设备发送服务请求以获取所需的服 务, 节约了 STA多次发送服务请求所消耗的信道资源和能耗资源。
图 9为本发明实施例提供的另一种 STA的结构示意图。 如图 9所示, 本 实施例的 STA包括: 通信接口 91、 存储器 92和处理器 93。
通信接口 91 , 用于向管理设备发送服务请求指示消息, 所述服务请求指 示消息携带有第一信息, 所述第一信息用于标识所述 STA请求获取的服务; 以及在发送所述服务请求指示消息后, 接收所述管理设备发送的服务通告消 息; 其中所述服务通告消息由所述管理设备根据服务信息与服务设备之间的 映射关系和所述第一信息生成, 用于确定能够提供所述第一信息所标识的服 务的目标月良务设备。
存储器 92, 用于存放程序。 具体的, 所述程序包括程序代码, 所述程序 代码包括计算机操作指令。 存储器 92可能包含高速 RAM存储器, 也可能还 包括非易失性存储器( non- volatile memory ) , 例如至少一个磁盘存储器。
处理器 93, 用于执行存储器 92存放的程序, 以用于: 根据通信接口 91 接收的服务通告消息的指示确定目标服务设备, 然后与所述目标服务设备建 立通信连接。
处理器 93可能是一个 CPU, 或者是特定 ASIC, 或者是被配置成实施本 发明实施例的一个或多个集成电路。
在一可选实施方式中,处理器 93具体可用于根据所述月良务通告消息的指 示, 控制通信接口 91监听所述目标服务设备广播的服务信息指示消息, 在所 述通信接口 91监听到所述服务信息指示消息后确定所述目标服务设备,然后 与所述目标服务设备建立通信连接。 通信接口 91还用于在处理器 93的控制 下, 监听目标服务设备广播的服务信息指示消息。
在一可选实施方式中, 所述服务通告消息携带有所述目标服务设备的信 息。基于此, 处理器 93具体可用于根据所述服务通告消息中所述目标服务设 备的信息, 确定所述目标服务设备, 然后与所述目标服务设备建立通信连接。
在一可选实施方式中, 所述服务通告消息携带有工作模式指示信息, 所 述工作模式指示信息用于指示本实施例 STA与所述目标服务设备之间建立通 信连接的方式。 基于此, 处理器 93具体可用于根据通信接口 91接收的服务 通告消息的指示确定目标服务设备, 然后以所述工作模式指示信息所指示的 建立通信连接的方式, 与所述目标服务设备建立通信连接。
可选的, 在具体实现上, 如果通信接口 91、 存储器 92和处理器 93独立 实现, 则通信接口 91、 存储器 92和处理器 93可以通过总线相互连接并完成 相互间的通信。 所述总线可以是 ISA总线、 PCI总线或 EISA总线等。 所述总 线可以分为地址总线、 数据总线、 控制总线等。 为便于表示, 图 9中仅用一 条粗线表示, 但并不表示仅有一根总线或一种类型的总线。
可选的, 在具体实现上, 如果通信接口 91、 存储器 92和处理器 93集成 在一块芯片上实现, 则通信接口 91、 存储器 92和处理器 93可以通过内部接 口完成相同间的通信。
本实施例提供的 STA可用于执行图 3所示服务信息发现方法实施例的流 程, 其具体工作原理不再赘述, 详见方法实施例的描述。
本实施例提供的 STA, 与上述实施例提供的管理设备相配合, 在需要请 求服务时, 直接向管理设备发送携带有标识所请求的服务的第一信息的服务 请求指示消息, 然后接收服务设备发送的服务通告消息, 根据服务通告消息 发现能提供所需服务的目标服务设备, 然后与目标服务设备建立通信连接, 不需要像现有技术那样多次尝试向服务设备发送服务请求以获取所需的服 务, 节约了 STA多次发送服务请求所消耗的信道资源和能耗资源。
本领域普通技术人员可以理解: 实现上述各方法实施例的全部或部分步 骤可以通过程序指令相关的硬件来完成。 前述的程序可以存储于一计算机可 读取存储介质中。 该程序在执行时, 执行包括上述各方法实施例的步骤; 而 前述的存储介质包括: ROM, RAM, 磁碟或者光盘等各种可以存储程序代码 的介质。
最后应说明的是: 以上各实施例仅用以说明本发明的技术方案, 而非对 其限制; 尽管参照前述各实施例对本发明进行了详细的说明, 本领域的普通 技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改, 或者对其中部分或者全部技术特征进行等同替换; 而这些修改或者替换, 并 不使相应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims

权 利 要 求 书
1、 一种服务信息发现方法, 其特征在于, 包括:
管理设备接收站点 STA发送的服务请求指示消息, 所述服务请求指示消 息携带有第一信息, 所述第一信息用于标识所述 STA请求获取的服务; 所述管理设备根据服务信息与服务设备之间的映射关系和所述第一信 息, 确定能够提供所述第一信息所标识的服务的目标服务设备;
所述管理设备指示所述 STA和所述目标服务设备之间建立通信连接。
2、 根据权利要求 1所述的服务信息发现方法, 其特征在于, 所述管理设 备指示所述 STA和所述目标服务设备之间建立通信连接, 包括:
所述管理设备向所述目标服务设备发送第一连接建立指示消息, 以指示 所述目标服务设备广播服务信息指示消息, 以使所述 STA在根据所述服务信 息指示消息确定所述目标服务设备后与所述目标服务设备建立通信连接; 或 者
所述管理设备向所述 STA发送第一服务通告消息, 以指示所述 STA由 所述第一服务通告消息中获取所述目标服务设备的信息后与所述目标服务设 备建立通信连接, 所述第一服务通告消息携带有所述目标服务设备的信息; 或者
所述管理设备向所述目标服务设备发送第二连接建立指示消息, 以指示 所述目标服务设备广播服务信息指示消息, 以使所述 STA根据所述服务信息 指示消息确定所述目标服务设备, 并向所述 STA发送第二服务通告消息, 以 指示所述 STA监听所述目标服务设备广播的所述服务信息指示消息, 并在根 据所述服务信息指示消息确定所述目标服务设备后, 与所述目标服务设备建 立通信连接; 或者
所述管理设备向所述目标服务设备发送第三连接建立指示消息, 所述第 三连接建立指示消息携带有所述 STA的信息, 以使所述目标服务设备根据所 述 STA的信息, 与所述 STA建立通信连接。
3、 根据权利要求 2所述的服务信息发现方法, 其特征在于, 所述第一连 接建立指示消息携带有工作模式指示信息, 所述工作模式指示信息用于指示 所述 STA与所述目标服务设备之间建立通信连接的方式; 或者
所述第一服务通告消息携带有所述工作模式指示信息; 或者 所述第二连接建立指示消息和所述第二服务通告消息均携带有所述工作 模式指示信息; 或者
所述第三连接建立指示消息携带有所述工作模式指示信息。
4、 根据权利要求 1所述的服务信息发现方法, 其特征在于, 所述服务请 求指示消息还携带有工作模式指示信息, 所述工作模式指示信息用于指示所 述 STA与所述目标服务设备之间建立通信连接的方式;
所述管理设备根据服务信息与服务设备之间的映射关系和所述第一信 息, 确定能够提供所述第一信息所标识的服务的目标服务设备包括:
所述管理设备根据所述第一信息、 所述工作模式指示信息和所述服务信 息与服务设备之间的映射关系, 确定能够提供所述第一信息所标识的服务且 支持所述工作模式指示信息所指示的建立通信连接的方式的服务设备作为所 述目标服务设备。
5、 根据权利要求 1-4任一项所述的服务信息发现方法, 其特征在于, 所 述 STA为多个;
所述管理设备接收站点 STA发送的服务请求指示消息包括:
所述管理设备接收多个所述 STA中每个所述 STA发送的所述服务请求 指示消息;
所述管理设备根据服务信息与服务设备之间的映射关系和所述第一信 息, 确定能够提供所述第一信息所标识的服务的目标服务设备包括:
所述管理设备根据每个所述服务请求指示消息中的所述第一信息和所述 服务信息与服务设备之间的映射关系, 确定能够提供所有所述第一信息所标 识的服务中至少一个服务的目标服务设备;
所述管理设备指示所述 STA 和所述目标服务设备之间建立通信连接包 括:
所述管理设备指示每个所述 STA和每个所述 STA对应的所述目标服务 设备之间建立通信连接。
6、 一种服务信息发现方法, 其特征在于, 包括:
服务设备接收管理设备发送的连接建立指示消息, 所述连接建立指示消 息用于指示所述服务设备与站点 STA建立通信连接, 所述连接建立指示消息 由所述管理设备根据服务信息与服务设备之间的映射关系和所述 STA发送的 服务请求指示消息中的第一信息生成, 用于确定能够提供所述第一信息所标 识的服务的所述服务设备,所述第一信息用于标识所述 STA请求获取的服务; 所述服务设备根据所述连接建立指示消息, 与所述 STA建立通信连接。
7、 根据权利要求 6所述的服务信息发现方法, 其特征在于, 所述服务设 备根据所述连接建立指示消息, 与所述 STA建立通信连接包括:
所述服务设备根据所述连接建立指示消息, 广播服务信息指示消息, 以 使所述 STA根据所述服务信息指示消息确定所述服务设备, 并与所述服务设 备建立通信连接。
8、 根据权利要求 6所述的服务信息发现方法, 其特征在于, 所述连接建 立指示消息携带有所述 STA的信息;
所述服务设备根据所述连接建立指示消息, 与所述 STA建立通信连接包 括:
所述服务设备从所述连接建立指示消息中获取所述 STA的信息; 所述服务设备根据所述 STA的信息, 与所述 STA建立通信连接。
9、 根据权利要求 6或 7或 8所述的服务信息发现方法, 其特征在于, 所 述连接建立指示消息携带有工作模式指示信息, 所述工作模式指示信息用于 指示所述 STA与所述服务设备之间建立通信连接的方式;
所述服务设备根据所述连接建立指示消息, 与所述 STA建立通信连接包 括:
所述服务设备根据所述连接建立指示消息, 以所述工作模式指示信息所 指示的建立通信连接的方式, 与所述 STA建立通信连接。
10、 根据权利要求 6-9任一项所述的服务信息发现方法, 其特征在于, 所述 STA为多个;
所述服务设备根据所述连接建立指示消息, 与所述 STA建立通信连接包 括:
所述服务设备根据所述连接建立指示消息, 分别与多个所述 STA中的每 个所述 STA建立通信连接。
11、 一种服务信息发现方法, 其特征在于, 包括:
站点 STA向管理设备发送服务请求指示消息, 所述服务请求指示消息携 带有第一信息, 所述第一信息用于标识所述 STA请求获取的服务; 所述 STA接收所述管理设备发送的服务通告消息,根据所述服务通告消 息的指示确定目标服务设备, 并与所述目标服务设备建立通信连接, 其中所 述服务通告消息由所述管理设备根据服务信息与服务设备之间的映射关系和 所述第一信息生成, 用于确定能够提供所述第一信息所标识的服务的所述目 标 务设备。
12、根据权利要求 11所述的服务信息发现方法, 其特征在于, 所述 STA 根据所述服务通告消息的指示确定目标服务设备, 并与所述目标服务设备建 立通信连接, 包括:
所述 STA根据所述服务通告消息的指示,监听所述目标服务设备广播的 服务信息指示消息, 在监听到所述服务信息指示消息后确定所述目标服务设 备, 然后与所述目标服务设备建立通信连接。
13、 根据权利要求 10所述的服务信息发现方法, 其特征在于, 所述服务 通告消息携带有所述目标服务设备的信息;
所述 STA根据所述服务通告消息的指示确定所述目标服务设备, 并与所 述目标服务设备建立通信连接, 包括:
所述 STA根据所述服务通告消息中所述目标服务设备的信息,确定所述 目标服务设备, 并与所述目标服务设备建立通信连接。
14、根据权利要求 11或 12或 13所述的服务信息发现方法,其特征在于, 所述服务通告消息携带有工作模式指示信息, 所述工作模式指示信息用于指 示所述 STA与所述目标服务设备之间建立通信连接的方式;
所述 STA接收所述管理设备发送的服务通告消息,根据所述服务通告消 息的指示确定目标服务设备, 并与所述目标服务设备建立通信连接, 包括: 所述 STA接收所述管理设备发送的服务通告消息,根据所述服务通告消 息的指示确定目标服务设备, 然后以所述工作模式指示信息所指示的建立通 信连接的方式, 与所述目标服务设备建立通信连接。
15、 一种管理设备, 其特征在于, 包括:
接收模块, 用于接收站点 STA发送的服务请求指示消息, 所述服务请求 指示消息携带有第一信息,所述第一信息用于标识所述 STA请求获取的服务; 确定模块, 用于根据服务信息与服务设备之间的映射关系和所述第一信 息, 确定能够提供所述第一信息所标识的服务的目标服务设备; 连接建立指示模块, 用于指示所述 STA和所述目标服务设备之间建立通 信连接。
16、 根据权利要求 15所述的管理设备, 其特征在于, 所述连接建立指示 模块具体用于向所述目标服务设备发送第一连接建立指示消息, 以指示所述 目标服务设备广播服务信息指示消息, 以使所述 STA在根据所述服务信息指 示消息确定所述目标服务设备后与所述目标服务设备建立通信连接; 或者 所述连接建立指示模块具体用于向所述 STA发送第一服务通告消息, 以 指示所述 STA由所述第一服务通告消息中获取所述目标服务设备的信息后与 所述目标服务设备建立通信连接, 所述第一服务通告消息携带有所述目标服 务设备的信息; 或者
所述连接建立指示模块具体用于向所述目标服务设备发送第二连接建立 指示消息, 以指示所述目标服务设备广播服务信息指示消息, 以使所述 STA 根据所述服务信息指示消息确定所述目标服务设备, 并向所述 STA发送第二 服务通告消息, 以指示所述 STA监听所述目标服务设备广播的所述服务信息 指示消息, 并在根据所述服务信息指示消息确定所述目标服务设备后, 与所 述目标服务设备建立通信连接; 或者
所述连接建立指示模块具体用于向所述目标服务设备发送第三连接建立 指示消息, 所述第三连接建立指示消息携带有所述 STA的信息, 以使所述目 标服务设备根据所述 STA的信息, 与所述 STA建立通信连接。
17、 根据权利要求 16所述的管理设备, 其特征在于, 所述第一连接建立 指示消息携带有工作模式指示信息, 所述工作模式指示信息用于指示所述 STA与所述目标服务设备之间建立通信连接的方式; 或者
所述第一服务通告消息携带有所述工作模式指示信息; 或者
所述第二连接建立指示消息和所述第二服务通告消息均携带有所述工作 模式指示信息; 或者
所述第三连接建立指示消息携带有所述工作模式指示信息。
18、 根据权利要求 15所述的管理设备, 其特征在于, 所述服务请求指示 消息还携带有工作模式指示信息, 所述工作模式指示信息用于指示所述 STA 与所述目标服务设备之间建立通信连接的方式;
所述确定模块具体用于根据所述第一信息、 所述工作模式指示信息和所 述服务信息与服务设备之间的映射关系 , 确定能够提供所述第一信息所标识 的服务且支持所述工作模式指示信息所指示的建立通信连接的方式的服务设 备作为所述目标服务设备。
19、根据权利要求 15-18任一项所述的管理设备,其特征在于,所述 STA 为多个;
所述接收模块具体用于接收多个所述 STA中每个所述 STA发送的所述 服务请求指示消息;
所述确定模块具体用于根据每个所述服务请求指示消息中的所述第一信 息和所述服务信息与服务设备之间的映射关系, 确定能够提供所有所述第一 信息所标识的服务中至少一个服务的目标服务设备;
所述连接建立指示模块具体用于指示每个所述 STA和每个所述 STA对 应的所述目标服务设备之间建立通信连接。
20、 一种服务设备, 其特征在于, 包括:
接收模块, 用于接收管理设备发送的连接建立指示消息, 所述连接建立 指示消息用于指示所述服务设备与站点 STA建立通信连接, 所述连接建立指 示消息由所述管理设备根据服务信息与服务设备之间的映射关系和所述 STA 发送的服务请求指示消息中的第一信息生成, 用于确定能够提供所述第一信 息所标识的服务的所述服务设备, 所述第一信息用于标识所述 STA请求获取 的服务;
连接建立模块, 用于根据所述连接建立指示消息, 与所述 STA建立通信 连接。
21、 根据权利要求 20所述的服务设备, 其特征在于, 所述连接建立模块 具体用于根据所述连接建立指示消息,广播服务信息指示消息,以使所述 STA 根据所述服务信息指示消息确定所述服务设备, 并与所述服务设备建立通信 连接。
22、 根据权利要求 20所述的服务设备, 其特征在于, 所述连接建立指示 消息携带有所述 STA的信息;
所述连接建立模块具体用于从所述连接建立指示消息中获取所述 STA的 信息, 根据所述 STA的信息, 与所述 STA建立通信连接。
23、 根据权利要求 20或 21或 22所述的服务设备, 其特征在于, 所述连 接建立指示消息携带有工作模式指示信息, 所述工作模式指示信息用于指示 所述 STA与所述服务设备之间建立通信连接的方式;
所述连接建立模块具体用于根据所述连接建立指示消息, 以所述工作模 式指示信息所指示的建立通信连接的方式, 与所述 STA建立通信连接。
24、根据权利要求 20-23任一项所述的服务设备,其特征在于,所述 STA 为多个;
所述连接建立模块具体用于根据所述连接建立指示消息, 分别与多个所 述 STA中的每个所述 STA建立通信连接。
25、 一种站点 STA, 其特征在于, 包括:
发送模块, 用于向管理设备发送服务请求指示消息, 所述服务请求指示 消息携带有第一信息, 所述第一信息用于标识所述 STA请求获取的服务; 连接建立模块, 用于接收所述管理设备发送的服务通告消息, 根据所述 服务通告消息的指示确定目标服务设备, 并与所述目标服务设备建立通信连 接, 其中所述服务通告消息由所述管理设备根据服务信息与服务设备之间的 映射关系和所述第一信息生成, 用于确定能够提供所述第一信息所标识的服 务的所述目标服务设备。
26、根据权利要求 25所述的 STA, 其特征在于, 所述连接建立模块具体 用于接收所述管理设备发送的所述服务通告消息, 根据所述服务通告消息的 指示, 监听所述目标服务设备广播的服务信息指示消息, 在监听到所述服务 信息指示消息后确定所述目标服务设备, 然后与所述目标服务设备建立通信 连接。
27、根据权利要求 25所述的 STA, 其特征在于, 所述服务通告消息携带 有所述目标服务设备的信息;
所述接收发现模块具体用于接收所述管理设备发送的所述服务通告消 息, 根据所述服务通告消息中所述目标服务设备的信息, 确定所述目标服务 设备, 然后与所述目标服务设备建立通信连接。
28、根据权利要求 25或 26或 27所述的 STA, 其特征在于, 所述服务通 告消息携带有工作模式指示信息, 所述工作模式指示信息用于指示所述 STA 与所述目标服务设备之间建立通信连接的方式;
所述连接建立模块具体用于接收所述管理设备发送的服务通告消息, 根 据所述服务通告消息的指示确定所述目标服务设备, 然后以所述工作模式指 示信息所指示的建立通信连接的方式, 与所述目标服务设备建立通信连接。
PCT/CN2013/083921 2012-12-28 2013-09-22 服务信息发现方法及设备 WO2014101491A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210583440.5 2012-12-28
CN201210583440.5A CN103906264A (zh) 2012-12-28 2012-12-28 服务信息发现方法及设备

Publications (1)

Publication Number Publication Date
WO2014101491A1 true WO2014101491A1 (zh) 2014-07-03

Family

ID=50997352

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/083921 WO2014101491A1 (zh) 2012-12-28 2013-09-22 服务信息发现方法及设备

Country Status (2)

Country Link
CN (1) CN103906264A (zh)
WO (1) WO2014101491A1 (zh)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101123610A (zh) * 2007-09-13 2008-02-13 北京交通大学 一种混和分布式重叠网络装置及其服务注册与查找方法
CN101859318A (zh) * 2010-05-17 2010-10-13 天津大学 一种基于服务网络的服务发现工具的建立方法

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4561671B2 (ja) * 2006-03-30 2010-10-13 株式会社日立製作所 データ通信方法およびシステム
US7974574B2 (en) * 2007-07-25 2011-07-05 Microsoft Corporation Base station initiated proximity service discovery and connection establishment
CN101500016A (zh) * 2008-01-31 2009-08-05 华为技术有限公司 业务控制方法及***、设备
US9220054B2 (en) * 2009-12-22 2015-12-22 Intel Corporation Enhanced service discovery mechanism in wireless communication system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101123610A (zh) * 2007-09-13 2008-02-13 北京交通大学 一种混和分布式重叠网络装置及其服务注册与查找方法
CN101859318A (zh) * 2010-05-17 2010-10-13 天津大学 一种基于服务网络的服务发现工具的建立方法

Also Published As

Publication number Publication date
CN103906264A (zh) 2014-07-02

Similar Documents

Publication Publication Date Title
JP7320514B2 (ja) ウェイクアップ無線に対する効率的な再発見およびメディアアクセスのための方法
JP7013498B2 (ja) データスケジューリング方法、基地局およびシステム
WO2017185867A1 (zh) 一种进行业务传输的方法和终端
WO2015139592A1 (zh) 用于设备到设备信号传输的资源分配方法和装置
KR102005537B1 (ko) Gas 프로토콜을 이용한 단말의 서비스 탐색 방법 및 장치
CN1630412A (zh) 发送/接收多媒体广播/多播业务的业务可用性信息的方法
WO2014146474A1 (zh) 终端注册方法、终端发现方法、终端及装置
WO2013159715A1 (zh) 一种无线网络的发现方法及装置
TWI489901B (zh) 實現用戶設備與外部網路之間通訊之方法及系統
JP2006129450A (ja) ネットワーク内の移動局との通信を制御する方法
WO2007003125A1 (fr) Procédé de recherche de prestataire de services de réseau et appareil idoine
WO2014110938A1 (zh) 终端直达通信中发现信号的发送方法、通信终端及***
WO2011140906A1 (zh) 一种无线传感器网络中设备入网方法及装置
WO2020034797A1 (zh) 一种资源分配的方法和设备
WO2009111963A1 (zh) 一种多载波接入的方法、***及设备
WO2021092843A1 (zh) 寻呼方法及装置
US20080232254A1 (en) Explicit service flow tear-down during connection setup in wireless network communications
WO2022001495A1 (zh) 状态转换方法及链接态mtch的指示方法、装置、存储介质、终端、基站
JP5425210B2 (ja) 多重搬送波管理装置および方法と端末のスリープモード動作方法
WO2014117373A1 (zh) 一种通讯方法、基站及无线接入点
WO2016131195A1 (zh) 数据传输方法和设备
WO2012092736A1 (zh) 业务数据的传输方法及***
WO2019141194A1 (zh) 更新***消息的方法及装置
WO2013023549A1 (zh) 负载分担方法、基站、用户设备、负载分担节点和***
WO2014101491A1 (zh) 服务信息发现方法及设备

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

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

Country of ref document: EP

Kind code of ref document: A1