Method for recording button usage times and apparatus thereof

A technology of keystrokes and times, applied in counting mechanisms/items, circuit breaker testing, instruments, etc., can solve the problems of increasing product production costs, ignorance and inability to check key materials, etc., and achieve the effect of simple workload

Inactive Publication Date: 2012-06-27
HUIZHOU TCL MOBILE COMM CO LTD
3 Cites 6 Cited by

AI-Extracted Technical Summary

Problems solved by technology

[0002] At present, almost all mobile devices have buttons, especially those indispensable mobile devices such as mobile phones and computers. When users use mobile devices, they often do not understand the operation of each button, especially when the buttons fail. In the case of the keyboard, you can't know the usage of each button, you can only...
View more

Abstract

The invention discloses a method for recording button usage times and an apparatus thereof. Mobile equipment detects a button operation state in real time. When there is a button which is pressed down, a button pressing times recording module in the mobile equipment records button pressing operation. According to the button pressing operation, a counter in the button pressing times recording module adds one to operation times of the button and stores the button pressing times in a memory so that the usage times of the mobile equipment button can be conveniently calculated. And the usage times is taken as a basis of selecting a button material. According to the invention, extra hardware is not needed to be added. Software development is simple and workload is less.

Application Domain

Counting mechanisms/objectsCircuit interrupters testing

Technology Topic

Embedded systemSoftware development +4

Image

  • Method for recording button usage times and apparatus thereof
  • Method for recording button usage times and apparatus thereof
  • Method for recording button usage times and apparatus thereof

Examples

  • Experimental program(1)

Example Embodiment

[0027] In order to make the objectives, technical solutions and advantages of the present invention clearer and clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.
[0028] The method for recording the number of times a key is used according to the embodiment of the present invention mainly includes the following steps:
[0029] Step S100, the mobile device detects the key operation state in real time.
[0030] Since the operation of the keys is more flexible, the detection of the key operation status must be real-time.
[0031] Step S200: When a key is pressed, the key-press count recording module in the mobile device records this key-press operation.
[0032] Step S300: According to this key operation, the counter in the key-press count recording module adds one to the number of key-press operations, saves the key-press times in the memory, and records sequentially and cyclically.
[0033] Among them, each counter in the key-press count recording module corresponds to each key of the mobile device, that is, each counter is responsible for counting the number of operations of a key.
[0034] When the mobile device leaves the factory, the initial value of each counter in the key-press count recording module is zero. Each time a key is pressed, the counter corresponding to the key is incremented by one, and the result is saved in the memory for reading and viewing.
[0035] Further, after each number of keystrokes in the memory is retrieved, it is prompted whether to clear the number of keystrokes. This is convenient for re-counting the number of keystrokes next time, especially after the keyboard has been changed. There can be many ways of prompting, either voice prompts or text prompts. When the voice prompts, the user can record a voice or system settings. Voice, and text prompts can enable users to edit a paragraph of text or system settings, and display it in the form of a dialog box, which is convenient for users to operate.
[0036] The mobile device of the present invention can be a mobile phone, a computer, or other mobile devices with a keyboard.
[0037] Preferably, there are only two cases for key operation, such as Figure 2a with Figure 2b When the mobile device detects the button operation, when it detects that the button is pressed, it means that the button has been pressed once, that is, the button is used once.
[0038] The module for recording the number of keystrokes of the present invention is composed of N counters, including K1, K2, ..., KN, where N represents the number of keys in the mobile device, and each counter corresponds to the key one-to-one. When the device leaves the factory, K1 , K2, ..., KN is set to 0, and save them in Flash, EEPROM, eMMC (Embedded MultiMediaCard embedded memory) and other non-volatile memory, take mobile phones as an example, such as image 3 As shown, when each button of the mobile phone is pressed, the mobile phone software will run to the processing program of the corresponding button pressed part. That is, the user presses the button X, and the processing program of the pressed part of the button X is executed. In the present invention, KX=KX+1 is added at the end of the processing program for the pressed part corresponding to the button X, where X is a natural number and X≤N, that is, when the processing program for the pressed part of the button X is running, and the button X The counter KX in the corresponding module for recording the number of keystrokes is incremented by one, and the result is saved in the above-mentioned memory, and this operation is executed every time a key is pressed in the future.
[0039] According to the above method, when the mobile phone is sent for repair, the repair point can directly read the value of K1, K2,..., KN from the memory after receiving the mobile phone sent by the user for repair, so as to know that each button has been pressed since the mobile phone left the factory. The number of times.
[0040] Based on the above-mentioned method for recording the number of keystrokes provided by the present invention, the present invention also provides a device for recording the number of keystrokes, such as Figure 4 As shown, it includes a button 20 of a mobile device and a baseband chip 10, wherein the baseband chip 10 is provided with a module 30 for recording the number of keystrokes;
[0041] The key-press count module 30 is used to record the number of operations of each key 10 of the mobile device.
[0042] Among them, such as Figure 5 As shown, the module 30 for recording the number of keystrokes includes:
[0043] The counter 31 is used to count the number of operations of each button 20 of the mobile device;
[0044] The memory 32 is configured to store the number of operations of each button 20 counted by the counter 31.
[0045] In this embodiment, the number of counters 31 is the same as the number of buttons 20 of the mobile device, and each button 20 corresponds to a counter 31. The memory 32 that stores the number of operations of each button 20 counted by the counter 31 is a non-volatile memory such as Flash, EEPROM, or eMMC after power failure.
[0046] According to the method and device for recording the number of times of key use provided by the present invention, the mobile device detects the key operation status in real time. When a key is pressed, the key count recording module in the mobile device records this key operation, and according to this key operation, The counter in the key-press recording module adds one to the number of key-press operations, and saves the key-press times in the memory. In this way, it is convenient to count the use times of the mobile device keys and serve as the basis for selecting key materials. There is no need to add additional hardware, using software development, simple and small workload.
[0047] It should be understood that the application of the present invention is not limited to the above examples, and those of ordinary skill in the art can make improvements or changes based on the above description, and all these improvements and changes should fall within the protection scope of the appended claims of the present invention.

PUM

no PUM

Description & Claims & Application Information

We can also present the details of the Description, Claims and Application information to help users get a comprehensive understanding of the technical details of the patent, such as background art, summary of invention, brief description of drawings, description of embodiments, and other original content. On the other hand, users can also determine the specific scope of protection of the technology through the list of claims; as well as understand the changes in the life cycle of the technology with the presentation of the patent timeline. Login to view more.

Similar technology patents

Turning-over device and turning-over method

InactiveCN109573677ASimplify workloadImprove flipping accuracy
Owner:FOSHAN GOLD SILVER RIVER INTELLIGENT EQUIP CO LTD

Peeling device

ActiveCN103151675ASimplify workloadReduce work intensity
Owner:STATE GRID CORP OF CHINA +1

Method for extracting isoflavones from soybean molasses

ActiveCN107163016AIncrease added valueSimplify workload
Owner:山东中阳生物科技有限公司

A rapid generation method of an accounting report

PendingCN109918631ASimplify workloadpromote generation
Owner:LIAONING TECHNICAL UNIVERSITY

Classification and recommendation of technical efficacy words

  • Simplify workload

Method and device for monitoring network data flow

InactiveCN101626323ASimplify workloadReduce memory consumption
Owner:ZTE CORP

Calculation method and application of top-crossing moment of circular orbit satellite

PendingCN112849434ASimplify workloadReduce the amount of betting data
Owner:INNOVATION ACAD FOR MICROSATELLITES OF CAS +1
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products