WO2013178119A1 - Service-providing method and system, and terminal - Google Patents

Service-providing method and system, and terminal Download PDF

Info

Publication number
WO2013178119A1
WO2013178119A1 PCT/CN2013/078064 CN2013078064W WO2013178119A1 WO 2013178119 A1 WO2013178119 A1 WO 2013178119A1 CN 2013078064 W CN2013078064 W CN 2013078064W WO 2013178119 A1 WO2013178119 A1 WO 2013178119A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
terminal
network
capability
terminals
Prior art date
Application number
PCT/CN2013/078064
Other languages
French (fr)
Chinese (zh)
Inventor
孙爱芳
高冲
凌志浩
张志飞
祁学文
袁宜峰
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2013178119A1 publication Critical patent/WO2013178119A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/24Negotiation of communication capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/303Terminal profiles
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/18Information format or content conversion, e.g. adaptation by the network of the transmitted or received information for the purpose of wireless delivery to users or terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Definitions

  • the present invention relates to service providing technologies, and in particular, to a service providing method and system, and a terminal. Background technique
  • each coordinated terminal needs to independently complete the negotiation of the terminal capability and the service information.
  • the service discovery method in the prior art focuses on the service discovery and negotiation process after the connection is established.
  • WIFI-Direct proposed by the Wireless Fidelity Alliance is a WIFI protocol extension that first establishes a connection and then performs service discovery. .
  • the user needs to know in advance the terminal that can provide the corresponding service and perform a certain pre-configuration process, so that each terminal automatically completes the service negotiation process after establishing a connection.
  • the user's best service experience requires a more autonomous service discovery process, which can complete the service discovery and negotiation process before the connection is established, and form a collaborative service provision network for the unified service needs according to the services required by the user. service.
  • the main purpose of the present invention is to provide a service providing method and system, and a terminal, which can provide a service discovery and networking method for service requirements, and analyze and select the capability information of the terminal while discovering the terminal.
  • Appropriate capability terminals join the network to form a unified network for collaborative service provision, and independently complete service matching and service provision.
  • a service providing method including:
  • the AP searches for the AP of the neighboring network, and determines whether there is a network that can assist the terminal to complete the service.
  • the terminal accesses the terminal, the terminal can assist the terminal to complete the service.
  • the network cooperates with the network that can assist the terminal to complete the service to complete the service; when not present, the terminal searches for service capability information of other peripheral terminals, and determines other devices that can assist the terminal to complete the service.
  • the terminal negotiates with the other terminal to perform the service, and the terminal and the searched other terminal form a service network to jointly implement the service.
  • the method further includes:
  • the terminal broadcasts its own capability information, and/or the AP broadcasts the capability information of the network to which the AP belongs;
  • the capability information includes at least one of the following information: a name of the service required by the terminal, a service function parameter, a capability attribute name, and a capability attribute value. .
  • the method further includes:
  • the AP broadcasts the capability information of the network node and the server in its own network as the capability information of the network to which it belongs.
  • the method further includes:
  • the terminal and the terminal communicate with each other through a short-range wireless communication protocol; the terminal and the AP perform capability information broadcasting based on the short-range wireless communication protocol.
  • the service includes a bandwidth aggregation service, a content collaborative service, an interactive service, a capability provision, and a service identifier;
  • the method further includes:
  • the terminal performs service negotiation with other terminals according to the service type, service quality requirements, delay requirements, service running environment, and determines the terminal or network node with the best capability as the central node to perform the service.
  • the short-range wireless communication protocol comprises a wireless fidelity WIFI protocol;
  • the terminal and the AP broadcast the capability information to the service set identifier SSID in the WIFI frame.
  • the SSID in the WIFI frame includes at least a cell carrying a name of a service required by the terminal, a cell carrying a service function parameter, a cell carrying a capability attribute name, and a cell carrying a capability attribute value;
  • the cell carrying the name of the service required by the terminal occupies 2 bytes;
  • the cell carrying the service function parameter occupies 6 bytes
  • a terminal includes a first determining unit, a first searching unit, a second determining unit, an accessing and executing unit, a second searching unit, a third determining unit, and a negotiation and executing unit, where: the first determining unit is configured to Determining that the terminal cannot trigger the service requested by the user independently, triggering the first search unit;
  • a first search unit configured to search for an AP of the surrounding network
  • a second determining unit configured to determine whether a network that can assist the terminal to complete the service exists in the network to which the searched AP belongs, triggers an access and execution unit when present, and triggers a second search unit when not present;
  • the access and execution unit is configured to access the network that can assist the terminal to complete the service, and complete the service by cooperating with the network that can assist the terminal to complete the service;
  • a second search unit configured to search for service capability information of other peripheral terminals
  • a third determining unit when determining that there is another terminal that can assist the terminal to complete the service, triggering a negotiation and execution unit;
  • the negotiation and execution unit performs the negotiation of the service with the other terminal, and the service network is formed by the terminal and the searched other terminals to implement the service.
  • the terminal further includes:
  • the capability information includes at least one of the following information: a name of a service required by the terminal, a service function parameter, a capability attribute name, and a capability attribute value.
  • the communication is performed between the terminal and the terminal, and between the terminal and the AP by using a short-range wireless communication protocol;
  • the broadcast unit is further configured to perform capability information broadcast based on a short-range wireless communication protocol.
  • the service includes a bandwidth aggregation service, a content collaborative service, an interactive service, a capability provision, and a service identifier;
  • the negotiation and execution unit is further configured to perform service negotiation with other terminals according to the service type, the service quality requirement, the delay requirement, the service running environment, and determine the terminal or network node with the best capability as the central node. , performing the business.
  • the short-range wireless communication protocol includes a WIFI protocol
  • the broadcast unit is further configured to broadcast the capability information to the SSID in the WIFI frame for broadcast.
  • a service providing system includes the foregoing terminal, an access point, and a network to which the access point belongs.
  • the AP searches for the AP of the neighboring network, determines whether there is a network that can assist the terminal to complete the service, and when the terminal accesses the network that can assist the terminal to complete the service, The network can assist the terminal to complete the service to complete the service; when not present, the terminal searches for the service capability information of other peripheral terminals, determines other terminals that can assist the terminal to complete the service, and negotiates with other terminals, and the terminal searches for the service.
  • the other terminals form a service network to jointly implement the business.
  • the invention can complete the service discovery and negotiation process before the terminal establishes the link, so that the user can provide the on-demand service to provide the network organization when the user needs specific service requirements, and the whole process does not require the user to configure, thereby improving the service experience of the user.
  • FIG. 1 is a schematic diagram of a format of a WIFI beacon frame according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a service providing method according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a terminal of an embodiment of the present invention. detailed description
  • the AP searches for the AP of the surrounding network, determines whether there is a network that can assist the terminal to complete the service, and when the terminal exists, the terminal accesses the network that can assist the terminal to complete the service. And the network that can assist the terminal to complete the service cooperates to complete the service; when not present, the terminal searches for the service capability information of other peripheral terminals, determines other terminals that can assist the terminal to complete the service, and negotiates with other terminals, and the terminal and The other terminals searched for form a service network to jointly implement the service.
  • FIG. 1 is a schematic diagram of a WIFI beacon frame format according to an embodiment of the present invention. As shown in FIG. 1, the present invention divides a 32-byte (Byte) SSID information into the following parts:
  • Service Name: 2Byte which identifies the types of services required by the terminal. According to the requirements and functions of the collaborative services, it is divided into bandwidth aggregation class, content collaboration and interaction class, terminal capability provision class and service identifier provision.
  • the bandwidth aggregation service refers to a service in which a terminal provides a large file or a video that is limited by its own bandwidth and cannot complete the user's demand.
  • the service transmission capability of the other terminal is required to aggregate the bandwidth of multiple terminals for service download.
  • Multi-terminal collaboration scenarios are more common types of services; content collaboration and interaction classes mean that multiple terminals share their respective terminal content.
  • Terminal capability-providing service refers to the completion of one or more functions by means of the unique capabilities of the peripheral terminals, which may be their own terminals. Having or not sufficient, such as the printing capability, external capacity, display capability, etc. of the terminal; providing service identification, providing service provision on behalf of the terminal, and common such as public terminals are generally used as service providers.
  • Service function parameter 6Byte. If the service name is a specific service category, the part is further constrained by the foregoing service, such as service type, service function description information such as service quality requirements, delay requirement, service running environment, etc. If the service name is a service identifier, this part is the service capability that the terminal can provide. It is not specifically limited in the present invention, and an API (Application Programming Interface) interface is provided for those skilled in the art to define according to a specific service type.
  • API Application Programming Interface
  • Capability attribute name: 4Byte describes the capability attributes of the terminal, including terminal type, supported communication protocol, hardware configuration, operating environment, bandwidth, computing power, transmission capability, and capabilities (such as data acquisition, information processing, printing, and external Put, show, etc.).
  • Capability attribute value 4Byte, the attribute value corresponding to the capability attribute. If the attribute does not exist, the default tag is used.
  • the capability attribute name and the capability attribute value represent the terminal capability information required for requesting the service; if the service name is the service identifier, the capability attribute name and the capability attribute value represent the terminal capability information of the terminal.
  • the capability attribute in the broadcast information adopts three values that the service provider or the requester is most concerned about, for example, less than three adopt the default value.
  • the terminal needs to perform capability information broadcast using a beacon frame carrying the SSID shown in FIG. 1.
  • the AP also broadcasts the capability information of the network to which it belongs. Specifically, the AP broadcasts the capability information of the network node and the server in the network to which the network belongs, as the capability information of the network to which it belongs. In this way, between the terminal and the terminal, between the terminal and the AP, the broadcast message can be confirmed.
  • the other terminal and the capabilities supported by the AP are determined, so that when it is determined that the user cannot support the service requested by the user, the service requested by the user is integrated with the network to which the other terminal or the AP belongs.
  • FIG. 2 is a flowchart of a service providing method according to an embodiment of the present invention. As shown in FIG. 2, a service providing method according to an embodiment of the present invention includes the following steps:
  • Step 201 The user terminal sends its own service request.
  • Step 202 The terminal determines, according to the requested service information, whether the service can be completed independently. If yes, step 203 is performed, and step 204 is performed.
  • the terminal's judgment on the service needs to be judged by the user's usage habits, preferences, and service data provided by the server, and different users of the same service may have different service requirements.
  • Step 203 The terminal completes service provision by using its own capabilities.
  • Step 204 Encapsulate the service requirement information into the SSID, including selecting a corresponding service name according to the service type, encapsulating the user service requirement information into the service function description, and encapsulating the terminal attribute information according to the requirement for providing the service terminal.
  • the above SSID also carries the capability information supported by the terminal.
  • the capability information includes at least one of the following information: a name of a service required by the terminal, a service function parameter, a capability attribute name, and a capability attribute value.
  • Step 205 Search for the neighboring network AP, check the SSID information of each AP, check whether there is a service network providing the required service in the surrounding area, if yes, go to step 206, otherwise go to step 208.
  • Step 206 Negotiate according to the service requirement information and the service capability information provided by the service network, and determine whether the network meets the user service requirement. If the network is not satisfied, mark the network as a non-service network, and go to step 205. Otherwise, go to step 207.
  • the network server is based on the network.
  • the capability information of the node determines a node that interacts with the terminal for the terminal, and allocates resources for the terminal, and the collaborative terminal implements the service requested by the user. If the terminal needs to print the service, and the terminal itself is not connected to a printing device such as a printer, the terminal can pass the relevant setting requirements of the printing service.
  • the SSID information is broadcast, and a certain network has a printing function, and after the terminal accesses the network, it determines whether the printing device in the network satisfies the printing requirement of the terminal according to the printing service of the terminal and the service demand parameter thereof, and satisfies the terminal.
  • a certain network has a printing function, and after the terminal accesses the network, it determines whether the printing device in the network satisfies the printing requirement of the terminal according to the printing service of the terminal and the service demand parameter thereof, and satisfies the terminal.
  • the service of the terminal side user may also include file conversion, file transfer, and the like.
  • the service of the terminal side user may also include file conversion, file transfer, and the like.
  • Step 207 completing automatic configuration and joining the service network, and interacting with other nodes in the network to complete service provision.
  • Step 208 Configure the node into an Ad hoc mode, obtain the SSID information of the peripheral terminal through two-way interaction, and obtain a terminal that can provide services or request the same service by parsing the SSID information.
  • the reason is configured as Ad hoc mode, so that other terminals can search for their own service requirements or provide service capability information before establishing a connection.
  • Step 209 A plurality of terminals capable of providing the service negotiate according to the terminal capability, and select an optimal node as a central node to form a service network.
  • the weighted sum is used according to the value of the terminal capability attribute in the SSID, and the terminal with the largest weighted sum is selected as the central node.
  • the reason why the terminal of the central node is selected is mainly based on the convenience of interaction. If a terminal can carry more processing of the service, it can be used as the center of communication, thus, When each terminal performs service negotiation, it can reduce the amount of data negotiated by the service.
  • the manner of service negotiation is basically the same as the manner of service negotiation between the terminal and the network to which the AP belongs.
  • the services negotiated by the terminal mainly include multi-player games, etc., for example, when the terminal user needs to perform multi-player games, the terminal can search for the neighboring terminal through the terminal, and when searching for multiple terminals, the terminals are The capability negotiation is performed to determine the central node terminal and perform the game cooperatively.
  • the implementation of the collaborative game service is similar to the implementation of the multiplayer game supported by the existing Internet, except that the multiplayer game supported by the present invention needs to implement one of the terminals as a central node terminal.
  • Step 210 The AP node of the service network periodically updates the SSID information according to the capability information of the node and the server in the network, and the service network can provide the service information.
  • the terminal capability in a certain area can be autonomously aggregated, and the unified service provision is completed through cooperation of multiple terminals.
  • the service discovery and networking method of the present invention can complete the service discovery and network configuration autonomously in the user terminal to enter the service terminal distribution area, and finally complete the service provision process. Since the terminal discovery and service discovery are performed before the terminal is connected, the transparent access of the service capability is realized, the cumbersome process of user configuration is omitted, and the user's optimal service experience can be realized.
  • the terminal of the present invention includes a first determining unit 30, a first searching unit 31, a second determining unit 32, and an access and executing unit 33.
  • the second search unit 34, the third determining unit 35, and the negotiation and execution unit 36 wherein:
  • the first determining unit 30 is configured to: when it is determined that the terminal cannot complete the service requested by the user independently, trigger the first searching unit 31;
  • the first search unit 31 is configured to search for an AP of the surrounding network
  • the second determining unit 32 is configured to determine whether there is a network in the network to which the searched AP belongs to assist the terminal to complete the service, and if yes, trigger the access and execution unit 33, When present, the second search unit 34 is triggered;
  • the access and execution unit 33 is configured to access the network that can assist the terminal to complete the service, and complete the service by cooperating with the network that can assist the terminal to complete the service;
  • the second search unit 34 is configured to search for the service capability information of other peripheral terminals; the third determining unit 35, when it is determined that there is another terminal capable of assisting the terminal to complete the service, triggering the negotiation and execution unit 36;
  • the negotiation and execution unit 36 performs the negotiation of the service with the other terminal, and the service network is formed by the terminal and the other terminals that are searched for to implement the service.
  • the terminal of the present invention further includes:
  • the broadcast unit (not shown in FIG. 3) is configured to: the terminal broadcasts capability information of the terminal; the capability information includes at least one of the following information: a name of the service required by the terminal, a service function parameter, a capability attribute name, and a capability. Property value.
  • the broadcast unit is further configured to perform capability information broadcast based on a short-range wireless communication protocol.
  • the services include bandwidth aggregation services, content collaboration services, interactive services, capability provisioning, and service identity provisioning;
  • the negotiation and execution unit 36 is further configured to perform service negotiation with other terminals according to the service type, the service quality requirement, the delay requirement, the service running environment, and determine the terminal or network node with the best capability as the center. Node, executing the service.
  • the short-range wireless communication protocol includes a WIFI protocol
  • the broadcast unit is further configured to broadcast the capability information to the SSID in the WIFI frame for broadcast.
  • the SSID in the WIFI frame includes at least a cell carrying a name of a service required by the terminal, a cell carrying a service function parameter, a cell carrying a capability attribute name, and a value of a bearer capability attribute.
  • the cell carrying the name of the service required by the terminal occupies 2 bytes;
  • the cell carrying the service function parameter occupies 6 bytes
  • the cell carrying the capability attribute name and the cell carrying the capability attribute value occupy a total of 24 bytes. There may be multiple cells carrying the capability attribute name and cells carrying the capability attribute value.
  • the present invention also describes a service providing system, which includes the terminal, the access point, and the network to which the access point belongs as shown in FIG.
  • a service providing system which includes the terminal, the access point, and the network to which the access point belongs as shown in FIG.
  • the invention can complete the service discovery and negotiation process before the terminal establishes the link, so that when the user-specific service demand is met, the on-demand service can be provided to provide the network organization, and the whole process does not need to be configured by the user, thereby improving the service experience of the user.

