CN114661197A - Input method panel control method, related equipment and readable storage medium - Google Patents

Input method panel control method, related equipment and readable storage medium Download PDF

Info

Publication number
CN114661197A
CN114661197A CN202210526006.7A CN202210526006A CN114661197A CN 114661197 A CN114661197 A CN 114661197A CN 202210526006 A CN202210526006 A CN 202210526006A CN 114661197 A CN114661197 A CN 114661197A
Authority
CN
China
Prior art keywords
terminal equipment
input method
state information
input
method panel
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
CN202210526006.7A
Other languages
Chinese (zh)
Other versions
CN114661197B (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.)
iFlytek Co Ltd
Original Assignee
iFlytek 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 iFlytek Co Ltd filed Critical iFlytek Co Ltd
Priority to CN202210526006.7A priority Critical patent/CN114661197B/en
Publication of CN114661197A publication Critical patent/CN114661197A/en
Application granted granted Critical
Publication of CN114661197B publication Critical patent/CN114661197B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • 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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus

Abstract

The application discloses an input method panel control method, related equipment and a readable storage medium. By acquiring the motion state information of the terminal equipment, when the motion state information of the terminal equipment meets a first preset condition, acquiring input method panel state information used for indicating the display state of an input method panel in a touch screen of the terminal equipment, and controlling the display state of the input method panel based on the input method panel state information. By adopting the scheme, the user can realize the switching control of the input method panel only by shaking the terminal equipment, and the mode is simpler.

Description

Input method panel control method, related equipment and readable storage medium
Technical Field
The present application relates to the field of input method technologies, and in particular, to an input method panel control method, a related device, and a readable storage medium.
Background
With the continuous development of technology, terminal devices (e.g., smart phones, tablet computers, etc.) with touch screens are gradually popularized, and accordingly, in order to support the user input function of the touch screen terminal device, various input methods have been developed, such as: pinyin input mode, stroke input mode, handwriting input mode, sliding input mode, etc.
At present, different control of an input method panel can be realized only by clicking different areas of a touch screen of terminal equipment by a user, and the control mode is complex. For example, when the input method panel is not displayed on the touch screen of the terminal device, the input method panel can be displayed on the touch screen of the terminal device only by clicking the input area, and when the input method panel is displayed on the touch screen of the terminal device, the input method panel can be folded from the touch screen of the terminal device only by clicking the non-input area or clicking controls such as "search", "determine", and the like.
Therefore, how to provide a control method for an input method panel to simplify the control method of the input method panel becomes a technical problem to be solved urgently by those skilled in the art.
Disclosure of Invention
In view of the foregoing problems, the present application provides an input method panel control method, a related device and a readable storage medium. The specific scheme is as follows:
an input method panel control method, the method comprising:
acquiring motion state information of the terminal equipment;
when the motion state information of the terminal equipment meets a first preset condition, acquiring the input method panel state information of the terminal equipment, wherein the input method panel state information of the terminal equipment is used for indicating the display state of an input method panel in a touch screen of the terminal equipment, and the display state of the input method panel in the touch screen of the terminal equipment comprises the following steps: the input method panel is displayed in the touch screen of the terminal equipment, and the input method panel is not displayed in the touch screen of the terminal equipment;
and controlling the display state of the input method panel based on the input method panel state information of the terminal equipment.
Optionally, the first preset condition is used to indicate that the motion of the terminal device is a specific motion.
Optionally, the controlling the display state of the input method panel based on the input method panel state information of the terminal device includes:
and when the input method panel state information of the terminal equipment indicates that the input method panel is displayed in the touch screen of the terminal equipment, the input method panel is folded, and the input method panel state information of the terminal equipment is changed.
Optionally, the controlling the display state of the input method panel based on the input method panel state information of the terminal device includes:
when the input method panel state information of the terminal equipment indicates that the input method panel is displayed in the touch screen of the terminal equipment, acquiring input area state information of the terminal equipment, wherein the input area state information of the terminal equipment is used for indicating the display state of an input area in the touch screen of the terminal equipment;
and controlling the display state of the input method panel based on the input area state information of the terminal equipment.
Optionally, the controlling the display state of the input method panel based on the input area state information of the terminal device includes:
when the input area state information of the terminal equipment indicates that an input area is not displayed in the touch screen of the terminal equipment, or the input area state information of the terminal equipment indicates that an input area is displayed in the touch screen of the terminal equipment and the input area has input content; or the input area state information of the terminal equipment indicates that a plurality of input areas are displayed in a touch screen of the terminal equipment, and when input contents exist in at least one input area, the input method panel is folded, and the input method panel state information of the terminal equipment is changed.
Optionally, the controlling the display state of the input method panel based on the input method panel state information of the terminal device includes:
and when the input method panel state information of the terminal equipment indicates that the input method panel is not displayed in the touch screen of the terminal equipment, displaying the input method panel in the touch screen of the terminal equipment, and changing the input method panel state information of the terminal equipment.
Optionally, the controlling the display state of the input method panel based on the input method panel state information of the terminal device includes:
when the input method panel state information of the terminal equipment indicates that the input method panel is not displayed in the touch screen of the terminal equipment, acquiring input area state information of the terminal equipment, wherein the input area state information of the terminal equipment is used for indicating the display state of an input area in the touch screen of the terminal equipment;
and when the input area state information of the terminal equipment indicates that an input area is displayed in the touch screen of the terminal equipment, displaying the input method panel in the touch screen of the terminal equipment, and changing the input method panel state information of the terminal equipment.
Optionally, when the input area state information of the terminal device indicates that one input area is displayed in the touch screen of the terminal device, the method further includes:
automatically positioning an input cursor to the input area.
Optionally, when the input area state information of the terminal device indicates that a plurality of input areas are displayed in the touch screen of the terminal device, the method further includes:
automatically positioning an input cursor to a first input area;
acquiring motion state information of the terminal equipment;
and when the motion state information of the terminal equipment meets a second preset condition, automatically positioning the input cursor to a second input area.
Optionally, the controlling the display state of the input method panel based on the input method panel state information of the terminal device includes:
when the input method panel state information of the terminal equipment indicates that the input method panel is displayed in a touch screen of the terminal equipment, acquiring motion state information of the terminal equipment;
and when the motion state information of the terminal equipment meets a third preset condition, controlling the display content of the input method panel.
An input method panel control apparatus, the apparatus comprising:
the motion state information acquisition unit is used for acquiring the motion state information of the terminal equipment;
the input method panel state information acquiring unit is used for acquiring the input method panel state information of the terminal equipment when the motion state information of the terminal equipment meets a first preset condition, wherein the input method panel state information of the terminal equipment is used for indicating the display state of an input method panel in a touch screen of the terminal equipment, and the display state of the input method panel in the touch screen of the terminal equipment comprises the following steps: the input method panel is displayed in the touch screen of the terminal equipment, and the input method panel is not displayed in the touch screen of the terminal equipment;
and the control unit is used for controlling the display state of the input method panel based on the input method panel state information of the terminal equipment.
Optionally, the first preset condition is used to indicate that the motion of the terminal device is a specific motion.
Optionally, the control unit includes: a first control subunit;
the first control subunit is configured to, when the input method panel state information of the terminal device indicates that the input method panel is displayed in the touch screen of the terminal device, pack the input method panel, and change the input method panel state information of the terminal device.
Optionally, the control unit includes: a second control subunit;
the second control subunit is configured to, when the input method panel state information of the terminal device indicates that the input method panel is displayed on the touch screen of the terminal device, obtain input area state information of the terminal device, where the input area state information of the terminal device is used to indicate a display state of an input area on the touch screen of the terminal device; and controlling the display state of the input method panel based on the input area state information of the terminal equipment.
Optionally, the second control subunit is specifically configured to:
when the input area state information of the terminal equipment indicates that an input area is not displayed in the touch screen of the terminal equipment, or the input area state information of the terminal equipment indicates that an input area is displayed in the touch screen of the terminal equipment and the input area has input content; or the input area state information of the terminal equipment indicates that a plurality of input areas are displayed in a touch screen of the terminal equipment, and when input contents exist in at least one input area, the input method panel is folded, and the input method panel state information of the terminal equipment is changed.
Optionally, the control unit includes: a third control subunit;
and the third control subunit is configured to, when the input method panel state information of the terminal device indicates that the input method panel is not displayed in the touch screen of the terminal device, display the input method panel in the touch screen of the terminal device, and change the input method panel state information of the terminal device.
Optionally, the control unit includes: a fourth control subunit;
the fourth control subunit is configured to, when the input method panel state information of the terminal device indicates that the input method panel is not displayed in the touch screen of the terminal device, obtain input area state information of the terminal device, where the input area state information of the terminal device is used to indicate a display state of an input area in the touch screen of the terminal device;
and when the input area state information of the terminal equipment indicates that an input area is displayed in the touch screen of the terminal equipment, displaying the input method panel in the touch screen of the terminal equipment, and changing the input method panel state information of the terminal equipment.
Optionally, when the input area state information of the terminal device indicates that one input area is displayed in the touch screen of the terminal device, the apparatus further includes:
and the first cursor control unit is used for automatically positioning the input cursor to the input area.
Optionally, when the input area state information of the terminal device indicates that a plurality of input areas are displayed in the touch screen of the terminal device, the apparatus further includes:
the second cursor control unit is used for automatically positioning the input cursor to the first input area; acquiring motion state information of the terminal equipment; and when the motion state information of the terminal equipment meets a second preset condition, automatically positioning the input cursor to a second input area.
Optionally, the control unit includes: a fifth control subunit;
the fifth control subunit is configured to, when the input method panel state information of the terminal device indicates that the input method panel is displayed in the touch screen of the terminal device, obtain motion state information of the terminal device; and when the motion state information of the terminal equipment meets a third preset condition, controlling the display content of the input method panel.
An input method panel control device includes a memory and a processor;
the memory is used for storing programs;
the processor is configured to execute the program to implement the steps of the input method panel control method.
A readable storage medium on which a computer program is stored, which, when executed by a processor, implements the steps of the input method panel control method as described above.
By means of the technical scheme, the application discloses an input method panel control method, related equipment and a readable storage medium. By acquiring the motion state information of the terminal equipment, when the motion state information of the terminal equipment meets a first preset condition, acquiring input method panel state information used for indicating the display state of an input method panel in a touch screen of the terminal equipment, and controlling the display state of the input method panel based on the input method panel state information. By adopting the scheme, the user can realize the switching control of the input method panel only by shaking the terminal equipment, and the mode is simpler.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the application. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a schematic flowchart of a control method for an input method panel according to an embodiment of the present disclosure;
fig. 2a and fig. 2b are schematic diagrams illustrating a display state control of an input method panel according to an embodiment of the present application;
fig. 3a and 3b are schematic diagrams illustrating a display state control of another input method panel disclosed in an embodiment of the present application;
fig. 4a and 4b are schematic diagrams illustrating a display state control of another input method panel disclosed in an embodiment of the present application;
FIGS. 5a and 5b are schematic diagrams of display status control of another input method panel disclosed in the embodiments of the present application;
fig. 6a, 6b and 6c are schematic views illustrating display state control of another input method panel disclosed in the embodiment of the present application;
FIGS. 7a and 7b are schematic diagrams illustrating control of display contents of an input method panel according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of an input method panel control apparatus disclosed in an embodiment of the present application;
fig. 9 is a block diagram of a hardware structure of an input method panel control device disclosed in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
Next, the input method panel control method provided by the present application is described by the following embodiments.
Referring to fig. 1, fig. 1 is a schematic flowchart of a method for controlling an input method panel disclosed in an embodiment of the present application, where the method may include:
step S101: and acquiring the motion state information of the terminal equipment.
In this application, the motion state information of the terminal device includes at least one motion parameter of the terminal device, and the motion parameter may be displacement, acceleration, speed, rotation angular velocity, rotation angle, and the like. In the application, different motion parameters of the terminal equipment can be acquired through different sensors which can be installed in the terminal equipment. For example, the rotation angular velocities, the rotation angles and the like of the terminal device along three orthogonal axes can be acquired through a gyroscope installed in the terminal device, the acceleration of the terminal device can be acquired through an acceleration sensor installed in the terminal device, the displacement of the terminal device can be acquired through a displacement sensor installed in the terminal device, and the velocity of the terminal device can be acquired through a velocity sensor installed in the terminal device.
Step S102: and when the motion state information of the terminal equipment meets a first preset condition, acquiring the input method panel state information of the terminal equipment, wherein the input method panel state information of the terminal equipment is used for indicating the display state of an input method panel in a touch screen of the terminal equipment.
In this application, the first preset condition may indicate that the motion of the terminal device is a specific motion, and as an implementation manner, the first preset condition may indicate that the motion of the terminal device is any one of a reciprocating motion, a translational motion and a rotation around an axis.
After the terminal device moves in the first direction for the preset distance, the terminal device moves in the reverse direction of the first direction for the preset distance within the preset time, and the terminal device can be determined to move in a reciprocating mode; the terminal equipment moves in the first direction for a preset distance, then moves in the reverse direction of the first direction for a preset distance in preset time, and then moves in the first direction for a preset distance in preset time, so that the terminal equipment can be determined to move in a reciprocating manner; the terminal equipment rotates around the first shaft by a larger angle than the terminal equipment rotates around the second shaft and/or rotates around the third shaft, so that the terminal equipment can be determined to rotate around the shaft; the angular speed of the terminal device rotating around the first axis is greater than that around the second axis, and/or the angular speed of the terminal device rotating around the third axis can also be determined to be around-axis rotation movement; the terminal device moves a certain distance along the first direction, and the terminal device can be determined to move in translation.
In the application, whether the motion of the terminal device is the specific motion of the terminal device represented by the first preset condition or not can be determined based on the motion state information of the terminal device, and then whether the motion state information of the terminal device meets the first preset condition or not can be determined. For example, if the first preset condition indicates that the specific motion of the terminal device is a reciprocating motion, in the present application, if it is determined that the terminal moves in the first direction for a preset distance and then moves in a reverse direction of the first direction for a preset distance within a preset time based on the motion state information of the terminal device, it is determined that the motion state information of the terminal device satisfies the first preset condition. For another example, if the first preset condition indicates that the specific motion of the terminal device is rotation around the axis, in this application, if the terminal device rotates around the first axis by an angle greater than that around the second axis and/or around the third axis, it is determined that the motion state information of the terminal device satisfies the first preset condition.
In the application, the display states of the input method panel in the touch screen of the terminal device include two states, namely the input method panel is displayed in the touch screen of the terminal device and the input method panel is not displayed in the touch screen of the terminal device.
Step S103: and controlling the display state of the input method panel based on the input method panel state information of the terminal equipment.
In the present application, the display state of the input method panel is controlled based on the input method panel state information of the terminal device, and it may be understood that the display state of the input method panel is switched based on the input method panel state information of the terminal device.
The embodiment discloses an input method panel control method. By acquiring the motion state information of the terminal equipment, when the motion state information of the terminal equipment meets a first preset condition, acquiring input method panel state information used for indicating the display state of an input method panel in a touch screen of the terminal equipment, and controlling the display state of the input method panel based on the input method panel state information. By adopting the scheme, the user can realize the switching control of the input method panel only by shaking the terminal equipment, and the mode is simpler.
In another embodiment of the present application, a detailed description is given of an implementation manner for controlling a display state of an input method panel based on the input method panel state information of the terminal device, which specifically includes the following steps:
and when the input method panel state information of the terminal equipment indicates that the input method panel is displayed in the touch screen of the terminal equipment, the input method panel is folded, and the input method panel state information of the terminal equipment is changed.
It should be noted that the changed input method panel state information of the terminal device indicates that the input method panel is not displayed in the touch screen of the terminal device.
Based on the embodiment, when the input method panel is displayed in the touch screen of the terminal equipment, the user only needs to shake the terminal equipment, the input method panel can be folded, and the user can conveniently check the complete page or more contents displayed in the touch screen of the terminal equipment.
In another embodiment of the present application, another implementation manner of controlling a display state of an input method panel based on the input method panel state information of the terminal device is described in detail, which is specifically as follows:
when the input method panel state information of the terminal equipment indicates that the input method panel is displayed in a touch screen of the terminal equipment, acquiring input area state information of the terminal equipment, wherein the input area state information of the terminal equipment is used for indicating the display state of an input area in the touch screen of the terminal equipment; and controlling the display state of the input method panel based on the input area state information of the terminal equipment.
It should be noted that the input area of the terminal device may be various areas in which characters need to be input, such as a short message editing area, a search area, and the like, which is not limited in this application.
As an implementation manner, controlling the display state of the input method panel based on the input area state information of the terminal device may include: and when the input area state information of the terminal equipment indicates that an input area is not displayed in the touch screen of the terminal equipment, retracting the input method panel and changing the input method panel state information of the terminal equipment.
For convenience of understanding, referring to fig. 2a and 2b, fig. 2a and 2b are schematic diagrams illustrating a display state control of an input method panel disclosed in an embodiment of the present application, when the motion state information of the terminal device satisfies a first preset condition, an input method panel is originally displayed but an input area is not displayed on a touch screen of the terminal device (specifically, as shown in fig. 2 a), and the display state of the input method panel is controlled by using this embodiment, and the input method panel is not displayed on the touch screen of the terminal device (specifically, as shown in fig. 2 b).
As another possible implementation manner, controlling the display state of the input method panel based on the input area state information of the terminal device may include: and when the input area state information of the terminal equipment indicates that an input area is displayed in the touch screen of the terminal equipment and the input area has input content, the input method panel is folded, and the input method panel state information of the terminal equipment is changed.
For convenience of understanding, referring to fig. 3a and 3b, fig. 3a and 3b are schematic diagrams illustrating another input method panel display state control disclosed in an embodiment of the present application, when the motion state information of the terminal device satisfies a first preset condition, an input method panel is originally displayed on a touch screen of the terminal device and an input area is displayed on the touch screen of the terminal device, and the input area has input content (specifically, as shown in fig. 3 a), and the display state of the input method panel is controlled by using this embodiment, so that the input method panel (specifically, as shown in fig. 3 b) will not be displayed on the touch screen of the terminal device.
As still another possible implementation, controlling the display state of the input method panel based on the input area state information of the terminal device may include: when the input area state information of the terminal equipment indicates that a plurality of input areas are displayed in the touch screen of the terminal equipment and at least one input area has input content, the input method panel is folded, and the input method panel state information of the terminal equipment is changed.
For convenience of understanding, referring to fig. 4a and 4b, fig. 4a and 4b are schematic diagrams illustrating another input method panel display state control disclosed in an embodiment of the present application, when the motion state information of the terminal device satisfies a first preset condition, an input method panel is originally displayed on a touch screen of the terminal device and two input regions are displayed, and both the two input regions have input contents (specifically, as shown in fig. 4 a), and the display state of the input method panel is controlled by using this embodiment, and the input method panel is not displayed on the touch screen of the terminal device (specifically, as shown in fig. 4 b).
Based on this embodiment, when the input method panel shows in terminal equipment's touch-sensitive screen, if user's input is accomplished, only need rock terminal equipment, can pack up the input method panel, be convenient for look over the complete page or more contents that show in terminal equipment's touch-sensitive screen.
In another embodiment of the present application, another implementation manner of controlling a display state of an input method panel based on the input method panel state information of the terminal device is described in detail, which is specifically as follows:
and when the input method panel state information of the terminal equipment indicates that the input method panel is not displayed in the touch screen of the terminal equipment, displaying the input method panel in the touch screen of the terminal equipment, and changing the input method panel state information of the terminal equipment.
The changed input method panel state information of the terminal device indicates that the input method panel is displayed on the touch screen of the terminal device.
Based on this embodiment, when the input method panel is not displayed in the touch screen of the terminal device, the user only needs to shake the terminal device, and then the input method panel can be called out, so that the input is facilitated. For example, when a user chats in a face-to-face manner in a multi-user environment, the user wants to chat for a specific object and does not want other people to know, the user can directly shake the mobile phone and input the mobile phone, then the user can watch the specific object, and then the user shakes the mobile phone to retract the mobile phone, so that the user does not need to know what page is currently.
In another embodiment of the present application, another implementation manner of controlling a display state of an input method panel based on the input method panel state information of the terminal device is described in detail, which is specifically as follows:
when the input method panel state information of the terminal equipment indicates that the input method panel is not displayed in the touch screen of the terminal equipment, acquiring input area state information of the terminal equipment, wherein the input area state information of the terminal equipment is used for indicating the display state of an input area in the touch screen of the terminal equipment;
and when the input area state information of the terminal equipment indicates that an input area is displayed in the touch screen of the terminal equipment, displaying the input method panel in the touch screen of the terminal equipment, and changing the input method panel state information of the terminal equipment.
As an implementable manner, when the input area state information of the terminal device indicates that one input area is displayed in the touch screen of the terminal device, the method further comprises: automatically positioning an input cursor to the input area.
For convenience of understanding, referring to fig. 5a and 5b, fig. 5a and 5b are schematic diagrams illustrating another input method panel display state control disclosed in an embodiment of the present application, when the motion state information of the terminal device satisfies a first preset condition, an input method panel is not displayed in a touch screen of the terminal device, but an input area is displayed (specifically, as shown in fig. 5 a), the display state of the input method panel is controlled by using the present embodiment, the input method panel is displayed in the touch screen of the terminal device, and an input cursor is positioned in the input area (specifically, as shown in fig. 5 b).
It should be noted that, after the input method panel is displayed on the display screen of the terminal device and the state information of the input method panel of the terminal device is changed, the input cursor may be automatically positioned in the input area. The input method panel can also be displayed in the display screen of the terminal equipment, and the input cursor can be automatically positioned to the input area before the state information of the input method panel of the terminal equipment is changed. The time of the input method panel can be displayed in the display screen of the terminal equipment, and an input cursor is automatically positioned to the input area.
Based on the embodiment, when the input method panel is not displayed in the touch screen of the terminal equipment, if the user needs to input, the user only needs to shake the terminal equipment, and the input method panel can be automatically displayed and positioned to the input area.
As an implementable manner, when the input area state information of the terminal device indicates that a plurality of input areas are displayed in the touch screen of the terminal device, the method further comprises:
automatically positioning an input cursor to a first input area;
acquiring motion state information of the terminal equipment;
and when the motion state information of the terminal equipment meets a second preset condition, automatically positioning the input cursor to a second input area.
For convenience of understanding, referring to fig. 6a, fig. 6b, and fig. 6c, fig. 6a, fig. 6b, and fig. 6c are schematic diagrams illustrating another input method panel display state control disclosed in an embodiment of the present application, when the motion state information of the terminal device satisfies a first preset condition, an input method panel is not displayed in a touch screen of the terminal device, but two input regions (specifically, as shown in fig. 6 a) are displayed, and when the motion state information of the terminal device satisfies the first preset condition, the display state of the input method panel is controlled by using this embodiment, the input method panel is displayed on the touch screen of the terminal device, and an input cursor is positioned in the first input region (specifically, as shown in fig. 6 b), the motion state information of the terminal device is obtained again, and when the motion state information of the terminal device satisfies a second preset condition, the input cursor is automatically positioned in the second input region (specifically, as shown in fig. 6 c).
It should be noted that, in the present application, the motion state information of the terminal device is obtained at a time after the input cursor is automatically positioned in the first input area, and the second preset condition may be the same as the first preset condition or different from the first preset condition, which is not limited in this application.
Based on this embodiment, when not showing the input method panel in terminal equipment's touch-sensitive screen, the user if need input, only need rock terminal equipment, can automatic display input method panel and fix a position to the input area to when wanting to switch over the input area, need not manual click, only need rock terminal equipment, can realize the input frame and switch.
In another embodiment of the present application, another implementation manner of controlling a display state of an input method panel based on the input method panel state information of the terminal device is described in detail, which specifically includes:
when the input method panel state information of the terminal equipment indicates that the input method panel is displayed in a touch screen of the terminal equipment, acquiring motion state information of the terminal equipment;
and when the motion state information of the terminal equipment meets a third preset condition, controlling the display content of the input method panel.
In this application, the third preset condition indicates that the motion of the terminal device is different from the first preset condition.
The display content of the input method panel indicates different types of input methods, for example, the display content of the input method panel of the pinyin input method and the display content of the input method panel of the stroke input method are different.
For convenience of understanding, referring to fig. 7a and 7b, fig. 7a and 7b are schematic diagrams illustrating control of display contents of an input method panel disclosed in an embodiment of the present application, when motion state information of a terminal device satisfies a first preset condition, a touch screen of the terminal device displays that the input method panel is specifically as shown in fig. 7a, motion state information of the terminal device is obtained again, and when the motion state information of the terminal device satisfies a third preset condition, display contents of the input method panel are changed to be specifically as shown in fig. 7 b.
The following describes an input method panel control device disclosed in an embodiment of the present application, and the input method panel control device described below and the input method panel control method described above may be referred to in correspondence with each other.
Referring to fig. 8, fig. 8 is a schematic structural diagram of an input method panel control device disclosed in the embodiment of the present application. As shown in fig. 8, the input method panel control apparatus may include:
a motion state information obtaining unit 11, configured to obtain motion state information of a terminal device;
the input method panel state information acquiring unit 12 is configured to acquire input method panel state information of the terminal device when the motion state information of the terminal device meets a first preset condition, where the input method panel state information of the terminal device is used to indicate a display state of an input method panel in a touch screen of the terminal device;
and the control unit 13 is used for controlling the display state of the input method panel based on the input method panel state information of the terminal equipment.
As an implementation manner, the first preset condition is used to indicate that the motion of the terminal device is a specific motion.
As an embodiment, the control unit includes: a first control subunit;
the first control subunit is configured to, when the input method panel state information of the terminal device indicates that the input method panel is displayed on the touch screen of the terminal device, pack the input method panel, and change the input method panel state information of the terminal device.
As an embodiment, the control unit includes: a second control subunit;
the second control subunit is configured to, when the input method panel state information of the terminal device indicates that the input method panel is displayed on the touch screen of the terminal device, obtain input area state information of the terminal device, where the input area state information of the terminal device is used to indicate a display state of an input area on the touch screen of the terminal device; and controlling the display state of the input method panel based on the input area state information of the terminal equipment.
As an implementation manner, the second control subunit is specifically configured to:
when the input area state information of the terminal equipment indicates that an input area is not displayed in the touch screen of the terminal equipment, or the input area state information of the terminal equipment indicates that an input area is displayed in the touch screen of the terminal equipment and the input area has input content; or the input area state information of the terminal equipment indicates that a plurality of input areas are displayed in a touch screen of the terminal equipment, and when input contents exist in at least one input area, the input method panel is folded, and the input method panel state information of the terminal equipment is changed.
As an embodiment, the control unit includes: a third control subunit;
and the third control subunit is configured to, when the input method panel state information of the terminal device indicates that the input method panel is not displayed in the touch screen of the terminal device, display the input method panel in the touch screen of the terminal device, and change the input method panel state information of the terminal device.
As an embodiment, the control unit includes: a fourth control subunit;
the fourth control subunit is configured to, when the input method panel state information of the terminal device indicates that the input method panel is not displayed in the touch screen of the terminal device, obtain input area state information of the terminal device, where the input area state information of the terminal device is used to indicate a display state of an input area in the touch screen of the terminal device;
and when the input area state information of the terminal equipment indicates that an input area is displayed in the touch screen of the terminal equipment, displaying the input method panel in the touch screen of the terminal equipment, and changing the input method panel state information of the terminal equipment.
As an implementable manner, when the input area state information of the terminal device indicates that one input area is displayed in the touch screen of the terminal device, the apparatus further includes:
and the first cursor control unit is used for automatically positioning the input cursor to the input area.
As an implementable manner, when the input area state information of the terminal device indicates that a plurality of input areas are displayed in the touch screen of the terminal device, the apparatus further includes:
the second cursor control unit is used for automatically positioning the input cursor to the first input area; acquiring motion state information of the terminal equipment; and when the motion state information of the terminal equipment meets a second preset condition, automatically positioning the input cursor to a second input area.
As an embodiment, the control unit includes: a fifth control subunit;
the fifth control subunit is configured to, when the input method panel state information of the terminal device indicates that the input method panel is displayed in the touch screen of the terminal device, obtain motion state information of the terminal device; and when the motion state information of the terminal equipment meets a third preset condition, controlling the display content of the input method panel.
Referring to fig. 9, fig. 9 is a block diagram of a hardware structure of an input method panel control device provided in an embodiment of the present application, and referring to fig. 9, the hardware structure of the input method panel control device may include: at least one processor 1, at least one communication interface 2, at least one memory 3 and at least one communication bus 4;
in the embodiment of the application, the number of the processor 1, the communication interface 2, the memory 3 and the communication bus 4 is at least one, and the processor 1, the communication interface 2 and the memory 3 complete mutual communication through the communication bus 4;
the processor 1 may be a central processing unit CPU, or an application Specific Integrated circuit asic, or one or more Integrated circuits configured to implement embodiments of the present invention, etc.;
the memory 3 may include a high-speed RAM memory, and may further include a non-volatile memory (non-volatile memory) or the like, such as at least one disk memory;
wherein the memory stores a program and the processor can call the program stored in the memory, the program for:
acquiring motion state information of the terminal equipment;
when the motion state information of the terminal equipment meets a first preset condition, acquiring input method panel state information of the terminal equipment, wherein the input method panel state information of the terminal equipment is used for indicating the display state of an input method panel in a touch screen of the terminal equipment;
and controlling the display state of the input method panel based on the input method panel state information of the terminal equipment.
Alternatively, the detailed function and the extended function of the program may be as described above.
Embodiments of the present application further provide a readable storage medium, where a program suitable for being executed by a processor may be stored, where the program is configured to:
acquiring motion state information of the terminal equipment;
when the motion state information of the terminal equipment meets a first preset condition, acquiring input method panel state information of the terminal equipment, wherein the input method panel state information of the terminal equipment is used for indicating the display state of an input method panel in a touch screen of the terminal equipment;
and controlling the display state of the input method panel based on the input method panel state information of the terminal equipment.
Alternatively, the detailed function and the extended function of the program may be as described above.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (13)

