Interface display method and device, terminal and storage medium

By displaying the functional portal of the embedded program in the session interface of the target application and displaying the functional interface in response to its trigger operation, the problem of low human-computer interaction efficiency of the embedded program is solved, and the effect of users quickly accessing the functional interface is achieved.

CN119847402APending Publication Date: 2025-04-18TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311344422.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-17
Publication Date
2025-04-18

AI Technical Summary

Technical Problem

The human-computer interaction efficiency of embedded programs is inefficient, and users need to perform cumbersome operations to access the functional interface.

Method used

In the target application, the session interface with the object is displayed, and the functional portal of the embedded program is displayed in the session interface. In response to the trigger operation of the function portal, the display of the session interface is maintained and the functional interface of the embedded program is displayed.

Benefits of technology

The human-computer interaction efficiency of embedded programs is improved, and users can quickly access the functional interface of embedded programs through the functional portal without performing complex operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119847402A_ABST
    Figure CN119847402A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses an interface display method and device, a terminal and a storage medium, and belongs to the technical field of computers. The method comprises the steps that in a target application program, a session interface with a first object is displayed, an entrance of a first function is displayed in the session interface, in response to a triggering operation on the entrance of the first function, display of the session interface is kept, and a first function interface of an embedded program is displayed. In the scheme provided by the embodiment of the invention, the object in the target application program can be bound with the embedded program, and when other objects carry out conversations with the object, the function entry of the embedded program can be displayed in the session interface, so that when the object carries out conversations with the object, the function entry can be used for displaying the function entry of the embedded program. According to the method, the function interface of the embedded program can be quickly accessed, a user does not need to execute complex operation to access the function interface of the embedded program, and the man-machine interaction efficiency of the embedded program is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of computer technology, and in particular to an interface display method, device, terminal and storage medium. Background Art

[0002] With the rapid development of computer technology, embedded programs have been widely used. An embedded program is an application that can be used without downloading and installing. Users can find the embedded program they need through terminal search, scanning, etc., and the terminal will display the functional interface of the embedded program for users to use after clicking. However, this requires users to perform cumbersome operations, resulting in low human-computer interaction efficiency of embedded programs. Summary of the invention

[0003] The embodiments of the present application provide an interface display method, device, terminal and storage medium, which can improve the efficiency of human-computer interaction. The technical solution is as follows:

[0004] In one aspect, a method for displaying an interface is provided, the method comprising:

[0005] In the target application, displaying a conversation interface with the first object, wherein the conversation interface displays an entry to a first function, wherein the first function is a function of an embedded program, the first object is bound to the embedded program, and the embedded program runs in the target application;

[0006] In response to a triggering operation on the entrance to the first function, the display of the conversation interface is maintained, and the first function interface of the embedded program is displayed.

[0007] In another aspect, an interface display device is provided, the device comprising:

[0008] A display module, configured to display a conversation interface with a first object in a target application, wherein an entry to a first function is displayed in the conversation interface, wherein the first function is a function of an embedded program, the first object is bound to the embedded program, and the embedded program runs in the target application;

[0009] The display module is further used to maintain the display of the conversation interface and display the first function interface of the embedded program in response to a triggering operation on the entrance of the first function.

[0010] In a possible implementation, the display module is used to display the conversation interface and the default interface of the embedded program in the target application in response to a conversation operation on the first object;

[0011] The display module is used to maintain the display of the conversation interface and switch the default interface to display the first function interface in response to a triggering operation on the entrance of the first function.

[0012] In another possible implementation, the display module is configured to display the conversation interface in the target application in response to a conversation operation on the first object.

[0013] In another possible implementation, the display module is used to maintain display of the conversation interface in response to a triggering operation on the entrance to the first function, determine a display size of the first function interface based on the display size of the conversation interface; and display the first function interface based on the display size of the first function interface.

[0014] In another possible implementation, the display module is further used to display an adjusted session interface and an adjusted first function interface in response to a state adjustment operation on the session interface or the first function interface, and the display state of either the session interface or the first function interface changes with the display state of the other.

[0015] In another possible implementation, the state adjustment operation includes a folding operation, and the display module is used to respond to the folding operation on the conversation interface or the first function interface and display the conversation interface and the first function interface from an expanded state to a folded state.

[0016] In another possible implementation, the display module is further configured to, in response to an expansion operation on the conversation interface or the first function interface, display the conversation interface and the first function interface to switch from the collapsed state to the expanded state.

[0017] In another possible implementation, the state adjustment operation includes a size adjustment operation, a position adjustment operation, or a color adjustment operation, and the display module is used to, in response to the size adjustment operation on the session interface or the first function interface, display the session interface after the size adjustment and the first function interface after the size adjustment, and the display state includes the display size; or, in response to the position adjustment operation on the session interface or the first function interface, display the session interface after the position adjustment and the first function interface after the position adjustment, and the display state includes the display position; or, in response to the color adjustment operation on the session interface or the first function interface, display the session interface after the color adjustment and the first function interface after the color adjustment, and the display state includes the display color.

[0018] In another possible implementation, the size adjustment operation includes a full-screen display operation, and the display module is used to determine the display size of the session interface and the display size of the first function interface based on the screen size, the display ratio of the session interface and the display ratio of the first function interface in response to the full-screen display operation of the session interface or the first function interface; display the session interface based on the display size of the session interface, and display the first function interface based on the display size of the first function interface.

[0019] In another possible implementation, the display module is used to determine, through the target application, a first display state in response to a state adjustment operation on the session interface, the first display state being the display state of the session interface after adjustment, and send the first display state to the embedded program; based on the first display state, display the adjusted session interface; receive, through the embedded program, the first display state, and determine, based on the first display state, a second display state being the display state of the first functional interface after adjustment; and display the adjusted first functional interface based on the second display state.

[0020] In another possible implementation, the display module is further configured to cancel display of the conversation interface and the first function interface in response to a closing operation on the conversation interface or the first function interface.

[0021] In another possible implementation, the display module is further used to display the resource in the first function interface in response to the operation of dragging the resource in the session interface to the first function interface; or to display the resource in the session interface in response to the operation of dragging the resource in the first function interface to the session interface.

[0022] In another possible implementation, the device further includes:

[0023] a generating module, configured to generate a second resource based on the first resource and the first function through the embedded program in response to an operation of dragging a first resource in the conversation interface to the first function interface, wherein the first resource is any resource in the conversation interface;

[0024] The display module is further used to display the second resource in the first function interface.

[0025] In another possible implementation, the device further includes:

[0026] an identification module, used for performing functional identification of the session information in the session interface through the embedded program during the conversation with the first object;

[0027] The display module is further configured to switch the first function interface to a second function interface when session information associated with a second function is identified, wherein the second function is any function of the embedded program.

[0028] In another possible implementation, the conversation interface and the first function interface do not overlap with each other.

[0029] In another possible implementation, any boundary of the conversation interface coincides with any boundary of the first function interface.

[0030] On the other hand, a terminal is provided, comprising a processor and a memory, wherein the memory stores at least one computer program, and the at least one computer program is loaded and executed by the processor to implement the operations performed by the interface display method described in the above aspects.

[0031] On the other hand, a computer-readable storage medium is provided, in which at least one computer program is stored. The at least one computer program is loaded and executed by a processor to implement the operations performed by the interface display method described in the above aspects.

[0032] On the other hand, a computer program product is provided, including a computer program, wherein when the computer program is executed by a processor, the operations performed by the interface display method described in the above aspects are implemented.

[0033] In the solution provided by the embodiment of the present application, the object in the target application can be bound to the embedded program, and when other objects conduct a conversation with the object, the entrance to the function of the embedded program can be displayed in the conversation interface, so that while conducting a conversation with the object, the function interface of the embedded program can be quickly accessed through the function entrance, so that the user can not only conduct a conversation with the object through the conversation interface, but also use the first function of the embedded program through the first function interface. The user no longer needs to perform complex operations to access the function interface of the embedded program, thereby improving the human-computer interaction efficiency of the embedded program. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0035] Figure 1 It is a structural diagram of an implementation environment provided by an embodiment of the present application;

[0036] Figure 2 is a flow chart of an interface display method provided in an embodiment of the present application;

[0037] Figure 3 is a flow chart of another interface display method provided in an embodiment of the present application;

[0038] Figure 4 It is a schematic diagram of an interface display provided in an embodiment of the present application;

[0039] Figure 5 is a schematic diagram of another interface display provided in an embodiment of the present application;

[0040] Figure 6 is a schematic diagram of another interface display provided in an embodiment of the present application;

[0041] Figure 7 is a flow chart of another interface display method provided in an embodiment of the present application;

[0042] Figure 8 is a flow chart of another interface display method provided in an embodiment of the present application;

[0043] Fig. 9 is a schematic diagram of another interface display provided in an embodiment of the present application;

[0044] Fig.10 is a schematic diagram of another interface display provided in an embodiment of the present application;

[0045] Fig.11 is a schematic diagram of another interface display provided in an embodiment of the present application;

[0046] Fig.12 is a flow chart of another interface display method provided in an embodiment of the present application;

[0047] Fig.13 is a schematic diagram of another interface display provided in an embodiment of the present application;

[0048] Fig.14 is a schematic diagram of another interface display provided in an embodiment of the present application;

[0049] Fig.15 is a schematic diagram of another interface display provided in an embodiment of the present application;

[0050] Fig.16 This is a flowchart of an object verification provided by an embodiment of the present application;

[0051] Fig.17 is a flow chart of another interface display method provided in an embodiment of the present application;

[0052] Fig.18 is a structural schematic diagram of an interface display device provided in an embodiment of the present application;

[0053] Fig.19 is a structural schematic diagram of another interface display device provided in an embodiment of the present application;

[0054] Fig. 20 is a schematic diagram of the structure of a terminal provided in an embodiment of the present application;

[0055] Fig.21 It is a structural diagram of a server provided in an embodiment of the present application. DETAILED DESCRIPTION

[0056] In order to make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0057] The terms "first", "second", etc. used in this application may be used in this article to describe various concepts, but unless otherwise specified, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another. For example, a first function may be referred to as a second function, and similarly, a second function may be referred to as a first function without departing from the scope of this application.

[0058] The terms "at least one", "a plurality", "each", and "any" used in this application include one, two or more than two, and a plurality includes two or more than two, and each refers to each of the corresponding plurality, and any refers to any one of the plurality. For example, a plurality of functions includes three functions, and each refers to each of the three functions, and any refers to any one of the three functions, which can be the first function, or the second function, or the third function.