Landscapes

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

Abstract

Disclosed is a service-providing method, which comprises: when determining that it is not possible for it to independently complete the service requested by a user per se, a terminal searching for an AP of a peripheral network, and determining whether there is a network which can assist the terminal in completing the service, and when there is, the terminal accessing the network which can assist the terminal in completing the service, and cooperatively completing the service with the network which can assist the terminal in completing the service; and when there is not, the terminal searching for service capability information about other peripheral terminals, determining a terminal which can assist the terminal in completing the service, and conducting the negotiation of the service with that terminal, and the terminal and the searched terminal forming a service network to achieve the service together. Disclosed at the same time are a terminal and a service-providing system. The present invention can complete the discovery and negotiation processes of a service before a terminal establishes a link, thereby being able to complete a service-providing network organization as required when facing the specific service demand of a user, and promoting the service experience of the user.

Description

业务提供方法及系统、 终端 技术领域  Service providing method and system, terminal
本发明涉及业务提供技术, 尤其涉及一种业务提供方法及系统、 终端。 背景技术  The present invention relates to service providing technologies, and in particular, to a service providing method and system, and a terminal. Background technique
为满足用户无时无刻无所不在的最佳服务体验, 多个终端自主完成能 力聚合协同进行业务提供已成为一种迫切需求。 多终端协同业务提供的前 提是各终端的互发现, 并互联互通形成网络。  In order to meet the best service experience of users all the time, it is an urgent need for multiple terminals to independently complete the capability aggregation and coordinate the service provision. The premise of multi-terminal collaborative service provision is mutual discovery of each terminal, and interconnection and interconnection form a network.
为实现对用户透明的业务呈现过程, 需要各协作的终端自主完成终端 能力及服务信息的协商。 现有技术中的服务发现方法集中在建立连接以后 的服务发现及协商过程, 如无线保真 (WIFI, Wireless Fidelity )联盟提出 的 WIFI-Direct就是一种先建立连接再进行服务发现的 WIFI协议扩展。 在 这种前提下, 需要用户预先知道能提供相应服务的终端并进行一定的预先 配置过程, 从而使各终端建立连接以后自动完成服务协商过程。 显然用户 的最佳服务体验需要一种更为自主的服务发现过程, 能够在连接建立之前 完成服务发现及协商过程, 根据用户所需的业务形成一个面向统一业务需 求的协同业务提供网络为用户提供服务。  In order to realize the business presentation process transparent to the user, each coordinated terminal needs to independently complete the negotiation of the terminal capability and the service information. The service discovery method in the prior art focuses on the service discovery and negotiation process after the connection is established. For example, WIFI-Direct proposed by the Wireless Fidelity Alliance is a WIFI protocol extension that first establishes a connection and then performs service discovery. . Under this premise, the user needs to know in advance the terminal that can provide the corresponding service and perform a certain pre-configuration process, so that each terminal automatically completes the service negotiation process after establishing a connection. Obviously, the user's best service experience requires a more autonomous service discovery process, which can complete the service discovery and negotiation process before the connection is established, and form a collaborative service provision network for the unified service needs according to the services required by the user. service.
遗憾的是, 目前尚无这方面的技术可供参考。 发明内容  Unfortunately, there is currently no technology available for reference. Summary of the invention
有鉴于此, 本发明的主要目的在于提供一种业务提供方法及系统、 终 端, 能提供一种面向业务需求的服务发现及组网方法, 在终端发现的同时 对终端的能力信息进行解析选取拥有合适能力终端加入网络, 组成一个面 向协同业务提供的统一网络, 自主地完成服务匹配及业务提供。 为达到上述目的, 本发明的技术方案是这样实现的: 一种业务提供方法, 包括: In view of the above, the main purpose of the present invention is to provide a service providing method and system, and a terminal, which can provide a service discovery and networking method for service requirements, and analyze and select the capability information of the terminal while discovering the terminal. Appropriate capability terminals join the network to form a unified network for collaborative service provision, and independently complete service matching and service provision. To achieve the above objective, the technical solution of the present invention is implemented as follows: A service providing method, including:
终端确定自身不能独立完成用户请求的业务时, 搜索周边网络的 AP, 确定是否存在能协助所述终端完成所述业务的网络, 存在时所述终端接入 该能协助所述终端完成所述业务的网络, 与该能协助所述终端完成所述业 务的网络协作完成所述业务; 不存在时所述终端搜索周边其他终端的业务 能力信息, 确定出能协助所述终端完成所述业务的其他终端, 并与所述其 他终端进行所述业务的协商, 由所述终端及所搜索出的其他终端组成服务 网络共同实现所述业务。  When the terminal determines that the user cannot complete the service requested by the user, the AP searches for the AP of the neighboring network, and determines whether there is a network that can assist the terminal to complete the service. When the terminal accesses the terminal, the terminal can assist the terminal to complete the service. The network cooperates with the network that can assist the terminal to complete the service to complete the service; when not present, the terminal searches for service capability information of other peripheral terminals, and determines other devices that can assist the terminal to complete the service. The terminal negotiates with the other terminal to perform the service, and the terminal and the searched other terminal form a service network to jointly implement the service.
优选地, 所述方法还包括:  Preferably, the method further includes:
终端广播自身的能力信息, 和 /或, AP广播自身所属网络的能力信息; 所述能力信息包括以下信息的至少一种: 终端所需服务的名称、 服务 功能参数、 能力属性名称、 能力属性值。  The terminal broadcasts its own capability information, and/or the AP broadcasts the capability information of the network to which the AP belongs; the capability information includes at least one of the following information: a name of the service required by the terminal, a service function parameter, a capability attribute name, and a capability attribute value. .
优选地, 所述方法还包括:  Preferably, the method further includes:
AP 将自身所属网络中的网络节点及服务器的能力信息作为自身所属 网络的能力信息进行广播。  The AP broadcasts the capability information of the network node and the server in its own network as the capability information of the network to which it belongs.
优选地, 所述方法还包括:  Preferably, the method further includes:
终端与终端之间、 终端与 AP之间通过短距离无线通信协议进行通信; 终端及 AP基于短距离无线通信协议进行能力信息广播。  The terminal and the terminal communicate with each other through a short-range wireless communication protocol; the terminal and the AP perform capability information broadcasting based on the short-range wireless communication protocol.
优选地, 所述业务包括带宽聚合类业务、 内容协同业务、 互动业务、 能力提供及服务标识提供;  Preferably, the service includes a bandwidth aggregation service, a content collaborative service, an interactive service, a capability provision, and a service identifier;
所述方法还包括:  The method further includes:
终端根据业务类型、 业务对服务质量的要求、 时延的要求、 业务运行 环境与其他终端进行业务协商, 并确定出能力最优的终端或网络节点作为 中心节点, 执行所述业务。 优选地, 所述短距离无线通信协议包括无线保真 WIFI协议; The terminal performs service negotiation with other terminals according to the service type, service quality requirements, delay requirements, service running environment, and determines the terminal or network node with the best capability as the central node to perform the service. Preferably, the short-range wireless communication protocol comprises a wireless fidelity WIFI protocol;
终端及 AP将能力信息承载于 WIFI帧中的服务集标识 SSID进行广播。 优选地, 所述 WIFI帧中的 SSID至少包括承载终端所需服务的名称的 信元、 承载服务功能参数的信元、 承载能力属性名称的信元以及承载能力 属性值的信元;  The terminal and the AP broadcast the capability information to the service set identifier SSID in the WIFI frame. Preferably, the SSID in the WIFI frame includes at least a cell carrying a name of a service required by the terminal, a cell carrying a service function parameter, a cell carrying a capability attribute name, and a cell carrying a capability attribute value;
其中, 承载终端所需服务的名称的信元占用 2字节;  Wherein, the cell carrying the name of the service required by the terminal occupies 2 bytes;
承载服务功能参数的信元占用 6字节;  The cell carrying the service function parameter occupies 6 bytes;
承载能力属性名称的信元以及承载能力属性值的信元共占用 24字节。 一种终端, 包括第一确定单元、 第一搜索单元、 第二确定单元、 接入 及执行单元、 第二搜索单元、 第三确定单元和协商及执行单元, 其中: 第一确定单元, 配置为确定所述终端不能独立完成用户请求的业务时, 触发第一搜索单元;  The cell carrying the capability attribute name and the cell carrying the capability attribute value occupy a total of 24 bytes. A terminal includes a first determining unit, a first searching unit, a second determining unit, an accessing and executing unit, a second searching unit, a third determining unit, and a negotiation and executing unit, where: the first determining unit is configured to Determining that the terminal cannot trigger the service requested by the user independently, triggering the first search unit;
第一搜索单元, 配置为搜索周边网络的 AP;  a first search unit configured to search for an AP of the surrounding network;
第二确定单元,配置为确定所搜索出的 AP所属的网络中是否存在能协 助所述终端完成所述业务的网络, 存在时触发接入及执行单元, 不存在时 触发第二搜索单元;  a second determining unit, configured to determine whether a network that can assist the terminal to complete the service exists in the network to which the searched AP belongs, triggers an access and execution unit when present, and triggers a second search unit when not present;
接入及执行单元, 配置为接入该能协助所述终端完成所述业务的网络, 与该能协助所述终端完成所述业务的网络协作完成所述业务;  The access and execution unit is configured to access the network that can assist the terminal to complete the service, and complete the service by cooperating with the network that can assist the terminal to complete the service;
第二搜索单元, 配置为搜索周边其他终端的业务能力信息;  a second search unit, configured to search for service capability information of other peripheral terminals;
第三确定单元, 确定出存在能协助所述终端完成所述业务的其他终端 时, 触发协商及执行单元;  a third determining unit, when determining that there is another terminal that can assist the terminal to complete the service, triggering a negotiation and execution unit;
协商及执行单元, 与所述其他终端进行所述业务的协商, 由所述终端 及所搜索出的其他终端组成服务网络共同实现所述业务。  The negotiation and execution unit performs the negotiation of the service with the other terminal, and the service network is formed by the terminal and the searched other terminals to implement the service.
优选地, 所述终端还包括:  Preferably, the terminal further includes:
广播单元, 配置为终端广播所述终端的能力信息; 所述能力信息包括以下信息的至少一种: 终端所需服务的名称、 服务 功能参数、 能力属性名称、 能力属性值。 a broadcast unit configured to broadcast, by the terminal, capability information of the terminal; The capability information includes at least one of the following information: a name of a service required by the terminal, a service function parameter, a capability attribute name, and a capability attribute value.
优选地, 终端与终端之间、终端与 AP之间通过短距离无线通信协议进 行通信;  Preferably, the communication is performed between the terminal and the terminal, and between the terminal and the AP by using a short-range wireless communication protocol;
所述广播单元还配置为, 基于短距离无线通信协议进行能力信息广播。 优选地, 所述业务包括带宽聚合类业务、 内容协同业务、 互动业务、 能力提供及服务标识提供;  The broadcast unit is further configured to perform capability information broadcast based on a short-range wireless communication protocol. Preferably, the service includes a bandwidth aggregation service, a content collaborative service, an interactive service, a capability provision, and a service identifier;
所述协商及执行单元还配置为, 根据业务类型、 业务对服务质量的要 求、 时延的要求、 业务运行环境与其他终端进行业务协商, 并确定出能力 最优的终端或网络节点作为中心节点, 执行所述业务。  The negotiation and execution unit is further configured to perform service negotiation with other terminals according to the service type, the service quality requirement, the delay requirement, the service running environment, and determine the terminal or network node with the best capability as the central node. , performing the business.
优选地, 所述短距离无线通信协议包括 WIFI协议;  Preferably, the short-range wireless communication protocol includes a WIFI protocol;
所述广播单元还配置为, 将能力信息承载于 WIFI帧中的 SSID进行广 播。  The broadcast unit is further configured to broadcast the capability information to the SSID in the WIFI frame for broadcast.
一种业务提供系统, 包括前述的终端、 接入点以及所述接入点所属网 络。  A service providing system includes the foregoing terminal, an access point, and a network to which the access point belongs.
本发明中, 当终端确定自身不能独立完成用户请求的业务时, 搜索周 边网络的 AP, 确定是否存在能协助终端完成业务的网络, 存在时终端接入 该能协助终端完成业务的网络, 与该能协助终端完成业务的网络协作完成 业务; 不存在时终端搜索周边其他终端的业务能力信息, 确定出能协助终 端完成业务的其他终端, 并与其他终端进行业务的协商, 由终端及所搜索 出的其他终端组成服务网络共同实现业务。 本发明在终端建立链接之前能 完成服务的发现及协商过程, 从而面向用户特定的服务需求时, 能完成按 需的业务提供网络组织, 整个过程不需要用户进行配置, 提升了用户的服 务体验。 附图说明 In the present invention, when the terminal determines that the user cannot complete the service requested by the user, the AP searches for the AP of the neighboring network, determines whether there is a network that can assist the terminal to complete the service, and when the terminal accesses the network that can assist the terminal to complete the service, The network can assist the terminal to complete the service to complete the service; when not present, the terminal searches for the service capability information of other peripheral terminals, determines other terminals that can assist the terminal to complete the service, and negotiates with other terminals, and the terminal searches for the service. The other terminals form a service network to jointly implement the business. The invention can complete the service discovery and negotiation process before the terminal establishes the link, so that the user can provide the on-demand service to provide the network organization when the user needs specific service requirements, and the whole process does not require the user to configure, thereby improving the service experience of the user. DRAWINGS
图 1为本发明实施例的 WIFI信标帧格式示意图;  1 is a schematic diagram of a format of a WIFI beacon frame according to an embodiment of the present invention;
图 2为本发明实施例的业务提供方法的流程图;  2 is a flowchart of a service providing method according to an embodiment of the present invention;
图 3为本发明实施例的终端的组成结构示意图。 具体实施方式  FIG. 3 is a schematic structural diagram of a terminal of an embodiment of the present invention. detailed description
本发明的基本思想为: 当终端确定自身不能独立完成用户请求的业务 时, 搜索周边网络的 AP, 确定是否存在能协助终端完成业务的网络, 存在 时终端接入该能协助终端完成业务的网络, 与该能协助终端完成业务的网 络协作完成业务; 不存在时终端搜索周边其他终端的业务能力信息, 确定 出能协助终端完成业务的其他终端, 并与其他终端进行业务的协商, 由终 端及所搜索出的其他终端组成服务网络共同实现业务。  The basic idea of the present invention is as follows: When the terminal determines that the user cannot complete the service requested by the user independently, the AP searches for the AP of the surrounding network, determines whether there is a network that can assist the terminal to complete the service, and when the terminal exists, the terminal accesses the network that can assist the terminal to complete the service. And the network that can assist the terminal to complete the service cooperates to complete the service; when not present, the terminal searches for the service capability information of other peripheral terminals, determines other terminals that can assist the terminal to complete the service, and negotiates with other terminals, and the terminal and The other terminals searched for form a service network to jointly implement the service.
本发明中, 采用最为通用的短距离无线通信协议 WIFI进行说明, 需要 指出的是, 本领域技术人员如采用其他短距离通信协议完全可以参照本发 明所述方法进行适当修改即可。 在 WIFI协议中, 通过复用 WIFI协议服务 集标识(SSID, Service Set Identifier )信息来进行服务及能力信息的广播, 因此, 本发明重新设计了 SSID部分, 以键值表的形式将协同服务组网需要 的终端信息属性值加入到信标帧中, 融入了终端信息能力及服务网络信息 的交互。 图 1为本发明实施例的 WIFI信标帧格式示意图, 如图 1所示, 本 发明将 32字节 (Byte ) 的 SSID信息划分为以下几部分:  In the present invention, the most common short-range wireless communication protocol WIFI is used for description. It should be noted that those skilled in the art can use other short-range communication protocols to perform appropriate modifications according to the method of the present invention. In the WIFI protocol, the service and capability information are broadcasted by multiplexing the WIFI protocol Service Set Identifier information. Therefore, the present invention redesigns the SSID part to associate the service group in the form of a key value table. The terminal information attribute value required by the network is added to the beacon frame, and the interaction of the terminal information capability and the service network information is integrated. FIG. 1 is a schematic diagram of a WIFI beacon frame format according to an embodiment of the present invention. As shown in FIG. 1, the present invention divides a 32-byte (Byte) SSID information into the following parts:
服务名称: 2Byte, 标识终端所需求服务的大类, 按照协同服务的需求 及功能不同, 分为带宽聚合类、 内容协同及互动类, 终端能力提供类及服 务标识提供等。 其中所述带宽聚合类服务是指终端在提供大型文件或视频 受限于自身带宽限制, 无法完成用户需求的业务, 需要借助其他终端的业 务传输能力, 聚合多个终端的带宽进行业务下载, 是多终端协同场景较为 常见的一类业务类型; 内容协同及互动类是指多个终端共享各自终端内容, 或通过互操作完成互动过程, 如多人游戏、 多人协同完成某项工作等; 终 端能力提供类服务是指借助周边终端特有的能力完成某项或多项功能, 该 能力可能是自身终端不具备的或不充足的, 如终端的打印能力、 外放能力、 显示能力等; 提供服务标识, 代表该终端可进行服务提供, 常见的如公共 终端等一般均作为服务提供者。 Service Name: 2Byte, which identifies the types of services required by the terminal. According to the requirements and functions of the collaborative services, it is divided into bandwidth aggregation class, content collaboration and interaction class, terminal capability provision class and service identifier provision. The bandwidth aggregation service refers to a service in which a terminal provides a large file or a video that is limited by its own bandwidth and cannot complete the user's demand. The service transmission capability of the other terminal is required to aggregate the bandwidth of multiple terminals for service download. Multi-terminal collaboration scenarios are more common types of services; content collaboration and interaction classes mean that multiple terminals share their respective terminal content. Or through the interoperability to complete the interactive process, such as multi-player games, multi-person collaborative work, etc.; Terminal capability-providing service refers to the completion of one or more functions by means of the unique capabilities of the peripheral terminals, which may be their own terminals. Having or not sufficient, such as the printing capability, external capacity, display capability, etc. of the terminal; providing service identification, providing service provision on behalf of the terminal, and common such as public terminals are generally used as service providers.
服务功能参数: 6Byte, 如果服务名称为具体服务类别, 则该部分是对 前述服务进一步的约束, 比如业务类型、 业务功能描述信息如对服务质量 的要求, 时延的要求, 业务运行环境等, 如果服务名称为提供服务标识, 则此部分为该终端所能提供的服务能力。 本发明中不作具体限定, 提供应 用程序接口( API, Application Programming Interface )接口供本领域技术人 员根据具体的服务类型进行定义。  Service function parameter: 6Byte. If the service name is a specific service category, the part is further constrained by the foregoing service, such as service type, service function description information such as service quality requirements, delay requirement, service running environment, etc. If the service name is a service identifier, this part is the service capability that the terminal can provide. It is not specifically limited in the present invention, and an API (Application Programming Interface) interface is provided for those skilled in the art to define according to a specific service type.
能力属性名称: 4Byte, 描述终端的能力属性, 包括终端类型、 支持的 通信协议、 硬件配置、 运行环境、 带宽、 计算能力、 传输能力及所具备的 能力 (如数据采集、 信息处理、 打印、 外放、 外显等)。  Capability attribute name: 4Byte, describes the capability attributes of the terminal, including terminal type, supported communication protocol, hardware configuration, operating environment, bandwidth, computing power, transmission capability, and capabilities (such as data acquisition, information processing, printing, and external Put, show, etc.).
能力属性值: 4Byte, 对应能力属性的属性值, 如该属性不存在属性值, 采用缺省标记。  Capability attribute value: 4Byte, the attribute value corresponding to the capability attribute. If the attribute does not exist, the default tag is used.
需要指出, 如果服务名称为具体服务类别上述能力属性名称和能力属 性值代表请求服务所需的终端能力信息; 如果服务名称为提供服务标识, 则能力属性名称和能力属性值代表该终端自身能力信息。 由于受字节空间 限制, 广播信息中能力属性采用服务提供方或请求方最为关心的三个值, 如不足三个采用缺省值。  It should be noted that if the service name is a specific service category, the capability attribute name and the capability attribute value represent the terminal capability information required for requesting the service; if the service name is the service identifier, the capability attribute name and the capability attribute value represent the terminal capability information of the terminal. . Due to the limitation of byte space, the capability attribute in the broadcast information adopts three values that the service provider or the requester is most concerned about, for example, less than three adopt the default value.
本发明中,终端需要利用承载有图 1所示的 SSID的信标帧进行能力信 息广播。 同样地, AP也广播自身所属网络的能力信息; 具体的, AP将自 身所属网络中的网络节点及服务器的能力信息作为自身所属网络的能力信 息进行广播。 这样, 终端与终端之间、 终端与 AP之间可以通过广播消息确 定出其他终端、 AP所支持的能力, 从而在确定出自身不能支持用户所请求 的业务时, 与其他终端或 AP所属的网络融合实现用户所请求的业务。 In the present invention, the terminal needs to perform capability information broadcast using a beacon frame carrying the SSID shown in FIG. 1. Similarly, the AP also broadcasts the capability information of the network to which it belongs. Specifically, the AP broadcasts the capability information of the network node and the server in the network to which the network belongs, as the capability information of the network to which it belongs. In this way, between the terminal and the terminal, between the terminal and the AP, the broadcast message can be confirmed. The other terminal and the capabilities supported by the AP are determined, so that when it is determined that the user cannot support the service requested by the user, the service requested by the user is integrated with the network to which the other terminal or the AP belongs.
以下结合附图以及实施例, 对本发明进行进一步详细说明。 应当理解, 此处所描述的具体实施例仅仅用以解释本发明, 并不限定本发明。  The present invention will be further described in detail below in conjunction with the drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
图 2为本发明实施例的业务提供方法的流程图, 如图 2所示, 本发明 实施例的业务提供方法包括以下步骤:  FIG. 2 is a flowchart of a service providing method according to an embodiment of the present invention. As shown in FIG. 2, a service providing method according to an embodiment of the present invention includes the following steps:
步骤 201, 用户终端发送自己的服务需求。  Step 201: The user terminal sends its own service request.
步骤 202,终端根据所请求业务信息判断自身是否可以独立完成该项业 务, 如果可以则执行步骤 203, 不可以则执行步骤 204。  Step 202: The terminal determines, according to the requested service information, whether the service can be completed independently. If yes, step 203 is performed, and step 204 is performed.
本步骤中, 终端对服务的判断需要借助用户使用习惯、 偏好及服务器 提供的业务数据进行判断, 同一业务不同用户可能有不同服务需求。  In this step, the terminal's judgment on the service needs to be judged by the user's usage habits, preferences, and service data provided by the server, and different users of the same service may have different service requirements.
步骤 203, 终端通过自身能力完成业务提供。  Step 203: The terminal completes service provision by using its own capabilities.
步骤 204, 将业务需求信息封装至 SSID中, 包括根据业务类型选择对 应的服务名称, 将用户服务需求信息封装至服务功能描述, 根据对提供服 务终端的需求, 封装终端属性信息。 当然, 上述的 SSID中也承载有该终端 所支持的能力信息。 能力信息包括以下信息的至少一种: 终端所需服务的 名称、 服务功能参数、 能力属性名称、 能力属性值。  Step 204: Encapsulate the service requirement information into the SSID, including selecting a corresponding service name according to the service type, encapsulating the user service requirement information into the service function description, and encapsulating the terminal attribute information according to the requirement for providing the service terminal. Of course, the above SSID also carries the capability information supported by the terminal. The capability information includes at least one of the following information: a name of a service required by the terminal, a service function parameter, a capability attribute name, and a capability attribute value.
步骤 205, 搜索周边网络 AP, 查看各 AP的 SSID信息, 检查周边是否 存在提供所需服务的服务网络,如果有则执行步骤 206,否则执行步骤 208。  Step 205: Search for the neighboring network AP, check the SSID information of each AP, check whether there is a service network providing the required service in the surrounding area, if yes, go to step 206, otherwise go to step 208.
步骤 206,根据服务需求信息及该服务网络提供的服务能力信息进行协 商, 确定该网络是否满足用户服务需求, 如不能满足, 标记该网络为非服 务网络, 执行步骤 205, 否则执行步骤 207。  Step 206: Negotiate according to the service requirement information and the service capability information provided by the service network, and determine whether the network meets the user service requirement. If the network is not satisfied, mark the network as a non-service network, and go to step 205. Otherwise, go to step 207.
这里, 确定网络是否满足用户服务需求, 主要是根据服务需求的业务 类型, 业务对服务质量的要求、 时延的要求、 业务运行环境等确定该网络 是否具有此能力, 如果有则使终端接入该网络中, 网络服务器根据网络中 节点的能力信息, 为终端确定与终端交互的节点, 并为终端分配资源, 协 同终端实现用户所请求的业务。 如终端需进行打印业务时, 而终端自身未 连接打印机等打印设备, 此时, 终端可将打印业务的相关设置要求等通过Here, it is determined whether the network meets the user service requirement, mainly according to the service type of the service demand, the service quality requirement, the delay requirement, the service operation environment, etc., to determine whether the network has the capability, and if so, the terminal access In the network, the network server is based on the network. The capability information of the node determines a node that interacts with the terminal for the terminal, and allocates resources for the terminal, and the collaborative terminal implements the service requested by the user. If the terminal needs to print the service, and the terminal itself is not connected to a printing device such as a printer, the terminal can pass the relevant setting requirements of the printing service.
SSID信息进行广播, 而某一网络具备打印功能, 即可在终端接入该网络后, 根据终端的打印业务及其业务需求参数, 确定网络中打印设备是否满足终 端的打印需求, 并在满足终端的打印业务需求时, 为终端提供打印业务。 The SSID information is broadcast, and a certain network has a printing function, and after the terminal accesses the network, it determines whether the printing device in the network satisfies the printing requirement of the terminal according to the printing service of the terminal and the service demand parameter thereof, and satisfies the terminal. When printing business needs, provide printing services for the terminal.
同样地, 终端侧用户的业务也可以包括文件转换、 文件传输等。 本领 域技术人员应当理解, 根据业务需求进行业务协商是容易实现的, 由于本 发明中涉及的业务类型比较多, 不能——列举各业务协商的过程, 本领域 技术人员应当理解, 这并不意味着本发明不能实现这些业务协商。 对于现 有的任何业务, 只要确定出业务的相关需求, 根据这些业务需求的参数及 属性, 即可实现相应的业务协商。  Similarly, the service of the terminal side user may also include file conversion, file transfer, and the like. Those skilled in the art should understand that it is easy to implement service negotiation according to service requirements. Since there are many types of services involved in the present invention, it is impossible to enumerate the process of each service negotiation, and those skilled in the art should understand that this does not mean that These services cannot be implemented by the present invention. For any existing business, as long as the relevant requirements of the business are determined, the corresponding business negotiation can be realized according to the parameters and attributes of the business requirements.
步骤 207, 完成自动配置加入该服务网络, 与网络内其他节点进行交互 完成服务提供。  Step 207, completing automatic configuration and joining the service network, and interacting with other nodes in the network to complete service provision.
步骤 208, 将节点配置为点对点(Ad hoc )模式, 通过双向交互, 获得 周边终端的 SSID信息,通过对其解析获得周边可提供服务或需求同样服务 的终端。  Step 208: Configure the node into an Ad hoc mode, obtain the SSID information of the peripheral terminal through two-way interaction, and obtain a terminal that can provide services or request the same service by parsing the SSID information.
本步骤中, 之所以配置为 Ad hoc模式, 是为了让其他终端可以在建立 连接之前搜索到自己的服务需求或能够提供服务能力信息。  In this step, the reason is configured as Ad hoc mode, so that other terminals can search for their own service requirements or provide service capability information before establishing a connection.
步骤 209, 多个能够提供该项服务的终端根据终端能力进行协商, 选取 能力最优节点为中心节点, 形成服务网络。  Step 209: A plurality of terminals capable of providing the service negotiate according to the terminal capability, and select an optimal node as a central node to form a service network.
本步骤中, 在中心节点的选举过程中, 采用赋权和的形式, 根据 SSID 中终端能力属性值求加权和, 选取加权和最大的终端为中心节点。  In this step, in the election process of the central node, the weighted sum is used according to the value of the terminal capability attribute in the SSID, and the terminal with the largest weighted sum is selected as the central node.
这里, 之所以选出中心节点的终端, 主要是基于交互的方便考虑的, 如果某一终端能承载业务的较多处理, 可以将其作为通信的中心, 这样, 各终端在进行业务协商时, 能减少业务协商的数据量。 业务协商的方式与 前述的终端与 AP所属网络之间的业务协商方式基本相同。 Here, the reason why the terminal of the central node is selected is mainly based on the convenience of interaction. If a terminal can carry more processing of the service, it can be used as the center of communication, thus, When each terminal performs service negotiation, it can reduce the amount of data negotiated by the service. The manner of service negotiation is basically the same as the manner of service negotiation between the terminal and the network to which the AP belongs.
本发明中, 终端协商完成的业务主要包括多人游戏等, 如当终端用户 需要进行多人游戏时, 可通过自己的终端搜索自己临近的终端, 并在搜索 出多个终端时, 由这些终端之间进行能力协商, 确定出中心节点终端, 并 协同执行该游戏。 协同游戏业务的执行方式, 与现有的互联网所支持的多 人游戏的实现方式类似, 只是本发明所支持的多人游戏需将其中一终端作 为中心节点终端而实现。  In the present invention, the services negotiated by the terminal mainly include multi-player games, etc., for example, when the terminal user needs to perform multi-player games, the terminal can search for the neighboring terminal through the terminal, and when searching for multiple terminals, the terminals are The capability negotiation is performed to determine the central node terminal and perform the game cooperatively. The implementation of the collaborative game service is similar to the implementation of the multiplayer game supported by the existing Internet, except that the multiplayer game supported by the present invention needs to implement one of the terminals as a central node terminal.
步骤 210, 服务网络的 AP节点根据网络中的节点及服务器的能力信息 定期对 SSID信息进行更新, 发布服务网络所能提供服务信息。  Step 210: The AP node of the service network periodically updates the SSID information according to the capability information of the node and the server in the network, and the service network can provide the service information.
通过以上方法可以自主地聚合一定区域内的终端能力, 通过多个终端 的协同配合完成统一业务提供。  Through the above methods, the terminal capability in a certain area can be autonomously aggregated, and the unified service provision is completed through cooperation of multiple terminals.
本发明的服务的发现及组网方法, 可以在用户终端进入服务终端分布 区域自主完成服务发现及网络的配置, 并最终完成业务提供过程。 由于终 端发现与服务发现先于终端连接之前而执行, 实现了服务能力的透明访问, 省去了用户配置的繁瑣过程, 可以实现用户的最佳服务体验。  The service discovery and networking method of the present invention can complete the service discovery and network configuration autonomously in the user terminal to enter the service terminal distribution area, and finally complete the service provision process. Since the terminal discovery and service discovery are performed before the terminal is connected, the transparent access of the service capability is realized, the cumbersome process of user configuration is omitted, and the user's optimal service experience can be realized.
图 3为本发明实施例的终端的组成结构示意图, 如图 3所示, 本发明 的终端包括第一确定单元 30、 第一搜索单元 31、 第二确定单元 32、 接入及 执行单元 33、 第二搜索单元 34、 第三确定单元 35和协商及执行单元 36, 其中:  3 is a schematic structural diagram of a terminal according to an embodiment of the present invention. As shown in FIG. 3, the terminal of the present invention includes a first determining unit 30, a first searching unit 31, a second determining unit 32, and an access and executing unit 33. The second search unit 34, the third determining unit 35, and the negotiation and execution unit 36, wherein:
第一确定单元 30, 配置为确定所述终端不能独立完成用户请求的业务 时, 触发第一搜索单元 31 ;  The first determining unit 30 is configured to: when it is determined that the terminal cannot complete the service requested by the user independently, trigger the first searching unit 31;
第一搜索单元 31, 配置为搜索周边网络的 AP;  The first search unit 31 is configured to search for an AP of the surrounding network;
第二确定单元 32, 配置为确定所搜索出的 AP所属的网络中是否存在 能协助所述终端完成所述业务的网络, 存在时触发接入及执行单元 33, 不 存在时触发第二搜索单元 34; The second determining unit 32 is configured to determine whether there is a network in the network to which the searched AP belongs to assist the terminal to complete the service, and if yes, trigger the access and execution unit 33, When present, the second search unit 34 is triggered;
接入及执行单元 33, 配置为接入该能协助所述终端完成所述业务的网 络, 与该能协助所述终端完成所述业务的网络协作完成所述业务;  The access and execution unit 33 is configured to access the network that can assist the terminal to complete the service, and complete the service by cooperating with the network that can assist the terminal to complete the service;
第二搜索单元 34, 配置为搜索周边其他终端的业务能力信息; 第三确定单元 35, 确定出存在能协助所述终端完成所述业务的其他终 端时, 触发协商及执行单元 36;  The second search unit 34 is configured to search for the service capability information of other peripheral terminals; the third determining unit 35, when it is determined that there is another terminal capable of assisting the terminal to complete the service, triggering the negotiation and execution unit 36;
协商及执行单元 36, 与所述其他终端进行所述业务的协商, 由所述终 端及所搜索出的其他终端组成服务网络共同实现所述业务。  The negotiation and execution unit 36 performs the negotiation of the service with the other terminal, and the service network is formed by the terminal and the other terminals that are searched for to implement the service.
在图 3所示终端的基础上, 本发明的终端还包括:  Based on the terminal shown in FIG. 3, the terminal of the present invention further includes:
广播单元(图 3中未示出), 配置为终端广播所述终端的能力信息; 所述能力信息包括以下信息的至少一种: 终端所需服务的名称、 服务 功能参数、 能力属性名称、 能力属性值。  The broadcast unit (not shown in FIG. 3) is configured to: the terminal broadcasts capability information of the terminal; the capability information includes at least one of the following information: a name of the service required by the terminal, a service function parameter, a capability attribute name, and a capability. Property value.
本发明中, 终端与终端之间、终端与 AP之间通过短距离无线通信协议 进行通信;  In the present invention, communication between the terminal and the terminal, and between the terminal and the AP through a short-range wireless communication protocol;
所述广播单元还配置为, 基于短距离无线通信协议进行能力信息广播。 所述业务包括带宽聚合类业务、 内容协同业务、 互动业务、 能力提供 及服务标识提供;  The broadcast unit is further configured to perform capability information broadcast based on a short-range wireless communication protocol. The services include bandwidth aggregation services, content collaboration services, interactive services, capability provisioning, and service identity provisioning;
所述协商及执行单元 36还配置为, 根据业务类型, 业务对服务质量的 要求、 时延的要求、 业务运行环境与其他终端进行业务协商, 并确定出能 力最优的终端或网络节点作为中心节点, 执行所述业务。  The negotiation and execution unit 36 is further configured to perform service negotiation with other terminals according to the service type, the service quality requirement, the delay requirement, the service running environment, and determine the terminal or network node with the best capability as the center. Node, executing the service.
所述短距离无线通信协议包括 WIFI协议;  The short-range wireless communication protocol includes a WIFI protocol;
所述广播单元还配置为, 将能力信息承载于 WIFI帧中的 SSID进行广 播。  The broadcast unit is further configured to broadcast the capability information to the SSID in the WIFI frame for broadcast.
所述 WIFI帧中的 SSID至少包括承载终端所需服务的名称的信元、 承 载服务功能参数的信元、 承载能力属性名称的信元以及承载能力属性值的 信元; The SSID in the WIFI frame includes at least a cell carrying a name of a service required by the terminal, a cell carrying a service function parameter, a cell carrying a capability attribute name, and a value of a bearer capability attribute. Cell
其中, 承载终端所需服务的名称的信元占用 2字节;  Wherein, the cell carrying the name of the service required by the terminal occupies 2 bytes;
承载服务功能参数的信元占用 6字节;  The cell carrying the service function parameter occupies 6 bytes;
承载能力属性名称的信元以及承载能力属性值的信元共占用 24字节。 其中, 承载能力属性名称的信元以及承载能力属性值的信元可以有多个。  The cell carrying the capability attribute name and the cell carrying the capability attribute value occupy a total of 24 bytes. There may be multiple cells carrying the capability attribute name and cells carrying the capability attribute value.
本领域技术人员应当理解, 图 3 中所示的终端中的各处理单元的实现 功能可参照前述业务提供方法的相关描述而理解。 本领域技术人员应当理 解, 图 3 所示的终端中各处理单元的功能可通过运行于处理器上的程序而 实现, 也可通过具体的逻辑电路而实现。  Those skilled in the art should understand that the implementation functions of the processing units in the terminal shown in FIG. 3 can be understood by referring to the related description of the foregoing service providing method. Those skilled in the art should understand that the functions of the processing units in the terminal shown in FIG. 3 can be implemented by a program running on the processor, or can be implemented by a specific logic circuit.
本发明还记载了一种业务提供系统, 所述系统包括图 3 所示的终端、 接入点以及所述接入点所属网络。 各网元之间的信息交互可参见前文描述, 这里不再赘述其细节。  The present invention also describes a service providing system, which includes the terminal, the access point, and the network to which the access point belongs as shown in FIG. For information interaction between network elements, refer to the foregoing description, and details are not described herein.
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。  The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.
工业实用性  Industrial applicability
本发明在终端建立链接之前能完成服务的发现及协商过程, 从而面向 用户特定的服务需求时, 能完成按需的业务提供网络组织, 整个过程不需 要用户进行配置, 提升了用户的服务体验。  The invention can complete the service discovery and negotiation process before the terminal establishes the link, so that when the user-specific service demand is met, the on-demand service can be provided to provide the network organization, and the whole process does not need to be configured by the user, thereby improving the service experience of the user.

Claims

权利要求书 claims
1、 一种业务提供方法, 包括: 1. A service provision method, including:
终端确定自身不能独立完成用户请求的业务时, 搜索周边网络的接入 点 AP, 确定是否存在能协助所述终端完成所述业务的网络, 存在时所述终 端接入该能协助所述终端完成所述业务的网络, 与该能协助所述终端完成 所述业务的网络协作完成所述业务; 不存在时所述终端搜索周边其他终端 的业务能力信息, 确定出能协助所述终端完成所述业务的其他终端, 并与 所述其他终端进行所述业务的协商, 由所述终端及所搜索出的其他终端组 成服务网络共同实现所述业务。 When the terminal determines that it cannot independently complete the service requested by the user, it searches for the access point AP of the surrounding network to determine whether there is a network that can assist the terminal in completing the service. If it exists, the terminal accesses the network that can assist the terminal in completing the service. The network of the service cooperates with the network that can assist the terminal to complete the service to complete the service; if it does not exist, the terminal searches for the service capability information of other surrounding terminals and determines the network that can assist the terminal to complete the service. other terminals of the service, and negotiates the service with the other terminals, and the terminal and the searched other terminals form a service network to jointly realize the service.
2、 根据权利要求 1所述的方法, 其中, 所述方法还包括: 2. The method according to claim 1, wherein the method further includes:
终端广播自身的能力信息, 和 /或, AP广播自身所属网络的能力信息; 所述能力信息包括以下信息的至少一种: 终端所需服务的名称、 服务 功能参数、 能力属性名称、 能力属性值。 The terminal broadcasts its own capability information, and/or the AP broadcasts the capability information of the network to which it belongs; the capability information includes at least one of the following information: the name of the service required by the terminal, service function parameters, capability attribute names, and capability attribute values .
3、 根据权利要求 1所述的方法, 其中, 所述方法还包括: 3. The method according to claim 1, wherein the method further includes:
AP 将自身所属网络中的网络节点及服务器的能力信息作为自身所属 网络的能力信息进行广播。 The AP broadcasts the capability information of the network nodes and servers in the network to which it belongs as the capability information of the network to which it belongs.
4、 根据权利要求 1至 3任一项所述的方法, 其中, 所述方法还包括: 终端与终端之间、 终端与 AP之间通过短距离无线通信协议进行通信; 终端及 AP基于短距离无线通信协议进行能力信息广播。 4. The method according to any one of claims 1 to 3, wherein the method further includes: communicating between the terminal and the terminal and between the terminal and the AP through a short-range wireless communication protocol; the terminal and the AP communicate based on the short-range wireless communication protocol. The wireless communication protocol broadcasts capability information.
5、根据权利要求 4所述的方法, 其中, 所述业务包括带宽聚合类业务、 内容协同业务、 互动业务、 能力提供及服务标识提供; 5. The method according to claim 4, wherein the services include bandwidth aggregation services, content collaboration services, interactive services, capability provision and service identification provision;
所述方法还包括: The method also includes:
终端根据业务类型、 业务对服务质量的要求、 时延的要求、 业务运行 环境与其他终端进行业务协商, 并确定出能力最优的终端或网络节点作为 中心节点, 执行所述业务。 The terminal negotiates services with other terminals based on the service type, service quality requirements, delay requirements, and service operating environment, and determines the terminal or network node with the best capabilities as the central node to execute the service.
6、 根据权利要求 4所述的方法, 其中, 所述短距离无线通信协议包括 无线保真 WIFI协议; 6. The method according to claim 4, wherein the short-range wireless communication protocol includes a wireless fidelity WIFI protocol;
终端及 AP将能力信息承载于 WIFI帧中的服务集标识 SSID进行广播。 The terminal and AP broadcast the capability information in the service set identifier SSID in the WIFI frame.
7、根据权利要求 6所述的方法, 其中, 所述 WIFI帧中的 SSID至少包 括承载终端所需服务的名称的信元、 承载服务功能参数的信元、 承载能力 属性名称的信元以及^载能力属性值的信元; 7. The method according to claim 6, wherein the SSID in the WIFI frame at least includes an information element carrying the name of the service required by the terminal, an information element carrying service function parameters, an information element carrying the name of the capability attribute, and A cell carrying a capability attribute value;
其中, 承载终端所需服务的名称的信元占用 2字节; Among them, the information element carrying the name of the service required by the terminal occupies 2 bytes;
承载服务功能参数的信元占用 6字节; The cell carrying service function parameters occupies 6 bytes;
承载能力属性名称的信元以及承载能力属性值的信元共占用 24字节。 The information element carrying the capability attribute name and the information element carrying the capability attribute value occupy a total of 24 bytes.
8、 一种终端, 包括第一确定单元、 第一搜索单元、 第二确定单元、 接 入及执行单元、 第二搜索单元、 第三确定单元和协商及执行单元, 其中: 第一确定单元, 配置为确定所述终端不能独立完成用户请求的业务时, 触发第一搜索单元; 8. A terminal, including a first determination unit, a first search unit, a second determination unit, an access and execution unit, a second search unit, a third determination unit and a negotiation and execution unit, wherein: the first determination unit, Configured to trigger the first search unit when it is determined that the terminal cannot independently complete the service requested by the user;
第一搜索单元, 配置为搜索周边网络的 AP; The first search unit is configured to search for APs in the surrounding network;
第二确定单元,配置为确定所搜索出的 AP所属的网络中是否存在能协 助所述终端完成所述业务的网络, 存在时触发接入及执行单元, 不存在时 触发第二搜索单元; The second determination unit is configured to determine whether there is a network that can assist the terminal in completing the service in the network to which the searched AP belongs, and trigger the access and execution unit when it exists, and trigger the second search unit when it does not exist;
接入及执行单元, 配置为接入该能协助所述终端完成所述业务的网络, 与该能协助所述终端完成所述业务的网络协作完成所述业务; The access and execution unit is configured to access the network that can assist the terminal in completing the service, and cooperate with the network that can assist the terminal in completing the service to complete the service;
第二搜索单元, 配置为搜索周边其他终端的业务能力信息; The second search unit is configured to search for business capability information of other surrounding terminals;
第三确定单元, 确定出存在能协助所述终端完成所述业务的其他终端 时, 触发协商及执行单元; The third determination unit triggers the negotiation and execution unit when it determines that there are other terminals that can assist the terminal in completing the service;
协商及执行单元, 与所述其他终端进行所述业务的协商, 由所述终端 及所搜索出的其他终端组成服务网络共同实现所述业务。 The negotiation and execution unit negotiates the service with the other terminals, and the terminal and the searched other terminals form a service network to jointly realize the service.
9、 根据权利要求 8所述的终端, 其中, 所述终端还包括: 广播单元, 配置为终端广播所述终端的能力信息; 9. The terminal according to claim 8, wherein the terminal further includes: A broadcast unit, configured for the terminal to broadcast the capability information of the terminal;
所述能力信息包括以下信息的至少一种: 终端所需服务的名称、 服务 功能参数、 能力属性名称、 能力属性值。 The capability information includes at least one of the following information: the name of the service required by the terminal, service function parameters, capability attribute names, and capability attribute values.
10、 根据权利要求 8或 9所述的终端, 其中: 10. The terminal according to claim 8 or 9, wherein:
终端与终端之间、 终端与 AP之间通过短距离无线通信协议进行通信; 所述广播单元还配置为, 基于短距离无线通信协议进行能力信息广播。 Communication between terminals and between terminals and APs is carried out through short-range wireless communication protocols; the broadcast unit is also configured to broadcast capability information based on short-range wireless communication protocols.
11、 根据权利要求 10所述的终端, 其中, 所述业务包括带宽聚合类业 务、 内容协同业务、 互动业务、 能力提供及服务标识提供; 11. The terminal according to claim 10, wherein the services include bandwidth aggregation services, content collaboration services, interactive services, capability provision and service identification provision;
所述协商及执行单元还配置为, 根据业务类型、 业务对服务质量的要 求、 时延的要求、 业务运行环境与其他终端进行业务协商, 并确定出能力 最优的终端或网络节点作为中心节点, 执行所述业务。 The negotiation and execution unit is also configured to conduct business negotiation with other terminals based on the service type, service quality requirements, delay requirements, and service operating environment, and determine the terminal or network node with the best capabilities as the central node , perform the described business.
12、 根据权利要求 11所述的终端, 其中, 所述短距离无线通信协议包 括 WIFI协议; 12. The terminal according to claim 11, wherein the short-range wireless communication protocol includes a WIFI protocol;
所述广播单元还配置为, 将能力信息承载于 WIFI帧中的 SSID进行广 播。 The broadcast unit is also configured to broadcast the capability information carried by the SSID in the WIFI frame.
13、 一种业务提供系统, 包括权利要求 8至 12任一所述的终端、 接入 点以及所述接入点所属网络。 13. A service providing system, including the terminal described in any one of claims 8 to 12, an access point, and the network to which the access point belongs.
PCT/CN2013/078064 2012-08-28 2013-06-26 Service-providing method and system, and terminal WO2013178119A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210310294.9 2012-08-28
CN201210310294.9A CN103634880B (en) 2012-08-28 2012-08-28 Business providing method and system, terminal

