WO2012025000A1 - Method and apparatus for bluetooth service management - Google Patents

Method and apparatus for bluetooth service management Download PDF

Info

Publication number
WO2012025000A1
WO2012025000A1 PCT/CN2011/077636 CN2011077636W WO2012025000A1 WO 2012025000 A1 WO2012025000 A1 WO 2012025000A1 CN 2011077636 W CN2011077636 W CN 2011077636W WO 2012025000 A1 WO2012025000 A1 WO 2012025000A1
Authority
WO
WIPO (PCT)
Prior art keywords
bluetooth
service
remote
bluetooth device
local
Prior art date
Application number
PCT/CN2011/077636
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 WO2012025000A1 publication Critical patent/WO2012025000A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Definitions

  • the paired Bluetooth devices are added to the device management list of the Bluetooth device 302 and displayed to the user through the user interface.
  • the service management module 3022 can set the Bluetooth service supported by the local Bluetooth device 302 and store it in the database 3025.
  • the user selects a remote Bluetooth device A in the device management module 3023 through the user interface 3021.
  • the user sets which Bluetooth services of the local Bluetooth device can be used by the remote Bluetooth device A. If the user wants to simply handle, the remote Bluetooth device 302 can access all Bluetooth services provided by the local Bluetooth device through the control of the service management module 3022.

Landscapes

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

Abstract

A method and an apparatus for Bluetooth service management are disclosed, the method comprising: a local Bluetooth device setting different Bluetooth services to be provided for different remote Bluetooth devices; the local Bluetooth device receiving a request message from a remote Bluetooth device, the request message being used for requesting a Bluetooth service from the local Bluetooth device; the local Bluetooth device determining whether the requested Bluetooth service corresponds to a Bluetooth service among the Bluetooth services set for the remote Bluetooth device; if it does, the local Bluetooth device starts the requested Bluetooth service with the remote Bluetooth device. The present invention solves the problem that Bluetooth service management in the prior art fails to ensure information privacy and security, and provides personalized and user-friendly use of Bluetooth services.

Description

蓝牙服务的管理方法和装置 技术领域 本发明涉及蓝牙通信领域, 具体而言, 涉及一种蓝牙服务的管理方法和装置。 背景技术 蓝牙 (Bluetooth) 技术是无线数据和话音传输的开放性标准, 主要解决短距离的 无线连接, 一般为 10厘米到 10米的范围。将蓝牙技术应用于例如移动电话和计算机, 则这两种设备可以彼此相连, 而不需要电缆。 几乎每一种数字设备 (如打印机、 个人数据助理(PDA)、 计算机、 传真机、 键盘 和遥控器) 都可以作为这样的蓝牙系统的一部分。 蓝牙技术不仅使得这些设备摆脱了复杂和不方便的线缆, 而且也通过组成特定的 蓝牙无线网络而提供在现有数据网络和外围设备之间以及在固定网络的子结构之间的 接口。 蓝牙组织定义了如何使用协议栈 (Profile Stack), 并且如何通过协议栈来提供每 一项蓝牙服务, 如何发现彼此提供的蓝牙服务。 利用特定数据来进行蓝牙通信, 则选 择特定服务, 使得不同的设备可以同时使用相同的蓝牙服务。 蓝牙设备提供的服务基于协议栈层次类型。 例如, 用于打印照片的设备支持" BPP (Basic Print Profile,基本打印服务) -BIP (Basic Image Profile,基本图像服务) -HCRP (Hardcopy Cable Replacement Profile,硬复制电缆复位服务)-0PP(0bject Push Profile, 对象推送服务) "等几种服务。 如果两个不同的设备支持不同类型的服务, 或一个设备 使用与另一设备不同的服务类型, 则两个设备不能彼此相连。 例如,如果设备 A使用基本打印服务(BPP),而设备 B提供对象推送服务(0PP), 则不能进行在这两种设备之间的打印操作。 近来, 蓝牙组织已经定义开发了各种服务, 并且这些服务被应用在各种不同的蓝 牙设备中。 在当前市场上的蓝牙设备中, 用户不能灵活配置自身提供的蓝牙服务, 对 蓝牙网络中的所有蓝牙设备都提供相同的蓝牙服务。 比如, 用户拥有蓝牙手机 102、 蓝牙电脑 104 (使用蓝牙网络的电脑)、 蓝牙耳机 106, 以及附近还存在好友的蓝牙手 机 108, 同事的蓝牙手机 110。 如果蓝牙手机 102允许蓝牙电脑 104、 蓝牙耳机 106、 蓝牙手机 108和蓝牙手机 110接入, 则蓝牙手机 102对于上述的蓝牙设备均提供本地 所有的蓝牙服务。 通过以上的描述, 发明人发现: 在现有技术中, 蓝牙终端将自身支持的所有蓝牙 服务都提供给配对过的远端蓝牙设备, 这样, 无法保证信息的私密性和安全性。 发明内容 本发明的主要目的在于提供一种蓝牙服务的管理方法和装置, 以至少解决现有技 术中蓝牙服务的管理无法保证信息的私密性和安全性的问题。 根据本发明的一个方面, 提供了一种蓝牙服务的管理方法, 其包括: 本地蓝牙设 备为不同的远端蓝牙设备设置不同的待提供的蓝牙服务; 上述本地蓝牙设备接收到上 述远端蓝牙设备的请求消息, 其中, 上述请求消息用于请求上述本地蓝牙设备中的蓝 牙服务; 上述本地蓝牙设备判断所请求的蓝牙服务是否属于所设置的与上述远端蓝牙 设备对应的待提供的蓝牙服务中的蓝牙服务; 若属于, 则上述本地蓝牙设备与上述远 端蓝牙设备开始所请求的蓝牙服务。 上述本地蓝牙设备为不同的远端蓝牙设备设置不同的待提供的蓝牙服务的步骤包 括: 上述本地蓝牙设备为上述远端蓝牙设备设置与该远端蓝牙设备的类型相对应的待 提供的蓝牙服务。 上述本地蓝牙设备为不同的远端蓝牙设备设置不同的待提供的蓝牙服务的步骤包 括: 上述本地蓝牙设备设置允许上述远端蓝牙设备对与上述远端蓝牙设备对应的待提 供的蓝牙服务中的一个或多个进行自动连接; 上述本地蓝牙设备与上述远端蓝牙设备 开始所请求的蓝牙服务包括: 若所请求的蓝牙服务被设置为允许自动连接, 则上述远 端蓝牙设备自动连接上述本地蓝牙设备中的所请求的蓝牙服务。 上述本地蓝牙设备为不同的远端蓝牙设备设置不同的待提供的蓝牙服务的步骤还 包括: 上述本地蓝牙设备为设置了自动连接的蓝牙服务设置限制时间; 上述本地蓝牙 设备与上述远端蓝牙设备开始所请求的蓝牙服务包括: 若上述远端蓝牙设备在上述限 制时间内未自动连接所请求的蓝牙服务, 则上述远端蓝牙设备以询问的方式请求上述 本地蓝牙设备是否开始所请求的蓝牙服务。 上述本地蓝牙设备为不同的远端蓝牙设备设置不同的待提供的蓝牙服务的步骤还 包括: 上述本地蓝牙设备为不同的被设置为允许自动连接的蓝牙服务设置不同的限制 时间。 在上述本地蓝牙设备判断所请求的蓝牙服务是否属于所设置的与上述远端蓝牙设 备对应的待提供的蓝牙服务中的蓝牙服务之后, 上述方法还包括: 若不属于, 则上述 本地蓝牙设备拒绝上述远端蓝牙设备所请求的蓝牙服务。 根据本发明的另一方面, 提供了一种蓝牙服务的管理装置, 其包括: 设置单元, 设置为为不同的远端蓝牙设备设置不同的待提供的蓝牙服务; 接收单元, 设置为接收 到上述远端蓝牙设备的请求消息, 其中, 上述请求消息用于请求上述本地蓝牙设备中 的蓝牙服务; 判断单元, 设置为判断所请求的蓝牙服务是否属于所设置的与上述远端 蓝牙设备对应的待提供的蓝牙服务中的蓝牙服务; 处理单元, 设置为在所请求的蓝牙 服务属于所设置的与上述远端蓝牙设备对应的待提供的蓝牙服务中的蓝牙服务时, 与 上述远端蓝牙设备开始所请求的蓝牙服务。 上述设置单元包括: 第一设置模块, 设置为为上述远端蓝牙设备设置与该远端蓝 牙设备的类型相对应的待提供的蓝牙服务。 上述设置单元包括: 第二设置模块, 设置为设置允许上述远端蓝牙设备对与上述 远端蓝牙设备对应的待提供的蓝牙服务中的一个或多个进行自动连接; 上述处理单元 包括: 第一执行模块, 设置为在所请求的蓝牙服务被设置为允许自动连接时, 自动接 受上述远端蓝牙设备对所请求的蓝牙服务进行的连接请求。 上述设置单元还包括: 第三设置模块, 设置为为设置了自动连接的蓝牙服务设置 限制时间; 上述处理单元包括: 第二执行模块, 设置为当上述远端蓝牙设备在上述限 制时间内未自动连接所请求的蓝牙服务时, 根据用户输入的信息来判断是否开始所请 求的蓝牙服务。 根据本发明, 本地蓝牙设备可以允许用户对不同的远端蓝牙设备提供不同的蓝牙 服务, 进一步允许不同的远端蓝牙设备进行不同蓝牙服务请求的自动连接, 以及对不 同的远端蓝牙设备和不同的蓝牙服务设置不同的允许自动连接的限制时间, 从而保证 了信息的私密性和安全性, 体现了用户在蓝牙服务使用上的个性化、 人性化。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发 明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图 中: 图 1是根据相关技术的蓝牙手机与其它不同类型的蓝牙设备连接的示意图; 图 2是根据本发明实施例的蓝牙服务的管理方法的流程图; 图 3是根据本发明实施例的管理蓝牙服务管理的本地蓝牙设备的结构框图; 图 4是根据本发明实施例的图 3所示的蓝牙设备中设置蓝牙服务的操作示意图; 图 5是根据本发明实施例的蓝牙服务的设置方法的流程图; 图 6是根据本发明实施例的蓝牙服务的管理装置的结构示意图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在不冲突的 情况下, 本申请中的实施例及实施例中的特征可以相互组合。 实施例 1 图 2是根据本发明实施例的蓝牙服务的管理方法的流程图, 其包括如下步骤: TECHNICAL FIELD The present invention relates to the field of Bluetooth communications, and in particular to a Bluetooth service management method and apparatus. BACKGROUND OF THE INVENTION Bluetooth technology is an open standard for wireless data and voice transmission, mainly for short-range wireless connections, typically ranging from 10 cm to 10 meters. When Bluetooth technology is applied to, for example, a mobile phone and a computer, the two devices can be connected to each other without a cable. Almost every digital device, such as printers, personal data assistants (PDAs), computers, fax machines, keyboards, and remote controls, can be part of such a Bluetooth system. Bluetooth technology not only frees these devices from complex and inconvenient cables, but also provides an interface between existing data networks and peripherals and between sub-structures of fixed networks by forming a particular Bluetooth wireless network. The Bluetooth organization defines how to use the Profile Stack, and how to provide each Bluetooth service through the protocol stack and how to discover the Bluetooth services provided by each other. With specific data for Bluetooth communication, specific services are selected so that different devices can use the same Bluetooth service at the same time. The services provided by Bluetooth devices are based on the protocol stack hierarchy type. For example, the device for printing photos supports "BPP (Basic Print Profile) - BIP (Basic Image Profile) - HCRP (Hardcopy Cable Replacement Profile) - 0PP (0bject Push) Profile, object push service) "Several services. If two different devices support different types of services, or one device uses a different service type than another device, the two devices cannot be connected to each other. For example, if device A uses a basic print service (BPP) and device B provides an object push service (OPP), a print operation between the two devices cannot be performed. Recently, Bluetooth organizations have defined the development of various services, and these services are applied to a variety of different Bluetooth devices. In the current Bluetooth devices on the market, users cannot flexibly configure the Bluetooth service provided by themselves, and provide the same Bluetooth service to all Bluetooth devices in the Bluetooth network. For example, the user has a Bluetooth mobile phone 102, a Bluetooth computer 104 (a computer using a Bluetooth network), a Bluetooth headset 106, and a Bluetooth mobile phone 108 with a friend nearby, and a colleague's Bluetooth mobile phone 110. If the Bluetooth mobile phone 102 allows the Bluetooth computer 104, the Bluetooth headset 106, When the Bluetooth mobile phone 108 and the Bluetooth mobile phone 110 are connected, the Bluetooth mobile phone 102 provides all local Bluetooth services to the above-mentioned Bluetooth devices. Through the above description, the inventor found that: In the prior art, the Bluetooth terminal provides all the Bluetooth services supported by the Bluetooth terminal to the paired remote Bluetooth device, so that the privacy and security of the information cannot be guaranteed. SUMMARY OF THE INVENTION A primary object of the present invention is to provide a Bluetooth service management method and apparatus to solve at least the problem that the management of the Bluetooth service in the prior art cannot guarantee the privacy and security of information. According to an aspect of the present invention, a Bluetooth service management method is provided, including: a local Bluetooth device sets different Bluetooth services to be provided for different remote Bluetooth devices; and the local Bluetooth device receives the remote Bluetooth device. The request message, wherein the request message is used to request a Bluetooth service in the local Bluetooth device; and the local Bluetooth device determines whether the requested Bluetooth service belongs to the set Bluetooth service to be provided corresponding to the remote Bluetooth device. The Bluetooth service; if it belongs, the local Bluetooth device and the remote Bluetooth device start the requested Bluetooth service. The step of the local Bluetooth device setting different Bluetooth services to be provided for different remote Bluetooth devices includes: the local Bluetooth device setting a Bluetooth service to be provided corresponding to the type of the remote Bluetooth device for the remote Bluetooth device . The step of the local Bluetooth device setting different Bluetooth services to be provided for different remote Bluetooth devices includes: the foregoing local Bluetooth device setting allows the remote Bluetooth device to be in the Bluetooth service to be provided corresponding to the remote Bluetooth device. One or more automatic connections; the local Bluetooth device and the remote Bluetooth device start to request the Bluetooth service include: if the requested Bluetooth service is set to allow automatic connection, the remote Bluetooth device automatically connects to the local Bluetooth The requested Bluetooth service in the device. The step of setting the different Bluetooth service to be provided by the local Bluetooth device for different remote Bluetooth devices further includes: the local Bluetooth device setting a time limit for the Bluetooth service with the automatic connection set; the local Bluetooth device and the remote Bluetooth device The start of the requested Bluetooth service includes: if the remote Bluetooth device does not automatically connect to the requested Bluetooth service within the limited time period, the remote Bluetooth device requests, in an inquiry manner, whether the local Bluetooth device starts the requested Bluetooth service. . The step of the above local Bluetooth device setting different Bluetooth services to be provided for different remote Bluetooth devices further includes: the above local Bluetooth device sets different time limits for different Bluetooth services set to allow automatic connection. After the local Bluetooth device determines whether the requested Bluetooth service belongs to the Bluetooth service in the Bluetooth service to be provided corresponding to the remote Bluetooth device, the method further includes: if not, the local Bluetooth device rejects The Bluetooth service requested by the above remote Bluetooth device. According to another aspect of the present invention, a management apparatus for a Bluetooth service is provided, comprising: a setting unit configured to set different Bluetooth services to be provided for different remote Bluetooth devices; and a receiving unit configured to receive the above a request message of the remote Bluetooth device, wherein the request message is used to request a Bluetooth service in the local Bluetooth device; and the determining unit is configured to determine whether the requested Bluetooth service belongs to the set to be corresponding to the remote Bluetooth device. Providing a Bluetooth service in the Bluetooth service; the processing unit is configured to start with the remote Bluetooth device when the requested Bluetooth service belongs to the Bluetooth service in the Bluetooth service to be provided corresponding to the remote Bluetooth device The requested Bluetooth service. The setting unit includes: a first setting module, configured to set a Bluetooth service to be provided corresponding to the type of the remote Bluetooth device for the remote Bluetooth device. The foregoing setting unit includes: a second setting module, configured to allow the remote bluetooth device to automatically connect one or more of the Bluetooth services to be provided corresponding to the remote bluetooth device; the processing unit includes: The execution module is configured to automatically accept the connection request of the remote Bluetooth device to the requested Bluetooth service when the requested Bluetooth service is set to allow automatic connection. The setting unit further includes: a third setting module, configured to set a time limit for the Bluetooth service with the automatic connection set; the processing unit includes: a second execution module, configured to: when the remote Bluetooth device is not automatically within the limited time When the requested Bluetooth service is connected, it is determined whether to start the requested Bluetooth service based on the information input by the user. According to the present invention, the local Bluetooth device can allow the user to provide different Bluetooth services to different remote Bluetooth devices, further allowing different remote Bluetooth devices to perform automatic connection of different Bluetooth service requests, and different remote Bluetooth devices. The Bluetooth service sets different time limits for allowing automatic connection, thereby ensuring the privacy and security of the information, and embodies the user's personalization and humanization in the use of the Bluetooth service. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, In the drawings: FIG. 1 is a schematic diagram of a Bluetooth mobile phone connected to other different types of Bluetooth devices according to the related art; 2 is a flowchart of a method for managing a Bluetooth service according to an embodiment of the present invention; FIG. 3 is a structural block diagram of a local Bluetooth device for managing Bluetooth service management according to an embodiment of the present invention; FIG. 4 is a diagram of FIG. 3 according to an embodiment of the present invention. FIG. 5 is a flowchart of a method for setting a Bluetooth service according to an embodiment of the present invention; and FIG. 6 is a schematic structural diagram of a device for managing a Bluetooth service according to an embodiment of the present invention. BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. Embodiment 1 FIG. 2 is a flowchart of a method for managing a Bluetooth service according to an embodiment of the present invention, which includes the following steps:
S202, 本地蓝牙设备为不同的远端蓝牙设备设置不同的待提供的蓝牙服务; S202. The local Bluetooth device sets different Bluetooth services to be provided for different remote Bluetooth devices.
S204, 上述本地蓝牙设备接收到上述远端蓝牙设备的请求消息, 其中, 上述请求 消息用于请求上述本地蓝牙设备中的蓝牙服务; S204, the local Bluetooth device receives the request message of the remote Bluetooth device, where the request message is used to request a Bluetooth service in the local Bluetooth device;
S206, 上述本地蓝牙设备判断所请求的蓝牙服务是否属于所设置的与上述远端蓝 牙设备对应的待提供的蓝牙服务中的蓝牙服务; S206. The local Bluetooth device determines whether the requested Bluetooth service belongs to the Bluetooth service in the Bluetooth service to be provided corresponding to the remote Bluetooth device.
S208,若属于,则上述本地蓝牙设备与上述远端蓝牙设备开始所请求的蓝牙服务。 根据本实施例, 本地蓝牙设备可以允许用户对不同的远端蓝牙设备提供不同的蓝 牙服务, 从而保证了信息的私密性和安全性,体现了用户在蓝牙服务使用上的个性化、 人性化。 优选的, 在所述本地蓝牙设备判断所请求的蓝牙服务是否属于所设置的与所述远 端蓝牙设备对应的待提供的蓝牙服务中的蓝牙服务之后, 若不属于, 则所述本地蓝牙 设备拒绝所述远端蓝牙设备所请求的蓝牙服务 (如图 2中的 S210所示)。 通过本实施 例, 用户可以更灵活地对不同的远端蓝牙服务设备进行管理, 进一步保证了信息的安 全性。 优选的, 所述本地蓝牙设备为不同的远端蓝牙设备设置不同的待提供的蓝牙服务 的步骤包括: 所述本地蓝牙设备为所述远端蓝牙设备设置与该远端蓝牙设备的类型相 对应的待提供的蓝牙服务。 通过上述设置方式, 可以很好地按照不同远端蓝牙设备的 需求提供不同的蓝牙服务。 优选的, 所述本地蓝牙设备为不同的远端蓝牙设备设置不同的待提供的蓝牙服务 的步骤包括: 所述本地蓝牙设备设置允许所述远端蓝牙设备对与所述远端蓝牙设备对 应的待提供的蓝牙服务中的一个或多个进行自动连接。 在本实施例的场景下, 所述本 地蓝牙设备与所述远端蓝牙设备开始所请求的蓝牙服务包括: 若所请求的蓝牙服务被 设置为允许自动连接, 则所述远端蓝牙设备自动连接所述本地蓝牙设备中的所请求的 蓝牙服务。通过设置自动连接, 可以进一步缩短蓝牙服务启动的时间, 提高传输效率。 优选的, 所述本地蓝牙设备为不同的远端蓝牙设备设置不同的待提供的蓝牙服务 的步骤还包括: 所述本地蓝牙设备为设置了自动连接的蓝牙服务设置限制时间。 在本 实施例的场景下,所述本地蓝牙设备与所述远端蓝牙设备开始所请求的蓝牙服务包括: 若所述远端蓝牙设备在所述限制时间内未自动连接所请求的蓝牙服务, 则所述远端蓝 牙设备以询问的方式请求所述本地蓝牙设备是否开始所请求的蓝牙服务。 通过设置限 制时间, 可以避免蓝牙服务的自动连接之前的等待时间过长, 有效地控制蓝牙服务的 启动时间。 优选的, 所述本地蓝牙设备为不同的远端蓝牙设备设置不同的待提供的蓝牙服务 的步骤还包括: 所述本地蓝牙设备为不同的被设置为允许自动连接的蓝牙服务设置不 同的限制时间。 通过本实施例的设置, 可以使用户更灵活地对蓝牙服务进行管理和设 置, 进一步提高了本发明的人性化和灵活性。 实施例 2 图 3是根据本发明实施例的管理蓝牙服务管理的本地蓝牙设备的结构框图。 如图 3所示, 蓝牙设备 302包括: 用户接口模块 3021、 服务管理模块 3022、 设备管理模块 3023、 无线通信模块 3024、 数据库 3025, 其中, 用户接口模块 3021、 服务管理模块 3022、 设备管理模块 3023、 无线通信模块 3024依次连接, 数据库 3025与服务管理模 块 3022、 设备管理模块 3023连接。 在本发明的优选实施例中, 蓝牙设备 302是一种 这样的设备, 通过其将连接另一蓝牙设备 (如图 1中的远端蓝牙设备 104)。 用户接口模块 3021支持在蓝牙设备 302和用户之间的通信,包括输入和显示, 如 键盘和屏幕。 输入和显示也可以是一个系统, 如触摸屏。 用户接口模块 3021从用户接收用于指示从蓝牙设备列表中选择的设备,以及选择 其它将要处理的数据的选择信号, 如用户选中的服务、 用户设置的允许自动连接的时 间。 用户接口模块 3021同时在设备管理模块 3023的控制下, 显示期望操作的蓝牙设 备的列表。 用户接口模块 3021在服务管理模块 3022的控制下, 显示作为适合于用户 选择的蓝牙服务的列表。按照需要, 在服务管理模块 3022的控制下, 可以根据用户的 服务选择, 显示允许远端蓝牙设备自动连接的服务的时间限制。 蓝牙设备 302搜索到周围的其它蓝牙设备并配对, 建立信任关系后, 配对过的蓝 牙设备添加到蓝牙设备 302的设备管理列表中, 通过用户接口显示给用户查看。 用户 通过用户接口,服务管理模块 3022可以设置本地蓝牙设备 302支持的蓝牙服务, 并存 储到数据库 3025中。 用户通过用户接口 3021, 选择一个设备管理模块 3023中的一个 远端蓝牙设备 A, 在服务管理模块 3022控制下, 用户设置远端蓝牙设备 A可以使用 本地蓝牙设备的哪些蓝牙服务。如果用户想简单处理,通过服务管理模块 3022的控制, 远端蓝牙设备 302可以访问本地蓝牙设备所提供的所有蓝牙服务。 用户如果不设置, 服务管理模块 3022默认允许设备管理模块 3023中任何远端蓝牙设备 302都可以访问 本地蓝牙设备所提供的所有蓝牙服务而不加以任何限制。服务管理模块 3022将提供给 设备管理模块 3023中每个远端蓝牙设备的服务类型都写入数据库中, 如表 1所示。 表 1
Figure imgf000008_0001
S208. If yes, the local Bluetooth device and the remote Bluetooth device start the requested Bluetooth service. According to the embodiment, the local Bluetooth device can allow the user to provide different Bluetooth services to different remote Bluetooth devices, thereby ensuring the privacy and security of the information, and embodying the personalized and user-friendly user's use of the Bluetooth service. Preferably, after the local Bluetooth device determines whether the requested Bluetooth service belongs to the set Bluetooth service in the Bluetooth service to be provided corresponding to the remote Bluetooth device, if not, the local Bluetooth device The Bluetooth service requested by the remote Bluetooth device is rejected (as shown by S210 in FIG. 2). With this embodiment, the user can manage different remote Bluetooth service devices more flexibly, further ensuring the security of the information. Preferably, the step of the local Bluetooth device setting different Bluetooth services to be provided for different remote Bluetooth devices includes: the local Bluetooth device setting the remote Bluetooth device to correspond to the type of the remote Bluetooth device The Bluetooth service to be provided. Through the above setting methods, different Bluetooth services can be provided according to the requirements of different remote Bluetooth devices. Preferably, the step of the local Bluetooth device setting different Bluetooth services to be provided for different remote Bluetooth devices comprises: the local Bluetooth device setting allowing the remote Bluetooth device to correspond to the remote Bluetooth device One or more of the Bluetooth services to be provided are automatically connected. In the scenario of this embodiment, the local Bluetooth device and the remote Bluetooth device start the requested Bluetooth service, including: if the requested Bluetooth service is set to allow automatic connection, the remote Bluetooth device automatically connects. The requested Bluetooth service in the local Bluetooth device. By setting up an automatic connection, you can further shorten the startup time of the Bluetooth service and improve the transmission efficiency. Preferably, the step of the local Bluetooth device setting different Bluetooth services to be provided for different remote Bluetooth devices further comprises: setting, by the local Bluetooth device, a time limit for the Bluetooth service with the automatic connection set. In the scenario of the embodiment, the local Bluetooth device and the remote Bluetooth device start the requested Bluetooth service, including: if the remote Bluetooth device does not automatically connect to the requested Bluetooth service within the limited time, And then the remote Bluetooth device requests, in an inquiry manner, whether the local Bluetooth device starts the requested Bluetooth service. By setting the limit time, it is possible to avoid the waiting time before the automatic connection of the Bluetooth service is too long, and effectively control the startup time of the Bluetooth service. Preferably, the step of the local Bluetooth device setting different Bluetooth services to be provided for different remote Bluetooth devices further includes: setting, by the local Bluetooth device, different time limits for different Bluetooth services that are set to allow automatic connection . Through the setting of the embodiment, the user can be more flexible in managing and setting the Bluetooth service, which further improves the humanization and flexibility of the present invention. Embodiment 2 FIG. 3 is a structural block diagram of a local Bluetooth device that manages Bluetooth service management according to an embodiment of the present invention. As shown in FIG. 3, the Bluetooth device 302 includes: a user interface module 3021, a service management module 3022, a device management module 3023, a wireless communication module 3024, and a database 3025. The user interface module 3021, the service management module 3022, and the device management module 3023. The wireless communication module 3024 is sequentially connected, and the database 3025 is connected to the service management module 3022 and the device management module 3023. In a preferred embodiment of the invention, Bluetooth device 302 is a device through which another Bluetooth device (such as remote Bluetooth device 104 in FIG. 1) will be connected. User interface module 3021 supports communication between Bluetooth device 302 and the user, including input and display, such as a keyboard and screen. The input and display can also be a system such as a touch screen. The user interface module 3021 receives a selection signal from the user for indicating the device selected from the list of Bluetooth devices, and selects other data to be processed, such as a service selected by the user, a time set by the user to allow automatic connection. The user interface module 3021 simultaneously displays a list of Bluetooth devices that are expected to operate under the control of the device management module 3023. The user interface module 3021, under the control of the service management module 3022, displays a list as a Bluetooth service suitable for user selection. According to the needs, under the control of the service management module 3022, the time limit of the service allowing the remote Bluetooth device to automatically connect can be displayed according to the user's service selection. The Bluetooth device 302 searches for other Bluetooth devices in the vicinity and pairs them. After establishing a trust relationship, the paired Bluetooth devices are added to the device management list of the Bluetooth device 302 and displayed to the user through the user interface. Through the user interface, the service management module 3022 can set the Bluetooth service supported by the local Bluetooth device 302 and store it in the database 3025. The user selects a remote Bluetooth device A in the device management module 3023 through the user interface 3021. Under the control of the service management module 3022, the user sets which Bluetooth services of the local Bluetooth device can be used by the remote Bluetooth device A. If the user wants to simply handle, the remote Bluetooth device 302 can access all Bluetooth services provided by the local Bluetooth device through the control of the service management module 3022. If not set by the user, the service management module 3022 allows all remote Bluetooth devices 302 in the device management module 3023 to access all Bluetooth services provided by the local Bluetooth device by default without any restrictions. The service management module 3022 writes the service types provided to each of the remote Bluetooth devices in the device management module 3023 into the database, as shown in Table 1. Table 1
Figure imgf000008_0001
用户通过用户接口模块 3021, 在服务管理模块 3022的控制下, 设置设备管理模 块 3023中各个远端蓝牙设备可以自动连接的服务。对每个远端蓝牙设备,本地蓝牙设 备都维护下面这样一张设置表, 并通过服务管理模块 3022, 保存到数据库 3025中, 如表 2所示。 表 2
Figure imgf000008_0002
The user, through the user interface module 3021, under the control of the service management module 3022, sets a service that each remote Bluetooth device in the device management module 3023 can automatically connect. For each remote Bluetooth device, the local Bluetooth device maintains a setup table as below, and saves it to the database 3025 through the service management module 3022, as shown in Table 2. Table 2
Figure imgf000008_0002
远端设备是 A手机, 用户允许本地蓝牙设备 302为 A手机提供四项服务: HSP、 HFP、 OPP、 FTP,用户只允许 A手机可以自动连接这四项服务中的 OPP和 FTP两项。 开启允许自动连接功能, 当远端设备 A手机向本地蓝牙设备 302请求 OPP服务时,本 地蓝牙设备 302通过无线通信模块 3024自动接受请求,与 A手机建立蓝牙 OPP连接。 当远端设备 A手机向本地蓝牙设备 302请求 HSP服务时,本地蓝牙设备 302不允许自 动接受请求, 因此询问用户是否接受 A设备的 HSP服务请求, 由用户来决定是否接受 该请求。 用户通过用户接口模块 3021, 在服务管理模块 3022的控制下, 设置设备管理模 块 3023中各个远端蓝牙设备可以使用连接服务的时间限制, 如表 3所示。一旦超过允 许连接的时间限制, 当远端蓝牙设备请求服务连接时, 本地蓝牙设备 302不允许自动 接受请求, 必须询问用户是否接受, 由用户来决定是否接受该请求。 表 3 The remote device is an A mobile phone. The user allows the local Bluetooth device 302 to provide four services for the A mobile phone: HSP, HFP, OPP, and FTP. The user only allows the A mobile phone to automatically connect the OPP and FTP in the four services. When the automatic connection function is enabled, when the remote device A requests the local Bluetooth device 302 for the OPP service, the local Bluetooth device 302 automatically accepts the request through the wireless communication module 3024 to establish a Bluetooth OPP connection with the A mobile phone. When the remote device A mobile phone requests the local Bluetooth device 302 for the HSP service, the local Bluetooth device 302 does not allow the automatic acceptance of the request, so the user is asked whether to accept the HSP service request of the A device, and the user decides whether to accept the request. Through the user interface module 3021, the user sets the time limit of the connection service that each remote Bluetooth device in the device management module 3023 can use under the control of the service management module 3022, as shown in Table 3. Once the time limit for allowing the connection is exceeded, when the remote Bluetooth device requests a service connection, the local Bluetooth device 302 does not allow the request to be automatically accepted, the user must be asked whether to accept, and the user decides whether to accept the request. table 3
Figure imgf000009_0001
Figure imgf000009_0001
图 4是根据本发明实施例的图 3所示的蓝牙设备中设置蓝牙服务的操作示意图。 如图 4所示, 用户利用蓝牙设备 302执行对应于期望结果的应用。 本实施例以具 有蓝牙设备 302性能的移动电话为例。 下面将说明从蓝牙设备 302中选择配置文件的 过程。 当进行服务管理设置时, 设备管理模块 3023从数据库 3025中提取已经取得信任 关系的远端蓝牙设备的数据, 并且通过用户接口模块 3021显示所提取的设备列表。例 如, 在图 4 (A) 中, 显示了 A手机、 B电脑、 C打印机、 D车载免提 4个蓝牙设备。 用户可以在如图 4 (B) 中所示的设备列表中选择各种操作选项, 并从所述选项中 选择提供的服务列表。 在经过图 4 (A)和图 4 (B)所示的操作之后, 服务管理模块 3022从数据库 3025 中提取本设备可以提供的蓝牙服务类型,并通过用户接口模块 3021显示可供选择的提 供先前步骤选中的远端蓝牙设备的服务类型, 如图 4 (C)所示。 在本实施例中, 用户 选择 HSP耳机服务、 HFP免提服务、 OPP对象推送服务、 FTP文件传输服务。 服务管 理模块 3022选择供用户设置的合适的蓝牙服务类型, 也就是说, 服务管理模块 3022 没有必要选择本蓝牙手机提供的所有蓝牙服务并显示给用户, 而只选择本蓝牙手机 302和 A手机都能支持的蓝牙服务并显示给用户。 用户可以全选将所有蓝牙服务都提 供给 A手机, 也可以选择一些必要的蓝牙服务提供给 A手机并允许 A手机使用。 用 户选择蓝牙服务提供给 A手机有多种方式, 常见的有两种,一种是只显示给 A手机用 户选择的蓝牙服务, 本示例中可以理解为 A手机对本蓝牙手机进行服务发现或服务搜 索时, 只能发现本手机 302的 HSP、 HFP、 OPP、 FTP四项服务, 而不能发现其它的 服务 (如 BIP、 BPP等)。 另一种方式时, 显示给 A手机所有的蓝牙服务, 如 A手机 对本蓝牙手机 302进行服务发现或服务搜索时, 可以发现本手机 302提供的所有服务 (包括 HSP、 BIP等), 但是在 A手机向本蓝牙手机 302请求使用服务时, 本手机 302 只允许 HSP、 HFP、 OPP、 FTP四项服务的请求(自动接受或询问用户是否接受请求), 对 A手机其它服务的请求一概拒绝。 如在图 4 (C) 中, 如果用户选择提供 HSP、 HFP、 OPP、 FTP服务, 则用户可以 在如图 4 (B) 中所示的设备列表中操作选项增加允许自动连接一项。 在图 4 (C) 的 操作后, 服务管理模块 3022通过用户接口模块 3021显示可供选择的允许先前步骤中 选中的远端蓝牙设备自动连接的蓝牙服务类型, 如图 4 (E)所示。 在本实施例中, 用 户选择允许 OPP对象推送服务和 FTP文件传输服务可以自动连接本地蓝牙设备 302。 进一步的, 用户可以设置允许自动连接服务的时间限制, 如图 4 (F)所示, 用户 只允许远端蓝牙设备在 2小时能可以自动连接本地蓝牙设备 302的 OPP对象推送服务。 虽然在图 4中描述的示例总的构思方面是利用图 4A—图 4F的特定顺序来图解的, 但是, 应当明白, 该顺序可以根据设计偏好来改变或重排。 而且, 图 4中的菜单或操 作也可以以弹出框、 下拉菜单、 复选框、 单选框、 文本输入等多种形式实现。 实施例 3 在本实施例中, 将参照图 2到图 5描述根据本发明的构思实现的一个实施例的对 蓝牙服务进行差异化管理配置的方法。 图 5是根据本发明实施例的蓝牙服务的设置方法的流程图, 其包括: FIG. 4 is a schematic diagram of an operation of setting a Bluetooth service in the Bluetooth device shown in FIG. 3 according to an embodiment of the present invention. As shown in FIG. 4, the user utilizes the Bluetooth device 302 to execute an application corresponding to the desired result. This embodiment takes a mobile phone having the performance of the Bluetooth device 302 as an example. The process of selecting a profile from the Bluetooth device 302 will be explained below. When the service management setting is made, the device management module 3023 extracts data of the remote Bluetooth device that has obtained the trust relationship from the database 3025, and displays the extracted device list through the user interface module 3021. For example, in Figure 4 (A), A Bluetooth, B, C, and D car handsfree 4 Bluetooth devices are displayed. The user can select various operation options in the device list as shown in FIG. 4(B), and select a provided service list from the options. After the operations shown in FIG. 4(A) and FIG. 4(B), the service management module 3022 extracts the type of Bluetooth service that the device can provide from the database 3025, and displays the alternative offer previously through the user interface module 3021. The service type of the remote Bluetooth device selected in the step is as shown in Figure 4 (C). In this embodiment, the user selects an HSP headset service, an HFP hands-free service, an OPP object push service, and an FTP file transfer service. The service management module 3022 selects a suitable Bluetooth service type for the user to set, that is, the service management module 3022 does not need to select all the Bluetooth services provided by the Bluetooth mobile phone and display it to the user, but only selects the Bluetooth mobile phone 302 and the A mobile phone. A Bluetooth service that can be supported and displayed to the user. Users can choose to provide all Bluetooth services to the A phone, or choose the necessary Bluetooth service to provide the A phone and allow the A phone to use. There are many ways for users to choose Bluetooth service to provide A mobile phone. There are two common types, one is only for A mobile phone. The Bluetooth service selected by the user, in this example, can be understood that when the A mobile phone performs service discovery or service search on the Bluetooth mobile phone, only four services of HSP, HFP, OPP, and FTP of the mobile phone 302 can be found, and other services cannot be found ( Such as BIP, BPP, etc.). In another way, all the Bluetooth services displayed to the A mobile phone, such as the A mobile phone, when performing service discovery or service search on the Bluetooth mobile phone 302, can find all services (including HSP, BIP, etc.) provided by the mobile phone 302, but in A When the mobile phone requests the Bluetooth mobile phone 302 to use the service, the mobile phone 302 only allows the HSP, HFP, OPP, and FTP services (automatically accept or ask the user whether to accept the request), and the request for other services of the A mobile phone is rejected. As shown in FIG. 4(C), if the user selects to provide the HSP, HFP, OPP, FTP service, the user can increase the allow automatic connection item by operating the option in the device list as shown in FIG. 4(B). After the operation of FIG. 4(C), the service management module 3022 displays through the user interface module 3021 an alternative type of Bluetooth service that allows the remote Bluetooth device selected in the previous step to automatically connect, as shown in FIG. 4(E). In this embodiment, the user selects to allow the OPP object push service and the FTP file transfer service to automatically connect to the local Bluetooth device 302. Further, the user can set a time limit for allowing the automatic connection service. As shown in FIG. 4(F), the user only allows the remote Bluetooth device to automatically connect to the OPP object push service of the local Bluetooth device 302 in 2 hours. Although the general concept aspects of the examples depicted in FIG. 4 are illustrated using the particular order of FIGS. 4A-4F, it should be understood that the order may be changed or rearranged according to design preferences. Moreover, the menu or operation in FIG. 4 can also be implemented in various forms such as a popup, a drop down menu, a check box, a radio button, a text input, and the like. Embodiment 3 In this embodiment, a method of differential management configuration of a Bluetooth service according to an embodiment of the concept implementation of the present invention will be described with reference to FIGS. 2 through 5. FIG. 5 is a flowchart of a method for setting a Bluetooth service according to an embodiment of the present invention, which includes:
S502, 用户通过使用蓝牙设备 302来执行服务管理的配置。 如果用户需要设置某 个蓝牙设备的服务管理, 则设备管理模块 3023从数据库 3025中提取所有已经取得信 任关系的远端蓝牙设备, 并通过用户接口模块 3021显示所有已配对的蓝牙设备列表。 用户需要先选择一个设置的对象, 选择一个远端蓝牙设备。 S502, the user performs configuration of the service management by using the Bluetooth device 302. If the user needs to set up service management of a certain Bluetooth device, the device management module 3023 extracts all remote Bluetooth devices that have obtained the trust relationship from the database 3025, and displays all the paired Bluetooth device lists through the user interface module 3021. The user needs to select a set object and select a remote Bluetooth device.
S504, 服务管理模块 3022从数据库 3025中提取本设备可以为远端蓝牙设备提供 的蓝牙服务类型,通过用户接口模块 3021显示给用户,用户选择允许远端蓝牙设备可 以使用本地蓝牙设备的哪些蓝牙服务。 S506,用户通过用户接口模块 3021选择一个前面步骤中设置过的允许远端蓝牙设 备使用的蓝牙服务。 S504, the service management module 3022 extracts, from the database 3025, a Bluetooth service type that the device can provide for the remote Bluetooth device, and displays the content to the user through the user interface module 3021. The user selects which Bluetooth service the remote Bluetooth device can use to use the local Bluetooth device. . S506. The user selects, by the user interface module 3021, a Bluetooth service that is set in the previous step and allows the remote Bluetooth device to be used.
S508,用户通过用户接口模块 3021设置是否允许远端蓝牙设备自动连接操作 S506 中选择的蓝牙服务。 S510, 用户通过用户接口模块 3021设置操作 S508中允许远端蓝牙设备自动连接 该项蓝牙服务的限制时间, 如超过限制时间, 本地蓝牙设备不再允许远端蓝牙设备自 动连接操作 S506中选中的蓝牙服务。 根据本发明实施例, 同一本地蓝牙设备可以根据不同的远端蓝牙设备, 提供不同 的蓝牙服务, 对不同的服务是否允许自动连接设置不同的参数, 对不同的服务设置不 同的允许自动连接的时间限制, 可以提供用户对服务的个性化设置, 针对不同的远端 蓝牙设备进行不同的服务管理设置, 提升了用户体验。 实施例 4 本发明还提供了一种蓝牙服务的管理装置, 其可以使用上述实施例 1-3 中的管理 方法对蓝牙服务进行管理。 图 6是根据本发明实施例的蓝牙服务的管理装置的结构示意图, 其包括: 设置单 元 602, 设置为为不同的远端蓝牙设备设置不同的待提供的蓝牙服务; 接收单元 604, 与判断单元 606连接, 设置为接收到所述远端蓝牙设备的请求消息, 其中, 所述请求 消息用于请求所述本地蓝牙设备中的蓝牙服务; 判断单元 606, 与设置单元 602和接 收单元 604连接, 设置为判断所请求的蓝牙服务是否属于所设置的与所述远端蓝牙设 备对应的待提供的蓝牙服务中的蓝牙服务; 处理单元 608, 与判断单元 606连接, 设 置为在所请求的蓝牙服务属于所设置的与所述远端蓝牙设备对应的待提供的蓝牙服务 中的蓝牙服务时, 与所述远端蓝牙设备开始所请求的蓝牙服务。 根据本实施例, 本地蓝牙设备可以允许用户对不同的远端蓝牙设备提供不同的蓝 牙服务, 从而保证了信息的私密性和安全性,体现了用户在蓝牙服务使用上的个性化、 人性化。 优选的, 所述设置单元 602包括: 第一设置模块 6021, 设置为为所述远端蓝牙设 备设置与该远端蓝牙设备的类型相对应的待提供的蓝牙服务。 通过上述设置方式, 可 以很好地按照不同远端蓝牙设备的需求提供不同的蓝牙服务。 优选的, 所述设置单元 602包括: 第二设置模块 6022, 设置为设置允许所述远端 蓝牙设备对与所述远端蓝牙设备对应的待提供的蓝牙服务中的一个或多个进行自动连 接。 在本实施例的场景下, 所述处理单元 608包括: 第一执行模块 6081, 设置为在所 请求的蓝牙服务被设置为允许自动连接时, 自动接受所述远端蓝牙设备对所请求的蓝 牙服务进行的连接请求。 通过设置自动连接, 可以进一步缩短蓝牙服务启动的时间, 提高传输效率。 优选的, 所述设置单元 602还包括: 第三设置模块 6023, 设置为为设置了自动连 接的蓝牙服务设置限制时间。 在本实施例的场景下, 所述处理单元 608包括: 第二执 行模块 6082, 设置为当所述远端蓝牙设备在所述限制时间内未自动连接所请求的蓝牙 服务时,根据用户输入的信息来判断是否开始所请求的蓝牙服务。通过设置限制时间, 可以避免蓝牙服务的自动连接之前的等待时间过长,有效地控制蓝牙服务的启动时间。 优选的, 设置单元 602为不同的被设置为允许自动连接的蓝牙服务设置不同的限 制时间。 通过本实施例的设置, 可以使用户更灵活地对蓝牙服务进行管理和设置, 进 一步提高了本发明的人性化和灵活性。 优选的, 在判断单元 606判断出所请求的蓝牙服务不属于所设置的与该远端蓝牙 设备对应的待提供的蓝牙服务中的蓝牙服务时, 处理单元 608拒绝该远端蓝牙设备所 请求的蓝牙服务。 通过本实施例, 用户可以更灵活地对不同的远端蓝牙服务设备进行 管理, 进一步保证了信息的安全性。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以用通用 的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算装置所 组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而, 可以 将它们存储在存储装置中由计算装置来执行, 并且在某些情况下, 可以以不同于此处 的顺序执行所示出或描述的步骤, 或者将它们分别制作成各个集成电路模块, 或者将 它们中的多个模块或步骤制作成单个集成电路模块来实现。 这样, 本发明不限制于任 何特定的硬件和软件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技 术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。 S508. The user sets, by using the user interface module 3021, whether the remote Bluetooth device is allowed to automatically connect to the Bluetooth service selected in operation S506. S510, the user sets, by using the user interface module 3021, a time limit for allowing the remote Bluetooth device to automatically connect to the Bluetooth service in operation S508. If the time limit is exceeded, the local Bluetooth device no longer allows the remote Bluetooth device to automatically connect to the selected Bluetooth in S506. service. According to the embodiment of the present invention, the same local Bluetooth device can provide different Bluetooth services according to different remote Bluetooth devices, set different parameters for different services to allow automatic connection, and set different time for automatic connection for different services. Restrictions can provide users with personalized settings for services, and different service management settings for different remote Bluetooth devices, improving the user experience. Embodiment 4 The present invention also provides a management apparatus for a Bluetooth service, which can manage a Bluetooth service using the management method in Embodiments 1-3 described above. FIG. 6 is a schematic structural diagram of a Bluetooth service management apparatus according to an embodiment of the present invention, including: a setting unit 602, configured to set different Bluetooth services to be provided for different remote Bluetooth devices; a receiving unit 604, and a determining unit The 606 is connected, and is configured to receive the request message of the remote Bluetooth device, where the request message is used to request a Bluetooth service in the local Bluetooth device; the determining unit 606 is connected to the setting unit 602 and the receiving unit 604. The setting is to determine whether the requested Bluetooth service belongs to the set Bluetooth service in the Bluetooth service to be provided corresponding to the remote Bluetooth device; the processing unit 608 is connected to the determining unit 606, and is set to be in the requested Bluetooth service. When the Bluetooth service in the Bluetooth service to be provided corresponding to the remote Bluetooth device is set, the requested Bluetooth service is started with the remote Bluetooth device. According to the embodiment, the local Bluetooth device can allow the user to provide different Bluetooth services to different remote Bluetooth devices, thereby ensuring the privacy and security of the information, and embodying the personalized and user-friendly user's use of the Bluetooth service. Preferably, the setting unit 602 includes: a first setting module 6021, configured to set, for the remote Bluetooth device, a Bluetooth service to be provided corresponding to the type of the remote Bluetooth device. Through the above setting methods, different Bluetooth services can be provided according to the requirements of different remote Bluetooth devices. Preferably, the setting unit 602 includes: a second setting module 6022, configured to enable the remote Bluetooth device to automatically connect one or more of the Bluetooth services to be provided corresponding to the remote Bluetooth device. . In the scenario of the embodiment, the processing unit 608 includes: a first execution module 6081, configured to automatically accept the requested Bluetooth of the remote Bluetooth device when the requested Bluetooth service is set to allow automatic connection. The connection request made by the service. By setting up an automatic connection, you can further shorten the startup time of the Bluetooth service and improve the transmission efficiency. Preferably, the setting unit 602 further includes: a third setting module 6023, configured to set a time limit for the Bluetooth service in which the automatic connection is set. In the scenario of the embodiment, the processing unit 608 includes: a second execution module 6082, configured to: when the remote Bluetooth device does not automatically connect to the requested Bluetooth service within the limited time, according to the user input Information to determine whether to start the requested Bluetooth service. By setting the limit time, it is possible to avoid the waiting time before the automatic connection of the Bluetooth service is too long, and effectively control the startup time of the Bluetooth service. Preferably, the setting unit 602 sets different time limits for different Bluetooth services that are set to allow automatic connection. Through the setting of the embodiment, the user can be more flexible in managing and setting the Bluetooth service, which further improves the humanization and flexibility of the present invention. Preferably, when the determining unit 606 determines that the requested Bluetooth service does not belong to the set Bluetooth service in the Bluetooth service to be provided corresponding to the remote Bluetooth device, the processing unit 608 rejects the Bluetooth requested by the remote Bluetooth device. service. With this embodiment, the user can manage different remote Bluetooth service devices more flexibly, further ensuring the security of the information. Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要 求 书 Claim
1. 一种蓝牙服务的管理方法, 包括: 1. A method for managing a Bluetooth service, comprising:
本地蓝牙设备为不同的远端蓝牙设备设置不同的待提供的蓝牙服务; 所述本地蓝牙设备接收到所述远端蓝牙设备的请求消息, 其中, 所述请求 消息用于请求所述本地蓝牙设备中的蓝牙服务;  The local Bluetooth device sets a different Bluetooth service to be provided for the different remote Bluetooth devices; the local Bluetooth device receives the request message of the remote Bluetooth device, where the request message is used to request the local Bluetooth device Bluetooth service;
所述本地蓝牙设备判断所请求的蓝牙服务是否属于所设置的与所述远端蓝 牙设备对应的待提供的蓝牙服务中的蓝牙服务;  Determining, by the local Bluetooth device, whether the requested Bluetooth service belongs to the set Bluetooth service in the Bluetooth service to be provided corresponding to the remote Bluetooth device;
若属于,则所述本地蓝牙设备与所述远端蓝牙设备开始所请求的蓝牙服务。  If so, the local Bluetooth device and the remote Bluetooth device start the requested Bluetooth service.
2. 根据权利要求 1所述的方法, 其中, 所述本地蓝牙设备为不同的远端蓝牙设备 设置不同的待提供的蓝牙服务的步骤包括: 2. The method according to claim 1, wherein the step of the local Bluetooth device setting different Bluetooth services to be provided for different remote Bluetooth devices comprises:
所述本地蓝牙设备为所述远端蓝牙设备设置与该远端蓝牙设备的类型相对 应的待提供的蓝牙服务。  The local Bluetooth device sets a Bluetooth service to be provided corresponding to the type of the remote Bluetooth device for the remote Bluetooth device.
3. 根据权利要求 1所述的方法, 其中, 3. The method according to claim 1, wherein
所述本地蓝牙设备为不同的远端蓝牙设备设置不同的待提供的蓝牙服务的 步骤包括:  The step of the local Bluetooth device setting different Bluetooth services to be provided for different remote Bluetooth devices includes:
所述本地蓝牙设备设置允许所述远端蓝牙设备对与所述远端蓝牙设备 对应的待提供的蓝牙服务中的一个或多个进行自动连接;  The local Bluetooth device setting allows the remote Bluetooth device to automatically connect one or more of the Bluetooth services to be provided corresponding to the remote Bluetooth device;
所述本地蓝牙设备与所述远端蓝牙设备开始所请求的蓝牙服务的步骤包 括:  The steps of the local Bluetooth device and the remote Bluetooth device to start the requested Bluetooth service include:
若所请求的蓝牙服务被设置为允许自动连接, 则所述远端蓝牙设备自 动连接所述本地蓝牙设备中的所请求的蓝牙服务。  If the requested Bluetooth service is set to allow automatic connection, the remote Bluetooth device automatically connects to the requested Bluetooth service in the local Bluetooth device.
4. 根据权利要求 3所述的方法, 其中, 4. The method according to claim 3, wherein
所述本地蓝牙设备为不同的远端蓝牙设备设置不同的待提供的蓝牙服务的 步骤还包括:  The step of the local Bluetooth device setting different Bluetooth services to be provided for different remote Bluetooth devices further includes:
所述本地蓝牙设备为设置了自动连接的蓝牙服务设置限制时间; 所述本地蓝牙设备与所述远端蓝牙设备开始所请求的蓝牙服务的步骤包 括: 若所述远端蓝牙设备在所述限制时间内未自动连接所请求的蓝牙服 务, 则所述远端蓝牙设备以询问的方式请求所述本地蓝牙设备是否开始所 请求的蓝牙服务。 The local Bluetooth device sets a time limit for the Bluetooth service with the automatic connection set; the step of the local Bluetooth device and the remote Bluetooth device to start the requested Bluetooth service includes: If the remote Bluetooth device does not automatically connect to the requested Bluetooth service within the limited time, the remote Bluetooth device requests, in an inquiry manner, whether the local Bluetooth device starts the requested Bluetooth service.
5. 根据权利要求 4所述的方法, 其中, 所述本地蓝牙设备为不同的远端蓝牙设备 设置不同的待提供的蓝牙服务的步骤还包括: The method according to claim 4, wherein the step of the local Bluetooth device setting different Bluetooth services to be provided for different remote Bluetooth devices further includes:
所述本地蓝牙设备为不同的被设置为允许自动连接的蓝牙服务设置不同的 限制时间。  The local Bluetooth device sets different time limits for different Bluetooth services that are set to allow automatic connection.
6. 根据权利要求 1所述的方法, 其中, 在所述本地蓝牙设备判断所请求的蓝牙服 务是否属于所设置的与所述远端蓝牙设备对应的待提供的蓝牙服务中的蓝牙服 务之后, 还包括: The method according to claim 1, wherein after the local Bluetooth device determines whether the requested Bluetooth service belongs to the set Bluetooth service in the Bluetooth service to be provided corresponding to the remote Bluetooth device, Also includes:
若不属于,则所述本地蓝牙设备拒绝所述远端蓝牙设备所请求的蓝牙服务。  If not, the local Bluetooth device rejects the Bluetooth service requested by the remote Bluetooth device.
7. 一种蓝牙服务的管理装置, 位于本地蓝牙设备中, 包括: 7. A Bluetooth service management device, located in a local Bluetooth device, comprising:
设置单元, 设置为为不同的远端蓝牙设备设置不同的待提供的蓝牙服务; 接收单元, 设置为接收到所述远端蓝牙设备的请求消息, 其中, 所述请求 消息用于请求所述本地蓝牙设备中的蓝牙服务;  a setting unit, configured to set different Bluetooth service to be provided for different remote Bluetooth devices; a receiving unit, configured to receive a request message of the remote Bluetooth device, where the request message is used to request the local Bluetooth service in a Bluetooth device;
判断单元, 设置为判断所请求的蓝牙服务是否属于所设置的与所述远端蓝 牙设备对应的待提供的蓝牙服务中的蓝牙服务;  a determining unit, configured to determine whether the requested Bluetooth service belongs to the set Bluetooth service in the Bluetooth service to be provided corresponding to the remote Bluetooth device;
处理单元, 设置为在所请求的蓝牙服务属于所设置的与所述远端蓝牙设备 对应的待提供的蓝牙服务中的蓝牙服务时, 与所述远端蓝牙设备开始所请求的 蓝牙服务。  And the processing unit is configured to start the requested Bluetooth service with the remote Bluetooth device when the requested Bluetooth service belongs to the set Bluetooth service in the Bluetooth service to be provided corresponding to the remote Bluetooth device.
8. 根据权利要求 7所述的装置, 其中, 所述设置单元包括: 第一设置模块, 设置为为所述远端蓝牙设备设置与该远端蓝牙设备的类型 相对应的待提供的蓝牙服务。 The device according to claim 7, wherein the setting unit comprises: a first setting module, configured to set, for the remote Bluetooth device, a Bluetooth service to be provided corresponding to a type of the remote Bluetooth device .
9. 根据权利要求 7所述的装置, 其中, 所述设置单元包括: 9. The device according to claim 7, wherein the setting unit comprises:
第二设置模块, 设置为设置允许所述远端蓝牙设备对与所述远端蓝牙设备 对应的待提供的蓝牙服务中的一个或多个进行自动连接;  a second setting module, configured to enable the remote Bluetooth device to automatically connect one or more of the Bluetooth services to be provided corresponding to the remote Bluetooth device;
所述处理单元包括: 第一执行模块, 设置为在所请求的蓝牙服务被设置为允许自动连接时, 自 动接受所述远端蓝牙设备对所请求的蓝牙服务进行的连接请求。 The processing unit includes: The first execution module is configured to automatically accept a connection request by the remote Bluetooth device for the requested Bluetooth service when the requested Bluetooth service is set to allow automatic connection.
10. 根据权利要求 9所述的装置, 其中, 所述设置单元还包括: The device according to claim 9, wherein the setting unit further comprises:
第三设置模块, 设置为为设置了自动连接的蓝牙服务设置限制时间; 所述处理单元包括:  The third setting module is configured to set a time limit for the Bluetooth service with the automatic connection set; the processing unit includes:
第二执行模块, 设置为当所述远端蓝牙设备在所述限制时间内未自动连接 所请求的蓝牙服务时,根据用户输入的信息来判断是否开始所请求的蓝牙服务。  And a second execution module, configured to determine, according to the information input by the user, whether to start the requested Bluetooth service when the remote Bluetooth device does not automatically connect to the requested Bluetooth service within the limited time.
PCT/CN2011/077636 2010-08-23 2011-07-26 Method and apparatus for bluetooth service management WO2012025000A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010267107.4 2010-08-23
CN201010267107.4A CN102378400B (en) 2010-08-23 2010-08-23 Management method and device of Bluetooth services