[0059] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions. For example, the object identifiers and session information involved in this application are obtained with full authorization.

[0060] The interface display method provided in the embodiment of the present application can be executed by a terminal. Optionally, the terminal is a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, an intelligent voice interaction device, a smart home appliance, and a vehicle-mounted terminal, etc., but is not limited thereto. Optionally, the interface display method provided in the embodiment of the present application is implemented by the terminal interacting with multiple servers. The multiple servers include a server for providing services for the target application and a server for providing services for the embedded program. The terminal, by interacting with multiple servers, realizes the display of the functional interface of the conversation interface or the embedded program. Optionally, the server is an independent physical server, or it can be a server cluster or distributed system composed of multiple physical servers, or it can be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and basic cloud computing services such as big data and artificial intelligence platforms.

[0061] Figure 1 is a schematic diagram of an implementation environment provided by an embodiment of the present application. Figure 1 The implementation environment includes a terminal 101, a server 102 and a server 103. The terminal 101 and the server 102 are connected via a wireless or wired network, and the terminal 101 and the server 103 are connected via a wireless or wired network.

[0062] The target application provided by the server 102 is installed on the terminal 101, and the terminal 101 can realize functions such as conversation and message interaction through the target application. Optionally, the target application is an application in the operating system of the terminal 101, or an application provided by a third party. For example, the target application is an instant messaging (IM) application, and the instant messaging application has a conversation function. Of course, the instant messaging application can also have other functions, such as review function, shopping function, navigation function, game function, etc. For the instant messaging application, instant messaging can be realized, and the communicating parties can send text messages, files, voice, video communication, conference, group chat and other functions to each other. Instant messaging applications are convenient and fast, saving time and effort. Instant messaging is not limited by time and region, and you can communicate with friends at any time.

[0063] Server 103 is used to provide services for embedded programs. Embedded programs run in target applications, that is, embedded programs rely on target applications to run. Among them, embedded programs are applications that can be used without downloading and installing. Embedded programs are developed based on specific programming languages ​​and can rely on host applications to run. Users only need to install the host application, scan the QR code or search for keywords through the host application, and then add and use various embedded programs in the host application at any time. In the embodiment of the present application, the target application is the host application of the embedded program. Currently, embedded programs can also be called applets, micro programs, etc.

[0064] The terminal 101 interacts with the server 102 so as to display a conversation interface through a target application. Furthermore, the terminal 101 can interact with the server 103 so as to run an embedded program in the target application and display a functional interface of the embedded program.

[0065] Figure 2 is a flow chart of an interface display method provided in an embodiment of the present application, the method is executed by a terminal, such as Figure 2 As shown, the method includes:

[0066] 201. The terminal displays a conversation interface with the first object in the target application, wherein an entrance to a first function is displayed in the conversation interface, the first function is a function of an embedded program, the first object is bound to the embedded program, and the embedded program runs in the target application.

[0067] In the embodiment of the present application, the embedded program runs in the target application, that is, the embedded program depends on the target application to run. The target application has a session function. The user can initiate a session with any object through the target application in the terminal. The object in the target application can be bound to the embedded program. In the case that the object to which the session is initiated is bound to the embedded program, the function entrance of the embedded program bound to the object can be displayed in the session interface, so that the user can quickly access the function interface of the embedded program by triggering the function entrance.

[0068] The target application is any application, for example, the target application is an instant messaging application or a shopping application. The target application has a conversation function, and the user can have a conversation with any object through the target application in the terminal. The first object can be any type of object, for example, the first object is a user or an intelligent conversation robot. The first object is any object in the target application, for example, the target application is an instant messaging application, and the first object is a friend of the object using the terminal. The conversation interface is used to have a conversation with the first object, and the object using the terminal and the first object can both enter conversation information in the conversation interface to have a conversation with each other. For example, the target application is an instant messaging application, and the conversation interface is a chat interface. The entrance to the first function can be represented in any form, for example, the entrance to the first function is displayed in the conversation interface in the form of a button or a plug-in, and the button or plug-in displays the name or other identification of the first function. The embedded program has one or more functions, and the first function is any function of the functions of the embedded program, for example, the embedded program is used to provide logistics services, and the first function is an order placement function.

[0069] 202. In response to a triggering operation on an entry to a first function, the terminal maintains display of the conversation interface and displays a first function interface of the embedded program.

[0070] In the embodiment of the present application, the user can trigger the entrance of the first function to access the function interface corresponding to the first function, that is, access the first function interface. While the conversation interface is still displayed, the first function interface of the embedded program is displayed, so that the user can not only have a conversation with the first object through the conversation interface, but also use the first function of the embedded program through the first function interface.

[0071] In the solution provided by the embodiment of the present application, the object in the target application can be bound to the embedded program, and when other objects conduct a conversation with the object, the entrance to the function of the embedded program can be displayed in the conversation interface, so that while conducting a conversation with the object, the function interface of the embedded program can be quickly accessed through the function entrance, so that the user can not only conduct a conversation with the object through the conversation interface, but also use the first function of the embedded program through the first function interface. The user no longer needs to perform complex operations to access the function interface of the embedded program, thereby improving the human-computer interaction efficiency of the embedded program.

[0072] exist Figure 2 On the basis of the illustrated embodiment, the embodiment of the present application can also display a conversation interface by triggering a conversation operation, and the specific process is detailed in the following embodiment.

[0073] Figure 3is a flowchart of another interface display method provided in an embodiment of the present application, the method is executed by a terminal, such as Figure 3 As shown, the method includes:

[0074] 301. In a target application, in response to a session operation on a first object, the terminal displays a session interface with the first object, wherein an entrance to a first function is displayed in the session interface, the first function is a function of an embedded program, the first object is bound to the embedded program, and the embedded program runs in the target application.

[0075] In the embodiment of the present application, when a user triggers a conversation operation on a first object through a target application, it is equivalent to triggering an operation to initiate a conversation with the first object, and a conversation interface with the first object is displayed so that the user can have a conversation with the first object through the conversation interface. By triggering a conversation operation on any object, a conversation interface with the object can be displayed, which is convenient for the user to have a conversation with the object later, and when the object is bound to an embedded program, the entrance to the function of the embedded program is displayed in the conversation interface, so that the user can view the corresponding function interface through the entrance to the function while having a conversation, thereby ensuring the convenience of user operation.

[0076] In an embodiment of the present application, when the first object is bound to an embedded program, when any object conducts a conversation with the first object, the function entrance of the embedded program can be displayed in the conversation interface, that is, the relevant information of the embedded program can be displayed so that the embedded program can be accessed through the displayed function entrance.

[0077] In the embodiment of the present application, the terminal is a mobile phone or a computer. For the developer of the embedded program, it is only necessary to develop the embedded program once, and then the embedded program can be connected to the target application program on the mobile phone or the target application program on the computer at the same time, so as to realize the cross-terminal use of the embedded program without the need for the user to develop multiple versions of the embedded program. In the case where the first object is bound with the embedded program, when the user conducts a conversation with the first object through the target application program on the mobile phone, the entrance to the first function of the embedded program is displayed in the displayed conversation interface; when the user conducts a conversation with the first object through the target application program on the computer, the entrance to the first function of the embedded program is displayed in the displayed conversation interface; so that the user can start the embedded program by triggering the entrance to the first function and then access the first function interface.

[0078] In a possible implementation, step 301 includes: displaying multiple object identifiers in a target application, and displaying a conversation interface with a first object in response to a triggering operation on a first object identifier.

[0079] In the embodiment of the present application, the first object identifier is any one of the multiple object identifiers, and the first object identifier is used to represent the first object. The user can initiate a conversation with an object corresponding to any object identifier through the multiple object identifiers displayed in the target application, and then display the corresponding conversation interface.

[0080] Optionally, multiple object identifiers are displayed on the object display interface of the target application.

[0081] In the embodiment of the present application, the terminal logs in to the target application through the object identifier of the local terminal, and in the target application, an object display interface is displayed, which is used to display other object identifiers associated with the object identifier of the local terminal. Multiple object identifiers are displayed in the object display interface. The user can initiate a conversation with the object corresponding to any object identifier through the object identifier in the object display interface, and then the corresponding conversation interface is displayed. For example, if the target application is an instant messaging application, the object display interface is a friend display interface, and the object identifiers displayed in the friend display interface are the friends of the user using the terminal.

[0082] Optionally, the object display interface also displays the program identifier of the embedded program bound to the object identifier. For example, the object display interface displays an object identifier list, which includes the name of each object and the name of the embedded program bound to the object.

[0083] In a possible implementation, the process of binding the first object to the embedded program includes: the first terminal logs in to the target application program through the first object identifier, and configures the embedded program bound to the first object identifier in the target application program.

[0084] In the embodiment of the present application, the first terminal is a terminal used by the first object, and the first terminal logs in to the target application through the first object identifier, and then can configure which embedded programs are bound to the first object identifier in the target application, so that when other objects subsequently have a conversation with the first object, the entrance to the function of the bound embedded program can be displayed. In the process of configuring the embedded program bound to the object identifier, the configured embedded programs are all embedded programs that have been connected to the target application, and in the configuration process, any embedded program can be selected from the embedded programs that have been connected to the target application for binding.

[0085] Optionally, when binding an embedded program, the binding permission of the object will also be verified, that is, the method also includes: the first terminal, in the target application, in response to a binding operation on any embedded program, sends a binding request to a server corresponding to the embedded program, the binding request carries a first object identifier, the server verifies the binding permission of the first object identifier, and sends the verification result to the target application; when the verification result indicates that the first object identifier has the binding permission of the embedded program, in the target application, the first object identifier is bound to the embedded program; when the verification result indicates that the first object identifier does not have the binding permission of the embedded program, a binding failure notification is displayed in the target application to indicate that the first object identifier does not have the binding permission of the embedded program.

[0086] In the embodiment of the present application, the first object identifier has the binding permission of the embedded program, indicating that the first object is equivalent to the service personnel designated for the embedded program and has the permission to bind the embedded program. For example, the first object is equivalent to the B (Business, enterprise) end user, that is, the service personnel designated for the embedded program, who can provide relevant explanations or other help for the embedded program, so that when the user has a conversation with the first object, the entrance to the function of the embedded program is displayed in the conversation interface, so that the user can easily access the function interface of the embedded program.

