CN116974386A - Keyboard input method switching circuit and control method thereof - Google Patents

Keyboard input method switching circuit and control method thereof Download PDF

Info

Publication number
CN116974386A
CN116974386A CN202311213443.4A CN202311213443A CN116974386A CN 116974386 A CN116974386 A CN 116974386A CN 202311213443 A CN202311213443 A CN 202311213443A CN 116974386 A CN116974386 A CN 116974386A
Authority
CN
China
Prior art keywords
input method
switching
circuit
input
keyboard
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.)
Granted
Application number
CN202311213443.4A
Other languages
Chinese (zh)
Other versions
CN116974386B (en
Inventor
凌连花
李晗
全永田
王鹤
温恭发
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inphic Electronics Shenzhen Co ltd
Original Assignee
Inphic Electronics Shenzhen Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Inphic Electronics Shenzhen Co ltd filed Critical Inphic Electronics Shenzhen Co ltd
Priority to CN202311213443.4A priority Critical patent/CN116974386B/en
Publication of CN116974386A publication Critical patent/CN116974386A/en
Application granted granted Critical
Publication of CN116974386B publication Critical patent/CN116974386B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements 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/0233Character input methods
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M11/00Coding in connection with keyboards or like devices, i.e. coding of the position of operated keys
    • H03M11/20Dynamic coding, i.e. by key scanning

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

The application provides a keyboard input method switching circuit and a control method thereof, which are applied to the technical field of electric digital data processing, wherein the keyboard input method switching circuit comprises: a data input circuit, a data processing circuit and a change-over switch circuit; the data input circuit is used for acquiring a text signal input by a user and transmitting the text signal to the data processing circuit; the switching circuit is used for acquiring an input method control instruction and transmitting the input method control instruction to the data processing circuit; the data processing circuit is used for taking the text signal as an input method switching identifier when the input method control instruction representation keyboard is in a switching state, transmitting the input method switching identifier to a preset terminal so that the terminal can transmit an input method switching result to the switching circuit, and the switching circuit obtains a new input method control instruction based on the input method switching result. The technical scheme of the application can solve the technical problem of long time consumption of switching the input method through the entity keyboard.

Description

Keyboard input method switching circuit and control method thereof
Technical Field
The application relates to the technical field of electric digital data processing, in particular to a keyboard input method switching circuit and a control method thereof.
Background
The keyboard is used as a common peripheral of the terminal equipment, and has become a common electronic product for people to use the terminal equipment. When people input data information through a keyboard, the input method on the terminal is often required to be switched through a specific key on the keyboard.
However, on the premise that multiple input methods exist on the terminal device, the user needs to press a specific key for multiple times to switch to the input method required by the user, and the more the types of the input methods, the longer the time for the user to switch the input method.
Disclosure of Invention
The application provides a keyboard input method switching circuit and a control method thereof, and aims to solve the technical problem that the time consumption is long when an input method is switched through a physical keyboard.
In order to solve the above problems, the present application provides a keyboard input method switching circuit and a control method thereof, wherein the keyboard input method switching circuit comprises: a data input circuit, a data processing circuit and a change-over switch circuit;
the data input circuit is used for acquiring a text signal input by a user and transmitting the text signal to the data processing circuit;
the switching circuit is used for acquiring an input method control instruction and transmitting the input method control instruction to the data processing circuit;
the data processing circuit is used for taking the text signal as an input method switching identifier when the input method control instruction representation keyboard is identified to be in a switching state, and transmitting the input method switching identifier to a preset terminal so that the terminal can transmit an input method switching result to the switching switch circuit;
and the switching circuit obtains a new input method control instruction based on the input method switching result.
Optionally, the switching circuit includes: a state switching chip and a switching switch;
the change-over switch is used for acquiring an input method control instruction input by a user and transmitting the input method control instruction to the data processing circuit;
the state switching chip is used for obtaining a new input method control instruction according to the input method switching result.
Optionally, the data input circuit includes: a scanning circuit and a plurality of key switches;
the scanning circuit is used for acquiring switch closing information corresponding to each of the plurality of key switches, acquiring switch closing information representing a closing state of the plurality of switch closing information, acquiring text signals based on the switch closing information representing the closing state, and transmitting the text signals to the data processing circuit.
Optionally, the data processing circuit includes: an amplifier and a signal processing chip;
the amplifier is used for amplifying the text signal and transmitting the amplified text signal to the signal processing chip;
the signal processing chip is used for identifying whether the input method control instruction represents the keyboard in a switching state or not, and transmitting the amplified text signal to the terminal as an input method switching identifier when the input method control instruction represents the keyboard in the switching state.
Optionally, the keyboard input method switching circuit further includes: a switching state prompting circuit;
the switching state prompting circuit is used for outputting prompting information when the signal processing chip recognizes that the input method control instruction characterizes the keyboard to be in a switching state.
In addition, in order to solve the above problems, the present application further provides a control method of a keyboard input method switching circuit, where the control method is applied to the keyboard input method switching circuit, and the keyboard input method switching circuit includes: a data input circuit, a data processing circuit and a change-over switch circuit;
the control method comprises the following steps:
acquiring a text signal input by a user through the data input circuit, and transmitting the text signal to the data processing circuit;
acquiring an input method control instruction of a keyboard input method through the change-over switch circuit, and transmitting the input method control instruction to the data processing circuit;
when the data processing circuit recognizes that the input method control instruction represents that the keyboard is in a switching state, the text signal is used as an input method switching identifier, and the input method switching identifier is transmitted to a preset terminal;
and receiving an input method switching result transmitted by the terminal, and controlling the switching circuit to obtain a new input method control instruction based on the input method switching result.
Optionally, before the step of using the text signal as the input method switching identifier when the data processing circuit recognizes that the input method control instruction characterizes the keyboard in a switching state, the control method further includes:
identifying control information corresponding to the input method control instruction through the data processing circuit;
when the data processing circuit recognizes that the input method control instruction characterizes the keyboard to be in a switching state, the step of taking the text signal as an input method switching identifier comprises the following steps:
and when the data processing circuit recognizes that the control information representation keyboard is in a switching state, the text signal is used as an input method switching identifier.
Optionally, after the step of identifying, by the data processing circuit, control information corresponding to the input method control instruction, the control method further includes:
and when the control information representation keyboard is not in a switching state, taking the text signal as user input content and transmitting the user input content to the terminal, wherein the user input content is text editing information input by a user.
Optionally, the input method control instruction includes: inputting a command by an input method;
the step of controlling the change-over switch circuit to obtain a new input method control instruction based on the input method change-over result comprises the following steps:
when the input method switching result represents that the switching is completed, the switching switch circuit is controlled to take the input method input command as a new input method control command so as to transmit the text editing information input by the user to the terminal.
Optionally, the input method control instruction further includes: inputting a method switching command;
the step of controlling the change-over switch circuit to obtain a new input method control instruction based on the input method change-over result further comprises:
when the input method switching result represents switching failure, the switching switch circuit is controlled to take the input method switching command as a new input method control command, so that the new input method control command is transmitted to the data processing circuit to execute a new round of keyboard input method switching.
The application provides a keyboard input method switching circuit and a control method thereof, wherein the keyboard input method switching circuit comprises: a data input circuit, a data processing circuit and a change-over switch circuit; the data input circuit is used for acquiring a text signal input by a user and transmitting the text signal to the data processing circuit; the switching circuit is used for acquiring an input method control instruction and transmitting the input method control instruction to the data processing circuit; the data processing circuit is used for taking the text signal as an input method switching identifier when the input method control instruction representation keyboard is identified to be in a switching state, and transmitting the input method switching identifier to a preset terminal so that the terminal can transmit an input method switching result to the switching switch circuit; and the switching circuit obtains a new input method control instruction based on the input method switching result.
In the keyboard input method switching circuit, a data input circuit is connected with a data processing circuit, a switching circuit is also connected with the data processing circuit, and a terminal is also arranged and is respectively connected with the data processing circuit and the switching circuit. In the keyboard input method switching circuit, the data input circuit is used for acquiring text signals input by a user, the switching switch circuit is used for acquiring input method control instructions, and the data processing circuit takes the text signals as keywords (input method switching identification) of the switching input method and transmits the keywords to the terminal when the input method control instructions are identified as the switching input method. Meanwhile, the keyboard input method switching circuit can also obtain a new input method control instruction based on the input method switching result of the terminal so as to enter a normal input state after the input method switching is finished.
Compared with the traditional mode of realizing input method switching by pressing specific keys for multiple times, the method and the device judge whether the text signal obtained by the data input circuit is a keyword for switching the input method or not through the input method control instruction obtained by the input method switching switch, and further switch the input method when the text signal is the keyword, so that a user can quickly switch the input method by only setting the input method control instruction and the keyword for switching the input method when switching the input method based on the keyboard, and the time for switching the input method can be reduced.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the application or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, and it will be obvious to a person skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a schematic diagram of a first embodiment of a keyboard input method switching circuit according to the present application;
FIG. 2 is a schematic diagram showing the logical connection of a circuit according to an embodiment of the keyboard input method switching circuit of the present application;
FIG. 3 is a schematic diagram of a switching prompt module of an embodiment of a switching circuit for a keyboard input method according to the present application;
FIG. 4 is a flowchart of a first embodiment of a control method of a keyboard input method switching circuit according to the present application;
FIG. 5 is a diagram illustrating an exemplary embodiment of a control method of a keyboard input method switching circuit according to the present application.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all embodiments of the 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 be within the scope of the application.
It should be noted that all directional indicators (such as up, down, left, right, front, and rear … …) in the embodiments of the present application are merely used to explain the relative positional relationship, movement, etc. between the components in a particular posture (as shown in the drawings), and if the particular posture is changed, the directional indicator is changed accordingly.
In the present application, unless specifically stated and limited otherwise, the terms "connected," "affixed," and the like are to be construed broadly, and for example, "affixed" may be a fixed connection, a removable connection, or an integral body; can be mechanically or electrically connected; either directly or indirectly, through intermediaries, or both, may be in communication with each other or in interaction with each other, unless expressly defined otherwise. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art according to the specific circumstances.
Furthermore, descriptions such as those referred to as "first," "second," and the like, are provided for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implying an order of magnitude of the indicated technical features in the present disclosure. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In addition, the technical solutions of the embodiments may be combined with each other, but it is necessary to base that the technical solutions can be realized by those skilled in the art, and when the technical solutions are contradictory or cannot be realized, the combination of the technical solutions should be considered to be absent and not within the scope of protection claimed in the present application.
As shown in fig. 1, fig. 1 is a schematic block diagram of a first embodiment of a keyboard input method switching circuit according to the present application, wherein the keyboard input method switching circuit includes: a data input circuit 10, a data processing circuit 20, and a changeover switch circuit 30;
the data input circuit 10 is configured to obtain a text signal input by a user, and transmit the text signal to the data processing circuit 20;
the switch circuit 30 is configured to obtain an input method control instruction, and transmit the input method control instruction to the data processing circuit 20;
the data processing circuit 20 is configured to, when it is identified that the keyboard represented by the input method control instruction is in a switching state, use the text signal as an input method switching identifier, and transmit the input method switching identifier to a preset terminal, so that the terminal transmits an input method switching result to the switch circuit 30;
the switch circuit 30 obtains a new input method control instruction based on the input method switching result.
It should be noted that the text signal refers to text content input by a user through a keyboard, and the data processing circuit may include a key or a switch operable by the user.
For example, assuming that the input method currently being used by the user is an english input method, and the user wants to switch the input method to a pinyin input method, the user may press a key operable in the data processing circuit, at this time, the data processing circuit may set the input method control command to switch the input method based on the pressed key, then the user inputs a keyword for switching the input method based on the data input circuit, for example, a text signal input by the user is "Pinyin input method", the signal processing circuit uses the text signal "Pinyin input method" as a keyword for switching the input method on the premise that the input method control command characterizes the switching state is identified, and transmits the keyword as an input method switching identifier to the terminal, so that the terminal finds the pinyin input method according to the input method switching identifier "Pinyin input method", switches the current english input method to the pinyin input method, and after a preset period, the terminal feeds back the input method switching result to the switching circuit, so that the switching circuit obtains a new input method control command based on the input method switching result.
In the embodiment, the application can distinguish the keywords of the input method from the common text information input by the user, and can facilitate the terminal to quickly switch to the input method expected by the user by transmitting the keywords into the terminal without operating specific keys on the keyboard for multiple times, thereby reducing the switching time of the input method.
Further, based on the first embodiment of the keyboard input method switching circuit of the present application, a second embodiment of the keyboard input method switching circuit of the present application is provided.
Referring to fig. 2, fig. 2 is a schematic circuit logic connection diagram of an embodiment of a keyboard input method switching circuit according to the present application, wherein the switching circuit 30 includes: a state switching chip 301 and a switching switch 302;
the switch 302 is configured to obtain an input method control instruction input by a user, and transmit the input method control instruction to the data processing circuit 20;
the state switching chip 301 is configured to obtain a new input method control instruction according to the input method switching result transmitted by the terminal.
The switch in the switch circuit may be a push-button switch or a rotary switch, for example. When the change-over switch is a key-type switch, a technician can specify that the switch is pressed down to represent the state of entering the input method change-over state, and then the user can set the input method control instruction as an input method change-over command by pressing down the switch. Similarly, when the change-over switch is a rotary type switch, a technician may designate that the switch rotates to a specific position to characterize entering the input method change-over state. After the change-over switch obtains the input method control instruction, the input method control instruction is transmitted to the data processing circuit so that the data processing circuit can identify whether the current keyboard state is the state of changing over the input method. In addition, the state switching chip is connected with the terminal, the terminal transmits the input method switching result to the state switching chip after the preset time, and the state switching chip can obtain a new input method control instruction according to the input method switching result.
Still referring to fig. 2, optionally, in one possible embodiment, the data input circuit 10 includes: a scanning circuit 101 and a plurality of key switches 102;
the scanning circuit 101 is configured to obtain switch closure information corresponding to each of the plurality of key switches 102, obtain switch closure information indicating a closure state of the plurality of key switches, and obtain a text signal based on the switch closure information indicating the closure state, and transmit the text signal to the data processing circuit 20.
It should be noted that, the key switches refer to switches required for inputting signals by a user, and in a common keyboard, the number of key switches is generally 83 keys/84 keys/96 keys/101 keys/104 keys/107 keys. The scanning circuit comprises a plurality of wires which are transversely and longitudinally staggered, and a grid formed by the wires transversely and longitudinally serves as the position of the key switch.
For example, assuming that 25 keys of 107 key switches on the keyboard were pressed, the scanning circuit may identify the 25 keys pressed and obtain a text signal composed of 25 key signals based on 25 switch closure information capable of characterizing the closure state and pass the text signal to the data processing circuit.
Still referring to fig. 2, optionally, in one possible embodiment, the data processing circuit 20 includes: an amplifier 201 and a signal processing chip 202;
the amplifier 201 is configured to amplify the text signal and transmit the amplified text signal to the signal processing chip 202;
the signal processing chip 202 is configured to identify whether the input method control instruction indicates that the keyboard is in a switching state, and transmit the amplified text signal as an input method switching identifier to the terminal when it is identified that the input method control instruction indicates that the keyboard is in the switching state.
The amplifier in the data processing circuit amplifies the text signal transmitted by the data input circuit to improve the accuracy of the terminal identifying the text signal, and the signal processing chip can identify the current state of the keyboard represented by the input method control instruction, and when the keyboard is in a switching state, the amplified text signal is used as an input method switching identifier to be transmitted to the terminal, so that the terminal switches the input method according to the identifier. For example: the text signal is "English input method", and the technician sets the signal 1 when pressing the change-over switch (the input method control command is the input method change-over command), the signal processing chip can obtain whether the keyboard is in the change-over state by judging whether the signal transmitted by the change-over switch is 1. If the text signal is in the switching state, the text signal is transmitted to the terminal as a switching identification, so that the terminal switches the current input method into the English input method based on the switching identification.
Referring to fig. 3, fig. 3 is a schematic diagram of a switching prompt module of an embodiment of a keyboard input method switching circuit according to the present application, and in a possible embodiment, the keyboard input method switching circuit further includes: a switching state prompting circuit 40;
the switching state prompting circuit 40 is configured to output a prompting message when the signal processing chip 202 recognizes that the input method control command characterizes that the keyboard is in a switching state.
It should be noted that, the switching state prompting circuit may include a prompting lamp, a prompting microphone, and the like, and when the keyboard is in the switching state, the prompting information may be output based on the prompting lamp or the prompting microphone.
For example, the switching state prompting circuit includes a prompting lamp, and the switching state prompting circuit is connected with the signal processing chip, and when the signal processing chip recognizes that the input method control instruction can represent that the keyboard is in the switching state, the prompting lamp can change the flicker frequency or the flicker color so as to prompt the user.
In the embodiment, the method and the device can not only transmit the keywords for switching the input method to the terminal based on the input method control instruction, but also remind the user to timely input the keywords for switching the input method based on the switching state prompting circuit, so that the use experience of the user is improved.
In order to solve the problems, the application also provides a control method of the keyboard input method switching circuit.
Referring to fig. 4, fig. 4 is a flowchart illustrating a control method of the keyboard input method switching circuit according to a first embodiment of the present application. It should be noted that although a logic sequence is shown in the flowchart, in some cases, the respective steps of the control method of the keyboard input method switching circuit of the present application may be of course performed in a different order from that here.
In this embodiment, the control method is applied to a keyboard input method switching circuit, and the keyboard input method switching circuit includes: a data input circuit, a data processing circuit and a change-over switch circuit;
the control method comprises the following steps:
step S10: and acquiring a text signal input by a user through the data input circuit, and transmitting the text signal to the data processing circuit.
It should be noted that, the text signal refers to a pulse signal, and for the terminal, the terminal may determine key information based on the pulse signal, so as to obtain text content input by the user.
In this embodiment, the data input circuit includes: after a user presses a key switch on a keyboard, the pressed key switch can enable a certain circuit loop in the scanning circuit to normally operate, so that a pulse signal generated by pressing by the user can be obtained based on the normally operated circuit, and the pulse signal is transmitted to the data processing circuit.
For example, assuming that the user sequentially presses the "P", "I", "N", "Y", "I" and "N" key switches, the 6 key switches will sequentially trigger the 6 loops in the scan circuit to operate normally and generate 6 pulse signals, and the data input circuit then transmits the 6 pulse signals to the data processing circuit, so that the data processing circuit determines whether the 6 pulse signals are keywords for switching the input method based on the input method control instruction.
Step S20: and acquiring an input method control instruction of a keyboard input method through the change-over switch circuit, and transmitting the input method control instruction to the data processing circuit.
In this embodiment, the switch circuit includes a switch, and the user can set the keyboard to the switch state by adjusting the position of the switch. The keyboard input method switching circuit can acquire an input method control instruction in a mode of acquiring the position of the switching switch, and transmits the acquired input method control instruction to the data processing circuit.
It should be noted that the input method control instruction includes an input method switching command and an input method input command. The input method switching command indicates that the keyboard is in a switching state, and the input method input command indicates that the keyboard is not in the switching state. For example, when the keyboard is in the switching state, the content input by the user will be used as the keyword of the terminal switching input method, and when the keyboard is in the non-switching state, the content input by the user is only displayed on the terminal page for selection by the user, that is, in the non-switching state, the keyboard is in the conventional text input state. By the switching mode, the probability of false triggering of the input method switching function by a user can be reduced.
Illustratively, assume that the change-over switch is a push-type switch, and that the technician has set: when the change-over switch is in a pressed state, the keyboard enters a change-over state, at the moment, the input method control instruction is an input method change-over command, and when the change-over switch is in a sprung state, the keyboard is in a non-change-over state, at the moment, the input method control instruction is an input method input command. When the user wishes to switch the current input method, the user can set the switch to a pressed state, then the switch circuit can acquire the current state of the switch at regular time, determine an input method control instruction based on the current state of the switch, and then transmit the input method control instruction to the data processing circuit.
Step S30: when the data processing circuit recognizes that the input method control instruction characterizes the keyboard to be in a switching state, the text signal is used as an input method switching identification, and the input method switching identification is transmitted to a preset terminal.
It should be noted that the input method switching identifier refers to a keyword or symbol of the terminal searching the input method.
In this embodiment, after obtaining the input method control instruction and the text signal, the data processing circuit transmits the obtained text signal as a keyword (input method switching identifier) of the terminal switching input method to the terminal device when the keyboard is in the switching state represented by the input method control instruction. The terminal equipment can search the corresponding input method in the storage space based on the keyword, and then switch the current input method into the searched input method.
Illustratively, assume that the text signal is: the input method control instruction is an input method switching instruction when the switch is in a pressing state, the data processing circuit can obtain that the keyboard is in a switching state based on the input method switching instruction, and then the obtained text signal is used as a keyword of the terminal for searching the input method, and the keyword is transmitted to the terminal.
Step S40: and receiving an input method switching result transmitted by the terminal, and controlling the switching circuit to obtain a new input method control instruction based on the input method switching result.
In this embodiment, after the terminal receives the preset time interval of the input method switching identifier, the terminal outputs the input method switching result to the keyboard input method switching circuit, and the switching circuit determines a new input method control instruction based on the input method switching result, and then processes the text signal newly input by the user based on the new input method control instruction.
For example, assuming that the preset time interval is 0.3ms, after the terminal receives the input method switching identifier and the interval is 0.3ms, the terminal transmits the input method switching result to a switching switch circuit in the keyboard input method switching circuit, and then the switching switch circuit determines whether the keyboard needs to maintain the switching state according to the input method switching result.
Referring to fig. 5, fig. 5 is a usage scenario diagram of an embodiment of a control method of a keyboard input method switching circuit according to the present application, wherein after a user inputs a switching command (input method control command) and a text signal into the keyboard input method switching circuit, the user controls the keyboard input method switching circuit to transmit the text signal as a switching identifier to a terminal, and adjusts the switching command (input method control command) of the keyboard input method switching circuit based on an input method switching result transmitted by the terminal.
In this embodiment, the efficiency of switching input methods by the user can be improved on the basis of not affecting the normal input of text content by the user by identifying different input method control instructions and performing different processing on text signals input by the user based on the different input method control instructions.
Further, based on the first embodiment of the control method of the keyboard input method switching circuit of the present application, a second embodiment of the control method of the keyboard input method switching circuit of the present application is provided.
In the present embodiment, in the above step S30: when the data processing circuit recognizes that the input method control instruction characterizes the keyboard to be in a switching state, and before the text signal is used as an input method switching identifier, the control method further comprises the following steps:
and S50, identifying control information corresponding to the input method control instruction through the data processing circuit.
In this embodiment, after the data processing circuit obtains the input method control instruction, the control information corresponding to the input method control instruction may be identified by the signal processing chip. It should be noted that, the signal processing chip has stored therein the input method control instruction and the control information corresponding to the input method control instruction in advance, so the signal processing chip in the data processing circuit can obtain the control information by traversing or searching after receiving the input method control instruction.
Illustratively, it is assumed that the information stored in the signal processing chip is: the control information corresponding to the input method switching command is "switching input method", and the control information corresponding to the input method input command is "not switching input method", and when the input method control command is the input method switching command, the control information is: switching the input method, and when the input method control instruction is the input method input command, the control information is: the input method is not switched.
Based on this, step S30 described above: when the data processing circuit recognizes that the input method control instruction characterizes the keyboard to be in a switching state, the text signal is used as an input method switching identifier, and the method comprises the following steps:
step S301: and when the data processing circuit recognizes that the control information representation keyboard is in a switching state, the text signal is used as an input method switching identifier.
In this embodiment, after the signal processing circuit obtains the control information, the current state of the keyboard may be identified based on the control information, and when the keyboard is in the switching state, the text signal input by the user is used as the input method switching identifier.
The correspondence between the control information and the switching state may be preset by a technician, or may be found by the signal processing chip based on the control information.
For example, when the control information is "switch input method" and the text signals are "P", "I", "N", "Y", "I" and "N", the signal processing chip recognizes that the keyboard is in the switch state based on the control information, and then uses the text signals as the input method switch identifiers.
Optionally, in one possible embodiment, in step S50 above: after the data processing circuit identifies the control information corresponding to the input method control instruction, the control method further comprises the following steps:
step S60: and when the control information representation keyboard is not in a switching state, taking the text signal as user input content and transmitting the user input content to the terminal, wherein the user input content is text editing information input by a user.
In this embodiment, if the control information obtained by the signal processing chip indicates that the keyboard is not in the switching state, the text signal input by the user is characterized as text editing information input conventionally, and the text editing information is not used for controlling the terminal to switch the input method, and then the signal processing chip transmits the text editing information to the terminal.
For example, assume that the current input method of the terminal is a pinyin input method, and the text signal input by the user is an "english input method". If the control information obtained by the signal processing chip is the 'non-switching input method', the signal processing chip obtains that the keyboard is not in the switching state currently based on the control information, the text information 'English input method' is used as conventional text editing information, and the text editing information is transmitted to the terminal for display of a display of the terminal. In one possible embodiment, the text signal may be a specific symbol, for example, with the keyboard in a switch state, the user input "#" represents that the user wishes to switch to the pinyin input method, the user input "@" represents that the user wishes to switch to the english input method, and the user input "#" represents that the user wishes to switch to the wubi input method. Accordingly, when the keyboard is not in the toggle state, the user inputs "#" or "@" merely indicate that the user wishes to input the symbol content.
In the embodiment, the control information corresponding to the control instruction of the input method is identified, and the input method switching mode is performed based on the text signal input by the user only when the control information characterizes the keyboard in the switching state, so that the convenience of switching the input method of the keyboard is improved.
Further, based on the first embodiment and the second embodiment of the control method of the keyboard input method switching circuit of the present application, a third embodiment of the control method of the keyboard input method switching circuit of the present application is provided.
In this embodiment, when the input method control instruction includes an input method input command and an input method switching command, step S40 is described above: the method for controlling the change-over switch circuit to obtain a new input method control instruction based on the input method change-over result comprises the following steps:
step S401: when the input method switching result represents that the switching is completed, the switching switch circuit is controlled to take the input method input command as a new input method control command so as to transmit the text editing information input by the user to the terminal.
When the input method switching result transmitted by the terminal indicates that the input method has been switched, the keyboard input method switching circuit controls the switching circuit to adjust the input method control instruction from the input method switching command to the input method input command, so that the user inputs text editing information, and then the text editing information is transmitted to the terminal.
Alternatively, in another possible embodiment, step S40 above is: the method for controlling the switching circuit to obtain a new input method control instruction based on the input method switching result further comprises the following steps:
step S402: when the input method switching result represents switching failure, the switching switch circuit is controlled to take the input method switching command as a new input method control command, so that the new input method control command is transmitted to the data processing circuit to execute a new round of keyboard input method switching.
In this embodiment, if the input method switching result indicates that the input method switching fails, the switch circuit is controlled to maintain the input method control command as the input method switching command so as to transmit the input method switching command to the data processing circuit, and then a new round of keyboard input method switching is performed based on the data processing circuit.
For example, when the user wants to switch the current pinyin input method to the english input method, the user places the switch in a pressed state so that the keyboard enters a switch state, then the user inputs a text signal of the english input method based on the data input circuit, and then the signal processing circuit uses the text signal as a switch identifier and transmits the switch identifier to the terminal when determining that the keyboard is in the switch state. After receiving an input method switching result transmitted by the terminal, if the input method switching result characterizes that the switching is completed, adjusting an input method switching command generated by placing the switch in a pressed state into an input method input command, and controlling the switch to be adjusted into a bouncing state. At this time, if the user inputs the text signal again, the text signal is not used to control the input method switching. Conversely, if the input method switching result indicates a switching failure, the input method switching command generated by placing the switch in the pressed state is used as a new input method control command (i.e., the switch state is maintained), and the switch is controlled to be kept in the pressed state. At this time, if the user inputs the text signal again, the text signal is still used to control the input method switching.
In the embodiment, the method and the device can realize flexible switching of the input method switching instruction and the input basic input text information by adjusting the input method control instruction according to the input method switching result, thereby ensuring the switching stability of the input method.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal device (which may be a car-mounted computer, a smart phone, a computer, or a server, etc.) to perform the method according to the embodiments of the present application.
The foregoing description is only of the preferred embodiments of the present application, and is not intended to limit the scope of the application, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (10)

1. The keyboard input method switching circuit is characterized by comprising: a data input circuit, a data processing circuit and a change-over switch circuit;
the data input circuit is used for acquiring a text signal input by a user and transmitting the text signal to the data processing circuit;
the switching circuit is used for acquiring an input method control instruction and transmitting the input method control instruction to the data processing circuit;
the data processing circuit is used for taking the text signal as an input method switching identifier when the input method control instruction representation keyboard is identified to be in a switching state, and transmitting the input method switching identifier to a preset terminal so that the terminal can transmit an input method switching result to the switching switch circuit;
and the switching circuit obtains a new input method control instruction based on the input method switching result.
2. The keyboard input method switching circuit of claim 1, wherein the switching circuit comprises: a state switching chip and a switching switch;
the change-over switch is used for acquiring an input method control instruction input by a user and transmitting the input method control instruction to the data processing circuit;
the state switching chip is used for obtaining a new input method control instruction according to the input method switching result.
3. The keyboard input method switching circuit of claim 1, wherein the data input circuit comprises: a scanning circuit and a plurality of key switches;
the scanning circuit is used for acquiring switch closing information corresponding to each of the plurality of key switches, acquiring switch closing information representing a closing state of the plurality of switch closing information, acquiring text signals based on the switch closing information representing the closing state, and transmitting the text signals to the data processing circuit.
4. The keyboard input method switching circuit of claim 1, wherein the data processing circuit comprises: an amplifier and a signal processing chip;
the amplifier is used for amplifying the text signal and transmitting the amplified text signal to the signal processing chip;
the signal processing chip is used for identifying whether the input method control instruction represents the keyboard in a switching state or not, and transmitting the amplified text signal to the terminal as an input method switching identifier when the input method control instruction represents the keyboard in the switching state.
5. The keyboard input method switching circuit of claim 4, wherein the keyboard input method switching circuit further comprises: a switching state prompting circuit;
the switching state prompting circuit is used for outputting prompting information when the signal processing chip recognizes that the input method control instruction characterizes the keyboard to be in a switching state.
6. The control method of the keyboard input method switching circuit is characterized in that the control method is applied to the keyboard input method switching circuit, and the keyboard input method switching circuit comprises the following steps: a data input circuit, a data processing circuit and a change-over switch circuit;
the control method comprises the following steps:
acquiring a text signal input by a user through the data input circuit, and transmitting the text signal to the data processing circuit;
acquiring an input method control instruction of a keyboard input method through the change-over switch circuit, and transmitting the input method control instruction to the data processing circuit;
when the data processing circuit recognizes that the input method control instruction represents that the keyboard is in a switching state, the text signal is used as an input method switching identifier, and the input method switching identifier is transmitted to a preset terminal;
and receiving an input method switching result transmitted by the terminal, and controlling the switching circuit to obtain a new input method control instruction based on the input method switching result.
7. The method of claim 6, wherein before the step of using the text signal as the input method switching flag when the data processing circuit recognizes that the input method control command indicates that the keyboard is in the switching state, the method further comprises:
identifying control information corresponding to the input method control instruction through the data processing circuit;
when the data processing circuit recognizes that the input method control instruction characterizes the keyboard to be in a switching state, the step of taking the text signal as an input method switching identifier comprises the following steps:
and when the data processing circuit recognizes that the control information representation keyboard is in a switching state, the text signal is used as an input method switching identifier.
8. The method for controlling a keyboard input method switching circuit according to claim 7, wherein after the step of identifying control information corresponding to the input method control instruction by the data processing circuit, the method further comprises:
and when the control information representation keyboard is not in a switching state, taking the text signal as user input content and transmitting the user input content to the terminal, wherein the user input content is text editing information input by a user.
9. The method of claim 6, wherein the input method control command comprises: inputting a command by an input method;
the step of controlling the change-over switch circuit to obtain a new input method control instruction based on the input method change-over result comprises the following steps:
when the input method switching result represents that the switching is completed, the switching switch circuit is controlled to take the input method input command as a new input method control command so as to transmit the text editing information input by the user to the terminal.
10. The method of claim 6, wherein the input method control command further comprises: inputting a method switching command;
the step of controlling the change-over switch circuit to obtain a new input method control instruction based on the input method change-over result further comprises:
when the input method switching result represents switching failure, the switching switch circuit is controlled to take the input method switching command as a new input method control command, so that the new input method control command is transmitted to the data processing circuit to execute a new round of keyboard input method switching.
CN202311213443.4A 2023-09-20 2023-09-20 Keyboard input method switching circuit and control method thereof Active CN116974386B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311213443.4A CN116974386B (en) 2023-09-20 2023-09-20 Keyboard input method switching circuit and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311213443.4A CN116974386B (en) 2023-09-20 2023-09-20 Keyboard input method switching circuit and control method thereof

Publications (2)

Publication Number Publication Date
CN116974386A true CN116974386A (en) 2023-10-31
CN116974386B CN116974386B (en) 2023-12-15

Family

ID=88481797

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311213443.4A Active CN116974386B (en) 2023-09-20 2023-09-20 Keyboard input method switching circuit and control method thereof

Country Status (1)

Country Link
CN (1) CN116974386B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063190A (en) * 2009-11-18 2011-05-18 致伸科技股份有限公司 Switching method and switching device for character input modes
CN102830924A (en) * 2012-08-08 2012-12-19 北京小米科技有限责任公司 Method and device for adjusting input method keyboards
CN104750378A (en) * 2013-12-30 2015-07-01 腾讯科技(深圳)有限公司 Automatic input mode switching method and device for input method
CN109189243A (en) * 2018-11-19 2019-01-11 深圳美图创新科技有限公司 Input method switching method, device and user terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063190A (en) * 2009-11-18 2011-05-18 致伸科技股份有限公司 Switching method and switching device for character input modes
CN102830924A (en) * 2012-08-08 2012-12-19 北京小米科技有限责任公司 Method and device for adjusting input method keyboards
CN104750378A (en) * 2013-12-30 2015-07-01 腾讯科技(深圳)有限公司 Automatic input mode switching method and device for input method
CN109189243A (en) * 2018-11-19 2019-01-11 深圳美图创新科技有限公司 Input method switching method, device and user terminal

Also Published As

Publication number Publication date
CN116974386B (en) 2023-12-15

Similar Documents

Publication Publication Date Title
US8499015B2 (en) Data entry method and apparatus
US20060281495A1 (en) Device and method for sending and receiving voice call contents
EP2713294A2 (en) Terminal authentication method and device thereof
CN104394263A (en) Accessing point list displaying method and device
CN106899751A (en) The method and terminal of content are sent and received by terminal
US20100245272A1 (en) Mobile terminal apparatus and method of starting application
CN104866226A (en) Terminal device and method for controlling same
US20040176139A1 (en) Method and wireless communication device using voice recognition for entering text characters
JP4158195B2 (en) Mobile phone having learning type input determination circuit
US20180262604A1 (en) Method and apparatus for storing telephone numbers in a portable terminal
CN111918109A (en) Television control method, television, remote controller, television system and storage medium
CN110933772A (en) Connection method of wireless device, mobile terminal and computer readable storage medium
KR100557092B1 (en) Mobile terminal and method for displaying variable assistance area
CN116974386B (en) Keyboard input method switching circuit and control method thereof
JP2012039282A (en) Electronic apparatus, information display program for the same, and information display method for the same
CN110600031B (en) Playback control method, playback apparatus, and computer-readable storage medium
KR100470212B1 (en) Transmission method of short message in mobile phone
US10798257B2 (en) Computer-readable medium, information processing device, and method for selecting image processing apparatus
CN111726451A (en) Wearable device, mobile terminal, mode entering method of wearable device and mobile terminal, and storage medium
CN104598150B (en) A kind of foundation connection, sending, receiving method and electronic equipment
CN111476993B (en) Remote control learning method and device and electronic equipment
JP2003316500A (en) Input device and method therefor
KR100625950B1 (en) apparatus and method for inputting braille in mobile phone
JP7032181B2 (en) Information processing equipment
KR100556933B1 (en) Repeat key recognition method for mobile communication terminal

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