Abstract:
The present disclosure provides a method for binding a user with a device. The method includes: a terminal sending a binding request to the device in a present local area network. The binding request carries a registered user ID for the user to log into a client program on the terminal. The method further includes: the device determining whether the binding request is sent from the present local area network. When the binding request is sent from the present local area network, the method includes the device sending the binding request to a server for the server to establish a binding relationship between the registered user ID and the device. After the binding relationship is established, the method includes the device receiving a notification message sent by the server for informing that the binding relationship has been established, and the device forwarding the notification message to the terminal.
Abstract:
A method for presenting push notifications in a terminal device configured with a notification bar may include: determining, when a push notification is received, whether the notification bar contains a target push notification, the target push notification being a previously received message with a message content as same as that of the currently received push notification; updating a push time of the target push notification to the push time of the currently received push notification in response to determining that the notification bar has contained the target push notification; and presenting the updated push time of the target push notification in the notification bar.
Abstract:
A method for controlling an appliance is provided. The method includes: receiving a notification message from a control device, wherein the notification message includes address information regarding the control device; receiving quality data of a target object from an appliance configured to process the target object, wherein the quality data of the target object is obtained by measuring quality of the target object by the appliance; and sending an appliance control prompt to the control device according to the address information when determining that the quality data of the target object does not reach a threshold, wherein the appliance control prompt is configured to prompt a user of the control device to start the appliance for processing the target object.
Abstract:
A method for providing information includes acquiring modified access authentication information after detecting that access authentication information for accessing a gateway device is modified, determining a device to be notified corresponding to the modified access authentication information, and providing the modified access authentication information to the device to be notified.
Abstract:
A method and a device are provided for deleting a smart scene in the field of smart home. The device receives an unbundling notification message indicating that a designated smart device has been successfully unbundled. The device detects whether a target smart scene set with the designated smart device exists among established smart scenes. When a target smart scene set with the designated smart device exists among the established smart scenes, the device deletes the target smart scene. A smart scene set with a smart device is deleted after the designated smart device is successfully unbundled.
Abstract:
The present disclosure provides a method and a device for processing PWM data, so as to reduce the size of the PWM data. The method includes: dividing pulse widths in the PWM data into at least one pulse width group; determining a convergence pulse width for each of the at least one pulse width group, herein each of the at least one pulse width group converges around a same pulse width, respectively; replacing each of the at least one pulse width group with the corresponding convergence pulse width; and representing the PWM data by using the convergence pulse widths. Through the technical solution, the size of the PWM data may be reduced, transmission speed of the PWM data may be improved, and the space for storing the PWM data may be decreased.
Abstract:
A method and an apparatus for controlling access to a surveillance video are provided. The method includes: acquiring from a user account a view request for viewing a surveillance video file, the view request including authorization information of the user account; performing an identity authentication on the user account according to the authorization information; and allowing a user with the user account to view the surveillance video file when the identity authentication is passed. The present disclosure is used to prohibit freely viewing the surveillance video file.
Abstract:
The present disclosure relates to a method for controlling for configuring a scenario mode for smart devices. The method include: acquiring a user account bound with a first smart device and a second smart device; identifying a predefined scenario mode template according to device information of the first smart device and the second smart device, wherein the predefined scenario template corresponds to a predefined scenario mode which associates at least one startup condition for the first smart device to trigger the scenario mode with at least one task to be performed by the second smart device when the scenario mode is triggered; bounding the predefined scenario mode template with the user account to enable the predefined scenario mode for the first smart device and the second smart device.
Abstract:
The present disclosure relates to methods and devices of accessing a wireless network. The method of accessing a wireless network in a first terminal device includes: detecting a target terminal device waiting access a target wireless network after the first terminal device accesses the target wireless network; generating a plurality of multicast addresses according to access information of the target wireless network; and sending a multicast packet to each of the plurality of multicast addresses, wherein the multicast packet is indicative of the access information and is received by the target terminal device so as to access the target wireless network.
Abstract:
The present disclosure relates to a method and a device for controlling power consumption of an electronic device, which belongs to the technical field of smart devices. The method includes determining a type of an operating system of the electronic device, determining a monitoring scheme based on the type of operating system, monitoring in real time whether the operating system currently has a task to perform based on the determined monitoring scheme, and switching the operating system to a reduced power mode from a normal operation mode when the system currently has no task to perform. In the present disclosure, a common power consumption management can be implemented in uniform and brief software architecture. It can facilitate development of a framework, distribution of SDK. Moreover, it can eliminate the need to analyze specific operation characteristics of the devices, independent of the functions of the devices, broadly and flexibly applicable to a variety of devices.