[0087] Optionally, the configuration process includes: in the target application, when the embedded program to be bound by the first object identifier is selected, displaying entrances to multiple functions of the embedded program, and in response to a selection operation on the entrance of at least one function, determining the entrance of the selected function as the entrance of the function displayed in the conversation interface for a subsequent conversation with the first object.

[0088] In the embodiment of the present application, the user can not only configure which embedded programs the object identifier is bound to through the terminal, but also set convenient entrances for which functions of the embedded programs to ensure configuration flexibility.

[0089] It should be noted that in the embodiment of the present application, the first object is used to configure the bound embedded program and the displayed function entrance through the first terminal, while in another embodiment, the developer can also configure the function entrance of the embedded program to be displayed through the background system of the embedded program. After any object is bound to the embedded program, there is no need to manually configure the function entrance to be displayed. Subsequently, the function entrance configured by the developer will be displayed in the conversation interface with the object.

[0090] It should be noted that the embodiment of the present application displays the conversation interface in response to the conversation operation on the first object, while in another embodiment, there is no need to execute the above step 301, but other methods are adopted to display the conversation interface with the first object in the target application.

[0091] 302. In response to a triggering operation on an entry to a first function, the terminal maintains display of the conversation interface and displays a first function interface of the embedded program.

[0092] In the embodiment of the present application, when the embedded program is not started, the triggering operation on the entrance of the first function is equivalent to the operation of starting the embedded program and accessing the first function interface, so the terminal starts the embedded program and displays the first function interface.

[0093] In a possible implementation, the conversation interface and the first function interface do not overlap with each other.

[0094] In an embodiment of the present application, the terminal can simultaneously display the conversation interface and the first functional interface of the embedded program bound to the first object, and the conversation interface and the first functional interface do not overlap with each other to avoid affecting user viewing and ensure the integrity of the interface display.

[0095] Optionally, any boundary of the conversation interface coincides with any boundary of the first function interface.

[0096] In the embodiment of the present application, the conversation interface and the first functional interface do not overlap with each other, and the boundaries overlap, so that the conversation interface and the first functional interface can appear as a whole, making it convenient for the user to view the functional interface of the embedded program while conducting a conversation, thereby improving the display effect of the interface.

[0097] In one possible implementation, step 302 includes: in response to a triggering operation on the entrance to the first function, maintaining the display of the conversation interface, determining the display size of the first function interface based on the display size of the conversation interface; and displaying the first function interface based on the display size of the first function interface.

[0098] In the embodiment of the present application, when the conversation interface has been displayed, the conversation interface is displayed in a certain display size. Therefore, the display size of the first function interface is determined based on the display size of the conversation interface to ensure that the conversation interface and the first function interface can be displayed at the same time, and to ensure that the display sizes of the conversation interface and the first function interface match, thereby ensuring the display effect of the interface.

[0099] Optionally, the display size of the conversation interface includes height and width, the display size of the first function interface includes height and width, the height of the first function interface is equal to the height of the conversation interface; or, the width of the first function interface is equal to the width of the conversation interface; or, the width and height of the first function interface are equal to those of the conversation interface.

[0100] In an embodiment of the present application, at least one of the height or width of the conversation interface is equal to that of the first function interface, so that the display sizes of the conversation interface and the first function interface are more matched, thereby improving the display effect of the conversation interface and the first function interface displayed simultaneously.

[0101] In one possible implementation, when the embedded program is not started, the triggering operation of the entrance to the first function is equivalent to the operation of starting the embedded program and accessing the first function interface, and step 302 includes: in response to the triggering operation of the entrance to the first function, obtaining the object identifier of the target application login through the embedded program, authenticating the object identifier through the embedded program, and when the authentication is passed, keeping the session interface displayed and displaying the first function interface of the embedded program.

[0102] The object identifier indicates the object using the terminal. In the embodiment of the present application, the embedded program interacts with the target application to authenticate the object, and then, if the authentication is passed, the first function interface is displayed to provide corresponding functions to ensure data security.

[0103] Optionally, when the verification is passed, the embedded program is logged in based on the object identifier, and then the first functional interface of the embedded program is displayed. Optionally, the object identifier is displayed in the first functional interface.

[0104] Optionally, the object identifier obtained by the embedded program is an encrypted object identifier, and the embedded program can interact with the server corresponding to the embedded program based on the encrypted object identifier, so that the server decrypts the encrypted object identifier and authenticates the identity. In the embodiment of the present application, information is transmitted in an encrypted manner, so that even if the information is stolen, the content contained cannot be obtained, thereby avoiding information leakage and ensuring the security of the information.

[0105] In the solution provided by the embodiment of the present application, the object in the target application can be bound to the embedded program, and when other objects conduct a conversation with the object, the entrance to the function of the embedded program can be displayed in the conversation interface, so that while conducting a conversation with the object, the function interface of the embedded program can be quickly accessed through the function entrance, so that the user can not only conduct a conversation with the object through the conversation interface, but also use the first function of the embedded program through the first function interface. The user no longer needs to perform complex operations to access the function interface of the embedded program, thereby improving the human-computer interaction efficiency of the embedded program.

[0106] Based on the above Figure 3 The embodiment shown provides a schematic diagram of an interface display, such as Figures 4 to 6 As shown, Figure 4 It is a conversation interface with the first object in the target application on the mobile phone, and the conversation interface includes an entrance 401 of the first function, Figure 5 It is a conversation interface with the first object in the target application on the computer side. The conversation interface includes an entrance 501 of the first function. When the user clicks the entrance 501 of the first function, the conversation interface and the first function interface can be displayed at the same time. Figure 6 As shown, the first function interface 601 is displayed on the right side of the conversation interface, and they do not overlap each other and their boundaries overlap, so that the first function interface 601 and the conversation interface look like one interface. In addition, based on the terminal displaying the first function interface, the user can also directly trigger an operation on the first function interface through the terminal to implement a certain function or switch to display the function interface of the embedded program.

[0107] In the embodiment of the present application, whether it is a target application on a mobile phone or a target application on a computer, Figure 7 As shown, in the target application, the terminal responds to the session operation for the first object, pulls data from the server corresponding to the target application, displays the session interface with the first object, and displays the entrance to the first function of the embedded program bound to the first object in the session interface. When the user clicks the entrance to the first function, the session interface and the first function interface can be displayed at the same time.

[0108] exist Figure 2 On the basis of the illustrated embodiment, the embodiment of the present application can simultaneously display the conversation interface and the interface of the embedded program by triggering a conversation operation with any object when any object is bound to an embedded program. The specific process is detailed in the following embodiment.

[0109] Figure 8 is a flowchart of another interface display method provided in an embodiment of the present application, the method is executed by a terminal, such as Figure 8 As shown, the method includes:

[0110] 801. In a target application, in response to a session operation on a first object, the terminal displays a session interface with the first object and a default interface of the embedded program, wherein an entrance to a first function is displayed in the session interface, the first function is a function of the embedded program, the first object is bound to the embedded program, and the embedded program runs in the target application.

[0111] In the embodiment of the present application, when a user triggers a conversation operation on the first object through the target application, it is equivalent to triggering an operation to initiate a conversation with the first object, and a conversation interface with the first object is displayed so that the user can have a conversation with the first object through the conversation interface. In the case where the first object is bound to an embedded program, the conversation operation on the first object is also equivalent to an operation to start the embedded program, and in response to the conversation operation on the first object, the default interface of the embedded program bound to the first object is displayed, so that the user can view the interface of the embedded program while having a conversation with the first object, and there is no need to perform cumbersome operations to start the embedded program later, which improves the convenience of starting the embedded program.

[0112] The default interface is any interface of the embedded program, for example, the default interface is the main interface of the embedded program, or is the interface displayed when the embedded program was last exited.

[0113] In a possible implementation, the session interface and the default interface do not overlap with each other.

[0114] In an embodiment of the present application, the terminal can simultaneously display the conversation interface and the default interface of the embedded program bound to the first object, and the conversation interface and the default interface do not overlap each other to avoid user viewing and ensure the integrity of the interface display.

[0115] Optionally, any border of the session interface coincides with any border of the default interface.

[0116] In the embodiment of the present application, the conversation interface and the default interface do not overlap with each other, and the boundaries overlap, so that the conversation interface and the default interface appear to be a whole, making it convenient for the user to view the functional interface of the embedded program while conducting a conversation, thereby improving the display effect of the interface.

[0117] For example, the target application is an instant messaging application, and the session interface is the chat interface in the instant messaging application. Multiple objects are displayed in the object display interface of the instant messaging application. The user double-clicks any object bound to an embedded program through the terminal to initiate a chat with the object. The chat interface is displayed while the default interface of the embedded program bound to the object is displayed. The default interface is attached to the right side of the session interface. The session interface and the default interface do not overlap and their boundaries overlap, so that the default interface and the session interface look like one interface.

[0118] In a possible implementation, step 801 includes: in the target application, in response to a session operation on the first object, determining an embedded program bound to the first object, and displaying a session interface and a default interface of the embedded program.

[0119] Optionally, the terminal interacts with a server corresponding to the embedded program to obtain data to display the default interface, that is, the process of displaying the interface includes: in the target application, in response to a session operation for the first object, displaying the session interface; determining the embedded program bound to the first object, sending a program access request to the server, the server sending the data of the default interface to the terminal based on the program access request, the terminal receiving the data of the default interface, and displaying the default interface based on the data.

[0120] The server is used to provide services for embedded programs, and the data is used to render the default interface.

[0121] Optionally, the default interface is the interface displayed when the embedded program was last exited. The program access request carries the object identifier of the currently logged-in target application. Based on the object identifier, the server queries the historical record of the object identifier, determines the interface last visited by the object identifier, and sends data of the interface last visited by the object identifier to the terminal. The terminal receives the data and displays the default interface based on the data.

[0122] It should be noted that the embodiment of the present application is described by taking the example of simultaneously displaying the session interface and the default interface of the embedded program in response to an access operation to the first object, while in another embodiment, there is no need to execute the above step 801, but other methods are adopted to display the session interface with the first object in the target application.

[0123] 802. In response to the triggering operation on the entrance to the first function, the terminal maintains display of the session interface, switches the default interface to display the first function interface, and displays the first function interface of the embedded program.

