Movatterモバイル変換


[0]ホーム

URL:


CN109413620B - Method and apparatus for managing external Bluetooth devices capable of communicating with iOS devices - Google Patents

Method and apparatus for managing external Bluetooth devices capable of communicating with iOS devices
Download PDF

Info

Publication number
CN109413620B
CN109413620BCN201811020188.0ACN201811020188ACN109413620BCN 109413620 BCN109413620 BCN 109413620BCN 201811020188 ACN201811020188 ACN 201811020188ACN 109413620 BCN109413620 BCN 109413620B
Authority
CN
China
Prior art keywords
bluetooth
external
external bluetooth
bluetooth device
instance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811020188.0A
Other languages
Chinese (zh)
Other versions
CN109413620A (en
Inventor
古滔
刘刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Technology Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Haier Technology Co LtdfiledCriticalQingdao Haier Technology Co Ltd
Priority to CN201811020188.0ApriorityCriticalpatent/CN109413620B/en
Publication of CN109413620ApublicationCriticalpatent/CN109413620A/en
Application grantedgrantedCritical
Publication of CN109413620BpublicationCriticalpatent/CN109413620B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本发明公开了管理能够与iOS设备进行通信的外部蓝牙设备的方法及装置。所公开的方法包括:搜寻与iOS设备中的蓝牙设备能够进行通信的外部蓝牙设备,保存搜寻到的或经更新的外部蓝牙设备的设备信息;订阅搜寻到的或经更新的外部蓝牙设备的设备信息至用户定义的外部蓝牙设备实例,使用外部蓝牙设备实例接收和转发订阅的设备信息及针对搜寻到的外部蓝牙设备的用户控制指令;接收和显示经转发的订阅的设备信息,接收、显示和转发用户控制指令。所公开的技术方案能够自动返回对应于不同外部蓝牙设备的设备信息或下发针对不同外部蓝牙设备的指令,逻辑处理操作直观,能够方便地在iOS系统下管理接入的多种不同的外部蓝牙设备。

Figure 201811020188

The invention discloses a method and a device for managing an external bluetooth device capable of communicating with an iOS device. The disclosed method includes: searching for an external Bluetooth device capable of communicating with a Bluetooth device in an iOS device, saving device information of the searched or updated external Bluetooth device; subscribing to the device of the searched or updated external Bluetooth device information to a user-defined external Bluetooth device instance, use the external Bluetooth device instance to receive and forward subscribed device information and user control instructions for the searched external Bluetooth device; receive and display the forwarded subscribed device information, receive, display and Forward user control instructions. The disclosed technical solution can automatically return device information corresponding to different external Bluetooth devices or issue instructions for different external Bluetooth devices, the logical processing operation is intuitive, and a variety of different external Bluetooth devices accessed under the iOS system can be conveniently managed. equipment.

Figure 201811020188

Description

Method and apparatus for managing external Bluetooth device capable of communicating with iOS device
Technical Field
The present invention relates to the field of computer software development, and more particularly, to a method and apparatus for managing an external bluetooth device capable of communicating with an iOS device.
Background
Bluetooth device management Applications (APPs) used by existing iOS devices typically call directly the bluetooth library of the iOS itself, and perform data communication between the bluetooth device on the iOS device and external bluetooth devices (e.g., bluetooth weight scales, bluetooth toothbrushes, etc.).
However, when a plurality of different external bluetooth devices (for example, a bluetooth weight scale and a bluetooth toothbrush are simultaneously supported), because specific communication protocols (for example, including specific control instructions and specific device information) of the different external bluetooth devices are different, it is usually necessary to call a plurality of different functions (for example, scanforperpersonals within CN105188023A, a patent application document named "bluetooth communication method and communication device", connected peripherals, discoverervices, perdigradi decentralized services, charateristic uuidsfurveservicees, dddecodcordistrivestorserviceforservicees, etc.) when managing each external bluetooth device by using the iOS-owned bluetooth library. Moreover, when device information corresponding to a specific external bluetooth device is returned or an instruction for a specific external bluetooth device is issued, a developer is usually required to write a function by himself to analyze each specific field and field value included in the device information, which is very cumbersome to process.
Therefore, a new technical solution is required to be proposed to conveniently manage a variety of different external bluetooth devices.
Disclosure of Invention
A method of managing an external bluetooth device capable of communicating with an iOS device according to the present invention includes:
searching an external Bluetooth device capable of communicating with a Bluetooth device in the iOS device, and storing device information of the searched or updated external Bluetooth device;
subscribing the searched or updated device information of the external Bluetooth device to a user-defined external Bluetooth device instance, and receiving and forwarding the subscribed device information and a user control command for the searched external Bluetooth device by using the external Bluetooth device instance;
receiving and displaying forwarded subscribed device information, receiving, displaying and forwarding user control instructions,
wherein the external bluetooth devices comprise bluetooth devices of various different types and/or models, and each external bluetooth device instance corresponds to an instance of a user-defined external bluetooth device class corresponding to a bluetooth device of the same type and/or the same model having the same device information set and the same user control instruction set.
According to the method of the present invention, an external Bluetooth device and device information of the external Bluetooth device are distinguished based on the MAC address of the external Bluetooth device.
According to the method of the invention, its external bluetooth class or external bluetooth device instance implements a method for implementing the following operations:
registering the external Bluetooth device class or the external Bluetooth device instance itself to a Bluetooth engine module to enable subscription for device information of the searched or updated external Bluetooth device and reception of user control instructions for the searched external Bluetooth device;
using a service dictionary to inform the Bluetooth engine module of the equipment information and the user control instruction which need to be monitored;
monitoring connection states of connections between the Bluetooth devices and the external Bluetooth devices, monitoring broadcast data sent by the external Bluetooth devices, and monitoring non-broadcast data sent by the external Bluetooth devices to monitor device information;
the user control command is forwarded to the bluetooth engine module via a write data interface provided by the bluetooth engine module.
According to the method of the present invention, a method for realizing an operation of registering an external bluetooth device instance itself to a bluetooth engine module is called in an initialization method of the external bluetooth device instance.
According to the method of the invention, the external bluetooth device comprises at least one of the following: bluetooth weighing scale, bluetooth toothbrush, bluetooth earphone, bluetooth mouse, bluetooth thermometer, bluetooth hygrometer, bluetooth barometer, bluetooth weighing machine, bluetooth sphygmomanometer.
An apparatus for managing an external bluetooth device capable of communicating with an iOS device according to the present invention includes:
the Bluetooth engine module is used for searching external Bluetooth equipment capable of communicating with the Bluetooth equipment in the iOS equipment and storing the searched or updated equipment information of the external Bluetooth equipment;
the external Bluetooth device management module is used for subscribing the searched or updated device information of the external Bluetooth device to a user-defined external Bluetooth device example from the Bluetooth engine module, and receiving and forwarding the subscribed device information and a user control instruction aiming at the searched external Bluetooth device by using the external Bluetooth device example;
an APP module for receiving and displaying the forwarded subscribed device information, receiving, displaying and forwarding user control instructions,
wherein the external bluetooth devices comprise bluetooth devices of various different types and/or models, and each external bluetooth device instance corresponds to an instance of a user-defined external bluetooth device class corresponding to a bluetooth device of the same type and/or the same model having the same device information set and the same user control instruction set.
According to the apparatus of the present invention, the external bluetooth device and the device information of the external bluetooth device are distinguished based on the MAC address of the external bluetooth device.
According to the apparatus of the invention, its external bluetooth class or external bluetooth device instance implements a method for implementing the following operations:
registering the external Bluetooth device class or the external Bluetooth device instance itself to a Bluetooth engine module to enable subscription for device information of the searched or updated external Bluetooth device and reception of user control instructions for the searched external Bluetooth device;
using a service dictionary to inform the Bluetooth engine module of the equipment information and the user control instruction which need to be monitored;
monitoring connection states of connections between the Bluetooth devices and the external Bluetooth devices, monitoring broadcast data sent by the external Bluetooth devices, and monitoring non-broadcast data sent by the external Bluetooth devices to monitor device information;
the user control command is forwarded to the bluetooth engine module via a write data interface provided by the bluetooth engine module.
According to the apparatus of the present invention, a method for implementing an operation of registering an external Bluetooth device instance itself to a Bluetooth engine module is called in an initialization method of the external Bluetooth device instance,
wherein the apparatus is disposed within the iOS device.
According to the apparatus of the invention, the external bluetooth device comprises at least one of the following: bluetooth weighing scale, bluetooth toothbrush, bluetooth earphone, bluetooth mouse, bluetooth thermometer, bluetooth hygrometer, bluetooth barometer, bluetooth weighing machine, bluetooth sphygmomanometer.
According to the technical scheme of the invention, the device information corresponding to different external Bluetooth devices can be automatically returned or the instructions aiming at different external Bluetooth devices are issued, the logic processing operation is intuitive, and various (accessed) different external Bluetooth devices can be conveniently managed under the iOS system.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and together with the description, serve to explain the principles of the invention. In the drawings, like reference numerals are used to indicate like elements. The drawings in the following description are directed to some, but not all embodiments of the invention. For a person skilled in the art, other figures can be derived from these figures without inventive effort.
Fig. 1 schematically shows a flow chart of a method of managing an external bluetooth device capable of communicating with an iOS device according to the present invention.
Fig. 2 exemplarily shows a schematic block diagram of an apparatus for managing an external bluetooth device capable of communicating with an iOS device according to the present invention.
Fig. 3 exemplarily shows a schematic diagram of one example of an apparatus for managing an external bluetooth device capable of communicating with an iOS device according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
Fig. 1 schematically shows a flow chart of a method of managing an external bluetooth device capable of communicating with an iOS device according to the present invention.
As shown in fig. 1, the method of managing an external bluetooth device capable of communicating with an iOS device according to the present invention includes:
step S102: searching an external Bluetooth device capable of communicating with a Bluetooth device in the iOS device, and storing device information of the searched or updated external Bluetooth device;
step S104: subscribing the searched or updated device information of the external Bluetooth device to a user-defined external Bluetooth device instance, and receiving and forwarding the subscribed device information and a user control command for the searched external Bluetooth device by using the external Bluetooth device instance;
step S106: receiving and displaying forwarded subscribed device information, receiving, displaying and forwarding user control instructions,
wherein the external bluetooth devices comprise bluetooth devices of various different types and/or models, and each external bluetooth device instance corresponds to an instance of a user-defined external bluetooth device class corresponding to a bluetooth device of the same type and/or the same model having the same device information set and the same user control instruction set.
Alternatively, the external bluetooth device and the device information of the external bluetooth device are distinguished based on the MAC address of the external bluetooth device.
Optionally, the external bluetooth class or external bluetooth device instance implements a method (function or protocol) for implementing the following:
registering the external Bluetooth device class or the external Bluetooth device instance itself to a Bluetooth engine module to enable subscription for device information of the searched or updated external Bluetooth device and reception of user control instructions for the searched external Bluetooth device;
using a service dictionary to inform the Bluetooth engine module of the equipment information and the user control instruction which need to be monitored;
monitoring connection states of connections between the Bluetooth devices and the external Bluetooth devices, monitoring broadcast data sent by the external Bluetooth devices, and monitoring non-broadcast data sent by the external Bluetooth devices to monitor device information;
the user control command is forwarded to the bluetooth engine module via a write data interface provided by the bluetooth engine module.
That is, after the external bluetooth device instance (i.e., device class a-device class d in fig. 3) registers itself in the logic engine (or device management class), it can monitor the device data change as long as the relevant interface (function) in the device protocol (bluetooth protocol) is implemented, and can easily control the device through the command issuing interface provided by the logic engine.
For example, one skilled in the art can use XCode to write the following OC source code to implement the above-described method (function or protocol):
for clarity, specific implementation codes of the methods are not given, and understanding of the technical scheme of the invention is not affected.
1. Importing a header file of a device access protocol (i.e., of an OC class to which an instance corresponding to theBluetooth Engine Module 201 in FIG. 2 belongs) and a header file of a device management class (i.e., of an OC class to which an instance of an external Bluetooth device in the external Bluetoothdevice management Module 203 in FIG. 2 belongs)
#import"DLBTDeviceJoinProtocol.h"
#import"DLBTDeviceManager.h"
2. Method for implementing protocol
Figure BDA0001787106730000061
Figure BDA0001787106730000071
The NSDictionary corresponds to a data structure for implementing the service dictionary.
Alternatively, a method for realizing an operation of registering the external bluetooth device instance itself to the bluetooth engine module is called in the initialization method of the external bluetooth device instance.
Optionally, the external bluetooth device comprises at least one of: bluetooth weighing scale, bluetooth toothbrush, bluetooth earphone, bluetooth mouse, bluetooth thermometer, bluetooth hygrometer, bluetooth barometer, bluetooth weighing machine, bluetooth sphygmomanometer.
Fig. 2 schematically shows a block schematic of an apparatus 200 for managing an external bluetooth device capable of communicating with an iOS device according to the present invention.
As shown in fig. 2, the apparatus 200 for managing an external bluetooth device capable of communicating with an iOS device according to the present invention includes:
abluetooth engine module 201 for searching for an external bluetooth device capable of communicating with a bluetooth device among the iOS devices, and storing device information of the searched or updated external bluetooth device;
an external bluetoothdevice management module 203, configured to subscribe the searched or updated device information of the external bluetooth device to a user-defined external bluetooth device instance from the bluetooth engine module, and receive and forward the subscribed device information and a user control command for the searched external bluetooth device using the external bluetooth device instance;
anAPP module 205 for receiving and displaying the forwarded subscribed device information, receiving, displaying and forwarding user control instructions,
wherein the external bluetooth devices comprise bluetooth devices of various different types and/or models, and each external bluetooth device instance corresponds to an instance of a user-defined external bluetooth device class corresponding to a bluetooth device of the same type and/or the same model having the same device information set and the same user control instruction set.
Alternatively, the external bluetooth device and the device information of the external bluetooth device are distinguished based on the MAC address of the external bluetooth device.
Optionally, the external bluetooth class or external bluetooth device instance implements a method (function or protocol) for implementing the following:
registering the external Bluetooth device class or the external Bluetooth device instance itself to a Bluetooth engine module to enable subscription for device information of the searched or updated external Bluetooth device and reception of user control instructions for the searched external Bluetooth device;
using a service dictionary to inform the Bluetooth engine module of the equipment information and the user control instruction which need to be monitored;
monitoring connection states of connections between the Bluetooth devices and the external Bluetooth devices, monitoring broadcast data sent by the external Bluetooth devices, and monitoring non-broadcast data sent by the external Bluetooth devices to monitor device information;
the user control command is forwarded to the bluetooth engine module via a write data interface provided by the bluetooth engine module.
Alternatively, a method for realizing an operation of registering the external Bluetooth device instance itself to the Bluetooth engine module is called in the initialization method of the external Bluetooth device instance,
wherein the apparatus 200 is provided in an iOS device.
Optionally, the external bluetooth device comprises at least one of: bluetooth weighing scale, bluetooth toothbrush, bluetooth earphone, bluetooth mouse, bluetooth thermometer, bluetooth hygrometer, bluetooth barometer, bluetooth weighing machine, bluetooth sphygmomanometer.
In order to make the technical solutions according to the present invention more clearly understood by those skilled in the art, the following description will be given with reference to specific embodiments.
Fig. 3 schematically shows an example of an apparatus 200 for managing an external bluetooth device capable of communicating with an iOS device according to the present invention.
As shown in fig. 3, this example mainly includes a bluetooth engine (i.e., the above-mentioned bluetooth engine module 201), a device class a-device class d (i.e., an external bluetooth device example used by the above-mentioned external bluetooth device management module 203), and an APP. The device classes a to d correspond to the devices a to d one by one, and the devices a to d report parameters (i.e., the device information) through a bluetooth protocol.
The bluetooth engine is responsible for searching for (external) bluetooth devices and binding the devices with user information after finding the devices. And sending the information reported by the equipment and the Bluetooth connection state of the equipment to a Bluetooth equipment class, and sending a command (namely, the user control instruction) issued by the equipment class to the Bluetooth equipment.
For example, parameters of a bluetooth weight scale include a weight value; the parameters of the Bluetooth toothbrush comprise a switch state and a vibration frequency; the parameters of the Bluetooth headset comprise a switch state and volume. The command for the bluetooth scale comprises a command to send a weight value; commands for the bluetooth toothbrush include switch commands, commands to adjust the vibration frequency; the command for the Bluetooth headset comprises a switch command and a command for adjusting volume.
For example, bluetooth engine 1) may distribute various device states to corresponding bluetooth device classes, which then provide the various device states (i.e., "device current various parameters" in fig. 3) to the APP; 2) and distributing various commands issued by the Bluetooth equipment to the corresponding Bluetooth equipment by the Bluetooth equipment. Therefore, the logic processing of the data flow is more visual and is easy to distinguish.
The Bluetooth device class is responsible for subscribing the device information, and can receive the device data updating information after subscribing.
When the state of each parameter of the Bluetooth equipment is updated, the Bluetooth engine is also responsible for informing the state update to the corresponding Bluetooth equipment class.
Where each bluetooth device class is an abstraction of a specific bluetooth device (e.g., the same class of bluetooth devices where control commands and device information are the same). For example, bluetooth devices can be distinguished by MAC addresses, thereby implementing device-specific management.
The APP is responsible for using the command sending interface to send commands to the equipment class; and is responsible for receiving the various device states from the Bluetooth device class and conveniently displaying various parameters (states) of the device.
According to the technical scheme of the invention, the device information corresponding to different external Bluetooth devices can be automatically returned or the instructions aiming at different external Bluetooth devices are issued, the logic processing operation is intuitive, and various (accessed) different external Bluetooth devices can be conveniently managed under the iOS system. The uplink and downlink data (namely, the Bluetooth connection state reporting data and the control instruction issuing data) of different external Bluetooth devices can be processed uniformly, and each device can be concentrated on realizing other logic functions.
According to the technical scheme of the invention, various Bluetooth devices can be easily supported, and data reporting, command issuing and connection state display of the Bluetooth devices are simply processed.
The above-described aspects may be implemented individually or in various combinations, and such variations are within the scope of the present invention.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
Finally, it should be noted that: the above examples are only for illustrating the technical solutions of the present invention, and are not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