Publications (1)

Publication Number Publication Date
WO2013178119A1 true WO2013178119A1 (en) 2013-12-05

Family

ID=49672452

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/078064 WO2013178119A1 (en) 2012-08-28 2013-06-26 Service-providing method and system, and terminal

Country Status (2)

Country Link
CN (1) CN103634880B (en)
WO (1) WO2013178119A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104066088A (en) * 2014-06-06 2014-09-24 Tcl通讯(宁波)有限公司 Wireless internet access strategy method, system and definition method for mobile terminal
CN104378430A (en) * 2014-11-14 2015-02-25 小米科技有限责任公司 Service information providing method and device
CN114553952A (en) * 2022-02-22 2022-05-27 Oppo广东移动通信有限公司 Device management method, device, electronic device and storage medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104244338B (en) * 2014-09-19 2016-04-06 努比亚技术有限公司 Service negotiating method, system and communication terminal
CN108540506A (en) * 2017-03-01 2018-09-14 中国移动通信有限公司研究院 A kind of information transferring method, first server and terminal device
CN115065784A (en) * 2022-06-30 2022-09-16 天翼数字生活科技有限公司 Method, device and network for sharing processing capability of camera device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1513313A1 (en) * 2003-09-08 2005-03-09 Alcatel A method of accessing a network service or resource, a network terminal and a personal user device therefore
CN101102248A (en) * 2007-08-16 2008-01-09 四川长虹电器股份有限公司 Service collaboration method between devices in home network
CN101341686A (en) * 2005-12-20 2009-01-07 微软公司 Proximity service discovery in wireless networks
CN101605299A (en) * 2008-03-24 2009-12-16 英特尔公司 The technology of the service that is used for finding that wireless network provides
US20100093342A1 (en) * 2008-10-09 2010-04-15 Padmaja Ramachandra Rao System and method for temporarily accessing another user's service

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1513313A1 (en) * 2003-09-08 2005-03-09 Alcatel A method of accessing a network service or resource, a network terminal and a personal user device therefore
CN101341686A (en) * 2005-12-20 2009-01-07 微软公司 Proximity service discovery in wireless networks
CN101102248A (en) * 2007-08-16 2008-01-09 四川长虹电器股份有限公司 Service collaboration method between devices in home network
CN101605299A (en) * 2008-03-24 2009-12-16 英特尔公司 The technology of the service that is used for finding that wireless network provides
US20100093342A1 (en) * 2008-10-09 2010-04-15 Padmaja Ramachandra Rao System and method for temporarily accessing another user's service

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104066088A (en) * 2014-06-06 2014-09-24 Tcl通讯(宁波)有限公司 Wireless internet access strategy method, system and definition method for mobile terminal
CN104378430A (en) * 2014-11-14 2015-02-25 小米科技有限责任公司 Service information providing method and device
CN104378430B (en) * 2014-11-14 2018-07-06 小米科技有限责任公司 The method and device of information on services is provided
CN114553952A (en) * 2022-02-22 2022-05-27 Oppo广东移动通信有限公司 Device management method, device, electronic device and storage medium
CN114553952B (en) * 2022-02-22 2024-05-03 Oppo广东移动通信有限公司 Device management method and device, electronic device and storage medium

