Abstract:
A method and device for controlling peripheral devices via a social networking platform includes a method and device for registering a peripheral device on a social networking platform, which includes: at a user device having one or more processors and memory: executing a social networking client application of the social networking platform on the user device; through the social networking client application, receiving an input identifying a peripheral device; and in response to receiving the input identifying the peripheral device: sending a request to establish a social networking identity for the peripheral device; and upon successful establishment of the social networking identity for the peripheral device, presenting the peripheral device as a social network contact of the user account in a user interface of the social networking client application.
Abstract:
An input device includes an input module and a fixing module matching the input module. The input module is a sphere having a cavity, the input module includes a signal detection unit and a signal output unit, the signal detection unit and the signal output unit are placed in the cavity after being electrically connected, the signal detection unit is configured to generate a corresponding input signal according to a preset operation performed by a user on the input module, and the signal output unit is connected to an external terminal and configured to output the input signal to the terminal. The fixing module is configured to fix the input device on a preset flat surface.
Abstract:
A method and device for transmitting data between a peripheral device and a user device via a Bluetooth Low Energy connection, comprising: at the peripheral device: transmitting data to the user device in a simulated data stream, the transmitting comprising: identifying a first Bluetooth characteristic for writing data, the first Bluetooth characteristic having been exposed by the peripheral device to the user device; dividing a data packet into a sequence of data frames plus zero or one remainder, each data frame having a respective size equal to a predetermined data size of the identified first Bluetooth characteristic; and for each of the sequence of data frames: writing the data frame to a respective value for the identified first Bluetooth characteristic; and pushing the identified first Bluetooth characteristic for reading by the user device.
Abstract:
A communications device connection method, a terminal device, and a server system are provided. The method includes: acquiring an image identifier of a communications device, sending the image identifier to a server side, and receiving characteristic information of at least one dimension for a device type of the communications device; detecting connection information sent by at least one communications device, obtaining a device identifier of the at least one communications device, and obtaining to-be-matched characteristic information of at least one dimension for a type of the registered at least one communications device; comparing the characteristic information of the at least one dimension for the device type of the communications device with the to-be-matched characteristic information of the at least one dimension for the type of the registered at least one communications device; and binding to and establishing a communications connection to a selected target communications device.
Abstract:
A service terminal, which is communicatively coupled to a remote server, communicates with an offline mobile phone located nearby via a short-range wireless communication protocol to complete a service request initiated by the mobile phone. The service terminal repeatedly broadcasts, via a short-range wireless transceiver, a service message to neighboring mobile terminals until after receiving a service purchase request message from one of the mobile terminals. The service terminal then suspends the broadcast of the service message and submits the service purchase request to the remote server and then receives a purchase confirmation message from the remote server. Next, the service terminal transmits, via the short-range wireless transceiver, the purchase confirmation message back to the user terminal.
Abstract:
A method and device for transmitting data between a peripheral device and a user device via a Bluetooth Low Energy connection, comprising: at the peripheral device: transmitting data to the user device in a simulated data stream, the transmitting comprising: identifying a first Bluetooth characteristic for writing data, the first Bluetooth characteristic having been exposed by the peripheral device to the user device; dividing a data packet into a sequence of data frames plus zero or one remainder, each data frame having a respective size equal to a predetermined data size of the identified first Bluetooth characteristic; and for each of the sequence of data frames: writing the data frame to a respective value for the identified first Bluetooth characteristic; and pushing the identified first Bluetooth characteristic for reading by the user device.
Abstract:
A method and system for connecting a peripheral device to a user device via a Bluetooth protocol, comprising: at the peripheral device: initiating an broadcasting process, comprising: broadcasting a device discovery message, the device discovery message comprising a predetermined identifier designated for a social networking service associated with a social networking application executing on the user device; receiving, from the user device, a connection request corresponding to the device discovery message; and in response to receiving the connection request from the user device, establishing a Bluetooth connection to the user device.
Abstract:
A method and device for transmitting data between a peripheral device and a user device via a Bluetooth Low Energy connection, comprising: at the peripheral device: transmitting data to the user device in a simulated data stream, the transmitting comprising: identifying a first Bluetooth characteristic for writing data, the first Bluetooth characteristic having been exposed by the peripheral device to the user device; dividing a data packet into a sequence of data frames plus zero or one remainder, each data frame having a respective size equal to a predetermined data size of the identified first Bluetooth characteristic; and for each of the sequence of data frames: writing the data frame to a respective value for the identified first Bluetooth characteristic; and pushing the identified first Bluetooth characteristic for reading by the user device.
Abstract:
A method and system for connecting a peripheral device to a user device via a Bluetooth protocol, comprising: at the user device: initiating a device scan process, comprising: detecting a device discovery message from the peripheral device; and determining whether the device discovery message includes a predetermined identifier designated for a social networking service associated with a social networking application executing on the user device; upon determining that the device discovery message includes the predetermined identifier designated for the social networking service associated with a social networking application executing on the user device, sending, to the peripheral device, a connection request corresponding to the device discovery message; and establishing a Bluetooth connection to the peripheral device.
Abstract:
A method and device for transmitting data between a peripheral device and a user device via a Bluetooth Low Energy connection, comprising: at the peripheral device: transmitting data to the user device in a simulated data stream, the transmitting comprising: identifying a first Bluetooth characteristic for writing data, the first Bluetooth characteristic having been exposed by the peripheral device to the user device; dividing a data packet into a sequence of data frames plus zero or one remainder, each data frame having a respective size equal to a predetermined data size of the identified first Bluetooth characteristic; and for each of the sequence of data frames: writing the data frame to a respective value for the identified first Bluetooth characteristic; and pushing the identified first Bluetooth characteristic for reading by the user device.