Translated fromChinese
1.一种管理能够与iOS设备进行通信的外部蓝牙设备的方法,其特征在于,包括:1. a method for managing an external bluetooth device capable of communicating with an iOS device, comprising:搜寻与所述iOS设备中的蓝牙设备能够进行通信的外部蓝牙设备,保存搜寻到的或经更新的外部蓝牙设备的设备信息;Searching for an external Bluetooth device that can communicate with the Bluetooth device in the iOS device, and saving the device information of the searched or updated external Bluetooth device;订阅所述搜寻到的或经更新的外部蓝牙设备的设备信息至用户定义的外部蓝牙设备实例,使用所述外部蓝牙设备实例接收和转发订阅的设备信息及针对所述搜寻到的外部蓝牙设备的用户控制指令;Subscribing the device information of the discovered or updated external Bluetooth device to a user-defined external Bluetooth device instance, and using the external Bluetooth device instance to receive and forward the subscribed device information and user control instructions;接收和显示经转发的订阅的设备信息,接收、显示和转发所述用户控制指令,receive and display forwarded subscribed device information, receive, display and forward said user control instructions,其中,所述外部蓝牙设备包括各种不同类型和/或型号的蓝牙设备,每个外部蓝牙设备实例对应于具有相同类型和/或相同型号的、具有相同设备信息集合和相同用户控制指令集合的蓝牙设备所对应的用户定义的外部蓝牙设备类的一个实例;Wherein, the external Bluetooth device includes various types and/or models of Bluetooth devices, and each external Bluetooth device instance corresponds to a device of the same type and/or the same model, having the same set of device information and the same set of user control instructions An instance of the user-defined external Bluetooth device class corresponding to the Bluetooth device;使用服务字典,告知所述蓝牙引擎模块需要监听的设备信息和用户控制指令;Use the service dictionary to inform the Bluetooth engine module of the device information and user control instructions that need to be monitored;实现针对蓝牙设备与各个外部蓝牙设备之间的各个连接的连接状态的监听、针对各个外部蓝牙设备所发送的广播数据的监听、针对各个外部蓝牙设备所发送的非广播数据的监听,以监听所述设备信息。Realize the monitoring of the connection status of each connection between the Bluetooth device and each external Bluetooth device, the monitoring of the broadcast data sent by each external Bluetooth device, and the monitoring of the non-broadcast data sent by each external Bluetooth device. the device information.2.如权利要求1所述的方法,其特征在于,基于外部蓝牙设备的MAC地址来区分外部蓝牙设备及外部蓝牙设备的设备信息。2 . The method of claim 1 , wherein the external Bluetooth device and the device information of the external Bluetooth device are distinguished based on the MAC address of the external Bluetooth device. 3 .3.如权利要求1所述的方法,其特征在于,所述外部蓝牙设备类或所述外部蓝牙设备实例实现了用于实现以下操作的方法:3. The method of claim 1, wherein the external Bluetooth device class or the external Bluetooth device instance implements a method for implementing the following operations:将所述外部蓝牙设备类或所述外部蓝牙设备实例自身注册到蓝牙引擎模块,以实现针对所述搜寻到的或经更新的外部蓝牙设备的设备信息的订阅和针对所述搜寻到的外部蓝牙设备的用户控制指令的接收;registering the external bluetooth device class or the external bluetooth device instance itself to a bluetooth engine module to implement subscription of device information for the discovered or updated external bluetooth device and for the discovered external bluetooth device the receipt of user-controlled instructions for the device;经由所述蓝牙引擎模块所提供的写数据接口将用户控制指令转发给所述蓝牙引擎模块。The user control instruction is forwarded to the bluetooth engine module via the write data interface provided by the bluetooth engine module.4.如权利要求3所述的方法,其特征在于,在所述外部蓝牙设备实例的初始化方法中调用用于实现将所述外部蓝牙设备实例自身注册到蓝牙引擎模块的操作的方法。4. The method according to claim 3, characterized in that, in the initialization method of the external bluetooth device instance, a method for realizing the operation of registering the external bluetooth device instance itself to the bluetooth engine module is called.5.如权利要求1所述的方法,其特征在于,所述外部蓝牙设备包括下列中的至少一种中的至少一个:蓝牙体重秤、蓝牙牙刷、蓝牙耳机、蓝牙鼠标、蓝牙温度计、蓝牙湿度计、蓝牙气压计、蓝牙体重计、蓝牙血压计。5. The method of claim 1, wherein the external bluetooth device comprises at least one of at least one of the following: a bluetooth weight scale, a bluetooth toothbrush, a bluetooth headset, a bluetooth mouse, a bluetooth thermometer, a bluetooth humidity meter, bluetooth barometer, bluetooth weight scale, bluetooth sphygmomanometer.6.一种管理能够与iOS设备进行通信的外部蓝牙设备的装置,其特征在于,包括:6. A device for managing an external bluetooth device capable of communicating with an iOS device, comprising:蓝牙引擎模块,用于搜寻与所述iOS设备中的蓝牙设备能够进行通信的外部蓝牙设备,保存搜寻到的或经更新的外部蓝牙设备的设备信息;A bluetooth engine module for searching for an external bluetooth device that can communicate with the bluetooth device in the iOS device, and saving the device information of the searched or updated external bluetooth device;外部蓝牙设备管理模块,用于向所述蓝牙引擎模块订阅所述搜寻到的或经更新的外部蓝牙设备的设备信息至用户定义的外部蓝牙设备实例,使用所述外部蓝牙设备实例接收和转发订阅的设备信息及针对所述搜寻到的外部蓝牙设备的用户控制指令;An external Bluetooth device management module, configured to subscribe the device information of the searched or updated external Bluetooth device to the Bluetooth engine module to a user-defined external Bluetooth device instance, and use the external Bluetooth device instance to receive and forward subscriptions device information and user control instructions for the searched external Bluetooth device;APP模块,用于接收和显示经转发的订阅的设备信息,接收、显示和转发所述用户控制指令,an APP module for receiving and displaying the forwarded subscribed device information, receiving, displaying and forwarding the user control instructions,其中,所述外部蓝牙设备包括各种不同类型和/或型号的蓝牙设备,每个外部蓝牙设备实例对应于具有相同类型和/或相同型号的、具有相同设备信息集合和相同用户控制指令集合的蓝牙设备所对应的用户定义的外部蓝牙设备类的一个实例;Wherein, the external Bluetooth device includes various types and/or models of Bluetooth devices, and each external Bluetooth device instance corresponds to a device of the same type and/or the same model, having the same set of device information and the same set of user control instructions An instance of the user-defined external Bluetooth device class corresponding to the Bluetooth device;使用服务字典,告知所述蓝牙引擎模块需要监听的设备信息和用户控制指令;Use the service dictionary to inform the Bluetooth engine module of the device information and user control instructions that need to be monitored;实现针对蓝牙设备与各个外部蓝牙设备之间的各个连接的连接状态的监听、针对各个外部蓝牙设备所发送的广播数据的监听、针对各个外部蓝牙设备所发送的非广播数据的监听,以监听所述设备信息。Realize the monitoring of the connection status of each connection between the Bluetooth device and each external Bluetooth device, the monitoring of the broadcast data sent by each external Bluetooth device, and the monitoring of the non-broadcast data sent by each external Bluetooth device. the device information.7.如权利要求6所述的装置,其特征在于,基于外部蓝牙设备的MAC地址来区分外部蓝牙设备及外部蓝牙设备的设备信息。7. The apparatus of claim 6, wherein the external Bluetooth device and the device information of the external Bluetooth device are distinguished based on the MAC address of the external Bluetooth device.8.如权利要求6所述的装置,其特征在于,所述外部蓝牙设备类或所述外部蓝牙设备实例实现了用于实现以下操作的方法:8. The apparatus of claim 6, wherein the external Bluetooth device class or the external Bluetooth device instance implements a method for:将所述外部蓝牙设备类或所述外部蓝牙设备实例自身注册到所述蓝牙引擎模块,以实现针对所述搜寻到的或经更新的外部蓝牙设备的设备信息的订阅和针对所述搜寻到的外部蓝牙设备的用户控制指令的接收;registering the external bluetooth device class or the external bluetooth device instance itself to the bluetooth engine module to enable subscription of device information for the discovered or updated external bluetooth device and for the discovered or updated external bluetooth device Reception of user control commands from external Bluetooth devices;经由所述蓝牙引擎模块所提供的写数据接口将用户控制指令转发给所述蓝牙引擎模块。The user control instruction is forwarded to the bluetooth engine module via the write data interface provided by the bluetooth engine module.9.如权利要求8所述的装置,其特征在于,在所述外部蓝牙设备实例的初始化方法中调用用于实现将所述外部蓝牙设备实例自身注册到蓝牙引擎模块的操作的方法,9. The apparatus of claim 8, wherein in the initialization method of the external bluetooth device instance, a method for realizing the operation of registering the external bluetooth device instance itself to the bluetooth engine module is called,其中,所述装置设置在所述iOS设备之中。Wherein, the apparatus is set in the iOS device.10.如权利要求6所述的装置,其特征在于,所述外部蓝牙设备包括下列中的至少一种中的至少一个:蓝牙体重秤、蓝牙牙刷、蓝牙耳机、蓝牙鼠标、蓝牙温度计、蓝牙湿度计、蓝牙气压计、蓝牙体重计、蓝牙血压计。10. The apparatus of claim 6, wherein the external bluetooth device comprises at least one of at least one of the following: a bluetooth weight scale, a bluetooth toothbrush, a bluetooth headset, a bluetooth mouse, a bluetooth thermometer, a bluetooth humidity meter, bluetooth barometer, bluetooth weight scale, bluetooth sphygmomanometer.
CN201811020188.0A2018-09-032018-09-03 Method and apparatus for managing external Bluetooth devices capable of communicating with iOS devicesActiveCN109413620B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201811020188.0ACN109413620B (en)2018-09-032018-09-03 Method and apparatus for managing external Bluetooth devices capable of communicating with iOS devices

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201811020188.0ACN109413620B (en)2018-09-032018-09-03 Method and apparatus for managing external Bluetooth devices capable of communicating with iOS devices