1. An input method panel control method, characterized by comprising:
acquiring motion state information of the terminal equipment;
when the motion state information of the terminal equipment meets a first preset condition, acquiring the input method panel state information of the terminal equipment, wherein the input method panel state information of the terminal equipment is used for indicating the display state of an input method panel in a touch screen of the terminal equipment, and the display state of the input method panel in the touch screen of the terminal equipment comprises the following steps: the input method panel is displayed in the touch screen of the terminal equipment, and the input method panel is not displayed in the touch screen of the terminal equipment;
and controlling the display state of the input method panel based on the input method panel state information of the terminal equipment.
2. The method according to claim 1, wherein the first preset condition is used to indicate that the motion of the terminal device is a specific motion.
3. The method according to claim 1, wherein the controlling the display state of the input method panel based on the input method panel state information of the terminal device comprises:
and when the input method panel state information of the terminal equipment indicates that the input method panel is displayed in the touch screen of the terminal equipment, the input method panel is folded, and the input method panel state information of the terminal equipment is changed.
4. The method of claim 1, wherein the controlling the display state of the input method panel based on the input method panel state information of the terminal device comprises:
when the input method panel state information of the terminal equipment indicates that the input method panel is displayed in the touch screen of the terminal equipment, acquiring input area state information of the terminal equipment, wherein the input area state information of the terminal equipment is used for indicating the display state of an input area in the touch screen of the terminal equipment;
and controlling the display state of the input method panel based on the input area state information of the terminal equipment.
5. The method according to claim 4, wherein the controlling the display state of the input method panel based on the input area state information of the terminal device comprises:
when the input area state information of the terminal equipment indicates that an input area is not displayed in the touch screen of the terminal equipment, or the input area state information of the terminal equipment indicates that an input area is displayed in the touch screen of the terminal equipment and the input area has input content; or the input area state information of the terminal equipment indicates that a plurality of input areas are displayed in a touch screen of the terminal equipment, and when input contents exist in at least one input area, the input method panel is folded, and the input method panel state information of the terminal equipment is changed.
6. The method of claim 1, wherein the controlling the display state of the input method panel based on the input method panel state information of the terminal device comprises:
when the input method panel state information of the terminal equipment indicates that the input method panel is not displayed in the touch screen of the terminal equipment, displaying the input method panel in the touch screen of the terminal equipment, and changing the input method panel state information of the terminal equipment.
7. The method of claim 1, wherein the controlling the display state of the input method panel based on the input method panel state information of the terminal device comprises:
when the input method panel state information of the terminal equipment indicates that the input method panel is not displayed in the touch screen of the terminal equipment, acquiring input area state information of the terminal equipment, wherein the input area state information of the terminal equipment is used for indicating the display state of an input area in the touch screen of the terminal equipment;
and when the input area state information of the terminal equipment indicates that an input area is displayed in the touch screen of the terminal equipment, displaying the input method panel in the touch screen of the terminal equipment, and changing the input method panel state information of the terminal equipment.
8. The method of claim 7, wherein when the input area status information of the terminal device indicates that one input area is displayed in the touch screen of the terminal device, the method further comprises:
automatically positioning an input cursor to the input area.
9. The method according to claim 8, wherein when the input area state information of the terminal device indicates that a plurality of input areas are displayed in the touch screen of the terminal device, the method further comprises:
automatically positioning an input cursor to a first input area;
acquiring motion state information of the terminal equipment;
and when the motion state information of the terminal equipment meets a second preset condition, automatically positioning the input cursor to a second input area.
10. The method of claim 1, wherein the controlling the display state of the input method panel based on the input method panel state information of the terminal device comprises:
when the input method panel state information of the terminal equipment indicates that the input method panel is displayed in a touch screen of the terminal equipment, acquiring motion state information of the terminal equipment;
and when the motion state information of the terminal equipment meets a third preset condition, controlling the display content of the input method panel.
11. An input method panel control apparatus, comprising:
the motion state information acquisition unit is used for acquiring motion state information of the terminal equipment;
the input method panel state information acquiring unit is used for acquiring the input method panel state information of the terminal equipment when the motion state information of the terminal equipment meets a first preset condition, wherein the input method panel state information of the terminal equipment is used for indicating the display state of an input method panel in a touch screen of the terminal equipment, and the display state of the input method panel in the touch screen of the terminal equipment comprises the following steps: the input method panel is displayed in the touch screen of the terminal equipment, and the input method panel is not displayed in the touch screen of the terminal equipment;
and the control unit is used for controlling the display state of the input method panel based on the input method panel state information of the terminal equipment.
12. An input method panel control device is characterized by comprising a memory and a processor;
the memory is used for storing programs;
the processor, configured to execute the program, and implement the steps of the input method panel control method according to any one of claims 1 to 10.
13. A readable storage medium on which a computer program is stored, the computer program, when executed by a processor, implementing the steps of the input method panel control method according to any one of claims 1 to 10.
CN202210526006.7A 2022-05-16 2022-05-16 Input method panel control method, related equipment and readable storage medium Active CN114661197B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210526006.7A CN114661197B (en) 2022-05-16 2022-05-16 Input method panel control method, related equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210526006.7A CN114661197B (en) 2022-05-16 2022-05-16 Input method panel control method, related equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN114661197A true CN114661197A (en) 2022-06-24
CN114661197B CN114661197B (en) 2022-10-04

