[go: up one dir, main page]

CN111813308A - Interface processing method, device, electronic device and storage medium - Google Patents

Interface processing method, device, electronic device and storage medium Download PDF

Info

Publication number
CN111813308A
CN111813308A CN202010591448.0A CN202010591448A CN111813308A CN 111813308 A CN111813308 A CN 111813308A CN 202010591448 A CN202010591448 A CN 202010591448A CN 111813308 A CN111813308 A CN 111813308A
Authority
CN
China
Prior art keywords
interface
input
displaying
suspension
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010591448.0A
Other languages
Chinese (zh)
Other versions
CN111813308B (en
Inventor
李飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010591448.0A priority Critical patent/CN111813308B/en
Publication of CN111813308A publication Critical patent/CN111813308A/en
Application granted granted Critical
Publication of CN111813308B publication Critical patent/CN111813308B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials

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

本申请公开了一种界面处理方法、装置、电子设备及存储介质,属于移动终端技术领域。所述方法包括:在显示会话界面的情况下,接收切换任务的第一输入;响应于所述第一输入,显示第一界面,并在所述第一界面上悬浮显示第二界面,其中,所述第二界面为所述会话界面经过预设处理后的界面。本申请可以在显示第一界面时,悬浮显示会话界面经过预设处理后的第二界面,如此可以保证用户在查看第一界面时还可以通过悬浮显示的第二界面查看会话界面中接收到的信息。

Figure 202010591448

The present application discloses an interface processing method, device, electronic device and storage medium, which belong to the technical field of mobile terminals. The method includes: in the case of displaying a conversation interface, receiving a first input of switching tasks; in response to the first input, displaying a first interface, and floating and displaying a second interface on the first interface, wherein, The second interface is an interface of the conversation interface after preset processing. In the present application, when the first interface is displayed, the second interface of the session interface after the preset processing can be displayed in suspension, so that it can be ensured that the user can also view the received data in the session interface through the second interface displayed in suspension when viewing the first interface. information.

Figure 202010591448

Description

界面处理方法、装置、电子设备及存储介质Interface processing method, device, electronic device and storage medium

技术领域technical field

本申请属于通信技术领域,具体涉及一种界面处理方法、装置、电子设备及存储介质。The present application belongs to the field of communication technologies, and in particular relates to an interface processing method, device, electronic device and storage medium.

背景技术Background technique

用户在使用移动终端的过程中,通常会在不同应用程序的界面之间切换,例如,用户在聊天应用程序APP1的界面中进行聊天,突然另一应用程序APP2跳出来一条消息,用户可能会打开应用程序APP2的界面以查看消息,此时,应用程序APP1的界面会切换至后台运行。In the process of using the mobile terminal, the user usually switches between the interfaces of different applications. For example, when the user is chatting in the interface of the chat application APP1, suddenly another application APP2 pops up a message, and the user may open it. The interface of the application program APP2 is used to view the message. At this time, the interface of the application program APP1 will be switched to run in the background.

发明人对上述过程进行研究之后发现,上述方案导致用户无法实时查看聊天应用程序APP1接收到的信息。After studying the above process, the inventor finds that the above solution makes it impossible for the user to view the information received by the chat application program APP1 in real time.

发明内容SUMMARY OF THE INVENTION

本申请实施例的目的是提供一种界面处理方法、装置、电子设备及存储介质,能够解决无法实时查看聊天应用程序接收到的信息的问题。The purpose of the embodiments of the present application is to provide an interface processing method, apparatus, electronic device and storage medium, which can solve the problem that the information received by the chat application cannot be viewed in real time.

为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:

第一方面,本申请实施例提供了一种界面处理方法,该方法包括:In a first aspect, an embodiment of the present application provides an interface processing method, which includes:

在显示会话界面的情况下,接收切换任务的第一输入;In the case of displaying the session interface, receiving the first input of the switching task;

响应于所述第一输入,显示第一界面,并在所述第一界面上悬浮显示第二界面,其中,所述第二界面为所述会话界面经过预设处理后的界面。In response to the first input, a first interface is displayed, and a second interface is displayed suspended on the first interface, wherein the second interface is an interface of the conversation interface after preset processing.

第二方面,本申请实施例提供了一种界面处理装置,该装置包括:In a second aspect, an embodiment of the present application provides an interface processing apparatus, and the apparatus includes:

第一输入接收模块,用于在显示会话界面的情况下,接收切换任务的第一输入;a first input receiving module, configured to receive the first input of the switching task when the conversation interface is displayed;

悬浮显示模块,用于响应于所述第一输入,显示第一界面,并在所述第一界面上悬浮显示第二界面,其中,所述第二界面为所述会话界面经过预设处理后的界面。A floating display module, configured to display a first interface in response to the first input, and display a second interface suspended on the first interface, wherein the second interface is the conversation interface after preset processing interface.

第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, embodiments of the present application provide an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor implements the steps of the method according to the first aspect when executed.

第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method according to the first aspect are implemented .

第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In a fifth aspect, an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, and implement the first aspect the method described.

在本申请实施例中,在显示会话界面的情况下,接收切换任务的第一输入;响应于所述第一输入,显示第一界面,并在所述第一界面上悬浮显示第二界面,其中,所述第二界面为所述会话界面经过预设处理后的界面。本申请可以在显示第一界面时,悬浮显示会话界面经过预设处理后的第二界面,如此可以保证用户在查看第一界面时还可以通过悬浮显示的第二界面查看会话界面中接收到的信息。In the embodiment of the present application, when the conversation interface is displayed, a first input of switching tasks is received; in response to the first input, a first interface is displayed, and a second interface is displayed in a floating manner on the first interface, Wherein, the second interface is an interface of the conversation interface after preset processing. In the present application, when the first interface is displayed, the second interface of the session interface after the preset processing can be displayed in suspension, so that it can be ensured that the user can also view the received data in the session interface through the second interface displayed in suspension when viewing the first interface. information.

附图说明Description of drawings

图1是本申请实施例提供的一种界面处理方法的步骤流程图;1 is a flowchart of steps of an interface processing method provided by an embodiment of the present application;

图2是本申请实施例提供的一种显示第一聊天机器人界面的示意图;FIG. 2 is a schematic diagram of displaying a first chat robot interface provided by an embodiment of the present application;

图3是本申请实施例提供的一种显示第二聊天机器人界面的示意图;3 is a schematic diagram of displaying a second chat robot interface provided by an embodiment of the present application;

图4是本申请实施例提供的另一种显示第二聊天机器人界面的示意图;4 is another schematic diagram of displaying a second chat robot interface provided by an embodiment of the present application;

图5是本申请实施例提供的一种界面处理装置的结构框图;5 is a structural block diagram of an interface processing apparatus provided by an embodiment of the present application;

图6是本申请实施例提供的一种电子设备的结构框图;6 is a structural block diagram of an electronic device provided by an embodiment of the present application;

图7是本申请实施例提供的一种电子设备的硬件结构示意图。FIG. 7 is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.

本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between "first", "second", etc. The objects are usually of one type, and the number of objects is not limited. For example, the first object may be one or more than one. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the associated objects are in an "or" relationship.

下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的界面处理方法、装置、电子设备及存储介质进行详细地说明。The interface processing method, apparatus, electronic device, and storage medium provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.

参照图1,本申请提供了一种界面处理方法的步骤流程图,具体包括:Referring to FIG. 1, the present application provides a flowchart of steps of an interface processing method, which specifically includes:

步骤101,在显示会话界面的情况下,接收切换任务的第一输入。Step 101: In the case of displaying the conversation interface, receive a first input of switching tasks.

其中,会话界面是具有会话功能的任意应用程序界面,例如,会话界面可以是聊天机器人界面。聊天机器人界面用于向用户提供智能的个性化服务,用户可以通过聊天机器人界面与聊天机器人实现对话,完成搜索、交互、支付等服务。聊天机器人基于MaaP(Messaging as a Platform,消息即平台)技术实现,该技术可以通过运营商消息平台,将短信升级为RCS(Rich Communication Suite,融合通信)消息。The conversational interface is any application program interface with conversational function, for example, the conversational interface may be a chatbot interface. The chatbot interface is used to provide users with intelligent and personalized services. Users can communicate with the chatbot through the chatbot interface to complete services such as search, interaction, and payment. The chatbot is implemented based on the MaaP (Messaging as a Platform, message is a platform) technology, which can upgrade the short message to RCS (Rich Communication Suite, converged communication) message through the operator's message platform.

用户在与聊天机器人对话时通常有多个输入过程,例如,通过聊天机器人购买火车票时,需要依次输入出发站、到达站、乘车日期、车次、购票人信息等。在这些输入过程中,用户可能会被其它突发事件打断,例如,收到了其它社交软件的消息,用户可以点击通知栏查看社交软件的消息,从而不再显示聊天机器人界面,即临时终止了与聊天机器人的对话。When a user talks to a chatbot, there are usually multiple input processes. For example, when purchasing a train ticket through a chatbot, they need to enter the departure station, arrival station, boarding date, train number, and ticket purchaser information in sequence. During these input processes, the user may be interrupted by other emergencies. For example, if a message from other social software is received, the user can click the notification bar to view the message of the social software, so that the chatbot interface is no longer displayed, that is, it is temporarily terminated. Conversations with chatbots.

第一输入用于将会话界面的应用程序切换至后台运行,并在屏幕上显示第一界面。现有技术中,会话界面的应用程序被切换至后台运行之后,屏幕上不再显示该会话界面,但会话界面的应用程序并未停止运行。例如,将聊天机器人界面的应用程序切换至后台运行,并不再在屏幕上显示聊天机器人界面时,用户无法实时看到聊天机器人界面,也无法进一步对聊天机器人界面进行输入操作。通常情况下,用户可以通过返回键或HOME键将会话界面的应用程序切换至后台运行。The first input is used to switch the application program of the session interface to run in the background, and display the first interface on the screen. In the prior art, after the application program of the session interface is switched to run in the background, the session interface is no longer displayed on the screen, but the application program of the session interface does not stop running. For example, when the application of the chatbot interface is switched to run in the background and the chatbot interface is no longer displayed on the screen, the user cannot see the chatbot interface in real time, and cannot further input the chatbot interface. Usually, the user can switch the application of the session interface to run in the background by pressing the back key or the HOME key.

步骤102,响应于所述第一输入,显示第一界面,并在所述第一界面上悬浮显示第二界面,其中,所述第二界面为所述会话界面经过预设处理后的界面。Step 102: In response to the first input, display a first interface, and display a second interface suspended on the first interface, where the second interface is an interface of the conversation interface after preset processing.

其中,悬浮显示可以是在悬浮框中显示,悬浮框可以小于屏幕,并且显示在屏幕的任意位置,预设处理可以包括但不限于:缩小、重新排列显示内容、缩减显示内容。例如,将会话界面缩小为一个小的第二界面,以使第二界面可以在悬浮框中显示;又例如,可以调整会话界面的显示内容的显示格式,以得到显示区域更小的第二界面;又例如,将会话界面的显示内容以缩略的方式排列得到第二界面,只显示重要内容。The floating display may be displayed in a floating frame, which may be smaller than the screen and displayed at any position on the screen, and the preset processing may include, but is not limited to: shrinking, rearranging, and reducing display content. For example, the session interface can be reduced to a small second interface, so that the second interface can be displayed in the floating frame; for another example, the display format of the displayed content of the session interface can be adjusted to obtain a second interface with a smaller display area ; For another example, the displayed contents of the conversation interface are arranged in an abbreviated manner to obtain the second interface, and only important contents are displayed.

可以理解的是,第一界面可以包括但不限于:其余应用程序的界面、系统界面,例如,如图2所示,屏幕正在全屏显示的会话界面为第一聊天机器人界面,第一聊天机器人界面是全屏显示的聊天机器人界面,第一聊天机器人界面作为会话界面,用户可以通过第一聊天机器人界面订阅火车票等,从而可以多次输入订阅火车票所需的信息。当用户将第一聊天机器人界面对应的应用程序切换至后台运行,并在屏幕上显示社交软件界面时,如图3所示,社交软件界面作为第一界面,并在社交软件界面上悬浮显示第二聊天机器人界面,第二聊天机器人界面是悬浮显示的聊天机器人界面,第二聊天机器人界面作为第二界面。It can be understood that the first interface may include, but is not limited to, interfaces of other applications and system interfaces. For example, as shown in FIG. 2 , the conversation interface that is being displayed in full screen on the screen is the first chatbot interface, the first chatbot interface. It is a chatbot interface displayed on a full screen. The first chatbot interface is used as a conversation interface. Users can subscribe to train tickets through the first chatbot interface, so that the information required for subscribing train tickets can be input multiple times. When the user switches the application corresponding to the first chatbot interface to run in the background, and displays the social software interface on the screen, as shown in Figure 3, the social software interface is used as the first interface, and the first interface is suspended on the social software interface. Second chatbot interface, the second chatbot interface is a chatbot interface displayed in suspension, and the second chatbot interface is used as the second interface.

本申请可以在第一界面上悬浮显示第二界面,保证了用户可以在查看第一界面的时候从悬浮显示的第二界面中,实时查看到会话界面接收到的信息。The present application can display the second interface in suspension on the first interface, which ensures that the user can view the information received in the conversation interface in real time from the second interface displayed in the suspension when viewing the first interface.

可选地,步骤102中的在所述第一界面上悬浮显示第二界面,包括子步骤1021至1022:Optionally, displaying the second interface in suspension on the first interface in step 102 includes sub-steps 1021 to 1022:

子步骤1021,检测所述会话界面的显示内容是否存在更新。Sub-step 1021, detecting whether the displayed content of the session interface is updated.

其中,会话界面的显示内容存在更新的情况包括但不限于:接收到新消息、刷新界面数据。The situation where the displayed content of the conversation interface is updated includes, but is not limited to, receiving a new message and refreshing interface data.

子步骤1022,在所述会话界面的显示内容存在更新的情况下,在所述第一界面上悬浮显示第二界面。Sub-step 1022, in the case that the displayed content of the conversation interface is updated, display a second interface in a floating manner on the first interface.

本申请可以在会话界面的显示内容存在更新时悬浮显示第二界面,当会话界面的显示内容不存在更新时,不悬浮显示第二界面,以尽量避免第二界面遮挡第一界面。In the present application, the second interface can be displayed in suspension when the displayed content of the conversation interface is updated, and when the displayed content of the conversation interface is not updated, the second interface is not displayed in suspension, so as to avoid blocking the first interface by the second interface as much as possible.

可选地,在步骤102之后还包括步骤103至104:Optionally, after step 102, steps 103 to 104 are further included:

步骤103,接收对所述第二界面的第二输入。Step 103: Receive a second input on the second interface.

其中,第二输入是用于全屏显示会话界面的输入操作,第二输入可以是如下的一种:对第二界面的点击操作、对第二界面的长按操作、将第二界面朝指定方向的拖动操作、对第二界面中全屏控件的点击操作、长按操作等。例如,如图3所示,第二聊天机器人界面作为第二界面,用户可以双击第二聊天机器人界面,从而得到如图2所示的第一聊天机器人界面,第一聊天机器人界面作为会话界面。Wherein, the second input is an input operation used to display the session interface in full screen, and the second input may be one of the following: a click operation on the second interface, a long-press operation on the second interface, and moving the second interface in a specified direction drag operation, click operation on the full-screen control in the second interface, long press operation, etc. For example, as shown in FIG. 3 , the second chat robot interface is used as the second interface, and the user can double-click the second chat robot interface to obtain the first chat robot interface as shown in FIG. 2 , and the first chat robot interface is used as the conversation interface.

步骤104,响应于所述第二输入,全屏显示所述会话界面。Step 104, in response to the second input, display the conversation interface in a full screen.

本申请可以通过对第二界面进行操作,以全屏显示会话界面,以使用户在对第一界面查看结束之后,方便用户对会话界面的操作。In the present application, the session interface can be displayed in full screen by operating the second interface, so that after the user finishes viewing the first interface, it is convenient for the user to operate the session interface.

可选地,在步骤102之后还包括步骤105至106:Optionally, after step 102, steps 105 to 106 are further included:

步骤105,接收对所述第二界面的第三输入。Step 105: Receive a third input on the second interface.

其中,第三输入是用于向第二界面输入信息的操作,用户可以在第二界面中的输入区域输入信息,输入信息包括但不限于:文字、数字、特殊字符、图片、视频。如图3所示,用户在接收到新消息S1之后,可以在第二聊天机器人界面中的输入区域S2中输入信息并点击发送,从而在如图4所示的第二聊天机器人界面中显示输入信息S3。The third input is an operation for inputting information into the second interface. The user can input information in the input area of the second interface, and the input information includes but is not limited to: characters, numbers, special characters, pictures, and videos. As shown in FIG. 3 , after receiving the new message S1, the user can input information in the input area S2 in the second chat robot interface and click send, thereby displaying the input in the second chat robot interface as shown in FIG. 4 . Information S3.

步骤106,响应于所述第三输入,在所述第二界面中显示所述第三输入的输入信息。Step 106: In response to the third input, display the input information of the third input in the second interface.

本申请可以在第二界面中接收用户的输入信息,不需要全屏显示第二界面之后再输入信息,如此进一步减少了用户的操作复杂度。In the present application, the user's input information can be received in the second interface, and it is not necessary to display the second interface in full screen before inputting information, which further reduces the user's operational complexity.

可选地,在步骤102之后还包括步骤107至108:Optionally, after step 102, steps 107 to 108 are further included:

步骤107,接收对所述第二界面的第四输入。Step 107: Receive a fourth input to the second interface.

其中,第四输入是关闭第二界面或调整第二界面的位置的操作。在一种示例中,第四输入可以包括但不限于:对第二界面的点击操作、对第二界面的长按操作、将第二界面朝指定方向的拖动操作、对第二界面中指定控件的点击操作、长按操作等。例如,用户可以长按第二界面的边缘位置,以关闭第二界面;又例如,用户可以拖动第二界面,以调整第二界面的位置。The fourth input is an operation of closing the second interface or adjusting the position of the second interface. In an example, the fourth input may include, but is not limited to: a click operation on the second interface, a long-press operation on the second interface, a drag operation to move the second interface in a specified direction, a specified operation on the second interface Control click operation, long press operation, etc. For example, the user can long press the edge position of the second interface to close the second interface; for another example, the user can drag the second interface to adjust the position of the second interface.

在一种示例中,关闭第二界面之后,可以在后台运行第二界面,以方便用户再次查看第二界面。这种适用于用户并未结束使用第二界面的应用场景。In an example, after closing the second interface, the second interface may be run in the background, so that the user can view the second interface again. This is applicable to the application scenario in which the user has not finished using the second interface.

在另一种示例中,退出展示第二界面之后,可以停止在后台运行第二界面,以节约运行第二界面消耗的资源。这种适用于用户已经结束使用第二界面的应用场景。本申请对关闭第二界面之后的处理不加以限制。In another example, after exiting and displaying the second interface, the running of the second interface in the background may be stopped, so as to save the resources consumed by running the second interface. This is applicable to the application scenario where the user has finished using the second interface. This application does not limit the processing after closing the second interface.

步骤108,响应于所述第四输入,关闭所述第二界面或调整所述第二界面的位置。Step 108: In response to the fourth input, close the second interface or adjust the position of the second interface.

本申请可以根据用户操作,关闭第二界面或调整第二界面的位置,避免第二界面对第一界面的遮挡。The present application can close the second interface or adjust the position of the second interface according to the user operation, so as to avoid the second interface blocking the first interface.

可选地,在步骤102之后还包括步骤109至110:Optionally, after step 102, steps 109 to 110 are further included:

步骤109,接收对所述第二界面的第五输入。Step 109, receiving a fifth input to the second interface.

其中,第五输入是用于调整第二界面的属性的操作,当第五输入不同时,调整的属性也不同。在一种示例中,当用户在透明度输入框中输入透明度参数或滑动透明度滑动条时,第五输入用于调整第二界面的透明度,透明度代表了透过第二界面看到的第一界面的清晰度,若透明度越大,则清晰度越高;若透明度越小,则清晰度越低。用户可以在无法透过第二界面查看被第一界面被遮挡的显示内容时,调大第二界面的透明度;或,在第二界面的透明度较大导致无法查看第二界面时调小第二界面的透明度。The fifth input is an operation for adjusting the attributes of the second interface, and when the fifth input is different, the adjusted attributes are also different. In one example, when the user inputs a transparency parameter in the transparency input box or slides the transparency slider, the fifth input is used to adjust the transparency of the second interface, and the transparency represents the transparency of the first interface seen through the second interface. Clarity, if the transparency is greater, the clarity is higher; if the transparency is smaller, the clarity is lower. When the user cannot view the display content blocked by the first interface through the second interface, the transparency of the second interface can be increased; or, when the transparency of the second interface is so large that the second interface cannot be viewed. Transparency of the interface.

在另一种示例中,当用户对第二界面的边界进行拖动或对尺寸调整控件进行点击时,第五输入用于调整第二界面的尺寸。在第二界面遮挡了第一界面的重要显示内容时,用户可以将第二界面的尺寸调小,以使第二界面不遮挡第一界面的重要显示内容;在第二界面不清晰时,用户可以将第二界面的尺寸调大,以使第二界面的清晰度更高。In another example, when the user drags the boundary of the second interface or clicks on the size adjustment control, the fifth input is used to adjust the size of the second interface. When the second interface blocks the important display content of the first interface, the user can reduce the size of the second interface so that the second interface does not block the important display content of the first interface; when the second interface is not clear, the user The size of the second interface can be increased to make the second interface more clear.

步骤110,响应于所述第五输入,调整所述第二界面的属性,所述属性包括如下的至少一项:尺寸、透明度。Step 110: In response to the fifth input, adjust an attribute of the second interface, where the attribute includes at least one of the following: size and transparency.

本申请可以通过调大第二界面的透明度,从而减弱第二界面对第一界面的遮挡,提高第一界面的清晰度,或调小第二界面的透明度,从而增强第二界面的实体性,提高第二界面的清晰度,或调小第二界面的尺寸,从而减小第二界面对第一界面的遮挡区域,或调大第二界面的尺寸,从而扩大第二界面的区域,提高第二界面的清晰度。In the present application, by increasing the transparency of the second interface, the occlusion of the first interface by the second interface can be weakened, and the clarity of the first interface can be improved, or the transparency of the second interface can be decreased, thereby enhancing the solidity of the second interface. Improve the clarity of the second interface, or reduce the size of the second interface, thereby reducing the occlusion area of the second interface to the first interface, or increase the size of the second interface, thereby expanding the area of the second interface and improving the first interface. The clarity of the second interface.

综上所述,本申请实施例提供了一种界面处理方法,包括:在显示会话界面的情况下,接收切换任务的第一输入;响应于所述第一输入,显示第一界面,并在所述第一界面上悬浮显示第二界面,其中,所述第二界面为所述会话界面经过预设处理后的界面。本申请可以在显示第一界面时,悬浮显示会话界面经过预设处理后的第二界面,如此可以保证用户在查看第一界面时还可以通过悬浮显示的第二界面查看会话界面中接收到的信息。To sum up, an embodiment of the present application provides an interface processing method, including: in the case of displaying a conversation interface, receiving a first input of switching tasks; in response to the first input, displaying the first interface, and in the A second interface is displayed in suspension on the first interface, wherein the second interface is an interface of the conversation interface that has undergone preset processing. In the present application, when the first interface is displayed, the second interface of the session interface after the preset processing can be displayed in suspension, so that it can be ensured that the user can also view the received data in the session interface through the second interface displayed in suspension when viewing the first interface. information.

需要说明的是,本申请实施例提供的界面处理方法,执行主体可以为界面处理装置,或者该界面处理装置中的用于执行界面处理方法的控制模块。本申请实施例中以界面处理装置执行界面处理方法为例,说明本申请实施例提供的界面处理装置。It should be noted that, in the interface processing method provided by the embodiments of the present application, the execution body may be an interface processing apparatus, or a control module in the interface processing apparatus for executing the interface processing method. In the embodiments of the present application, an interface processing method performed by an interface processing apparatus is used as an example to describe the interface processing apparatus provided by the embodiments of the present application.

参照图5所示,本申请提供了一种界面处理装置的结构框图,具体包括:Referring to FIG. 5 , the present application provides a structural block diagram of an interface processing apparatus, which specifically includes:

第一输入接收模块201,用于在显示会话界面的情况下,接收切换任务的第一输入。The first input receiving module 201 is configured to receive the first input of the switching task when the conversation interface is displayed.

悬浮显示模块202,用于响应于所述第一输入,显示第一界面,并在所述第一界面上悬浮显示第二界面,其中,所述第二界面为所述会话界面经过预设处理后的界面。The floating display module 202 is configured to display a first interface in response to the first input, and display a second interface suspended on the first interface, wherein the second interface is the conversation interface that has undergone preset processing interface after.

可选地,所述悬浮显示模块202,包括更新检测子模块和悬浮显示子模块:Optionally, the suspension display module 202 includes an update detection submodule and a suspension display submodule:

更新检测子模块,用于检测所述会话界面的显示内容是否存在更新。The update detection submodule is used to detect whether the displayed content of the session interface is updated.

悬浮显示子模块,用于在所述会话界面的显示内容存在更新的情况下,在所述第一界面上悬浮显示第二界面。The suspension display sub-module is configured to display the second interface in suspension on the first interface when the displayed content of the conversation interface is updated.

可选地,所述装置还包括第二输入接收模块和会话界面全屏显示模块:Optionally, the device further includes a second input receiving module and a full-screen display module for a session interface:

第二输入接收模块,用于接收对所述第二界面的第二输入。The second input receiving module is configured to receive the second input to the second interface.

会话界面全屏显示模块,用于响应于所述第二输入,全屏显示所述会话界面。A session interface full-screen display module, configured to display the session interface in full screen in response to the second input.

可选地,所述装置还包括第三输入接收模块和输入信息显示模块:Optionally, the device further includes a third input receiving module and an input information display module:

第三输入接收模块,用于接收对所述第二界面的第三输入。A third input receiving module, configured to receive a third input to the second interface.

输入信息显示模块,用于响应于所述第三输入,在所述第二界面中显示所述第三输入的输入信息。An input information display module, configured to display the input information of the third input in the second interface in response to the third input.

可选地,所述装置还包括第四输入接收模块和第一显示调整模块:Optionally, the device further includes a fourth input receiving module and a first display adjustment module:

第四输入接收模块,用于接收对所述第二界面的第四输入。The fourth input receiving module is configured to receive a fourth input to the second interface.

第一显示调整模块,用于响应于所述第四输入,关闭所述第二界面或调整所述第二界面的位置。The first display adjustment module is configured to close the second interface or adjust the position of the second interface in response to the fourth input.

可选地,所述装置还包括第五输入接收模块和第二显示调整模块:Optionally, the device further includes a fifth input receiving module and a second display adjustment module:

第五输入接收模块,用于接收对所述第二界面的第五输入。A fifth input receiving module, configured to receive a fifth input to the second interface.

第二显示调整模块,用于响应于所述第五输入,调整所述第二界面的属性,所述属性包括如下的至少一项:尺寸、透明度。A second display adjustment module, configured to adjust an attribute of the second interface in response to the fifth input, where the attribute includes at least one of the following: size and transparency.

综上所述,本申请实施例提供了一种界面处理装置,包括:第一输入接收模块,用于在显示会话界面的情况下,接收切换任务的第一输入;悬浮显示模块,用于响应于所述第一输入,显示第一界面,并在所述第一界面上悬浮显示第二界面,其中,所述第二界面为所述会话界面经过预设处理后的界面。本申请可以在显示第一界面时,悬浮显示会话界面经过预设处理后的第二界面,如此可以保证用户在查看第一界面时还可以通过悬浮显示的第二界面查看会话界面中接收到的信息。To sum up, an embodiment of the present application provides an interface processing apparatus, including: a first input receiving module, for receiving a first input of switching tasks when a conversation interface is displayed; a floating display module for responding to According to the first input, a first interface is displayed, and a second interface is displayed in a suspended manner on the first interface, wherein the second interface is an interface of the conversation interface after preset processing. In the present application, when the first interface is displayed, the second interface of the session interface after the preset processing can be displayed in suspension, so that it can be ensured that the user can also view the received data in the session interface through the second interface displayed in suspension when viewing the first interface. information.

本申请实施例中的界面处理装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personaldigital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(NetworkAttached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The interface processing apparatus in this embodiment of the present application may be an apparatus, or may be a component, an integrated circuit, or a chip in a terminal. The apparatus may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). , PDA), etc., the non-mobile electronic device may be a server, a network attached storage (NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc. The embodiments of the present application There is no specific limitation.

本申请实施例中的界面处理装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The interface processing apparatus in this embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.

本申请实施例提供的界面处理装置能够实现图1的方法实施例实现的各个过程,为避免重复,这里不再赘述。The interface processing apparatus provided in this embodiment of the present application can implement each process implemented by the method embodiment in FIG. 1 , and to avoid repetition, details are not described here.

可选地,如图6所示,本申请实施例还提供一种电子设备300,包括处理器301,存储器302,存储在存储器302上并可在所述处理器301上运行的程序或指令,该程序或指令被处理器301执行时实现上述界面处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 6 , an embodiment of the present application further provides an electronic device 300, including a processor 301, a memory 302, a program or instruction stored in the memory 302 and executable on the processor 301, When the program or instruction is executed by the processor 301, each process of the above-mentioned embodiment of the interface processing method can be realized, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.

需要注意的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.

图7为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.

该电子设备400包括但不限于:射频单元401、网络模块402、音频输出单元403、输入单元404、传感器405、显示单元406、用户输入单元407、接口单元408、存储器409、以及处理器410等部件。The electronic device 400 includes but is not limited to: a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, and a processor 410, etc. part.

本领域技术人员可以理解,电子设备400还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器410逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图7中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 400 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 410 through a power management system, so that the power management system can manage charging, discharging, and power management. consumption management and other functions. The structure of the electronic device shown in FIG. 7 does not constitute a limitation on the electronic device. The electronic device may include more or less components than the one shown, or combine some components, or arrange different components, which will not be repeated here. .

处理器410,用于:在显示会话界面的情况下,接收切换任务的第一输入;响应于所述第一输入,显示第一界面,并在所述第一界面上悬浮显示第二界面,其中,所述第二界面为所述会话界面经过预设处理后的界面。本申请可以在显示第一界面时,悬浮显示会话界面经过预设处理后的第二界面,如此可以保证用户在查看第一界面时还可以通过悬浮显示的第二界面查看会话界面中接收到的信息。The processor 410 is configured to: in the case of displaying the conversation interface, receive a first input of switching tasks; in response to the first input, display a first interface, and display a second interface in a floating manner on the first interface, Wherein, the second interface is an interface of the conversation interface after preset processing. In the present application, when the first interface is displayed, the second interface of the session interface after the preset processing can be displayed in suspension, so that it can be ensured that the user can also view the received data in the session interface through the second interface displayed in suspension when viewing the first interface. information.

可选地,处理器410,还用于:检测所述会话界面的显示内容是否存在更新;在所述会话界面的显示内容存在更新的情况下,在所述第一界面上悬浮显示第二界面。本申请可以在会话界面的显示内容存在更新时悬浮显示第二界面,当会话界面的显示内容不存在更新时,不悬浮显示第二界面,以尽量避免第二界面遮挡第一界面。Optionally, the processor 410 is further configured to: detect whether the displayed content of the conversation interface is updated; and in the case that the displayed content of the conversation interface is updated, display a second interface in suspension on the first interface . In the present application, the second interface can be displayed in suspension when the displayed content of the conversation interface is updated, and when the displayed content of the conversation interface is not updated, the second interface is not displayed in suspension, so as to avoid blocking the first interface by the second interface as much as possible.

可选地,处理器410,还用于:接收对所述第二界面的第二输入;响应于所述第二输入,全屏显示所述会话界面。本申请可以通过对第二界面进行操作,以全屏显示会话界面,以使用户在对第一界面查看结束之后,方便用户对会话界面的操作。Optionally, the processor 410 is further configured to: receive a second input to the second interface; and in response to the second input, display the conversation interface in full screen. In the present application, the session interface can be displayed in full screen by operating the second interface, so that after the user finishes viewing the first interface, it is convenient for the user to operate the session interface.

可选地,处理器410,还用于:接收对所述第二界面的第三输入;响应于所述第三输入,在所述第二界面中显示所述第三输入的输入信息。本申请可以在第二界面中接收用户的输入信息,不需要全屏显示第二界面之后再输入信息,如此进一步减少了用户的操作复杂度。Optionally, the processor 410 is further configured to: receive a third input to the second interface; and in response to the third input, display the input information of the third input in the second interface. In the present application, the user's input information can be received in the second interface, and it is not necessary to display the second interface in full screen before inputting information, which further reduces the user's operational complexity.

可选地,处理器410,还用于:接收对所述第二界面的第四输入;响应于所述第四输入,关闭所述第二界面或调整所述第二界面的位置。本申请可以根据用户操作,退出显示第二界面或调整第二界面的位置,避免第二界面对第一界面的遮挡。Optionally, the processor 410 is further configured to: receive a fourth input to the second interface; and in response to the fourth input, close the second interface or adjust the position of the second interface. According to the user operation, the present application can exit the display of the second interface or adjust the position of the second interface, so as to avoid the second interface blocking the first interface.

可选地,处理器410,还用于:接收对所述第二界面的第五输入;响应于所述第五输入,调整所述第二界面的属性,所述属性包括如下的至少一项:尺寸、透明度。本申请可以通过调大第二界面的透明度,从而减弱第二界面对第一界面的遮挡,提高第一界面的清晰度,或调小第二界面的透明度,从而增强第二界面的实体性,提高第二界面的清晰度,或调小第二界面的尺寸,从而减小第二界面对第一界面的遮挡区域,或调大第二界面的尺寸,从而扩大第二界面的区域,提高第二界面的清晰度。Optionally, the processor 410 is further configured to: receive a fifth input to the second interface; in response to the fifth input, adjust an attribute of the second interface, where the attribute includes at least one of the following : Size, Transparency. In the present application, by increasing the transparency of the second interface, the occlusion of the first interface by the second interface can be weakened, and the clarity of the first interface can be improved, or the transparency of the second interface can be decreased, thereby enhancing the solidity of the second interface. Improve the clarity of the second interface, or reduce the size of the second interface, thereby reducing the occlusion area of the second interface to the first interface, or increase the size of the second interface, thereby expanding the area of the second interface and improving the first interface. The clarity of the second interface.

应理解的是,本申请实施例中,输入单元404可以包括图形处理器(GraphicsProcessing Unit,GPU)4041和麦克风4042,图形处理器4041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元406可包括显示面板4061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板4061。用户输入单元407包括触控面板4071以及其他输入设备4072。触控面板4071,也称为触摸屏。触控面板4071可包括触摸检测装置和触摸控制器两个部分。其他输入设备4072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器409可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器410可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器410中。It should be understood that, in this embodiment of the present application, the input unit 404 may include a graphics processor (Graphics Processing Unit, GPU) 4041 and a microphone 4042. camera) to process the image data of still pictures or videos. The display unit 406 may include a display panel 4061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 407 includes a touch panel 4071 and other input devices 4072 . The touch panel 4071 is also called a touch screen. The touch panel 4071 may include two parts, a touch detection device and a touch controller. Other input devices 4072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which are not described herein again. Memory 409 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems. The processor 410 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and application programs, and the like, and the modem processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 410.

