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:
This application discloses a data transfer method for transferring information concerning a service set associated with a communication network. An electronic device obtains a plurality of data packets that comply with a specific data format corresponding to a network access protocol, and each data packet includes a respective header that further includes at least one data field. A service set identifier (SSID) data set is arranged in the at least one data field of the plurality of data packets according to a link layer data structure. The SSID data set at least includes a SSID and a SSID password, and identifies a wireless network that transmits the plurality of data packets and is accessible when the SSID password is verified. The data packets that include the SSID data set are encrypted, and to a receiver device that is communicatively coupled to the electronic device via the identified wireless network.
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 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:
Systems and methods are provided for instant messaging. For example, a first association relationship with at least one first apparatus client for instant messaging is established; and a first control instruction is transmitted to the at least one first apparatus client to trigger the at least one first apparatus client to control, according to the first control instruction, an intelligent apparatus connected to the at least one first apparatus client to execute one or more predetermined operations.
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:
This application discloses a data communication method implemented at an electronic device. The electronic device obtains a sequence of data packets. Each data packet complies with a first data format corresponding to a network access protocol and comprises a respective header that further includes a data length field for specifying a length of the respective data packet. Data are then assigned to the data length fields of the sequence of data packets according to a second data format. The electronic device encrypts the sequence of data packets including the assigned data. The encrypted data packets are then sent to a receiver device that is communicatively coupled to the electronic device via a wireless network. The receiver device is configured to retrieve the assigned data from the data length fields of the data packets according to the first and second data formats and perform operations in accordance with the retrieved data.
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:
Systems and methods are provided for instant messaging. For example, a first association relationship with at least one first apparatus client for instant messaging is established; and a first control instruction is transmitted to the at least one first apparatus client to trigger the at least one first apparatus client to control, according to the first control instruction, an intelligent apparatus connected to the at least one first apparatus client to execute one or more predetermined operations.
Abstract:
This application discloses a data communication method implemented at an electronic device. The electronic device obtains a sequence of data packets. Each data packet complies with a first data format corresponding to a network access protocol and comprises a respective header that further includes a data length field for specifying a length of the respective data packet. Data are then assigned to the data length fields of the sequence of data packets according to a second data format. The electronic device encrypts the sequence of data packets including the assigned data. The encrypted data packets are then sent to a receiver device that is communicatively coupled to the electronic device via a wireless network. The receiver device is configured to retrieve the assigned data from the data length fields of the data packets according to the first and second data formats and perform operations in accordance with the retrieved data.