Family

ID=82037819

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210526006.7A Active CN114661197B (en) 2022-05-16 2022-05-16 Input method panel control method, related equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN114661197B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100309512A1 (en) * 2009-06-09 2010-12-09 Atsushi Onoda Display control apparatus and information processing system
US20120038668A1 (en) * 2010-08-16 2012-02-16 Lg Electronics Inc. Method for display information and mobile terminal using the same
CN103813019A (en) * 2014-03-03 2014-05-21 宇龙计算机通信科技(深圳)有限公司 Method and device for adjusting input interface
CN105159549A (en) * 2015-05-29 2015-12-16 努比亚技术有限公司 Zoom-in display method of virtual keyboard and mobile terminal
CN105242825A (en) * 2015-09-09 2016-01-13 北京新美互通科技有限公司 Terminal control method and apparatus
CN106547367A (en) * 2016-10-31 2017-03-29 努比亚技术有限公司 A kind of input method control device and method
US20170322722A1 (en) * 2014-12-02 2017-11-09 Nes Stewart Irvine Touch Display Control Method
US20170351397A1 (en) * 2016-06-07 2017-12-07 Lg Electronics Inc. Mobile terminal and method for controlling the same
CN107526451A (en) * 2017-09-04 2017-12-29 惠州Tcl移动通信有限公司 Control method, storage medium and the mobile terminal of mobile terminal input method soft keyboard
CN112083841A (en) * 2020-08-19 2020-12-15 北京小米移动软件有限公司 Information input method, device and storage medium
CN112181166A (en) * 2020-10-27 2021-01-05 维沃移动通信有限公司 Input method soft keyboard display method and device
CN112558829A (en) * 2020-12-07 2021-03-26 维沃移动通信有限公司 Input method display method and device and electronic equipment
CN112882784A (en) * 2021-02-09 2021-06-01 北京小米移动软件有限公司 Application interface display method and device, intelligent equipment and medium

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100309512A1 (en) * 2009-06-09 2010-12-09 Atsushi Onoda Display control apparatus and information processing system
US20120038668A1 (en) * 2010-08-16 2012-02-16 Lg Electronics Inc. Method for display information and mobile terminal using the same
CN102377873A (en) * 2010-08-16 2012-03-14 Lg电子株式会社 Method and displaying information and mobile terminal using the same
CN103813019A (en) * 2014-03-03 2014-05-21 宇龙计算机通信科技(深圳)有限公司 Method and device for adjusting input interface
US20170322722A1 (en) * 2014-12-02 2017-11-09 Nes Stewart Irvine Touch Display Control Method
CN105159549A (en) * 2015-05-29 2015-12-16 努比亚技术有限公司 Zoom-in display method of virtual keyboard and mobile terminal
CN105242825A (en) * 2015-09-09 2016-01-13 北京新美互通科技有限公司 Terminal control method and apparatus
US20170351397A1 (en) * 2016-06-07 2017-12-07 Lg Electronics Inc. Mobile terminal and method for controlling the same
CN106547367A (en) * 2016-10-31 2017-03-29 努比亚技术有限公司 A kind of input method control device and method
CN107526451A (en) * 2017-09-04 2017-12-29 惠州Tcl移动通信有限公司 Control method, storage medium and the mobile terminal of mobile terminal input method soft keyboard
CN112083841A (en) * 2020-08-19 2020-12-15 北京小米移动软件有限公司 Information input method, device and storage medium
CN112181166A (en) * 2020-10-27 2021-01-05 维沃移动通信有限公司 Input method soft keyboard display method and device
CN112558829A (en) * 2020-12-07 2021-03-26 维沃移动通信有限公司 Input method display method and device and electronic equipment
CN112882784A (en) * 2021-02-09 2021-06-01 北京小米移动软件有限公司 Application interface display method and device, intelligent equipment and medium