本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述界面处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the above-mentioned embodiment of the interface processing method can be achieved, and the same can be achieved. In order to avoid repetition, the technical effect will not be repeated here.

其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the foregoing embodiments. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.

本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述界面处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement the interface processing method embodiments described above. Each process can achieve the same technical effect. In order to avoid repetition, it will not be repeated here.

应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in the reverse order depending on the functions involved. To perform functions, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to some examples may be combined in other examples.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。From 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 hardware platform, and of course hardware can also be used, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including 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 the various embodiments of this application.

上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of this application, without departing from the scope of protection of the purpose of this application and the claims, many forms can be made, which all fall within the protection of this application.

Claims (14)

1. An interface processing method, comprising:
receiving a first input for switching tasks under the condition that a session interface is displayed;
and responding to the first input, displaying a first interface, and displaying a second interface in a floating manner on the first interface, wherein the second interface is an interface of the conversation interface after preset processing.
2. The method of claim 1, wherein displaying a second interface in suspension on the first interface comprises:
detecting whether the display content of the session interface is updated or not;
and under the condition that the display content of the conversation interface is updated, floating and displaying a second interface on the first interface.
3. The method of claim 1 or 2, wherein after displaying the second interface in suspension on the first interface, the method further comprises:
receiving a second input to the second interface;
in response to the second input, displaying the conversation interface full-screen.
4. The method of claim 1 or 2, wherein after displaying the second interface in suspension on the first interface, the method further comprises:
receiving a third input to the second interface;
in response to the third input, displaying input information of the third input in the second interface.
5. The method of claim 1 or 2, wherein after displaying the second interface in suspension on the first interface, the method further comprises:
receiving a fourth input to the second interface;
in response to the fourth input, closing the second interface or adjusting a position of the second interface.
6. The method of claim 1 or 2, wherein after displaying the second interface in suspension on the first interface, the method further comprises:
receiving a fifth input to the second interface;
in response to the fifth input, adjusting a property of the second interface, the property comprising at least one of: size, transparency.
7. An interface processing apparatus, comprising:
the first input receiving module is used for receiving a first input of a switching task under the condition of displaying a session interface;
and the suspension display module is used for responding to the first input, displaying a first interface and displaying a second interface in a suspension manner on the first interface, wherein the second interface is an interface of the conversation interface after preset processing.
8. The apparatus of claim 7, wherein the floating display module comprises:
the update detection submodule is used for detecting whether the display content of the session interface is updated or not;
and the suspension display submodule is used for displaying a second interface in a suspension manner on the first interface under the condition that the display content of the conversation interface is updated.
9. The apparatus of claim 7 or 8, further comprising:
the second input receiving module is used for receiving second input of the second interface;
and the conversation interface full screen display module is used for responding to the second input and displaying the conversation interface in a full screen mode.
10. The apparatus of claim 7 or 8, further comprising:
a third input receiving module, configured to receive a third input to the second interface;
and the input information display module is used for responding to the third input and displaying the input information of the third input in the second interface.
11. The apparatus of claim 7 or 8, further comprising:
the fourth input receiving module is used for receiving a fourth input to the second interface;
and the first display adjusting module is used for responding to the fourth input and closing the second interface or adjusting the position of the second interface.
12. The apparatus of claim 7 or 8, further comprising:
a fifth input receiving module, configured to receive a fifth input to the second interface;
a second display adjustment module, configured to adjust a property of the second interface in response to the fifth input, where the property includes at least one of: size, transparency.
13. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the interface processing method according to any one of claims 1 to 6.
14. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by a processor, implement the steps of the interface processing method according to any one of claims 1 to 6.
CN202010591448.0A 2020-06-24 2020-06-24 Interface processing method and device, electronic equipment and storage medium Active CN111813308B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010591448.0A CN111813308B (en) 2020-06-24 2020-06-24 Interface processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010591448.0A CN111813308B (en) 2020-06-24 2020-06-24 Interface processing method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111813308A true CN111813308A (en) 2020-10-23
CN111813308B CN111813308B (en) 2022-02-08

Family

ID=72856428

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010591448.0A Active CN111813308B (en) 2020-06-24 2020-06-24 Interface processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111813308B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112835485A (en) * 2021-02-04 2021-05-25 维沃移动通信有限公司 Application interface processing method, apparatus, electronic device and readable storage medium
CN115022267A (en) * 2022-05-06 2022-09-06 网易(杭州)网络有限公司 Information interaction method and terminal equipment
CN115102916A (en) * 2022-05-11 2022-09-23 钉钉(中国)信息技术有限公司 Task processing method, electronic system and storage medium
CN115373790A (en) * 2022-08-31 2022-11-22 维沃移动通信有限公司 Display method and device and electronic equipment
WO2023137825A1 (en) * 2022-01-20 2023-07-27 博泰车联网科技(上海)股份有限公司 Interface display method and apparatus, and electronic device
CN117251537A (en) * 2023-07-11 2023-12-19 崇杉(北京)科技服务有限公司 Session processing method, device, equipment and storage medium for artificial intelligence

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105763716A (en) * 2014-12-19 2016-07-13 中兴通讯股份有限公司 Short message processing method and short message processing terminal
CN106371789A (en) * 2016-09-30 2017-02-01 维沃移动通信有限公司 Method for displaying prompt message in application program, and mobile terminal
CN108595237A (en) * 2018-03-30 2018-09-28 维沃移动通信有限公司 A kind of method and terminal of display content
CN110134481A (en) * 2019-05-20 2019-08-16 腾讯科技(深圳)有限公司 Page processing method and device and related equipment
WO2020052529A1 (en) * 2018-09-10 2020-03-19 华为技术有限公司 Method for quickly adjusting out small window in fullscreen display during video, graphic user interface and terminal
CN111124587A (en) * 2020-01-03 2020-05-08 北京小米移动软件有限公司 Interface display method and device, terminal device, and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105763716A (en) * 2014-12-19 2016-07-13 中兴通讯股份有限公司 Short message processing method and short message processing terminal
CN106371789A (en) * 2016-09-30 2017-02-01 维沃移动通信有限公司 Method for displaying prompt message in application program, and mobile terminal
CN108595237A (en) * 2018-03-30 2018-09-28 维沃移动通信有限公司 A kind of method and terminal of display content
WO2020052529A1 (en) * 2018-09-10 2020-03-19 华为技术有限公司 Method for quickly adjusting out small window in fullscreen display during video, graphic user interface and terminal
CN110134481A (en) * 2019-05-20 2019-08-16 腾讯科技(深圳)有限公司 Page processing method and device and related equipment
CN111124587A (en) * 2020-01-03 2020-05-08 北京小米移动软件有限公司 Interface display method and device, terminal device, and storage medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112835485A (en) * 2021-02-04 2021-05-25 维沃移动通信有限公司 Application interface processing method, apparatus, electronic device and readable storage medium
WO2022166820A1 (en) * 2021-02-04 2022-08-11 维沃移动通信有限公司 Application interface processing method and apparatus, electronic device, and readable storage medium
WO2023137825A1 (en) * 2022-01-20 2023-07-27 博泰车联网科技(上海)股份有限公司 Interface display method and apparatus, and electronic device
CN115022267A (en) * 2022-05-06 2022-09-06 网易(杭州)网络有限公司 Information interaction method and terminal equipment
CN115022267B (en) * 2022-05-06 2024-05-14 网易(杭州)网络有限公司 Information interaction method and terminal equipment
CN115102916A (en) * 2022-05-11 2022-09-23 钉钉(中国)信息技术有限公司 Task processing method, electronic system and storage medium
CN115373790A (en) * 2022-08-31 2022-11-22 维沃移动通信有限公司 Display method and device and electronic equipment
CN117251537A (en) * 2023-07-11 2023-12-19 崇杉(北京)科技服务有限公司 Session processing method, device, equipment and storage medium for artificial intelligence

