CN112181166A - Input method soft keyboard display method and device - Google Patents

Input method soft keyboard display method and device Download PDF

Info

Publication number
CN112181166A
CN112181166A CN202011165344.XA CN202011165344A CN112181166A CN 112181166 A CN112181166 A CN 112181166A CN 202011165344 A CN202011165344 A CN 202011165344A CN 112181166 A CN112181166 A CN 112181166A
Authority
CN
China
Prior art keywords
screen
input
soft keyboard
screen area
information
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.)
Pending
Application number
CN202011165344.XA
Other languages
Chinese (zh)
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011165344.XA priority Critical patent/CN112181166A/en
Publication of CN112181166A publication Critical patent/CN112181166A/en
Pending legal-status Critical Current

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/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
    • 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

Abstract

The application discloses a method and a device for displaying a soft keyboard of an input method, belongs to the technical field of communication, and can solve the problem that the efficiency of operation of a user on the soft keyboard is low. The method comprises the following steps: in the case of a screen display input method soft keyboard of an electronic device, receiving a first input of a user, wherein the first input is input of the user to a target screen area, and the target screen area comprises at least one of the following items: a first screen region and a second screen region; in response to the first input, adjusting display information of the input method soft keyboard in a screen of the electronic equipment according to the target screen area and target information, wherein the target information comprises at least one of the following items: state information and change information, the state information indicating an initial state situation of a screen of the electronic device, the initial state situation including: the unfolding state or the folding state, and the change information is used for indicating the angle change condition between the first screen area and the second screen area.

Description

