Abstract:
A method and an apparatus for waking up a device are disclosed by embodiments of the present invention. In one embodiment, a method includes detecting, by a first device, whether a second device transmits a radio signal, when a timing interval of a timer is equal to a preset threshold, where the first device is a device woken up by the second device, transmitting, by the first device, a first message to the second device when the radio signal is detected, causing the second device to switch to a station (STA) mode after receiving the first message, where the first message is used to notify the second device that the first device is woken up successfully, and switching, by the first device, to an access point (AP) mode, causing the second device to implement wireless fidelity (Wi-Fi) access through the first device.
Abstract:
The present application provides a modem and a network search method of the modem. The method includes: sampling a signal level value and a signal quality value of a serving cell; obtaining a signal power condition according to the signal level value, and obtaining a signal stability condition according to the signal quality value; and when both the signal power condition and the signal stability condition are higher than set conditions, determining a network search state as an off state. In embodiments of the present application, power consumption and a workload may be reduced.
Abstract:
Embodiments of the present invention provide a voice identification method, which includes: obtaining voice data; obtaining a confidence value according to the voice data; obtaining a noise scenario according to the voice data; obtaining a confidence threshold corresponding to the noise scenario; and if the confidence value is greater than or equal to the confidence threshold, processing the voice data. An apparatus is also provided. The method and apparatus that flexibly adjust the confidence threshold according to the noise scenario greatly improve a voice identification rate under a noise environment.
Abstract:
Embodiments disclose a method and an apparatus for moving an interface object. The method may include: receiving an instruction for moving a first interface object on an interface from a first area to a second area; updating, according to the received instruction, a display position of the first interface object on the interface to the second area; obtaining a second interface object according to a preset rule; searching for, in an entire interface range on the interface except the second area, a display position for the second interface object; updating a display position of the second interface object according to the display position found through searching; and displaying all interface objects on the interface according to display positions of all the interface objects. Therefore, in the present invention, it is implemented that the first interface object moves to any position on the interface, which improves user experience.
Abstract:
A method for processing contacts in a mobile terminal according to embodiments of the present disclosure includes: setting, a mapping relationship between an attribute value of an attribute of a contact and a display effect of a contact bubble corresponding to the contact; obtaining the attribute value locally or from a network device; determining, the display effect of the contact bubble according to the mapping relationship and the distinctive attribute value; and displaying the contact bubble on a screen of the mobile terminal according to the attribute value of the contact. Accordingly, different contacts can be displayed intuitively in the mobile terminal, which enhances the capability of intelligent interaction between the mobile terminal and the user greatly.
Abstract:
A method and an apparatus for controlling power-off of a terminal are disclosed in embodiments of the present invention, where the method includes: acquiring usage state information of the terminal after the terminal is powered on; and controlling the terminal to power off if it is determined, according to the usage state information, that the terminal is abnormally powered on.
Abstract:
A method for link setup includes sending a first authentication message including a user identifier to an access point (AP). A second authentication message sent by the AP according to the user identifier is received and includes an EAP method request message and a ANonce of the AP. A first PTK is generated according to the ANonce, an SNonce, and a first MSK. A third authentication message is sent to the AP. The third authentication message includes an EAP method response message, the SNonce, and a first MIC that is generated according to the first PTK. A fourth authentication message is sent by the AP when it authenticates, according to a second PTK, that the first MIC is correct. The fourth authentication message includes an EAP-Success message, configuration information configured by the AP for the terminal, and a second MIC. The second MIC is authenticated according to the first PTK.
Abstract:
Embodiments of the present invention provide a character input prompting method and relate to the field of computers, so that a modification or insertion process can be simpler. The method includes: obtaining a position of a cursor; obtaining a first character before the position of the cursor and adjacent to the cursor and a second character after the position of the cursor and adjacent to the cursor, where the first character is a single character or a character string including multiple characters, and the second character is a single character or a character string including multiple characters; obtaining, from an input method database, a character grammatically associated with at least one of: the first character and the second character; and prompting, in the form of a candidate character list, a user for the character grammatically associated with at least one of: the first character and the second character.
Abstract:
The present invention relates to the field of data processing, and in particular, to a method for processing data in a message. The method includes: receiving a message sent by a network side or another equipment, wherein the message carries data; identifying a data type of the data; and storing the data into a function module corresponding to the data type according to a corresponding relationship list, wherein the corresponding relationship list is a list of correspondence between the data types and the function module. Meanwhile, an embodiment of the present invention further provides a mobile terminal for processing data in a message. With embodiments of the present invention, the intelligent interaction capability between a mobile terminal and a user is enhanced, and the transaction processing efficiency of the mobile terminal is also improved.
Abstract:
A power supplying method for a wireless network terminal and the wireless network terminal are disclosed. The method includes: detecting potential information of two power lines of a USB (Universal Serial Bus) interface of a wireless network terminal; determining, according to the potential information of the two power lines, a type of a power supply device that is connected to the USB interface; and when the type of the power supply device is a power supply device having a communication capability, controlling the wireless network terminal to work in a predetermined communication mode, so as to implement power supply for the wireless network terminal by using the power supply device. With provided technical solutions, a cost of the wireless network terminal can be reduced, and a battery with a relatively large size is not needed, thereby facilitating miniaturization and integration of the wireless network terminal.