Abstract:
An information transmitting method and device, and an information receiving method and device are provided. The information transmitting method includes: obtaining authentication information; converting the authentication information into a binary sequence; encoding the binary sequence into optical signals based on a correspondence between a binary number and an optical signal; and transmitting the optical signals to a receiving device, wherein the receiving device receives the optical signals, obtains the authentication information carried in the optical signals, and performs an information authentication based on the authentication information.
Abstract:
A method and apparatus for connecting peripheral devices are disclosed. The method is performed at an electronic device having one or more processors and memory, and includes: scanning, through a user interface of a social networking application, an image containing encoded information associated with a first peripheral device that provides a first wireless communication interface; retrieving, based on the encoded information, a first identity information item of the first peripheral device from a server hosting a social networking platform associated with the social networking application; and in accordance with the retrieved first identity information item, establishing a wireless connection between the electronic device and the first peripheral device via the first wireless communication interface of the first peripheral device.
Abstract:
A service terminal, which is communicatively coupled to a remote server, works with an offline user terminal to complete a service request initiated by a user of the user terminal. The service terminal repeatedly broadcasts a service message to neighboring user terminals until after receiving a service purchase request message wirelessly transmitted from a user terminal. The service terminal then suspends the broadcast of the service message and communicates the service purchase request to the remote server and receives a purchase confirmation message from the remote server. Next, the service terminal wirelessly transmits the purchase confirmation message back to the user terminal. From reading the purchase confirmation message, a user of the user terminal can tell whether the service purchase request has been completed successfully or not. If not, the service terminal then resumes the broadcast of the service message until after receiving another service purchase request message.
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 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:
This application discloses a method implemented at a server to facilitate secure offline transactions. The server receives, from a client device, an authorization request that includes a user identifier, first financial account information and a secure code. The server authenticates the authorization request, and sends a first transaction approval to the client device. Then, in accordance with the information received in the authorization request, the server facilitates a secure transaction between the client device and a point-of-sale (POS) machine while the client device is offline. Specifically, the server receives, from the POS machine, a transaction request that includes at least the user identifier and the security code. The server retrieves the first financial account information from a memory according to the user identifier and the security code, performs a transaction operation associated with the first financial account information, and sends a second transaction approval to the POS machine.
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:
Methods and systems for facilitating access to a network (e.g., the Internet) are disclosed herein. A server with processor(s) and memory receives a request from a client device to download a network access configuration file, where the network access configuration file is configured to enable access to the Internet via a respective Internet access point. In accordance with the received request, the server identifies a first account in a social networking platform corresponding to a provider of the respective Internet access point. The server determines a relationship between the first account and a second account corresponding to a user of the client device in the social networking platform. In accordance with a first determination that the relationship satisfies one or more predetermined access criteria, the server provides the network access configuration file to the client device.
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.