CN108519850A - A kind of keyboard interface display methods and mobile terminal - Google Patents
A kind of keyboard interface display methods and mobile terminal Download PDFInfo
- Publication number
- CN108519850A CN108519850A CN201810311499.6A CN201810311499A CN108519850A CN 108519850 A CN108519850 A CN 108519850A CN 201810311499 A CN201810311499 A CN 201810311499A CN 108519850 A CN108519850 A CN 108519850A
- Authority
- CN
- China
- Prior art keywords
- display
- interface
- display interface
- mobile terminal
- screen
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04886—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/018—Input/output arrangements for oriental characters
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/048—Indexing scheme relating to G06F3/048
- G06F2203/04803—Split screen, i.e. subdividing the display area or the window area into separate subareas
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 present invention provides a method for displaying a keyboard interface and a mobile terminal. The method includes: split-screen displaying a first display interface and a second display interface; receiving a target operation on the first display interface, and the target operation is used for triggering the display of a keyboard interface; in response to the target operation, displaying the keyboard interface in an area corresponding to the second display interface. In this way, after receiving the target operation on the first display interface, the keyboard interface may be displayed in the area corresponding to the second display interface. It can avoid the compression of the keyboard interface in the split-screen display state, and reduce the probability of misoperation caused by the keyboard interface being too small.
Description
技术领域technical field
本发明涉及通信技术领域,尤其涉及一种键盘界面显示方法和移动终端。The invention relates to the technical field of communications, in particular to a keyboard interface display method and a mobile terminal.
背景技术Background technique
很多移动终端都支持分屏功能。例如,用户想同时与两个聊天对象聊天,且这两个聊天对象属于不同的社交应用,则可以在移动终端上分屏显示两个社交应用的聊天界面,这样就可以实现与两个聊天对象同时聊天。现有技术中,用户与某个聊天对象聊天时,键盘界面会显示在当前聊天界面内,键盘界面会被压缩,用户点击时容易出现误操作的情况。因此,现有技术中,分屏显示多个聊天界面时,由于键盘界面被压缩,导致出现误操作的情况的几率较大。Many mobile terminals support the split-screen function. For example, if the user wants to chat with two chat partners at the same time, and the two chat partners belong to different social applications, the chat interface of the two social applications can be displayed on the mobile terminal in split screen, so that the chatting interface of the two chat partners can be realized. chat at the same time. In the prior art, when a user chats with a certain chat partner, the keyboard interface will be displayed in the current chat interface, and the keyboard interface will be compressed, which is prone to misoperation when the user clicks. Therefore, in the prior art, when multiple chatting interfaces are displayed on a split screen, there is a high probability of misoperation due to the compression of the keyboard interface.
发明内容Contents of the invention
本发明实施例提供一种键盘界面显示方法和移动终端,以解决现有技术中,分屏显示多个聊天界面时,由于键盘界面被压缩,导致出现误操作的情况的几率较大的问题。Embodiments of the present invention provide a method for displaying a keyboard interface and a mobile terminal to solve the problem in the prior art that when multiple chat interfaces are displayed on a split screen, there is a high probability of misoperation due to the compression of the keyboard interface.
为了解决上述技术问题,本发明是这样实现的:In order to solve the problems of the technologies described above, the present invention is achieved in that:
第一方面,本发明实施例提供了一种键盘界面显示方法,应用于移动终端,所述方法包括:In a first aspect, an embodiment of the present invention provides a method for displaying a keyboard interface, which is applied to a mobile terminal, and the method includes:
对第一显示界面和第二显示界面进行分屏显示;performing split-screen display on the first display interface and the second display interface;
接收对所述第一显示界面的目标操作,所述目标操作用于触发显示键盘界面;receiving a target operation on the first display interface, where the target operation is used to trigger display of a keyboard interface;
响应于所述目标操作,在所述第二显示界面对应的区域显示所述键盘界面。In response to the target operation, the keyboard interface is displayed in a region corresponding to the second display interface.
第二方面,本发明实施例还提供一种移动终端,包括:In the second aspect, the embodiment of the present invention also provides a mobile terminal, including:
第一显示模块,用于对第一显示界面和第二显示界面进行分屏显示;The first display module is configured to display the first display interface and the second display interface in split screens;
第一接收模块,用于接收对所述第一显示界面的目标操作,所述目标操作用于触发显示键盘界面;A first receiving module, configured to receive a target operation on the first display interface, where the target operation is used to trigger the display of a keyboard interface;
第二显示模块,用于响应于所述目标操作,在所述第二显示界面对应的区域显示所述键盘界面。The second display module is configured to display the keyboard interface in a region corresponding to the second display interface in response to the target operation.
第三方面,本发明实施例还提供一种移动终端,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现上述键盘界面显示方法的步骤。In the third aspect, the embodiment of the present invention also provides a mobile terminal, including a processor, a memory, and a computer program stored in the memory and operable on the processor, and the computer program is executed by the processor The steps of realizing the above keyboard interface display method at the same time.
第四方面,本发明实施例还提供一种计算机可读取存储介质,所述计算机可读取存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现上述键盘界面显示方法的步骤。In a fourth aspect, an embodiment of the present invention also provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above keyboard interface display method are implemented .
这样,本发明实施例中,对第一显示界面和第二显示界面进行分屏显示;接收对所述第一显示界面的目标操作,所述目标操作用于触发显示键盘界面;响应于所述目标操作,在所述第二显示界面对应的区域显示所述键盘界面。这样,接收到对第一显示界面的目标操作之后,可以在第二显示界面对应的区域显示键盘界面。可以避免分屏显示状态下对键盘界面的压缩,降低由于键盘界面过小导致误操作的几率。In this way, in the embodiment of the present invention, the first display interface and the second display interface are displayed in split screens; the target operation on the first display interface is received, and the target operation is used to trigger the display of the keyboard interface; in response to the The target operation is to display the keyboard interface in the area corresponding to the second display interface. In this way, after receiving the target operation on the first display interface, the keyboard interface may be displayed in the area corresponding to the second display interface. It can avoid the compression of the keyboard interface in the split-screen display state, and reduce the probability of misoperation caused by the keyboard interface being too small.
附图说明Description of drawings
图1是本发明实施例提供的一种键盘界面显示方法的流程图;Fig. 1 is a flow chart of a keyboard interface display method provided by an embodiment of the present invention;
图2是本发明实施例提供的选择至少两个聊天对象的示意图;Fig. 2 is a schematic diagram of selecting at least two chat objects provided by an embodiment of the present invention;
图3是本发明实施例提供的将张三和家人选择为聊天对象的示意图;Fig. 3 is a schematic diagram of selecting Zhang San and his family members as chat objects provided by the embodiment of the present invention;
图4是本发明实施例提供的一种分屏显示张三和家人所对应的两个聊天界面的示意图;Fig. 4 is a schematic diagram of a split-screen display of two chatting interfaces corresponding to Zhang San and his family members provided by an embodiment of the present invention;
图5是本发明实施例提供的另一种分屏显示张三和家人所对应的两个聊天界面的示意图;Fig. 5 is a schematic diagram of another split-screen display of two chatting interfaces corresponding to Zhang San and his family members provided by an embodiment of the present invention;
图6是本发明实施例提供的在第一显示界面内的输入框内显示输入光标,并在其他聊天界面内显示键盘界面的示意图;6 is a schematic diagram of displaying an input cursor in an input box in a first display interface and displaying a keyboard interface in another chat interface provided by an embodiment of the present invention;
图7是本发明实施例提供的另一种键盘界面显示方法的流程图;Fig. 7 is a flow chart of another keyboard interface display method provided by an embodiment of the present invention;
图8a是本发明实施例提供的接收对第一显示界面内的第一消息内容的第一拖动操作的示意图;Fig. 8a is a schematic diagram of receiving a first drag operation on the first message content in the first display interface according to an embodiment of the present invention;
图8b是本发明实施例提供的将第一消息内容拖动至第二显示界面的输入框内的示意图;Fig. 8b is a schematic diagram of dragging the content of the first message into the input box of the second display interface provided by the embodiment of the present invention;
图8c是本发明实施例提供的在第二显示界面发送第一消息内容的示意图;Fig. 8c is a schematic diagram of sending the content of the first message on the second display interface according to an embodiment of the present invention;
图9是本发明实施例提供的另一种键盘界面显示方法的流程图;FIG. 9 is a flow chart of another method for displaying a keyboard interface provided by an embodiment of the present invention;
图10a是本发明实施例提供的接收对第一显示界面内的第二消息内容的第二拖动操作的示意图;Fig. 10a is a schematic diagram of receiving a second drag operation on the second message content in the first display interface according to an embodiment of the present invention;
图10b是本发明实施例提供的在第二显示界面发送第二消息内容的示意图;Fig. 10b is a schematic diagram of sending a second message content on a second display interface according to an embodiment of the present invention;
图11是本发明实施例提供的一种移动终端的结构图;FIG. 11 is a structural diagram of a mobile terminal provided by an embodiment of the present invention;
图12是本发明实施例提供的另一种移动终端的结构图;FIG. 12 is a structural diagram of another mobile terminal provided by an embodiment of the present invention;
图13是本发明实施例提供的另一种移动终端的结构图;FIG. 13 is a structural diagram of another mobile terminal provided by an embodiment of the present invention;
图14是本发明实施例提供的另一种移动终端的结构图;FIG. 14 is a structural diagram of another mobile terminal provided by an embodiment of the present invention;
图15是本发明实施例提供的另一种移动终端的结构图;FIG. 15 is a structural diagram of another mobile terminal provided by an embodiment of the present invention;
图16是本发明实施例提供的一种移动终端的硬件结构示意图。Fig. 16 is a schematic diagram of a hardware structure of a mobile terminal provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
参见图1,图1是本发明实施例提供的一种键盘界面显示方法的流程图,应用于移动终端。如图1所示,包括以下步骤:Referring to FIG. 1 , FIG. 1 is a flow chart of a method for displaying a keyboard interface provided by an embodiment of the present invention, which is applied to a mobile terminal. As shown in Figure 1, the following steps are included:
步骤101、对第一显示界面和第二显示界面进行分屏显示。Step 101, performing split-screen display on the first display interface and the second display interface.
在步骤101中,如果用户选择开启即时通信应用的分屏显示功能,可以在即时通信应用的通讯录中的每个联系人的前面显示一个选择按钮,通过这些选择按钮可以选择同时聊天的至少两个聊天对象。如图2所示,为选择至少两个聊天对象的示意图。至少两个聊天对象,可以为两个聊天对象,也可以为三个聊天对象等等。在接下来的叙述中,均以两个聊天对象为例进行说明。In step 101, if the user chooses to enable the split-screen display function of the instant messaging application, a selection button may be displayed in front of each contact in the address book of the instant messaging application, through which at least two contacts who are chatting at the same time can be selected. people to chat with. As shown in FIG. 2 , it is a schematic diagram of selecting at least two chat objects. At least two chatting objects, may be two chatting objects, may also be three chatting objects and so on. In the following descriptions, two chat objects are taken as examples for illustration.
如果用户想选择张三和家人这两个联系人作为聊天对象,可以点击张三前面的选择按钮以及家人前面的选择按钮,此时移动终端会接收到分屏指令。假设同时与张三和家人聊天的用户为甲用户。If the user wants to select two contacts, Zhang San and his family, as chat objects, he can click the selection button in front of Zhang San and the selection button in front of his family, and the mobile terminal will receive a split-screen instruction at this time. Assume that the user chatting with Zhang San and his family at the same time is user A.
进而移动终端可以响应于上述分屏指令,确定两个目标联系人,即可以选择两个聊天对象。移动终端响应于接收到的分屏指令,可以将张三和家人这两个联系人选择为聊天对象。如图3所示,为将张三和家人选择为聊天对象的示意图。在图3中,张三前面的选择按钮以及家人前面的选择按钮都已被选中。Furthermore, the mobile terminal can determine two target contacts in response to the above screen splitting instruction, that is, two chatting objects can be selected. In response to the received split-screen instruction, the mobile terminal can select two contacts, Zhang San and his family members, as chatting objects. As shown in FIG. 3 , it is a schematic diagram of selecting Zhang San and his family members as chat objects. In Figure 3, the selection buttons in front of Zhang San and the selection buttons in front of the family members have all been selected.
移动终端可以分屏显示两个目标联系人所一一对应的第一显示界面和第二显示界面,即移动终端可以分屏显示张三和家人所对应的两个聊天界面。移动终端可以判断当前显示状态为横屏显示状态,还是竖屏显示状态。如果移动终端判断出当前显示状态为竖屏显示状态,则可以将屏幕划分为上下两个部分,将张三和家人所对应的两个聊天界面分别显示在屏幕的上半部分以及屏幕的下半部分。如图4所示,为一种分屏显示张三和家人所对应的两个聊天界面的示意图。在图4中,在移动终端屏幕的上半部分显示张三对应的聊天界面;在移动终端屏幕的下半部分显示家人对应的聊天界面。The mobile terminal can split the screen to display the first display interface and the second display interface corresponding to the two target contacts, that is, the mobile terminal can split the screen to display the two chat interfaces corresponding to Zhang San and his family members. The mobile terminal can determine whether the current display state is a horizontal screen display state or a vertical screen display state. If the mobile terminal determines that the current display state is a vertical screen display state, the screen can be divided into upper and lower parts, and the two chat interfaces corresponding to Zhang San and his family are displayed on the upper half of the screen and the lower half of the screen respectively part. As shown in FIG. 4 , it is a schematic diagram of split-screen displaying two chat interfaces corresponding to Zhang San and his family members. In FIG. 4 , the chat interface corresponding to Zhang San is displayed on the upper half of the screen of the mobile terminal; the chat interface corresponding to family members is displayed on the lower half of the screen of the mobile terminal.
如果移动终端判断出当前显示状态为横屏显示状态,则可以将屏幕划分为左右两个部分,将张三和家人所对应的两个聊天界面分别显示在屏幕的左半部分以及屏幕的右半部分。如图5所示,为另一种分屏显示张三和家人所对应的两个聊天界面的示意图。在图5中,在移动终端屏幕的左半部分显示张三对应的聊天界面;在移动终端屏幕的右半部分显示家人对应的聊天界面。这样,就可以实现同时和张三以及家人聊天。If the mobile terminal judges that the current display state is a horizontal screen display state, the screen can be divided into left and right parts, and the two chat interfaces corresponding to Zhang San and his family are displayed on the left half of the screen and the right half of the screen respectively part. As shown in FIG. 5 , it is another schematic diagram of split-screen displaying two chat interfaces corresponding to Zhang San and his family members. In FIG. 5 , the chat interface corresponding to Zhang San is displayed on the left half of the screen of the mobile terminal; the chat interface corresponding to family members is displayed on the right half of the screen of the mobile terminal. In this way, it is possible to chat with Zhang San and his family at the same time.
步骤102、接收对所述第一显示界面的目标操作,所述目标操作用于触发显示键盘界面。Step 102. Receive a target operation on the first display interface, where the target operation is used to trigger the display of a keyboard interface.
在步骤102中,移动终端可以接收对第一显示界面的目标操作,该目标操作用于触发显示键盘界面。用户可以使用该键盘编辑消息内容,并在第一显示界面内发送编辑好的消息内容。In step 102, the mobile terminal may receive a target operation on the first display interface, where the target operation is used to trigger the display of the keyboard interface. The user can use the keyboard to edit message content, and send the edited message content in the first display interface.
例如,移动终端可以接收对第一显示界面内的输入框的触摸操作。仍以图5为例,在图5中,可以将家人对应的聊天界面作为第一显示界面。用户可以点击家人对应的聊天界面内的输入框,此时会接收到对家人对应的聊天界面内的输入框的触摸操作,即会接收到对第一显示界面内的输入框的目标操作。For example, the mobile terminal may receive a touch operation on the input box in the first display interface. Still taking FIG. 5 as an example, in FIG. 5 , the chatting interface corresponding to family members may be used as the first display interface. The user can click the input box in the chat interface corresponding to the family member, and at this time, a touch operation on the input box in the chat interface corresponding to the family member will be received, that is, a target operation on the input box in the first display interface will be received.
步骤103、响应于所述目标操作,在所述第二显示界面对应的区域显示所述键盘界面。Step 103: In response to the target operation, display the keyboard interface in a region corresponding to the second display interface.
在步骤103中,移动终端响应于接收到的目标操作,可以在第二显示界面对应的区域显示键盘界面。即可以根据接收到的目标操作,在家人对应的聊天界面内的输入框内显示输入光标,并在张三对应的聊天界面内显示键盘界面。且如果移动终端检测到输入光标消失,则键盘界面也会相应消失。如图6所示,为在第一显示界面内的输入框内显示输入光标,并在其他聊天界面内显示键盘界面的示意图。这样,用户在与至少两个聊天对象中的一个聊天对象聊天时,可以在除当前聊天界面之外的其他聊天界面内显示键盘界面。例如,用户在与家人聊天时,可以在张三对应的聊天界面内显示键盘界面。可以避免键盘界面对当前聊天界面的遮挡,还可以避免分屏显示状态下对键盘界面的压缩,降低由于键盘界面过小导致误操作的几率。In step 103, in response to the received target operation, the mobile terminal may display a keyboard interface in a region corresponding to the second display interface. That is, according to the received target operation, the input cursor can be displayed in the input box in the chat interface corresponding to the family member, and the keyboard interface can be displayed in the chat interface corresponding to Zhang San. And if the mobile terminal detects that the input cursor disappears, the keyboard interface will disappear accordingly. As shown in FIG. 6 , it is a schematic diagram of displaying an input cursor in an input box in the first display interface and displaying a keyboard interface in other chat interfaces. In this way, when the user is chatting with one of the at least two chatting objects, the keyboard interface can be displayed in other chatting interfaces except the current chatting interface. For example, when the user is chatting with family members, a keyboard interface can be displayed in the chat interface corresponding to Zhang San. It can avoid the keyboard interface from blocking the current chat interface, and can also avoid the compression of the keyboard interface in the split-screen display state, reducing the chance of misoperation due to the keyboard interface being too small.
本发明实施例中,上述移动终端可以是手机、平板电脑(Tablet PersonalComputer)、膝上型电脑(Laptop Computer)、个人数字助理(personal digitalassistant,简称PDA)、移动上网装置(Mobile Internet Device,MID)或可穿戴式设备(Wearable Device)等。In the embodiment of the present invention, the above-mentioned mobile terminal may be a mobile phone, a tablet computer (Tablet PersonalComputer), a laptop computer (Laptop Computer), a personal digital assistant (personal digital assistant, PDA for short), a mobile Internet device (Mobile Internet Device, MID) Or wearable device (Wearable Device), etc.
本发明实施例的键盘界面显示方法,应用于移动终端。对第一显示界面和第二显示界面进行分屏显示;接收对所述第一显示界面的目标操作,所述目标操作用于触发显示键盘界面;响应于所述目标操作,在所述第二显示界面对应的区域显示所述键盘界面。这样,接收到对第一显示界面的目标操作之后,可以在第二显示界面对应的区域显示键盘界面。可以避免分屏显示状态下对键盘界面的压缩,降低由于键盘界面过小导致误操作的几率。The keyboard interface display method of the embodiment of the present invention is applied to a mobile terminal. performing split-screen display on the first display interface and the second display interface; receiving a target operation on the first display interface, where the target operation is used to trigger the display of a keyboard interface; in response to the target operation, in the second The area corresponding to the display interface displays the keyboard interface. In this way, after receiving the target operation on the first display interface, the keyboard interface may be displayed in the area corresponding to the second display interface. It can avoid the compression of the keyboard interface in the split-screen display state, and reduce the probability of misoperation caused by the keyboard interface being too small.
参见图7,图7是本发明实施例提供的另一种键盘界面显示方法的流程图,应用于移动终端。本实施例与前一个实施例的主要区别在于如果接收到对第一显示界面内的第一消息内容的第一拖动操作,则响应于第一拖动操作,可以将第一消息内容显示在第二显示界面的输入框内。如图7所示,包括以下步骤:Referring to FIG. 7, FIG. 7 is a flow chart of another method for displaying a keyboard interface provided by an embodiment of the present invention, which is applied to a mobile terminal. The main difference between this embodiment and the previous embodiment is that if a first drag operation on the first message content in the first display interface is received, then in response to the first drag operation, the first message content can be displayed on the In the input box of the second display interface. As shown in Figure 7, the following steps are included:
步骤701、对第一显示界面和第二显示界面进行分屏显示。Step 701, performing split-screen display on the first display interface and the second display interface.
在步骤701中,社交应用可以为即时通信应用,如果用户选择开启即时通信应用的分屏显示功能,可以在即时通信应用的通讯录中的每个联系人的前面显示一个选择按钮,通过这些选择按钮可以选择同时聊天的至少两个聊天对象。至少两个聊天对象,可以为两个聊天对象,也可以为三个聊天对象等等。在接下来的叙述中,均以两个聊天对象为例进行说明。In step 701, the social application can be an instant messaging application. If the user chooses to enable the split-screen display function of the instant messaging application, a selection button can be displayed in front of each contact in the address book of the instant messaging application. button to select at least two chat partners who are chatting at the same time. At least two chatting objects, may be two chatting objects, may also be three chatting objects and so on. In the following descriptions, two chat objects are taken as examples for illustration.
可选的,所述对第一显示界面和第二显示界面进行分屏显示,包括:Optionally, the split-screen display of the first display interface and the second display interface includes:
接收分屏指令;Receive split-screen instructions;
响应于所述分屏指令,确定两个目标联系人;determining two target contacts in response to the split-screen instruction;
分屏显示所述两个目标联系人所一一对应的第一显示界面和第二显示界面。The first display interface and the second display interface corresponding to the two target contacts are displayed on a split screen.
仍以图2为例,如果用户想选择张三和家人这两个联系人作为聊天对象,可以点击图2中张三前面的选择按钮以及家人前面的选择按钮,此时移动终端会接收到分屏指令。假设同时与张三和家人聊天的用户为甲用户。Still taking Fig. 2 as an example, if the user wants to select the two contacts of Zhang San and his family as the chat object, he can click the selection button in front of Zhang San and the selection button in front of the family in Fig. screen commands. Assume that the user chatting with Zhang San and his family at the same time is user A.
进而移动终端可以响应于上述分屏指令,确定两个目标联系人,即可以选择两个聊天对象。移动终端响应于接收到的分屏指令,可以将张三和家人这两个联系人选择为聊天对象。仍以图3为例。在图3中,张三前面的选择按钮以及家人前面的选择按钮都已被选中。Furthermore, the mobile terminal can determine two target contacts in response to the above screen splitting instruction, that is, two chatting objects can be selected. In response to the received split-screen instruction, the mobile terminal can select two contacts, Zhang San and his family members, as chatting objects. Still take Figure 3 as an example. In Figure 3, the selection buttons in front of Zhang San and the selection buttons in front of the family members have all been selected.
移动终端可以分屏显示两个目标联系人所一一对应的第一显示界面和第二显示界面,即移动终端可以分屏显示张三和家人所对应的两个聊天界面。The mobile terminal can split the screen to display the first display interface and the second display interface corresponding to the two target contacts, that is, the mobile terminal can split the screen to display the two chat interfaces corresponding to Zhang San and his family members.
可选的,所述确定两个目标联系人,包括:Optionally, the determining two target contacts includes:
根据通讯记录中各联系人的通讯频率、通讯时间、通讯时长和/或通讯次数,确定第一目标联系人和第二目标联系人。The first target contact and the second target contact are determined according to the communication frequency, communication time, communication duration and/or communication times of each contact in the communication record.
需要说明的是,还可以根据通讯记录中各联系人的通讯频率、通讯时间、通讯时长和/或通讯次数,确定第一目标联系人和第二目标联系人。例如,可以将通讯次数排在前两位的两个联系人确定为第一目标联系人和第二目标联系人;可以将通讯时间接近当前时刻的两个联系人确定为第一目标联系人和第二目标联系人等等。It should be noted that the first target contact and the second target contact may also be determined according to the communication frequency, communication time, communication duration and/or communication times of each contact in the communication record. For example, the two contacts with the top two communication times can be determined as the first target contact and the second target contact; the two contacts whose communication time is close to the current moment can be determined as the first target contact and the second target contact. second target contact and so on.
可选的,所述对第一显示界面和第二显示界面进行分屏显示,包括:Optionally, the split-screen display of the first display interface and the second display interface includes:
若所述移动终端处于横屏显示状态,则对第一显示界面和第二显示界面进行分屏显示。If the mobile terminal is in a landscape display state, split-screen display is performed on the first display interface and the second display interface.
进一步的,可以判断移动终端是否处于横屏显示状态。如果移动终端判断出当前显示状态为横屏显示状态,则可以对第一显示界面和第二显示界面进行分屏显示。即可以将屏幕划分为左右两个部分,将张三和家人所对应的两个聊天界面分别显示在屏幕的左半部分以及屏幕的右半部分。仍以图5为例。在图5中,在移动终端屏幕的左半部分显示张三对应的聊天界面;在移动终端屏幕的右半部分显示家人对应的聊天界面。Further, it may be determined whether the mobile terminal is in a horizontal screen display state. If the mobile terminal determines that the current display state is the horizontal screen display state, the first display interface and the second display interface may be displayed in split screens. That is, the screen can be divided into left and right parts, and the two chat interfaces corresponding to Zhang San and his family are displayed on the left half of the screen and the right half of the screen respectively. Still take Figure 5 as an example. In FIG. 5 , the chat interface corresponding to Zhang San is displayed on the left half of the screen of the mobile terminal; the chat interface corresponding to family members is displayed on the right half of the screen of the mobile terminal.
如果移动终端判断出当前显示状态为竖屏显示状态,则可以将屏幕划分为上下两个部分,将张三和家人所对应的两个聊天界面分别显示在屏幕的上半部分以及屏幕的下半部分。仍以图4为例。在图4中,在移动终端屏幕的上半部分显示张三对应的聊天界面;在移动终端屏幕的下半部分显示家人对应的聊天界面。这样,就可以实现同时和张三以及家人聊天。If the mobile terminal determines that the current display state is a vertical screen display state, the screen can be divided into upper and lower parts, and the two chat interfaces corresponding to Zhang San and his family are displayed on the upper half of the screen and the lower half of the screen respectively part. Still take Figure 4 as an example. In FIG. 4 , the chat interface corresponding to Zhang San is displayed on the upper half of the screen of the mobile terminal; the chat interface corresponding to family members is displayed on the lower half of the screen of the mobile terminal. In this way, it is possible to chat with Zhang San and his family at the same time.
步骤702、接收对所述第一显示界面的目标操作,所述目标操作用于触发显示键盘界面。Step 702. Receive a target operation on the first display interface, where the target operation is used to trigger the display of a keyboard interface.
在步骤702中,移动终端可以接收对第一显示界面的目标操作,该目标操作用于触发显示键盘界面。用户可以使用该键盘编辑消息内容,并在第一显示界面内发送编辑好的消息内容。In step 702, the mobile terminal may receive a target operation on the first display interface, where the target operation is used to trigger the display of the keyboard interface. The user can use the keyboard to edit message content, and send the edited message content in the first display interface.
例如,移动终端可以接收对第一显示界面内的输入框的触摸操作。仍以图5为例,在图5中,可以将家人对应的聊天界面作为第一显示界面。用户可以点击家人对应的聊天界面内的输入框,此时会接收到对家人对应的聊天界面内的输入框的触摸操作,即会接收到对第一显示界面内的输入框的目标操作。For example, the mobile terminal may receive a touch operation on the input box in the first display interface. Still taking FIG. 5 as an example, in FIG. 5 , the chatting interface corresponding to family members may be used as the first display interface. The user can click the input box in the chat interface corresponding to the family member, and at this time, a touch operation on the input box in the chat interface corresponding to the family member will be received, that is, a target operation on the input box in the first display interface will be received.
步骤703、响应于所述目标操作,在所述第二显示界面对应的区域显示所述键盘界面。Step 703: In response to the target operation, display the keyboard interface in the area corresponding to the second display interface.
在步骤703中,移动终端响应于接收到的目标操作,可以在第二显示界面对应的区域显示键盘界面。即可以根据接收到的目标操作,在家人对应的聊天界面内的输入框内显示输入光标,并在张三对应的聊天界面内显示键盘界面。且如果移动终端检测到输入光标消失,则键盘界面也会相应消失。如图6所示,为在第一显示界面内的输入框内显示输入光标,并在其他聊天界面内显示键盘界面的示意图。这样,用户在与至少两个聊天对象中的一个聊天对象聊天时,可以在除当前聊天界面之外的其他聊天界面内显示键盘界面。例如,用户在与家人聊天时,可以在张三对应的聊天界面内显示键盘界面。可以避免键盘界面对当前聊天界面的遮挡,还可以避免分屏显示状态下对键盘界面的压缩,降低由于键盘界面过小导致误操作的几率。In step 703, in response to the received target operation, the mobile terminal may display a keyboard interface in a region corresponding to the second display interface. That is, according to the received target operation, the input cursor can be displayed in the input box in the chat interface corresponding to the family member, and the keyboard interface can be displayed in the chat interface corresponding to Zhang San. And if the mobile terminal detects that the input cursor disappears, the keyboard interface will disappear accordingly. As shown in FIG. 6 , it is a schematic diagram of displaying an input cursor in an input box in the first display interface and displaying a keyboard interface in other chat interfaces. In this way, when the user is chatting with one of the at least two chatting objects, the keyboard interface can be displayed in other chatting interfaces except the current chatting interface. For example, when the user is chatting with family members, a keyboard interface can be displayed in the chat interface corresponding to Zhang San. It can avoid the keyboard interface from blocking the current chat interface, and can also avoid the compression of the keyboard interface in the split-screen display state, reducing the chance of misoperation due to the keyboard interface being too small.
步骤704、接收对所述第一显示界面内的第一消息内容的第一拖动操作。Step 704. Receive a first drag operation on the first message content in the first display interface.
在步骤704中,移动终端可以接收对第一显示界面内的第一消息内容的第一拖动操作。例如,如图8a所示,为接收对第一显示界面内的第一消息内容的第一拖动操作的示意图。假设张三对应的聊天界面为第一显示界面。在图8a中,甲正在和张三以及家人讨论出去旅游的事,甲想去塞班岛旅游,就在8:02这个时刻向张三发了一条消息:“你觉得塞班岛怎么样?”。In step 704, the mobile terminal may receive a first drag operation on the first message content in the first display interface. For example, as shown in FIG. 8a, it is a schematic diagram of receiving a first drag operation on the first message content in the first display interface. It is assumed that the chat interface corresponding to Zhang San is the first display interface. In Figure 8a, A is discussing travel with Zhang San and his family. A wants to travel to Saipan, so he sends a message to Zhang San at 8:02: "What do you think of Saipan?".
就在8:03这个时刻,家人发了一条消息:“呆着呢。想去哪里旅游啊?”。此时,用户可以将张三对应的第一显示界面内的“你觉得塞班岛怎么样?”这条消息内容向家人对应的聊天界面内拖动,即移动终端可以接收对第一显示界面内的“你觉得塞班岛怎么样?”这条第一消息内容的第一拖动操作。At the moment of 8:03, the family sent a message: "Stay here. Where do you want to travel?". At this time, the user can drag the content of the message "What do you think of Saipan?" in the first display interface corresponding to Zhang San to the chat interface corresponding to the family, that is, the mobile terminal can receive the message on the first display interface. The first drag operation of the first message content of "What do you think of Saipan?"
步骤705、响应于所述第一拖动操作,将所述第一消息内容显示在所述第二显示界面的输入框内。Step 705: In response to the first dragging operation, display the first message content in an input box on the second display interface.
在步骤705中,移动终端可以响应于第一拖动操作,将第一消息内容显示在第二显示界面的输入框内。即移动终端可以根据第一拖动操作,将张三对应的第一显示界面内的“你觉得塞班岛怎么样?”这条消息内容拖动至家人对应的聊天界面的输入框内。如图8b所示,为将第一消息内容拖动至第二显示界面的输入框内的示意图。In step 705, the mobile terminal may display the first message content in the input box of the second display interface in response to the first drag operation. That is, according to the first drag operation, the mobile terminal can drag the content of the message "What do you think of Saipan?" in the first display interface corresponding to Zhang San to the input box of the chat interface corresponding to the family. As shown in FIG. 8b , it is a schematic diagram of dragging the content of the first message into the input box of the second display interface.
移动终端可以在第二显示界面内对第一消息内容进行编辑,并在第二显示界面发送编辑后的消息内容;或者,也可以直接在第二显示界面发送第一消息内容。即移动终端可以在家人对应的第二显示界面内对“你觉得塞班岛怎么样?”这条第一消息内容进行编辑,并在家人对应的第二显示界面发送编辑后的消息内容;或者,也可以直接在家人对应的第二显示界面发送“你觉得塞班岛怎么样?”这条第一消息内容。例如,如果用户选择不对“你觉得塞班岛怎么样?”这条第一消息内容进行编辑,则可以点击家人对应的第二显示界面的输入框右边的发送按钮,此时会在家人对应的第二显示界面发送“你觉得塞班岛怎么样?”这条第一消息内容。如图8c所示,为在第二显示界面发送第一消息内容的示意图。这样,当同时与至少两个聊天对象聊天时,如果聊天内容相近,则可以直接将一个聊天界面内的消息内容拖动至另一个聊天界面的输入框内。进而用户可以选择对该消息内容进行编辑,并在另一个聊天界面发送编辑后的消息内容;或者,也可以选择在另一个聊天界面直接发送该消息内容。避免了在不同聊天界面内重复输入相似消息内容的过程,方便快捷。The mobile terminal can edit the content of the first message on the second display interface, and send the edited message content on the second display interface; or, can also directly send the first message content on the second display interface. That is, the mobile terminal can edit the content of the first message "What do you think of Saipan?" in the second display interface corresponding to the family, and send the edited message content on the second display interface corresponding to the family; or , you can also directly send the content of the first message "What do you think of Saipan?" on the second display interface corresponding to the family. For example, if the user chooses not to edit the content of the first message "What do you think of Saipan?", he can click the send button on the right side of the input box on the second display interface corresponding to the family, and the message will be displayed on the corresponding The second display interface sends the content of the first message "What do you think of Saipan?" As shown in FIG. 8c, it is a schematic diagram of sending the content of the first message on the second display interface. In this way, when chatting with at least two chatting partners at the same time, if the chatting content is similar, the message content in one chatting interface can be directly dragged into the input box of another chatting interface. Further, the user may choose to edit the message content, and send the edited message content in another chat interface; or, may also choose to directly send the message content in another chat interface. The process of repeatedly inputting similar message content in different chat interfaces is avoided, which is convenient and fast.
可选的,所述方法还包括:Optionally, the method also includes:
接收对所述键盘界面的第三拖动操作;receiving a third drag operation on the keyboard interface;
响应于所述第三拖动操作,将所述键盘界面显示在所述第一显示界面对应的区域,并在所述第二显示界面的输入区域显示操作焦点。In response to the third dragging operation, the keyboard interface is displayed in the area corresponding to the first display interface, and the operation focus is displayed in the input area of the second display interface.
移动终端还可以接收对键盘界面的第三拖动操作。进而移动终端可以响应于第三拖动操作,将键盘界面显示在第一显示界面对应的区域,并在第二显示界面的输入区域显示操作焦点。例如,仍以图6为例,在图6中,键盘界面显示于第二显示界面对应的区域,即键盘界面显示于张三对应的聊天界面内,家人对应的聊天界面为第一显示界面。移动终端可以接收对键盘界面的第三拖动操作。进而移动终端可以响应于第三拖动操作,将键盘界面显示在第一显示界面对应的区域,即可以将键盘界面显示于家人对应的聊天界面内。并且可以在第二显示界面的输入区域显示操作焦点,即可以在张三对应的聊天界面的输入框内显示输入光标。The mobile terminal may also receive a third drag operation on the keyboard interface. Furthermore, in response to the third drag operation, the mobile terminal may display the keyboard interface in the area corresponding to the first display interface, and display the operation focus in the input area of the second display interface. For example, still taking FIG. 6 as an example, in FIG. 6, the keyboard interface is displayed in the area corresponding to the second display interface, that is, the keyboard interface is displayed in the chat interface corresponding to Zhang San, and the chat interface corresponding to family members is the first display interface. The mobile terminal may receive a third drag operation on the keyboard interface. Furthermore, the mobile terminal may display the keyboard interface in the area corresponding to the first display interface in response to the third drag operation, that is, the keyboard interface may be displayed in the chat interface corresponding to the family members. And the operation focus can be displayed in the input area of the second display interface, that is, the input cursor can be displayed in the input box of the chat interface corresponding to Zhang San.
本发明实施例的键盘界面显示方法,应用于移动终端。接收到对第一显示界面的目标操作之后,可以在第二显示界面对应的区域显示键盘界面。可以避免分屏显示状态下对键盘界面的压缩,降低由于键盘界面过小导致误操作的几率。进一步的,当同时与至少两个聊天对象聊天时,如果聊天内容相近,则可以直接将一个聊天界面内的消息内容拖动至另一个聊天界面的输入框内。进而用户可以选择对该消息内容进行编辑,并在另一个聊天界面发送编辑后的消息内容;或者,也可以选择在另一个聊天界面直接发送该消息内容。避免了在不同聊天界面内重复输入相似消息内容的过程,方便快捷。The keyboard interface display method of the embodiment of the present invention is applied to a mobile terminal. After receiving a target operation on the first display interface, a keyboard interface may be displayed in a region corresponding to the second display interface. It can avoid the compression of the keyboard interface in the split-screen display state, and reduce the probability of misoperation caused by the keyboard interface being too small. Further, when chatting with at least two chatting partners at the same time, if the chatting content is similar, the message content in one chatting interface can be directly dragged into the input box of another chatting interface. Further, the user may choose to edit the message content, and send the edited message content in another chat interface; or, may also choose to directly send the message content in another chat interface. The process of repeatedly inputting similar message content in different chat interfaces is avoided, which is convenient and fast.
参见图9,图9是本发明实施例提供的另一种键盘界面显示方法的流程图,应用于移动终端。本实施例与前一个实施例的主要区别在于如果接收到对第一显示界面内的第二消息内容的第二拖动操作,则响应于第二拖动操作,可以在第二显示界面发送第二消息内容。如图9所示,包括以下步骤:Referring to FIG. 9, FIG. 9 is a flow chart of another method for displaying a keyboard interface provided by an embodiment of the present invention, which is applied to a mobile terminal. The main difference between this embodiment and the previous embodiment is that if a second drag operation on the second message content in the first display interface is received, in response to the second drag operation, the second message content can be sent on the second display interface. 2. Content of the message. As shown in Figure 9, the following steps are included:
步骤901、对第一显示界面和第二显示界面进行分屏显示。Step 901, performing split-screen display on the first display interface and the second display interface.
在步骤901中,社交应用可以为即时通信应用,如果用户选择开启即时通信应用的分屏显示功能,可以在即时通信应用的通讯录中的每个联系人的前面显示一个选择按钮,通过这些选择按钮可以选择同时聊天的至少两个聊天对象。至少两个聊天对象,可以为两个聊天对象,也可以为三个聊天对象等等。在接下来的叙述中,均以两个聊天对象为例进行说明。In step 901, the social application can be an instant messaging application. If the user chooses to enable the split-screen display function of the instant messaging application, a selection button can be displayed in front of each contact in the address book of the instant messaging application. button to select at least two chat partners who are chatting at the same time. At least two chatting objects, may be two chatting objects, may also be three chatting objects and so on. In the following descriptions, two chat objects are taken as examples for illustration.
可选的,所述对第一显示界面和第二显示界面进行分屏显示,包括:Optionally, the split-screen display of the first display interface and the second display interface includes:
接收分屏指令;Receive split-screen instructions;
响应于所述分屏指令,确定两个目标联系人;determining two target contacts in response to the split-screen instruction;
分屏显示所述两个目标联系人所一一对应的第一显示界面和第二显示界面。The first display interface and the second display interface corresponding to the two target contacts are displayed on a split screen.
仍以图2为例,如果用户想选择张三和家人这两个联系人作为聊天对象,可以点击图2中张三前面的选择按钮以及家人前面的选择按钮,此时移动终端会接收到分屏指令。假设同时与张三和家人聊天的用户为甲用户。Still taking Fig. 2 as an example, if the user wants to select the two contacts of Zhang San and his family as the chat object, he can click the selection button in front of Zhang San and the selection button in front of the family in Fig. screen commands. Assume that the user chatting with Zhang San and his family at the same time is user A.
进而移动终端可以响应于上述分屏指令,确定两个目标联系人,即可以选择两个聊天对象。移动终端响应于接收到的分屏指令,可以将张三和家人这两个联系人选择为聊天对象。仍以图3为例。在图3中,张三前面的选择按钮以及家人前面的选择按钮都已被选中。Furthermore, the mobile terminal can determine two target contacts in response to the above screen splitting instruction, that is, two chatting objects can be selected. In response to the received split-screen instruction, the mobile terminal can select two contacts, Zhang San and his family members, as chatting objects. Still take Figure 3 as an example. In Figure 3, the selection buttons in front of Zhang San and the selection buttons in front of the family members have all been selected.
移动终端可以分屏显示两个目标联系人所一一对应的第一显示界面和第二显示界面,即移动终端可以分屏显示张三和家人所对应的两个聊天界面。The mobile terminal can split the screen to display the first display interface and the second display interface corresponding to the two target contacts, that is, the mobile terminal can split the screen to display the two chat interfaces corresponding to Zhang San and his family members.
可选的,所述确定两个目标联系人,包括:Optionally, the determining two target contacts includes:
根据通讯记录中各联系人的通讯频率、通讯时间、通讯时长和/或通讯次数,确定第一目标联系人和第二目标联系人。The first target contact and the second target contact are determined according to the communication frequency, communication time, communication duration and/or communication times of each contact in the communication record.
需要说明的是,还可以根据通讯记录中各联系人的通讯频率、通讯时间、通讯时长和/或通讯次数,确定第一目标联系人和第二目标联系人。例如,可以将通讯次数排在前两位的两个联系人确定为第一目标联系人和第二目标联系人;可以将通讯时间接近当前时刻的两个联系人确定为第一目标联系人和第二目标联系人等等。It should be noted that the first target contact and the second target contact may also be determined according to the communication frequency, communication time, communication duration and/or communication times of each contact in the communication record. For example, the two contacts with the top two communication times can be determined as the first target contact and the second target contact; the two contacts whose communication time is close to the current moment can be determined as the first target contact and the second target contact. second target contact and so on.
可选的,所述对第一显示界面和第二显示界面进行分屏显示,包括:Optionally, the split-screen display of the first display interface and the second display interface includes:
若所述移动终端处于横屏显示状态,则对第一显示界面和第二显示界面进行分屏显示。If the mobile terminal is in a landscape display state, split-screen display is performed on the first display interface and the second display interface.
进一步的,可以判断移动终端是否处于横屏显示状态。如果移动终端判断出当前显示状态为横屏显示状态,则可以对第一显示界面和第二显示界面进行分屏显示。即可以将屏幕划分为左右两个部分,将张三和家人所对应的两个聊天界面分别显示在屏幕的左半部分以及屏幕的右半部分。仍以图5为例。在图5中,在移动终端屏幕的左半部分显示张三对应的聊天界面;在移动终端屏幕的右半部分显示家人对应的聊天界面。Further, it may be determined whether the mobile terminal is in a horizontal screen display state. If the mobile terminal determines that the current display state is the horizontal screen display state, the first display interface and the second display interface may be displayed in split screens. That is, the screen can be divided into left and right parts, and the two chat interfaces corresponding to Zhang San and his family are displayed on the left half of the screen and the right half of the screen respectively. Still take Figure 5 as an example. In FIG. 5 , the chat interface corresponding to Zhang San is displayed on the left half of the screen of the mobile terminal; the chat interface corresponding to family members is displayed on the right half of the screen of the mobile terminal.
如果移动终端判断出当前显示状态为竖屏显示状态,则可以将屏幕划分为上下两个部分,将张三和家人所对应的两个聊天界面分别显示在屏幕的上半部分以及屏幕的下半部分。仍以图4为例。在图4中,在移动终端屏幕的上半部分显示张三对应的聊天界面;在移动终端屏幕的下半部分显示家人对应的聊天界面。这样,就可以实现同时和张三以及家人聊天。If the mobile terminal determines that the current display state is a vertical screen display state, the screen can be divided into upper and lower parts, and the two chat interfaces corresponding to Zhang San and his family are displayed on the upper half of the screen and the lower half of the screen respectively part. Still take Figure 4 as an example. In FIG. 4 , the chat interface corresponding to Zhang San is displayed on the upper half of the screen of the mobile terminal; the chat interface corresponding to family members is displayed on the lower half of the screen of the mobile terminal. In this way, it is possible to chat with Zhang San and his family at the same time.
步骤902、接收对所述第一显示界面的目标操作,所述目标操作用于触发显示键盘界面。Step 902. Receive a target operation on the first display interface, where the target operation is used to trigger the display of a keyboard interface.
在步骤902中,移动终端可以接收对第一显示界面的目标操作,该目标操作用于触发显示键盘界面。用户可以使用该键盘编辑消息内容,并在第一显示界面内发送编辑好的消息内容。In step 902, the mobile terminal may receive a target operation on the first display interface, where the target operation is used to trigger the display of the keyboard interface. The user can use the keyboard to edit message content, and send the edited message content in the first display interface.
例如,移动终端可以接收对第一显示界面内的输入框的触摸操作。仍以图5为例,在图5中,可以将家人对应的聊天界面作为第一显示界面。用户可以点击家人对应的聊天界面内的输入框,此时会接收到对家人对应的聊天界面内的输入框的触摸操作,即会接收到对第一显示界面内的输入框的目标操作。For example, the mobile terminal may receive a touch operation on the input box in the first display interface. Still taking FIG. 5 as an example, in FIG. 5 , the chatting interface corresponding to family members may be used as the first display interface. The user can click the input box in the chat interface corresponding to the family member, and at this time, a touch operation on the input box in the chat interface corresponding to the family member will be received, that is, a target operation on the input box in the first display interface will be received.
步骤903、响应于所述目标操作,在所述第二显示界面对应的区域显示所述键盘界面。Step 903: In response to the target operation, display the keyboard interface in the area corresponding to the second display interface.
在步骤903中,移动终端响应于接收到的目标操作,可以在第二显示界面对应的区域显示键盘界面。即可以根据接收到的目标操作,在家人对应的聊天界面内的输入框内显示输入光标,并在张三对应的聊天界面内显示键盘界面。且如果移动终端检测到输入光标消失,则键盘界面也会相应消失。如图6所示,为在第一显示界面内的输入框内显示输入光标,并在其他聊天界面内显示键盘界面的示意图。这样,用户在与至少两个聊天对象中的一个聊天对象聊天时,可以在除当前聊天界面之外的其他聊天界面内显示键盘界面。例如,用户在与家人聊天时,可以在张三对应的聊天界面内显示键盘界面。可以避免键盘界面对当前聊天界面的遮挡,还可以避免分屏显示状态下对键盘界面的压缩,降低由于键盘界面过小导致误操作的几率。In step 903, in response to the received target operation, the mobile terminal may display a keyboard interface in a region corresponding to the second display interface. That is, according to the received target operation, the input cursor can be displayed in the input box in the chat interface corresponding to the family member, and the keyboard interface can be displayed in the chat interface corresponding to Zhang San. And if the mobile terminal detects that the input cursor disappears, the keyboard interface will disappear accordingly. As shown in FIG. 6 , it is a schematic diagram of displaying an input cursor in an input box in the first display interface and displaying a keyboard interface in other chat interfaces. In this way, when the user is chatting with one of the at least two chatting objects, the keyboard interface can be displayed in other chatting interfaces except the current chatting interface. For example, when the user is chatting with family members, a keyboard interface can be displayed in the chat interface corresponding to Zhang San. It can avoid the keyboard interface from blocking the current chat interface, and can also avoid the compression of the keyboard interface in the split-screen display state, reducing the chance of misoperation due to the keyboard interface being too small.
步骤904、接收对所述第一显示界面内的第二消息内容的第二拖动操作。Step 904: Receive a second drag operation on the second message content in the first display interface.
在步骤904中,移动终端可以接收对第一显示界面内的第二消息内容的第二拖动操作。需要说明的是,第二消息内容可以为图片、视频或者文档等消息内容。例如,如图10a所示,为接收对第一显示界面内的第二消息内容的第二拖动操作的示意图。假设张三对应的聊天界面为第一显示界面。在图10a中,甲正在和张三以及家人讨论出去旅游的事,张三在8:10这个时刻发了一条消息:“不知道塞班岛风景如何。”接着用户甲就发了一张塞班岛的图片给张三,并发了一条消息:“我觉得还可以。”In step 904, the mobile terminal may receive a second drag operation on the second message content in the first display interface. It should be noted that the second message content may be message content such as pictures, videos, or documents. For example, as shown in FIG. 10a, it is a schematic diagram of receiving a second drag operation on the second message content in the first display interface. It is assumed that the chat interface corresponding to Zhang San is the first display interface. In Figure 10a, user A is discussing travel with Zhang San and his family. Zhang San sent a message at 8:10: "I don't know how the scenery of Saipan is." Ban Dao's picture to Zhang San, and sent a message: "I think it's okay."
在8:12这个时刻,家人发了一条消息:“听说塞班岛挺美的,适合旅游。不知道景色如何。”。此时,用户可以将张三对应的第一显示界面内的那张塞班岛的图片向家人对应的聊天界面内拖动,即移动终端可以接收对第一显示界面内的塞班岛的图片这条第二消息内容的第二拖动操作。At 8:12, the family sent a message: "I heard that Saipan is very beautiful and suitable for tourism. I don't know how the scenery is.". At this time, the user can drag the picture of Saipan in the first display interface corresponding to Zhang San to the chat interface corresponding to the family, that is, the mobile terminal can receive the picture of Saipan in the first display interface The second drag operation of this second message content.
步骤905、响应于所述第二拖动操作,在所述第二显示界面发送所述第二消息内容,其中,所述第二拖动操作的终止位置位于所述第二显示界面的消息发送界面内。Step 905: In response to the second drag operation, send the second message content on the second display interface, where the termination position of the second drag operation is located at the message sending of the second display interface within the interface.
在步骤905中,移动终端可以响应于第二拖动操作,在第二显示界面发送第二消息内容。其中,第二拖动操作的终止位置位于第二显示界面的消息发送界面内,消息发送界面即为聊天内容的显示界面。即移动终端可以响应于第二拖动操作,将张三对应的第一显示界面内的塞班岛的图片这条第二消息内容拖动至家人对应的第二显示界面内,并在家人对应的第二显示界面发送塞班岛的图片这条第二消息内容。如图10b所示,为在第二显示界面发送第二消息内容的示意图。这样,当同时与至少两个聊天对象聊天时,如果聊天内容相近,则可以直接将一个聊天界面内的消息内容拖动至另一个聊天界面的内,并在另一个聊天界面发送该消息内容。避免了在不同聊天界面内重复输入相似消息内容的过程,方便快捷。In step 905, the mobile terminal may send the second message content on the second display interface in response to the second drag operation. Wherein, the termination position of the second drag operation is located in the message sending interface of the second display interface, and the message sending interface is the display interface of the chat content. That is, the mobile terminal may respond to the second drag operation by dragging the second message content of the picture of Saipan Island in the first display interface corresponding to Zhang San to the second display interface corresponding to the family, and displaying the picture in the corresponding second display interface of the family. The content of the second message that sends the picture of Saipan Island on the second display interface. As shown in FIG. 10b, it is a schematic diagram of sending the second message content on the second display interface. In this way, when chatting with at least two chatting partners at the same time, if the chat content is similar, the message content in one chat interface can be directly dragged into another chat interface, and the message content can be sent in another chat interface. The process of repeatedly inputting similar message content in different chat interfaces is avoided, which is convenient and quick.
可选的,所述方法还包括:Optionally, the method also includes:
接收对所述键盘界面的第三拖动操作;receiving a third drag operation on the keyboard interface;
响应于所述第三拖动操作,将所述键盘界面显示在所述第一显示界面对应的区域,并在所述第二显示界面的输入区域显示操作焦点。In response to the third dragging operation, the keyboard interface is displayed in the area corresponding to the first display interface, and the operation focus is displayed in the input area of the second display interface.
移动终端还可以接收对键盘界面的第三拖动操作。进而移动终端可以响应于第三拖动操作,将键盘界面显示在第一显示界面对应的区域,并在第二显示界面的输入区域显示操作焦点。例如,仍以图6为例,在图6中,键盘界面显示于第二显示界面对应的区域,即键盘界面显示于张三对应的聊天界面内,家人对应的聊天界面为第一显示界面。移动终端可以接收对键盘界面的第三拖动操作。进而移动终端可以响应于第三拖动操作,将键盘界面显示在第一显示界面对应的区域,即可以将键盘界面显示于家人对应的聊天界面内。并且可以在第二显示界面的输入区域显示操作焦点,即可以在张三对应的聊天界面的输入框内显示输入光标。The mobile terminal may also receive a third drag operation on the keyboard interface. Furthermore, in response to the third drag operation, the mobile terminal may display the keyboard interface in the area corresponding to the first display interface, and display the operation focus in the input area of the second display interface. For example, still taking FIG. 6 as an example, in FIG. 6, the keyboard interface is displayed in the area corresponding to the second display interface, that is, the keyboard interface is displayed in the chat interface corresponding to Zhang San, and the chat interface corresponding to family members is the first display interface. The mobile terminal may receive a third drag operation on the keyboard interface. Furthermore, the mobile terminal may display the keyboard interface in the area corresponding to the first display interface in response to the third drag operation, that is, the keyboard interface may be displayed in the chat interface corresponding to the family members. And the operation focus can be displayed in the input area of the second display interface, that is, the input cursor can be displayed in the input box of the chat interface corresponding to Zhang San.
本发明实施例的键盘界面显示方法,应用于移动终端。接收到对第一显示界面的目标操作之后,可以在第二显示界面对应的区域显示键盘界面。可以避免分屏显示状态下对键盘界面的压缩,降低由于键盘界面过小导致误操作的几率。进一步的,当同时与至少两个聊天对象聊天时,如果聊天内容相近,则可以直接将一个聊天界面内的消息内容拖动至另一个聊天界面内,并在另一个聊天界面发送该消息内容。避免了在不同聊天界面内重复输入相似消息内容的过程,方便快捷。The keyboard interface display method of the embodiment of the present invention is applied to a mobile terminal. After receiving a target operation on the first display interface, a keyboard interface may be displayed in a region corresponding to the second display interface. It can avoid the compression of the keyboard interface in the split-screen display state, and reduce the probability of misoperation caused by the keyboard interface being too small. Further, when chatting with at least two chatting partners at the same time, if the chat content is similar, the message content in one chat interface can be directly dragged to another chat interface, and the message content can be sent in another chat interface. The process of repeatedly inputting similar message content in different chat interfaces is avoided, which is convenient and quick.
参见图11,图11是本发明实施提供的移动终端的结构图,如图11所示,移动终端1100包括第一显示模块1101、第一接收模块1102和第二显示模块1103,其中:Referring to FIG. 11, FIG. 11 is a structural diagram of a mobile terminal provided by the implementation of the present invention. As shown in FIG. 11, a mobile terminal 1100 includes a first display module 1101, a first receiving module 1102, and a second display module 1103, wherein:
第一显示模块1101,用于对第一显示界面和第二显示界面进行分屏显示;The first display module 1101 is configured to display the first display interface and the second display interface in split screens;
第一接收模块1102,用于接收对所述第一显示界面的目标操作,所述目标操作用于触发显示键盘界面;The first receiving module 1102 is configured to receive a target operation on the first display interface, where the target operation is used to trigger the display of a keyboard interface;
第二显示模块1103,用于响应于所述目标操作,在所述第二显示界面对应的区域显示所述键盘界面。The second display module 1103 is configured to display the keyboard interface in a region corresponding to the second display interface in response to the target operation.
可选的,如图12所示,所述第一显示模块1101包括:Optionally, as shown in FIG. 12, the first display module 1101 includes:
接收子模块11011,用于接收分屏指令;The receiving sub-module 11011 is used to receive split-screen instructions;
确定子模块11012,用于响应于所述分屏指令,确定两个目标联系人;A determining submodule 11012, configured to determine two target contacts in response to the screen splitting instruction;
显示子模块11013,用于分屏显示所述两个目标联系人所一一对应的第一显示界面和第二显示界面。The display sub-module 11013 is configured to split-screen display the first display interface and the second display interface corresponding to the two target contacts.
可选的,所述确定子模块11012具体用于根据通讯记录中各联系人的通讯频率、通讯时间、通讯时长和/或通讯次数,确定第一目标联系人和第二目标联系人。Optionally, the determination sub-module 11012 is specifically configured to determine the first target contact and the second target contact according to the communication frequency, communication time, communication duration and/or communication times of each contact in the communication records.
可选的,如图13所示,所述移动终端还包括:Optionally, as shown in Figure 13, the mobile terminal further includes:
第二接收模块1104,用于接收对所述第一显示界面内的第一消息内容的第一拖动操作;The second receiving module 1104 is configured to receive a first drag operation on the first message content in the first display interface;
第三显示模块1105,用于响应于所述第一拖动操作,将所述第一消息内容显示在所述第二显示界面的输入框内。The third display module 1105 is configured to display the first message content in the input box of the second display interface in response to the first drag operation.
可选的,如图14所示,所述移动终端还包括:Optionally, as shown in Figure 14, the mobile terminal further includes:
第三接收模块1106,用于接收对所述第一显示界面内的第二消息内容的第二拖动操作;A third receiving module 1106, configured to receive a second drag operation on the second message content in the first display interface;
发送模块1107,用于响应于所述第二拖动操作,在所述第二显示界面发送所述第二消息内容,其中,所述第二拖动操作的终止位置位于所述第二显示界面的消息发送界面内。A sending module 1107, configured to send the second message content on the second display interface in response to the second drag operation, wherein the termination position of the second drag operation is located on the second display interface in the message sending interface.
可选的,如图15所示,所述移动终端还包括:Optionally, as shown in Figure 15, the mobile terminal further includes:
第四接收模块1108,用于接收对所述键盘界面的第三拖动操作;A fourth receiving module 1108, configured to receive a third drag operation on the keyboard interface;
第四显示模块1109,用于响应于所述第三拖动操作,将所述键盘界面显示在所述第一显示界面对应的区域,并在所述第二显示界面的输入区域显示操作焦点。The fourth display module 1109 is configured to, in response to the third drag operation, display the keyboard interface in the area corresponding to the first display interface, and display the operation focus in the input area of the second display interface.
可选的,所述第一显示模块1101具体用于若所述移动终端处于横屏显示状态,则对第一显示界面和第二显示界面进行分屏显示。Optionally, the first display module 1101 is specifically configured to perform split-screen display of the first display interface and the second display interface if the mobile terminal is in a landscape display state.
移动终端1100能够实现图1、图7和图9的方法实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。且移动终端1100可以实现接收到对第一显示界面的目标操作之后,可以在第二显示界面对应的区域显示键盘界面。可以避免分屏显示状态下对键盘界面的压缩,降低由于键盘界面过小导致误操作的几率。The mobile terminal 1100 can implement various processes implemented by the mobile terminal in the method embodiments shown in FIG. 1 , FIG. 7 , and FIG. 9 , and details are not repeated here to avoid repetition. Moreover, the mobile terminal 1100 may display a keyboard interface in a region corresponding to the second display interface after receiving a target operation on the first display interface. It can avoid the compression of the keyboard interface in the split-screen display state, and reduce the probability of misoperation caused by the keyboard interface being too small.
图16为实现本发明各个实施例的一种移动终端的硬件结构示意图。FIG. 16 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention.
该移动终端1600包括但不限于:射频单元1601、网络模块1602、音频输出单元1603、输入单元1604、传感器1605、显示单元1606、用户输入单元1607、接口单元1608、存储器1609、处理器1610、以及电源1611等部件。本领域技术人员可以理解,图16中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,移动终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。The mobile terminal 1600 includes, but is not limited to: a radio frequency unit 1601, a network module 1602, an audio output unit 1603, an input unit 1604, a sensor 1605, a display unit 1606, a user input unit 1607, an interface unit 1608, a memory 1609, a processor 1610, and Power supply 1611 and other components. Those skilled in the art can understand that the structure of the mobile terminal shown in Figure 16 does not constitute a limitation on the mobile terminal, and the mobile terminal may include more or less components than shown in the figure, or combine some components, or different components layout. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal, a wearable device, and a pedometer.
处理器1610,用于对第一显示界面和第二显示界面进行分屏显示;The processor 1610 is configured to perform split-screen display of the first display interface and the second display interface;
接收对所述第一显示界面的目标操作,所述目标操作用于触发显示键盘界面;receiving a target operation on the first display interface, where the target operation is used to trigger display of a keyboard interface;
响应于所述目标操作,在所述第二显示界面对应的区域显示所述键盘界面。In response to the target operation, the keyboard interface is displayed in a region corresponding to the second display interface.
接收到对第一显示界面的目标操作之后,可以在第二显示界面对应的区域显示键盘界面。可以避免分屏显示状态下对键盘界面的压缩,降低由于键盘界面过小导致误操作的几率。After receiving a target operation on the first display interface, a keyboard interface may be displayed in a region corresponding to the second display interface. It can avoid the compression of the keyboard interface in the split-screen display state, and reduce the probability of misoperation caused by the keyboard interface being too small.
应理解的是,本发明实施例中,射频单元1601可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器1610处理;另外,将上行的数据发送给基站。通常,射频单元1601包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元1601还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 1601 can be used for receiving and sending signals during information sending and communication or during a call. Specifically, the downlink data from the base station is received and processed by the processor 1610; in addition, the Uplink data is sent to the base station. Generally, the radio frequency unit 1601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 1601 can also communicate with the network and other devices through a wireless communication system.
移动终端通过网络模块1602为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The mobile terminal provides users with wireless broadband Internet access through the network module 1602, such as helping users send and receive emails, browse web pages, and access streaming media.
音频输出单元1603可以将射频单元1601或网络模块1602接收的或者在存储器1609中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元1603还可以提供与移动终端1600执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元1603包括扬声器、蜂鸣器以及受话器等。The audio output unit 1603 may convert audio data received by the radio frequency unit 1601 or the network module 1602 or stored in the memory 1609 into an audio signal and output as sound. Also, the audio output unit 1603 can also provide audio output related to a specific function performed by the mobile terminal 1600 (eg, call signal reception sound, message reception sound, etc.). The audio output unit 1603 includes a speaker, a buzzer, a receiver, and the like.
输入单元1604用于接收音频或视频信号。输入单元1604可以包括图形处理器(Graphics Processing Unit,GPU)16041和麦克风16042,图形处理器16041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元1606上。经图形处理器16041处理后的图像帧可以存储在存储器1609(或其它存储介质)中或者经由射频单元1601或网络模块1602进行发送。麦克风16042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元1601发送到移动通信基站的格式输出。The input unit 1604 is used to receive audio or video signals. The input unit 1604 may include a graphics processor (Graphics Processing Unit, GPU) 16041 and a microphone 16042, and the graphics processor 16041 is used for still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The data is processed. The processed image frames may be displayed on the display unit 1606 . The image frames processed by the graphics processor 16041 may be stored in the memory 1609 (or other storage media) or sent via the radio frequency unit 1601 or the network module 1602 . The microphone 16042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into an output format transmittable to a mobile communication base station via the radio frequency unit 1601 in case of a phone call mode.
移动终端1600还包括至少一种传感器1605,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板16061的亮度,接近传感器可在移动终端1600移动到耳边时,关闭显示面板16061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器1605还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The mobile terminal 1600 also includes at least one sensor 1605, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 16061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 16061 and the / or backlighting. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is still, and can be used to identify the posture of mobile terminals (such as horizontal and vertical screen switching, related games, etc.) , magnetometer posture calibration), vibration recognition-related functions (such as pedometer, knocking), etc.; the sensor 1605 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
显示单元1606用于显示由用户输入的信息或提供给用户的信息。显示单元1606可包括显示面板16061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板16061。The display unit 1606 is used to display information input by the user or information provided to the user. The display unit 1606 may include a display panel 16061, and the display panel 16061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.
用户输入单元1607可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元1607包括触控面板16071以及其他输入设备16072。触控面板16071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板16071上或在触控面板16071附近的操作)。触控面板16071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1610,接收处理器1610发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板16071。除了触控面板16071,用户输入单元1607还可以包括其他输入设备16072。具体地,其他输入设备16072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 1607 can be used to receive input number or character information, and generate key signal input related to user settings and function control of the mobile terminal. Specifically, the user input unit 1607 includes a touch panel 16071 and other input devices 16072 . The touch panel 16071, also referred to as a touch screen, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger, a stylus, etc. on the touch panel 16071 or near the touch panel 16071 operate). The touch panel 16071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the For the processor 1610, receive the command sent by the processor 1610 and execute it. In addition, the touch panel 16071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 16071 , the user input unit 1607 may also include other input devices 16072 . Specifically, other input devices 16072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
进一步的,触控面板16071可覆盖在显示面板16061上,当触控面板16071检测到在其上或附近的触摸操作后,传送给处理器1610以确定触摸事件的类型,随后处理器1610根据触摸事件的类型在显示面板16061上提供相应的视觉输出。虽然在图16中,触控面板16071与显示面板16061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板16071与显示面板16061集成而实现移动终端的输入和输出功能,具体此处不做限定。Furthermore, the touch panel 16071 can be covered on the display panel 16061. When the touch panel 16071 detects a touch operation on or near it, it will be sent to the processor 1610 to determine the type of the touch event. The type of event provides a corresponding visual output on the display panel 16061. Although in FIG. 16, the touch panel 16071 and the display panel 16061 are used as two independent components to realize the input and output functions of the mobile terminal, in some embodiments, the touch panel 16071 and the display panel 16061 can be integrated The implementation of the input and output functions of the mobile terminal is not specifically limited here.
接口单元1608为外部装置与移动终端1600连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元1608可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端1600内的一个或多个元件或者可以用于在移动终端1600和外部装置之间传输数据。The interface unit 1608 is an interface for connecting an external device to the mobile terminal 1600 . For example, an external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 1608 can be used to receive input from an external device (for example, data information, power, etc.) transfer data between devices.
存储器1609可用于存储软件程序以及各种数据。存储器1609可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器1609可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 1609 can be used to store software programs as well as various data. Memory 1609 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); Data created by the use of mobile phones (such as audio data, phonebook, etc.), etc. In addition, the memory 1609 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.
处理器1610是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器1609内的软件程序和/或模块,以及调用存储在存储器1609内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器1610可包括一个或多个处理单元;优选的,处理器1610可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1610中。The processor 1610 is the control center of the mobile terminal, which uses various interfaces and lines to connect various parts of the entire mobile terminal, by running or executing software programs and/or modules stored in the memory 1609, and calling data stored in the memory 1609 , execute various functions of the mobile terminal and process data, so as to monitor the mobile terminal as a whole. The processor 1610 may include one or more processing units; preferably, the processor 1610 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem The processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 1610 .
移动终端1600还可以包括给各个部件供电的电源1611(比如电池),优选的,电源1611可以通过电源管理系统与处理器1610逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile terminal 1600 can also include a power supply 1611 (such as a battery) for supplying power to various components. Preferably, the power supply 1611 can be logically connected to the processor 1610 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. and other functions.
另外,移动终端1600包括一些未示出的功能模块,在此不再赘述。In addition, the mobile terminal 1600 includes some functional modules not shown, which will not be repeated here.
可选的,处理器1610还用于:Optionally, the processor 1610 is also used for:
接收分屏指令;Receive split-screen commands;
响应于所述分屏指令,确定两个目标联系人;determining two target contacts in response to the split-screen instruction;
分屏显示所述两个目标联系人所一一对应的第一显示界面和第二显示界面。The first display interface and the second display interface corresponding to the two target contacts are displayed on a split screen.
可选的,处理器1610还用于:Optionally, the processor 1610 is also used for:
根据通讯记录中各联系人的通讯频率、通讯时间、通讯时长和/或通讯次数,确定第一目标联系人和第二目标联系人。The first target contact and the second target contact are determined according to the communication frequency, communication time, communication duration and/or communication times of each contact in the communication record.
可选的,处理器1610还用于:Optionally, the processor 1610 is also used for:
接收对所述第一显示界面内的第一消息内容的第一拖动操作;receiving a first drag operation on the first message content in the first display interface;
响应于所述第一拖动操作,将所述第一消息内容显示在所述第二显示界面的输入框内。In response to the first dragging operation, the first message content is displayed in an input box on the second display interface.
可选的,处理器1610还用于:Optionally, the processor 1610 is also used for:
接收对所述第一显示界面内的第二消息内容的第二拖动操作;receiving a second drag operation on the second message content in the first display interface;
响应于所述第二拖动操作,在所述第二显示界面发送所述第二消息内容,其中,所述第二拖动操作的终止位置位于所述第二显示界面的消息发送界面内。In response to the second dragging operation, the second message content is sent on the second display interface, wherein a termination position of the second dragging operation is located in a message sending interface of the second display interface.
可选的,处理器1610还用于:Optionally, the processor 1610 is also used for:
接收对所述键盘界面的第三拖动操作;receiving a third drag operation on the keyboard interface;
响应于所述第三拖动操作,将所述键盘界面显示在所述第一显示界面对应的区域,并在所述第二显示界面的输入区域显示操作焦点。In response to the third dragging operation, the keyboard interface is displayed in the area corresponding to the first display interface, and the operation focus is displayed in the input area of the second display interface.
可选的,处理器1610还用于:Optionally, the processor 1610 is also used for:
若所述移动终端处于横屏显示状态,则对第一显示界面和第二显示界面进行分屏显示。If the mobile terminal is in a landscape display state, split-screen display is performed on the first display interface and the second display interface.
移动终端1600能够实现前述实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。且移动终端1600可以实现接收到对第一显示界面的目标操作之后,可以在第二显示界面对应的区域显示键盘界面。可以避免分屏显示状态下对键盘界面的压缩,降低由于键盘界面过小导致误操作的几率。The mobile terminal 1600 can implement various processes implemented by the mobile terminal in the foregoing embodiments, and to avoid repetition, details are not repeated here. In addition, the mobile terminal 1600 may display a keyboard interface in a region corresponding to the second display interface after receiving a target operation on the first display interface. It can avoid the compression of the keyboard interface in the split-screen display state, and reduce the probability of misoperation caused by the keyboard interface being too small.
优选的,本发明实施例还提供一种移动终端,包括处理器1610,存储器1609,存储在存储器1609上并可在所述处理器1610上运行的计算机程序,该计算机程序被处理器1610执行时实现上述键盘界面显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present invention also provides a mobile terminal, including a processor 1610, a memory 1609, and a computer program stored in the memory 1609 and operable on the processor 1610. When the computer program is executed by the processor 1610 The various processes of the above embodiment of the keyboard interface display method can achieve the same technical effect, so to avoid repetition, details are not repeated here.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述键盘界面显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above keyboard interface display method embodiment is realized, and the same Technical effects, in order to avoid repetition, will not be repeated here. Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present invention can be embodied in the form of a software product in essence or the part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in various embodiments of the present invention.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。Embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementations, and the above-mentioned specific implementations are only illustrative, rather than restrictive. Those of ordinary skill in the art will Under the enlightenment of the present invention, many forms can also be made without departing from the gist of the present invention and the protection scope of the claims, all of which belong to the protection of the present invention.
Claims (15)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810311499.6A CN108519850A (en) | 2018-04-09 | 2018-04-09 | A kind of keyboard interface display methods and mobile terminal |
| PCT/CN2019/080772 WO2019196691A1 (en) | 2018-04-09 | 2019-04-01 | Keyboard interface display method and mobile terminal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810311499.6A CN108519850A (en) | 2018-04-09 | 2018-04-09 | A kind of keyboard interface display methods and mobile terminal |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN108519850A true CN108519850A (en) | 2018-09-11 |
Family
ID=63432195
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810311499.6A Pending CN108519850A (en) | 2018-04-09 | 2018-04-09 | A kind of keyboard interface display methods and mobile terminal |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN108519850A (en) |
| WO (1) | WO2019196691A1 (en) |
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109491738A (en) * | 2018-10-30 | 2019-03-19 | 维沃移动通信有限公司 | A kind of control method and terminal device of terminal device |
| WO2019196691A1 (en) * | 2018-04-09 | 2019-10-17 | 维沃移动通信有限公司 | Keyboard interface display method and mobile terminal |
| CN110489030A (en) * | 2019-07-26 | 2019-11-22 | 维沃移动通信有限公司 | An information display method and terminal device |
| CN110647274A (en) * | 2019-08-15 | 2020-01-03 | 华为技术有限公司 | Interface display method and device |
| CN111596839A (en) * | 2020-04-26 | 2020-08-28 | 维沃移动通信有限公司 | Session interface display method, electronic device and medium |
| CN111669459A (en) * | 2020-04-23 | 2020-09-15 | 华为技术有限公司 | Keyboard display method, electronic device and computer-readable storage medium |
| CN111880699A (en) * | 2020-06-09 | 2020-11-03 | 维沃移动通信有限公司 | Message processing method and device and electronic equipment |
| CN113986072A (en) * | 2021-09-18 | 2022-01-28 | 荣耀终端有限公司 | Keyboard display method, folding screen device and computer-readable storage medium |
| WO2024051436A1 (en) * | 2022-09-05 | 2024-03-14 | Oppo广东移动通信有限公司 | Keyboard display method and apparatus, electronic device, and computer readable storage medium |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2012044841A2 (en) * | 2010-10-01 | 2012-04-05 | Imerj LLC | Smartpad split screen with keyboard |
| EP2571234A1 (en) * | 2011-09-16 | 2013-03-20 | LG Electronics Inc. | Mobile terminal and method for controlling the same |
| CN104750450A (en) * | 2015-04-03 | 2015-07-01 | 魅族科技(中国)有限公司 | File sharing method in IM (Instant Messaging) and terminal |
| CN105027060A (en) * | 2013-12-13 | 2015-11-04 | Lg电子株式会社 | Electronic device and control method thereof |
| CN106681711A (en) * | 2016-11-30 | 2017-05-17 | 维沃移动通信有限公司 | Method for content sharing under split screen mode and mobile terminal |
| CN106940616A (en) * | 2017-03-06 | 2017-07-11 | 珠海市魅族科技有限公司 | Using operation method and device |
| CN107526494A (en) * | 2017-09-06 | 2017-12-29 | 北京小米移动软件有限公司 | Keyboard display method, device, terminal and storage medium |
| CN107728901A (en) * | 2017-10-24 | 2018-02-23 | 广东欧珀移动通信有限公司 | Interface display method and device and terminal |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101133385B (en) * | 2005-03-04 | 2014-05-07 | 苹果公司 | Handheld electronic device, handheld device and method of operation thereof |
| CN106020600A (en) * | 2016-05-16 | 2016-10-12 | 深圳天珑无线科技有限公司 | Data display method and apparatus |
| CN106775304A (en) * | 2016-12-01 | 2017-05-31 | 广州三星通信技术研究有限公司 | The adaptively method and apparatus at display input method interface |
| CN107347115A (en) * | 2017-06-23 | 2017-11-14 | 努比亚技术有限公司 | Method, equipment and the computer-readable recording medium of information input |
| CN108519850A (en) * | 2018-04-09 | 2018-09-11 | 维沃移动通信有限公司 | A kind of keyboard interface display methods and mobile terminal |
-
2018
- 2018-04-09 CN CN201810311499.6A patent/CN108519850A/en active Pending
-
2019
- 2019-04-01 WO PCT/CN2019/080772 patent/WO2019196691A1/en not_active Ceased
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2012044841A2 (en) * | 2010-10-01 | 2012-04-05 | Imerj LLC | Smartpad split screen with keyboard |
| EP2571234A1 (en) * | 2011-09-16 | 2013-03-20 | LG Electronics Inc. | Mobile terminal and method for controlling the same |
| CN105027060A (en) * | 2013-12-13 | 2015-11-04 | Lg电子株式会社 | Electronic device and control method thereof |
| CN104750450A (en) * | 2015-04-03 | 2015-07-01 | 魅族科技(中国)有限公司 | File sharing method in IM (Instant Messaging) and terminal |
| CN106681711A (en) * | 2016-11-30 | 2017-05-17 | 维沃移动通信有限公司 | Method for content sharing under split screen mode and mobile terminal |
| CN106940616A (en) * | 2017-03-06 | 2017-07-11 | 珠海市魅族科技有限公司 | Using operation method and device |
| CN107526494A (en) * | 2017-09-06 | 2017-12-29 | 北京小米移动软件有限公司 | Keyboard display method, device, terminal and storage medium |
| CN107728901A (en) * | 2017-10-24 | 2018-02-23 | 广东欧珀移动通信有限公司 | Interface display method and device and terminal |
Cited By (17)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2019196691A1 (en) * | 2018-04-09 | 2019-10-17 | 维沃移动通信有限公司 | Keyboard interface display method and mobile terminal |
| CN109491738B (en) * | 2018-10-30 | 2022-03-01 | 维沃移动通信有限公司 | A terminal device control method and terminal device |
| CN109491738A (en) * | 2018-10-30 | 2019-03-19 | 维沃移动通信有限公司 | A kind of control method and terminal device of terminal device |
| CN110489030A (en) * | 2019-07-26 | 2019-11-22 | 维沃移动通信有限公司 | An information display method and terminal device |
| WO2021017772A1 (en) * | 2019-07-26 | 2021-02-04 | 维沃移动通信有限公司 | Message display method and terminal device |
| CN110647274A (en) * | 2019-08-15 | 2020-01-03 | 华为技术有限公司 | Interface display method and device |
| US12449960B2 (en) | 2019-08-15 | 2025-10-21 | Huawei Technologies Co., Ltd. | Interface display method and device |
| CN111669459A (en) * | 2020-04-23 | 2020-09-15 | 华为技术有限公司 | Keyboard display method, electronic device and computer-readable storage medium |
| CN111669459B (en) * | 2020-04-23 | 2022-08-26 | 华为技术有限公司 | Keyboard display method, electronic device and computer readable storage medium |
| CN111596839A (en) * | 2020-04-26 | 2020-08-28 | 维沃移动通信有限公司 | Session interface display method, electronic device and medium |
| WO2021249408A1 (en) * | 2020-06-09 | 2021-12-16 | 维沃移动通信有限公司 | Message processing method and apparatus, and electronic device |
| CN111880699A (en) * | 2020-06-09 | 2020-11-03 | 维沃移动通信有限公司 | Message processing method and device and electronic equipment |
| CN113986072A (en) * | 2021-09-18 | 2022-01-28 | 荣耀终端有限公司 | Keyboard display method, folding screen device and computer-readable storage medium |
| WO2023040666A1 (en) * | 2021-09-18 | 2023-03-23 | 荣耀终端有限公司 | Keyboard display method, foldable screen device, and computer-readable storage medium |
| EP4177722A4 (en) * | 2021-09-18 | 2024-03-06 | Honor Device Co., Ltd. | KEYBOARD DISPLAY METHOD, FOLDABLE SCREEN DEVICE AND COMPUTER READABLE STORAGE MEDIUM |
| US12153792B2 (en) | 2021-09-18 | 2024-11-26 | Honor Device Co., Ltd. | Keyboard display method, foldable-screen device and computer-readable storage medium |
| WO2024051436A1 (en) * | 2022-09-05 | 2024-03-14 | Oppo广东移动通信有限公司 | Keyboard display method and apparatus, electronic device, and computer readable storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2019196691A1 (en) | 2019-10-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2021098678A1 (en) | Screencast control method and electronic device | |
| CN108519850A (en) | A kind of keyboard interface display methods and mobile terminal | |
| US20200257433A1 (en) | Display method and mobile terminal | |
| CN110187947A (en) | A kind of message display method and terminal device | |
| WO2021017776A1 (en) | Information processing method and terminal | |
| CN111666009A (en) | Interface display method and electronic device | |
| CN109739407B (en) | Information processing method and terminal equipment | |
| WO2020238449A1 (en) | Notification message processing method and terminal | |
| CN108712577A (en) | A kind of call mode switching method and terminal device | |
| CN110865745A (en) | Screen capturing method and terminal equipment | |
| CN111327458A (en) | Configuration information sharing method, terminal device and computer readable storage medium | |
| CN108874352A (en) | A kind of information display method and mobile terminal | |
| CN108446058A (en) | A kind of operating method and mobile terminal of mobile terminal | |
| CN110032309A (en) | A split screen method and terminal device | |
| CN108052251A (en) | A kind of screenshotss method for information display and mobile terminal | |
| CN110213440A (en) | A kind of images share method and terminal | |
| CN111596839A (en) | Session interface display method, electronic device and medium | |
| WO2021238719A1 (en) | Information display method and electronic device | |
| CN108334265A (en) | A kind of document handling method and mobile terminal | |
| CN110196668A (en) | Information processing method and terminal device | |
| CN108664818A (en) | A kind of unlock control method and device | |
| CN108228902A (en) | A kind of document display method and mobile terminal | |
| CN110333803A (en) | A kind of multimedia object selection method and terminal device | |
| WO2021083090A1 (en) | Message sending method and mobile terminal | |
| CN108347642B (en) | A video playback method and mobile terminal |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180911 |
|
| RJ01 | Rejection of invention patent application after publication |