Also Published As

Publication number Publication date
CN103634880A (en) 2014-03-12
CN103634880B (en) 2018-12-25

Similar Documents

Publication Publication Date Title
US20210084443A1 (en) Methods of joint registration and de-registration for proximity services and internet of things services
US11122027B2 (en) End-to-end M2M service layer sessions
EP3855774B1 (en) Mobile core network service exposure for the user equipment
EP2871870B1 (en) Device and service discovery method, and device middleware
RU2617928C2 (en) Method and device for forming peer group in direct communication system
EP3195526B1 (en) Layered management server delegation
WO2013178119A1 (en) Service-providing method and system, and terminal
CN104717603B (en) A kind of Bluetooth Low Energy networking simultaneously supports the method and system of convenient interconnection
WO2018120390A1 (en) Method for establishing communication, and terminal
CN106465251B (en) System and method for utilizing stored high-level information
US11902860B2 (en) Communication method and device
WO2014063514A1 (en) Method and bluetooth device for broadcasting data through bluetooth
WO2022171051A1 (en) Communication method and device
US10587701B2 (en) Registration management in the service layer
WO2011140906A1 (en) Network accessing method and apparatus for device in wireless sensor network
KR20170048380A (en) Establishing and configuring dynamic subscriptions
WO2022002244A1 (en) Online subscription method, apparatus and system
WO2014005551A1 (en) Ue configuration method, network side device and system for proximity awareness
US9980122B2 (en) Method and device for conducting discovery in wireless communication system
CN114079995A (en) Relay management method and communication device
WO2007045134A1 (en) A communication system and a communication method
WO2014169670A1 (en) Wlan networking method and system
KR20130068795A (en) Device and method for searching available service
WO2022021435A1 (en) Data transmission method, device, and storage medium
WO2023273533A1 (en) Network management method and apparatus

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

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

Country of ref document: EP

Kind code of ref document: A1