Input method soft keyboard display method and device
Technical Field
The application belongs to the technical field of communication, and particularly relates to a method and a device for displaying a soft keyboard of an input method.
Background
At present, with the development of a full-screen of an electronic device (e.g., a mobile phone), a screen of the mobile phone is larger and larger, contents displayed on the screen are more and more, and an effect of displaying the contents to a user is better. However, the large screen displays more content, and meanwhile, may also cause a certain trouble to the operation experience of the user, for example, when the user is holding the mobile phone, if the user is using a soft keyboard of the mobile phone, since the finger of the user may not touch the far-end region of the screen (i.e., the screen region far away from the finger of the user), the user may not perform corresponding operations on the characters of the soft keyboard at the far-end region of the screen in time, and thus the efficiency of the operation on the soft keyboard is low, and the user experience is poor.
Disclosure of Invention
The embodiment of the application aims to provide a method and a device for displaying a soft keyboard of an input method, which can solve the problem of low efficiency of operation of a user on the soft keyboard.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides an input method soft keyboard display method, which is applied to an electronic device, a screen of the electronic device includes a first screen area and a second screen area, and the input method soft keyboard display method includes: in the case of a screen display input method soft keyboard of an electronic device, receiving a first input of a user, wherein the first input is input of the user to a target screen, and the target screen comprises at least one of the following items: a first screen region and a second screen region; in response to the first input, adjusting display information of the input method soft keyboard in a screen of the electronic equipment according to the target screen area and target information, wherein the target information comprises at least one of the following items: state information and change information, the state information indicating an initial state situation of a screen of the electronic device, the initial state situation including: the unfolding state or the folding state, and the change information is used for indicating the angle change condition between the first screen area and the second screen area.
In a second aspect, an embodiment of the present application provides an input method soft keyboard display device, including: the device comprises a receiving module and an adjusting module. The receiving module is used for receiving a first input of a user under the condition that a screen of the electronic equipment displays an input method soft keyboard; the screen of the electronic equipment comprises a first screen area and a second screen area, the first input is input of a target screen area by a user, and the target screen area comprises at least one of the following items: a first screen region and a second screen region. The adjusting module is used for responding to the first input received by the receiving module, and adjusting display information of the input method soft keyboard in the screen according to the target screen area and the target information, wherein the target information comprises at least one of the following items: state information and change information, the state information indicating an initial state situation of a screen of the electronic device, the initial state situation including: the unfolding state or the folding state, and the change information is used for indicating the angle change condition between the first screen area and the second screen area.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, for the input method soft keyboard, a user can perform first input on a target screen area of a screen of the electronic device, so that the electronic device can adjust display information of the input method soft keyboard in the screen of the electronic device according to the target screen area and target information (state information of the screen and/or change information of a screen angle). The user can perform first input on the corresponding screen area (namely the first screen area and/or the first screen area) according to the use requirement, so that the electronic device can adjust the display information of the input method soft keyboard currently displayed on the screen, namely, the layout of the input method soft keyboard in the screen is quickly adjusted through the folding characteristic of the screen of the electronic device, and therefore the user can operate the input method soft keyboard in time, and the operation efficiency of the input method soft keyboard is improved.
Drawings
Fig. 1 is a schematic diagram of a soft keyboard display method of an input method according to an embodiment of the present application;
fig. 2 is one of schematic diagrams of an example of an interface of a mobile phone according to an embodiment of the present disclosure;
fig. 3 is a second schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present disclosure;
fig. 4 is a third schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present disclosure;
fig. 5 is a fourth schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an input method soft keyboard display device according to an embodiment of the present application;
fig. 7 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present disclosure;
fig. 8 is a second schematic diagram of a hardware structure of an electronic device according to an embodiment of the present disclosure.
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 some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The input method soft keyboard display method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
The embodiment of the application provides a dynamic adjustment scheme of an input method soft keyboard based on a folding screen, which utilizes the folding characteristic of the folding screen to quickly and flexibly adjust the layout of the input method soft keyboard in a screen of electronic equipment, so that a user can conveniently perform corresponding operations on characters in the input method soft keyboard, and the character input efficiency is improved.
It should be noted that the electronic device in the embodiment of the present application is a foldable electronic device. The foldable electronic equipment is the foldable electronic equipment which can change the size and the number of the display screens in a folding and/or unfolding mode according to the requirements of users. Specifically, the foldable electronic device may be a foldable electronic device formed by a plurality of electronic devices in a hinged manner, or may be a foldable electronic device including a foldable display screen, which is not limited in this embodiment of the present application.
Generally, the screen state of the foldable electronic device includes two states, i.e., an unfolded state and a folded state (or a folded state). When the included angle between all two adjacent display screens in the foldable electronic device is greater than or equal to a preset threshold (for example, the included angle between two adjacent display screens is greater than 150 °), the screen state of the foldable electronic device is considered to be an unfolded state; when the included angle between any two adjacent display screens in the foldable electronic device is smaller than a preset threshold (e.g., the included angle between two adjacent display screens is smaller than 150 °), the screen state of the foldable electronic device is considered to be a folded state. That is, the electronic device may determine the screen state of the electronic device by determining a relationship between an included angle between two adjacent display screens in the foldable electronic device and a preset threshold. When the screen state of the foldable electronic device is the folded state, the folded state further includes two states, namely, a folded display state and a folded standby state.
When the included angle between any two adjacent display screens of the foldable electronic device in the folded state is greater than or equal to a preset folding display angle (for example, the included angle between two adjacent display screens is greater than 30 °), the screen state of the foldable electronic device is considered to be the folding display state, and at this time, the foldable electronic device is in the display state; when the included angle between any two adjacent display screens of the foldable electronic device in the folded state is smaller than a preset folding standby angle (e.g., the included angle between two adjacent display screens is smaller than 30 °), the screen state of the foldable electronic device is considered to be the folding standby state, and at this time, the foldable display screen is in the standby state.
Illustratively, the foldable display screen is a display screen which can be folded and/or unfolded to change the size and number of the display screens according to the needs of users, that is, the foldable display screen includes at least two display screens. Illustratively, the foldable display screen may be a flexible screen or a combined foldable screen composed of a plurality of display screens. Wherein, the flexible screen is a screen which can be bent and folded.
The following embodiments are merely examples of how a screen of an electronic device can be folded into two screen regions (e.g., a first screen region and a second screen region), and the method for displaying an input method software keyboard provided in the embodiments of the present application is described in an illustrative manner, for example, the embodiments of the present application are merely illustrative and not restrictive, and the present application is not limited to the following embodiments, and those skilled in the art can make many forms without departing from the spirit and scope of the present application.
An embodiment of the present application provides a method for displaying a soft keyboard of an input method, and fig. 1 shows a flowchart of the method for displaying a soft keyboard of an input method provided in the embodiment of the present application. As shown in fig. 1, the input method software keyboard display method provided in the embodiment of the present application may include steps 201 and 202 described below.
Step 201, under the condition that the screen of the electronic device displays an input method soft keyboard, the electronic device receives a first input of a user.
In the embodiment of the application, the screen of the electronic device is a foldable screen, and the screen comprises a first screen area and a second screen area. The first input is input by a user to a target screen area, and the target screen area includes at least one of the following items: a first screen region and a second screen region.
It should be noted that the first screen area and the second screen area are two display areas in a screen of the electronic device, that is, the first screen area and the second screen area are different areas in the same screen.
In the embodiment of the application, under the condition that the screen of the electronic device is in the expanded state, the user can open the input method soft keyboard in the electronic device to trigger the electronic device to display the input method soft keyboard at the initial position of the screen, that is, the input method soft keyboard is in the initial state.
In the embodiment of the application, under the condition that the screen of the electronic equipment is in an expanded state and the input method soft keyboard is displayed, a user can adjust the display information of the input method soft keyboard through first input; or, in the case that the user has triggered the electronic device to display the input method soft keyboard at the initial position of the screen and the screen is in the folded state, the user may adjust the display information of the input method soft keyboard through the first input.
Optionally, in this embodiment of the application, when the screen of the electronic device is in a landscape state, the user may trigger the electronic device to adjust the display information of the input method soft keyboard through the first input.
Optionally, in this embodiment of the application, the first input may be a folding input or an unfolding input of the target screen area by the user.
Optionally, in this embodiment of the application, the first input is specifically a folding input or an unfolding input of the target screen area by the user based on a central axis of a screen of the electronic device; the first screen area and the second screen area are screen areas located on two sides of the central axis.
Optionally, in this embodiment of the application, when the input method soft keyboard is in the initial state, the lateral direction of the input method soft keyboard is perpendicular to the central axis of the screen of the electronic device.
The electronic device is taken as a mobile phone for illustration. As shown in fig. 2, the screen of the mobile phone displays an input method soft keyboard, the input method soft keyboard is in an initial state, and a transverse direction of the input method soft keyboard is perpendicular to a central axis 10 of the screen of the mobile phone.
Step 202, the electronic device responds to the first input, and adjusts display information of the input method soft keyboard in a screen of the electronic device according to the target screen area and the target information.
In an embodiment of the present application, the target information includes at least one of: status information and change information. Wherein the state information is used for indicating an initial state condition of a screen of the electronic device, and the initial state condition comprises: the display device comprises a first screen area, a second screen area, a display area and a display area, wherein the display area is in an unfolded state or a folded state, and the change information is used for indicating the angle change condition between the first screen area and the second screen area.
In the embodiment of the application, when at least one of the screen area, the screen state and the screen angle change input by the user is different, the display information of the soft keyboard of the electronic equipment for adjusting the input method is also different.
Optionally, in this embodiment of the present application, an initial state of a screen of the electronic device is an expanded state, and the first input is a folding input of the user to the target screen area; or, the initial state of the screen of the electronic device is a folded state, and the first input is a user expansion input to the target screen area.
Optionally, in this embodiment of the application, for a case that the screen of the electronic device is in the expanded state, the angle change manner of the screen of the electronic device may include at least one of the following:
folding angle change 1: folding screen areas (namely a first screen area and a second screen area) on two sides of a central axis of the screen at a certain angle value (for example, 15 degrees);
folding angle change 2: the screen (for example, the first screen area) on the left side of the central axis of the screen is folded by a certain angle value (for example, 15 degrees);
folding angle change 3: the screen (e.g., the second screen area) to the right of the central axis of the screen is folded by a certain angle value (e.g., 15 degrees);
folding angle change 4: the screen areas on two sides of the central axis of the screen are folded by 180 degrees, namely, the screen areas are in a folded state.
Optionally, in this embodiment of the application, for a case that the screen of the electronic device is in a folded state, an angle change manner of the screen of the electronic device may include at least one of:
folding angle change 5: the screen areas on two sides of the central axis of the screen are unfolded at the same time by a certain angle value (for example, 15 degrees);
folding angle change 6: the two sides of the central axis of the screen are unfolded by 180 degrees, namely, the unfolded state.
Optionally, in an embodiment of the present application, the display information includes at least one of the following: display position information, display size information, and display mode information.
Optionally, in this embodiment of the application, adjusting a display manner of the input method soft keyboard in the screen of the electronic device may include at least one of: the method comprises the steps of splitting an input method soft keyboard for display, displaying only part of soft keyboard characters in the input method soft keyboard, reordering the soft keyboard characters in the input method soft keyboard, and the like.
Optionally, in an implementation manner of the embodiment of the present application, the target information at least includes change information. The step 202 can be specifically realized by the step 202a described below.
Step 202a, in response to the first input, the electronic device splits and displays the input method soft keyboard if the change information satisfies a first condition under the condition that the target screen area includes the first screen area and the second screen area.
In an embodiment of the present application, the first condition is: the angle value between the first screen area and the second screen area is changed from an initial angle value to a first angle value, and is restored from the first angle value to the initial angle value within a preset time period.
In the embodiment of the application, under the condition that the change information meets the first condition, the electronic device can split the input method soft keyboard to obtain two parts of soft keyboards, and then the two parts of soft keyboards are respectively displayed in the first screen area and the second screen area.
It should be noted that the first angle value may be a preset angle value, or a value within a preset angle range.
Optionally, in this embodiment of the application, the target information further includes state information. When the screen of the electronic device is in the unfolded state, the input method soft keyboard is in the initial state, if the electronic device detects that the screen has changed a certain angle (the folding angle changes 1) within a certain period of time, that is, the first screen area and the second screen area are folded at the same time by a certain angle (the first angle value), and then the electronic device returns to the unfolded state, the input method soft keyboard can be split into two parts of soft keyboards by the electronic device, and the two parts of soft keyboards are respectively displayed in the screen areas at two sides (one screen area displays one part of the soft keyboard).
Optionally, in this embodiment of the present application, in this case (i.e., the screen is in the unfolded state, and the input method soft keyboard is split into the two-part soft keyboard), the user may trigger the electronic device to perform the folding angle change 1 again, and then return to the unfolded state of the screen, so that the input method soft keyboard is switched back to the initial state (i.e., the two-part soft keyboard is merged into one input method soft keyboard and is displayed in the initial position (e.g., the middle position) in the screen).
Optionally, in this embodiment of the application, the target information further includes state information. When the screen of the electronic device is in the folded state, the input method soft keyboard is in the initial state, if the electronic device detects that the screen has changed a certain angle (the folding angle changes 5) within a certain period of time, that is, the first screen area and the second screen area are simultaneously folded by a certain angle (a first angle value), and then the electronic device returns to the folded state, the electronic device can split the input method soft keyboard into two parts of soft keyboards, and the two parts of soft keyboards are respectively displayed in the screen areas on the two sides.
Optionally, in this embodiment of the present application, in this case (i.e., the screen is in the folded state, and the input method soft keyboard is split into two parts of soft keyboards), the user may trigger the electronic device to perform the folding angle change 5 again, and then return to the folded state of the screen, so that the input method soft keyboard is switched back to the initial state (i.e., the two parts of soft keyboards are combined into one input method soft keyboard and displayed at the initial position on the screen).
It should be noted that the screen of the electronic device is in a different state (an unfolded state or a folded state), and the initial state (e.g., the initial position) of the input method software keyboard in the screen is different.
Optionally, in this embodiment of the application, the electronic device may split the input method soft keyboard based on the central axis of the screen to obtain two portions of soft keyboards, where the number of characters included in each portion of soft keyboard is the same or different.
For example, referring to fig. 2, as shown in fig. 3, after a user performs a first input on the screens on both sides of the central axis 10 of the screen of the mobile phone, the mobile phone may split the input method soft keyboard to obtain two parts of soft keyboards, and display the two parts of soft keyboards on the screens on both sides of the central axis 10.
Optionally, in this embodiment of the application, after the electronic device splits the input method soft keyboard, the two portions of soft keyboard may be reduced by a certain ratio, and then the two portions of soft keyboard are displayed in different screen areas. The step 202a of splitting and displaying the input method software keyboard may be specifically implemented by the step 202a1 described below.
Step 202a1, the electronic device splits the input method soft keyboard into two parts of soft keyboards, and performs size reduction processing on the two parts of soft keyboards respectively, so as to display the two parts of soft keyboards after size reduction processing in the first screen area and the second screen area respectively.
Optionally, in this embodiment of the application, the electronic device may respectively perform size reduction processing on the two portions of the soft keyboard according to a preset size ratio; or, the electronic device may perform size reduction processing on the two portions of the soft keyboard respectively according to different preset size proportions.
In the embodiment of the application, the electronic device can display one soft keyboard part in the two-part soft keyboard in the first screen area and display the other soft keyboard part in the two-part soft keyboard in the second screen area.
In the embodiment of the application, the electronic equipment can split the input method soft keyboard according to the input of the user, so that the two split soft keyboards are respectively displayed in the two screen areas, and the user can rapidly and flexibly operate the input method soft keyboard when holding the electronic equipment by hands.
Optionally, in this embodiment of the application, after the step 202a or the step 202a1, the input method software keyboard display method provided in this embodiment of the application further includes the following step 301 and step 302.
Step 301, the electronic device receives a second input from the user.
In this embodiment of the application, the second input is input by a user to a target portion soft keyboard, and the target portion soft keyboard is any soft keyboard portion of two split soft keyboards.
Optionally, in this embodiment of the application, the second input may be a drag input performed by a user on any soft keyboard portion, so as to adjust parameters such as a display size and a display position of the soft keyboard portion.
And step 302, the electronic equipment responds to the second input and adjusts the display information of the target portion soft keyboard.
In the embodiment of the application, the user can perform second input on the two-part soft keyboard obtained after splitting according to actual use requirements, so that the electronic equipment changes the display information of the two-part soft keyboard, and the user can conveniently and flexibly operate the input method soft keyboard.
Optionally, in another implementation manner of the embodiment of the present application, the target information at least includes change information. The step 202 can be specifically realized by the step 202b described below.
Step 202b, in response to the first input, if the target screen area includes the first screen area and the second screen area, and if the change information satisfies the second condition, the electronic device performs initialization processing on the display information of the input method soft keyboard to display the input method soft keyboard at an initial position in the screen of the electronic device.
In an embodiment of the present application, the second condition is: the angle value between the first screen region and the second screen region changes from the initial angle value to a second angle value.
It should be noted that the second angle value may be a preset angle value, or a value within a preset angle range.
Optionally, in this embodiment of the application, the target information further includes state information. When the screen of the electronic device is in the unfolded state, the input method soft keyboard is in the initial state (i.e., the initial state of the input method soft keyboard in the unfolded state), and if the electronic device detects that the screen has changed by a certain angle within a certain period of time (the folding angle change 4 described above), that is, the screen of the electronic device changes from the unfolded state to the folded state, the electronic device may adjust the input method soft keyboard to the initial state (i.e., the initial state of the input method soft keyboard in the folded state).
Optionally, in this embodiment of the application, the target information further includes state information. When the screen of the electronic device is in the folded state, the input method soft keyboard is in the initial state (i.e., the initial state of the input method soft keyboard in the folded state), and if the electronic device detects that the screen has changed by a certain angle within a certain period of time (the folding angle change 6 described above), that is, the screen of the electronic device changes from the folded state to the unfolded state, the electronic device may adjust the input method soft keyboard to the initial state (i.e., the initial state of the input method soft keyboard in the unfolded state).
Optionally, in another implementation manner of the embodiment of the present application, the target information includes state information and change information. The step 202 can be specifically realized by the step 202c described below.
Step 202c, in response to the first input, if the initial state of the screen of the electronic device is the expanded state and the target screen area includes the first screen area or the second screen area, and the change information satisfies the first condition, the electronic device performs a scaling process (i.e., a size reduction or a size enlargement) on the input method soft keyboard, and displays the scaled input method soft keyboard in the first screen area or the second screen area.
In an embodiment of the present application, the first condition is: the angle value between the first screen area and the second screen area is changed from an initial angle value to a first angle value, and is restored from the first angle value to the initial angle value within a preset time period.
Optionally, in this embodiment of the application, when the screen of the electronic device is in the expanded state, the input method soft keyboard is in the initial state, and if the electronic device detects that the screen has undergone a certain angle change (the folding angle change 2) within a certain period of time, that is, the first screen region (the left screen region of the central axis) is folded by a certain angle (that is, the first angle value), and then returns to the expanded state, the electronic device may reduce the display size of the input method soft keyboard, and display the reduced input method soft keyboard in the second screen region (the right screen region of the central axis).
For example, referring to fig. 2, as shown in fig. 4, after the user performs a first input on the left screen area of the central axis 10 of the screen of the mobile phone, the mobile phone may reduce the display size of the input method soft keyboard, and display the reduced input method soft keyboard on the right screen area of the central axis.
Optionally, in this embodiment of the present application, in this case (i.e., the screen is in the unfolded state, and the input method soft keyboard is located in the second screen area), the user may trigger the electronic device to perform the folding angle change 2 again, and then return to the unfolded state of the screen, so that the input method soft keyboard is switched back to the initial state (i.e., the size of the input method soft keyboard is returned to the initial size, and the initial position displayed in the screen).
Optionally, in this embodiment of the application, when the screen of the electronic device is in the expanded state, the input method soft keyboard is in the initial state, and if the electronic device detects that the screen has undergone a certain angle change (the folding angle change 3) within a certain period of time, that is, the second screen area (the right screen area of the central axis) is folded by a certain angle (that is, the first angle value), and then returns to the expanded state, the electronic device may reduce the display size of the input method soft keyboard, and display the reduced input method soft keyboard in the first screen area (the left screen area of the central axis).
For example, referring to fig. 2, as shown in fig. 5, after the user performs a first input on the right screen area of the central axis 10 of the screen of the mobile phone, the mobile phone may reduce the display size of the input method soft keyboard, and display the reduced input method soft keyboard on the left screen area of the central axis.
Optionally, in this embodiment of the present application, in this case (i.e., the screen is in the unfolded state, and the input method soft keyboard is located in the first screen area), the user may trigger the electronic device to perform the folding angle change 3 again, and then return to the unfolded state of the screen, so that the input method soft keyboard is switched back to the initial state (i.e., the size of the input method soft keyboard is returned to the initial size, and the initial position displayed in the screen).
In the embodiment of the application, a user can perform first input on the first screen area or the second screen area according to actual use requirements, so that the reduced input soft keyboard is displayed in the corresponding screen area by the electronic equipment, and the user can operate the input method soft keyboard quickly and flexibly when operating the electronic equipment with one hand.
The embodiment of the application provides an input method soft keyboard display method, and aiming at an input method soft keyboard, a user can perform first input on a target screen area of a screen of an electronic device, so that the electronic device can adjust display information of the input method soft keyboard in the screen of the electronic device according to the target screen area and target information (state information of the screen and/or change information of a screen angle). The user can perform first input on the corresponding screen area (namely the first screen area and/or the first screen area) according to the use requirement, so that the electronic device can adjust the display information of the input method soft keyboard currently displayed on the screen, namely, the layout of the input method soft keyboard in the screen is quickly adjusted through the folding characteristic of the screen of the electronic device, and therefore the user can operate the input method soft keyboard in time, and the operation efficiency of the input method soft keyboard is improved.
It should be noted that, in the input method soft keyboard display method provided in the embodiment of the present application, the execution main body may be an input method soft keyboard display device, or a control module used for executing the input method soft keyboard display method in the input method soft keyboard display device. In the embodiment of the present application, a method for executing display of an input method soft keyboard by using an input method soft keyboard display device is taken as an example, and the device for displaying an input method soft keyboard provided in the embodiment of the present application is described.
Fig. 6 shows a schematic diagram of a possible structure of the input method soft keyboard display device according to the embodiment of the present application. As shown in fig. 6, the input method software keyboard display device 60 may include: a receiving module 61 and an adjusting module 62.
The receiving module 61 is configured to receive a first input of a user when the screen of the electronic device displays an input method soft keyboard; the screen of the electronic equipment comprises a first screen area and a second screen area, the first input is input of a target screen area by a user, and the target screen area comprises at least one of the following items: a first screen region and a second screen region. An adjusting module 62, configured to adjust display information of the input method software keyboard in the screen of the electronic device according to the target screen area and target information in response to the first input received by the receiving module 61, where the target information includes at least one of: state information and change information, the state information indicating an initial state situation of a screen of the electronic device, the initial state situation including: the unfolding state or the folding state, and the change information is used for indicating the angle change condition between the first screen area and the second screen area.
In a possible implementation manner, the initial state of the screen of the electronic device is an expanded state, and the first input is a folding input of the user to the target screen area; or, the initial state of the screen of the electronic device is a folded state, and the first input is a user expansion input to the target screen area. The display information includes at least one of: display position information, display size information, and display mode information.
In a possible implementation manner, the target information at least includes change information. The adjusting module 62 is specifically configured to split and display the input method soft keyboard if the change information meets a first condition under the condition that the target screen area includes the first screen area and the second screen area. Wherein the first condition is: the angle value between the first screen area and the second screen area is changed from an initial angle value to a first angle value, and is restored from the first angle value to the initial angle value within a preset time period.
In a possible implementation manner, the adjusting module 62 is specifically configured to split the input method soft keyboard into two soft keyboards, and perform size reduction processing on the two soft keyboards respectively, so as to display the two soft keyboards after size reduction processing in the first screen area and the second screen area respectively.
In a possible implementation manner, the receiving module 61 is further configured to receive a second input of the user after the adjusting module 62 splits and displays the input method soft keyboard, where the second input is an input of the user to a target portion soft keyboard, and the target portion soft keyboard is any soft keyboard portion in a two-portion soft keyboard obtained after splitting. The adjusting module 62 is further configured to adjust the display information of the target portion software keyboard in response to the second input received by the receiving module 61.
In a possible implementation manner, the target information at least includes change information. The adjusting module 62 is specifically configured to, when the target screen area includes a first screen area and a second screen area, perform initialization processing on the display information of the input method soft keyboard if the change information satisfies a second condition, so as to display the input method soft keyboard at an initial position in the screen of the electronic device. Wherein the second condition is: the angle value between the first screen region and the second screen region changes from the initial angle value to a second angle value.
In one possible implementation, the target information includes state information and change information. The adjusting module 62 is specifically configured to, when the initial state of the screen of the electronic device is an expanded state and the target screen area includes the first screen area or the second screen area, perform scaling processing on the input method soft keyboard if the change information satisfies the first condition, and display the scaled input method soft keyboard in the first screen area or the second screen area. Wherein the first condition is: the angle value between the first screen area and the second screen area is changed from an initial angle value to a first angle value, and is restored from the first angle value to the initial angle value within a preset time period.
The embodiment of the application provides an input method soft keyboard display device, because a user can carry out first input to a corresponding screen area (namely, a first screen area and/or a first screen area) according to a use requirement, so that display information of an input method soft keyboard currently displayed on a screen of an electronic device is adjusted, namely, the layout of the input method soft keyboard in the screen is rapidly adjusted through the folding characteristic of the screen of the electronic device, and therefore the user can conveniently operate the input method soft keyboard in time, and the operation efficiency of the input method soft keyboard is improved.
The input method soft keyboard display device in the embodiment of the application can be a device, and can also be a component, an integrated circuit or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The input method soft keyboard display device in the embodiment of the application can be a device with an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The input method soft keyboard display device provided by the embodiment of the application can realize each process realized by the method embodiment, and is not repeated here to avoid repetition.
Optionally, as shown in fig. 7, an electronic device 90 is further provided in this embodiment of the present application, and includes a processor 91, a memory 92, and a program or an instruction stored in the memory 92 and executable on the processor 91, where the program or the instruction is executed by the processor 91 to implement the processes of the foregoing method embodiment, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 100 includes, but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
Those skilled in the art will appreciate that the electronic device 100 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 8 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
In the embodiment of the application, the screen of the electronic equipment comprises a first screen area and a second screen area.
The user input unit 107 is configured to receive a first input of a user in a case that a screen of the electronic device displays an input method soft keyboard, where the first input is an input of the user to a target screen area, and the target screen area includes at least one of: a first screen region and a second screen region.
A processor 110, configured to adjust display information of the input method soft keyboard in a screen of the electronic device according to the target screen area and target information in response to the first input, where the target information includes at least one of: the electronic equipment comprises state information and change information, wherein the state information is used for indicating that the initial state condition of a screen of the electronic equipment is an unfolded state or a folded state, and the change information is used for indicating the angle change condition between a first screen area and a second screen area.
The embodiment of the application provides an electronic device, because a user can carry out first input to a corresponding screen area (namely, the first screen area and/or the first screen area) according to a use requirement, so that the electronic device can adjust display information of an input method soft keyboard currently displayed on a screen of the electronic device, namely, the layout of the input method soft keyboard in the screen is rapidly adjusted through the folding characteristic of the screen of the electronic device, and therefore the user can conveniently operate the input method soft keyboard in time, and the operation efficiency of the input method soft keyboard is improved.
It should be understood that, in the embodiment of the present application, the input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics Processing Unit 1041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 110 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements the processes of the foregoing method embodiments, and can achieve the same technical effects, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the foregoing method embodiments, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
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 an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (12)

1. A soft keyboard display method for an input method is applied to an electronic device, wherein a screen of the electronic device comprises a first screen area and a second screen area, and the method comprises the following steps:
receiving a first input of a user under the condition that an input method soft keyboard is displayed on a screen of the electronic equipment, wherein the first input is input into a target screen area by the user, and the target screen area comprises at least one of the following items: the first screen region and the second screen region;
in response to the first input, adjusting display information of the input method soft keyboard in a screen of the electronic equipment according to the target screen area and target information, wherein the target information comprises at least one of the following items: state information and change information, the state information being used for indicating an initial state condition of a screen of the electronic device, the initial state condition including: the change information is used for indicating the angle change condition between the first screen area and the second screen area.
2. The method according to claim 1, wherein the initial state condition of the screen of the electronic device is an unfolded state, and the first input is a user's folding input to the target screen area; or the initial state condition of the screen of the electronic equipment is a folded state, and the first input is the expansion input of the user to the target screen area;
the display information includes at least one of: display position information, display size information, and display mode information.
3. The method according to claim 1 or 2, characterized in that the target information comprises at least the change information;
the adjusting the display information of the input method soft keyboard in the screen of the electronic equipment according to the target screen area and the target information comprises the following steps:
under the condition that the target screen area comprises the first screen area and the second screen area, if the change information meets a first condition, splitting and displaying the input method soft keyboard;
wherein the first condition is: the angle value between the first screen area and the second screen area is changed from an initial angle value to a first angle value, and is restored from the first angle value to the initial angle value within a preset time period.
4. The method of claim 3, wherein the splitting displays the input method soft keyboard, comprising:
splitting the input method soft keyboard into two parts of soft keyboards, and respectively performing size reduction processing on the two parts of soft keyboards so as to respectively display the two parts of soft keyboards after size reduction processing in the first screen area and the second screen area.
5. The method of claim 3, wherein after the splitting displays the input method soft keyboard, the method further comprises:
receiving a second input of a user, wherein the second input is the input of the user to a target part soft keyboard, and the target part soft keyboard is any soft keyboard part in two parts of soft keyboards obtained after splitting;
and responding to the second input, and adjusting the display information of the target part soft keyboard.
6. The method according to claim 1 or 2, characterized in that the target information comprises at least the change information;
the adjusting the display information of the input method soft keyboard in the screen of the electronic equipment according to the target screen area and the target information comprises the following steps:
under the condition that the target screen area comprises the first screen area and the second screen area, if the change information meets a second condition, initializing the display information of the input method soft keyboard so as to display the input method soft keyboard at an initial position in the screen of the electronic equipment;
wherein the second condition is: an angle value between the first screen region and the second screen region changes from an initial angle value to a second angle value.
7. An input method soft keyboard display device, comprising: the device comprises a receiving module and an adjusting module;
the receiving module is used for receiving a first input of a user under the condition that a screen of the electronic equipment displays an input method soft keyboard; the screen of the electronic equipment comprises a first screen area and a second screen area, the first input is input of a target screen area by a user, and the target screen area comprises at least one of the following items: the first screen region and the second screen region;
the adjusting module is configured to adjust, in response to the first input received by the receiving module, display information of the input method soft keyboard in a screen of the electronic device according to the target screen area and target information, where the target information includes at least one of: state information and change information, the state information being used for indicating an initial state condition of a screen of the electronic device, the initial state condition including: the change information is used for indicating the angle change condition between the first screen area and the second screen area.
8. The apparatus according to claim 7, wherein the initial state condition of the screen of the electronic device is an unfolded state, and the first input is a user's folding input to the target screen area; or the initial state condition of the screen of the electronic equipment is a folded state, and the first input is the expansion input of the user to the target screen area;
the display information includes at least one of: display position information, display size information, and display mode information.
9. The apparatus according to claim 7 or 8, wherein the target information includes at least the change information;
the adjusting module is specifically configured to split and display the input method soft keyboard if the change information meets a first condition under the condition that the target screen area includes the first screen area and the second screen area;
wherein the first condition is: the angle value between the first screen area and the second screen area is changed from an initial angle value to a first angle value, and is restored from the first angle value to the initial angle value within a preset time period.
10. The apparatus according to claim 9, wherein the adjusting module is specifically configured to split the input method soft keyboard into two portions of soft keyboards, and perform size reduction processing on the two portions of soft keyboards respectively, so as to display the two portions of soft keyboards after size reduction processing in the first screen area and the second screen area respectively.
11. The apparatus according to claim 9, wherein the receiving module is further configured to receive a second input from the user after the adjusting module splits and displays the input method soft keyboard, where the second input is an input from the user to a target portion soft keyboard, and the target portion soft keyboard is any soft keyboard portion in a two-portion soft keyboard obtained after splitting;
the adjusting module is further configured to adjust display information of the target portion soft keyboard in response to the second input received by the receiving module.
12. The apparatus according to claim 7 or 8, wherein the target information includes at least the change information;
the adjusting module is specifically configured to, when the target screen area includes the first screen area and the second screen area, perform initialization processing on the display information of the input method soft keyboard if the change information satisfies a second condition, so as to display the input method soft keyboard at an initial position in the screen of the electronic device;
wherein the second condition is: an angle value between the first screen region and the second screen region changes from an initial angle value to a second angle value.
CN202011165344.XA 2020-10-27 2020-10-27 Input method soft keyboard display method and device Pending CN112181166A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011165344.XA CN112181166A (en) 2020-10-27 2020-10-27 Input method soft keyboard display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011165344.XA CN112181166A (en) 2020-10-27 2020-10-27 Input method soft keyboard display method and device