Publications (2)

Publication NumberPublication Date
CN109413620A CN109413620A (en)2019-03-01
CN109413620Btrue CN109413620B (en)2021-08-24

Family

ID=65463886

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201811020188.0AActiveCN109413620B (en)2018-09-032018-09-03 Method and apparatus for managing external Bluetooth devices capable of communicating with iOS devices

Country Status (1)

CountryLink
CN (1)CN109413620B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102045442A (en)*2010-11-032011-05-04浙江大学Method and device for controlling grip fight mobile game
CN103316472A (en)*2013-05-172013-09-25南京睿悦信息技术有限公司Android device gas platform system based on Bluetooth handle and implementation method of Android device gas platform system
CN106603125A (en)*2016-11-292017-04-26新智数字科技有限公司Method and device of realizing data interaction with Bluetooth device
CN107851243A (en)*2015-07-152018-03-27微软技术许可有限责任公司Infer physics conference location
CN108289110A (en)*2017-01-092018-07-17阿里巴巴集团控股有限公司Equipment correlating method, device, terminal device and operating system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20040260701A1 (en)*2003-05-272004-12-23Juha LehikoinenSystem and method for weblog and sharing in a peer-to-peer environment
US8863235B2 (en)*2008-05-132014-10-14At&T Mobility Ii LlcTime-dependent white list generation
US20100262464A1 (en)*2009-04-092010-10-14Access Mobility, Inc.Active learning and advanced relationship marketing
US9323784B2 (en)*2009-12-092016-04-26Google Inc.Image search using text-based elements within the contents of images
US8504062B2 (en)*2010-11-012013-08-06Wavemarket, Inc.System and method for aggregating and associating mobile device location data
CN103561479B (en)*2013-10-172017-03-08东软熙康健康科技有限公司A kind of bluetooth devices method and apparatus
US20150128096A1 (en)*2013-11-042015-05-07Sidra Medical and Research CenterSystem to facilitate and streamline communication and information-flow in health-care

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102045442A (en)*2010-11-032011-05-04浙江大学Method and device for controlling grip fight mobile game
CN103316472A (en)*2013-05-172013-09-25南京睿悦信息技术有限公司Android device gas platform system based on Bluetooth handle and implementation method of Android device gas platform system
CN107851243A (en)*2015-07-152018-03-27微软技术许可有限责任公司Infer physics conference location
CN106603125A (en)*2016-11-292017-04-26新智数字科技有限公司Method and device of realizing data interaction with Bluetooth device
CN108289110A (en)*2017-01-092018-07-17阿里巴巴集团控股有限公司Equipment correlating method, device, terminal device and operating system