Also Published As

Publication number Publication date
CN114661197B (en) 2022-10-04

Similar Documents

Publication Publication Date Title
US20220155930A1 (en) Multiple selection on devices with many gestures
JP7223081B2 (en) User interface for manipulating user interface objects
EP2577438B1 (en) User interface with z-axis interaction
US9696809B2 (en) Scrolling and zooming of a portable device display with device motion
EP2399187B1 (en) Method and apparatus for causing display of a cursor
CN107179865B (en) Page switching method and terminal
KR100790078B1 (en) Apparatus and method for fast access to applications in mobile communication terminal
KR101733839B1 (en) Managing workspaces in a user interface
US7406661B2 (en) Graphical user interface and method and electronic device for navigating in the graphical user interface
US20110316888A1 (en) Mobile device user interface combining input from motion sensors and other controls
WO2009084809A1 (en) Apparatus and method for controlling screen by using touch screen
US20200133475A1 (en) Control method, electronic device and non-transitory computer readable recording medium device
US20150062183A1 (en) Method of adjusting screen magnification of electronic device, machine-readable storage medium, and electronic device
CN112214138B (en) Method for displaying graphical user interface based on gestures and electronic equipment
KR20150095540A (en) User terminal device and method for displaying thereof
EP2860618B1 (en) Display device, display method, and program
US9256358B2 (en) Multiple panel touch user interface navigation
JP6219426B2 (en) Method for changing use mode of portable electronic device, portable electronic device, and computer program
JP2011252970A (en) Image display apparatus, image display method, and image display program
CN114661197B (en) Input method panel control method, related equipment and readable storage medium
KR101920864B1 (en) Method and terminal for displaying of image using touchscreen
JP2012084058A (en) Content display magnification changing method, content display magnification changing program and content display magnification changing device
JP5756682B2 (en) Information processing device
KR20130031394A (en) Methode for adjusting image of touch screen
US20090207261A1 (en) Electronic device and method for operating an electronic device

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