WO2014090201A1 - 一种信息输入的控制方法、装置及终端 - Google Patents
一种信息输入的控制方法、装置及终端 Download PDFInfo
- Publication number
- WO2014090201A1 WO2014090201A1 PCT/CN2013/089550 CN2013089550W WO2014090201A1 WO 2014090201 A1 WO2014090201 A1 WO 2014090201A1 CN 2013089550 W CN2013089550 W CN 2013089550W WO 2014090201 A1 WO2014090201 A1 WO 2014090201A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- input
- frequency
- display
- information
- subunit
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
- G06F3/0418—Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
- G06F3/04184—Synchronisation with the driving of the display or the backlighting unit to avoid interferences generated internally
Definitions
- the invention relates to a method, device and terminal for controlling information input.
- the application is submitted to the Chinese Patent Office on December 14, 2012, and the application number is CN 201210544096. 9.
- the invention name is "a control method, device and terminal for information input”.
- Priority of the Chinese Patent Application the entire contents of which is incorporated herein by reference.
- the present invention relates to the field of communications technologies, and in particular, to a method, device, and terminal for controlling information input. BACKGROUND In a human-computer interaction process with a handheld device, a mobile phone of a touch screen is taken as an example, and the mobile phone performs different display according to the touch operation of the hand.
- LCD display Liquid Crystal Display, LCD
- touch screen Touch panel, TP
- the capture is generally 10ms-times, that is, 100 times per second, so there is a large gap between the displayed refresh rate and the number of captures of the touch screen opponent.
- the display refresh rate is affected by factors such as calculation and memory of the upper application, and the display frequency will be lower than 60 frames/second.
- the inventors of the present invention have found that in the prior art devices using a touch screen, the display frequency and the input frequency have the above-mentioned mismatch.
- the mismatch between the display frequency and the input frequency is through the redundant input.
- the information is cached and discarded, so that the display and input can operate reasonably, so that the redundant information input not only occupies the storage space, but also the terminal processing the redundant input information also consumes the time and power of the terminal.
- Embodiments of the present invention provide a method for controlling information input, which can dynamically adjust an input frequency according to a display frequency, so that unnecessary input information does not need to be processed, thereby reducing the burden on the control device and saving power.
- Embodiments of the present invention also provide corresponding devices and terminals.
- a first aspect of the present invention provides a method for controlling information input, including:
- the adjusting an input frequency of the input device according to the display frequency includes:
- the input frequency of the input device is set to the input frequency corresponding to the display frequency.
- the adjusting an input frequency of the input device according to the display frequency includes:
- the input frequency of the input device is set to the second input frequency.
- the inputting of the control information by using the input frequency of the input device includes:
- the inputting of the control information by using the input frequency of the input device includes:
- Reading input information from the input device
- the input information not greater than the number of input frequencies is processed in accordance with the time sequence in which the input information is read.
- a second aspect of the present invention provides a control apparatus, including:
- An obtaining unit configured to acquire a display frequency of the display device
- the adjusting unit includes: a first calculating subunit and a first setting subunit;
- the first calculating subunit is configured to acquire, according to the display frequency, an input frequency corresponding to the display frequency according to a correspondence between a preset display frequency and an input frequency;
- the first setting subunit is configured to set an input frequency of the input device to an input frequency calculated by the first calculating subunit corresponding to the display frequency.
- the adjusting unit includes: a second calculating subunit and a second setting subunit,
- the second calculating sub-unit is configured to calculate, according to the display frequency, a first input frequency according to a proportional relationship between the display frequency and the input frequency of 1:1, and then follow the preset first input frequency and the second Calculating the correspondence between the frequencies and calculating the second input frequency;
- the second setting subunit is configured to set an input frequency of the input device to the second input frequency calculated by the second calculating subunit.
- control unit includes: a first read subunit and a first processing subunit;
- the first reading subunit is configured to read, from the input device, input information that is not greater than the number of input frequencies
- control unit includes: a second read subunit and a second processing subunit;
- the second reading subunit is configured to read input information from the input device
- the second processing sub-unit is configured to process the input information that is not greater than the number of input frequencies according to a time when the second reading sub-unit reads the input information.
- a third aspect of the present invention provides a terminal, including: a display device, an input device, and a control device, wherein the control device controls input information acquired from the input device to be displayed on the display device;
- the input device is configured to input information.
- the control device is configured to acquire a display frequency of the display device; adjust an input frequency of the input device according to the display frequency; and control input of the information with the adjusted input frequency.
- the display device is configured to display the input information.
- the embodiment of the invention adopts the display frequency of the display device; adjusts the input frequency of the input device according to the display frequency; and controls the input of the information with the input frequency of the input device.
- the embodiment of the present invention can dynamically adjust the input frequency according to the display frequency, so that unnecessary input information is not needed, thereby reducing Control the burden on the device and save power.
- FIG. 1 is a schematic diagram of an embodiment of a method in an embodiment of the present invention.
- FIG. 2 is a schematic diagram of an embodiment of an application scenario in an embodiment of the present invention.
- FIG. 3 is a schematic diagram of an embodiment of a control device according to an embodiment of the present invention.
- FIG. 4 is a schematic diagram of another embodiment of a control device according to an embodiment of the present invention.
- FIG. 5 is a schematic diagram of another embodiment of a control device according to an embodiment of the present invention.
- FIG. 6 is a schematic diagram of another embodiment of a control device according to an embodiment of the present invention.
- FIG. 7 is a schematic diagram of an embodiment of a control device according to an embodiment of the present invention.
- FIG. 8 is a schematic diagram of an embodiment of a terminal in an embodiment of the present invention.
- FIG. 9 is a schematic diagram of another embodiment of a terminal in an embodiment of the present invention.
- Embodiments of the present invention provide a method for controlling information input, which can dynamically adjust an input frequency according to a display frequency, so that unnecessary input information does not need to be processed, thereby reducing the burden on the control device and saving power.
- Embodiments of the present invention also provide corresponding devices and terminals. The details are described below separately.
- an embodiment of a method for controlling information input in an embodiment of the present invention includes:
- the control device acquires a display frequency of the display device.
- the display frequency can be the number of times the display device is displayed in one second.
- the control device adjusts an input frequency of the input device according to the display frequency.
- the input frequency can be the number of times the control device can process the input information in one minute.
- the control device controls input of information at an input frequency of the input device.
- the embodiment of the invention adopts the display frequency of the display device; and adjusts the input device according to the display frequency. Input frequency; control the input of information at the input frequency of the input device.
- the embodiment of the present invention can dynamically adjust the input frequency according to the display frequency, so that unnecessary input information is not needed, thereby reducing Control the burden on the device and save power.
- the display frequency of the display device may be specifically included in the following:
- the number of times of display of the display device is continuously counted, and the display frequency is the number of times the display device is displayed in one second.
- the number of times the input information is input may be calculated by starting the timer, and when the timer is stopped for one second, the final result of the cumulative calculation is the input frequency within the one second.
- the statistics of the display times of the display device are not limited to one second. If the statistical time period is longer, the display device may be obtained by averaging. Display frequency.
- the frequency is continuously displayed, that is, the input frequency can be dynamically adjusted according to the display frequency in real time.
- the adjusting the input frequency of the input device according to the display frequency may specifically include:
- the input frequency of the input device is set to the input frequency corresponding to the display frequency.
- the relationship between the display frequency and the input frequency may be set in advance, and the relationship between the preset display frequency and the input frequency may be set by comparing the form of the table, or may be set to a proportional relationship in advance, such as 1: 1 Or other (N+M): N proportional relationship, where N and M are both natural numbers.
- the control input frequency is also N, but since the input at the current time will be delayed for a certain period of time, there may be cases where the input and display do not match exactly. Assuming N is 60Hz, in order to ensure that the display is displayed according to the display frequency of 60Hz, the input frequency should be slightly larger than 60Hz. If M is 2, the input frequency is 62Hz, which will not strictly follow the ratio of 1:1. 2Hz is to make the system as busy as possible.
- the actual display frequency is a fluctuating curve, and the interval between each frame is not fixed, so the input is lost.
- the incoming frequency also needs to be dynamically adjusted.
- the display frequency is dynamically changed, then the input frequency can be calculated according to the proportional relationship between the display frequency and the input frequency, and the input frequency of the input device is set to the calculated input frequency.
- the adjusting the input frequency of the input device according to the display frequency may specifically include:
- the input frequency of the input device is set to the second input frequency.
- the first input frequency is first calculated according to the proportional relationship between the display frequency and the input frequency of 1: 1, but since the input of the current time is delayed for a period of time, the input and display may not be completely matched. Case. Therefore, the second input frequency is calculated according to the correspondence between the first input frequency and the second input frequency set in advance, and the correspondence between the preset first input frequency and the second input frequency can be compared by using a comparison table.
- the form can be set in advance, or can be set to a proportional relationship, such as 7: 8 or other (N+M): N proportional relationship, where N and M are both natural numbers.
- the input frequency of the input device is set to the second input frequency.
- the control input frequency is also N, but since the input at the current time will be delayed for a certain period of time, there may be cases where the input and display do not match exactly. Assuming N is 60Hz, in order to ensure that the display is displayed according to the display frequency of 60Hz, the input frequency should be slightly larger than 60Hz. If M is 2, the input frequency is 62Hz, which will not strictly follow the ratio of 1:1. 2Hz, is to make the system as "busy" as possible.
- the display frequency is ⁇ , ⁇ 2, f3, f4...-, and should be controlled to make the input frequency.
- ⁇ , ⁇ 2, f3, f4-. . in order to make the system run at full load, properly increase the input frequency by 3, and the final input frequency is ⁇ +3, f2+3, f3+3, f4+3 ⁇ . ; 3, is the above M, is the extra load.
- the present invention In another embodiment of the method of controlling information input in the embodiment,
- the inputting the control information by the input frequency of the input device may specifically include:
- the balance between the input and the display is controlled by controlling the manner of reading the input information.
- the control device no matter how many times the user inputs the information into the input device within one minute, the control device only The input information of the number of input frequencies input first is read, and then the control device processes the read input information.
- the inputting the control information by the input frequency of the input device may specifically include:
- Reading input information from the input device
- the input information not greater than the number of input frequencies is processed in accordance with the time sequence in which the input information is read.
- control device can read input information larger than the number of input frequencies, but the control device processes only the input information of the number of input frequencies read first.
- the control method for information input provided by the multiple optional embodiments of the present invention can dynamically adjust the input frequency according to the display frequency, so that unnecessary input information is not required to be processed, thereby reducing the burden on the control device and saving power.
- FIG. 2 a specific application scenario is taken as an example to describe in detail the specific process of the information input control method in the embodiment of the present invention:
- the control device acquires a display frequency from the display device.
- the control device continuously counts the number of displays per second of the display device to obtain the display frequency of the display device.
- the control device calculates an input frequency of the input device according to the display frequency.
- the input frequency can be calculated according to the display frequency that has been acquired according to the relationship between the preset display frequency and the input frequency.
- the ratio of the preset display frequency to the input frequency is 1 : 1, and the obtained display frequency is 60 Hz per second, then the input frequency is 60 Hz per second.
- the ratio of the preset display frequency to the input frequency is (N+M): N, where N and M are both However, N is 60 Hz and M is 5 Hz.
- N 60 Hz per second
- M 5 Hz.
- the display frequency 60 Hz per second
- the input frequency 65 Hz per second.
- the control input frequency is also N, but since the input at the current time will be delayed for a while, there may be cases where the input and display are not completely matched.
- N is 60Hz, in order to ensure that the display is displayed according to the display frequency of 60Hz, the input frequency should be slightly larger than 60Hz. If M is 2, the input frequency is 62Hz, which will not strictly follow the ratio of 1:1. 2Hz is to make the system as busy as possible.
- the actual display frequency is a fluctuating curve.
- the interval between each frame is not fixed, so the input frequency also needs to be dynamically adjusted.
- the display frequency is fl, f2, f3, f4 ⁇ .
- the input frequency should be controlled.
- fl, f2, f3, f4 ⁇ . . in order to make the system run at full load, properly increase the input frequency by 3, and the final input frequency is ⁇ +3, f2+3, f3+3, f4+3-. 3 is the above M, is the extra load.
- the control device sets the input frequency of the input device to the calculated input frequency.
- the input frequency of the input device can be modified.
- the input frequency of the input device can be set to 60Hz when the calculated input frequency is 60Hz per second.
- the preset display frequency is proportional to the input frequency (N+M): N, M is equal to 5, then the input frequency of the input device can be set to 65Hz when the calculated input frequency is 65Hz per second.
- the control device controls input of the information with the adjusted input frequency.
- the control device controls the information input with the adjusted input frequency in two ways:
- the other can be:
- the control device can read input information greater than the number of input frequencies, but the control device only processes the input information of the number of input frequencies read first.
- an embodiment of a control apparatus provided by an embodiment of the present invention includes:
- the obtaining unit 201 is configured to acquire a display frequency of the display device.
- the adjusting unit 202 is configured to adjust an input frequency of the input device according to the display frequency acquired by the acquiring unit 201;
- the control unit 203 is configured to control the input of the input frequency of the input device adjusted by the adjustment unit 202.
- the obtaining unit 201 acquires the display frequency of the display device;
- the display frequency obtained by the acquisition unit 201 adjusts the input frequency of the input device;
- the control unit 203 controls the input of the input frequency of the input device adjusted by the adjustment unit 202.
- the control device provided by the embodiment of the present invention can dynamically adjust the input frequency according to the display frequency, so that the input information is too large, and the unnecessary input information is not required to be processed. , thereby reducing the burden on the control device and saving power.
- the adjusting unit 202 includes: a first calculating subunit 2021 and a first setting subunit The first calculating sub-unit 2021 is configured to obtain, according to the display frequency, an input frequency corresponding to the display frequency according to a correspondence between a preset display frequency and an input frequency;
- the first setting subunit 2022 is configured to set an input frequency of the input device to the input frequency calculated by the first calculating subunit 2021 corresponding to the display frequency.
- the adjusting unit includes: a second calculating subunit 2023 and a second setting subunit 2024.
- the second calculating subunit 2023 is configured to calculate, according to the display frequency, a first input frequency according to a proportional relationship between the display frequency and the input frequency of 1:1, and then according to the preset first input frequency and the first Calculating the second input frequency by calculating a correspondence between two input frequencies;
- the second setting subunit 2024 is configured to set an input frequency of the input device to the second input frequency calculated by the second calculating subunit 2023.
- the control unit 203 includes: a first reading subunit 2031 and a first processing unit.
- the unit 2032 is configured to read, from the input device, input information that is not greater than the number of times of the input frequency;
- the first processing sub-unit 2032 is configured to process input information read by the first reading sub-unit 2031.
- the control unit 203 includes: a second reading subunit 2033 and a second processing unit.
- the second processing sub-unit 2034 is configured to process the input information that is not greater than the number of input frequencies according to a time sequence in which the second reading sub-unit 2033 reads the input information.
- the embodiment of the present invention further provides a computer storage medium storing a program, where the program includes some or all of the steps of the above-mentioned information input control method.
- Figure 8 is a diagram showing the structure of a terminal according to an embodiment of the present invention.
- the terminal provided by the embodiment of the present invention can be used to implement the information input control method in the embodiment of the present invention.
- Only the implementation of the present invention is shown.
- the specific technical details are not disclosed, please refer to the embodiment of the method of the present invention for understanding.
- the terminal can be a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle computer, and the like.
- the terminal is a mobile phone as an example
- FIG. 8 shows A block diagram of a partial structure of a terminal-related mobile phone 400 according to an embodiment of the present invention.
- the mobile phone 400 includes an RF (Radio Frequency) circuit 410, a memory 420, an input unit 430, a display unit 440, a sensor 450, an audio circuit 460, a wireless fidelity (WiFi) module 470, and a processor. 480, and power supply 490 and other components.
- RF Radio Frequency
- the structure of the handset shown in Figure 8 does not constitute a limitation to the handset, and may include more or fewer components than those illustrated, or some components may be combined, or different components may be arranged.
- the RF circuit 410 can be used for receiving and transmitting signals during and after the transmission or reception of information, in particular, after receiving the downlink information of the base station, and processing it to the processor 480; in addition, transmitting the designed uplink data to the base station.
- RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like.
- LNA Low Noise Amplifier
- RF circuitry 410 can also communicate with the network and other devices via wireless communication.
- the wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobibration (GSM), General Packet Radio Service (GPRS), and code division. Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Messaging Service (SMS), etc.
- GSM Global System of Mobibration
- GPRS General Packet Radio Service
- the memory 420 can be used to store software programs and modules, and the processor 480 executes various functional applications and data processing of the mobile phone 400 by running software programs and modules stored in the memory 420.
- the memory 420 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to The data created by the use of the mobile phone 400 (such as audio data, phone book, etc.) and the like.
- memory 420 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
- the input unit 430 can be configured to receive input numeric or character information, and to generate key signal inputs related to user settings and function control of the handset 400.
- the input unit 430 may include a touch panel 431 and He enters device 432.
- the touch panel 431 also referred to as a touch screen, can collect touch operations on or near the user (such as a user using a finger, a stylus, or the like on the touch panel 431 or near the touch panel 431. Operation), and drive the corresponding connecting device according to a preset program.
- the touch panel 431 may include two parts: a touch detection device and a touch controller.
- the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits a signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
- the processor 480 is provided and can receive commands from the processor 480 and execute them.
- the touch panel 431 can be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave.
- the input unit 430 may also include other input devices 432. Specifically, other input devices 432 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
- the display unit 440 can be used to display information input by the user or information provided to the user and various menus of the mobile phone 400.
- the display unit 440 can include a display panel 441.
- the display panel 441 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
- the touch panel 431 can cover the display panel 441. After the touch panel 431 detects a touch operation on or near the touch panel 431, the touch panel 431 transmits to the processor 480 to determine the type of the touch event, and then the processor 480 according to the touch event. The type provides a corresponding visual output on display panel 441.
- touch panel 431 and the display panel 441 are used as two independent components to implement the input and input functions of the mobile phone 400 in FIG. 8, in some embodiments, the touch panel 431 may be integrated with the display panel 441. The input and output functions of the mobile phone 400 are implemented.
- the handset 400 can also include at least one type of sensor 450, such as a light sensor, motion sensor, and other sensors.
- the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 441 according to the brightness of the ambient light, and the proximity sensor may close the display panel 441 when the mobile phone 400 moves to the ear. / or backlight.
- the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
- the mobile phone 400 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, not here Let me repeat.
- the audio circuit 460, the speaker 461, and the microphone 462 can provide an audio interface between the user and the handset 400.
- the audio circuit 460 can transmit the converted electrical data of the received audio data to the speaker 461, and convert it into a sound signal output by the speaker 461.
- the microphone 462 converts the collected sound signal into an electrical signal by the audio.
- Circuit 460 is converted to audio data upon reception, processed by audio data output processor 480, transmitted via RF circuitry 410 to, for example, another handset, or output to audio memory 420 for further processing.
- WiFi is a short-range wireless transmission technology.
- the mobile phone 400 can help users to send and receive e-mails, browse web pages and access streaming media through the WiFi module 470, which provides users with wireless broadband Internet access.
- FIG. 8 shows the WiFi module 470, it can be understood that it does not belong to the essential configuration of the mobile phone 400, and may be omitted as needed within the scope of not changing the essence of the invention.
- Processor 480 is the control center of handset 400, which connects various portions of the entire handset using various interfaces and lines, by running or executing software programs and/or modules stored in memory 420, and recalling data stored in memory 420, The various functions and processing data of the mobile phone 400 are performed to perform overall monitoring of the mobile phone.
- the processor 480 may include one or more processing units.
- the processor 480 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
- the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into processor 480.
- the handset 400 also includes a power source 490 (e.g., a battery) that supplies power to the various components.
- a power source 490 e.g., a battery
- the power source can be logically coupled to the processor 480 via a power management system to manage charging, discharging, and power management functions through the power management system.
- the mobile phone 400 may further include a camera, a Bluetooth module, and the like, and details are not described herein.
- the processor 480 included in the terminal further has the following functions:
- the processor is further configured to acquire a display frequency of the display device; adjust an input frequency of the input device according to the display frequency; and control input of the information at an input frequency of the input device.
- the display frequency may be the number of display times of the display device in one second
- the input frequency may be the number of times the control device can process the input information in one minute
- the processor 480 is further configured to: according to the display frequency, obtain an input frequency corresponding to the display frequency according to a correspondence between a preset display frequency and an input frequency; The input frequency is set to the input frequency corresponding to the display frequency.
- the relationship between the display frequency and the input frequency may be set in advance, and the relationship between the preset display frequency and the input frequency may be set by comparing the form of the table, or may be set to a proportional relationship in advance, such as 1: 1 Or other (N+M): N proportional relationship, where N and M are both natural numbers.
- the processor 480 is further configured to calculate, according to the display frequency, a first input frequency according to a proportional relationship between a display frequency and an input frequency of 1: 1; according to the preset first input Frequency Calculating the second input frequency according to a correspondence relationship with the second input frequency; setting an input frequency of the input device to the second input frequency.
- the first input frequency is first calculated according to the proportional relationship between the display frequency and the input frequency of 1: 1, but since the input of the current time is delayed for a period of time, the input and display may not be completely matched. Case. Therefore, the second input frequency is calculated according to the correspondence between the first input frequency and the second input frequency set in advance, and the correspondence between the preset first input frequency and the second input frequency can be compared by using a comparison table.
- the form can be set in advance, or can be set to a proportional relationship, such as 7: 8 or other (N+M): N proportional relationship, where N and M are both natural numbers.
- the input frequency of the input device is set to the second input frequency.
- the display frequency is ⁇ , ⁇ 2, f3, f4 ⁇ .
- the input frequency should be controlled.
- ⁇ , ⁇ 2, f3, f4 ⁇ . . in order to make the system run at full load, properly increase the input frequency by 3, and the final input frequency is ⁇ +3, f2+3, f3+3, f4+3-. 3 is the above M, is the extra load.
- the processor 480 is further configured to read, from the input device, input information that is not greater than the number of input frequencies; and process the read input information.
- the balance between the input and the display is controlled by controlling the manner of reading the input information.
- the control device no matter how many times the user inputs the information into the input device within one minute, the control device only reads the input that is input first. The input information of the frequency number, and then the control device processes the read input information.
- the processor 480 is further configured to read input information from the input device, and process the input information that is not greater than the number of input frequencies according to a time sequence in which the input information is read.
- control device can read input information that is greater than the number of input frequencies, but the control device only processes the input information of the number of input frequencies that are read first.
- an embodiment of a terminal provided by an embodiment of the present invention includes: a display device 40, an input device 50, and a control device 20;
- the control device 20 controls the input information acquired from the input device 50 to be displayed on the display device 40;
- the input device 40 is configured to input information.
- the control device 20 is configured to acquire a display frequency of the display device; adjust an input frequency of the input device according to the display frequency; and control input of the information at an input frequency of the input device.
- the display device 40 is configured to display the input information.
- the system provided by the embodiment of the invention can dynamically adjust the input frequency according to the display frequency, so that no unnecessary input information needs to be processed, thereby reducing the burden on the control device and saving power.
- the program can be stored in a computer readable storage medium.
- the storage medium can include: R0M, RAM, disk or CD, etc.
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
本发明公开了一种信息输入的控制方法,包括:获取显示装置的显示频率;根据所述显示频率调整输入装置的输入频率;以所述输入装置的输入频率控制信息的输入。本发明实施例还提供相应的控制装置及终端。本发明实施例可以根据显示频率动态调整输入频率,这样不需要处理多余的输入信息,从而可以减轻控制装置的负担,并节省电量。
Description
一种信息输入的控制方法、 装置及终端 本申请要求于 2012年 12月 14日提交中国专利局、 申请号为 CN 201210544096. 9、 发明名称为 "一种信息输入的控制方法、 装置及终端"的中国专利申请的优先权, 其全 部内容通过引用结合在本申请中。 技术领域 本发明涉及通信技术领域, 具体涉及一种信息输入的控制方法、 装置及终端。 背景技术 用户在与手持设备的人机交互过程中, 以触控屏的手机为例, 手机会根据手的触控 操作进行不同的显示。
当前的普通硬件水平, 以三星手机和苹果手机 (iphone ) 为例, 液晶显示器是 ( Liquid Crystal Display, LCD)硬件显示刷新率最高为每秒 60帧,而触摸屏(Touch panel , TP)对手移动的捕获一般为 10ms—次, 也就是达到每秒 100次, 这样, 在显示 的刷新率和触摸屏对手的捕获次数上存在较大的差距。
而实际上, 显示刷新率受上层应用的计算和显存等因素影响, 显示频率会低于 60 帧 /秒。
本发明的发明人发现, 现有技术中使用触摸屏的设备, 显示频率和输入频率存在上 述的不匹配的情况, 而目前的技术, 这种显示频率与输入频率的不匹配是通过对多余的 输入信息进行缓存和丢弃, 才使得显示和输入能够合理的运行, 这样多余的信息输入不 仅占用存储空间, 而且终端处理这些多余的输入信息也消耗终端的时间和电量。 发明内容
本发明实施例提供一种信息输入的控制方法, 可以根据显示频率动态调整输入频 率, 这样不需要处理多余的输入信息, 从而可以减轻控制装置的负担, 并节省电量。 本 发明实施例还提供了相应的装置及终端。
本发明第一方面提供一种信息输入的控制方法, 包括:
获取显示装置的显示频率;
根据所述显示频率调整输入装置的输入频率;
以所述输入装置的输入频率控制信息的输入。
结合第一方面, 在第一种可能的实现方式中, 所述根据所述显示频率调整输入装置 的输入频率, 具体包括:
根据所述显示频率, 按照预先设置的显示频率与输入频率的对应关系, 获取与所述 显示频率对应的输入频率;
将所述输入装置的输入频率设置为所述与显示频率对应的输入频率。
结合第一方面, 在第二种可能的实现方式中, 所述根据所述显示频率调整输入装置 的输入频率, 具体包括:
根据所述显示频率, 按照显示频率与输入频率 1 : 1的比例关系, 计算出第一输入频 率;
按照预先设置的所述第一输入频率与第二输入频率的对应关系, 计算所述第二输入 频率;
将所述输入装置的输入频率设置为所述第二输入频率。
结合第一方面、 第一方面第一种或者第二种可能的实现方式, 在第三种可能的实现 方式中, 所述以所述输入装置的输入频率控制信息的输入, 具体包括:
从所述输入装置读取不大于所述输入频率次数的输入信息;
处理所述读取的输入信息。
结合第一方面、 第一方面第一种或者第二种可能的实现方式, 在第四种可能的实现 方式中, 所述以所述输入装置的输入频率控制信息的输入, 具体包括:
从所述输入装置读取输入信息;
按照读取所述输入信息的时间先后, 处理不大于所述输入频率次数的所述输入信 息。
本发明第二方面提供一种控制装置, 包括:
获取单元, 用于获取显示装置的显示频率;
调整单元, 用于根据所述获取单元获取的显示频率调整输入装置的输入频率; 控制单元, 用于以所述调整单元调整的输入装置的输入频率控制信息的输入。 结合第二方面, 在第一种可能的实现方式中, 所述调整单元包括: 第一计算子单元 和第一设置子单元;
所述第一计算子单元, 用于根据所述显示频率, 按照预先设置的显示频率与输入频 率的对应关系, 获取与所述显示频率对应的输入频率;
所述第一设置子单元,用于将所述输入装置的输入频率设置为所述与显示频率对应 的所述第一计算子单元计算出的输入频率。
结合第二方面, 在第二种可能的实现方式中, 所述调整单元包括: 第二计算子单元 和第二设置子单元,
所述第二计算子单元, 用于根据所述显示频率, 按照显示频率与输入频率 1 : 1的比 例关系, 计算出第一输入频率, 再按照预先设置的所述第一输入频率与第二输入频率的 对应关系, 计算所述第二输入频率;
所述第二设置子单元,用于将所述输入装置的输入频率设置为所述第二计算子单元 计算出的所述第二输入频率。
结合第二方面、 第二方面第一种或者第二种可能的实现方式, 在第三种可能的实现 方式中, 所述控制单元包括: 第一读取子单元和第一处理子单元;
所述第一读取子单元,用于从所述输入装置读取不大于所述输入频率次数的输入信 息;
结合第二方面、 第二方面第一种或者第二种可能的实现方式, 在第四种可能的实现 方式中, 所述控制单元包括: 第二读取子单元和第二处理子单元;
所述第二读取子单元, 用于从所述输入装置读取输入信息;
所述第二处理子单元, 用于按照所述第二读取子单元读取所述输入信息的时间先 后, 处理不大于所述输入频率次数的所述输入信息。
本发明第三方面提供一种终端, 包括: 显示装置、 输入装置和控制装置, 所述控制 装置控制从所述输入装置获取的输入信息在所述显示装置上显示;
所述输入装置, 用于输入信息。
所述控制装置, 用于获取显示装置的显示频率; 根据所述显示频率调整输入装置的 输入频率; 以所述调整后的输入频率控制信息的输入。
所述显示装置, 用于显示输入的信息。
本发明实施例采用获取显示装置的显示频率; 根据所述显示频率调整输入装置的输 入频率; 以所述输入装置的输入频率控制信息的输入。 与现有技术中输入信息过多, 需 要对多余的输入信息进行缓存和丢弃的方案相比,本发明实施例可以根据显示频率动态 调整输入频率, 这样不需要处理多余的输入信息, 从而可以减轻控制装置的负担, 并节 省电量。
附图说明 为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例描述中所需要使用 的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些实施例, 对 于本领域技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他 的附图。
图 1是本发明实施例中方法的一实施例示意图;
图 2是本发明实施例中应用场景的一实施例示意图;
图 3是本发明实施例中控制装置的一实施例示意图;
图 4是本发明实施例中控制装置的另一实施例示意图;
图 5是本发明实施例中控制装置的另一实施例示意图;
图 6是本发明实施例中控制装置的另一实施例示意图;
图 7是本发明实施例中控制设备的一实施例示意图;
图 8是本发明实施例中终端的一实施例示意图;
图 9是本发明实施例中终端的另一实施例示意图。 具体实施方式 本发明实施例提供一种信息输入的控制方法, 可以根据显示频率动态调整输入频 率, 这样不需要处理多余的输入信息, 从而可以减轻控制装置的负担, 并节省电量。 本 发明实施例还提供了相应的装置及终端。 以下分别进行详细说明。
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完 整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其 他实施例, 都属于本发明保护的范围。
参阅图 1, 本发明实施例中信息输入的控制方法的一实施例包括:
101、 控制装置获取显示装置的显示频率。
显示频率可以为一秒钟内显示装置的显示次数。
102、 控制装置根据所述显示频率调整输入装置的输入频率。
输入频率可以为控制装置一分钟能处理的输入信息的次数。
103、 控制装置以所述输入装置的输入频率控制信息的输入。
本发明实施例采用获取显示装置的显示频率; 根据所述显示频率调整输入装置的
输入频率; 以所述输入装置的输入频率控制信息的输入。 与现有技术中输入信息过多, 需要对多余的输入信息进行缓存和丢弃的方案相比,本发明实施例可以根据显示频率动 态调整输入频率, 这样不需要处理多余的输入信息, 从而可以减轻控制装置的负担, 并 节省电量。
可选地, 在上述图 1对应的实施例的基础上, 本发明实施例中信息输入的控制方 法的另一实施例中, 所述获取显示装置的显示频率, 具体可以包括:
持续统计所述显示装置的显示次数, 所述显示频率为所述显示装置在一秒中内的 显示次数。
本发明实施例中, 可以通过启动计时器时开始累加计算输入信息输入的次数, 到 达一秒钟停止计时器时, 累加计算的最后结果就是该一秒钟内的输入频率。
本发明实施例中只是以一秒钟为例进行的说明, 实际上, 对显示装置的显示次数 的统计不限于一秒钟, 如果统计的时间段更长, 可以取平均值求得该显示装置的显示频 率。
本发明实施例中持续统计显示频率, 即可以实时根据显示频率, 动态调整输入频 率。
可选地, 在上述图 1对应的实施例及图 1对应的可选实施例的基础上, 本发明实 施例中信息输入的控制方法的另一实施例中,
所述根据所述显示频率调整输入装置的输入频率, 具体可以包括:
根据所述显示频率, 按照预先设置的显示频率与输入频率的对应关系, 获取与所 述显示频率对应的输入频率;
将所述输入装置的输入频率设置为所述与显示频率对应的输入频率。
本发明实施例中, 可以预先设置显示频率与输入频率的关系, 所述预先设置的显 示频率与输入频率的关系可以通过对照表格的形式进行设置, 也可以预先设置为比例关 系, 如 1 : 1或者其他的 (N+M) : N的比例关系, 其中, N与 M都为自然数。
当显示频率为 N时, 控制输入频率也为 N, 但是因为当前时刻的输入会延后一段 时间才显示, 这中间可能出现输入和显示不完全匹配的情况。假设 N为 60Hz, 为了保证 显示按照 60Hz的显示频率显示, 输入频率应该比 60Hz稍大, 假如 M为 2时, 输入频率 就为 62Hz,这里不会严格按照 1 : 1的比例.这中间增加的 2Hz,是为了让系统尽量处于 " 忙 "的状态.
实际中的显示频率是一个波动的曲线, 每帧之间的间隔并不是固定的, 所以对输
入频率也需要动态来调整.
显示频率是动态变化的, 那么可以根据该显示频率与输入频率的比例关系, 计算 该输入频率, 并将所述输入装置的输入频率设置为计算出的所述输入频率。
可选地, 在上述图 1对应的实施例及图 1对应的可选实施例的基础上, 本发明实 施例中信息输入的控制方法的另一实施例中,
所述根据所述显示频率调整输入装置的输入频率, 具体可以包括:
根据所述显示频率, 按照显示频率与输入频率 1 : 1 的比例关系, 计算出第一输入 频率;
按照预先设置的所述第一输入频率与第二输入频率的对应关系, 计算所述第二输 入频率;
将所述输入装置的输入频率设置为所述第二输入频率。
本发明实施例中, 先按照显示频率与输入频率 1 : 1 的比例关系计算出第一输入频 率, 但因为当前时刻的输入会延后一段时间才显示, 这中间可能出现输入和显示不完全 匹配的情况。所以要再按照按照预先设置的所述第一输入频率与第二输入频率的对应关 系, 计算所述第二输入频率, 预先设置的第一输入频率与第二输入频率的对应关系可以 通过对照表格的形式进行设置,也可以预先设置为比例关系,如 7 : 8或者其他的(N+M): N的比例关系, 其中, N与 M都为自然数。
将所述输入装置的输入频率设置为所述第二输入频率。
当显示频率为 N时, 控制输入频率也为 N, 但是因为当前时刻的输入会延后一段 时间才显示, 这中间可能出现输入和显示不完全匹配的情况。假设 N为 60Hz, 为了保证 显示按照 60Hz的显示频率显示, 输入频率应该比 60Hz稍大, 假如 M为 2时, 输入频率 就为 62Hz, 这里不会严格按照 1 : 1的比例. 这中间增加的 2Hz, 是为了让系统尽量处于 "忙" 的状态.
实际上也可以直接理解为: 按照显示频率与输入频率 1 : 1 的比例关系计算出输入 频率后, 在设置输入装置的输入频率时, 在该输入频率的基础上增加适当的多余负载。
举例: 显示帧 1, 2, 3, 4,…的时刻分别为 t l, t2, t3, t4,……, 据此计算得到 显示频率为 Π, Ϊ2 , f3, f4…-, 应该控制使输入频率为: Π, Ϊ2 , f3, f4-. . , 为了 让系统满负荷运转, 适当将输入频率加快 3, 最终的输入频率为 Π+3, f2+3, f3+3, f4+3〜. .; 其中, 3就是上面的 M, 是多余的负载。
可选地, 在上述图 1对应的实施例及图 1对应的可选实施例的基础上, 本发明实
施例中信息输入的控制方法的另一实施例中,
所述以所述输入装置的输入频率控制信息的输入, 具体可以包括:
从所述输入装置读取不大于所述输入频率次数的输入信息;
处理所述读取的输入信息。
不大于包括小于或者等于, 本发明实施例中, 通过控制读取输入信息的方式来控 制输入与显示的平衡, 本发明实施例中无论用户向输入装置一分钟内输入多少次信息, 控制装置只读取最先输入的输入频率次数的输入信息,然后控制装置再处理读取的输入 信息。
可选地, 在上述图 1对应的实施例及图 1对应的可选实施例的基础上, 本发明实 施例中信息输入的控制方法的另一实施例中,
所述以所述输入装置的输入频率控制信息的输入, 具体可以包括:
从所述输入装置读取输入信息;
按照读取所述输入信息的时间先后, 处理不大于所述输入频率次数的所述输入信 息。
不大于包括小于或者等于, 本发明实施例中, 控制装置可以读取大于输入频率次 数的输入信息, 但控制装置只处理最先读取的输入频率次数的输入信息。
本发明多个可选实施例提供的信息输入的控制方法, 都可以根据显示频率动态调 整输入频率, 这样不需要处理多余的输入信息, 从而可以减轻控制装置的负担, 并节省 电量。
为了便于理解, 参阅图 2, 下面以一个具体的应用场景为例, 详细的说明本发明实 施例中信息输入的控制方法的具体过程:
S100、 控制装置从显示装置获取显示频率。
控制装置持续统计显示装置的每一秒内的显示次数, 从而获取显示装置的显示频 率。
S105、 控制装置根据所述显示频率计算输入装置的输入频率。
可以按照预置的显示频率与输入频率的关系, 根据已经获取的显示频率计算输入 频率的。
例如:预置的显示频率与输入频率的比例关系为 1 : 1,获取的显示频率为每秒 60Hz, 那么输入频率为每秒 60Hz。
例如: 预置的显示频率与输入频率的比例关系为 (N+M) : N, 其中, N与 M都为自
然数, N为 60Hz, M为 5 Hz,那么获取的显示频率为每秒 60Hz时,输入频率为每秒 65Hz。 当显示频率为 N时, 控制输入频率也为 N, 但是因为当前时刻的输入会延后一段 时间才显示, 这中间可能出现输入和显示不完全匹配的情况。假设 N为 60Hz, 为了保证 显示按照 60Hz的显示频率显示, 输入频率应该比 60Hz稍大, 假如 M为 2时, 输入频率 就为 62Hz,这里不会严格按照 1 : 1的比例.这中间增加的 2Hz,是为了让系统尽量处于 " 忙 "的状态.
实际中的显示频率是一个波动的曲线, 每帧之间的间隔并不是固定的, 所以对输 入频率也需要动态来调整.
举例: 显示帧 1, 2, 3, 4,…的时刻分别为 tl, t2, t3, t4,……,据此计算得到 显示频率为 f l, f2, f3, f4〜.,应该控制使输入频率为: fl, f2, f3, f4〜. .,为了 让系统满负荷运转,适当将输入频率加快 3,最终的输入频率为 Π+3, f2+3, f3+3, f4+3-. . 3就是上面的 M, 是多余的负载。
S110、 控制装置将输入装置的输入频率的设置为计算出的输入频率。
输入装置的输入频率是可以修改的, 当预置的显示频率与输入频率的比例关系为 1 : 1时, 计算出的输入频率为每秒 60Hz时, 就可以将输入装置的输入频率设置为 60Hz。 当预置的显示频率与输入频率的比例关系为 (N+M) : N时, M等于 5, 那么计算出的输 入频率为每秒 65Hz时, 就可以将输入装置的输入频率设置为 65Hz。
S115、 控制装置以所述调整后的输入频率控制信息的输入。
控制装置以调整后的输入频率控制信息输入有两种方式:
一种可以为: 无论用户向输入装置一分钟内输入多少次信息, 控制装置只读取最 先输入的输入频率次数的输入信息, 然后控制装置再处理读取的输入信息。
另一种可以为: 控制装置可以读取大于输入频率次数的输入信息, 但控制装置只 处理最先读取的输入频率次数的输入信息。
参阅图 3, 本发明实施例提供的控制装置的一实施例包括:
获取单元 201, 用于获取显示装置的显示频率;
调整单元 202,用于根据所述获取单元 201获取的显示频率调整输入装置的输入频 率;
控制单元 203,用于以所述调整单元 202调整的所述输入装置的输入频率控制信息 的输入。
本发明实施例中, 获取单元 201获取显示装置的显示频率; 调整单元 202根据所
述获取单元 201获取的显示频率调整输入装置的输入频率; 控制单元 203以所述调整单 元 202调整的所述输入装置的输入频率控制信息的输入。 与现有技术中输入信息过多, 需要对多余的输入信息进行缓存和丢弃的方案相比,本发明实施例提供的控制装置可以 根据显示频率动态调整输入频率, 这样不需要处理多余的输入信息, 从而可以减轻控制 装置的负担, 并节省电量。
在上述图 3对应的实施例的基础上,参阅图 4,本发明实施例提供的控制装置的另 一实施例中, 所述调整单元 202包括: 第一计算子单元 2021和第一设置子单元 2022 ; 所述第一计算子单元 2021, 用于根据所述显示频率, 按照预先设置的显示频率与 输入频率的对应关系, 获取与所述显示频率对应的输入频率;
所述第一设置子单元 2022, 用于将所述输入装置的输入频率设置为所述与显示频 率对应的所述第一计算子单元 2021计算出的输入频率。
在上述图 3对应的实施例的基础上,参阅图 5,本发明实施例提供的控制装置的另 一实施例中, 所述调整单元包括: 第二计算子单元 2023和第二设置子单元 2024,
所述第二计算子单元 2023,用于根据所述显示频率,按照显示频率与输入频率 1 : 1 的比例关系, 计算出第一输入频率, 再按照预先设置的所述第一输入频率与第二输入频 率的对应关系, 计算所述第二输入频率;
所述第二设置子单元 2024, 用于将所述输入装置的输入频率设置为所述第二计算 子单元 2023计算出的所述第二输入频率。
在上述图 3对应的实施例的基础上,参阅图 6,本发明实施例提供的控制装置的另 一实施例中, 所述控制单元 203包括: 第一读取子单元 2031和第一处理子单元 2032 ; 所述第一读取子单元 2031, 用于从所述输入装置读取不大于所述输入频率次数的 输入信息;
第一处理子单元 2032, 用于处理所述第一读取子单元 2031读取的输入信息。 在上述图 3对应的实施例的基础上,参阅图 7,本发明实施例提供的控制装置的另 一实施例中, 所述控制单元 203包括: 第二读取子单元 2033和第二处理子单元 2034; 所述第二读取子单元 2033, 用于从所述输入装置读取输入信息;
所述第二处理子单元 2034,用于按照所述第二读取子单元 2033读取所述输入信息 的时间先后, 处理不大于所述输入频率次数的所述输入信息。
本发明实施例还提供了一种计算机存储介质, 该计算机存储介质存储有程序, 该 程序执行时包括上述信息输入的控制方法的部分或者全部步骤。
图 8示出了本发明实施例提供的终端的结构, 本发明实施例提供的终端可以用于 实施本发明实施例中的信息输入的控制方法, 为了便于说明, 仅示出了与本发明实施例 相关的部分, 具体技术细节未揭示的, 请参照本发明方法实施例部分进行理解。
该终端可以为包括手机、 平板电脑、 PDA (Personal Digital Assistant, 个人数 字助理) 、 POS (Point of Sales, 销售终端) 、 车载电脑等终端, 以终端为手机为例, 图 8示出的是与本发明实施例提供的终端相关的手机 400的部分结构的框图。参考图 8, 手机 400包括 RF ( Radio Frequency, 射频) 电路 410、 存储器 420、 输入单元 430、 显 示单元 440、 传感器 450、 音频电路 460、 无线保真 (wireless fidel ity, WiFi)模块 470、 处理器 480、 以及电源 490等部件。本领域技术人员可以理解, 图 8中示出的手机 结构并不构成对手机的限定, 可以包括比图示更多或更少的部件, 或者组合某些部件, 或者不同的部件布置。
下面结合图 8对手机 400的各个构成部件进行具体的介绍:
RF电路 410可用于收发信息或通话过程中, 信号的接收和发送, 特别地, 将基站 的下行信息接收后, 给处理器 480处理; 另外, 将设计上行的数据发送给基站。 通常, RF电路包括但不限于天线、 至少一个放大器、 收发信机、 耦合器、 低噪声放大器 (Low Noise Ampl ifier, LNA) 、 双工器等。 此外, RF电路 410还可以通过无线通信与网络和 其他设备通信。 所述无线通信可以使用任一通信标准或协议, 包括但不限于全球移动通 讯系统 (Global System of Mobi le communication, GSM)、 通用分组无线月艮务 (General Packet Radio Service, GPRS)、 码分多址 (Code Division Multiple Access, CDMA)、 宽带码分多址 (Wideband Code Division Multiple Access, WCDMA)、 长期演进 (Long Term Evolution, LTE)、 电子邮件、 短消息服务 (Short Messaging Service, SMS)等。
存储器 420可用于存储软件程序以及模块,处理器 480通过运行存储在存储器 420 的软件程序以及模块, 从而执行手机 400的各种功能应用以及数据处理。 存储器 420可 主要包括存储程序区和存储数据区, 其中, 存储程序区可存储操作系统、 至少一个功能 所需的应用程序(比如声音播放功能、 图像播放功能等)等; 存储数据区可存储根据手 机 400的使用所创建的数据 (比如音频数据、 电话本等) 等。 此外, 存储器 420可以包 括高速随机存取存储器, 还可以包括非易失性存储器, 例如至少一个磁盘存储器件、 闪 存器件、 或其他易失性固态存储器件。
输入单元 430可用于接收输入的数字或字符信息, 以及产生与手机 400的用户设 置以及功能控制有关的键信号输入。 具体地, 输入单元 430可包括触控面板 431以及其
他输入设备 432。 触控面板 431, 也称为触摸屏, 可收集用户在其上或附近的触摸操作 (比如用户使用手指、 触笔等任何适合的物体或附件在触控面板 431 上或在触控面板 431附近的操作), 并根据预先设定的程式驱动相应的连接装置。可选的, 触控面板 431 可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位, 并检测触摸操作带来的信号, 将信号传送给触摸控制器; 触摸控制器从触摸检测装置上 接收触摸信息, 并将它转换成触点坐标, 再送给处理器 480, 并能接收处理器 480发来 的命令并加以执行。 此外, 可以采用电阻式、 电容式、 红外线以及表面声波等多种类型 实现触控面板 431。 除了触控面板 431, 输入单元 430还可以包括其他输入设备 432。具 体地, 其他输入设备 432可以包括但不限于物理键盘、 功能键(比如音量控制按键、 开 关按键等) 、 轨迹球、 鼠标、 操作杆等中的一种或多种。
显示单元 440可用于显示由用户输入的信息或提供给用户的信息以及手机 400的 各种菜单。 显示单元 440可包括显示面板 441, 可选的, 可以采用液晶显示器 (Liquid Crystal Display, LCD)、 有机发光二极管 (Organic Light-Emitting Diode, OLED) 等形式来配置显示面板 441。 进一步的, 触控面板 431可覆盖显示面板 441, 当触控面 板 431检测到在其上或附近的触摸操作后, 传送给处理器 480以确定触摸事件的类型, 随后处理器 480根据触摸事件的类型在显示面板 441上提供相应的视觉输出。虽然在图 8中, 触控面板 431与显示面板 441是作为两个独立的部件来实现手机 400的输入和输 入功能,但是在某些实施例中,可以将触控面板 431与显示面板 441集成而实现手机 400 的输入和输出功能。
手机 400还可包括至少一种传感器 450, 比如光传感器、运动传感器以及其他传感 器。 具体地, 光传感器可包括环境光传感器及接近传感器, 其中, 环境光传感器可根据 环境光线的明暗来调节显示面板 441的亮度, 接近传感器可在手机 400移动到耳边时, 关闭显示面板 441和 /或背光。 作为运动传感器的一种, 加速计传感器可检测各个方向 上 (一般为三轴)加速度的大小, 静止时可检测出重力的大小及方向, 可用于识别手机 姿态的应用 (比如横竖屏切换、 相关游戏、 磁力计姿态校准) 、 振动识别相关功能 (比 如计步器、 敲击) 等; 至于手机 400还可配置的陀螺仪、 气压计、 湿度计、 温度计、 红 外线传感器等其他传感器, 在此不再赘述。
音频电路 460、 扬声器 461, 传声器 462可提供用户与手机 400之间的音频接口。 音频电路 460可将接收到的音频数据转换后的电信号,传输到扬声器 461,由扬声器 461 转换为声音信号输出; 另一方面, 传声器 462将收集的声音信号转换为电信号, 由音频
电路 460接收后转换为音频数据,再将音频数据输出处理器 480处理后,经 RF电路 410 以发送给比如另一手机, 或者将音频数据输出至存储器 420以便进一步处理。
WiFi属于短距离无线传输技术,手机 400通过 WiFi模块 470可以帮助用户收发电 子邮件、 浏览网页和访问流式媒体等, 它为用户提供了无线的宽带互联网访问。 虽然图 8示出了 WiFi模块 470, 但是可以理解的是, 其并不属于手机 400的必须构成, 完全可 以根据需要在不改变发明的本质的范围内而省略。
处理器 480是手机 400的控制中心, 利用各种接口和线路连接整个手机的各个部 分, 通过运行或执行存储在存储器 420 内的软件程序和 /或模块, 以及调用存储在存储 器 420内的数据, 执行手机 400的各种功能和处理数据, 从而对手机进行整体监控。 可 选的, 处理器 480可包括一个或多个处理单元; 优选的, 处理器 480可集成应用处理器 和调制解调处理器, 其中, 应用处理器主要处理操作系统、 用户界面和应用程序等, 调 制解调处理器主要处理无线通信。 可以理解的是, 上述调制解调处理器也可以不集成到 处理器 480中。
手机 400还包括给各个部件供电的电源 490 (比如电池), 优选的, 电源可以通过 电源管理系统与处理器 480逻辑相连, 从而通过电源管理系统实现管理充电、 放电、 以 及功耗管理等功能。
尽管未示出, 手机 400还可以包括摄像头、 蓝牙模块等, 在此不再赘述。
在本发明实施例中, 该终端所包括的处理器 480还具有以下功能:
所述处理器还用于获取显示装置的显示频率; 根据所述显示频率调整输入装置的 输入频率; 以所述输入装置的输入频率控制信息的输入。
在本发明实施例中, 显示频率可以为一秒钟内显示装置的显示次数, 输入频率可 以为控制装置一分钟能处理的输入信息的次数。
本发明一些实施例中, 所述处理器 480还用于根据所述显示频率, 按照预先设置 的显示频率与输入频率的对应关系, 获取与所述显示频率对应的输入频率; 将所述输入 装置的输入频率设置为所述与显示频率对应的输入频率。
本发明实施例中, 可以预先设置显示频率与输入频率的关系, 所述预先设置的显 示频率与输入频率的关系可以通过对照表格的形式进行设置, 也可以预先设置为比例关 系, 如 1 : 1或者其他的 (N+M) : N的比例关系, 其中, N与 M都为自然数。
本发明一些实施例中, 所述处理器 480还用于根据所述显示频率, 按照显示频率 与输入频率 1 : 1的比例关系, 计算出第一输入频率; 按照预先设置的所述第一输入频率
与第二输入频率的对应关系, 计算所述第二输入频率; 将所述输入装置的输入频率设置 为所述第二输入频率。
本发明实施例中, 先按照显示频率与输入频率 1 : 1 的比例关系计算出第一输入频 率, 但因为当前时刻的输入会延后一段时间才显示, 这中间可能出现输入和显示不完全 匹配的情况。所以要再按照按照预先设置的所述第一输入频率与第二输入频率的对应关 系, 计算所述第二输入频率, 预先设置的第一输入频率与第二输入频率的对应关系可以 通过对照表格的形式进行设置,也可以预先设置为比例关系,如 7 : 8或者其他的(N+M): N的比例关系, 其中, N与 M都为自然数。
将所述输入装置的输入频率设置为所述第二输入频率。
举例: 显示帧 1, 2, 3, 4,…的时刻分别为 t l, t2, t3, t4,……,据此计算得到 显示频率为 Π, Ϊ2 , f3, f4〜.,应该控制使输入频率为: Π, Ϊ2 , f3, f4〜. .,为了 让系统满负荷运转,适当将输入频率加快 3,最终的输入频率为 Π+3, f2+3, f3+3, f4+3-. . 3就是上面的 M, 是多余的负载。
本发明一些实施例中, 所述处理器 480还用于从所述输入装置读取不大于所述输 入频率次数的输入信息; 处理所述读取的输入信息。
本发明实施例中, 通过控制读取输入信息的方式来控制输入与显示的平衡, 本发 明实施例中无论用户向输入装置一分钟内输入多少次信息,控制装置只读取最先输入的 输入频率次数的输入信息, 然后控制装置再处理读取的输入信息。
本发明一些实施例中, 所述处理器 480还用于从所述输入装置读取输入信息; 按 照读取所述输入信息的时间先后, 处理不大于所述输入频率次数的所述输入信息。
本发明实施例中, 控制装置可以读取大于输入频率次数的输入信息, 但控制装置 只处理最先读取的输入频率次数的输入信息。
参阅图 9, 本发明实施例提供的终端的一实施例包括: 显示装置 40、 输入装置 50 和控制装置 20 ;
所述控制装置 20控制从所述输入装置 50获取的输入信息在所述显示装置 40上显 示;
所述输入装置 40, 用于输入信息。
所述控制装置 20, 用于获取显示装置的显示频率; 根据所述显示频率调整输入装 置的输入频率; 以所述输入装置的输入频率控制信息的输入。
所述显示装置 40, 用于显示输入的信息。
本发明实施例提供的系统, 可以根据显示频率动态调整输入频率, 这样不需要处 理多余的输入信息, 从而可以减轻控制装置的负担, 并节省电量。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以 通过程序来指令相关的硬件来完成, 该程序可以存储于一计算机可读存储介质中, 存储 介质可以包括: R0M、 RAM, 磁盘或光盘等。
以上对本发明实施例所提供的信息输入的控制方法、 装置以及终端进行了详细介 绍, 本文中应用了具体个例对本发明的原理及实施方式进行了阐述, 以上实施例的说明 只是用于帮助理解本发明的方法及其核心思想; 同时, 对于本领域的一般技术人员, 依 据本发明的思想, 在具体实施方式及应用范围上均会有改变之处, 综上所述, 本说明书 内容不应理解为对本发明的限制。
Claims
1、 一种信息输入的控制方法, 其特征在于, 包括:
获取显示装置的显示频率;
根据所述显示频率调整输入装置的输入频率;
以所述输入装置的输入频率控制信息的输入。
2、 根据权利要求 1所述的方法, 其特征在于, 所述根据所述显示频率调整输入装 置的输入频率, 具体包括:
根据所述显示频率, 按照预先设置的显示频率与输入频率的对应关系, 获取与所述 显示频率对应的输入频率;
将所述输入装置的输入频率设置为所述与显示频率对应的输入频率。
3、 根据权利要求 1所述的方法, 其特征在于, 所述根据所述显示频率调整输入装 置的输入频率, 具体包括:
根据所述显示频率, 按照显示频率与输入频率 1 : 1的比例关系, 计算出第一输入频 率;
按照预先设置的所述第一输入频率与第二输入频率的对应关系, 计算所述第二输入 频率;
将所述输入装置的输入频率设置为所述第二输入频率。
4、 根据权利要求广 3任意一项所述的方法, 其特征在于, 所述以所述输入装置的 输入频率控制信息的输入, 具体包括:
从所述输入装置读取不大于所述输入频率次数的输入信息;
处理所述读取的输入信息。
5、 根据权利要求广 3任意一项所述的方法, 其特征在于, 所述以所述输入装置的 输入频率控制信息的输入, 具体包括:
从所述输入装置读取输入信息;
按照读取所述输入信息的时间先后, 处理不大于所述输入频率次数的所述输入信 息。
6、 一种控制装置, 其特征在于, 包括:
获取单元, 用于获取显示装置的显示频率;
调整单元, 用于根据所述获取单元获取的显示频率调整输入装置的输入频率; 控制单元, 用于以所述调整单元调整的所述输入装置的输入频率控制信息的输入。
7、 根据权利要求 6所述的控制装置, 其特征在于, 所述调整单元包括: 第一计算
子单元和第一设置子单元;
所述第一计算子单元, 用于根据所述显示频率, 按照预先设置的显示频率与输入频 率的对应关系, 获取与所述显示频率对应的输入频率;
所述第一设置子单元,用于将所述输入装置的输入频率设置为所述与显示频率对应 的所述第一计算子单元计算出的输入频率。
8、 根据权利要求 6所述的控制装置, 其特征在于, 所述调整单元包括: 第二计算 子单元和第二设置子单元,
所述第二计算子单元, 用于根据所述显示频率, 按照显示频率与输入频率 1 : 1的比 例关系, 计算出第一输入频率, 再按照预先设置的所述第一输入频率与第二输入频率的 对应关系, 计算所述第二输入频率;
所述第二设置子单元,用于将所述输入装置的输入频率设置为所述第二计算子单元 计算出的所述第二输入频率。
9、 根据权利要求 6〜8任意一项所述的控制装置, 其特征在于, 所述控制单元包括: 第一读取子单元和第一处理子单元;
所述第一读取子单元,用于从所述输入装置读取不大于所述输入频率次数的输入信 息;
第一处理子单元, 用于处理所述第一读取子单元读取的输入信息。
10、根据权利要求 6〜8任意一项所述的控制装置,其特征在于,所述控制单元包括: 第二读取子单元和第二处理子单元;
所述第二读取子单元, 用于从所述输入装置读取输入信息;
所述第二处理子单元, 用于按照所述第二读取子单元读取所述输入信息的时间先 后, 处理不大于所述输入频率次数的所述输入信息。
11、 一种终端, 其特征在于, 包括: 显示装置、 输入装置和控制装置, 所述控制装 置控制从所述输入装置获取的输入信息在所述显示装置上显示;
所述控制装置为上述权利要求 6^10任意一项所述的控制装置。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210544096.9A CN103064501B (zh) | 2012-12-14 | 2012-12-14 | 一种信息输入的控制方法、装置及终端 |
CN201210544096.9 | 2012-12-14 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2014090201A1 true WO2014090201A1 (zh) | 2014-06-19 |
Family
ID=48107155
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2013/089550 WO2014090201A1 (zh) | 2012-12-14 | 2013-12-16 | 一种信息输入的控制方法、装置及终端 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103064501B (zh) |
WO (1) | WO2014090201A1 (zh) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103064501B (zh) * | 2012-12-14 | 2016-08-24 | 华为终端有限公司 | 一种信息输入的控制方法、装置及终端 |
CN104347049A (zh) * | 2014-09-24 | 2015-02-11 | 广东欧珀移动通信有限公司 | 一种调整屏幕刷新频率的方法及装置 |
KR102257170B1 (ko) * | 2015-01-05 | 2021-05-27 | 시냅틱스 인코포레이티드 | 디스플레이 및 센싱 데이터의 시간 공유 |
CN106445841B (zh) * | 2016-09-27 | 2019-08-06 | Oppo广东移动通信有限公司 | 一种数据传输控制方法和装置 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101833420A (zh) * | 2010-05-19 | 2010-09-15 | 鸿富锦精密工业(深圳)有限公司 | 具有触摸面板的电子装置 |
CN102043518A (zh) * | 2009-10-14 | 2011-05-04 | Nec卡西欧移动通信株式会社 | 电子设备与记录介质 |
WO2012096259A1 (ja) * | 2011-01-14 | 2012-07-19 | シャープ株式会社 | 液晶表示装置、およびその駆動方法 |
CN103064501A (zh) * | 2012-12-14 | 2013-04-24 | 华为终端有限公司 | 一种信息输入的控制方法、装置及终端 |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200915162A (en) * | 2007-07-31 | 2009-04-01 | Qrg Ltd | Sensor and method of sensing |
US8537126B2 (en) * | 2009-04-06 | 2013-09-17 | Apple Inc. | Integrated touch sensitive display gate driver |
US20110007019A1 (en) * | 2009-07-07 | 2011-01-13 | Nuvoton Technology Corporation | Systems and methods for using tft-based lcd panels as capacitive touch sensors |
US9036650B2 (en) * | 2009-09-11 | 2015-05-19 | Apple Inc. | Automatic low noise frequency selection |
CN102999212B (zh) * | 2011-09-16 | 2016-08-03 | 宏达国际电子股份有限公司 | 电子装置 |
-
2012
- 2012-12-14 CN CN201210544096.9A patent/CN103064501B/zh active Active
-
2013
- 2013-12-16 WO PCT/CN2013/089550 patent/WO2014090201A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102043518A (zh) * | 2009-10-14 | 2011-05-04 | Nec卡西欧移动通信株式会社 | 电子设备与记录介质 |
CN101833420A (zh) * | 2010-05-19 | 2010-09-15 | 鸿富锦精密工业(深圳)有限公司 | 具有触摸面板的电子装置 |
WO2012096259A1 (ja) * | 2011-01-14 | 2012-07-19 | シャープ株式会社 | 液晶表示装置、およびその駆動方法 |
CN103064501A (zh) * | 2012-12-14 | 2013-04-24 | 华为终端有限公司 | 一种信息输入的控制方法、装置及终端 |
Also Published As
Publication number | Publication date |
---|---|
CN103064501B (zh) | 2016-08-24 |
CN103064501A (zh) | 2013-04-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018095129A1 (zh) | 一种播放直播视频的方法和装置 | |
WO2019120087A1 (zh) | 降低功耗的处理方法及移动终端 | |
WO2014086218A1 (zh) | 界面调整方法、装置及终端 | |
CN104571979B (zh) | 一种实现分屏视图的方法和装置 | |
WO2017215660A1 (zh) | 一种场景音效的控制方法、及电子设备 | |
WO2018161353A1 (zh) | 一种分享照片的方法和装置 | |
WO2016197697A1 (zh) | 手势控制方法、装置及系统 | |
CN108322599B (zh) | 一种网络访问方法和移动终端 | |
CN109901695B (zh) | 屏幕省电的显示方法、移动终端和计算机可读存储介质 | |
WO2015078145A1 (zh) | 放大显示字体的方法和装置 | |
JP2023503289A (ja) | 同期方法及び電子機器 | |
WO2013149530A1 (zh) | 显示信息的方法、移动终端和计算机可读存储介质 | |
WO2017215661A1 (zh) | 一种场景音效的控制方法、及电子设备 | |
WO2013135169A1 (zh) | 一种输入法键盘的调整方法及其移动终端 | |
WO2020024770A1 (zh) | 确定通讯对象的方法及移动终端 | |
WO2015027682A1 (zh) | 一种电子放大镜的实现方法及用户终端 | |
CN108881778B (zh) | 一种基于可穿戴设备的视频输出方法及可穿戴设备 | |
TW201541337A (zh) | 移動終端中訊息的顯示方法、裝置和系統 | |
WO2019076250A1 (zh) | 推送消息的管理方法及相关产品 | |
WO2014094600A1 (zh) | 移动终端及其降低功耗的方法 | |
WO2019042478A1 (zh) | 移动终端输入法软键盘的控制方法、存储介质及移动终端 | |
CN111417929A (zh) | 界面显示方法及控制终端 | |
US20220174146A1 (en) | Incoming call processing method and electronic device | |
WO2014090201A1 (zh) | 一种信息输入的控制方法、装置及终端 | |
CN109521937B (zh) | 一种屏幕显示控制方法及移动终端 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 13863464 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 13863464 Country of ref document: EP Kind code of ref document: A1 |