[0124] In an embodiment of the present application, when the conversation interface and any interface of the embedded program have been displayed, not only can operations be performed in the interface currently displaying the embedded program, but the embedded program can also be controlled through the function entry displayed in the conversation interface to switch the interface to access the embedded program, thereby realizing a new control method. The user does not need to perform cumbersome operations in the default interface that has been displayed to access a certain interface of the embedded program, thereby improving the convenience of user operation and the human-computer interaction efficiency of the embedded program.

[0125] In one possible implementation, the display state of the first function interface is the same as the display state of the default interface, that is, the default interface is replaced with the first function interface so that the display state of the first function interface is consistent with the display state of the previous default interface.

[0126] In an embodiment of the present application, the default interface is switched to be displayed as the first function interface, and the display status of the first function interface is consistent with the display status of the previous default interface. In this way, the user can only view the changes in the displayed content and know that the interface has switched, but the display status of the interface has not changed, thereby ensuring the display effect of the interface.

[0127] Among them, the display status includes display size, display position or display color. The display size of the default interface refers to the size of the default interface. For example, the display size includes the length and width of the default interface. The display position of the default interface refers to the position of the default interface on the screen of the terminal. The display position of the default interface can be represented by the position of any point in the default interface on the screen of the terminal. For example, the display position of the default interface is the position of the point in the upper left corner of the default interface on the screen, or the position of the center point of the default interface on the screen. The display color of the default interface indicates the theme color of the default interface.

[0128] It should be noted that the embodiment of the present application is explained by taking the default interface of the embedded program as an example, on the basis of displaying the default interface, switching the default interface to display the first functional interface. In another embodiment, there is no need to execute the above step 802, but other methods are adopted to respond to the triggering operation of the entrance to the first function, maintain the display of the session interface, and display the first functional interface of the embedded program.

[0129] In the solution provided by the embodiment of the present application, the object in the target application can be bound to the embedded program, and when other objects conduct a conversation with the object, the entrance to the function of the embedded program can be displayed in the conversation interface, so that while conducting a conversation with the object, the function interface of the embedded program can be quickly accessed through the function entrance, so that the user can not only conduct a conversation with the object through the conversation interface, but also use the first function of the embedded program through the first function interface. The user no longer needs to perform complex operations to access the function interface of the embedded program, thereby improving the human-computer interaction efficiency of the embedded program.

[0130] Furthermore, in the embodiment of the present application, when the user triggers the session operation on the first object through the target application, it is equivalent to triggering the operation of initiating a session on the first object and the operation of starting the embedded program. Then, in response to the session operation on the first object, the session interface and the default interface of the embedded program bound to the first object are displayed. When the session interface and any interface of the embedded program are already displayed, not only can the operation be performed in the interface currently displaying the embedded program, but also the embedded program can be controlled through the function entry displayed in the session interface to switch the interface of the embedded program. In this way, not only can the user view the interface of the embedded program while having a session with the first object, and there is no need to perform cumbersome operations to start the embedded program later, but also a new control method is realized, which does not require the user to perform cumbersome operations in the default interface that has been displayed to access a certain interface of the embedded program, thereby improving the convenience of user operation and the human-computer interaction efficiency of the embedded program.

[0131] Based on the above Figure 8 The embodiment shown provides a schematic diagram of an interface display, such as Figures 9 to 11 As shown, Fig. 9 The terminal displays a session interface 901 and a default interface 902. The session interface 901 includes a session display area 9011 and a session aggregation area 9012. The session display area 9011 is used to display session information. The session aggregation area 9012 is used to display a session identifier. The session identifier indicates a session in which the object logged in by the terminal participates. The session aggregation area 9012 displays a first session identifier, which indicates a session with a first object. When the first session identifier is selected, the session information with the first object and an entrance 9013 of the first function are displayed in the session display area 9011, and the default interface 902 is displayed on the right side of the session interface 901. After the user clicks on the entrance 9013 of the first function in the session interface 901 "Place an order" through the terminal, the terminal switches the default interface 902 to the first function interface 903, as shown in FIG. Fig.10 shown.

[0132] In addition, Fig. 9 On the basis of the session interface 901 shown, that is, when the default interface 902 is displayed, in response to the selection operation of the second session identifier in the session aggregation area 9012, the object participating in the session indicated by the second session identifier is not bound to the embedded program, then the session information of the first object and the entrance of the first function are canceled in the session display area 9011, the default interface 902 is canceled, and the session information corresponding to the session indicated by the second session identifier is displayed in the session display area 9011. Fig. 9 Based on the session interface 901 shown in FIG. 1 , in response to a double-click operation on the first session identifier, an independent session interface 901 and a default interface 902 with the first object are displayed, such as Fig.11 As shown, the content displayed in the independent conversation interface 904 with the first object is the same as the content displayed in the conversation display area 9011 when the first conversation identifier is selected.

[0133] It should be noted that the above Figures 2 to 9 The embodiment shown is explained by taking the conversation with the first object as an example, while in another embodiment, the user can initiate conversations with multiple objects through the terminal, and the terminal displays the conversation interface with each object, and in the conversation interface with the object bound to the embedded program, the entrance of the corresponding embedded program function is displayed, and the default interface or the first functional interface associated with the conversation interface can also be displayed when each conversation interface is displayed. Among them, the default interface or the first functional interface associated with the conversation interface is the interface of the embedded program bound to the object in the conversation interface.

[0134] In one possible implementation, a plurality of session interfaces and a first function interface associated with each session interface are displayed in a terminal. In response to a pinning operation on any session interface, the session interface and the associated first function interface are pinned to the top for display; in response to a pinning operation on any first function interface, the first function interface and the associated session interface are pinned to the top for display.

[0135] In the embodiment of the present application, when the terminal displays multiple session interfaces and the first function interface associated with each session interface, there may be overlaps between different session interfaces, and there may also be overlaps between different first function interfaces. The top operation refers to displaying the session interface or the first function interface at the top of the screen so that the session interface or the first function interface is not blocked. When the top operation is performed on any session interface or any first function interface, the associated first function interface or session interface will be displayed on the top synchronously to ensure the linkage between the session interface and the associated first function interface, without the user having to select another interface to be displayed on the top separately, thereby improving the efficiency of human-computer interaction.

[0136] In the above Figures 2 to 9 On the basis of the shown embodiment, after displaying the first function interface, the embodiment of the present application can also adjust the display status of the session interface and the first function interface, that is, the method also includes: in response to the state adjustment operation of the session interface or the first function interface, displaying the adjusted session interface and the adjusted first function interface, and the display status of either the session interface or the first function interface changes with the display status of the other.

[0137] In the embodiment of the present application, the display state of the conversation interface will change with the display state of the first function interface, and the display state of the first function interface will change with the display state of the conversation interface. When the display state of either the conversation interface or the first function interface is adjusted, the display state of the other will change accordingly, so as to realize the linkage between the conversation interface and the first function interface, so that the conversation interface and the first function interface present the effect of an overall picture, improve the display effect of the interface, and also improve the convenience of adjusting the interface. Among them, the display state includes display size, display position or display color, etc.

[0138] In an embodiment of the present application, the first function interface is displayed through the entrance of the function in the conversation interface. The first function interface is associated with the conversation interface. When the display state of the conversation interface or the first function interface is adjusted, the display state of the other interface will be adjusted synchronously.

[0139] In a possible implementation, the process of adjusting the display status of the conversation interface and the first function interface includes the following two methods.

[0140] In the first manner, the state adjustment operation includes a folding operation, including: in response to a folding operation on the conversation interface or the first function interface, the display conversation interface and the first function interface are switched from an expanded state to a folded state; in response to an expansion operation on the conversation interface or the first function interface, the display conversation interface and the first function interface are switched from a folded state to an expanded state.

[0141] In the embodiment of the present application, a folding operation on either the conversation interface or the first function interface will fold both the conversation interface and the first function interface. When both the conversation interface and the first function interface are folded, an expansion operation on either the conversation interface or the first function interface can restore the conversation interface and the first function interface and display the conversation interface and the first function interface in an expanded state, so that the display states of the conversation interface and the first function interface are the same as before the folding operation is triggered, so that the conversation interface and the first function interface reflect a linkage effect and ensure the display effect of the interface.

[0142] The folding operation is used to fold the interface and no longer expand it for display. The folding operation can be any operation, for example, the folding operation is a minimization operation. The expanded state of the conversation interface means that the conversation interface is displayed. The conversation interface in the expanded state can display all the contents contained in the conversation interface, while the conversation interface in the collapsed state can only present part of the contents contained in the conversation interface. The expansion operation is to expand the interface for display.

[0143] For example, taking the collapse operation as a minimize operation as an example, in response to the minimize operation on the session interface, both the session interface and the first function interface will be minimized, and only the logos of the session interface and the first function interface will be displayed in the taskbar, and when the session interface and the first function interface are minimized, the logo of the session interface or the logo of the first function interface in the taskbar can be clicked, and clicking the logo of the session interface or the logo of the first function interface in the taskbar is equivalent to an expand operation on the session interface or the first function interface, and the session interface and the first function interface will be expanded and displayed, so that the session interface and the first function interface are the same as the display state of the session interface and the first function interface before the collapse operation.

[0144] In a possible implementation, the conversation interface includes a collapse option, and detecting a trigger operation on the collapse option is equivalent to detecting a collapse operation on the conversation interface. Alternatively, the first functional interface includes a collapse option, and detecting a trigger operation on the collapse option is equivalent to detecting a collapse operation on the first functional interface.

[0145] In one possible implementation, the conversation interface includes a collapse option, while the first function interface does not include the collapse option, so as to simplify the options included in the interface and improve the display effect of the interface.

[0146] In a second manner, the state adjustment operation includes a size adjustment operation, a position adjustment operation or a color adjustment operation, including: in response to a size adjustment operation on the session interface or the first function interface, displaying the session interface after the size adjustment and the first function interface after the size adjustment, and the display state includes the display size; or, in response to a position adjustment operation on the session interface or the first function interface, displaying the session interface after the position adjustment and the first function interface after the position adjustment, and the display state includes the display position; or, in response to a color adjustment operation on the session interface or the first function interface, displaying the session interface after the color adjustment and the first function interface after the color adjustment, and the display state includes the display color.

[0147] In the embodiment of the present application, the display state includes display size, display position or display color. Through the size adjustment operation, the size of the conversation interface and the first function interface can be adjusted synchronously; through the position adjustment operation, the display position of the conversation interface and the first function interface on the screen can be adjusted synchronously; through the color adjustment operation, the display color of the conversation interface and the first function interface can be adjusted synchronously. The display size includes at least one of the height or width of the interface.

[0148] In the embodiment of the present application, the state adjustment operation includes a size adjustment operation, a position adjustment operation or a color adjustment operation, and the display size, display position or display color of the conversation interface and the first function interface can be jointly adjusted to enrich the adjustment method, meet the user's various needs, and improve the user experience.

[0149] The size adjustment operation can be any operation, for example, the size adjustment operation is a drag operation on the boundary of the conversation interface or the first function interface. For example, when the cursor is located at the boundary of the conversation interface or the first function interface, the cursor is displayed as an arrow, and dragging the cursor displayed as an arrow can adjust the display size of the conversation interface or the first function interface. The position adjustment operation can be any operation, for example, the position adjustment operation is a drag operation on the conversation interface or the first function interface, and during the drag operation on the conversation interface or the first function interface, the displayed conversation interface and the first function interface move with the drag operation.

[0150] Optionally, at least one of the height or width of the conversation interface is the same as that of the first function interface. Optionally, the display color of the conversation interface is the same as that of the first function interface. Optionally, the position of either the conversation interface or the first function interface changes, but the relative position between the conversation interface and the first function interface remains unchanged.

[0151] In one possible implementation, the size adjustment operation includes a full-screen display operation, and the size adjustment process includes: in response to the full-screen display operation of the session interface or the first function interface, determining the display size of the session interface and the display size of the first function interface based on the screen size, the display ratio of the session interface and the display ratio of the first function interface; displaying the session interface based on the display size of the session interface, and displaying the first function interface based on the display size of the first function interface.

[0152] Among them, the full-screen display operation is the maximization operation. The display ratio of the conversation interface refers to the ratio of the area occupied by the conversation interface in the screen when the conversation interface and the first function interface are fully covered on the screen. The display ratio of the first function interface refers to the ratio of the area occupied by the first function interface in the screen when the conversation interface and the first function interface are fully covered on the screen. The screen size refers to the size of the display screen of the terminal. Based on the screen size and the display ratio of the conversation interface, the size of the conversation interface is determined; based on the screen size and the display ratio of the first function interface, the size of the first function interface is determined, so that the conversation interface and the first function interface are displayed according to the determined display size.

[0153] In an embodiment of the present application, in response to a full-screen display operation on the conversation interface or the first function interface, the full-screen display instruction corresponding to the full-screen display operation can be intercepted so as to jointly adjust the conversation interface and the first function interface so that the conversation interface and the first function interface are enlarged together to fill the display screen, thereby ensuring the full-screen display of the two interfaces while also ensuring that the two interfaces are displayed simultaneously, ensuring the linkage between the conversation interface and the first function interface, and ensuring the display effect of the interface.

[0154] Optionally, the height of the conversation interface and the first function interface are the same, and the display ratio refers to the ratio of the width of the conversation interface and the first function interface to the display screen. The process of determining the display size of the conversation interface and the display size of the first function interface includes: determining the height in the screen size as the height of the conversation interface and the first function interface; and determining the width of the conversation interface and the width of the first function interface based on the width in the screen size and the ratio of the width of the conversation interface and the first function interface to the display screen.

[0155] In an embodiment of the present application, when the height and width of the conversation interface and the height and width of the first function interface are determined, the conversation interface is rendered according to the height and width of the conversation interface, and the first function interface is rendered according to the height and width of the first function interface.

[0156] In the embodiment of the present application, the conversation interface and the first functional interface are integrated, and the conversation interface and the first functional interface are presented as a whole. When the state adjustment operation is performed on the interface, the linkage between the conversation interface and the first functional interface can be reflected. For example, the first functional interface of the embedded program is consistent with the height of the conversation interface, does not overlap each other, and the boundaries overlap. When the height of the conversation interface or the first functional interface is dragged, the height of the conversation interface and the first functional interface changes at the same time, and the height remains consistent. When the conversation interface or the first functional interface is dragged to change the display position, the conversation interface and the first functional interface will move synchronously, and the relative position relationship between the conversation interface and the first functional interface remains unchanged. For another example, the conversation interface displays a minimize option and a maximize option, and the first functional interface no longer displays the minimize option and the maximize option, so that the conversation interface and the first functional interface can present a more overall effect. For another example, when the user triggers the maximize operation of the conversation interface, the conversation interface and the first functional interface are maximized synchronously, that is, the conversation interface and the first functional interface cover the entire display screen and do not overlap each other. When the user triggers the minimization operation of the session interface, the first function interface will be automatically minimized along with the session interface, and the logo of the session interface and the logo of the first function interface will be displayed on the taskbar. When the user clicks the logo of the session interface and the logo of the first function interface from the taskbar, the session interface and the first function interface will be displayed at the same time.

[0157] It should be noted that when the display state of the session interface or the first functional interface is adjusted, the target application will interact with the embedded program to realize the linkage between the session interface and the first functional interface. Taking the triggering of the state adjustment operation of the session interface as an example, that is, the adjustment process includes: through the target application, in response to the state adjustment operation of the session interface, determining the first display state, the first display state is the display state of the session interface after adjustment, sending the first display state to the embedded program; based on the first display state, displaying the adjusted session interface; through the embedded program, receiving the first display state, based on the first display state, determining the second display state, the second display state is the display state of the first functional interface after adjustment; based on the second display state, displaying the adjusted first functional interface.

[0158] In an embodiment of the present application, in response to a state adjustment operation on a conversation interface, the target application can determine the display state of the conversation interface, and then display the conversation interface according to the determined display state. In addition, the target application can interact with the embedded program and send the display state of the conversation interface to the embedded program, so that the embedded program determines the display state of the first function interface based on the display state of the conversation interface, and then displays the first function interface according to the display state of the first function interface, so that the first function interface is linked with the conversation interface, thereby ensuring the feasibility of the linkage adjustment between the conversation interface and the first function interface, and eliminating the need for users to perform complex operations to access the function interface of the embedded program, thereby improving the human-computer interaction efficiency of the embedded program.

[0159] In a possible implementation, a communication module is configured in the target application, and the communication module is used to realize the communication between the target application and the embedded program. The communication module is any type of module, for example, the communication module is a module compiled by a coding language.

[0160] like Fig.12 As shown, the communication module can send information in the target application to the embedded program, and can also send information in the embedded program to the target application.

[0161] Optionally, the terminal runs the target application by running the process of the target application, and the terminal runs the embedded program by running the process of the embedded program. Then the communication module is used to realize the interaction between the process of the target application and the process of the embedded program. That is, the adjustment process includes: through the process of the target application, in response to the state adjustment operation of the session interface, determining the first display state, the first display state is the display state of the session interface after adjustment, based on the first display state, displaying the adjusted session interface; through the process of the target application, sending the first display state and the process identifier to the communication module, the process identifier indicates the process in the embedded program; through the communication module, sending the first display state to the process indicated by the process identifier, through the process of the embedded program, receiving the first display state, based on the first display state, determining the second display state, the second display state is the display state of the first functional interface after adjustment; based on the second display state, displaying the adjusted first functional interface.

[0162] In an embodiment of the present application, the target application and the embedded program communicate through IPC (Interprocess Communication). Through IPC communication, information transmission between the target applications can be realized to realize the interaction between the target application and the embedded program. By configuring a communication module in the target application, the target application and the embedded program only need to provide an interface, and the information transmission between the target application and the embedded program can be realized by calling the interface through the communication module, without knowing the internal details of the other party's application, thereby ensuring data security. In an embodiment of the present application, the parameter required for communication through IPC is the process identifier, which is equivalent to PID (Process Identity Document) so that the communication module can know which process the data should be sent to, so as to achieve the accuracy of data transmission.

[0163] For example, the height of the first function interface of the embedded program is consistent with the height of the session interface. The user terminal triggers the entrance of the first function in the session interface. The terminal obtains the width, height and position of any corner of the session interface through the process of the target application, and sends the width, height and position of any corner of the session interface and the process identifier of the embedded program to the communication module; through the communication module, based on the process identifier, the width, height and position of any corner of the session interface are sent to the process of the embedded program, and the width, height and position of any corner of the session interface are received through the process of the embedded program. Based on the width, height and position of any corner of the session interface, the width, height and position of any corner of the first function interface are determined, so as to display the first function interface according to the width, height and position of any corner of the first function interface, so that the height of the first function interface and the session interface are consistent, non-overlapping and border overlap, reflecting that the first function interface is attached to the session interface. Among them, the width, height and position of any corner of the session interface are as follows: Fig.13 As shown, the width of the conversation interface is W1, the height of the conversation interface is H1, and taking the upper left corner of the conversation interface as an example, the position of the upper left corner is the distance between the upper left corner of the conversation interface and the uppermost corner of the display screen, and the position of the upper left corner of the conversation interface is X1 and Y1. Then the position of the upper left corner of the first function interface is X1+W1 and Y1, and the height of the conversation interface is H1.

[0164] In response to the operation of adjusting the display size or display position of the conversation interface, the terminal sends the adjusted display size or display position of the conversation interface and the process identifier of the embedded program to the communication module, and sends the adjusted display size or display position of the conversation interface to the process of the embedded program through the communication module based on the process identifier; the adjusted display size or display position of the conversation interface is received through the process of the embedded program, and the display size or display position of the first function interface is updated based on the adjusted display size or display position of the conversation interface, so that the first function interface is updated and displayed according to the updated display size or display position of the first function interface, so that the display size or display position of the first function interface changes with the conversation interface, so that the height of the first function interface and the conversation interface are kept consistent, do not overlap each other, and have overlapping boundaries, reflecting that the first function interface is attached to the conversation interface. Based on the above figure, the display size and display position of the conversation interface are adjusted, and the adjusted conversation interface is as shown in FIG. Fig.14 As shown, the width of the conversation interface is updated to W2, the height of the conversation interface is updated to H2, and the position of the upper left corner of the conversation interface is updated to X2 and Y2. Then the position of the upper left corner of the first function interface is updated to X2+W2 and Y2, and the height of the conversation interface is H2.

[0165] For another example, in response to a maximization operation on the session interface, the terminal intercepts the maximization event through the process of the target application program when the interface of the embedded program associated with the session interface is currently displayed, obtains the screen size, the display ratio of the session interface, and the display ratio of the first function interface through the process of the target application program, determines the display size of the session interface based on the screen size and the display ratio of the session interface, updates the displayed session interface based on the display size of the session interface, and sends the screen size, the display ratio of the first function interface, and the process identifier of the embedded program to the communication module; sends the screen size and the display ratio of the first function interface to the process of the embedded program based on the process identifier through the communication module; receives the screen size and the display ratio of the first function interface through the process of the embedded program, updates the display size or display position of the first function interface based on the screen size and the display ratio of the first function interface, so that the first function interface is updated and displayed according to the updated display size or display position of the first function interface, so that the display size or display position of the first function interface changes with the session interface, so that the session interface and the first function interface fill the display screen, such as Fig.15 As shown, the first function interface and the conversation interface maintain a consistent height, do not overlap each other, and have overlapping boundaries, which indicates that the first function interface is attached to the conversation interface.

[0166] It should be noted that the above is only an explanation of sending the screen size and the display ratio of the first function interface to the embedded program. In another embodiment, the display ratio of the first function interface is stored in the embedded program, and then only the screen size and the process identifier of the embedded program need to be sent to the embedded program; or, the screen size, the display size and the display position of the session interface are sent to the embedded program through the target application, so that the embedded program can determine the display size and display position of the first function interface based on the screen size, the display size and display position of the session interface; or, the display size and display position of the first function interface are determined by the target application based on the screen size and the display ratio of the first function interface, and the display size and display position of the first function interface are sent to the embedded program.

[0167] In addition, the communication module can realize information exchange between the target application and the embedded program to achieve identity authentication. Fig.16 As shown, in response to the triggering operation of the entrance to the first function, an encrypted object identifier is sent to the communication module through the target application, and the encrypted communication information is sent to the embedded program through the communication module, so that the encrypted object identifier is authenticated by the embedded program, and the object identifier can be cached in the communication module through the embedded program, so that the interaction between the target application and the embedded program can be realized based on the object identifier later.

[0168] It should be noted that the embodiment of the present application is explained by taking the triggering of the state adjustment operation of the session interface as an example, while in another embodiment, in response to the state adjustment operation of the first function interface, through the embedded program, in response to the state adjustment operation of the first function interface, the second display state is determined, and the second display state is the adjusted display state of the first function interface, and the second display state is sent to the target application; based on the second display state, the adjusted first function interface is displayed; through the target application, the second display state is received, and based on the second display state, the first display state is determined, and the first display state is the adjusted display state of the first function interface; based on the first display state, the adjusted session interface is displayed.

[0169] In the above Figures 2 to 9 On the basis of the illustrated embodiment, the embodiment of the present application can also close the session interface and the first function interface after displaying the first function interface, that is, the method also includes: in response to a closing operation on the session interface or the first function interface, canceling the display of the session interface and the first function interface.

[0170] In an embodiment of the present application, when closing the conversation interface or the first function interface, the other one will be closed to realize the linkage between the conversation interface and the first function interface, thereby improving the convenience of user operation and further improving the efficiency of human-computer interaction.

[0171] In a possible implementation, the conversation interface includes a close option, and detecting a trigger operation on the close option is equivalent to detecting a close operation on the conversation interface. Alternatively, the first functional interface includes a close option, and detecting a trigger operation on the close option is equivalent to detecting a close operation on the first functional interface.

[0172] It should be noted that in the embodiment of the present application, the first function interface and the session interface are both closed by closing the first function interface or closing the session interface, while in another embodiment, in response to the closing operation of the session interface, the session interface and the first function interface are cancelled; or, in response to the closing operation of the first function interface, the session interface is kept displayed and only the first function interface is cancelled.

[0173] In an embodiment of the present application, when only the first function interface is closed, in response to a triggering operation on the entrance to the first function in the conversation interface, the conversation interface is maintained displayed and the first function interface is redisplayed, and the display state of the first function interface is consistent with the display state of the first function interface before closing.

[0174] In the above Figures 2 to 9On the basis of the illustrated embodiment, after displaying the first functional interface, the embodiment of the present application can also realize the interaction between the session interface and the first functional interface, that is, the method also includes: in response to the operation of dragging the resources in the session interface to the first functional interface, displaying the resources in the first functional interface; or, in response to the operation of dragging the resources in the first functional interface to the session interface, displaying the resources in the session interface.

[0175] In an embodiment of the present application, when the conversation interface and the first function interface are displayed, interaction between resources in the conversation interface and the first function interface can be realized, resources in the conversation interface can be dragged to the first function interface, and resources in the first function interface can be dragged to the conversation interface. That is, through the displayed conversation interface and the first function interface, interaction between the target application and the embedded program can be realized, which improves the convenience of interaction between different programs and improves the efficiency of human-computer interaction.

[0176] The resource is any resource, for example, the resource is an image, a video or a text, or the resource is another type of file.

[0177] For example, the terminal displays a session interface and a first function interface, and the session interface displays resources sent by the local object or resources sent by the first object. The user presses and holds the resource through the terminal to drag the resource to the first function interface, and the resource is displayed on the first function interface. For another example, the terminal displays a session interface and a first function interface, and the first function interface displays one or more resources. The user presses and holds any resource in the first function interface through the terminal to drag the resource to the session interface, and the resource is displayed as a session information in the session interface.

[0178] In the above Figures 2 to 9 On the basis of the illustrated embodiment, after displaying the first functional interface, the embodiment of the present application can also realize the interaction between the session interface and the first functional interface, that is, the method also includes: in response to the operation of dragging the first resource in the session interface to the first functional interface, generating a second resource based on the first resource and the first function through an embedded program, the first resource being any resource in the session interface; and displaying the second resource in the first functional interface.

[0179] The first function of the embedded program can process resources. For example, the first function is an image processing function, a format conversion function, or a function of generating a file in a fixed format.

[0180] In an embodiment of the present application, when the conversation interface and the first function interface are displayed at the same time, the user can drag the first resource to the first function interface through the terminal, so that the embedded program can adopt the first function, process the first resource to generate a second resource, and display the second resource in the first function interface so that the user can view the second resource. In this way, there is no need for the user to save the resources in the conversation interface locally and then load the resources by the embedded program to realize resource processing, and there is no need to perform cumbersome operations, which improves the convenience of user operation and improves the efficiency of human-computer interaction.

[0181] For example, the first resource is represented in the form of text. During the conversation, the user enters a contract text in the conversation interface through the terminal. The first function of the embedded program is to use any text to generate a fixed-format contract. The user drags the contract text in the conversation interface to the first function interface through the terminal. The embedded program can use the first function to process the contract text, generate a fixed-format contract, and display the fixed-format contract in the first function interface.

[0182] In one possible implementation, when the second resource is displayed in the first function interface, the second resource can also be sent to the session interface, that is, the method further includes: in response to the operation of dragging the second resource from the first function interface to the session interface, displaying the second resource in the session interface as session information; or, a send option is displayed in the first function interface, in response to a triggering operation on the send option, displaying the first object identifier, and in response to a confirmation operation on the first object identifier, displaying the second resource in the session interface as session information.

[0183] The first object identifier is used to represent the first object, and the first object identifier can be represented in any form.

[0184] In an embodiment of the present application, when an embedded program generates a second resource with a first function, the second resource can be sent to the session interface in the form of session information, and the interaction between the first function interface and the session interface can be achieved without performing cumbersome operations, thereby improving the convenience of user operation and the efficiency of human-computer interaction.

[0185] Optionally, when a send option is displayed in the first function interface, in response to a triggering operation on the send option, a first object bound to the embedded program in a session interface associated with the first function interface is determined, and a first object identifier is displayed.

[0186] In an embodiment of the present application, since the first function interface is started through the entrance of the function in the session interface, the first function interface is associated with the session interface, and the embedded program can learn the session interface associated with the first function interface. Optionally, in the case of starting the first function interface through the entrance of the function in the session interface, the association between the first function interface and the session interface is recorded, and the session interface associated with the first function interface can be learned by querying the association. The association can be recorded by the target application or the embedded program. In the case where the target application records the association, the embedded program interacts with the target application to query the association, and then learns the session interface associated with the first function interface; in the case where the embedded program records the association, the embedded program can directly query the association, and learn the session interface associated with the first function interface.

[0187] In the above Figures 2 to 9 On the basis of the shown embodiment, after displaying the first function interface, the embodiment of the present application can also realize the interaction between the conversation interface and the first function interface, that is, the method also includes: in the process of conducting a conversation with the first object, through the embedded program, the function of the conversation information in the conversation interface is identified; when the conversation information associated with the second function is identified, the first function interface is switched to be displayed as the second function interface, and the second function is any function of the embedded program.

[0188] In an embodiment of the present application, a user can conduct a conversation with a first object through a conversation interface displayed by a terminal. During the conversation, the user can input a conversation message in the conversation interface through the terminal, and the conversation interface can also display the conversation message input by the first object. The embedded program can perform functional identification on the conversation message. In the case where the conversation interface and the first functional interface are displayed at the same time, at this time, the embedded program is associated with the conversation interface. During the conversation, the embedded program can perform functional identification on the conversation information in the conversation interface to identify whether the conversation information involves a function of the embedded program. When it is identified that the conversation information involves a function of the embedded program, the first functional interface is automatically switched to display as the functional interface of the function involved in the conversation information, so as to realize automatic interface jump of the embedded program and realize intelligent control of the embedded program without the need for the user to perform cumbersome operations, thereby improving the efficiency of human-computer interaction.

[0189] For example, when a user is conversing with the first object through the conversation interface displayed on the terminal, the user enters conversation information about "placing an order" in the conversation interface, or when the first object enters conversation information about "placing an order" in the conversation interface, the embedded program is able to recognize the order during real-time function identification, and immediately switches the first function interface to the order interface so that the user can perform the order operation on the order interface.

[0190] In one possible implementation, the embedded program is started when conducting a conversation with the first object. The embedded program is then associated with a conversation interface in a target application that is conducting a conversation with the first object. The embedded program is then able to interact with the target application to obtain, in real time, conversation information in the conversation interface in which the first object participates, and then perform functional identification on the obtained conversation information in real time.

[0191] Based on the above-mentioned embodiments, the solution provided by the embodiments of the present application is that the embedded program can provide multiple functions for the target application, the embedded program and the target application support the interaction of session information, and can realize the transmission of files in the session interface and the first function interface, or automatically identify session information, etc., or automatically identify session information to update the goods or prices of goods in the embedded program, etc., thereby improving the user experience. Currently, the embedded program also provides a variety of other processes, which are described in detail below.

