CN111124148B - Switching control method of capitalized input mode in input method and display device - Google Patents
Switching control method of capitalized input mode in input method and display device Download PDFInfo
- Publication number
- CN111124148B CN111124148B CN201911156567.7A CN201911156567A CN111124148B CN 111124148 B CN111124148 B CN 111124148B CN 201911156567 A CN201911156567 A CN 201911156567A CN 111124148 B CN111124148 B CN 111124148B
- Authority
- CN
- China
- Prior art keywords
- input
- preset
- time
- key
- preset key
- 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
- 238000000034 method Methods 0.000 title claims abstract description 130
- 230000001960 triggered effect Effects 0.000 claims abstract description 37
- 230000008569 process Effects 0.000 claims description 6
- 230000004044 response Effects 0.000 claims 1
- 239000000758 substrate Substances 0.000 claims 1
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
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/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F3/023—Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
- G06F3/0233—Character input methods
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)
- Input From Keyboards Or The Like (AREA)
Abstract
The embodiment of the application provides a switching control method of a capital input mode in an input method and display equipment, wherein the method is applied to the display equipment and comprises the following steps: responding to an instruction of triggering a preset key, and acquiring a starting moment of triggering the preset key; acquiring the ending time of the preset key stopped triggering when the preset key is stopped triggering; determining the time length of the preset key to be triggered according to the starting time and the ending time; judging whether the time length is smaller than a preset time threshold value or not; if yes, the input method is controlled to be switched into a non-holding upper case input mode, the non-holding upper case input mode is switched into lower case input after the upper case input is performed for a preset number of times, so that the lower case input is automatically switched after the upper case input for the preset number of times, a user does not need to frequently use a remote controller to control the focus to move to switch the upper case, and user experience is improved.
Description
Technical Field
The embodiment of the application relates to the technical field of display equipment, in particular to a switching control method of a capitalization input mode in an input method and display equipment.
Background
Along with the continuous development of technology, the popularity of display devices is higher and higher, and meanwhile, the requirements of people on the display devices are also higher and higher. In an intelligent display device, a user interacts with the display device by entering letters. Since the display device cannot support the touch screen input like a portable device, the focus must be controlled to move back and forth on the display device using a remote controller.
In the related art, in an input method adopted by a display device, a user presses a Shift key through a remote controller to control case input, the Shift key is pressed and locked into a capital keyboard, and the user can continuously input capital letters; the Shift key is pressed again and switches back to a lower case keyboard, the user can enter lower case letters.
However, if the user wants to input the capital letters first and then input a plurality of lowercase letters, the user needs to use the remote controller to control the focus to move to the Shift key and lock the keyboard into the capital letter, after the input of the capital letters is finished, the user uses the remote controller to control the focus to move to the Shift key, switches back to the lowercase keyboard and then moves back to the letter key to perform the input of the lowercase letters. Therefore, when a user inputs upper case letters and then inputs a plurality of lower case letters, the adoption of the scheme needs to frequently control the focus movement by the remote controller to switch the upper case letters, so that the input efficiency and the user experience of the user are affected.
Disclosure of Invention
The embodiment of the application provides a method for switching and controlling a capital input mode in an input method and display equipment, which are used for solving the problems that in the input method of the display equipment, when a user inputs capital letters first and then inputs a plurality of lowercase letters, a remote controller is required to frequently control focus movement to switch the capital and the lowercase letters, and the input efficiency and the user experience of the user are affected.
In a first aspect, an embodiment of the present application provides a method for controlling switching between uppercase input modes in an input method, which is applied to a display device, including:
responding to an instruction of triggering a preset key, and acquiring a starting moment of triggering the preset key;
acquiring the ending time of the preset key stopped triggering when the preset key is stopped triggering;
determining the time length of the preset key to be triggered according to the starting time and the ending time;
judging whether the time length is smaller than a preset time threshold value or not;
if yes, the input method is controlled to be switched into a non-maintaining upper case input mode, and after the non-maintaining upper case input mode is the upper case input preset times, the input method is switched into lower case input.
In a second aspect, an embodiment of the present application provides a display apparatus, including: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executes the computer-executable instructions stored by the memory such that the processor, when executing the computer-executable instructions, performs the steps of:
responding to an instruction of triggering a preset key, and acquiring a starting moment of triggering the preset key;
acquiring the ending time of the preset key stopped triggering when the preset key is stopped triggering;
determining the time length of the preset key to be triggered according to the starting time and the ending time;
judging whether the time length is smaller than a preset time threshold value or not;
if yes, the input method is controlled to be switched into a non-maintaining upper case input mode, and after the non-maintaining upper case input mode is the upper case input preset times, the input method is switched into lower case input.
The embodiment provides a switching control method and display equipment of a capital input mode in an input method, wherein the method responds to a command that a preset key is triggered to acquire the starting time that the preset key is triggered; acquiring the ending time of the preset key when the preset key is stopped to trigger; accurately determining the time length of triggering the preset key according to the starting time and the ending time; and when the time length is smaller than the preset time threshold, the display equipment is controlled to switch to lower case input after the preset times of upper case input, and then when a user inputs upper case letters first and then inputs a plurality of lower case letters, the upper case input mode is input through the switching control method of the upper case input mode in the input method, the user does not need to frequently use a remote controller to control focus movement to switch the upper case, the input efficiency is improved, and the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions of the prior art, the drawings that are needed in the embodiments or the description of the prior art will be briefly described below, it will be obvious that the drawings in the following description are some embodiments of the present application, and that other drawings can be obtained according to these drawings without inventive effort to a person skilled in the art.
Fig. 1 is a schematic flow chart of a switching control method of a capital input mode in an input method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a keyboard according to an embodiment of the present application;
fig. 3 is a flow chart of a switching control method of a capital input mode in another input method according to an embodiment of the present application;
fig. 4 is a flow chart of a switching control method of a capital input mode in another input method according to an embodiment of the present application;
fig. 5 is a flow chart of a switching control method of a capital input mode in another input method according to an embodiment of the present application;
fig. 6 is a schematic hardware structure of a display device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to fall within the scope of the application.
In an intelligent display device, a user interacts with the display device by entering letters. Since the display device cannot support the touch screen input like a portable device, the focus must be controlled to move back and forth on the display device using a remote controller. In the related art, in an input method adopted by a display device, a user presses a Shift key through a remote controller to control case input, the Shift key is pressed and locked into a uppercase keyboard, and the user can continuously input uppercase letters; the Shift key is pressed again and switches back to a lower case keyboard, the user can enter lower case letters.
However, if the user wants to input the capital letters first and then input a plurality of lowercase letters, the user needs to use the remote controller to control the focus to move to the Shift key and lock the keyboard into the capital letter, after the input of the capital letters is finished, the user uses the remote controller to control the focus to move to the Shift key, switches back to the lowercase keyboard and then moves back to the letter key to perform the input of the lowercase letters. Therefore, when a user inputs upper case letters and then inputs a plurality of lower case letters, the adoption of the scheme needs to frequently control the focus movement by the remote controller to switch the upper case letters, so that the input efficiency and the user experience of the user are affected.
Therefore, in view of the above-mentioned problems, the present embodiment provides a method for controlling the switching of uppercase input modes in an input method, where the method is used for a case that a user inputs uppercase letters first and then inputs a plurality of lowercase letters, and a preset rule is adopted, so that the user cannot keep the uppercase input mode when the user follows the preset rule. Namely, responding to an instruction of triggering a preset key, and acquiring the starting moment of triggering the preset key; acquiring the ending time of the preset key when the preset key is stopped to trigger; accurately determining the time length of triggering the preset key according to the starting time and the ending time; and when the time length is smaller than the preset time threshold, the display equipment is controlled to switch to lower case input after the preset times of upper case input, and then when a user inputs upper case letters first and then inputs a plurality of lower case letters, the upper case input mode is input through the switching control method of the upper case input mode in the input method, the user does not need to frequently use a remote controller to control focus movement to switch the upper case, the input efficiency is improved, and the user experience is improved.
The following describes the technical scheme of the present application and how the technical scheme of the present application solves the above technical problems in detail with specific embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 1 is a schematic flow chart of a method for controlling switching of a capital input mode in an input method according to an embodiment of the present application, and an execution body of the embodiment may be a display device. As shown in fig. 1, the method may include:
s101: and responding to the instruction of triggering the preset key, and acquiring the starting moment of triggering the preset key.
For example, taking an intelligent display device of the Android system as an example, a user uses a remote controller to move a cursor through a direction key of the remote controller, the cursor is moved to a preset key, after a finger of the user presses a determination key of the remote controller, the Android system sends an instruction that the preset key is triggered to a processor, the processor responds to the instruction at the time A, and the time A is the starting time.
S102: and when the preset key is stopped to trigger, acquiring the ending time of the stop triggering of the preset key.
For example, after the user lifts the finger and the certain key is lifted, the Android system sends a command for stopping triggering the preset key, the preset key is stopped to be triggered, and the processor responds to the command at the moment B, and the moment B is the end moment.
S103: and determining the time length of the preset key to be triggered according to the starting time and the ending time.
For example, the processor responds to the instruction that the preset key is triggered at the time ase:Sub>A, stops triggering the preset key at the time B, and the time length between the time ase:Sub>A and the time B is the time length T that the preset key is triggered, i.e., t=b-ase:Sub>A.
S104: and judging whether the time length is smaller than a preset time threshold value.
The preset time threshold may be set according to an actual application scenario, which is not limited in the embodiment of the present application.
For example: the time length is T, and the preset time threshold is set as T 0 Judging T and T 0 Is of a size of (a) and (b).
S105: if yes, the input method is controlled to be switched into a non-maintaining upper case input mode, and after the non-maintaining upper case input mode is the upper case input preset times, the input method is switched into lower case input.
Fig. 2 is a schematic diagram of a keyboard according to an embodiment of the present application, and for convenience of explanation, only a portion related to the embodiment of the present application is shown. As shown in FIG. 2, the keyboard includes the letters a-Z (A-Z), and also includes an input box, shift key, delete key, search key, and space key.
Exemplary, if the time length T is less than the preset time threshold T 0 The processor controls the display device to be inAfter the preset times of uppercase input, switching to lowercase input. For example, when the user inputs abcde, only ABC is uppercase ABC input and de is lowercase de input when the uppercase preset number of times is 3.
Optionally, the method further comprises:
detecting the number of times that the preset key is triggered to respond in a preset time length;
judging whether the times reach a preset times threshold value or not;
and if the times reach the preset times threshold, controlling the display equipment to display an input mode switching rule, wherein the input mode switching rule comprises that the time length of triggering the preset key is smaller than the preset time threshold, and the input method is the non-maintaining capitalization input mode.
For example, if the number of times the preset button is triggered to respond for a preset time period exceeds a preset number of times threshold, it is indicated that the user is frequently performing case-to-case switching, and the user is likely not to know the input mode switching rule of the display device, so that the user needs to be prompted. The switching rules are displayed through the display equipment, so that a user can quickly and conveniently acquire the switching rules, and the user can switch the case according to the switching rules as required, thereby greatly improving user experience.
The preset frequency threshold may be set according to an actual application scenario, for example: different preset times thresholds are set according to factors such as the degree of new and old of the display equipment, the input habit of a user and the like. For example, for a new display device, the probability that the user does not know or is not familiar with the display device to display the input mode switching rule is high, and the preset number of times threshold may be set smaller. For old display equipment, the probability that the user does not know or is not used to the display equipment to display the input mode switching rule is low, and the threshold value of the preset times can be set to be larger, so that misoperation is avoided, and user experience is affected.
According to the switching control method of the capitalized input mode in the input method, the starting time of the preset key triggered is obtained by responding to the instruction of the preset key triggered; acquiring the ending time of the preset key when the preset key is stopped to trigger; accurately determining the time length of triggering the preset key according to the starting time and the ending time; and when the time length is smaller than the preset time threshold, the display equipment is controlled to switch to lower case input after the preset times of upper case input, and then when a user inputs upper case letters first and then inputs a plurality of lower case letters, the upper case input mode is input through the switching control method of the upper case input mode in the input method, the user does not need to frequently use a remote controller to control focus movement to switch the upper case, the input efficiency is improved, and the user experience is improved.
Fig. 3 is a schematic flow chart of a method for controlling switching of a capital input mode in another input method according to an embodiment of the present application, and an execution body of the embodiment may be a display device. As shown in fig. 3, the method includes:
s301: and responding to the instruction of triggering the preset key, and acquiring the starting moment of triggering the preset key.
Optionally, in the process that the preset key is triggered, controlling the display device to display the time when the preset key is triggered in real time.
Optionally, the preset key is a key for controlling the switching of all letter cases in the display device. The preset key is, for example, a shift key.
In an exemplary process of triggering the preset key, the time of triggering the preset key is displayed in real time through the display device, so that a user can conveniently obtain the time length of triggering the preset key, and the user can control the lifting moment of the remote control more accurately according to the display input mode switching rule of the display device.
S302: and when the preset key is stopped to trigger, acquiring the ending time of the stop triggering of the preset key.
S303: and determining the time length of the preset key to be triggered according to the starting time and the ending time.
S304: and judging whether the time length is smaller than a preset time threshold value.
The implementation manner of S302-S304 is the same as that of the above-mentioned steps S102-S104, and will not be repeated here.
S305: and if the time length is smaller than the preset time threshold value, acquiring a first corresponding relation between the input times and time.
The first correspondence may be set according to an actual application scenario. Different numbers of inputs correspond to different times, e.g. 3s corresponds to 2 times, 5s corresponds to 3 times, less than 3s corresponds to 1 time.
S306: and acquiring a first time corresponding to the time length based on the first corresponding relation.
For example, according to the correspondence, the number of times corresponding to the time length for which the preset key is triggered is obtained, for example, the time length is 5s, and the time length is 5s corresponds to 3 times, and the 3 times is the first number of times corresponding to the time length; the time length is 2s, and is smaller than 3s and corresponds to 1 time, and 1 time is the first time corresponding to the time length.
S307: and controlling the input method to switch to lower case input after the first number is input in upper case.
Illustratively, if the first number is 3, the user enters abcde, then switches to lowercase de after uppercase input ABC.
All letter case switching of the display device is controlled through a preset key, so that convenience is brought to user switching of the case; the first corresponding relation between the input times and the time is obtained, the first times corresponding to the time length of triggering the preset key is obtained based on the first corresponding relation, the input method of the control display device is switched to lower case input after the first times of upper case input, the times required by the upper case input user can be controlled, and then the lower case input is switched to, so that the frequency of switching the upper case of the user is further reduced, and the user experience is improved.
According to the switching control method for the capitalized input mode in the input method, the starting time of the triggering of the preset key is obtained by responding to the command of triggering the preset key for controlling the switching of all letters and cases of the display device, and the time of triggering the preset key is displayed in real time by the display device, so that a user can conveniently obtain the time length of triggering the preset key, and the user can control the lifting time of the remote control more accurately according to the switching rule of the display device display input mode; acquiring the ending time of the preset key when the preset key is stopped to trigger; accurately determining the time length of triggering the preset key according to the starting time and the ending time; and when the time length is smaller than the preset time threshold value, the first corresponding relation between the input times and the time is obtained, the first times corresponding to the time length of triggering the preset keys are obtained based on the first corresponding relation, the input method of the display equipment is controlled to be switched into lower case input after the first times of upper case input, and further, when a user inputs upper case letters for the first time and then inputs a plurality of lower case letters, the input is carried out through the switching control method of the upper case input mode in the input method, the user does not need to frequently use a remote controller to control the focus to move to switch the upper case, the input efficiency is improved, and the user experience is improved.
Fig. 4 is a flow chart of a method for controlling switching of a capital input mode in another input method according to an embodiment of the present application, where an execution body of the embodiment may be a display device. As shown in fig. 4, the method includes:
s401: and responding to the instruction of triggering the preset key, and acquiring the starting moment of triggering the preset key.
Optionally, in the process that the preset key is triggered, controlling the display device to display the time when the preset key is triggered in real time.
Optionally, the preset key is a target letter key, and the target letter key is a key for controlling the switching of the target letter case.
The target letter is a letter which needs to be switched to a non-maintaining upper case input mode in the display equipment.
For example, it is necessary to control the letter "a" to switch to lower case input after a certain number of upper case inputs, and the key of the letter "a" is a preset key.
S402: and when the preset key is stopped to trigger, acquiring the ending time of the stop triggering of the preset key.
S403: and determining the time length of the preset key to be triggered according to the starting time and the ending time.
S404: and judging whether the time length is smaller than a preset time threshold value.
The implementation manner of S402-S404 is the same as that of steps S302-S304, and will not be repeated here.
S405: and if the time length is smaller than the preset time threshold value, acquiring a second corresponding relation between the input times and time.
The second correspondence may be set according to an actual application scenario. Different numbers of inputs correspond to different times, e.g. 3s corresponds to 2 times, 5s corresponds to 3 times, less than 3s corresponds to 1 time. The second correspondence relationship may be the same as or different from the first correspondence relationship, which is not limited in the embodiment of the present application.
S406: and acquiring a second time corresponding to the time length based on the second corresponding relation.
For example, according to the correspondence, the number of times corresponding to the time length for which the preset key is triggered is obtained, for example, the time length is 5s, and the time length is 5s corresponds to 3 times, and the 3 times is the second number of times corresponding to the time length; the time length is 2s, and is smaller than 3s and corresponds to 1 time, and 1 time is the second time corresponding to the time length.
S407: and the input method for controlling the target letter keys is switched to lower case input after the second times of upper case input.
Illustratively, if the target letter is the letter "a", the second number of times is 1, when the user inputs Abade, after the first capital input of the letter "a", it is switched to lower case letter "a", i.e., abade.
The case switching of the target letters of the display equipment is controlled through a preset key, so that the case switching is more targeted; the second corresponding relation between the input times and the time is obtained, the second times corresponding to the triggered time length of the target letter keys are obtained based on the second corresponding relation, the target letter key input method of the display device is controlled to be switched to lower case input after the second times of upper case input, the times required by the user for inputting the target letter upper case can be controlled to be switched to lower case input, the frequency of switching the upper case of the user is further reduced, the user experience is improved, and the personalized requirements of the user are met. For example, when the user needs to only capital letter "a" and not capital the remaining letters, the user does not need to use the remote control to control the focus movement to frequently switch the capital and small inputs.
According to the switching control method of the capitalized input mode in the input method, the starting time of the triggering of the preset key is obtained by responding to the command of triggering the preset key for controlling the switching of the target letter case of the display device, and the time of triggering the preset key is displayed in real time by the display device, so that a user can conveniently obtain the time length of triggering the preset key, and the user can control the lifting time of the remote control more accurately according to the switching rule of the display input mode of the display device; acquiring the ending time of the preset key when the preset key is stopped to trigger; accurately determining the time length of triggering the preset key according to the starting time and the ending time; and when the time length is smaller than the preset time threshold value, the second corresponding relation between the input times and the time is obtained, the second corresponding times of the time length of triggering the preset key is obtained based on the second corresponding relation, the input method of the target letter key is controlled to be switched to lower case input after the second times of upper case input, and further, when a user inputs the target letter upper case letters of the second times first and then inputs a plurality of lower case letters, the input is performed through the switching control method of the upper case input mode in the input method, the user does not need to frequently use a remote controller to control the focus to move to switch the upper case, the input efficiency is improved, and the user experience is improved.
Fig. 5 is a schematic flow chart of a method for controlling switching of a capital input mode in another input method according to an embodiment of the present application, and an execution body of the embodiment may be a display device. As shown in fig. 5, the method includes:
s501: and responding to the instruction of triggering the preset key, and acquiring the starting moment of triggering the preset key.
S502: and when the preset key is stopped to trigger, acquiring the ending time of the stop triggering of the preset key.
S503: and determining the time length of the preset key to be triggered according to the starting time and the ending time.
S504: and judging whether the time length is smaller than a preset time threshold value.
The implementation manner of S501-S504 is the same as that of steps S101-S104, and will not be repeated here.
S505: and if the time length is greater than or equal to the preset time threshold, controlling the input method to switch to a capitalization-keeping input mode.
Exemplary, if the time length T reaches the preset time threshold T 0 When the input method switches capitalization, the capitalization input is maintained unchanged. For example, the length of time is greater than or equal to a preset time threshold, and the user input letters remain capitalized, thereby meeting the user's need to maintain capitalized input.
According to the switching control method of the capitalized input mode in the input method, the starting time of the preset key triggered is obtained by receiving the command of the preset key triggered; acquiring the ending time of the preset key when the preset key is stopped to trigger; accurately determining the time length of triggering the preset key according to the starting time and the ending time; and when the time length is greater than or equal to the preset time threshold, the display equipment is controlled to keep upper case input, so that the requirement of a user on keeping upper case input is met, the remote controller is not required to be frequently used for controlling the focus to move to switch the upper case, and the user experience is improved.
Fig. 6 is a schematic hardware structure of an input method switching control device according to an embodiment of the present application. As shown in fig. 6, the input method switching control device 60 of the present embodiment includes: a processor 601 and a memory 602; wherein the method comprises the steps of
The memory stores computer-executable instructions;
the at least one processor executes the computer-executable instructions stored by the memory such that the processor, when executing the computer-executable instructions, performs the steps of:
responding to an instruction of triggering a preset key, and acquiring a starting moment of triggering the preset key;
acquiring the ending time of the preset key stopped triggering when the preset key is stopped triggering;
determining the time length of the preset key to be triggered according to the starting time and the ending time;
judging whether the time length is smaller than a preset time threshold value or not;
if yes, the input method is controlled to be switched into a non-maintaining upper case input mode, and after the non-maintaining upper case input mode is the upper case input preset times, the input method is switched into lower case input.
Optionally, the preset key is a key for controlling the switching of all letter cases in the display device;
the processor when executing the computer execution instructions also realizes the following steps:
acquiring a first corresponding relation between input times and time;
acquiring a first time corresponding to the time length based on the first corresponding relation;
the controlling the input method to switch to a non-maintaining uppercase input mode includes:
and controlling the input method to switch to lower case input after the first number is input in upper case.
Optionally, the preset key is a target letter key in the display device, and the target letter key is a key for controlling the switching of the target letter case;
the processor when executing the computer execution instructions also realizes the following steps:
acquiring a second corresponding relation between the input times and time;
acquiring a second time corresponding to the time length based on the second corresponding relation;
the controlling the input method to switch to a non-maintaining uppercase input mode includes:
and the input method for controlling the target letter keys is switched to lower case input after the second times of upper case input.
Optionally, the processor when executing the computer-executable instructions further implements the steps of:
detecting the number of times that the preset key is triggered to respond in a preset time length;
judging whether the times reach a preset times threshold value or not;
and if the times reach the preset times threshold, controlling the display equipment to display an input mode switching rule, wherein the input mode switching rule comprises that the time length of triggering the preset key is smaller than the preset time threshold, and the input method is the non-maintaining capitalization input mode.
Optionally, the processor when executing the computer-executable instructions further implements the steps of:
and if the time length is greater than or equal to the preset time threshold, controlling the input method to switch to a capitalization-keeping input mode.
Optionally, the processor when executing the computer-executable instructions further implements the steps of:
and controlling the display equipment to display the time when the preset key is triggered in real time in the process that the preset key is triggered.
Alternatively, the memory 602 may be separate or integrated with the processor 601.
When the memory 602 is provided independently, the input method switching control device further comprises a bus 603 for connecting the memory 602 and the processor 601.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the embodiment of the input method switching control device described above is merely illustrative, for example, the division of the modules is merely a logic function division, and there may be another division manner in actual implementation, for example, multiple modules may be combined or may be integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or modules, which may be in electrical, mechanical, or other forms.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical units, may be located in one place, or may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to implement the solution of this embodiment.
In addition, each functional module in the embodiments of the present application may be integrated in one processing unit, or each module may exist alone physically, or two or more modules may be integrated in one unit. The units formed by the modules can be realized in a form of hardware or a form of hardware and software functional units.
The integrated modules, which are implemented in the form of software functional modules, may be stored in a computer readable storage medium. The software functional module is stored in a storage medium, and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute part of the steps of the method for controlling the switching of the uppercase input mode in the input method according to the embodiments of the present application.
It should be understood that the above processor may be a central processing unit (Central Processing Unit, abbreviated as CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, abbreviated as DSP), application specific integrated circuits (Application Specific Integrated Circuit, abbreviated as ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the switching control method for the capitalized input mode in the input method disclosed by the application can be directly embodied as the execution completion of a hardware processor or the execution completion of the combination execution of hardware and software modules in the processor.
The memory may comprise a high-speed RAM memory, and may further comprise a non-volatile memory NVM, such as at least one magnetic disk memory, and may also be a U-disk, a removable hard disk, a read-only memory, a magnetic disk or optical disk, etc.
The bus may be an industry standard architecture (Industry Standard Architecture, ISA) bus, an external device interconnect (Peripheral Component Interconnect, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, the buses in the drawings of the present application are not limited to only one bus or to one type of bus.
The storage medium may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an application specific integrated circuit (Application Specific Integrated Circuits, ASIC for short). It is also possible that the processor and the storage medium reside as discrete components in an electronic device or a master device.
Those of ordinary skill in the art will appreciate that: all or part of the steps of the embodiment of the method for switching and controlling the capitalized input mode in each input method can be completed by hardware related to program instructions. The foregoing program may be stored in a computer readable storage medium. When the program is executed, executing the steps of the embodiment of the switching control method comprising the capitalization input mode in each input method; and the aforementioned storage medium includes: various media that can store program code, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the application.
Claims (10)
1. A switching control method of capitalized input modes in an input method is applied to display equipment and is characterized by comprising the following steps:
responding to an instruction of triggering a preset key, and acquiring a starting moment of triggering the preset key; the preset keys are keys for controlling the switching of the upper and lower letters in the display equipment;
acquiring the ending time of the preset key stopped triggering when the preset key is stopped triggering;
determining the time length of the preset key to be triggered according to the starting time and the ending time;
judging whether the time length is smaller than a preset time threshold value or not;
if yes, the input method is controlled to be switched to a non-maintaining upper case input mode, and after the non-maintaining upper case input mode is the upper case input preset times, the input method is switched to lower case input; the preset times are determined according to the time length of the preset key to be triggered and the corresponding relation between the input times and the time length.
2. The method of claim 1, wherein the step of determining the position of the substrate comprises,
before the input method is controlled to be switched into the non-maintaining upper case input mode, the method further comprises the following steps:
acquiring a first corresponding relation between input times and time;
acquiring a first time corresponding to the time length based on the first corresponding relation;
the controlling the input method to switch to a non-maintaining uppercase input mode includes:
and controlling the input method to switch to lower case input after the first number is input in upper case.
3. The method of claim 1, wherein the preset key is a target letter key in the display device, the target letter key being a key controlling a target letter case switch;
before the input method is controlled to be switched into the non-maintaining upper case input mode, the method further comprises the following steps:
acquiring a second corresponding relation between the input times and time;
acquiring a second time corresponding to the time length based on the second corresponding relation;
the controlling the input method to switch to a non-maintaining uppercase input mode includes:
and the input method for controlling the target letter keys is switched to lower case input after the second times of upper case input.
4. The method as recited in claim 1, further comprising:
detecting the number of times that the preset key is triggered to respond in a preset time length;
judging whether the times reach a preset times threshold value or not;
and if the times reach the preset times threshold, controlling the display equipment to display an input mode switching rule, wherein the input mode switching rule comprises that the time length of triggering the preset key is smaller than the preset time threshold, and the input method is the non-maintaining capitalization input mode.
5. The method as recited in claim 1, further comprising:
and if the time length is greater than or equal to the preset time threshold, controlling the input method to switch to a capitalization-keeping input mode.
6. The method of claim 1, further comprising, after the obtaining a start time at which the preset key is activated in response to the instruction that the preset key is activated:
and controlling the display equipment to display the time when the preset key is triggered in real time in the process that the preset key is triggered.
7. A display device, characterized by comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executes the computer-executable instructions stored by the memory such that the processor, when executing the computer-executable instructions, performs the steps of:
responding to an instruction of triggering a preset key, and acquiring a starting moment of triggering the preset key; the preset keys are keys for controlling the switching of the upper and lower letters in the display equipment;
acquiring the ending time of the preset key stopped triggering when the preset key is stopped triggering;
determining the time length of the preset key to be triggered according to the starting time and the ending time;
judging whether the time length is smaller than a preset time threshold value or not;
if yes, the control input method is switched to a non-holding uppercase input mode, the non-holding uppercase input mode is switched to lowercase input after the uppercase input is performed for a preset number of times, and the preset number of times is determined according to the time length of triggering the preset key and the corresponding relation between the input number of times and the time length.
8. The apparatus of claim 7, wherein the device comprises a plurality of sensors,
the processor when executing the computer execution instructions also realizes the following steps:
acquiring a first corresponding relation between input times and time;
acquiring a first time corresponding to the time length based on the first corresponding relation;
the controlling the input method to switch to a non-maintaining uppercase input mode includes:
and controlling the input method to switch to lower case input after the first number is input in upper case.
9. The device of claim 7, wherein the preset key is a target letter key in the display device, the target letter key being a key that controls a target letter case switch;
the processor when executing the computer execution instructions also realizes the following steps:
acquiring a second corresponding relation between the input times and time;
acquiring a second time corresponding to the time length based on the second corresponding relation;
the controlling the input method to switch to a non-maintaining uppercase input mode includes:
and the input method for controlling the target letter keys is switched to lower case input after the second times of upper case input.
10. The apparatus of claim 7, wherein the processor when executing the computer-executable instructions further performs the steps of:
detecting the number of times that the preset key is triggered to respond in a preset time length;
judging whether the times reach a preset times threshold value or not;
and if the times reach the preset times threshold, controlling the display equipment to display an input mode switching rule, wherein the input mode switching rule comprises that the time length of triggering the preset key is smaller than the preset time threshold, and the input method is the non-maintaining capitalization input mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911156567.7A CN111124148B (en) | 2019-11-22 | 2019-11-22 | Switching control method of capitalized input mode in input method and display device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911156567.7A CN111124148B (en) | 2019-11-22 | 2019-11-22 | Switching control method of capitalized input mode in input method and display device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111124148A CN111124148A (en) | 2020-05-08 |
CN111124148B true CN111124148B (en) | 2023-08-15 |
Family
ID=70496297
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911156567.7A Active CN111124148B (en) | 2019-11-22 | 2019-11-22 | Switching control method of capitalized input mode in input method and display device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111124148B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112099646A (en) * | 2020-09-07 | 2020-12-18 | 中国联合网络通信集团有限公司 | Capitalized digital input method and device, computer equipment and storage medium |
CN113641254A (en) * | 2021-08-16 | 2021-11-12 | 未鲲(上海)科技服务有限公司 | Intelligent switching method, device and equipment of input method and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002366289A (en) * | 2001-06-06 | 2002-12-20 | Kyocera Corp | Portable terminal and its character converting method |
CN1680905A (en) * | 2004-04-06 | 2005-10-12 | 泰商泰金宝科技股份有限公司 | Inputting method of remote controller for analog keyboard/mouse |
CN103294222A (en) * | 2013-05-22 | 2013-09-11 | 北京小米科技有限责任公司 | Input method and input system |
CN106168880A (en) * | 2016-07-01 | 2016-11-30 | 珠海市魅族科技有限公司 | A kind of method inputting control and terminal |
WO2016188203A1 (en) * | 2015-11-24 | 2016-12-01 | 中兴通讯股份有限公司 | Character input method and apparatus, and computer storage medium |
CN109844696A (en) * | 2016-09-23 | 2019-06-04 | 李珪弘 | Multilingual character entry apparatus |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090015556A1 (en) * | 2007-06-08 | 2009-01-15 | Syed Zafar Kazmi | Method and apparatus for interacting with an application |
-
2019
- 2019-11-22 CN CN201911156567.7A patent/CN111124148B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002366289A (en) * | 2001-06-06 | 2002-12-20 | Kyocera Corp | Portable terminal and its character converting method |
CN1680905A (en) * | 2004-04-06 | 2005-10-12 | 泰商泰金宝科技股份有限公司 | Inputting method of remote controller for analog keyboard/mouse |
CN103294222A (en) * | 2013-05-22 | 2013-09-11 | 北京小米科技有限责任公司 | Input method and input system |
WO2016188203A1 (en) * | 2015-11-24 | 2016-12-01 | 中兴通讯股份有限公司 | Character input method and apparatus, and computer storage medium |
CN106168880A (en) * | 2016-07-01 | 2016-11-30 | 珠海市魅族科技有限公司 | A kind of method inputting control and terminal |
CN109844696A (en) * | 2016-09-23 | 2019-06-04 | 李珪弘 | Multilingual character entry apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN111124148A (en) | 2020-05-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106485124B (en) | Operation control method of mobile terminal and mobile terminal | |
CN107219988B (en) | Interface operation guiding method and mobile terminal | |
US9703418B2 (en) | Mobile terminal and display control method | |
CN111124148B (en) | Switching control method of capitalized input mode in input method and display device | |
CN109508522B (en) | Data clearing method, device, storage medium and terminal | |
CN108664286B (en) | Application program preloading method and device, storage medium and mobile terminal | |
CN105045477A (en) | Terminal unlocking method and terminal | |
CN107103224B (en) | Unlocking method and mobile terminal | |
CN108664183A (en) | Processing method and device applying corner mark | |
CN104516643A (en) | Method and device for start application, and computing terminal | |
CN107370874A (en) | Startup method, mobile terminal and the storage medium of application | |
CN105183302A (en) | Method and terminal for controlling application | |
CN111388992B (en) | Interaction control method, device and equipment in game | |
CN108700990B (en) | Screen locking method, terminal and screen locking device | |
US8949731B1 (en) | Input from a soft keyboard on a touchscreen display | |
CN108737870A (en) | A kind of soft keyboard key assignments selection method and device | |
US20220129146A1 (en) | Method for controlling a computer device for entering a personal code | |
CN104866193A (en) | Terminal | |
CN115756226A (en) | Virtual remote controller display method and device, electronic equipment and readable storage medium | |
CN112069015B (en) | Instruction execution method and device for instruction simulator, terminal equipment and storage medium | |
CN108182020A (en) | screen display processing method, device and storage medium | |
CN114356153A (en) | Control method, control device, electronic equipment and storage medium | |
CN109144643B (en) | Fingerprint identification prompting method and device, storage medium and electronic equipment | |
CN109388316B (en) | Drawing method, drawing device, storage medium and electronic equipment | |
CN111782381A (en) | Task management method and device, mobile terminal and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |