Content display method and related device
Through the floating interface display method, the problem that players cannot operate simultaneously in the game is solved, the operability and relevance of the game content is improved, and the efficiency and experience of players in the use of the target program are enhanced.
Patent Information
- Application Number
- CN202310658379.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-05
- Publication Date
- 2024-12-06
AI Technical Summary
In the game, players cannot perform other operations when watching other players’ game content, resulting in poor viewing experience of game content.
The floating interface display method is adopted, allowing players to view and operate other players' program content in the target program interface. The floating interface is located above the program interface and is smaller than the interface size, and supports a variety of operations such as collaborative invitations and information input.
It improves the operability and relevance of game content, enhances players' efficiency and experience of target programs, and allows players to perform other operations while watching content.
Smart Images

Figure CN119088485A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of human-computer interaction technology, and in particular to a content display method and related devices. Background Art
[0002] With the continuous development of game development technology, the quality of games provided to players is also constantly improving, and the rich and diverse electronic games have become one of the main ways for people to relax and entertain themselves.
[0003] In related technologies, some games can provide players with the function of watching the game content of other players. For example, players can click on controls such as "watch" in the game. At this time, the game interface will be switched to a watching interface as a whole, through which the corresponding game content of other players can be displayed, such as game matches of other players.
[0004] However, when players watch game content through the content display method in the related art, they cannot perform other operations in the game program, and the players have poor operability for content viewing, resulting in a poor overall game content viewing experience. Summary of the invention
[0005] In order to solve the above technical problems, the present application provides a content display method, which can display the program content of a specified object in the form of a floating interface, thereby improving the relevance of the program content and supporting the viewing object to perform other operations or view information in the program interface.
[0006] The embodiments of the present application disclose the following technical solutions:
[0007] In a first aspect, an embodiment of the present application discloses a content display method, the method comprising:
[0008] Displaying a program interface corresponding to the target program, wherein the program interface includes a first object control corresponding to the first object;
[0009] Based on obtaining a trigger operation for the first object control, a first floating interface corresponding to the first object is displayed, the first floating interface is used to display the program content corresponding to the first object, the program content is used to characterize the usage of the first object for the target program, the first floating interface is smaller than the program interface, and the first floating interface is located above the program interface. In a second aspect, an embodiment of the present application discloses a content display device, the device comprising a first display unit and a second display unit:
[0010] The first display unit is used to display a program interface corresponding to the target program, wherein the program interface includes a first object control corresponding to the first object;
[0011] The second display unit is used to display a first floating interface corresponding to the first object based on obtaining a trigger operation for the first object control, the first floating interface is used to display program content corresponding to the first object, the program content is used to characterize the usage of the first object for the target program, the first floating interface is smaller than the program interface, and the first floating interface is located above the program interface.
[0012] In a possible implementation, the program content is specifically used to characterize the usage of the first object using the target program to execute the target program behavior, the first floating interface includes a first interface or a second interface, and the second display unit is specifically used to:
[0013] In response to obtaining a trigger operation for the first object control, displaying a content starting point selection interface, the content starting point selection interface including a first starting point control and a second starting point control;
[0014] In response to obtaining a trigger operation for the first starting point control, displaying the first interface, the first interface being used to display the program content starting from a first display starting point corresponding to the program content, the first display starting point being a display starting point determined according to a moment when the first object starts to execute the target program behavior;
[0015] In response to obtaining a trigger operation for the second starting point control, the second interface is displayed, and the second interface is used to display the program content starting from the second display starting point corresponding to the program content, and the second display starting point is a display starting point determined according to the moment of displaying the second interface.
[0016] In one possible implementation, the target program is a game program, the target program behavior is to complete a target game activity, the program content is specifically used to characterize the usage of the first object using the game program to complete the target game activity, the first display starting point is the starting node of the target game activity, and the second display starting point is the node in the target game activity corresponding to the moment of displaying the second interface.
[0017] In a possible implementation manner, the device further includes a first response unit:
[0018] The first response unit is used to change the display position corresponding to the first floating interface to a target position in response to obtaining a move operation for the first floating interface, where the target position is a display position determined according to the move operation.
[0019] In a possible implementation, the target position is determined by:
[0020] Determining a pending position corresponding to the moving operation, wherein the moving operation is used to move the first floating interface to the pending position;
[0021] The target position is determined according to the pending position and a reference position corresponding to the program interface.
[0022] In a possible implementation, the program interface and the first floating interface are both rectangular interfaces, the to-be-determined position is the center position of the first floating interface, the reference position includes a horizontal centerline position, a vertical centerline position, and boundary positions corresponding to a plurality of interface boundaries corresponding to the program interface, and determining the target position according to the to-be-determined position and the reference position corresponding to the program interface includes:
[0023] Determine, according to the pending position and the reference position, a first distance between the pending position and a target interface boundary, and a second distance between the pending position and a center line corresponding to the target interface boundary, wherein the target interface boundary is any one of a plurality of interface boundaries corresponding to the program interface, a center line corresponding to a horizontal boundary among the plurality of interface boundaries is a horizontal center line, and a center line corresponding to a vertical boundary among the plurality of interface boundaries is a vertical center line;
[0024] In response to the first distance being smaller than the second distance, moving the first floating interface toward the target interface boundary so that the first floating interface is parallel to the target interface boundary at the to-be-determined position and a floating interface boundary closest to the target interface boundary coincides with the target interface boundary;
[0025] In response to the first distance being greater than the second distance, moving the first floating interface toward the center line corresponding to the boundary of the target interface, so that the center position corresponding to the first floating interface is located on the center line corresponding to the boundary of the target interface;
[0026] The center position corresponding to the first floating interface after the movement is determined as the target position.
[0027] In a possible implementation, the device further includes a third display unit and a second response unit:
[0028] The third display unit is used to display the collaboration invitation control through the first floating interface;
[0029] The second response unit is used to instruct the terminal device corresponding to the first object to display invitation information in response to obtaining the trigger operation of the second object on the collaborative invitation control, and the invitation information is used to invite the first object and the second object to jointly execute the first program behavior in the target program.
[0030] In a possible implementation, the program content is specifically used to characterize the usage of the first object using the target program to execute the second program behavior, and the device further includes a fourth display unit:
[0031] The fourth display unit is used to display execution progress information through the first floating interface, where the execution progress information is used to represent the execution progress of the first object executing the second program behavior.
[0032] In a possible implementation, the collaboration invitation control includes a first collaboration invitation control and a second collaboration invitation control, the invitation information includes first invitation information and second invitation information, and the second response unit is specifically configured to:
[0033] In response to obtaining a triggering operation of the second object on the first collaboration invitation control, instructing a terminal device corresponding to the first object to display the first invitation information;
[0034] In response to obtaining a triggering operation of the second object on the second collaboration invitation control, instructing a terminal device corresponding to the first object to display the second invitation information;
[0035] The device further comprises a third response unit and a fourth response unit:
[0036] The third response unit is used to display a collaboration object interface corresponding to the second object in response to the terminal device corresponding to the first object acquiring a trigger operation for the first invitation information, wherein the collaboration object interface corresponding to the second object includes object identifiers corresponding to a plurality of objects included in the collaboration object set corresponding to the second object after the first object is added to the collaboration object set corresponding to the second object, and the collaboration object set corresponding to the second object is used to jointly execute the first program behavior in the target program with the second object;
[0037] The fourth response unit is used to display the collaboration object interface corresponding to the first object in response to the terminal device corresponding to the first object obtaining a trigger operation for the second invitation information, the collaboration object interface corresponding to the first object including object identifiers corresponding to multiple objects included in the collaboration object set corresponding to the first object after the second object is added to the collaboration object set corresponding to the first object, and the collaboration object set corresponding to the first object is used to jointly execute the first program behavior in the target program with the first object.
[0038] In a possible implementation, the device further includes a fifth display unit and a change unit:
[0039] The fifth display unit is used to display the second object control corresponding to the third object through the first floating interface;
[0040] The changing unit, based on obtaining a trigger operation for the second object control, changes the program content displayed through the first floating interface from the program content corresponding to the first object to the program content corresponding to the third object, where the program content corresponding to the third object is used to represent the usage of the third object for the target program.
[0041] In a possible implementation, the program interface corresponding to the target program is a first program interface, the first program interface includes the second object control, and the fifth display unit is specifically used for:
[0042] In response to obtaining an interface switching operation, a second object control corresponding to the third object is displayed through the first floating interface, and the interface switching operation is used to switch the program interface corresponding to the target program from the first program interface to the second program interface, and the second program interface does not include the second object control.
[0043] In a possible implementation, the program interface includes object controls corresponding to a plurality of objects respectively, the first object is any one of the plurality of objects, and the device further includes a fifth response unit:
[0044] The fifth response unit is used to change the appearance state corresponding to the first object control from a first appearance state to a second appearance state in response to displaying the first floating interface corresponding to the first object, wherein the first appearance state is used to identify that the program content corresponding to the first object is not in a displayed state, and the second appearance state is used to identify that the program content corresponding to the first object is in a displayed state.
[0045] In a possible implementation, the program interface includes a second object control corresponding to the third object, and the device further includes a sixth display unit:
[0046] The sixth display unit is used to display a second floating interface corresponding to the third object based on obtaining a trigger operation for the second object control, the second floating interface is used to display the program content corresponding to the third object, the program content corresponding to the third object is used to characterize the usage of the third object for the target program, the display layer corresponding to the second floating interface is smaller than the display layer corresponding to the program interface, and the display layer corresponding to the second floating interface is located above the display layer corresponding to the program interface, the display area corresponding to the second floating interface does not overlap with the display area corresponding to the first floating interface, and the display layer corresponding to the second floating interface is used to display the second floating interface.
[0047] In a possible implementation, the device further includes a seventh display unit and a sixth response unit:
[0048] The seventh display unit is used to display the information input control through the first floating interface;
[0049] The sixth response unit is used to instruct the terminal device corresponding to the first object to display target information corresponding to the information input operation in response to obtaining the information input operation for the information input control.
[0050] In a possible implementation, the display layer corresponding to the first floating interface is smaller than the display layer corresponding to the program interface, and the display layer corresponding to the first floating interface is located above the display layer corresponding to the program interface, the display layer corresponding to the first floating interface is used to display the first floating interface, and the display layer corresponding to the program interface is used to display the program interface.
[0051] In a third aspect, an embodiment of the present application discloses a computer device, wherein the computer device includes a processor and a memory:
[0052] The memory is used to store a computer program and transmit the computer program to the processor;
[0053] The processor is used to execute the content display method described in any one of the first aspects according to the instructions in the computer program.
[0054] In a fourth aspect, an embodiment of the present application discloses a computer-readable storage medium, wherein the computer-readable storage medium is used to store a computer program, and the computer program is used to execute the content display method described in any one of the first aspects.
[0055] In a fifth aspect, an embodiment of the present application discloses a computer program product including a computer program, which, when executed on a computer device, enables the computer device to execute the content display method described in any one of the first aspects.
[0056] It can be seen from the above technical scheme that the present application can display the first object control corresponding to the first object in the program interface corresponding to the target program, and the first object control is used to trigger the display of the program content corresponding to the first object. If you want to view the program content corresponding to the first object, you can trigger the first object control to make the computer device display the first floating interface corresponding to the first object, and the first floating interface is used to display the program content corresponding to the first object, and the program content is used to characterize the use of the first object for the target program. Among them, the first floating interface is smaller than the program interface, and the first floating interface is located above the program interface, so that the first floating interface can successfully display the program content corresponding to the first object while not completely blocking the display of the program interface, and then the object can receive the information displayed by the program interface or operate the program interface while viewing the program content. In summary, the present application provides a function that can view program content for a specific object on the one hand, which improves the pertinence of content display, and on the other hand, it can support viewing and operating interfaces other than the floating interface while displaying program content, which improves the efficiency of using the target program, and also facilitates the object viewing the program content to understand and refer to the use of the target program based on the first object, and strengthens the correlation between the viewing object and the first object on the target program. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0058] Figure 1 A schematic diagram of a content display method in an actual application scenario provided by an embodiment of the present application;
[0059] Figure 2 A flowchart of a content display method provided in an embodiment of the present application;
[0060] Figure 3 A schematic diagram of a content display method provided in an embodiment of the present application;
[0061] Figure 4 A schematic diagram of a content display method provided in an embodiment of the present application;
[0062] Figure 5 A schematic diagram of a content display method provided in an embodiment of the present application;
[0063] Figure 6A schematic diagram of a content display method provided in an embodiment of the present application;
[0064] Figure 7 A schematic diagram of a content display method provided in an embodiment of the present application;
[0065] Figure 8 A schematic diagram of a content display method provided in an embodiment of the present application;
[0066] Fig. 9 A flowchart of a content display method in an actual application scenario provided by an embodiment of the present application;
[0067] Fig.10 A schematic diagram of a content display method in an actual application scenario provided by an embodiment of the present application;
[0068] Fig.11 A structural block diagram of a content display device provided in an embodiment of the present application;
[0069] Fig.12 A structural diagram of a terminal provided in an embodiment of the present application;
[0070] Fig.13 A structural diagram of a server provided in an embodiment of the present application. DETAILED DESCRIPTION
[0071] The embodiments of the present application are described below in conjunction with the accompanying drawings.
[0072] The program content display method in the related art is usually full-screen display, that is, the display interface used to display the program content is the same size as the program interface corresponding to the program, resulting in the object viewing the program content being unable to receive the information displayed on the program interface or operate the program interface when viewing. For example, in the game program in the related art, a function of viewing other objects' game matches can be provided. When viewing the game match, the viewing object needs to load the game match in full screen. At this time, the entire program interface will switch to a viewing interface for displaying the game match. The viewing object can only watch the game match and cannot perform other operations. Therefore, the convenience of using the game program is low, and it is difficult to improve the efficiency of using the program.
[0073] In order to solve the above technical problems, the present application provides a content display method, whereby a computer device can provide a program content display in the form of a floating interface for a specific object, wherein the display layer of the floating interface is smaller than the display layer of the program interface corresponding to the target program, and the display layer of the floating interface is located above the display layer of the program interface. Thus, when the floating interface displays the program content of a specific object, the viewing object can still receive information from a partial area of the program interface and operate the program interface, thereby improving the viewing object's utilization efficiency of the target program, while also improving the targeted reception of program content, so that the viewing object can select the program content of a specific object to receive.
[0074] It is understandable that the method can be applied to a computer device, which is a computer device capable of displaying content, such as a terminal device or a server. The method can be executed independently by a terminal device or a server, or can be applied to a network scenario in which a terminal device and a server communicate, and is executed by the cooperation of the terminal device and the server. Among them, the terminal device can be a mobile phone, a tablet computer, a laptop computer, a desktop computer and other devices. The server can be understood as an application server or a Web server. In actual deployment, the server can be an independent server, a cluster server, or a cloud server, etc.
[0075] In order to facilitate understanding of the technical solution provided by the present application, a content display method provided by an embodiment of the present application will be introduced below in combination with an actual application scenario.
[0076] See also Figure 1 , Figure 1 A schematic diagram of a content display method in an actual application scenario provided in an embodiment of the present application. In the actual application scenario, the computer device is a terminal device 101 with a content display function, such as a mobile phone capable of running a game program, and the target program is a game program.
[0077] like Figure 1 As shown, the terminal device 101 can display the program interface corresponding to the game program, and the program interface includes object controls corresponding to multiple objects, including an object control corresponding to object A. If the user of the terminal device 101 wants to view the program content corresponding to object A, the trigger operation can be performed by clicking the object control corresponding to object A.
[0078] Based on obtaining the trigger operation for the object control corresponding to object A, the terminal device 101 will display the floating interface corresponding to object A, such as Figure 1As shown, the floating interface is used to display the program content corresponding to object A. In the game program, the program content can be a screen in which object A controls its own game object to play a game, thereby representing the way in which object A uses the game program. The display layer corresponding to the floating interface is located above the display layer corresponding to the program interface, and the display layer corresponding to the floating interface is smaller than the display layer corresponding to the program interface. Therefore, first of all, the program content can be fully displayed without being interfered by the program interface, so that the user of the terminal device 101 can effectively receive the program content; in addition, the floating layer does not completely affect the function of the program interface. Figure 1 In the present invention, the program interface that is not covered by the floating interface still has the original interface functions, such as being able to display information to the user object and interact with the user object.
[0079] It can be seen that the present application first provides a highly targeted program content display method, which supports the object to select the object corresponding to the program content by itself. At the same time, when displaying the program content, the present application has little impact on the interactive function of the target program itself, and supports the object to interact with the program interface while viewing the program content, thereby improving the object's efficiency in using the target program, and also making it convenient for the object to learn from and refer to the usage method of the target program when viewing the specified object's usage method for the target program, thereby enriching the usage experience of the target program.
[0080] Next, a content display method provided in an embodiment of the present application will be introduced in conjunction with the accompanying drawings.
[0081] See also Figure 2 , Figure 2 This is a flow chart of a content display method provided in an embodiment of the present application. In this embodiment, the computer device can be a mobile phone, a computer, etc. with a content display function, or a computer device composed of a mobile phone and a program server. The method includes:
[0082] S201: Displaying a program interface corresponding to a target program.
[0083] In the embodiment of the present application, the target program can be any program with the ability to display program content, such as a video player program, a game program, etc. The program interface is the interface displayed by the computer device when the target program is used, through which the information displayed by the target program can be received or the target program can be interacted with. The game programs involved in the present application can include multiple types, such as shooting games, multiplayer online tactical competitive games (Multiplayer Online Battle Arena, referred to as MOBA), role-playing games, etc.
[0084] Among them, shooting games have obvious characteristics of action games, and there are no pure shooting games, because shooting must be presented in an action way. Therefore, no matter what kind of shooting props are used, as long as the game is a "shooting action", it can be called a shooting game. In order to distinguish it from general action games, only games that emphasize the use of "shooting" to achieve the goal can be called shooting games.
[0085] MOBA games usually refer to games in which multiple players are divided into different camps and fight in real time in the same game scene. Props are generally required to be purchased during the battle. Players are usually divided into two teams, and the two teams compete with each other in scattered game maps. Each player controls the selected game character through a real-time strategy game-style interface.
[0086] Role-playing games are usually games in which the player takes on the role of a game character and controls the game character to complete various game behaviors in the game.
[0087] In order to provide a program content display function for a specific object, the computer device can display an object control corresponding to the specific object through the program interface. For example, the program interface may include a first object control corresponding to a first object, the first object may be any object using the target program, and the first object control is used to select and display the program content corresponding to the first object.
[0088] S202: Based on obtaining a trigger operation for a first object control, display a first floating interface corresponding to the first object.
[0089] If the subject wants to know how the first object uses the target program, the subject can perform a trigger operation on the first object control, for example, by clicking or long pressing the first object control. Through this triggering method, the computer device can provide the subject with a relatively free and flexible program content display selection, so that the subject can select the program content of the object of interest to view.
[0090] The first floating interface is used to display the program content corresponding to the first object, and the program content is used to characterize the way the first object uses the target program. It is understandable that when the programs are different, the way the object uses the target program is usually different, so the program content in different programs will also be different. For example, when the target program is a video viewing program, the video content watched by the object can reflect the way the object uses the target program, so the program content corresponding to the first object can be the video content watched by the first object through the target program; when the target program is a game program, the game game in which the object participates in the game program can reflect the way the object controls the game program. At this time, the program content corresponding to the first object can be the game game content corresponding to the first object.
[0091] By displaying the program content corresponding to the first object, the object viewing the program content can have a richer understanding of the target program through the way the first object uses the target program. For example, when the target program is a game program, by watching the game match of the first object, the object can learn how the first object controls the game character, etc. At the same time, it also helps to enrich the degree of association between the first object and the object viewing the program content in the target program. For example, when the target program is a video viewing program, by displaying the video content watched by the first object, it helps to strengthen the association between the object viewing the program content and the first object in the video content, for example, the object can be found that has a more consistent preference for video content with the object viewing the program content.
[0092] In order to facilitate the object to interact with the program interface of the target program when viewing the program content, or to facilitate the object to receive information from the first floating interface and the program interface at the same time, the computer device can set the first floating interface to be smaller than the program interface, and the first floating interface to be located above the program interface.
[0093] Since the first floating interface is located above the program interface, it can ensure that the first floating interface can successfully display the program content corresponding to the first object, and since the first floating interface is smaller than the program interface, the first floating interface will not completely block the program interface, so that the object can receive information displayed by the program interface from the unblocked program interface, or interact with the program interface, etc. For example, if the target program is a game program, the object can add friends, queue for games, purchase props, etc. through the program interface corresponding to the game program while watching the game content of the first object through the first floating interface, which improves the convenience of operating the target program, and also helps the object to refer to the first object's use of the target program when using the target program. For example, when the target program is a game program, the object can control its own game character while learning the control method of the first object controlling the game character through the game content of the first object, so that the object can learn and understand the game character more quickly, which helps to improve the object's acceptance of the game program.
[0094] It can be seen from the above technical scheme that the present application can display the first object control corresponding to the first object in the program interface corresponding to the target program, and the first object control is used to trigger the display of the program content corresponding to the first object. If you want to view the program content corresponding to the first object, you can trigger the first object control to make the computer device display the first floating interface corresponding to the first object, and the first floating interface is used to display the program content corresponding to the first object, and the program content is used to characterize the use of the first object for the target program. Among them, the first floating interface is located above the program interface, and the first floating interface is smaller than the program interface, so that the first floating interface can successfully display the program content corresponding to the first object while not completely blocking the display of the program interface, and then the object can receive the information displayed by the program interface or operate the program interface while viewing the program content. In summary, the present application provides a function that can view program content for a specific object on the one hand, and on the other hand, it can support viewing and operating interfaces other than the floating interface while displaying the program content, which improves the efficiency of using the target program, and also facilitates the object viewing the program content to understand and refer to the use of the target program based on the first object, and strengthens the correlation between the viewing object and the first object on the target program.
[0095] In a possible implementation, the processing device displays the interface mainly through the layer corresponding to the interface, and the position and size of the display layer corresponding to the interface determine the display position and display size of the interface.
[0096] Therefore, in this implementation, the computer device can set the display layer corresponding to the first floating interface to be smaller than the display layer corresponding to the program interface, and the display layer corresponding to the first floating interface is located above the display layer corresponding to the program interface, wherein the display layer corresponding to the first floating interface is used to display the first floating interface, and the display layer corresponding to the program interface is used to display the program interface. This ensures that the display layer of the first floating interface does not cover the display layer of the program interface, and can interact with the program interface, such as Figure 1 The corresponding actual application scenario is shown in FIG.
[0097] Since the display layer corresponding to the first floating interface is located above the display layer corresponding to the program interface, it is ensured that the first floating interface can successfully display the program content corresponding to the first object, and since the display layer corresponding to the first floating interface is smaller than the display layer corresponding to the program interface, the first floating interface will not completely block the program interface, so that the object can receive information displayed by the program interface from the unblocked program interface, or interact with the program interface, etc. For example, if the target program is a game program, the object can add friends, queue for games, purchase props, etc. through the program interface corresponding to the game program while watching the game content of the first object through the first floating interface, which improves the convenience of operating the target program, and also helps the object to refer to the first object's use of the target program when using the target program. For example, when the target program is a game program, the object can control its own game character while learning the control method of the first object controlling the game character through the game content of the first object, so that the object can learn and understand the game character more quickly, which helps to improve the object's acceptance of the game program.
[0098] In order to meet the diverse needs of viewing program content, the computer device may provide a variety of program content display methods corresponding to display starting points, and different program content display methods correspond to different display starting points.
[0099] For example, in one possible implementation, the program content can be specifically used to characterize the usage of the first object using the target program to execute the target program behavior, and the target program behavior can be any behavior in the target program that can be executed by using the target program, such as video watching behavior in a video watching program, game playing behavior in a game program, etc.
[0100] The first floating interface includes a first interface or a second interface, and the first interface and the second interface are respectively used to display program contents with different starting points.
[0101] In response to obtaining a trigger operation for the first object control, the computer device may first display a content starting point selection interface, which includes a first starting point control and a second starting point control, the first starting point control being a starting point control for selecting a first display starting point, and the second starting point control being a starting point control for selecting a second display starting point.
[0102] If the object wants to watch the entire process of the first object executing the target program behavior, such as watching the first object play a game, a trigger operation can be performed on the first starting point control. In response to obtaining the trigger operation on the first starting point control, the computer device can display a first interface, which is used to display the program content from the first display starting point corresponding to the program content. The first display starting point is a display starting point determined according to the moment when the first object starts to execute the target program behavior, that is, the first display starting point is the starting node of the program content of the first object executing the target program behavior.
[0103] Through the first floating interface, the object can use the target program as the starting point when the first object starts to use the target program, and watch the first object use the target program, that is, watch the first object perform the target program behavior from the beginning. For example, in a game program, if the object triggers the first starting point control, the game game played by the first object can be watched from the beginning of the game game through the first floating interface.
[0104] If you want to watch the program content of the first object with stronger real-time performance through the first floating interface, you can trigger the second starting point control. In response to obtaining the trigger operation for the second starting point control, the computer device can display the second interface, which is used to display the program content from the second display starting point corresponding to the program content, and the second display starting point is the display starting point determined according to the moment of displaying the second interface. That is, the second display starting point is the execution node corresponding to the target program behavior executed by the first object when the second interface is displayed. Displaying the program content from the second display starting point can reflect the current use of the target program by the first object, which has stronger real-time performance than the first display starting point, and can enable the object viewing the program content to know the execution progress of the current target program behavior executed by the first object. Thus, in this way, the computer device can start from the two dimensions of the integrity of the program content and the real-time performance of the program content, bring diversified program content viewing options, and enrich the viewing experience of the program content.
[0105] For example, in a game program, the second display starting point can be the moment corresponding to the moment of triggering the second starting point control in the game of the first object. The first floating interface can display the game of the first object from the second display starting point, so that the viewing object of the first floating interface can see the current control method of the game character of the first object in the game, and display the game situation of the first object to the viewing object in real time, giving the viewing object a more synchronized viewing experience.
[0106] Alternatively, in a video viewing program, if the viewing object triggers a first starting point control, the computer device can display the video content from the starting point of the video content viewed by the first object through a first floating interface, so that the viewing object can obtain the complete video content; if the viewing object triggers a second starting point control, the computer device can display the video content through the first floating interface, starting from the current progress of the first object viewing the video content, so that the viewing object can watch the video content while maintaining a similar viewing progress as the first object.
[0107] In another possible implementation, the target program may be a game program, which includes a variety of game activities. Game activities are activities that an object using the game program can perform through the game program, such as game match activities. The target program behavior is to complete the target game activity, and executing the target program behavior is to use the game program to complete the target game activity, such as completing a game match. The program content is specifically used to characterize the use method of the first object using the game program to complete the target game activity. In this embodiment, the first display starting point may be the starting node of the target game activity, that is, the method of the first object completing the target game activity can be displayed from the starting node of the target game activity through the first interface; the second display starting point is the node corresponding to the target game activity at the moment of displaying the second interface, that is, when the second interface is displayed, the node corresponding to the target game activity can reflect the current completion status of the first object for the target game activity.
[0108] like Figure 3 As shown, after the viewing object triggers the object control corresponding to object A, the computer device will first display a starting point selection interface, through which the viewing object is asked when to start watching the current game. If the viewing object triggers the "watch from the beginning" control (i.e., the first starting point control), the floating interface corresponding to object A displayed by the computer device can display the game of object A from the starting point of the game. If the viewing object triggers the "real-time watch" control (i.e., the second starting point control), the floating interface corresponding to object A displayed by the computer device can display the game of object A in real time.
[0109] In addition to the various display forms of the program content displayed through the floating interface, the present application can also provide various operation functions for the floating interface, see below.
[0110] First, as mentioned above, since the display layer corresponding to the first floating interface is smaller than the display layer corresponding to the program interface, the object can interact with the program interface through the portion of the program interface that is not blocked by the first floating interface, or receive information from the program interface. In a possible implementation, in order to facilitate the object to interact with the program interface while viewing the program content displayed on the first floating interface, the computer device may provide a function that can move the display position of the first floating interface.
[0111] If the object wants to change the display position of the first floating interface, it can perform a moving operation on the first floating interface, for example, it can long press the first floating interface to drag, slide the first floating interface, etc. In response to obtaining the moving operation on the first floating interface, the computer device can change the display position corresponding to the first floating interface to the target position, which is the display position determined according to the moving operation, and can represent the demand of the object performing the moving operation for the display position of the first floating interface. Therefore, since the display layer corresponding to the first floating interface is still above the display layer corresponding to the program interface, the first floating interface can maintain the display of the program content after the position is changed. At the same time, since the positional relationship between the first floating interface and the program interface is changed, the occlusion of the program interface by the first floating interface is changed, thereby changing the interactive content between the object and the program interface, thereby satisfying the object's diversified interactive needs for the program interface when viewing the program content displayed by the first floating interface, and also enabling the object to freely choose the viewing position where it wants to view the program content, giving the object a more free content display experience.
[0112] Among them, there may be multiple ways to determine the target position. In one possible implementation, in order to better meet the position requirements of moving the first floating interface of the object, the computer device can directly determine the pending position corresponding to the moving operation as the target position. The moving operation is used to move the first floating interface to the pending position, that is, the position corresponding to the first floating interface when the object performs the moving operation. For example, it can be the position corresponding to the first floating interface after the object is dragging the first floating interface after the dragging is completed.
[0113] In another possible implementation, the computer device may also predict the object's intention to move the first floating interface, so that after the object performs a partial move operation, the first floating interface can be moved to a relatively satisfactory moving position for the object. For example, when the object moves the first floating interface to a position close to the boundary of the program interface through a move operation, the computer device may predict that the object wants to move the first floating interface to the boundary of the program interface to reduce the coverage of the first floating interface to the middle area of the program interface, so that the computer device may determine the position on the boundary of the program interface as the target position.
[0114] Based on this, in this implementation, the target position can be determined by:
[0115] The computer device can preset a reference position corresponding to the program interface, and the reference position is used to determine the target position corresponding to the pending position obtained by the moving operation. When determining the target position, the computer device can first determine the pending position corresponding to the moving operation, through which the moving requirements of the object when moving the first floating interface can be characterized, and the moving requirements of the object to move the first floating interface can be accurately analyzed through the reference position, so that the computer device can determine the target position according to the pending position and the reference position corresponding to the program interface, so that the object does not need to directly move the first floating interface to the target position through the moving operation, and can also change the display position of the first floating interface to the target position, thereby improving the moving efficiency of the object to move the first floating interface, and thus can bring the object a more convenient content display experience.
[0116] Specifically, in a possible implementation, the computer device may analyze the object's movement requirement for the first floating interface through the centerline position and the boundary position of the program interface.
[0117] The program interface and the first floating interface may both be rectangular interfaces, and the to-be-determined position is the center position of the first floating interface, that is, the center position of the rectangle corresponding to the first floating interface; the reference position includes the horizontal center line position, the vertical center line position and the boundary positions corresponding to the boundaries of the multiple interfaces corresponding to the program interface, such as Figure 4 shown.
[0118] When determining the target position based on the pending position and the reference position corresponding to the program interface, the computer device can first determine the first distance between the pending position and the target interface boundary, and the second distance between the pending position and the center line corresponding to the target interface boundary based on the pending position and the reference position. The target interface boundary can be any one of the multiple interface boundaries corresponding to the program interface, the center line corresponding to the horizontal boundary among the multiple interface boundaries is the horizontal center line, and the center line corresponding to the vertical boundary among the multiple interface boundaries is the vertical center line, that is, the center line corresponding to the interface boundary is the center line parallel to the interface boundary.
[0119] Through the first distance and the second distance, the computer device can analyze whether the first floating interface is closer to the interface boundary after movement, or closer to the center line corresponding to the interface boundary, so as to analyze the movement requirements of the object when moving the first floating interface. For example, in response to the first distance being less than the second distance, the computer device can determine that the first floating interface is closer to the target interface boundary than the center line after movement, so it can be determined that the object wants to move the first floating interface toward the target interface boundary. At this time, the computer device can automatically move the first floating interface toward the target interface boundary, so that the first floating interface is parallel to the target interface boundary at the to-be-determined position and the floating interface boundary closest to the target interface boundary coincides with the target interface boundary, so that the first floating interface can fit the target interface boundary.
[0120] In response to the first distance being greater than the second distance, the computer device can determine that the first floating interface is closer to the center line of the target interface boundary after the movement than the target interface boundary, so it can be determined that the object wants to move the first floating interface to the center line corresponding to the target interface boundary. At this time, the computer device can move the first floating interface to the center line corresponding to the target interface boundary, so that the center position corresponding to the first floating interface is located on the center line corresponding to the target interface boundary, so that the first floating interface can fit the center line position of the center line corresponding to the target interface boundary, and be displayed in the middle position of the program interface. The computer device can determine the center position corresponding to the first floating interface after the movement as the target position. Through the above scheme, the computer device can reasonably predict the purpose of the object moving the first floating interface, so that the object does not need to manually complete the moving operation of moving the first floating interface to the target position. It only needs to execute the moving operation of moving the first floating interface to the to-be-determined position to realize the moving of the first floating interface to the target position, thereby improving the efficiency and convenience of the interface movement operation.
[0121] like Figure 4 As shown in the figure, after the moving operation, the first distance between the pending position of the first floating interface and the boundary of the target interface is greater than the second distance between the first floating interface and the horizontal center line. At this time, the computer device will move the first floating interface to the horizontal center line. It can be understood that when determining the target position, the computer device can determine it not only based on the distance relationship between the pending position and a single interface boundary, but also based on the above-mentioned moving method and the distance relationship between multiple interface boundaries. Figure 5As shown, since the first distance is less than the second distance, the computer device will move the first floating interface to the first interface boundary. At the same time, since the third distance between the undetermined position and the second interface boundary is less than the fourth distance between the position and the vertical center line, the computer device will move the first floating interface to the second interface boundary. Finally, in order to make the first floating interface fit the first interface boundary and the second interface boundary at the same time, the upper left corner of the first floating interface will overlap with the upper left corner of the program interface. Through this solution, the computer device can display the first floating interface at various boundary positions and various centerline positions of the program interface, thereby providing the object with a more flexible interface display.
[0122] It is understandable that, since the object can watch how the first object uses the target program through the first floating interface, the object can have a clearer understanding of how the first object uses the target program through the first floating interface. On this basis, in some scenarios, the object may have the need to invite the first object to jointly execute the program behavior in the target program. For example, in a game program, when the object sees the game operation of the first object in the game program, he may want to invite the first object to play a game together.
[0123] Based on this, in a possible implementation, the computer device can provide a function of inviting the first object to collaboratively use the target program through the first floating interface. First, the computer device can display a collaborative invitation control through the first floating interface, and the collaborative invitation control is used to invite the first object to collaboratively use the target program, for example, it can be used to invite the first object to watch a video together, invite the first object to play a game together, etc.
[0124] If the object wants to invite the first object, it can trigger the collaboration invitation control, for example, it can click the collaboration invitation control. In response to obtaining the trigger operation of the second object on the collaboration invitation control, the computer device can instruct the terminal device corresponding to the first object to display invitation information, which is used to invite the first object and the second object to jointly execute the first program behavior in the target program.
[0125] On the one hand, since the display of the first floating interface is not interfered by the program interface, it can ensure that the object invitation function can be successfully used by the object; on the other hand, since the program content corresponding to the first object can be displayed through the first floating interface, the way the first object uses the target program can be fully understood through the first floating interface, so that the viewing object of the first floating interface can clearly analyze whether he has the need to invite the first object and when to invite the first object. Therefore, the invitation function provided by the present application can realize more effective and reasonable object invitation, so that the object has a better experience of collaborative use of the target program.
[0126] For example, when the target program is a game program, the first floating interface can display the game played by the first object. Through the first floating interface, the object can fully understand the game level of the first object, so it can choose whether to invite the first object to play the game together; in addition, through the first floating interface, the progress of the game played by the first object can also be clearly known, so that the object can determine when to invite the first object to play the game with a higher success rate. In summary, combined with the game display function of the first floating interface, the object can more reasonably invite the first object to play the game together, bringing a more comfortable collaborative invitation experience to both the inviter and the invitee.
[0127] In one possible implementation, in order to enable the object to initiate a collaboration invitation to the first object at a more reasonable time, the computer device may display the progress of the first object's use of the target program through the first floating interface.
[0128] In this embodiment, the program content can be specifically used to characterize the way in which the first object uses the target program to execute the second program behavior, and the second program behavior can be any behavior in the target program that can be executed by the first object. The computer device can display the execution progress information through the first floating interface, and the execution progress information is used to characterize the execution progress of the first object in executing the second program behavior. The execution progress can reflect the first object's willingness to receive the collaboration invitation to a certain extent. For example, when the first object's execution progress in executing the second program behavior is small, the first object may still need a long time to complete the second program behavior, and the willingness to jointly execute the first program behavior is low; when the first object is about to complete the execution of the second program behavior, the willingness to jointly execute the first program behavior is usually high. Based on this, through the execution progress information, the object can send a collaboration invitation to the first object when the first object is more willing to receive the collaboration invitation, thereby improving the success rate of the collaboration invitation.
[0129] For example, when the target program is a game program, the second program behavior may be completing a game game, and the execution progress information may be the time consumed by the first object in the game game; when the target program is a video viewing program, the second program behavior may be watching a video, and the execution progress information may be the viewing progress of the video by the first object.
[0130] In addition, based on different collaboration needs, the computer device can also use a variety of collaboration invitation methods. For example, in the target program, different objects may have different collaboration objects. For example, object A may collaborate with objects B and C to use the target program, while object D may collaborate with objects E and F to use the target program. In some scenarios, object A may want to invite object D to join its collaboration object, that is, objects A, B, C, and D collaborate to use the target program. In other scenarios, object A may want to join object D's collaboration object, that is, objects A, D, E, and F collaborate to use the target program.
[0131] In a possible implementation, in order to meet the collaborative use requirements of the object as much as possible, the computer device can provide multiple collaborative invitation methods. Among them, the collaborative invitation control displayed by the computer device through the first floating interface may include a first collaborative invitation control and a second collaborative invitation control, and the invitation information includes first invitation information and second invitation information.
[0132] In this embodiment, if the second object wants to add the first object to its own collaborative object, it can trigger the first collaborative invitation control, and the second object can be any object that can trigger the collaborative invitation control displayed by the computer device. In response to obtaining the trigger operation of the second object on the first collaborative invitation control, the computer device can instruct the terminal device corresponding to the first object to display the first invitation information.
[0133] If the first object agrees to join the collaborative object corresponding to the second object, the first invitation information can be triggered by the terminal device corresponding to the first object, for example, the first invitation information can be clicked. In response to the terminal device corresponding to the first object obtaining the trigger operation for the first invitation information, the computer device can add the first object to the collaborative object set corresponding to the second object, and display the collaborative object interface corresponding to the second object. The collaborative object interface corresponding to the second object includes object identifiers corresponding to multiple objects in the collaborative object set corresponding to the second object after the first object is added to the collaborative object set corresponding to the second object. The collaborative object set corresponding to the second object is used to execute the first program behavior in the target program together with the second object. Therefore, by displaying the collaborative object interface corresponding to the second object, the second object can be informed that the first object has been added to its own collaborative object set, so that the second object can subsequently execute the first program behavior together with the first object.
[0134] If the second object wants to join the collaboration object corresponding to the first object, a trigger operation can be performed on the second collaboration invitation control. In response to obtaining the trigger operation of the second object on the second collaboration invitation control, the computer device can instruct the terminal device corresponding to the first object to display the second invitation information, which is used to prompt the first object to add the second object to its own collaboration object set. If the first object agrees that the second object joins its own collaboration object set, a trigger operation can be performed on the second invitation information through the terminal device corresponding to the first object.
[0135] In response to the terminal device corresponding to the first object obtaining a trigger operation for the second invitation information, the computer device can display the collaboration object interface corresponding to the first object, the collaboration object interface corresponding to the first object includes object identifiers corresponding to multiple objects included in the collaboration object set corresponding to the first object after the second object is added to the collaboration object set corresponding to the first object, and the collaboration object set corresponding to the first object is used to execute the first program behavior in the target program together with the first object. Thus, by displaying the collaboration object interface corresponding to the first object to the second object, the second object can be informed that it has successfully joined the collaboration object set corresponding to the first object, so as to prepare for the subsequent joint execution of the first program behavior with the first object.
[0136] For example, in a game program, the collaborative object corresponding to an object may be a teammate who plays a game with the object, such as Figure 6 As shown, the second object may be object 1, and the computer device may display the first collaboration invitation control "appointment invitation" and the second collaboration invitation control "invite request" to object 1. If object 1 triggers the "appointment invitation" control, the first invitation information will be displayed in the program interface corresponding to object A, prompting "object 1 invites you to join his team". If object A triggers the first invitation information, the computer device will add object A to the team of object 1 and display the corresponding collaboration object interface to object 1, which includes the object identifiers corresponding to object A, object C and object D respectively, to inform object 1 that these three objects are teammates of object 1 and can play games together.
[0137] In addition to being able to invite the object to collaboratively use the target program through the first floating interface, in a possible implementation, the computer device may also support sending a variety of information to the first object through the first floating interface.
[0138] The computer device may display an information input control through the first floating interface, and the information input control is used to input information to be displayed to the first object, such as a control such as an information input box. If the object wants to send information to the first object, it can perform information input operations on the information input control, such as entering information in the information input box, or clicking on some preset information.
[0139] In response to obtaining an information input operation for an information input control, the computer device may instruct the terminal device corresponding to the first object to display the target information corresponding to the information input operation, thereby providing a convenient way of information exchange. Since the first floating interface is not interfered by the program interface, the computer device can always provide the information exchange function regardless of how the program interface changes. Figure 6 In the game, the computer device can display three preset information: "Let's play together in the next game", "Take me with you when you form a team", and "Wait for me after the game". The object can click on the preset information to make the terminal device corresponding to the first object display the corresponding preset information to the first object.
[0140] Through the above method, the object can fully understand the program content corresponding to the first object. Among them, the program interface can include object controls corresponding to multiple objects. If you want to view the object content corresponding to other objects, you can trigger the object controls corresponding to other objects. As mentioned above, when the first floating interface is displayed, the object can also interact with the program interface. When switching the program interface, the program interface may be switched to an interface that does not include object controls. At this time, if you want to switch to viewing the program content, you also need to switch the program interface back to the interface including object controls, which is more troublesome.
[0141] Based on this, in a possible implementation, in order to improve the convenience of switching program content, the computer device can use the characteristic that the first floating interface is not interfered by the program interface to provide a convenient program content switching function.
[0142] The computer device can display the second object control corresponding to the third object through the first floating interface. Since the display of the first floating interface can be unaffected by changes in the program interface, the second object control can remain displayed in the first floating interface when the program interface changes, thereby providing the object with a stable program content switching function. If the object wants to view the program content corresponding to the third object, a trigger operation can be performed on the second object control. Based on obtaining the trigger operation for the second object control, the computer device can change the program content displayed through the first floating interface from the program content corresponding to the first object to the program content corresponding to the third object. The program content corresponding to the third object is used to characterize the use of the third object for the target program. In this way, the object can switch the program interface corresponding to the target program at will while viewing the program content, while retaining the function of switching the program content for the object, thereby providing a more free and flexible content display experience.
[0143] like Figure 7 As shown, in the game program, the computer device can display the object control corresponding to object B in the floating interface corresponding to object A. When watching the game content corresponding to object A, it is only necessary to trigger the object control corresponding to object B to switch the game content displayed on the floating interface to the game content corresponding to object B.
[0144] As mentioned above, the purpose of displaying the second object control in the first floating interface is to prevent the switching of program content from being interfered by changes in the program interface, and to avoid the situation where the program content cannot be switched due to changes in the program interface. Based on this, in a possible implementation, in order to reduce interference with the display of program content, the computer device can decide whether to display object controls corresponding to other objects through the first floating interface based on actual changes in the program interface.
[0145] The program interface corresponding to the target program is a first program interface, and the first program interface includes the second object control. The computer device can analyze in real time whether the second object control is not displayed during the program interface switching process.
[0146] In response to obtaining an interface switching operation, and the interface switching operation is used to switch the program interface corresponding to the target program from the first program interface to the second program interface, when the second program interface does not include the second object control, the program content cannot be switched by relying on the program interface. At this time, the computer device can display the second object control corresponding to the third object through the first floating interface, so that the object can switch to the program content corresponding to the third object through the first floating interface. Through this method, when the second object control is included in the program interface, other content displayed through the first floating interface can be reduced, thereby reducing interference with the display of program content, taking into account the program content switching function while providing the object with a better content viewing experience.
[0147] The above provides a variety of methods for switching program content. In a possible implementation, the computer device may also support simultaneous display of program content corresponding to multiple objects.
[0148] In this embodiment, the program interface may further include a second object control corresponding to the third object. If you want to view the program contents corresponding to the first object and the third object at the same time, in addition to triggering the first object control, you can also trigger the second object control.
[0149] Based on obtaining the trigger operation for the second object control, the computer device can display the second floating interface corresponding to the third object, and the second floating interface is used to display the program content corresponding to the third object. Similar to the program content corresponding to the first object, the program content corresponding to the third object can be used to characterize the usage of the third object for the target program. Among them, the display layer corresponding to the second floating interface is smaller than the display layer corresponding to the program interface, and the display layer corresponding to the second floating interface is located above the display layer corresponding to the program interface, and the display layer corresponding to the second floating interface is used to display the second floating interface. Therefore, the display of the program content of the third object can also be free from interference from the program interface, while retaining the interactive function for the program interface. In addition, the display area corresponding to the second floating interface does not overlap with the display area corresponding to the first floating interface, so that the display of the program content corresponding to the first object and the display of the program content corresponding to the third object can be complementary and interfered with each other, which is convenient for viewing the program content corresponding to multiple objects at the same time.
[0150] In one possible implementation, when there are multiple objects in the target program, in order to clearly indicate which object the currently displayed program content corresponds to, the computer device can provide a prompt for the object corresponding to the currently displayed program content in conjunction with the object control corresponding to the object.
[0151] In this implementation, the program interface may include object controls corresponding to multiple objects respectively, and the first object may be any one of the multiple objects. In response to displaying the first floating interface corresponding to the first object, it indicates that the program content corresponding to the first object has begun to be displayed. At this time, the computer device may change the appearance state corresponding to the first object control from the first appearance state to the second appearance state. The appearance state corresponding to the object control refers to the appearance state of the object control seen through the program interface, which can be used to identify whether the object content of the object corresponding to the object control is displayed. Among them, the first appearance state is used to identify that the program content corresponding to the first object is not in a displayed state, and the second appearance state is used to identify that the program content corresponding to the first object is in a displayed state. Therefore, through the change of the appearance state, the object can clearly know through the program interface which object's corresponding object content is being displayed.
[0152] like Figure 8 As shown, before the floating interface corresponding to object A is displayed, the object control corresponding to object A is in the first appearance state, which is the same as the appearance states of other object controls. After the floating interface corresponding to object A is displayed by triggering the object control corresponding to object A, the object control corresponding to object A will change to the second appearance state, which is different from the appearance states of other object controls, so that it can be prompted that the currently displayed program content is the program content corresponding to object A.
[0153] In order to facilitate understanding of the technical solution provided by the embodiment of the present application, a content display method provided by the embodiment of the present application will be introduced below in combination with an actual application scenario.
[0154] See also Fig. 9 , Fig. 9 A flowchart of a content display method in an actual application scenario provided by an embodiment of the present application. In the actual application scenario, the target program may be a game program, and the computer device may include a terminal device with the game program installed and a server corresponding to the game program. The method includes:
[0155] S901: The terminal device displays object controls corresponding to a plurality of objects in a first appearance state through a game program interface.
[0156] The game program interface may include a friend interface, which may include multiple friends of the object using the terminal device in the game program as the multiple objects mentioned above.
[0157] S902: The game program uses an object to click the object control corresponding to object A.
[0158] If the user wants to view the game screen corresponding to object A, he can click the object control corresponding to object A.
[0159] S903: The terminal device displays a content starting point selection interface.
[0160] In the content starting point selection interface, you can Figure 3 As shown, there are two display starting point controls, namely "watch from the beginning" and "watch in real time", for users to select the content display starting point.
[0161] S904: The game program uses an object to select to watch from the beginning / watch in real time.
[0162] S905: The server transmits the game match rendering information corresponding to object A.
[0163] If the object is selected to watch from the beginning, the server can transmit the game rendering information from the starting point of the game corresponding to object A. If the object is selected to watch in real time, the server can transmit the game rendering information from the moment when the floating interface is displayed (that is, the moment when the game content corresponding to object A starts to be displayed). The game rendering information is used to render the game content in the floating interface corresponding to object A.
[0164] S906: Display the game content corresponding to object A through a floating interface.
[0165] At this time, the appearance state of the object control corresponding to object A will change to the second appearance state to indicate that the game content corresponding to object A is being displayed.
[0166] S907: The game program uses the object to perform control operations on the floating interface.
[0167] The control operation may include enlarging the floating interface, reducing the floating interface, pausing the game content display, continuing the game content display, or stopping the game content display. Fig.10 As shown, after the floating interface corresponding to object A is displayed through a triggering operation, the floating interface may include a full-screen display control and a termination display control. If the object is used to click the full-screen display control, the terminal device will adjust the size of the floating interface to the same size as the game program interface; if the object is used to click the termination display control, the terminal device will close the floating interface to terminate the display of the game content of object A, and the object control corresponding to object A will switch back to the first appearance state.
[0168] S908: The terminal device adjusts the display method of the game game content.
[0169] As shown above, the terminal device can adjust the display method of the game content according to the various control operations of the user on the floating interface.
[0170] S909: The terminal device displays a collaboration invitation control.
[0171] The collaboration invitation control can be Figure 6 As shown, there are two controls, "Appointment Invitation" and "Appointment Request", which are used to invite object A to join its own collaboration object set and request object A to invite itself to join object A's collaboration object set respectively.
[0172] S910: The game program uses an object to trigger an operation on the collaboration invitation control.
[0173] S911: The server changes the collaboration object set corresponding to the object.
[0174] If the user object successfully invites object A to join its own collaboration object set, or successfully joins object A's collaboration object set, the server can change the collaboration object sets corresponding to the user object and object A and other objects in the background.
[0175] S912: The terminal device displays the collaboration object interface.
[0176] The collaborative object interface may be, for example, a team formation interface in a game program, for displaying objects that can play a game with the user object.
[0177] Based on the content display method provided in the above embodiment, the present application embodiment also provides a content display device, see Fig.11 , Fig.11 This is a structural block diagram of a content display device 1100 provided in an embodiment of the present application, wherein the device includes a first display unit 1101 and a second display unit 1102:
[0178] The first display unit 1101 is used to display a program interface corresponding to the target program, wherein the program interface includes a first object control corresponding to the first object;
[0179] The second display unit 1102 is used to display a first floating interface corresponding to the first object based on obtaining a trigger operation for the first object control, the first floating interface is used to display program content corresponding to the first object, the program content is used to characterize the usage of the first object for the target program, the first floating interface is smaller than the program interface, and the first floating interface is located above the program interface.
[0180] In a possible implementation, the program content is specifically used to characterize the usage of the first object using the target program to execute the target program behavior, the first floating interface includes a first interface or a second interface, and the second display unit 1102 is specifically used to:
[0181] In response to obtaining a trigger operation for the first object control, displaying a content starting point selection interface, the content starting point selection interface including a first starting point control and a second starting point control;
[0182] In response to obtaining a trigger operation for the first starting point control, displaying the first interface, the first interface being used to display the program content starting from a first display starting point corresponding to the program content, the first display starting point being a display starting point determined according to a moment when the first object starts to execute the target program behavior;
[0183] In response to obtaining a trigger operation for the second starting point control, the second interface is displayed, and the second interface is used to display the program content starting from the second display starting point corresponding to the program content, and the second display starting point is a display starting point determined according to the moment of displaying the second interface.
[0184] In one possible implementation, the target program is a game program, the target program behavior is to complete a target game activity, the program content is specifically used to characterize the usage of the first object using the game program to complete the target game activity, the first display starting point is the starting node of the target game activity, and the second display starting point is the node in the target game activity corresponding to the moment of displaying the second interface.
[0185] In a possible implementation manner, the device further includes a first response unit:
[0186] The first response unit is used to change the display position corresponding to the first floating interface to a target position in response to obtaining a move operation for the first floating interface, where the target position is a display position determined according to the move operation.
[0187] In a possible implementation, the target position is determined by:
[0188] Determining a pending position corresponding to the moving operation, wherein the moving operation is used to move the first floating interface to the pending position;
[0189] The target position is determined according to the pending position and a reference position corresponding to the program interface.
[0190] In a possible implementation, the program interface and the first floating interface are both rectangular interfaces, the to-be-determined position is the center position of the first floating interface, the reference position includes a horizontal centerline position, a vertical centerline position, and boundary positions corresponding to a plurality of interface boundaries corresponding to the program interface, and determining the target position according to the to-be-determined position and the reference position corresponding to the program interface includes:
[0191] Determine, according to the pending position and the reference position, a first distance between the pending position and a target interface boundary, and a second distance between the pending position and a center line corresponding to the target interface boundary, wherein the target interface boundary is any one of a plurality of interface boundaries corresponding to the program interface, a center line corresponding to a horizontal boundary among the plurality of interface boundaries is a horizontal center line, and a center line corresponding to a vertical boundary among the plurality of interface boundaries is a vertical center line;
[0192] In response to the first distance being smaller than the second distance, moving the first floating interface toward the target interface boundary so that the first floating interface is parallel to the target interface boundary at the to-be-determined position and a floating interface boundary closest to the target interface boundary coincides with the target interface boundary;
[0193] In response to the first distance being greater than the second distance, moving the first floating interface toward the center line corresponding to the boundary of the target interface, so that the center position corresponding to the first floating interface is located on the center line corresponding to the boundary of the target interface;
[0194] The center position corresponding to the first floating interface after the movement is determined as the target position.
[0195] In a possible implementation, the device further includes a third display unit and a second response unit:
[0196] The third display unit is used to display the collaboration invitation control through the first floating interface;
[0197] The second response unit is used to instruct the terminal device corresponding to the first object to display invitation information in response to obtaining the trigger operation of the second object on the collaborative invitation control, and the invitation information is used to invite the first object and the second object to jointly execute the first program behavior in the target program.
[0198] In a possible implementation, the program content is specifically used to characterize the usage of the first object using the target program to execute the second program behavior, and the device further includes a fourth display unit:
[0199] The fourth display unit is used to display execution progress information through the first floating interface, where the execution progress information is used to represent the execution progress of the first object executing the second program behavior.
[0200] In a possible implementation, the collaboration invitation control includes a first collaboration invitation control and a second collaboration invitation control, the invitation information includes first invitation information and second invitation information, and the second response unit is specifically configured to:
[0201] In response to obtaining a triggering operation of the second object on the first collaboration invitation control, instructing a terminal device corresponding to the first object to display the first invitation information;
[0202] In response to obtaining a triggering operation of the second object on the second collaboration invitation control, instructing a terminal device corresponding to the first object to display the second invitation information;
[0203] The device further comprises a third response unit and a fourth response unit:
[0204] The third response unit is used to display a collaboration object interface corresponding to the second object in response to the terminal device corresponding to the first object acquiring a trigger operation for the first invitation information, wherein the collaboration object interface corresponding to the second object includes object identifiers corresponding to a plurality of objects included in the collaboration object set corresponding to the second object after the first object is added to the collaboration object set corresponding to the second object, and the collaboration object set corresponding to the second object is used to jointly execute the first program behavior in the target program with the second object;
[0205] The fourth response unit is used to display the collaboration object interface corresponding to the first object in response to the terminal device corresponding to the first object obtaining a trigger operation for the second invitation information, the collaboration object interface corresponding to the first object including object identifiers corresponding to multiple objects included in the collaboration object set corresponding to the first object after the second object is added to the collaboration object set corresponding to the first object, and the collaboration object set corresponding to the first object is used to jointly execute the first program behavior in the target program with the first object.
[0206] In a possible implementation, the device further includes a fifth display unit and a change unit:
[0207] The fifth display unit is used to display the second object control corresponding to the third object through the first floating interface;
[0208] The changing unit, based on obtaining a trigger operation for the second object control, changes the program content displayed through the first floating interface from the program content corresponding to the first object to the program content corresponding to the third object, where the program content corresponding to the third object is used to represent the usage of the third object for the target program.
[0209] In a possible implementation, the program interface corresponding to the target program is a first program interface, the first program interface includes the second object control, and the fifth display unit is specifically used for:
[0210] In response to obtaining an interface switching operation, a second object control corresponding to the third object is displayed through the first floating interface, and the interface switching operation is used to switch the program interface corresponding to the target program from the first program interface to the second program interface, and the second program interface does not include the second object control.
[0211] In a possible implementation, the program interface includes object controls corresponding to a plurality of objects respectively, the first object is any one of the plurality of objects, and the device further includes a fifth response unit:
[0212] The fifth response unit is used to change the appearance state corresponding to the first object control from a first appearance state to a second appearance state in response to displaying the first floating interface corresponding to the first object, wherein the first appearance state is used to identify that the program content corresponding to the first object is not in a displayed state, and the second appearance state is used to identify that the program content corresponding to the first object is in a displayed state.
[0213] In a possible implementation, the program interface includes a second object control corresponding to the third object, and the device further includes a sixth display unit:
[0214] The sixth display unit is used to display a second floating interface corresponding to the third object based on obtaining a trigger operation for the second object control, the second floating interface is used to display the program content corresponding to the third object, the program content corresponding to the third object is used to characterize the usage of the third object for the target program, the display layer corresponding to the second floating interface is smaller than the display layer corresponding to the program interface, and the display layer corresponding to the second floating interface is located above the display layer corresponding to the program interface, the display area corresponding to the second floating interface does not overlap with the display area corresponding to the first floating interface, and the display layer corresponding to the second floating interface is used to display the second floating interface.
[0215] In a possible implementation, the device further includes a seventh display unit and a sixth response unit:
[0216] The seventh display unit is used to display the information input control through the first floating interface;
[0217] The sixth response unit is used to instruct the terminal device corresponding to the first object to display target information corresponding to the information input operation in response to obtaining the information input operation for the information input control.
[0218] In a possible implementation, the display layer corresponding to the first floating interface is smaller than the display layer corresponding to the program interface, and the display layer corresponding to the first floating interface is located above the display layer corresponding to the program interface, the display layer corresponding to the first floating interface is used to display the first floating interface, and the display layer corresponding to the program interface is used to display the program interface.
[0219] The present application also provides a computer device, see Fig.12 As shown, the computer device may be a terminal device, and a mobile phone is taken as an example:
[0220] Fig.12 FIG. 1 is a block diagram showing a partial structure of a mobile phone related to a terminal device provided in an embodiment of the present application. Fig.12 The mobile phone includes: a radio frequency (RF) circuit 710, a memory 720, an input unit 730, a display unit 740, a sensor 750, an audio circuit 760, a wireless fidelity (WiFi) module 770, a processor 780, and a power supply 790. Those skilled in the art will understand that Fig.12 The mobile phone structure shown in the figure does not constitute a limitation on the mobile phone, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0221] Combine the following Fig.12 A detailed introduction to the various components of the mobile phone:
[0222] The RF circuit 710 can be used for receiving and sending signals during the process of sending and receiving information or making calls. In particular, after receiving the downlink information of the base station, it is sent to the processor 780 for processing; in addition, the designed uplink data is sent to the base station. Usually, the RF circuit 710 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, referred to as LNA), a duplexer, etc. In addition, the RF circuit 710 can also communicate with the network and other devices through wireless communication. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to the Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.
[0223] The memory 720 can be used to store software programs and modules. The processor 780 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 720. The memory 720 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 720 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0224] The input unit 730 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the mobile phone. Specifically, the input unit 730 may include a touch panel 731 and other input devices 732. The touch panel 731, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 731 or near the touch panel 731 using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program. Optionally, the touch panel 731 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the processor 780, and can receive and execute commands sent by the processor 780. In addition, the touch panel 731 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 731, the input unit 730 may further include other input devices 732. Specifically, the other input devices 732 may include but are not limited to one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
[0225] The display unit 740 can be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 740 may include a display panel 741. Optionally, the display panel 741 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), etc. Further, the touch panel 731 may cover the display panel 741. When the touch panel 731 detects a touch operation on or near it, it is transmitted to the processor 780 to determine the type of touch event. Subsequently, the processor 780 provides a corresponding visual output on the display panel 741 according to the type of touch event. Although in Fig.12 In the embodiment, the touch panel 731 and the display panel 741 are used as two independent components to realize the input and output functions of the mobile phone, but in some embodiments, the touch panel 731 and the display panel 741 can be integrated to realize the input and output functions of the mobile phone.
[0226] The mobile phone may also include at least one sensor 750, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 741 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 741 and / or the backlight when the mobile phone is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that can be configured in the mobile phone, such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.
[0227] The audio circuit 760, the speaker 761, and the microphone 762 can provide an audio interface between the user and the mobile phone. The audio circuit 760 can transmit the received audio data to the speaker 761 after converting the received audio data into an electrical signal, which is converted into a sound signal for output; on the other hand, the microphone 762 converts the collected sound signal into an electrical signal, which is received by the audio circuit 760 and converted into audio data, and then the audio data is output to the processor 780 for processing, and then sent to another mobile phone through the RF circuit 710, or the audio data is output to the memory 720 for further processing.
[0228] WiFi is a short-range wireless transmission technology. The mobile phone can help users send and receive emails, browse web pages and access streaming media through the WiFi module 770. It provides users with wireless broadband Internet access. Fig.12 A WiFi module 770 is shown, but it is understandable that it is not an essential component of the mobile phone and can be omitted as needed without changing the essence of the invention.
[0229] The processor 780 is the control center of the mobile phone. It uses various interfaces and lines to connect various parts of the entire mobile phone. By running or executing software programs and / or modules stored in the memory 720, and calling data stored in the memory 720, it executes various functions of the mobile phone and processes data, thereby performing overall detection of the mobile phone. Optionally, the processor 780 may include one or more processing units; preferably, the processor 780 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 780.
[0230] The mobile phone also includes a power supply 790 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 780 through a power management system, so that the power management system can manage charging, discharging, power consumption and other functions.
[0231] Although not shown, the mobile phone may also include a camera, a Bluetooth module, etc., which will not be described in detail here.
[0232] In this embodiment, the processor 780 included in the terminal device also has the following functions:
[0233] Displaying a program interface corresponding to the target program, wherein the program interface includes a first object control corresponding to the first object;
[0234] Based on obtaining a trigger operation for the first object control, a first floating interface corresponding to the first object is displayed, the first floating interface is used to display program content corresponding to the first object, the program content is used to characterize the usage of the first object for the target program, the display layer corresponding to the first floating interface is smaller than the display layer corresponding to the program interface, and the display layer corresponding to the first floating interface is located above the display layer corresponding to the program interface, the display layer corresponding to the first floating interface is used to display the first floating interface, and the display layer corresponding to the program interface is used to display the program interface.
[0235] The present application also provides a server. Fig.13 As shown, Fig.13 The structural diagram of the server 800 provided in the embodiment of the present application, the server 800 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) 822 (for example, one or more processors) and a memory 832, and one or more storage media 830 (for example, one or more mass storage devices) storing application programs 842 or data 844. Among them, the memory 832 and the storage medium 830 can be temporary storage or permanent storage. The program stored in the storage medium 830 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations on the server. Furthermore, the central processing unit 822 can be configured to communicate with the storage medium 830 and execute a series of instruction operations in the storage medium 830 on the server 800.
[0236] The server 800 may also include one or more power supplies 826, one or more wired or wireless network interfaces 850, one or more input and output interfaces 858, and / or one or more operating systems 841, such as Windows Server 2000.TM , Mac OS X TM , Unix TM ,Linux TM , FreeBSD TM etc.
[0237] The steps performed by the server in the above embodiment can be based on Fig.13 The server structure shown.
[0238] The embodiment of the present application also provides a computer-readable storage medium for storing a computer program, wherein the computer program is used to execute any one of the implementation methods of the content display methods described in the aforementioned embodiments.
[0239] An embodiment of the present application further provides a computer program product including a computer program, which, when executed on a computer device, enables the computer device to execute the content display method described in any one of the above embodiments.
[0240] A person of ordinary skill in the art can understand that all or part of the steps of implementing the above-mentioned method embodiment can be completed by hardware related to program instructions, and the above-mentioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above-mentioned method embodiment; and the above-mentioned storage medium can be at least one of the following media: read-only memory (English: read-only memory, abbreviated: ROM), RAM, magnetic disk or optical disk, etc. Various media that can store program codes.
[0241] It should be noted that each embodiment in this specification is described in a progressive manner, and the same and similar parts between the embodiments can refer to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device and system embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiments. The device and system embodiments described above are merely schematic, in which the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative work.
[0242] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A content display method, characterized in that: The method comprises: Displaying a program interface corresponding to the target program, wherein the program interface includes a first object control corresponding to the first object; Based on obtaining a trigger operation for the first object control, a first floating interface corresponding to the first object is displayed, the first floating interface is used to display program content corresponding to the first object, the program content is used to characterize the usage of the first object for the target program, the first floating interface is smaller than the program interface, and the first floating interface is located above the program interface.
2. The method according to claim 1, characterized in that: The program content is specifically used to characterize the usage mode of the first object using the target program to execute the target program behavior, the first floating interface includes a first interface or a second interface, and the displaying of the first floating interface corresponding to the first object based on obtaining the trigger operation for the first object control includes: In response to obtaining a trigger operation for the first object control, displaying a content starting point selection interface, the content starting point selection interface including a first starting point control and a second starting point control; In response to obtaining a trigger operation for the first starting point control, displaying the first interface, the first interface being used to display the program content starting from a first display starting point corresponding to the program content, the first display starting point being a display starting point determined according to a moment when the first object starts to execute the target program behavior; In response to obtaining a trigger operation for the second starting point control, the second interface is displayed, and the second interface is used to display the program content starting from the second display starting point corresponding to the program content, and the second display starting point is a display starting point determined according to the moment of displaying the second interface.
3. The method according to claim 2, characterized in that The target program is a game program, the target program behavior is to complete a target game activity, the program content is specifically used to characterize the usage of the first object using the game program to complete the target game activity, the first display starting point is the starting node of the target game activity, and the second display starting point is the node corresponding to the moment of displaying the second interface in the target game activity.
4. The method according to claim 1, characterized in that: The method further comprises: In response to acquiring a move operation for the first floating interface, a display position corresponding to the first floating interface is changed to a target position, where the target position is a display position determined according to the move operation.
5. The method according to claim 4, characterized in that The target position is determined by: Determining a pending position corresponding to the moving operation, wherein the moving operation is used to move the first floating interface to the pending position; The target position is determined according to the pending position and a reference position corresponding to the program interface.
6. The method according to claim 5, characterized in that The program interface and the first floating interface are both rectangular interfaces, the pending position is the center position of the first floating interface, the reference position includes a horizontal centerline position, a vertical centerline position, and boundary positions corresponding to a plurality of interface boundaries corresponding to the program interface, and determining the target position according to the pending position and the reference position corresponding to the program interface includes: Determine, according to the pending position and the reference position, a first distance between the pending position and a target interface boundary, and a second distance between the pending position and a center line corresponding to the target interface boundary, wherein the target interface boundary is any one of a plurality of interface boundaries corresponding to the program interface, a center line corresponding to a horizontal boundary among the plurality of interface boundaries is a horizontal center line, and a center line corresponding to a vertical boundary among the plurality of interface boundaries is a vertical center line; In response to the first distance being smaller than the second distance, moving the first floating interface toward the target interface boundary so that the first floating interface is parallel to the target interface boundary at the to-be-determined position and a floating interface boundary closest to the target interface boundary coincides with the target interface boundary; In response to the first distance being greater than the second distance, moving the first floating interface toward the center line corresponding to the boundary of the target interface, so that the center position corresponding to the first floating interface is located on the center line corresponding to the boundary of the target interface; The center position corresponding to the first floating interface after the movement is determined as the target position.
7. The method according to claim 1, characterized in that The method further comprises: Displaying a collaboration invitation control through the first floating interface; In response to obtaining a trigger operation of the second object on the collaboration invitation control, instructing a terminal device corresponding to the first object to display invitation information, where the invitation information is used to invite the first object and the second object to jointly execute a first program behavior in the target program.
8. The method according to claim 7, characterized in that The program content is specifically used to characterize the usage of the first object using the target program to execute the second program behavior, and the method further includes: The execution progress information is displayed through the first floating interface, and the execution progress information is used to represent the execution progress of the first object executing the second program behavior.
9. The method according to claim 7, characterized in that: The collaboration invitation control includes a first collaboration invitation control and a second collaboration invitation control, the invitation information includes first invitation information and second invitation information, and in response to obtaining a trigger operation of the second object on the collaboration invitation control, instructing a terminal device corresponding to the first object to display the invitation information, includes: In response to obtaining a triggering operation of the second object on the first collaboration invitation control, instructing a terminal device corresponding to the first object to display the first invitation information; In response to obtaining a triggering operation of the second object on the second collaboration invitation control, instructing a terminal device corresponding to the first object to display the second invitation information; The method further comprises: In response to a terminal device corresponding to the first object acquiring a trigger operation for the first invitation information, displaying a collaboration object interface corresponding to the second object, the collaboration object interface corresponding to the second object including object identifiers corresponding to a plurality of objects included in the collaboration object set corresponding to the second object after the first object is added to the collaboration object set corresponding to the second object, the collaboration object set corresponding to the second object being used to jointly execute the first program behavior in the target program with the second object; In response to the terminal device corresponding to the first object obtaining a trigger operation for the second invitation information, a collaboration object interface corresponding to the first object is displayed, the collaboration object interface corresponding to the first object including object identifiers corresponding to multiple objects included in the collaboration object set corresponding to the first object after the second object is added to the collaboration object set corresponding to the first object, and the collaboration object set corresponding to the first object is used to jointly execute the first program behavior in the target program with the first object.
10. The method according to claim 1, characterized in that The method further comprises: Displaying a second object control corresponding to a third object through the first floating interface; Based on obtaining the trigger operation for the second object control, the program content displayed through the first floating interface is changed from the program content corresponding to the first object to the program content corresponding to the third object, and the program content corresponding to the third object is used to characterize the usage of the third object for the target program.
11. The method according to claim 10, characterized in that The program interface corresponding to the target program is a first program interface, the first program interface includes the second object control, and the displaying of the second object control corresponding to the third object through the first floating interface includes: In response to obtaining an interface switching operation, a second object control corresponding to the third object is displayed through the first floating interface, and the interface switching operation is used to switch the program interface corresponding to the target program from the first program interface to the second program interface, and the second program interface does not include the second object control.
12. The method according to claim 1, characterized in that The program interface includes object controls corresponding to a plurality of objects respectively, the first object is any one of the plurality of objects, and the method further includes: In response to displaying the first floating interface corresponding to the first object, the appearance state corresponding to the first object control is changed from a first appearance state to a second appearance state, the first appearance state is used to identify that the program content corresponding to the first object is not in a displayed state, and the second appearance state is used to identify that the program content corresponding to the first object is in a displayed state.
13. The method according to claim 1, characterized in that The display layer corresponding to the first floating interface is smaller than the display layer corresponding to the program interface, and the display layer corresponding to the first floating interface is located above the display layer corresponding to the program interface. The display layer corresponding to the first floating interface is used to display the first floating interface, and the display layer corresponding to the program interface is used to display the program interface.
14. The method according to claim 13, characterized in that The program interface includes a second object control corresponding to the third object, and the method further includes: Based on obtaining a trigger operation for the second object control, a second floating interface corresponding to the third object is displayed, the second floating interface is used to display the program content corresponding to the third object, the program content corresponding to the third object is used to characterize the usage of the third object for the target program, the display layer corresponding to the second floating interface is smaller than the display layer corresponding to the program interface, and the display layer corresponding to the second floating interface is located above the display layer corresponding to the program interface, the display area corresponding to the second floating interface does not overlap with the display area corresponding to the first floating interface, and the display layer corresponding to the second floating interface is used to display the second floating interface.
15. The method according to claim 1, characterized in that The method further comprises: Displaying information input controls through the first floating interface; In response to obtaining an information input operation for the information input control, instructing a terminal device corresponding to the first object to display target information corresponding to the information input operation.
16. A content display device, characterized in that: The device comprises a first display unit and a second display unit: The first display unit is used to display a program interface corresponding to the target program, wherein the program interface includes a first object control corresponding to the first object; The second display unit is used to display a first floating interface corresponding to the first object based on obtaining a trigger operation for the first object control, the first floating interface is used to display program content corresponding to the first object, the program content is used to characterize the usage of the first object for the target program, the first floating interface is smaller than the program interface, and the first floating interface is located above the program interface.
17. A computer device, characterized in that: The computer device comprises a processor and a memory: The memory is used to store a computer program and transmit the computer program to the processor; The processor is used to execute the content display method described in any one of claims 1-15 according to the instructions in the computer program.
18. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store a computer program, and the computer program is used to execute the content display method described in any one of claims 1-15.
19. A computer program product comprising a computer program, which, when executed on a computer device, enables the computer device to execute the content presentation method according to any one of claims 1 to 15.
Citation Information
Cited By
Enterprise intelligent talent management method and system
CN119443976A