Publications (1)

Publication Number Publication Date
CN112181166A true CN112181166A (en) 2021-01-05

Family

ID=73922294

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011165344.XA Pending CN112181166A (en) 2020-10-27 2020-10-27 Input method soft keyboard display method and device

Country Status (1)

Country Link
CN (1) CN112181166A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112764861A (en) * 2021-01-22 2021-05-07 维沃移动通信有限公司 Electronic device, control method thereof and control device
CN113076010A (en) * 2021-03-26 2021-07-06 维沃移动通信有限公司 Input method, input device, electronic apparatus, and medium
CN113556597A (en) * 2021-07-01 2021-10-26 深圳创维-Rgb电子有限公司 Input display optimization method, device, equipment and storage medium
CN113986112A (en) * 2021-10-29 2022-01-28 北京百度网讯科技有限公司 Soft keyboard display method, related device and computer program product
CN114661197A (en) * 2022-05-16 2022-06-24 科大讯飞股份有限公司 Input method panel control method, related equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104699404A (en) * 2015-03-26 2015-06-10 努比亚技术有限公司 Soft keyboard display method and device
CN110795019A (en) * 2019-10-23 2020-02-14 腾讯科技(深圳)有限公司 Key identification method and device of soft keyboard and storage medium
CN111092971A (en) * 2018-10-24 2020-05-01 北京搜狗科技发展有限公司 Display method and device for displaying
CN111669459A (en) * 2020-04-23 2020-09-15 华为技术有限公司 Keyboard display method, electronic device and computer readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104699404A (en) * 2015-03-26 2015-06-10 努比亚技术有限公司 Soft keyboard display method and device
CN111092971A (en) * 2018-10-24 2020-05-01 北京搜狗科技发展有限公司 Display method and device for displaying
CN110795019A (en) * 2019-10-23 2020-02-14 腾讯科技(深圳)有限公司 Key identification method and device of soft keyboard and storage medium
CN111669459A (en) * 2020-04-23 2020-09-15 华为技术有限公司 Keyboard display method, electronic device and computer readable storage medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112764861A (en) * 2021-01-22 2021-05-07 维沃移动通信有限公司 Electronic device, control method thereof and control device
CN112764861B (en) * 2021-01-22 2023-10-27 维沃移动通信有限公司 Electronic device, control method and control device thereof
CN113076010A (en) * 2021-03-26 2021-07-06 维沃移动通信有限公司 Input method, input device, electronic apparatus, and medium
CN113076010B (en) * 2021-03-26 2023-06-23 维沃移动通信有限公司 Input method, input device, electronic equipment and medium
CN113556597A (en) * 2021-07-01 2021-10-26 深圳创维-Rgb电子有限公司 Input display optimization method, device, equipment and storage medium
CN113986112A (en) * 2021-10-29 2022-01-28 北京百度网讯科技有限公司 Soft keyboard display method, related device and computer program product
CN113986112B (en) * 2021-10-29 2023-09-29 北京百度网讯科技有限公司 Soft keyboard display method, related device and computer program product
CN114661197A (en) * 2022-05-16 2022-06-24 科大讯飞股份有限公司 Input method panel control method, related equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN112181166A (en) Input method soft keyboard display method and device
CN111638847B (en) Split screen display method and device and electronic equipment
CN113141295B (en) Message display method and device and electronic equipment
CN113703624A (en) Screen splitting method and device and electronic equipment
CN112433693A (en) Split screen display method and device and electronic equipment
CN112148167A (en) Control setting method and device and electronic equipment
CN113342295B (en) Screen splitting method and screen splitting device
CN112995406B (en) Display method and device and electronic equipment
CN112558829B (en) Input method display method and device and electronic equipment
WO2023155809A1 (en) Desktop deformer display method and apparatus, electronic device, and storage medium
CN112153281A (en) Image processing method and device
WO2022262722A1 (en) Response method and apparatus of electronic device, and electronic device
CN112181269B (en) Content display method and device and electronic equipment
CN115357173A (en) Screen control method and device and electronic equipment
CN114741042A (en) Content display method and device
CN113687691A (en) Display method and device and electronic equipment
CN114578899A (en) Display method, display device, electronic equipment and readable storage medium
CN114416269A (en) Interface display method and display device
CN114741142A (en) Screen control method and device, electronic equipment and storage medium
CN113703630A (en) Interface display method and device
CN114090110A (en) Application program starting method and device and electronic equipment
CN113238694A (en) Interface comparison method and device and mobile terminal
CN112860014A (en) Electronic device, information display method, and readable storage medium
CN113362749A (en) Display method and device
CN113296661A (en) Image processing method and device, electronic equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination