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 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:
An earphone wire control device, an earphone, a voice recording system and a voice recording system and method. When a switching unit turns on a first path, a microphone path is short-circuited, a first signal generating unit generates a recording start signal and cuts off the first path after generating the recording start signal so that the microphone path is turned on. When the switching unit turns on a second path, the microphone path is short-circuited, a second signal generating unit generates a recording stop signal and cuts off the second path after generating the recording stop signal.
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:
A method, server and storage medium for verifying a transaction using a smart card are disclosed. A server receives a transaction request to perform a transaction with a user of the smart card. The transaction request includes identification information and encrypted data extracted from the smart card, and transaction information. The server determines a user account linked to the identification information. The server performs a first verification process to authenticate the smart card by verifying that the smart card possesses a correct decryption key corresponding to the identification information. The server performs a second verification process to authenticate the smart card by verifying that the encrypted data extracted from the smart card encodes stored data corresponding to the respective user account linked to the identification information. If the first and the second verification processes are successful, the server processes the transaction in accordance with the transaction information.
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:
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.