[0192] In one possible implementation, the method also includes: the terminal displays a conversation interface with the first object in response to a conversation operation for the first object, determines, through the embedded program, information in the embedded program that matches the information of the object based on information of the terminal login object, and displays the information that matches the information of the object in the default interface of the embedded program.

[0193] In the embodiment of the present application, through the embedded program, the object accessing the embedded program can be identified, and then information can be recommended to the object accessing the embedded program, thereby realizing information recommendation.

[0194] In one possible implementation, the method also includes: the terminal displays a conversation interface with the first object in response to a conversation operation on the first object, determines recommended information based on information of the first object through an embedded program, and displays information matching the information of the object in a default interface of the embedded program.

[0195] In an embodiment of the present application, through an embedded program, it is possible to identify the object bound to the embedded program, and then recommend information to the object logged in by the terminal according to the object, so that the recommended information is related to the services that can be provided by the object bound to the embedded program, thereby ensuring the accuracy of the recommended information.

[0196] In the embodiment of the present application, the first object is equivalent to the service personnel of the embedded program, and information is recommended according to the service personnel to indicate which services the service personnel can provide, thereby ensuring that the recommended information matches the service personnel and ensuring recommendation efficiency.

[0197] In one possible implementation, the method further includes: in response to an operation of editing information in the first function interface, obtaining the information edited in the first function interface, and in response to a confirmation operation of the edited information, displaying the edited information in the conversation interface.

[0198] In an embodiment of the present application, the first function is used to provide information editing guidance for the user, so that the user can edit information in the first function interface, and then display the edited information as session information in the session interface, so as to realize the interaction between the session interface and the first function interface, thereby improving the user experience.

[0199] For example, the embedded program provides a logistics information query service. The first object is the service personnel of the embedded program. The first functional interface is used to guide the user to provide complete logistics information. The user conducts a conversation with the first object through the terminal. If the user wants to inquire about the progress of a certain logistics, the user edits the complete logistics information according to the guidance in the first functional interface and sends it to the service personnel, which is displayed in the conversation interface. The service personnel can query the progress of the corresponding logistics based on the complete logistics information, so that the service personnel can query accurately and avoid the situation where the user is not clear about what information should be sent to query the logistics progress, resulting in query failure, thereby achieving fast service and improving interaction efficiency.

[0200] In a possible implementation, in response to the first conversation operation on the first object, the terminal displays a conversation interface, in which recommendation information is displayed, wherein the recommendation information refers to a description of the service that the first object can provide, or a welcome message, etc.

[0201] It should be noted that the embodiment of the present application is only described by taking the linkage of the conversation interface and the first functional interface as an example, and in another embodiment, the conversation interface and the default interface can be linked according to the above embodiment, or the conversation interface and other interfaces of the embedded program can be linked. For example, according to the above embodiment, the display state of the conversation interface and the default interface can be linked to each other, or the interaction between the conversation interface and the default interface can be realized.

[0202] The solution provided by the embodiment of the present application is that the embedded program itself already exists in the product form, and the ability to integrate with the target application is opened, so that a conversation can be carried out while completing the commercial functions of the embedded program. The embedded program can be an application of any industry. For different industries, only different applications need to be developed, and then the target application is connected, so that users can use the application of the corresponding industry when they can talk to service personnel in different industries through the target application. For example, the applications of different industries are the ordering application of the printing industry and the application for querying ship schedules in the freight industry. In addition, using the applications of different industries as embedded programs of the target application can realize the functions of updating the embedded program at any time, rapid expansion, and rapid upgrade of the application. This method breaks the traditional situation of independent use and operation of conversation and embedded programs, associates the application services provided by the embedded program with the conversation interface, and supports the rapid acquisition and use of the embedded program during the conversation. More functions are opened to the embedded program for the target application, so that the embedded program cooperates with the target application, improves the user experience, and also improves the efficiency of human-computer interaction.

[0203] Based on the above-mentioned embodiments, the present application also provides a flowchart of an interface display method. Fig.17 As shown, the method includes:

[0204] Step 1: The terminal displays a conversation interface with the first object, but does not display the interface of the embedded program bound to the first object. The user triggers the entry of the first function through the terminal, displays the conversation interface with the first object, and sends a start request for the embedded program bound to the first object to the communication module through the target application. The communication module starts the process of the embedded program based on the start request.

[0205] Step 2: Through the process of the embedded program, the communication module is used to interact with the target application, the object identifier of the target application, the display size and display position of the session interface are obtained, and the object identifier is authenticated. If the authentication is passed, the display size and display position of the first function interface are determined based on the display size and display position of the session interface, and the first function interface is displayed through the terminal based on the display size and display position of the first function interface.

[0206] Step 3: The user adjusts the display position or display size of the conversation interface through the terminal, and the terminal notifies the embedded program of the new display position or display size of the conversation interface through the communication module, so that the embedded program can determine the new display position or display size of the first function interface based on the new display position or display size of the conversation interface, and update the displayed first function interface through the terminal based on the new display position or display size of the first function interface.

[0207] Step 4: The user triggers a full-screen display operation of the conversation interface through the terminal, and the terminal notifies the embedded program through the communication module so that the embedded program adjusts the display size and display position of the first function interface, thereby making the conversation interface and the first function interface fill the display screen according to the corresponding display ratio.

[0208] Fig.18 is a schematic diagram of the structure of an interface display device provided in an embodiment of the present application, such as Fig.18 As shown, the device comprises:

[0209] Display module 1801, used for displaying a conversation interface with the first object in the target application, wherein the conversation interface displays an entry to a first function, wherein the first function is a function of an embedded program, the first object is bound to the embedded program, and the embedded program runs in the target application;

[0210] The display module 1801 is further used to keep displaying the conversation interface and display the first function interface of the embedded program in response to a triggering operation on the entrance of the first function.

[0211] In a possible implementation, the display module 1801 is used to display the conversation interface and the default interface of the embedded program in the target application in response to the conversation operation on the first object;

[0212] The display module 1801 is used to maintain the display of the conversation interface and switch the default interface to the first function interface in response to the triggering operation of the entrance to the first function.

[0213] In another possible implementation, the display module 1801 is configured to display a conversation interface in the target application in response to a conversation operation on the first object.

[0214] In another possible implementation, the display module 1801 is used to maintain the display of the conversation interface in response to a triggering operation on the entrance to the first function, determine the display size of the first function interface based on the display size of the conversation interface; and display the first function interface based on the display size of the first function interface.

[0215] In another possible implementation, the display module 1801 is further used to display an adjusted session interface and an adjusted first function interface in response to a state adjustment operation on the session interface or the first function interface, and the display state of either the session interface or the first function interface changes with the display state of the other.

[0216] In another possible implementation, the state adjustment operation includes a folding operation, and the display module 1801 is used to respond to the folding operation on the conversation interface or the first function interface, and display the conversation interface and the first function interface from the expanded state to the folded state.

[0217] In another possible implementation, the display module 1801 is further configured to, in response to an expansion operation on the conversation interface or the first function interface, switch the display conversation interface and the first function interface from a collapsed state to an expanded state.

[0218] In another possible implementation, the state adjustment operation includes a size adjustment operation, a position adjustment operation, or a color adjustment operation, and the display module 1801 is used to, in response to the size adjustment operation on the session interface or the first function interface, display the session interface after the size adjustment and the first function interface after the size adjustment, and the display state includes the display size; or, in response to the position adjustment operation on the session interface or the first function interface, display the session interface after the position adjustment and the first function interface after the position adjustment, and the display state includes the display position; or, in response to the color adjustment operation on the session interface or the first function interface, display the session interface after the color adjustment and the first function interface after the color adjustment, and the display state includes the display color.

[0219] In another possible implementation, the size adjustment operation includes a full-screen display operation, and the display module 1801 is used to respond to the full-screen display operation of the conversation interface or the first function interface, determine the display size of the conversation interface and the display size of the first function interface based on the screen size, the display ratio of the conversation interface and the display ratio of the first function interface; display the conversation interface based on the display size of the conversation interface, and display the first function interface based on the display size of the first function interface.

[0220] In another possible implementation, the display module 1801 is used to determine, through the target application, in response to a state adjustment operation on the session interface, a first display state, the first display state being the display state of the session interface after adjustment, and send the first display state to the embedded program; based on the first display state, display the adjusted session interface; receive, through the embedded program, the first display state, and determine, based on the first display state, a second display state, the second display state being the display state of the first functional interface after adjustment; and display the adjusted first functional interface based on the second display state.

[0221] In another possible implementation, the display module 1801 is further configured to cancel display of the conversation interface and the first function interface in response to a closing operation on the conversation interface or the first function interface.

[0222] In another possible implementation, the display module 1801 is further used to display the resources in the first function interface in response to the operation of dragging the resources in the session interface to the first function interface; or to display the resources in the session interface in response to the operation of dragging the resources in the first function interface to the session interface.

[0223] In another possible implementation, Fig.19 As shown, the device also includes:

[0224] A generating module 1802, configured to generate a second resource based on the first resource and the first function through an embedded program in response to an operation of dragging a first resource in the conversation interface to the first function interface, wherein the first resource is any resource in the conversation interface;

[0225] The display module 1801 is further configured to display the second resource in the first function interface.

[0226] In another possible implementation, Fig.19 As shown, the device also includes:

[0227] The identification module 1803 is used to perform functional identification of the conversation information in the conversation interface through the embedded program during the conversation with the first object;

[0228] The display module 1801 is further configured to switch the first function interface to display the second function interface when session information associated with the second function is identified, and the second function is any function of the embedded program.

[0229] In another possible implementation, the conversation interface and the first function interface do not overlap with each other.

[0230] It should be noted that the interface display device provided in the above embodiment is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the terminal is divided into different functional modules to complete all or part of the functions described above. In addition, the interface display device provided in the above embodiment and the interface display method embodiment belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0231] An embodiment of the present application further provides a terminal, which includes a processor and a memory, wherein at least one computer program is stored in the memory, and the at least one computer program is loaded and executed by the processor to implement the operations performed by the interface display method of the above embodiment.

[0232] Fig. 20The structure block diagram of a terminal 2000 provided by an exemplary embodiment of the present application is shown. The terminal 2000 includes: a processor 2001 and a memory 2002 .