Also Published As

Publication numberPublication date
CN109413620A (en)2019-03-01

Similar Documents

PublicationPublication DateTitle
CA2869505C (en)Method and system for group communication, group server, and group member device
WO2021008414A1 (en)Alarm method for internet of things device, and related apparatus
US20190050351A1 (en)Enabling out-of-band hardware management via an in-band communications channel
KR101871383B1 (en)Method and system for using a recursive event listener on a node in hierarchical data structure
CN112449341B (en)IoT (Internet of things) equipment data management method, device and system
CN109660372B (en)SDN service configuration method and device
EP3975481B1 (en)Data acquisition method and apparatus, computer device, and computer-readable medium
CN102594598A (en)Log management system and implementation method thereof
CN108363610A (en)A kind of control method and equipment of virtual machine monitoring plug-in unit
WO2017032112A1 (en)Method for communicating with board having no central processing unit and communication device
WO2022062807A1 (en)Device control method, server, and storage medium
CN112199210A (en)Data processing method and device based on Internet of things, computer equipment and medium
CN106961361A (en)From detection/processing method, apparatus and system
US20200099690A1 (en)Process manager for digital communication
CN105656643B (en) A method and device for compatible management based on network configuration protocol
CN109525621B (en) A data synchronization method, device and system based on ZigBee binding
CN105303639A (en)Fault information recording method and related apparatus
CN109413620B (en) Method and apparatus for managing external Bluetooth devices capable of communicating with iOS devices
EP3002909A1 (en)One button configuration of embedded electronic devices
CN115174398A (en)Network equipment configuration method, equipment and medium based on python interactive shell
CN117714277B (en)Multi-cluster gateway based on cloud protogenesis and working method thereof
CN108628864B (en)Data access method and data management device
CN112087430A (en)System and method for accessing MCTP (multimedia broadcast multicast service) equipment through SMASH (simple multimedia application service) interface
CN113596084B (en)Household appliance state feedback method and system, storage medium and electronic device
WO2020220272A1 (en)Method and system for changing resource state, terminal, and storage medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
CB03Change of inventor or designer information

Inventor after:Liu Jianguo

Inventor after:Gu Tao

Inventor after:Liu Gang

Inventor before:Gu Tao

Inventor before:Liu Gang

CB03Change of inventor or designer information

[8]ページ先頭

©2009-2025 Movatter.jp