Also Published As

Publication number Publication date
CN111813308B (en) 2022-02-08

Similar Documents

Publication Publication Date Title
CN111813308A (en) Interface processing method, device, electronic device and storage medium
CN111866270B (en) Application program control method and device and electronic equipment
CN113282424B (en) Information reference method and device and electronic equipment
CN111984115A (en) Messaging method, device and electronic device
WO2022166820A1 (en) Application interface processing method and apparatus, electronic device, and readable storage medium
CN113141295B (en) Message display method and device and electronic equipment
CN111638818A (en) Window position adjustment method, device and electronic device
WO2023025121A1 (en) Display method and apparatus, electronic device, and readable storage medium
WO2023005828A1 (en) Message display method and apparatus, and electronic device
CN111857504A (en) Information display method, device, electronic device and storage medium
CN111813293A (en) Application management method and electronic device
WO2023030115A1 (en) Interface display method and apparatus
CN115357173A (en) Screen control method and device and electronic equipment
WO2023030267A1 (en) Pop-up box display method and apparatus, electronic device, and readable storage medium
CN112099714B (en) Screenshot method and device, electronic equipment and readable storage medium
CN112929254B (en) Message processing method and device and electronic equipment
CN112286615A (en) Information display method and device of application program
CN111669460A (en) Message push method, device, electronic device and storage medium
WO2022262722A1 (en) Response method and apparatus of electronic device, and electronic device
CN112230817B (en) Link page display method and device and electronic equipment
US20240089223A1 (en) Information display method and apparatus, and electronic device
CN112764628B (en) Content display method, content display device, electronic equipment and storage medium
CN114327706B (en) Information sharing method, device, electronic device and readable storage medium
CN113726946B (en) Application program control method and device
CN113824841B (en) Notification message processing method and device, electronic equipment and readable storage medium

Legal Events

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