[0233] The processor 2001 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 2001 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 2001 may also include a main processor and a coprocessor. The main processor is a processor for processing data in an awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 2001 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 2001 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0234] The memory 2002 may include one or more computer-readable storage media, which may be non-transitory. The memory 2002 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 2002 is used to store at least one computer program, which is used to be executed by the processor 2001 to implement the interface display method provided in the method embodiment of the present application.

[0235] In some embodiments, the terminal 2000 may further optionally include: a peripheral device interface 2003 and at least one peripheral device. The processor 2001, the memory 2002 and the peripheral device interface 2003 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 2003 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 2004, a display screen 2005, a camera assembly 2006, an audio circuit 2007 and a power supply 2008.

[0236] The peripheral device interface 2003 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 2001 and the memory 2002. In some embodiments, the processor 2001, the memory 2002, and the peripheral device interface 2003 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 2001, the memory 2002, and the peripheral device interface 2003 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.

[0237] The radio frequency circuit 2004 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 2004 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 2004 converts the electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 2004 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The radio frequency circuit 2004 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes but is not limited to: the World Wide Web, a metropolitan area network, an intranet, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 2004 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.

[0238] The display screen 2005 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 2005 is a touch display screen, the display screen 2005 also has the ability to collect touch signals on the surface or above the surface of the display screen 2005. The touch signal can be input to the processor 2001 as a control signal for processing. At this time, the display screen 2005 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 2005 can be one, arranged on the front panel of the terminal 2000; in other embodiments, the display screen 2005 can be at least two, respectively arranged on different surfaces of the terminal 2000 or in a folding design; in other embodiments, the display screen 2005 can be a flexible display screen, arranged on a curved surface or a folding surface of the terminal 2000. Even, the display screen 2005 can also be arranged as a non-rectangular irregular figure, that is, a special-shaped screen. The display screen 2005 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).

[0239] The camera assembly 2006 is used to capture images or videos. Optionally, the camera assembly 2006 includes a front camera and a rear camera. The front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize the panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 2006 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. The dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.

[0240] The audio circuit 2007 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals and input them into the processor 2001 for processing, or input them into the radio frequency circuit 2004 to achieve voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the terminal 2000. The microphone may also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 2001 or the radio frequency circuit 2004 into sound waves. The speaker may be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 2007 may also include a headphone jack.

[0241] The power supply 2008 is used to power various components in the terminal 2000. The power supply 2008 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 2008 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery charged through a wired line, and a wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery can also be used to support fast charging technology.

[0242] Those skilled in the art will understand that Fig. 20 The structure shown in the figure does not constitute a limitation on the terminal 2000, and the terminal 2000 may include more or less components than those shown in the figure, or combine some components, or adopt a different component arrangement.

[0243] Fig.21 It is a structural diagram of a server provided in an embodiment of the present application. The server 2100 may have relatively large differences due to different configurations or performances, and may include one or more processors (Central Processing Units, CPU) 2101 and one or more memories 2102, wherein at least one computer program is stored in the memory 2102, and at least one computer program is loaded and executed by the processor 2101 to implement the methods provided in the above-mentioned various method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output. The server may also include other components for implementing device functions, which will not be described in detail here. The server 1600 can cooperate with the terminal to implement the above-mentioned interface display method.

[0244] An embodiment of the present application further provides a computer-readable storage medium, in which at least one computer program is stored. The at least one computer program is loaded and executed by a processor to implement the operations performed by the interface display method of the above embodiment.

[0245] An embodiment of the present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the operations performed by the interface display method of the above embodiment.

[0246] A person of ordinary skill in the art will appreciate that all or part of the steps to implement the above embodiments may be accomplished by hardware, or by a program to instruct the relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk, or an optical disk, etc.

[0247] The above description is only an optional embodiment of the embodiments of the present application and is not intended to limit the embodiments of the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the protection scope of the present application.

Claims

1. An interface display method, characterized in that: The method comprises: In the target application, displaying a conversation interface with the first object, wherein the conversation interface displays an entry to a first function, wherein the first function is a function of an embedded program, the first object is bound to the embedded program, and the embedded program runs in the target application; In response to a triggering operation on the entrance to the first function, the display of the conversation interface is maintained, and the first function interface of the embedded program is displayed.

2. The method according to claim 1, characterized in that The step of displaying a conversation interface with the first object in the target application comprises: In the target application, in response to a session operation on the first object, displaying the session interface and a default interface of the embedded program; In response to the triggering operation on the entrance of the first function, maintaining the display of the conversation interface and displaying the first functional interface of the embedded program, comprises: In response to a triggering operation on the entrance to the first function, the session interface is kept displayed, and the default interface is switched to display the first function interface.

3. The method according to claim 1, characterized in that The step of displaying a conversation interface with the first object in the target application comprises: In the target application, in response to a session operation on the first object, the session interface is displayed.

4. The method according to claim 1, characterized in that In response to the triggering operation on the entrance of the first function, maintaining the display of the conversation interface and displaying the first functional interface of the embedded program, comprises: In response to a triggering operation on the entrance to the first function, the session interface is maintained displayed, and based on the display size of the session interface, the display size of the first function interface is determined; based on the display size of the first function interface, the first function interface is displayed.

5. The method according to claim 1, characterized in that After the step of maintaining the display of the conversation interface and displaying the first functional interface of the embedded program in response to the triggering operation on the entrance of the first function, the method further comprises: In response to a state adjustment operation on the conversation interface or the first function interface, an adjusted conversation interface and an adjusted first function interface are displayed, and a display state of either the conversation interface or the first function interface changes with a display state of the other.

6. The method according to claim 5, characterized in that The state adjustment operation includes a folding operation, and the displaying of the adjusted session interface and the adjusted first function interface in response to the state adjustment operation on the session interface or the first function interface includes: In response to the folding operation on the conversation interface or the first function interface, the display of the conversation interface and the first function interface is switched from an expanded state to a folded state.

7. The method according to claim 6, characterized in that After the display of the conversation interface and the first function interface is switched from an expanded state to a collapsed state in response to the collapse operation on the conversation interface or the first function interface, the method further includes: In response to an expansion operation on the conversation interface or the first function interface, display of the conversation interface and the first function interface is switched from the collapsed state to the expanded state.

8. The method according to claim 5, characterized in that The state adjustment operation includes a size adjustment operation, a position adjustment operation or a color adjustment operation, and the displaying of the adjusted session interface and the adjusted first function interface in response to the state adjustment operation on the session interface or the first function interface includes: In response to the size adjustment operation on the conversation interface or the first function interface, displaying the conversation interface after the size adjustment and the first function interface after the size adjustment, wherein the display state includes the display size; or, In response to the position adjustment operation on the conversation interface or the first function interface, displaying the conversation interface after the position adjustment and the first function interface after the position adjustment, wherein the display state includes the display position; or, In response to the color adjustment operation on the conversation interface or the first function interface, the conversation interface after color adjustment and the first function interface after color adjustment are displayed, and the display state includes display color.

9. The method according to claim 8, characterized in that The resizing operation includes a full-screen display operation, and in response to the resizing operation on the conversation interface or the first function interface, displaying the conversation interface after the resizing and the first function interface after the resizing includes: In response to the full-screen display operation on the conversation interface or the first function interface, determining a display size of the conversation interface and a display size of the first function interface based on a screen size, a display ratio of the conversation interface, and a display ratio of the first function interface; The conversation interface is displayed based on the display size of the conversation interface, and the first function interface is displayed based on the display size of the first function interface.

10. The method according to claim 5, characterized in that The step of displaying the adjusted session interface and the adjusted first function interface in response to the state adjustment operation on the session interface or the first function interface includes: determining, by the target application, a first display state in response to a state adjustment operation on the session interface, the first display state being the display state of the session interface after adjustment, sending the first display state to the embedded program; and displaying the adjusted session interface based on the first display state; The first display state is received through the embedded program, and based on the first display state, a second display state is determined, where the second display state is the display state of the first functional interface after adjustment; based on the second display state, the adjusted first functional interface is displayed.

11. The method according to claim 1, characterized in that: After the step of maintaining the display of the conversation interface and displaying the first functional interface of the embedded program in response to the triggering operation on the entrance of the first function, the method further comprises: In response to a closing operation on the conversation interface or the first function interface, the conversation interface and the first function interface are canceled from display.

12. The method according to claim 1, characterized in that After the step of maintaining the display of the conversation interface and displaying the first functional interface of the embedded program in response to the triggering operation on the entrance of the first function, the method further comprises: In response to an operation of dragging a resource in the session interface to the first function interface, displaying the resource in the first function interface; or, In response to an operation of dragging a resource in the first function interface to the session interface, the resource is displayed in the session interface.

13. The method according to claim 1, characterized in that After the step of maintaining the display of the conversation interface and displaying the first functional interface of the embedded program in response to the triggering operation on the entrance of the first function, the method further comprises: In response to an operation of dragging a first resource in the conversation interface to the first function interface, generating a second resource based on the first resource and the first function through the embedded program, wherein the first resource is any resource in the conversation interface; The second resource is displayed in the first function interface.

14. The method according to claim 1, characterized in that After the step of maintaining the display of the conversation interface and displaying the first functional interface of the embedded program in response to the triggering operation on the entrance of the first function, the method further comprises: During the conversation with the first object, the embedded program is used to perform functional identification on the conversation information in the conversation interface; When session information associated with a second function is identified, the first function interface is switched to be displayed as a second function interface, and the second function is any function of the embedded program.

15. The method according to claim 1, characterized in that The conversation interface and the first function interface do not overlap with each other.

16. The method according to claim 15, characterized in that Any boundary of the conversation interface coincides with any boundary of the first function interface.

17. An interface display device, characterized in that: The device comprises: A display module, configured to display a conversation interface with a first object in a target application, wherein an entry to a first function is displayed in the conversation interface, wherein the first function is a function of an embedded program, the first object is bound to the embedded program, and the embedded program runs in the target application; The display module is further used to maintain the display of the conversation interface and display the first function interface of the embedded program in response to a triggering operation on the entrance of the first function.

18. A terminal, characterized in that: The terminal includes a processor and a memory, wherein at least one computer program is stored in the memory, and the at least one computer program is loaded and executed by the processor to implement the operations performed by the interface display method according to any one of claims 1 to 16.

19. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one computer program, and the at least one computer program is loaded and executed by the processor to implement the operations performed by the interface display method according to any one of claims 1 to 16.

20. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the operations performed by the interface display method according to any one of claims 1 to 16 are implemented.