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.
Abstract:
The disclosure describes a device control method. A close-range communication connection between a terminal and a target device is established. A feature description of the target device is obtained through the close-range communication connection. The feature description corresponds to a function of the target device. An operation permission regarding the feature description is queried. The function is controlled by the terminal using the feature description according to the operation permission regarding the feature description.
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:
The present disclosure provides a method, apparatus and system for readily and conveniently getting network access for a smart device. The method for network access for a smart device includes receiving, by a server comprising a processor and a non-transitory storage medium, a first identification identifying a wireless access point and a first terminal identifier; receiving a second identification identifying a smart device and a second terminal identifier; associating the wireless access point with the smart device if the first terminal identifier corresponds to the second terminal identifier, and sending the second identification for the associated smart device to the wireless access point. The wireless access point provides network access authentication information to the smart device so that the smart device can get access to a network provided by the wireless access point with the network access authentication information.
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 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:
Methods, devices and systems for sharing information related to exercise/health activities are disclosed. A user terminal can acquire a device identifier associated with a health monitoring device, such as a monitoring wristband or a treadmill, through a communication program (e.g., an instant messaging application). The user terminal can communicate with a server of the communication program so that the server binds the device identifier with a user ID. The association of the user ID and the device identifier allows the user to share the health monitoring information from the health monitoring device with other users through the server. In addition, the connected users can participate in real-time competitions and share information related to the competition. The server also generates ranking lists or other sharing formats for the competition, improving user experience and making exercise and competition more attractive.
Abstract:
The present application discloses methods and devices for intercommunication between mobile terminals based on digital networks. A first mobile terminal may connect to a uniquely identified server based on a first terminal identifier corresponding to the first mobile terminal. In addition, the first mobile terminal may connect to the server through a default connection setup embedded in the first terminal identifier. By acquiring terminal identifiers corresponding to interacting mobile terminals, the first mobile terminal may establish communication channels with the interacting mobile terminals. After adding the terminal identifiers of the interacting mobile terminals to the contact lists of the first mobile terminal, different regions of the first mobile terminal may be designated to the interacting mobile terminals so that the regions may display the status of communication and serve as interfaces to control receiving, playing, recording, and transmitting digital contents encoding voice messages.