CN104007982B - The method that a kind of input equipment of terminal resets - Google Patents
The method that a kind of input equipment of terminal resets Download PDFInfo
- Publication number
- CN104007982B CN104007982B CN201410271195.3A CN201410271195A CN104007982B CN 104007982 B CN104007982 B CN 104007982B CN 201410271195 A CN201410271195 A CN 201410271195A CN 104007982 B CN104007982 B CN 104007982B
- Authority
- CN
- China
- Prior art keywords
- configuration information
- key mapping
- mapping configuration
- input equipment
- partition holding
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Abstract
The invention discloses the method that a kind of input equipment of terminal resets, including:The main control processor electrifying startup of input equipment, if receive reseting controling signal, unload the first key mapping configuration information, the the second key mapping configuration information prestored is obtained, and loads the second key mapping configuration information, wherein, the input equipment includes memory, the memory includes the first partition holding and the second partition holding, and the first partition holding is used to store the first key mapping configuration information, and the second partition holding is used to store the second key mapping configuration information.The input equipment that the present invention can make to have modified function or parameter can also realize the function of recovering initial on other-end, and user, which uses, to be more convenient, and meets the variation of user demand.
Description
Technical field
The present invention relates to the application field of the input equipment of terminal, and in particular to the side that a kind of input equipment of terminal resets
Method.
Background technology
Input equipment is the equipment to terminal input data and information, is the master that information exchange is carried out between user and terminal
Want one of device.Keyboard, mouse, camera, scanner, light pen, writing input board, joystick, speech input device etc. all belong to
In input equipment.
At present, after user installs input equipment application software by terminal, user can change input with the application software and set
Standby original function.When user wants to recover the input equipment after modification function to Elementary Function, it is necessary to by this using soft
Part could be realized.If user uses in the terminal for be fitted without the application software, it can not just realize recovery Elementary Function, give
User brings very big inconvenience.
The content of the invention
It is an object of the invention to provide the method that a kind of input equipment of terminal resets, to solve above technical problem.
For this purpose, the present invention uses following technical scheme:
The present invention provides a kind of method that input equipment of terminal resets, including:
The main control processor electrifying startup of input equipment;
If receiving reseting controling signal, the first key mapping configuration information is unloaded;
The the second key mapping configuration information prestored is obtained, and loads the second key mapping configuration information;
Wherein, the input equipment includes memory;The memory includes the first partition holding and the second partition holding;
First partition holding is used to store the first key mapping configuration information, and the second partition holding is used to store the second key mapping configuration information.
Preferably, the first key mapping configuration information of the unloading, specifically includes:
Delete the first key mapping configuration information stored in first partition holding;
The input equipment is controlled to re-power startup.
Preferably, the first key mapping configuration information of the unloading, specifically includes:
First partition holding is formatted, deletes all information stored in first partition holding;
The input equipment is controlled to re-power startup.
Preferably, the step:After the main control processor electrifying startup of input equipment, further include:
Detect whether to receive reseting controling signal in real time;
If so, the first key mapping configuration information of unloading;
Otherwise, the first key mapping configuration information is not unloaded.
Preferably, the step:After the main control processor electrifying startup of input equipment, further include:
Detect and the first key mapping configuration information whether is stored with first partition holding;
If so, read and load the first key mapping configuration information;
Otherwise, the second key mapping configuration information prestored is obtained, and loads the second key mapping configuration information.
Preferably, the step:The the second key mapping configuration information prestored is obtained, and loads second key mapping and sets
Information, specifically includes:
The the second key mapping configuration information prestored is obtained from second partition holding;
The second key mapping configuration information is stored in first partition holding;
Load the second key mapping configuration information.
Preferably, the step:Before the main control processor electrifying startup of input equipment, further include:In advance described
The second key mapping configuration information is stored in two partition holdings.
Preferably, the terminal includes smart mobile phone, E-book reader, PC, laptop and tablet
Computer.
Preferably, the input equipment is keyboard.
Preferably, the input equipment is mouse.
Beneficial effects of the present invention:Input equipment for using application software modification function or parameter, it is defeated at this
Enter equipment application when other-end, without again at the function of being provided with modification input equipment or the end of the application software of parameter
Realized on end by software and recover Elementary Function, need to only can be achieved to make input equipment extensive in different terminals by the repositioning method
Elementary Function state is arrived again, and the time is greatly saved, meanwhile, user can be applied to more station terminals with an input equipment, more
It is convenient.
Brief description of the drawings
Fig. 1 is the systematic schematic diagram that the input equipment of the terminal of first embodiment resets.
Fig. 2 is the method flow diagram that the input equipment of the terminal of second embodiment resets.
In figure:10th, input equipment;11st, main control processor;12nd, memory;13rd, key mapping configuration information processing module;14、
Key mapping control circuit;15th, reset key;16th, reseting module;17th, the first partition holding;18th, the second partition holding;20th, terminal;
21st, signal processor;22nd, human-computer interaction interface.
Embodiment
Further illustrate technical scheme below in conjunction with the accompanying drawings and by specific embodiment.It is appreciated that
It is that specific embodiment described herein is only used for explaining the present invention, rather than limitation of the invention.Further need exist for explanation
It is, for the ease of description, part related to the present invention rather than full content to be illustrate only in attached drawing.
Further illustrate technical scheme below in conjunction with the accompanying drawings and by specific embodiment.
In the embodiment of the present invention, terminal 20 is to possess the terminal of data processing function, including smart mobile phone, e-book are read
Read device, MP3 (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard sound
Frequency aspect 3) player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert pressure
Contracting standard audio aspect 4) player, PC, tablet computer etc..
It should be noted that different operating interface can be used in different terminals 20, such as the performance shape of human-computer interaction interface 22
Formula may be otherwise varied;Different input equipments 10 can use different reset trigger modes, as long-press reset key, triggering reset
Switch etc., to those skilled in the art, its principle is same or like, belongs to the protection model of the present invention
Enclose.
Embodiment one:
Please refer to Fig.1, Fig. 1 is the systematic schematic diagram that the input equipment of the terminal of first embodiment resets.The system includes:
Input equipment 10 and terminal 20.
Wherein, terminal 20 includes signal processor 21 and human-computer interaction interface 22.Input equipment 10 includes main control processor
11st, memory 12, key mapping configuration information processing module 13, key mapping control circuit 14, reset key 15, reseting module 16 and use
In the communication interface of connection terminal 20;Memory 12 includes the first partition holding 17 and the second partition holding 18.
Specifically, terminal 20 further includes the communication interface for connecting input equipment 10.Terminal 20 is connected by data cable
Communication interface and input equipment 10 communication interface, terminal 20 and input equipment 10 is established communication connection.
After 20 electrifying startup of terminal, input equipment 10 obtains electric, the master control of input equipment 10 by the communication interface of terminal 20
Processor 11 starts power up, and starts to detect whether to receive the reseting controling signal that reseting module 16 is sent in real time;Wherein, mould is resetted
Block 16 connects reset key 15, comes into force when reseting module 16 detects reset key 15 and is triggered, reseting module 16 is handled to master control
Device 11 sends reseting controling signal.
Specifically, main control processor 11 is after the power is turned on, if main control processor 11 does not receive the reset control that reseting module 16 is sent
Signal processed, starts whether be stored with the first key mapping configuration information in the first partition holding 17 of detection memory 12.If so, read
And load the first key mapping configuration information;Otherwise, the second key prestored is obtained from the second partition holding 18 of memory 12
Position configuration information, and load the second key mapping configuration information.
Wherein, the first key mapping configuration information and the second key mapping configuration information are only and distinguish the first partition holding 17 and second to deposit
The key mapping configuration information that storage subregion 18 is stored, rather than show the content of the first key mapping configuration information and the second key mapping configuration information
Must be different.Second key mapping configuration information is the key mapping configuration information prestored, for setting or recovering input equipment
10 Elementary Function, the first key mapping configuration information can be that user is set according to self-demand by application software or other modes
The key mapping configuration information put.First partition holding 17 can support reading and writing data, and the second partition holding 18 is supported to read data.
Specifically, main control processor 11 is after the power is turned on, if main control processor 11 receives the reset control that reseting module 16 is sent
Signal, deletes the first key mapping configuration information stored in the first partition holding 17, or the first partition holding 17 is formatted;
Main control processor 11 re-powers.After main control processor 11 re-powers, detect in the first partition holding 17 of memory 12 not
The first key mapping configuration information is stored with, the second key mapping prestored is obtained from the second partition holding 18 of memory 12 letter is set
Breath, the first partition holding 17 is stored in by the second key mapping configuration information, for the first partition holding 17 of difference and the second partition holding
The 18 key mapping configuration informations stored, the second key mapping configuration information for defining the storage of the first partition holding 17 are set for the first key mapping
Information.Key mapping configuration information processing module 13 obtains and loads the second key mapping configuration information;Key mapping configuration information processing module 13
For the processing of the message from keyboard of the information input button to input equipment 10, and it is converted into accordingly by key mapping control circuit 14
The signal that can handle of terminal 20.
The signal processor 21 of terminal 20 receives key mapping control circuit 14 according to information by the communication interface of terminal 20
The signal of the message from keyboard generation of button is inputted, and is converted into corresponding information and is shown on interpersonal interactive interface 22.The information
Can be image information, text information etc..
Specifically, after the completion of 10 normal electrifying startup of input equipment, detect whether to receive what reseting module 16 was sent in real time
Reseting controling signal;If main control processor 11 receives the reseting controling signal that reseting module 16 is sent, the first partition holding is deleted
The the first key mapping configuration information stored in 17, or the first partition holding 17 is formatted;Main control processor 11 re-powers.
After main control processor 11 re-powers, detect not being stored with the first key mapping in the first partition holding 17 of memory 12 and set and believe
Breath, the second key mapping configuration information prestored is obtained from the second partition holding 18 of memory 12, the second key mapping is set and is believed
Breath is stored in the first partition holding 17, and key mapping configuration information processing module 13 obtains and loads the second key mapping configuration information;Key mapping
Configuration information processing module 13 is used for the processing of the message from keyboard to the information input button of input equipment 10, and passes through key mapping control
Circuit 14 processed is converted into the signal that corresponding terminal 20 can be handled.
Embodiment two:
Please refer to Fig.2, Fig. 2 is the method flow diagram that the input equipment of the terminal of second embodiment resets.This method includes:
S100, in the second partition holding 18 of memory 12 store the second key mapping configuration information in advance.
Second key mapping configuration information is stored in the second partition holding 18, for the key mapping configuration information prestored, is used for
Set or recover the Elementary Function of input equipment 10.
11 electrifying startup of main control processor of S110, input equipment 10.
Input equipment 10 connects terminal 20 by data cable, and after 20 electrifying startup of terminal, input equipment 10 passes through terminal 20
Communication interface obtain electric, main control processor 11 starts power up startup.
After S120,11 electrifying startup of main control processor, detect whether to receive reseting controling signal in real time.
After 11 electrifying startup of main control processor, detect whether to receive reseting controling signal in real time;If so, enter step
S130;Otherwise, S160 is entered step.
S130, the first key mapping configuration information of unloading, enter step S140.
Specifically, the first key mapping configuration information of unloading can use two kinds of different methods, first method includes:
Delete the first key mapping configuration information stored in the first partition holding 17;
Control input equipment 10 re-powers startup.
Second method includes:
First partition holding 17 is formatted;
Control input equipment 10 re-powers startup.
S140, by the second key mapping configuration information be stored in the first partition holding 17, enters step S150.
Second key mapping configuration information is stored in the first partition holding 17, the key mapping to distinguish in different partition holdings is set
Information, the second key mapping configuration information for defining the storage of the first partition holding 17 is the first key mapping configuration information.Power on next time and open
It is dynamic that key mapping configuration information is preferentially loaded from the first partition holding 17.
S150, the second key mapping configuration information of loading.
Load the message from keyboard of key mapping configuration information, that is, set information input button and the key mapping control electricity of input equipment 10
The process of relation between the output signal on road 14.
The first key mapping configuration information whether is stored with S160, the first partition holding 17 of detection,;If so, enter step
S170;Otherwise, S140 is entered step.
S170, the first key mapping configuration information of loading
Load the message from keyboard of key mapping configuration information, that is, set information input button and the key mapping control electricity of input equipment 10
The process of relation between the output signal on road 14.
In the present embodiment, the first key mapping configuration information and the second key mapping configuration information are only to distinguish 17 He of the first partition holding
The key mapping configuration information that second partition holding 18 is stored, rather than show the first key mapping configuration information and the second key mapping configuration information
Content must be different.Second key mapping configuration information is the key mapping configuration information prestored, for setting or recovering defeated
Enter the Elementary Function of equipment 10, the first key mapping configuration information can be that user passes through application software or other modes according to self-demand
The key mapping configuration information being configured.First partition holding 17 supports reading and writing data, and the second partition holding 18 can only support reading
According to.
In the present embodiment, input equipment 10 needs and terminal 20 is compatible, and when terminal 20 is computer, input equipment 10 is keyboard
Or the equipment such as mouse.Overcome using the method for the present embodiment existing using the keyboard of application software modification function or parameter
Or mouse can not realize the deficiency of " recovery Elementary Function " on the computer for be fitted without the application software, be set on keyboard or mouse
In respect of the button of special recovery Elementary Function, i.e. reset key 15, user after this button by by can make input equipment 10 voluntarily
Return to Elementary Function state;When input equipment 10 is applied to other-end 20, without being provided with modification input equipment again
Realized in the terminal 20 of the application software of 10 parameter by software and recover Elementary Function, user can be used with an input equipment 10
, only need to can be real by reset key 15 when user wants to make input equipment 10 return to Elementary Function state in more station terminals 20
It is existing, the time is greatly saved, it is more convenient.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment
To complete, relevant hardware can also be instructed to complete by program, which can be stored in a readable storage medium storing program for executing, deposit
Storage media can include memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit and
Within principle, any modification, equivalent replacement, improvement and so on, should all be included in the protection scope of the present invention.
Claims (8)
1. the method that a kind of input equipment of terminal resets, it is characterised in that including:
The main control processor electrifying startup of input equipment;
Wherein, the input equipment includes memory;The memory includes the first partition holding and the second partition holding;First
Partition holding is used to store the first key mapping configuration information, and the second partition holding is used to store the second key mapping configuration information;
If receiving reseting controling signal, the first key mapping configuration information for being stored in first partition holding is deleted or to described the
One partition holding is formatted;
The main control processor of the input equipment is controlled to re-power startup;
The the second key mapping configuration information prestored is obtained, and loads the second key mapping configuration information.
2. the according to the method described in claim 1, it is characterized in that, step:The main control processor of input equipment, which powers on, to be opened
After dynamic, further include:
Detect whether to receive reseting controling signal in real time;
If so, the first key mapping configuration information of unloading;
Otherwise, the first key mapping configuration information is not unloaded.
3. the according to the method described in claim 2, it is characterized in that, step:The main control processor of input equipment, which powers on, to be opened
After dynamic, further include:
Detect and the first key mapping configuration information whether is stored with first partition holding;
If so, read and load the first key mapping configuration information;
Otherwise, the second key mapping configuration information prestored is obtained, and loads the second key mapping configuration information.
4. the according to the method described in claim 3, it is characterized in that, step:The second key mapping prestored is obtained to set
Information, and the second key mapping configuration information is loaded, specifically include:
The the second key mapping configuration information prestored is obtained from second partition holding;
The second key mapping configuration information is stored in first partition holding;
Load the second key mapping configuration information.
5. according to the method described in any one in claim 1-4, it is characterised in that the step:The master control of input equipment
Before processor electrifying startup, further include:The second key mapping configuration information is stored in second partition holding in advance.
6. according to the method described in claim 5, it is characterized in that, the terminal includes smart mobile phone, E-book reader, a
People's computer.
7. according to the method described in claim 5, it is characterized in that, the input equipment is keyboard.
8. according to the method described in claim 5, it is characterized in that, the input equipment is mouse.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410271195.3A CN104007982B (en) | 2014-06-17 | 2014-06-17 | The method that a kind of input equipment of terminal resets |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410271195.3A CN104007982B (en) | 2014-06-17 | 2014-06-17 | The method that a kind of input equipment of terminal resets |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104007982A CN104007982A (en) | 2014-08-27 |
CN104007982B true CN104007982B (en) | 2018-05-01 |
Family
ID=51368649
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410271195.3A Active CN104007982B (en) | 2014-06-17 | 2014-06-17 | The method that a kind of input equipment of terminal resets |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104007982B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1531364A (en) * | 2003-03-14 | 2004-09-22 | �����ɷ� | Method for defining keyboard function of electronic device |
CN1690934A (en) * | 2004-04-30 | 2005-11-02 | 大唐移动通信设备有限公司 | Method for dynamically setting functions of keyboard press keys for mobile communication terminal |
CN101042612A (en) * | 2006-03-21 | 2007-09-26 | 鸿富锦精密工业(深圳)有限公司 | Self-defined keyboard, self-defined keyboard converting device and self-defined method of the keyboard |
CN101158885A (en) * | 2007-10-22 | 2008-04-09 | 李玫 | User-defined keyboard and implementing method thereof |
CN102880296A (en) * | 2011-07-12 | 2013-01-16 | 富泰华工业(深圳)有限公司 | User-defined keyboard and user-defining method |
-
2014
- 2014-06-17 CN CN201410271195.3A patent/CN104007982B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1531364A (en) * | 2003-03-14 | 2004-09-22 | �����ɷ� | Method for defining keyboard function of electronic device |
CN1690934A (en) * | 2004-04-30 | 2005-11-02 | 大唐移动通信设备有限公司 | Method for dynamically setting functions of keyboard press keys for mobile communication terminal |
CN101042612A (en) * | 2006-03-21 | 2007-09-26 | 鸿富锦精密工业(深圳)有限公司 | Self-defined keyboard, self-defined keyboard converting device and self-defined method of the keyboard |
CN101158885A (en) * | 2007-10-22 | 2008-04-09 | 李玫 | User-defined keyboard and implementing method thereof |
CN102880296A (en) * | 2011-07-12 | 2013-01-16 | 富泰华工业(深圳)有限公司 | User-defined keyboard and user-defining method |
Also Published As
Publication number | Publication date |
---|---|
CN104007982A (en) | 2014-08-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104424359B (en) | For providing the electronic equipment of content and method according to field attribute | |
US8149224B1 (en) | Computing system with detachable touch screen device | |
CN103167134A (en) | Infinite storage system and method of mobile phone | |
CN108920070B (en) | Screen splitting method and device based on special-shaped display screen, storage medium and mobile terminal | |
CN105468264B (en) | Method and device for controlling application program according to control mode and terminal equipment | |
CN103809895B (en) | It is a kind of can dynamic generation button mobile terminal and method | |
CN106776908B (en) | Data cleaning method and device and terminal | |
CN105335045A (en) | Desktop icon change method and system | |
CN104954549A (en) | Electronic device and messaging method | |
CN102917123A (en) | Mobile terminal and dormancy processing method for mobile terminal | |
AU2014312541B2 (en) | Method, apparatus, and recording medium for interworking with external terminal | |
CN104461367A (en) | Image display method and device of front camera of terminal | |
CN104954550A (en) | Messaging system and method thereof | |
CN106528638A (en) | Method for deleting backup data, and mobile terminal | |
CN110688051B (en) | Screen recording operation method and device, computer readable storage medium and terminal | |
CN106790581A (en) | Application data processing method, device and terminal | |
CN114661527A (en) | Data backup method and device, electronic equipment and storage medium | |
CN104007982B (en) | The method that a kind of input equipment of terminal resets | |
CN104104899A (en) | Method for information transmission in video conference and device thereof | |
CN108874591B (en) | Document processing method and related product | |
CN104951253A (en) | Method for processing memory capacity and mobile terminal | |
CN104809753A (en) | File treatment method | |
CN105704533A (en) | Application control method and terminal | |
CN111913918A (en) | File storage method and device and electronic equipment | |
CN214623633U (en) | Mobile storage device and file access system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |