CN112181165A - Input method and device and electronic equipment - Google Patents

Input method and device and electronic equipment Download PDF

Info

Publication number
CN112181165A
CN112181165A CN202011162228.2A CN202011162228A CN112181165A CN 112181165 A CN112181165 A CN 112181165A CN 202011162228 A CN202011162228 A CN 202011162228A CN 112181165 A CN112181165 A CN 112181165A
Authority
CN
China
Prior art keywords
input
target
interface
screen mode
display
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
CN202011162228.2A
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 CN202011162228.2A priority Critical patent/CN112181165A/en
Publication of CN112181165A publication Critical patent/CN112181165A/en
Priority to PCT/CN2021/126343 priority patent/WO2022089411A1/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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses an input method, an input device and electronic equipment, and belongs to the technical field of communication. The problem that the display interface of the transverse screen mode screen of the electronic equipment can not be normally displayed due to the fact that the display interface can be possibly shielded by an input method keyboard can be solved. The method comprises the following steps: receiving a first input of a user under the condition that the electronic equipment displays a target interface in a horizontal screen mode, wherein the first input is used for triggering the electronic equipment to display an input method interface; responding to the first input, displaying the target interface in a vertical screen mode, and displaying the input method interface in a vertical screen mode; and the target interface displayed in the vertical screen mode is not overlapped with the display area of the input method interface displayed in the vertical screen mode. The method can be applied to scenes displayed by switching the horizontal screen mode and the vertical screen mode of the electronic equipment.

Description

Input method and device and electronic equipment
Technical Field
The embodiment of the application relates to the technical field of communication, in particular to an input method, an input device and electronic equipment.
Background
With the development of electronic technology, in order to facilitate a user to view display contents in a full screen mode or operate an electronic device with both hands, the electronic device may display images in a landscape mode, for example, the electronic device may display a game interface in the landscape mode while the user plays a game.
Currently, in a case where an electronic device displays a game interface in a landscape mode, if a user wants to send a message to a friend in a game, the user may trigger the electronic device to display an input method keyboard in the landscape mode, and complete sending of the message by inputting the input method keyboard. However, the height of the input method keyboard displayed on the electronic device is generally a fixed height, and the width is the width of the screen in the landscape mode (i.e. the length of the long side of the screen of the electronic device), i.e. the screen area occupied by the input method keyboard displayed on the electronic device in the landscape mode is large, so that the game interface displayed on the screen of the electronic device may be blocked by the input method keyboard, thereby causing the game interface to be unable to be displayed normally.
Disclosure of Invention
The embodiment of the application aims to provide an input method, an input device and electronic equipment, and the problem that a horizontal screen mode screen display interface of the electronic equipment is possibly shielded by an input method keyboard, so that the display interface cannot be normally displayed can be solved.
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, where the method includes: receiving a first input of a user under the condition that the electronic equipment displays a target interface in a horizontal screen mode, wherein the first input is used for triggering the electronic equipment to display an input method interface; responding to the first input, displaying the target interface in a vertical screen mode, and displaying the input method interface in a vertical screen mode; and the target interface displayed in the vertical screen mode is not overlapped with the display area of the input method interface displayed in the vertical screen mode.
In a second aspect, an embodiment of the present application provides an input device, including: the device comprises a receiving module and a display module. The receiving module is used for receiving a first input of a user under the condition that the electronic equipment displays a target interface in a horizontal screen mode, wherein the first input is used for triggering the electronic equipment to display an input method interface; the display module is used for responding to the first input received by the receiving module, displaying the target interface in a vertical screen mode and displaying the input method interface in the vertical screen mode; and the target interface displayed in the vertical screen mode is not overlapped with the display area of the input method interface displayed in the vertical screen mode.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, where the program or instructions, when executed by the processor, 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, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, and 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, under the condition that the electronic equipment displays the target interface in the horizontal screen mode, receiving a first input for triggering the electronic equipment to display the input method interface, responding to the first input, displaying the target interface in the vertical screen mode, and displaying the input method interface in the vertical screen mode; and the target interface displayed in the vertical screen mode is not overlapped with the display area of the input method interface displayed in the vertical screen mode. By the method, the user can manually trigger the electronic equipment to display the target interface in the vertical screen mode and the input method interface which is not overlapped with the target interface, so that the target interface displayed on the screen of the electronic equipment is prevented from being shielded by the input method keyboard. Therefore, the use of the mobile phone is convenient for users, and the user experience is prompted.
Drawings
Fig. 1 is a schematic diagram of an input method according to an embodiment of the present application;
fig. 2 is an operation schematic diagram of a display target interface of an electronic device in a vertical screen mode according to an embodiment of the present application;
fig. 3 is a second schematic diagram of an input method according to an embodiment of the present application;
fig. 4 is a third schematic diagram of an input method according to an embodiment of the present application;
fig. 5 is an operation diagram illustrating that an electronic device switches a target interface to a session interface with a target contact according to an embodiment of the present application;
fig. 6 is a fourth schematic diagram of an input method according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an input device according to an embodiment of the present disclosure;
fig. 8 is a hardware schematic diagram of an electronic device according to an embodiment of the present disclosure;
fig. 9 is a second hardware schematic diagram 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 is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. The objects distinguished by "first", "second", and the like are usually a class, and the number of the objects is not limited, and for example, the first object may be one or a plurality of objects. 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 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.
As shown in fig. 1, the present application provides an input method, which may include steps 101 and 102 described below.
Step 101, the electronic device receives a first input of a user under the condition that the electronic device displays a target interface in a landscape mode.
The first input is used for triggering the electronic equipment to display an input method interface.
It should be noted that the first input is used to trigger the electronic device to display the target interface in the vertical screen mode and display the input method interface. Wherein, the target interface may be any one of the following: game interfaces, multimedia file playing interfaces, browser interfaces, map interfaces, and the like. The determination may be specifically performed according to actual use requirements, and the embodiment of the present application is not specifically limited.
In addition, for convenience of description, in the following embodiments of the present application, a target interface displayed in a landscape mode is simply referred to as: a landscape target interface; the target interface displayed in the vertical screen mode is simply referred to as: and (5) erecting a screen target interface.
Optionally, in this embodiment of the application, the first input may be a touch input to an input area displayed in the landscape target interface, where the input area may be an input box, a user avatar, and other input areas of the user, for example, the input area may be an input box displaying user input content (for example, a second input area described below). The touch input may be any one of: single click, double click, long press, etc. The first input can also be voice input to the electronic equipment, and the content of the voice input is used for triggering the electronic equipment to display a target interface in a vertical screen mode and displaying an input method interface. The first input can also be used for inputting the screen of the electronic equipment in a sliding mode according to a preset track, and the sliding input of the preset sliding track is used for triggering the electronic equipment to display a target interface in a vertical screen mode and displaying an input method interface. For example, the slide locus is an "S" locus or the like. The specific input mode of the first input may be determined according to actual use requirements, and the embodiment of the present application is not particularly limited.
And 102, the electronic equipment responds to the first input, displays the target interface in a vertical screen mode, and displays an input method interface in the vertical screen mode.
And the display area of the target interface displayed in the vertical screen mode is not overlapped with the display area of the input method interface displayed in the vertical screen mode.
In the embodiment of the present application, the display areas are not overlapped, which means that the target interface displayed in the vertical screen mode and the input method interface displayed in the vertical screen mode are not overlapped or partially overlapped. Wherein the criterion of the partial overlap is not to affect the normal use of the two interfaces.
Optionally, in this embodiment of the application, the electronic device displaying the target interface in the vertical screen mode may specifically be implemented in the following manner: the electronic equipment determines the length and the width of the target interface to be reduced and displayed in the vertical screen mode according to the length of the screen of the electronic equipment, the width of the screen of the electronic equipment and the target ratio, and reduces and displays the target interface.
Specifically, first, the electronic device may obtain a length L of a screen of the electronic device and a width H of the screen; then, the electronic device calculates the width S of the target interface displayed in a reduced mode in a vertical screen mode according to the ratio i of the length to the width of the screen, namely L/H, and the known width H of the screen (namely, the width H of the screen of the electronic device is taken as the length of the target interface displayed in a reduced mode in the vertical screen display); and then, the electronic equipment displays the target interface in a reduced mode by taking H as the length of the reduced display target interface, and displays the target interface in a reduced mode by taking S as the width of the reduced display target interface.
Optionally, in this embodiment of the present application, in the vertical screen mode, in the target interface that is displayed in a reduced size (i.e., the vertical screen target interface), all contents in the target interface are displayed in an equally scaled down size.
Optionally, in this embodiment of the application, the control in the reduced displayed target interface (i.e., the vertical screen target interface) may adopt a folding display or an overlapping display manner, so as to reduce an area occupied by the vertical screen target interface.
Optionally, in this embodiment of the application, in the vertical screen mode, the electronic device may further perform zooming-out on the target interface in the following manner: firstly, the electronic device may acquire a human eye image of the user through the front camera, and determine a gazing area of the user's sight line on the target interface according to the human eye image (i.e., the electronic device determines a projection area of the user's sight line on the target interface as the gazing area. And then, when the electronic equipment is switched to the vertical screen mode, reducing the displayed target interface to be the area in the target interface corresponding to the watching area. In addition, according to the content displayed on the target interface, a more important display screen area in the target interface or a display screen area with higher user attention can be determined, for example, in the game interface, if a match is being made in the game screen, the match screen is the display screen area with higher user attention, and in the case of switching to the vertical screen mode, only the match area, not the whole target interface, is displayed in the target interface. The determination may be specifically performed according to actual use requirements, and the embodiment of the present application is not specifically limited.
It is understood that the electronic device may determine the length and the width of the reduced displayed target interface according to the ratio of the length and the width of the electronic device. Therefore, the electronic equipment can display the target interface in a reduced mode in the vertical screen mode.
Fig. 2 is an operation diagram of an electronic device displaying a target interface in a portrait screen mode. As shown in fig. 2 (a), the electronic device 001 displays a game interface 002 (i.e., an object interface) in a landscape mode, the game interface also displays an input region 003, a user can press the input region 003 for a long time, the electronic device 001 responds to the long-time press input (i.e., a first input), as shown in fig. 2 (b), the electronic device 001 displays the game interface 002 in a portrait mode, and displays an input method interface 004 in a portrait mode, the user can trigger transmission after inputting content into the input region 005 through the input method interface 004, and the electronic device can transmit the input content to a friend in a game or display the input content on the game interface.
The embodiment of the application provides an input method, which comprises the steps of receiving a first input for triggering electronic equipment to display an input method interface under the condition that the electronic equipment displays a target interface in a horizontal screen mode, responding to the first input, displaying the target interface in a vertical screen mode, and displaying the input method interface in a vertical screen mode; and the target interface displayed in the vertical screen mode is not overlapped with the display area of the input method interface displayed in the vertical screen mode. By the method, the user can manually trigger the electronic equipment to display the target interface in the vertical screen mode and the input method interface which is not overlapped with the target interface, so that the target interface displayed on the screen of the electronic equipment is prevented from being shielded by the input method keyboard. Therefore, the use of the mobile phone is convenient for users, and the user experience is prompted.
Optionally, with reference to fig. 2, as shown in fig. 3, after the step 102, the input method provided in the embodiment of the present application further includes the following steps 103 and 104.
Step 103, the electronic device receives a second input of the target boundary line.
The target boundary line is a boundary between the target interface and the input method interface.
It should be noted that, in the embodiment of the present application, the target boundary may be a boundary between a vertical screen target interface and an input method interface displayed in a vertical screen mode.
Optionally, in this embodiment of the application, the second input may be a touch input of the target boundary line by a user, where the specific touch input is at least one of the following: single click, double click, drag, etc. The second input may also be a voice input to the electronic device, the content of the voice input being used for the controlling electronic device to adjust the position of the target boundary line. The determination may be specifically performed according to actual use requirements, and the embodiment of the present application is not specifically limited. It should be noted that the following embodiments exemplarily illustrate the second input as the drag input for the target boundary line.
And 104, the electronic equipment responds to the second input, and the size of the first display area of the target interface and the size of the second display area of the input method interface are adjusted.
Alternatively, if the second input is an input that the user drags the target boundary line, the electronic device may adjust the sizes of the first display area and the second display area according to the adjusted position of the target boundary line. The first display area displays a target interface, the second display area displays an input method interface, and the first display area and the second display area are adjacent (namely, the boundary between the target interface and the input method interface is also the boundary between the first display area and the second display area).
For example, it is assumed that a screen of the electronic device displays a target boundary line in a portrait mode of the electronic device, one side of the target boundary line displays a game interface of the portrait mode, and the game interface occupies an area a in the screen; the other side of the boundary line displays an input method interface of the vertical screen mode, which occupies a B region in the screen (wherein, the a region and the B region are regions on both sides of the target boundary line, respectively). If the electronic equipment receives a second input that the user drags the target boundary line, the electronic equipment responds to the dragging input, and the regions on the two sides of the adjusted target boundary line are determined again as follows: an A1 area and a B1 area, and then the electronic equipment displays the game interface in the A1 area and the input method interface in the B1 area according to the redetermined A1 area and B1 area respectively.
Optionally, in this embodiment of the application, the electronic device may adaptively adjust the display form of the input method interface according to the adjusted size of the second display area.
Specifically, the electronic device may obtain an area of the adjusted second display region, and display an input method interface corresponding to a first threshold value when the area is greater than or equal to the first threshold value; displaying an input method interface corresponding to a second threshold value when the area is smaller than or equal to the second threshold value; and under the condition that the area is larger than the second threshold and smaller than the first threshold, the display mode of the current input method is kept to be displayed, and the size of each key in the input method keyboard can be adaptively adjusted. For example, after the user adjusts the area of the second display region to be reduced, but the second threshold is not satisfied, the electronic device may adaptively adjust the height values of the keys in the input method keyboard according to the adjusted second display region.
For example, assuming that the area of the second display region before adjustment is 5 units, the corresponding input method display mode is a 9-grid mode. If the area of the second display area adjusted by the user is 7 units and the 7 units of the area are greater than the 6 units of the first threshold, the electronic equipment switches the display mode of the input method to be a full keyboard for display; if the area of the second display area adjusted by the user is 3.6 units and the area of the second display area is 3.6 units smaller than the second threshold value of 4 units, the electronic device switches the display mode of the input method to the handwriting input mode display.
It can be understood that the user can manually adjust the display area of the target interface of the vertical screen mode and the display area of the input method interface of the vertical screen mode through the input of the target boundary line, so that the user can conveniently adjust the display areas in a progressive manner according to actual use requirements, and the use experience of the user is further improved.
Optionally, with reference to fig. 1, as shown in fig. 4, the input method provided in the embodiment of the present application further includes the following steps 105 and 106. Fig. 4 illustrates an example where step 105 and step 106 are performed after step 102.
And 105, receiving a third input of a target contact person identifier in at least one contact person identifier by the electronic equipment under the condition that the at least one contact person identifier is displayed on the target interface displayed in the vertical screen mode.
And each contact person identification is used for indicating one contact person stored in the target application program corresponding to the target interface.
Optionally, in this embodiment of the application, the contact identifier may be any one of the following: contact name, contact avatar, contact nickname, contact mailbox, contact phone, etc. The determination may be specifically performed according to actual use requirements, and the embodiment of the present application is not specifically limited.
Optionally, in this embodiment of the application, when the electronic device switches to display the target interface in a vertical screen mode, at least one contact identifier may be displayed in the target interface; alternatively, in the event that the electronic device switches to displaying the target interface in portrait mode, the target interface may receive a first target input by the user, the electronic device displaying at least one contact identification in response to the first target input.
Optionally, in this embodiment of the application, the third input is not input by the user to select a target contact identifier from the at least one contact identifier. Specifically, the third input may be a touch input to the target contact identifier, and the touch input may be any one of the following: single click, double click, long press, drag according to a preset trajectory, etc. The third input may also be a voice input to the electronic device, the content of the voice input being used to instruct the electronic device to determine and select the target contact identification from the at least one contact identification. The determination may be specifically performed according to actual use requirements, and the embodiment of the present application is not specifically limited.
And 106, the electronic equipment responds to the third input and switches and displays the target interface to be a conversation page of the target contact.
Wherein, the conversation page comprises the historical chatting records of the target contact.
In the embodiment of the present application, the switching display is switched only in the display area where the target interface is located, and the display area where the input method interface is located is not changed.
Optionally, in this embodiment of the application, the historical chat records may be chat records stored in the electronic device, or may also be chat records stored in the server. The historical chat records may be all the historical chat records, or may be historical chat records within a period of time, for example, chat records within three days, chat records within one week, and the like. The embodiment of the present application is not particularly limited, and may be determined according to actual use requirements.
For example, fig. 5 is an operation diagram illustrating the electronic device switching the target interface to the conversation interface with the target contact. As shown in fig. 5 (a), in the case where the electronic device 001 displays the game interface 002 and the input method interface 004 in the portrait mode, the contact identifications "zhang san" and "aji" are displayed on one side of the game interface 002. If the user clicks the contact identifier "aigen" (i.e., the target contact identifier indicating aigen in the game address book), the electronic device 00 responds to the click input (i.e., the third input), as shown in fig. 5 (b), the electronic device 00 may cancel displaying the game interface 002 and display the session interface 006 with the contact aigen in a position where the original game interface 002 is displayed, the session interface 006 including a plurality of history chat records. The user can input contents in the input area 005 and send the contents to the conversation interface 006.
It can be understood that, in the case that at least one contact identifier is displayed in the target interface displayed by the electronic device in the portrait screen mode, the user may trigger the electronic device to switch and display the target interface as a session interface with the target contact through an input of the target contact identifier in the at least one contact identifier, and the session interface may include the historical chat records. Therefore, the user can conveniently select the chatting contact persons according to the actual use requirements, and the historical chatting content can be browsed, so that the user can conveniently use the chat system, and the use experience of the user is improved.
Optionally, with reference to fig. 1, as shown in fig. 6, the input method provided in the embodiment of the present application further includes the following steps 107 and 108. Fig. 6 exemplifies the case where step 107 and step 108 are performed after step 102.
And step 107, receiving a fourth input to the recovery control by the electronic equipment under the condition that the recovery control is displayed on the target interface displayed in the vertical screen mode.
Optionally, in this embodiment of the application, the fourth input is used to trigger the electronic device to switch the target interface displayed in the portrait mode to be displayed in the landscape mode. Specifically, the fourth input may be a touch input to the reply control, and the touch input may be any one of the following: single click, double click, long press, drag according to a preset trajectory, etc. The determination may be specifically performed according to actual use requirements, and the embodiment of the present application is not specifically limited.
It should be noted that, in the embodiment of the present application, a display form of the reply control is not specifically limited, and may be determined according to an actual use requirement.
And step 108, the electronic equipment responds to the fourth input, switches and displays the target interface displayed in the vertical screen mode into the target interface displayed in the horizontal screen mode, and cancels the display of the input method interface.
It should be noted that, while the electronic device switches and displays the target interface displayed in the vertical screen mode to the target interface displayed in the horizontal screen mode, the electronic device also cancels the display of the input method interface, that is, the input method interface is not displayed when the target interface of the electronic device is switched to the horizontal screen display.
The user can input the reply control to trigger the electronic device to switch the target interface displayed in the vertical screen mode into the horizontal screen display mode for display and cancel the display of the input method interface, so that the user can conveniently check the content in the target interface in detail through the horizontal screen mode, the target interface is prevented from being shielded by the input method interface in the horizontal screen mode, and the user can conveniently use the input method interface.
Optionally, in this embodiment of the application, the target interface displayed in the vertical screen mode includes a first input area, and the first input area is used for displaying target content to be sent. The step 108 can be specifically realized by the following step 108 a.
Step 108a, the electronic device responds to the fourth input, switches and displays the target interface displayed in the vertical screen mode into the target interface displayed in the horizontal screen mode, and displays a second input area including target content to be sent on the target interface displayed in the horizontal screen mode.
Alternatively, in the embodiment of the present application, the first input region may specifically be an input region 005 shown in (b) in fig. 2, and the second input region may be an input region 003 shown in (a) in fig. 2.
Optionally, in this embodiment of the application, the sizes of the first input area and the second input area may be the same or different. Specifically, when the size of the first input area is the same as the size of the second input area, the electronic device may obtain the display position of the second input area by obtaining coordinates of a point in the first input area and performing translation and rotation operations on the first input area. When the size of the first input region is different from that of the second input region, the first input region may be an input region in which the second input region is displayed in a reduced size and then displayed in an enlarged size. The determination may be specifically performed according to actual use requirements, and the embodiment of the present application is not specifically limited.
It should be noted that, in the above process, if the electronic device does not perform a sending operation on the target content input in the input area, when the user triggers the electronic device to perform the horizontal and vertical screen mode switching (the horizontal screen mode is switched to the vertical screen mode, or the vertical screen mode is switched to the horizontal screen mode), the target content to be sent in the input area still remains in the input area.
It can be understood that, when the electronic device switches the vertical screen mode to the horizontal screen mode, the target content to be sent in the first input area of the vertical screen mode is retained in the second input area of the horizontal screen mode for display. That is, when the electronic device switches between the horizontal and vertical screen modes, the target content to be sent in the input area is still retained in the input area. Therefore, the target content to be sent edited by the user can be prevented from being lost when the horizontal and vertical screen modes are switched, and the reliability of the electronic equipment is improved.
It should be noted that, in the input method provided in the embodiment of the present application, the execution main body may be an input device, or a control module in the input device for executing the input method. In the embodiment of the present application, an input method executed by an input device is taken as an example to describe the device provided in the embodiment of the present application.
As shown in fig. 7, an input device 700 is provided in the present embodiment. The input device 700 may include a receiving module 701 and a display module 702. The receiving module 701 may be configured to receive a first input of a user, where the electronic device displays the target interface in a landscape mode, where the first input is used to trigger the electronic device to display an input method interface. A display module 702, configured to display the target interface in a vertical screen mode and display an input method interface in a vertical screen mode in response to the first input received by the receiving module 701. And the target interface displayed in the vertical screen mode is not overlapped with the display area of the input method interface displayed in the vertical screen mode.
Optionally, in this embodiment of the application, the display module 702 may be specifically configured to narrow and display the target interface in the vertical screen mode according to the length of the screen of the electronic device, the width of the screen of the electronic device, and the target ratio. Wherein the target ratio is a ratio of a length of the electronic device screen to the electronic device screen.
Optionally, in this embodiment of the application, the receiving module 701 may be further configured to receive a second input to a target boundary line, where the target boundary line is a boundary between the target interface and the input method interface. The display module 702 may be further configured to, in response to the second input received by the receiving module 701, adjust the size of the target interface in the first display area and the size of the input method interface in the second display area.
Optionally, in this embodiment of the application, the receiving module 701 may further receive a third input to a target contact identifier in at least one contact identifier when at least one contact identifier is displayed on the target interface displayed in the portrait screen mode. The display module 702 may be further configured to, in response to the third input received by the receiving module 701, switch to display the target interface as a conversation page with the target contact, where the conversation page includes the historical chat records with the target contact.
Optionally, in this embodiment of the application, the receiving module 701 may be further configured to receive a fourth input to the resume control when the resume control is displayed on the target interface displayed in the portrait mode. The display module 702 may be further configured to, in response to the fourth input received by the receiving module 701, switch and display the target interface displayed in the vertical screen mode to the target interface displayed in the horizontal screen mode, and cancel displaying the input method interface.
Optionally, in this embodiment of the application, the target interface displayed in the vertical screen mode includes a first input area, and the first input area is used for displaying target content to be sent. The display module 702 may be specifically configured to switch and display the target interface displayed in the vertical screen mode to the target interface displayed in the horizontal screen mode in response to the fourth input received by the receiving module 701, and display a second input area including the target content to be sent on the target interface displayed in the horizontal screen mode.
The input device in the embodiment of the present application may be a functional entity and/or a functional module in an electronic device, which executes an input method, or may 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 device in the embodiment of the present application may be a device having 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 device provided in the embodiment of the present application can implement each process implemented by the input device in the method embodiments of fig. 1 to fig. 6, and is not described here again to avoid repetition.
The embodiment of the application provides an input device, which receives a first input for triggering the input device to display an input method interface under the condition that the input device displays a target interface in a horizontal screen mode, responds to the first input, displays the target interface in a vertical screen mode, and displays the input method interface in a vertical screen mode; and the target interface displayed in the vertical screen mode is not overlapped with the display area of the input method interface displayed in the vertical screen mode. By the method, a user can manually trigger the input device to display the target interface in the vertical screen mode and the input method interface which is not overlapped with the target interface so as to avoid the target interface displayed on the screen of the input device from being shielded by the input method keyboard. Therefore, the use of the mobile phone is convenient for users, and the user experience is prompted.
Optionally, as shown in fig. 8, an electronic device 800 is further provided in this embodiment of the present application, and includes a processor 801, a memory 802, and a program or an instruction stored in the memory 802 and executable on the processor 801, where the program or the instruction is executed by the processor 801 to implement each process of the above-mentioned input method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic device and the non-mobile electronic device described above.
Fig. 9 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 2000 includes, but is not limited to: a radio frequency unit 2001, a network module 2002, an audio output unit 2003, an input unit 2004, a sensor 2005, a display unit 2006, a user input unit 2007, an interface unit 2008, a memory 2009, and a processor 2010.
Among other things, the input unit 2004 may include a graphic processor 20041 and a microphone 20042, the display unit 2006 may include a display panel 20061, the user input unit 2007 may include a touch panel 20071 and other input devices 20072, and the memory 2009 may be used to store software programs (e.g., an operating system, an application program required for at least one function), and various data.
Those skilled in the art will appreciate that the electronic device 2000 may further include a power supply (e.g., a battery) for supplying power to various components, and the power supply may be logically connected to the processor 2010 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system. The electronic device structure shown in fig. 9 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 not repeated here.
The user input unit 2007 may be configured to receive a first input of a user when the electronic device displays the target interface in the landscape mode, where the first input is used to trigger the electronic device to display the input method interface. A display unit 2006, configured to display the target interface in a vertical screen mode and display an input method interface in a vertical screen mode in response to the first input received by the user input unit 2007. And the target interface displayed in the vertical screen mode is not overlapped with the display area of the input method interface displayed in the vertical screen mode.
The embodiment of the application provides electronic equipment, which receives first input for triggering the electronic equipment to display an input method interface under the condition that the electronic equipment displays a target interface in a horizontal screen mode, responds to the first input, displays the target interface in a vertical screen mode, and displays the input method interface in a vertical screen mode; and the target interface displayed in the vertical screen mode is not overlapped with the display area of the input method interface displayed in the vertical screen mode. By the method, the user can manually trigger the electronic equipment to display the target interface in the vertical screen mode and the input method interface which is not overlapped with the target interface, so that the target interface displayed on the screen of the electronic equipment is prevented from being shielded by the input method keyboard. Therefore, the use of the mobile phone is convenient for users, and the user experience is prompted.
Optionally, in this embodiment of the application, the display unit 2006 is specifically configured to narrow and display the target interface in the vertical screen mode according to the length of the screen of the electronic device, the width of the screen of the electronic device, and the target ratio. Wherein the target ratio is a ratio of a length of the electronic device screen to the electronic device screen.
It is understood that the electronic device may determine the length and the width of the reduced displayed target interface according to the ratio of the length and the width of the electronic device. Therefore, the electronic equipment can display the target interface in a reduced mode in the vertical screen mode.
Optionally, in this embodiment, the user input unit 2007 may be further configured to receive a second input on a target boundary line, where the target boundary line is a boundary between the target interface and the input method interface. The display unit 2006 may be further configured to adjust a size of the target interface in the first display area and a size of the input method interface in the second display area in response to the second input received by the user input unit 2007.
It can be understood that the user can manually adjust the display area of the target interface of the vertical screen mode and the display area of the input method interface of the vertical screen mode through the input of the target boundary line, so that the user can conveniently adjust the display areas in a progressive manner according to actual use requirements, and the use experience of the user is further improved.
Optionally, in this embodiment of the application, the user input unit 2007 may further receive a third input to a target contact identifier in the at least one contact identifier when at least one contact identifier is displayed on the target interface displayed in the portrait screen mode. The display unit 2006, may be further configured to switch and display the target interface as a conversation page with the target contact in response to the third input received by the user input unit 2007, where the conversation page includes a historical chat record with the target contact.
It can be understood that, in the case that at least one contact identifier is displayed in the target interface displayed by the electronic device in the portrait screen mode, the user may trigger the electronic device to switch and display the target interface as a session interface with the target contact through an input of the target contact identifier in the at least one contact identifier, and the session interface may include the historical chat records. Therefore, the user can conveniently select the chatting contact persons according to the actual use requirements, and the historical chatting content can be browsed, so that the user can conveniently use the chat system, and the use experience of the user is improved.
Optionally, in this embodiment of the application, the user input unit 2007 may be further configured to receive a fourth input to the resume control when the resume control is displayed on the target interface displayed in the portrait screen mode. The display unit 2006, in response to the fourth input received by the user input unit 2007, may be further configured to switch and display the target interface displayed in the portrait mode to the target interface displayed in the landscape mode, and cancel displaying the input method interface.
The user can input the reply control to trigger the electronic device to switch the target interface displayed in the vertical screen mode into the horizontal screen display mode for display and cancel the display of the input method interface, so that the user can conveniently check the content in the target interface in detail through the horizontal screen mode, the target interface is prevented from being shielded by the input method interface in the horizontal screen mode, and the user can conveniently use the input method interface.
Optionally, in this embodiment of the application, the target interface displayed in the vertical screen mode includes a first input area, and the first input area is used for displaying target content to be sent. The display unit 2006 is specifically configured to switch and display the target interface displayed in the vertical screen mode to the target interface displayed in the horizontal screen mode in response to the fourth input received by the user input unit 2007, and display a second input area including the target content to be sent on the target interface displayed in the horizontal screen mode.
It can be understood that, when the electronic device switches the vertical screen mode to the horizontal screen mode, the target content to be sent in the first input area of the vertical screen mode is retained in the second input area of the horizontal screen mode for display. That is, when the electronic device switches between the horizontal and vertical screen modes, the target content to be sent in the input area is still retained in the input area. Therefore, the target content to be sent edited by the user can be prevented from being lost when the horizontal and vertical screen modes are switched, and the reliability of the electronic equipment is improved.
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 above-mentioned embodiment of the input method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device 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 input method embodiment, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
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. An input method, characterized in that the method comprises:
receiving a first input of a user under the condition that the electronic equipment displays a target interface in a horizontal screen mode, wherein the first input is used for triggering the electronic equipment to display an input method interface;
responding to the first input, displaying the target interface in a vertical screen mode, and displaying the input method interface in a vertical screen mode;
and the target interface displayed in the vertical screen mode is not overlapped with the display area of the input method interface displayed in the vertical screen mode.
2. The method of claim 1, wherein displaying the target interface in portrait screen mode comprises:
according to the length of the screen of the electronic equipment, the width of the screen of the electronic equipment and a target ratio, reducing and displaying the target interface in a vertical screen mode;
wherein the target ratio is a ratio of a length of the electronic device screen to the electronic device screen.
3. The method of claim 1, wherein after displaying the target interface in a portrait mode and the input method interface in a portrait mode, the method further comprises:
receiving a second input of a target boundary line, wherein the target boundary line is a boundary between the target interface and the input method interface;
and responding to the second input, and adjusting the size of the target interface in the first display area and the size of the input method interface in the second display area.
4. The method of claim 1, wherein after displaying the target interface in portrait mode, the method further comprises:
receiving a third input of a target contact person identifier in at least one contact person identifier under the condition that at least one contact person identifier is displayed on the target interface displayed in the vertical screen mode;
and responding to the third input, and switching and displaying the target interface as a conversation page of the target contact person, wherein the conversation page comprises a historical chat record of the target contact person.
5. The method of claim 1, further comprising:
receiving a fourth input to a recovery control under the condition that the recovery control is displayed on the target interface displayed in the vertical screen mode;
responding to the fourth input, switching and displaying the target interface displayed in the vertical screen mode into the target interface displayed in the horizontal screen mode, and canceling the display of the input method interface.
6. An input device, the device comprising: the device comprises a receiving module and a display module;
the receiving module is used for receiving a first input of a user under the condition that the electronic equipment displays a target interface in a horizontal screen mode, wherein the first input is used for triggering the electronic equipment to display an input method interface;
the display module is used for responding to the first input received by the receiving module, displaying the target interface in a vertical screen mode, and displaying the input method interface in the vertical screen mode;
and the target interface displayed in the vertical screen mode is not overlapped with the display area of the input method interface displayed in the vertical screen mode.
7. The apparatus according to claim 6, wherein the display module is specifically configured to display the target interface in a reduced size in a vertical screen mode according to a length of the electronic device screen, a width of the electronic device screen, and a target ratio;
wherein the target ratio is a ratio of a length of the electronic device screen to the electronic device screen.
8. The apparatus of claim 6, wherein the receiving module is further configured to receive a second input of a target boundary line, the target boundary line being a boundary between the target interface and the input method interface;
the display module is further configured to adjust the size of the target interface in the first display area and the size of the input method interface in the second display area in response to the second input received by the receiving module.
9. The apparatus of claim 6, wherein the receiving module is further configured to receive a third input of a target contact identifier of the at least one contact identifier if at least one contact identifier is displayed on the target interface displayed in a portrait mode;
the display module is further configured to switch and display the target interface as a session page with the target contact in response to the third input received by the receiving module, where the session page includes a historical chat record with the target contact.
10. The apparatus according to claim 6, wherein the receiving module is further configured to receive a fourth input to the resume control when a resume control is displayed on the target interface displayed in the portrait mode;
the display module is further configured to switch and display the target interface displayed in the vertical screen mode to the target interface displayed in the horizontal screen mode in response to the fourth input received by the receiving module, and cancel displaying the input method interface.
11. An electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the input method of any one of claims 1 to 5.
12. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by a processor, implement the steps of the input method according to any one of claims 1 to 5.
CN202011162228.2A 2020-10-27 2020-10-27 Input method and device and electronic equipment Pending CN112181165A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011162228.2A CN112181165A (en) 2020-10-27 2020-10-27 Input method and device and electronic equipment
PCT/CN2021/126343 WO2022089411A1 (en) 2020-10-27 2021-10-26 Input method and apparatus, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011162228.2A CN112181165A (en) 2020-10-27 2020-10-27 Input method and device and electronic equipment

Publications (1)

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

Family

ID=73922930

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011162228.2A Pending CN112181165A (en) 2020-10-27 2020-10-27 Input method and device and electronic equipment

Country Status (2)

Country Link
CN (1) CN112181165A (en)
WO (1) WO2022089411A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022089411A1 (en) * 2020-10-27 2022-05-05 维沃移动通信有限公司 Input method and apparatus, and electronic device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104468939A (en) * 2013-09-13 2015-03-25 联想(北京)有限公司 Text message sending and receiving methods and devices
CN109791600A (en) * 2016-12-05 2019-05-21 谷歌有限责任公司 It is the method for the mobile layout of vertical screen by transverse screen Video Quality Metric
WO2019127868A1 (en) * 2017-12-29 2019-07-04 广州优视网络科技有限公司 Screen orientation switching method, device, and terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107277229A (en) * 2017-05-26 2017-10-20 努比亚技术有限公司 A kind of data inputting method, terminal and computer-readable recording medium
CN112181165A (en) * 2020-10-27 2021-01-05 维沃移动通信有限公司 Input method and device and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104468939A (en) * 2013-09-13 2015-03-25 联想(北京)有限公司 Text message sending and receiving methods and devices
CN109791600A (en) * 2016-12-05 2019-05-21 谷歌有限责任公司 It is the method for the mobile layout of vertical screen by transverse screen Video Quality Metric
WO2019127868A1 (en) * 2017-12-29 2019-07-04 广州优视网络科技有限公司 Screen orientation switching method, device, and terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022089411A1 (en) * 2020-10-27 2022-05-05 维沃移动通信有限公司 Input method and apparatus, and electronic device

Also Published As

Publication number Publication date
WO2022089411A1 (en) 2022-05-05

Similar Documents

Publication Publication Date Title
CN112135181B (en) Video preview method and device and electronic equipment
CN110431521B (en) Split screen display method and device and terminal
CN112162665B (en) Operation method and device
CN113163050B (en) Session interface display method and device
CN111638837B (en) Message processing method and electronic equipment
CN110602565A (en) Image processing method and electronic equipment
CN112099707A (en) Display method and device and electronic equipment
CN112099705A (en) Screen projection method and device and electronic equipment
CN110830813B (en) Video switching method and device, electronic equipment and storage medium
CN113282424B (en) Information reference method and device and electronic equipment
CN112764624B (en) Information screen display method and device
CN114500432A (en) Session message transceiving method and device, electronic equipment and readable storage medium
WO2023131133A1 (en) Message quoting method and device
WO2022166902A1 (en) Interface display method and apparatus, and electronic device
CN112099714B (en) Screenshot method and device, electronic equipment and readable storage medium
CN110968364A (en) Method and device for adding shortcut plug-in and intelligent equipment
CN112148167A (en) Control setting method and device and electronic equipment
CN112751744B (en) Method and device for controlling video playing, computing equipment and storage medium
CN115357158A (en) Message processing method and device, electronic equipment and storage medium
CN112269509B (en) Information processing method and device and electronic equipment
CN113434226A (en) Communication method, communication device, electronic equipment and readable storage medium
CN112181165A (en) Input method and device and electronic equipment
US20230328181A1 (en) Video call method and apparatus
CN115718581A (en) Information display method and device, electronic equipment and storage medium
CN112269510B (en) Information processing method and device and electronic equipment

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