Abstract:
A method and a terminal for reporting sensor data are provided. The method for reporting sensor data includes: when a processor needs to process only sensor data collected by a sensor, sending, by the processor, an indication that the processor is to enter a sleep state, and entering the sleep state; after the processor enters the sleep state, receiving and temporarily storing, by a sensor hub, the sensor data collected and reported by the sensor into an event information table, recording, by the sensor hub, corresponding time at which the sensor collects the sensor data, and further temporarily storing the time into the event information table; and when the processor is restored to a working state, reporting, by the sensor hub, the event information table to the processor, so that the processor parses the event information table to complete corresponding processing.
Abstract:
A touchscreen control method and a terminal device. When a touchscreen is in a non-contact touch state, the terminal acquires touch information of a touch point in a control region. The control region is a region above the touchscreen, the control region is parallel to a plane in which the touchscreen is located, and an area of the control region is less than an area of the touchscreen. The terminal controls movement of a cursor on the touchscreen according to the acquired touch information of the touch point and a correspondence between the touch point and a pixel of the touchscreen.
Abstract:
A touch input method includes reading an (N−1)th piece of display information from a memory, where N is an integer greater than or equal to 2; acquiring an Nth piece of coordinate information in an Nth coordinate acquiring period, where the coordinate information is used to indicate location information, of a user touch, sensed by a touch component, and the coordinate acquiring period is less than a refresh period of a display component; generating, using the (N−1)th piece of display information and the Nth piece of coordinate information, an Nth piece of display information corresponding to the Nth coordinate acquiring period, and storing the Nth piece of display information in the memory; and when the display component is refreshed, displaying, using the display component, latest display information stored in the memory.
Abstract:
Embodiments of the present disclosure provide a method for storing application data and a terminal device, and relate to the field of communications, so that installation of an application having a default specified path and storage of data that is generated after the application is run are enabled to be located in the same storage space. The method includes: receiving an instruction for running a local application, wherein the instruction is triggered by a user; determining an actual path of a storage space in which the application is installed; running the application, and acquiring data that is generated after the application is run; and storing the data that is generated after the application is run in the actual path of the storage space in which the application is installed. The embodiments of the present disclosure are applied to use of a mobile phone.
Abstract:
A method is provided for adjusting a storage space of a partition of an embedded multimedia card and a terminal. The method includes: determining a current external SD card mode of a terminal, where the external SD card mode includes an external SD card installed mode or an external SD card uninstalled mode; receiving instruction information, where the instruction information is used for instructing the terminal to switch from the external SD card uninstalled mode to the external SD card installed mode, or used for instructing the terminal to switch from the external SD card installed mode to the external SD card uninstalled mode; and adjusting a size of a storage space of a partition of an embedded multimedia card according to the instruction information.
Abstract:
Embodiments of the present invention provide a docking station and an external device control method and system utilizing the docking station, which are capable of implementing simultaneous working of devices of two types of protocols through a same multiplexing interface. The external device control method includes: utilizing a docking station, where the docking station includes: a first protocol/second protocol multiplexing interface for connecting to a main device; at least one first protocol device interface for connecting to a first protocol external device; and at least one second protocol device interface for connecting to a second protocol external device. The method is: receiving first protocol data sent by the first protocol external device through the first protocol device interface; and converting the first protocol data into second protocol data, and sending the second protocol data to the main device through the first protocol/second protocol multiplexing interface.
Abstract:
An image processing method and apparatus, and a terminal, that relate to the field of data processing, so that a photographed image can be clearer, thereby effectively improving image processing efficiency. The method includes acquiring luminance of a current photographing environment and a photographing moving speed of a target object; determining an exposure parameter and a gain parameter according to the luminance of the current photographing environment and the photographing moving speed of the target object; and processing an acquired image of the target object according to the exposure parameter and the gain parameter. The present disclosure is applicable to data processing technologies.
Abstract:
A method includes determining a connection line between two eyes in each piece of profile picture information by identifying profile picture information of each viewer of at least two viewers, and determining a positive direction of each connection line according to the connection line between the two eyes in each piece of profile picture information and a preset positive direction determining rule. When the positive directions of all the connection lines are the same, calculating an included angle between the positive direction of each connection line and a positive direction of a reference line, and performing averaging on all the included angles to obtain a first included angle; and determining a display mode of a screen according to the first included angle.
Abstract:
A three-dimensional display-based cursor operation method and a mobile terminal are provided, which are used to implement a visually three-dimensional cursor operation on a three-dimensional display mobile terminal. The method in an embodiment of the present invention includes: acquiring a finger image; generating, according to image information of the finger image, a three-dimensional cursor in a three-dimensional display interface corresponding to the image information; acquiring a movement position of the finger image; and determining a movement distance and a movement direction of the three-dimensional cursor according to the movement position.
Abstract:
A data collecting method and apparatus, and a mobile terminal are provided. The data collecting method may be applied in an apparatus including multiple data collecting units. The method includes collecting, by at least two data collecting units, initial data simultaneously at their respective collecting frequencies and at a collection starting moment and collecting, at a synchronous collecting frequency, the initial data collected by the at least two data collecting units so as to obtain synchronous data. The synchronous collecting frequency is a common divisor frequency of the respective collecting frequencies of the at least two data collecting units.