Publications (1)

Publication Number Publication Date
WO2012025000A1 true WO2012025000A1 (en) 2012-03-01

Family

ID=45722882

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/077636 WO2012025000A1 (en) 2010-08-23 2011-07-26 Method and apparatus for bluetooth service management

Country Status (2)

Country Link
CN (1) CN102378400B (en)
WO (1) WO2012025000A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105487887B (en) * 2015-11-24 2021-01-08 惠州Tcl移动通信有限公司 Bluetooth starting method and Bluetooth device
CN105847950A (en) * 2016-01-26 2016-08-10 乐视致新电子科技(天津)有限公司 Bluetooth list display method and apparatus
CN108416207B (en) * 2018-03-07 2022-09-16 北京元心科技有限公司 Bluetooth use permission identification method and device and mobile terminal
CN110177357B (en) * 2019-05-17 2022-06-07 Oppo广东移动通信有限公司 Bluetooth management method, mobile terminal and computer storage medium
CN112948007B (en) * 2021-02-02 2023-06-16 歌尔科技有限公司 Initialization method and device of Bluetooth sound box and Bluetooth sound box

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040009761A1 (en) * 2002-04-10 2004-01-15 Jesse Money Method and system for real-time tiered rating of communication services
CN101075828A (en) * 2007-07-20 2007-11-21 中兴通讯股份有限公司 Method for establishing connection between terminal and audio-frequency apparatus
CN101341685A (en) * 2005-12-20 2009-01-07 微软公司 Proximity service discovery in wireless networks

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101364820B (en) * 2008-08-12 2012-07-25 深圳市华禹高科技有限公司 Connection method for Bluetooth apparatus system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040009761A1 (en) * 2002-04-10 2004-01-15 Jesse Money Method and system for real-time tiered rating of communication services
CN101341685A (en) * 2005-12-20 2009-01-07 微软公司 Proximity service discovery in wireless networks
CN101075828A (en) * 2007-07-20 2007-11-21 中兴通讯股份有限公司 Method for establishing connection between terminal and audio-frequency apparatus

Also Published As

Publication number Publication date
CN102378400A (en) 2012-03-14
CN102378400B (en) 2015-01-28

Similar Documents

Publication Publication Date Title
JP6170310B2 (en) Peer-to-peer device search method and apparatus in wireless communication network, and device communication method
US11159696B2 (en) Communication apparatus
KR101742985B1 (en) The method of determining group owner in peer to peer network and the device thereof
US8990273B2 (en) Ad hoc file sharing
US9244633B2 (en) Image forming apparatus and method of controlling wireless network connection in the apparatus
CN106547497B (en) Communication device and control method of communication device
JP6222950B2 (en) Printing apparatus, control method thereof, and program
KR20140080236A (en) Method for scanning and connecting wi-fi direct device, terminal device for the same
US9734538B2 (en) Integrated operation method for social network service function and system supporting the same
WO2012025000A1 (en) Method and apparatus for bluetooth service management
WO2013071720A1 (en) Bluetooth device and information processing method and device therefor
US20100291913A1 (en) Remote control method between mobile phones
JP2017167879A (en) Conference system, connection controller, method and program for connection control
JP6135480B2 (en) Information processing program and information processing apparatus
JP2004015692A (en) Method and system for sharing/processing status information between communication applications
US20090216864A1 (en) Methods, apparatuses, and computer program products, for automatically finding configuration settings for services
JP2014164421A (en) Information processing apparatus, printing apparatus, method for controlling information processing apparatus, method for controlling printing apparatus, and program
US20170024236A1 (en) Information processing system, terminal apparatus, and non-transitory computer readable medium
JP2016052097A (en) Communication equipment
CN103200183B (en) The transmission method of media data, communication system and user terminal
JP6638786B2 (en) Communication equipment
KR20160126827A (en) Method for providing cloud printing service, apparatus and system for performing the same
KR101948062B1 (en) Apparatus and method for providing user presence infromations related to a plurality of teminal
JP2024072856A (en) Telecommunications Equipment
JP2020205543A (en) Information processing device, control method thereof, and program

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

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

Country of ref document: EP

Kind code of ref document: A1