A page processing method and related products

By introducing game fusion pages into the game interface and dynamically adjusting the game content, the problem of low switching efficiency between games is solved, and flexible switching and efficient conversion between games is achieved.

CN114405011BActive Publication Date: 2025-03-25TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210065885.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-20
Publication Date
2025-03-25
Estimated Expiration
2042-01-20

AI Technical Summary

Technical Problem

In the prior art, the switching between games is not flexible enough and the switching efficiency is not high. The user needs to close one game interface and then enter another game interface.

Method used

Provides a page processing method by displaying a game fusion page that contains multiple game content and target application content. When user needs change, dynamically adjust the game content in the game fusion page to achieve flexible switching between games.

Benefits of technology

Flexible switching between games is realized on the same page, improving the efficiency of switching and adjustments, and users can switch to a new game without quitting the original game interface.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114405011B_ABST
    Figure CN114405011B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a page processing method and related products, wherein the method includes: displaying a game fusion page, the game fusion page includes a first game content and a target application content, the first game content is the game display content when the first game is running; when a demand for adjusting the first game in the game fusion page is received, the first game content is adjusted to the second game content in the game fusion page, and the second game content is the game display content when the second game is running. The present application can decouple the game content and the target application content in the game fusion page for display. When the user needs to switch and adjust the game content, he only needs to change the displayed game content in the same page, without exiting the game fusion page and reloading, and the display of the target application content is not affected during the whole process. The present application can realize flexible switching between games in the same page, improving the efficiency of switching and adjustment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a page processing method and related products. Background Art

[0002] In recent years, with the rapid development of the game industry, more and more different types of games have been developed and widely loved by users. Usually, when a user decides to play a game, he needs to enter the game interface of game A before starting the game. In this case, if the user wants to switch games (for example, from game A to game B) for entertainment, he needs to close the game interface of game A and then enter the game interface of game B to start a new game. The switching between games is not flexible enough and the switching efficiency is not high. Summary of the invention

[0003] The embodiments of the present application provide a page processing method and related products, which can realize flexible switching between games and improve the efficiency of switching adjustment.

[0004] The present application provides a page processing method, which includes:

[0005] Displaying a game fusion page, the game fusion page includes a first game content and a target application content, the first game content is a game display content when the first game is running;

[0006] When a demand for adjusting the first game in the game fusion page is received, the first game content is adjusted to the second game content in the game fusion page. The second game content is the game display content when running the second game, and the second game is different from the first game.

[0007] The present application embodiment provides a page processing device, which includes:

[0008] A display module, used to display a game fusion page, the game fusion page includes a first game content and a target application content, the first game content is a game display content when the first game is running;

[0009] The processing module is used to adjust the first game content to the second game content in the game fusion page when receiving a demand to adjust the first game in the game fusion page. The second game content is the game display content when running the second game, and the second game is different from the first game.

[0010] An embodiment of the present application provides a terminal device, which includes: a memory and a processor, wherein a page processing program is stored in the memory, and when the page processing program is executed by the processor, the steps of the above-mentioned page processing method are implemented.

[0011] An embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. The computer program includes program instructions. When the program instructions are executed by a processor, the steps of the page processing method described above are implemented.

[0012] The embodiment of the present application provides a computer program product, which includes a computer program or a computer instruction, and the computer program or the computer instruction is stored in a computer-readable storage medium. The processor of the computer device reads the computer program or the computer instruction from the computer-readable storage medium, and the processor executes the computer program or the computer instruction, so that the computer device executes the above-mentioned page processing method.

[0013] The embodiment of the present application can decouple the game content and the target application content in the game fusion page for display. When the user needs to switch and adjust the game, he only needs to change the original game content to the new game content in the same page, without exiting the game fusion page and reloading, and the display of the target application content is not affected during the whole process. Based on this, the present application can realize flexible switching between games in the same page, improving the efficiency of switching and adjustment. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] In order to more clearly illustrate the technical solutions of the embodiments of the present application, 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 any creative work.

[0015] Figure 1 This is a system architecture diagram of page processing provided by an embodiment of the present application;

[0016] Figure 2 It is a flow chart of a page processing method provided in an embodiment of the present application;

[0017] Figure 3 is a schematic diagram of a game fusion page provided in an embodiment of the present application;

[0018] Figure 4 is a schematic diagram of another game fusion page provided in an embodiment of the present application;

[0019] Figure 5 It is a schematic diagram of triggering and displaying a game fusion page provided in an embodiment of the present application;

[0020] Figure 6 It is a schematic diagram of another triggering display of a game fusion page provided in an embodiment of the present application;

[0021] Figure 7 is a schematic diagram of a hidden game fusion page provided in an embodiment of the present application;

[0022] Figure 8 This is a schematic diagram of a scenario of inviting a user to enter a team room provided in an embodiment of the present application;

[0023] Fig. 9 It is a schematic diagram of closing a game fusion page provided in an embodiment of the present application;

[0024] Fig.10 This is a schematic diagram of the changes in a game fusion page when switching games provided by an embodiment of the present application;

[0025] Fig.11 It is a flowchart of another page processing method provided by an embodiment of the present application;

[0026] Fig.12 It is a schematic diagram of another triggering display of a game fusion page provided in an embodiment of the present application;

[0027] Fig.13 A schematic diagram of the logical architecture of a page processing method in the prior art provided by an embodiment of the present application;

[0028] Fig.14 It is a schematic diagram of the logical architecture of a page processing method provided in an embodiment of the present application;

[0029] Fig.15 This is a schematic diagram of the underlying implementation process of a game switching provided by an embodiment of the present application;

[0030] Fig.16 This is a game running timing diagram provided by an embodiment of the present application;

[0031] Fig.17 This is a game closing timing diagram provided by an embodiment of the present application;

[0032] Fig.18 is a structural schematic diagram of a page processing device provided in an embodiment of the present application;

[0033] Fig.19 It is a structural diagram of a terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0034] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0035] In the specific implementation of this application, data related to users' team rooms, user session information flows, etc., when applied to specific products or technologies in the embodiments of this application, user permission or consent is required, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.

[0036] See also Figure 1 , is a system architecture diagram of page processing provided by an embodiment of the present application. Figure 1 As shown, the system architecture includes multiple terminal devices and servers. Take one of the terminal devices as an example: the terminal device displays a game fusion page, which displays the first game content and the target application content, where the first game content is the display content when the first game is running (in layman's terms, the first game is running in the game fusion page). When the user wants to switch games, the terminal device adjusts the first game content in the game fusion page to the second game content. At this time, the first game is no longer running in the game fusion page and the second game is running instead. The target application content in the game fusion page remains unchanged.

[0037] Of course, during the running of the game, the game content is constantly changing, so displaying the first game content and displaying the second game content can be completed by the terminal device and the server in collaboration. The server is used to send game resources to multiple terminal devices to display the game content in the game fusion page, and receive user operations from multiple terminal devices, and send updated game resources to the terminal device according to the user operation to display the updated game content. For example, user A holding terminal device 101 and user B holding terminal device 102 are in the same game. When user A performs a certain game operation (such as user A performs a chess operation in a Gobang game), the server will send updated game resources to terminal devices 101 and terminal devices 102 according to the received game operation, so that terminal devices 101 and terminal devices 102 both display new game content in the game fusion page (such as the corresponding chessboard display content after user A plays chess). Similarly, when user B performs a certain game operation, the server will also send updated game resources to terminal devices 101 and terminal devices 102 according to the received game operation, so that terminal devices 101 and terminal devices 102 both display new game content in the game fusion page. It should be noted that the above-mentioned server may be one or more in a specific implementation, and this application does not limit this. The above-mentioned terminal device may also be referred to as a terminal, user equipment (UE), access terminal, user unit, mobile device, user terminal, wireless communication device, user agent or user device. Terminal devices include but are not limited to handheld devices with wireless communication functions (such as smart phones, tablet computers), computing devices (such as personal computers (PC), etc.

[0038] The above-mentioned server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), as well as big data and artificial intelligence platforms.

[0039] This application can be applied to a game social platform, which can provide two major functions, game and social, on which users can also socialize while playing games (for example, chatting, etc.). Specifically, the game social platform can provide the operation of multiple games, but uses the same social system (social system includes social friends and social components, etc.), no matter which game the platform is currently running, the displayed social friends are the same, and the social components are also basically the same. In this way, for users, not only can the learning cost of social functions be reduced when switching between different games, but also the closed nature of social interaction within the game is broken (for example, as long as user A is called a friend on the game social platform, all team games provided by the platform can be played in a team with user A); for game suppliers, only the game itself needs to be developed, and there is no need to pay attention to social functions (for example, there is no need to develop a social unit in the game), which can reduce the development cost of game suppliers. It should be noted that the game provided by the game social platform can be a lightweight game (also called a mini game) with a small game volume and memory.

[0040] The following will be combined Figures 2 to 19 The page processing method and related products provided in the embodiments of the present application are described in detail respectively.

[0041] See also Figure 2 , is a flow chart of a page processing method provided in an embodiment of the present application, the method includes steps S201 to S202, and mainly describes the visualization on the user side. It should be noted that, Figure 2 The execution subject of the described method takes the above terminal device as an example.

[0042] Step S201, displaying a game fusion page, the game fusion page includes a first game content and a target application content, the first game content is the game display content when the first game is running.

[0043] Among them, the game fusion page is the display page of the target fusion application in the game mode, and the target fusion application can be understood as the target application + game module (i.e., the above-mentioned game social platform). The first game content in the game fusion page can be a display screen of the game preparation stage of the first game or a display screen of the game progress stage of the first game. When the target application is a social application (such as an instant messaging application), the target application content includes the first component of the target application (or becomes the first component) and the historical session information flow related to the first component of the target application, and the first component of the target application includes one or more functional modules of the target application. When the embodiment of the present application is applied to a specific scene, the above-mentioned target application content can be understood as the content contained in the team room created by the user, including basic components (such as social components), and the historical session information flow in the room. It should be noted that each user can create his own team room, in which the basic components are the same, and the team room of the same user is in different modes, and the basic components are also the same.

[0044] like Figure 3 As shown, it is a schematic diagram of a game fusion page provided by an embodiment of the present application, wherein the above-mentioned first component of the target application includes a team room setting area at the top of the game fusion page and a chat interaction area at the bottom of the game fusion page. The team room setting area includes setting controls such as room announcements, room heat, room privacy settings, and room member microphones, and the chat interaction area includes chat controls such as chat input boxes, emoticons, and microphones. Specifically, the room announcement can display notification items for users entering the room, the room heat is used to indicate the popularity of the room, the room privacy setting can set whether the room is private (such as when the room is not private, all users can join the room, when the room is private, only invited users can join the room), and the room member microphone can display the user avatars of the users connected to the microphone (microphone on) in the current room. It should be noted that the team room setting area can also include a display area for user avatars or the number of users who are not connected to the microphone (microphone off) in the room.

[0045] The historical session information flow related to the first component is as follows Figure 3 As shown, due to the page size limit of the game fusion page, only the latest record is displayed, that is, "User A: Hahaha!" When the user needs to view all records, the record expansion control can be triggered to expand. It should be noted that if the user creates a room for the first time and does not interact with the chat, a prompt message indicating that the room has been successfully created can be included.

[0046] In addition, the first game content may also include game display screens at various moments within the game running time period. Figure 4 This is another schematic diagram of a game fusion page provided in an embodiment of the present application. Figure 4As shown in (a), this page takes a billiard game as an example. In this page, the first game content includes a game cover (such as a pattern text in the style of "Billiard Game"), a player avatar display area and a "Join Game" button. When a member in the team room (on or off the microphone) triggers the "Join Game" button, the member's user avatar will be displayed in the player avatar display area so that all users in the room can know which users are participating in this game (in this case, the remaining users can watch the game). When the number of players in the first game meets the game start condition (such as when the billiard game meets the number condition of two players), the "Join Game" button switches to a "Ready Game" button. When all players trigger the "Ready Game" button, a prompt such as "Ready, waiting for the game to start" will appear in the "Ready Button" display area (such as Figure 4 In the game fusion page, the first game progress screen and the player portrait display area are included, such as Figure 4 The first game progress screen shown in (c) shows the billiard table and the remaining billiard balls of the two players.

[0047] When the target application content and the first game content are displayed together, the user can operate the target application content and the first game content at the same time to complete the social function and the game function in the target fusion application. Figure 3 As shown, the user can use the chat input box, emoticons, microphones, etc. to chat with other users (if it is a character type (including text, emoticons), the chat messages with other users can be viewed accordingly), and the user can also operate the game in the display area of ​​the first game content at the same time to achieve a scene of playing games while chatting. The first game content is the game display screen of the first game running in the target application.

[0048] It should be noted that the first component of the above-mentioned target application content and the historical session information flow can be located at any position within the game fusion page, and the display position of the target application content does not overlap with the display position of the game content. When the target application is other functional applications, the component content contained in the target application content can be determined according to the specific actual situation, and this application does not limit this. For the convenience of explanation, the subsequent examples are introduced as an example of the target application being a social application.

[0049] Specifically, the terminal device triggers the display of the game fusion page in the following two ways.

[0050] Method 1: The terminal device first displays the multimedia fusion page, and then displays the game fusion page after receiving the user's operation.

[0051] Specifically, the multimedia fusion page is a display page of the target fusion application in multimedia mode, and the target fusion application here can be understood as the target application + multimedia module. The multimedia fusion page includes multimedia content (such as video, audio, etc.), target application content and game mode conversion entry. The target application content in the multimedia fusion page is the same as the target application content in the game fusion page (including the first component and the historical session information flow related to the first component). The first component of the target application content and the historical session information flow related to the first component can be located at any position in the multimedia fusion page, and the position can be the same as or different from the display position in the game fusion page.

[0052] For example, in Figure 3 In the game fusion page shown, in order to give users a better gaming experience, the display area of ​​the room members' microphone positions is at the top of the game fusion page, and only the latest message record is displayed (that is, "User A: Hahaha!"). To view the complete chat, the user needs to trigger the message expansion control to view it. Figure 5 is a schematic diagram of triggering and displaying a game fusion page provided in an embodiment of the present application, Figure 5 (a) in the figure is a multimedia fusion page, such as Figure 5 As shown in (a), the display area of ​​the room member's microphone position is in the middle of the multimedia fusion page, and all message records (that is, all message records including "User A: Hahaha!") can be fully displayed. The positions of the remaining functional modules included in the first component in the multimedia fusion page are the same as those in the game fusion page.

[0053] Optionally, when the game mode conversion entry in the multimedia fusion page is triggered, the target application is converted from the multimedia mode to the game mode, and the game identifiers of multiple candidate games are displayed. If the game identifier of the first game among the multiple candidate games is selected, the multimedia content in the multimedia fusion page is adjusted to the first game content to display the game fusion page. The game identifier of the candidate game includes one or more of the game cover, game name, and game ID.

[0054] Exemplarily, the way to trigger the game mode conversion entrance can be single click, double click, touch, etc. Figure 5 When the game mode conversion entry in (a) is triggered, the following is displayed: Figure 5 The page shown in (b) in FIG. 1 includes the game IDs of six games, namely, Game 1, Game 2, Game 3, Game 4, Game 5, Game 6, etc. When Game 4 is selected, the terminal device displays the following Figure 5 The game fusion page shown in (c) in FIG.

[0055] It should be noted that both the game fusion page and the multimedia fusion page are native pages. When the native page needs to be rendered and displayed, the native engine of the target application can be called for rendering, and the components used in the rendering process are the basic system components in the terminal device where the target application is located. In the prior art, the display of the game page adopts the HTML5 solution, which embeds a web page to carry the game rendering data, and the components used in the rendering process are the unique components when the web page is developed. It can be seen that using the native page to display the game screen is less time-consuming and more efficient than the HTML5 solution.

[0056] Method 2: The terminal device first displays the original page in the game mode, and then displays the game fusion page after receiving the user's operation.

[0057] The original page in the game mode includes the target application content (that is, the first component and the historical session information flow), and the display position of the target application content in the original page is consistent with the display position in the game fusion page. When the embodiment of the present application is applied to a specific scenario, the original page can be understood as the page when the user enters the game mode for the first time and does not select any game.

[0058] Optionally, the target application content also includes a game switching entry. When the game switching entry is triggered, the game logos of multiple candidate games are displayed; when the game logo of the first game among the multiple candidate games is selected, the first game content is added to the original page to display the game fusion page. Exemplarily, Figure 6 is a schematic diagram of another triggering display of a game fusion page provided in an embodiment of the present application. Figure 6 (a) in the figure is the original page in game mode, such as Figure 6 As shown in (a) of FIG. 1 , the original page includes a "Please Select a Game" button, which is the game switching entrance. When the user triggers the button by single-clicking, double-clicking, touching, etc., the terminal device will display the following Figure 6 The page with multiple games shown in (b) in FIG. 1 further displays the following when game 4 is selected: Figure 6 The game fusion page shown in (c) in FIG.

[0059] It should be noted that the original page in the game mode also belongs to the native page. In the specific implementation process, the terminal device may also retain the game content that the user ran last time when entering the game mode. That is to say, when the user enters the game mode of the target application, as long as the user has selected a game once, the terminal device will not display the original page in the game mode, but directly display the game display content of the game selected by the user last time the game mode was run.

[0060] Furthermore, in a possible implementation, the game fusion page is also provided with a return entry. When the return entry is triggered, the terminal device hides the game fusion page and displays a page widget; when the page widget is triggered, the game fusion page is redisplayed.

[0061] Among them, when the terminal device hides the game fusion page, the terminal device will display the remaining target application interfaces except the game mode. The remaining target application interfaces can be the main page of the target fusion application (target application + game module), etc. This application is not limited to this, and the game content of the first game continues to run in the background during this process. When the game fusion page is redisplayed, the game fusion page will display the latest game display content during the operation of the first game. Optionally, a page closing entrance is also provided in the page widget. When the page closing entrance is triggered, the page widget, the game fusion page and the first game are all closed. It should be noted that this possible implementation method is also applicable to any game other than the first game.

[0062] For example, in Figure 7 (a) includes a return entry. When the return entry is triggered by a single click, touch, etc., the terminal device is Figure 7 The page shown in (a) in the figure switches to Figure 7 The page shown in (b) in Figure 7 In (b), the page widget is located in the main page of the target application, and the page widget also includes a closing entrance. When the area other than the closing entrance in the page widget is triggered, the terminal device is Figure 7 Switch back to the page (b) Figure 7 (a) in the page (and at this time Figure 7 The game content of game 4 in (a) is the latest game display content at the current moment). When the closing entrance in the page widget is triggered, the terminal device is Figure 7 Switch back to the page (b) Figure 7 In the page (c), the first game is closed.

[0063] It should be noted that in addition to the two methods of triggering the display of the game fusion page by the terminal device introduced above, when the user is invited or actively joins the team room created by other users, the terminal device can also display the game fusion page, which is the team room created by other users. Figure 8 is a schematic diagram of a scenario of inviting a user to enter a team room provided in an embodiment of the present application. Figure 8 For example, when user A wants to invite other users to join the team room, he can do so through Figure 8The page shown in (a) in the figure shows the recently contacted friends in applications 1 to 4 and the target fusion application. User A can select any application from applications 1 to 4 and the target fusion application to share the team room with the friends in the selected application. Assuming that user A shares the team room with user B in the target fusion application, the chat interface between user A and user B will show the following: Figure 8 The page (b) in FIG. 1 includes the "Team Room" entrance sent by user A. Further, if user B clicks on the "Team Room" entrance, the terminal device held by user B will display the above-mentioned Figure 3 Further, in a possible implementation, when the terminal device receives a request to close the first game in the game fusion page, the terminal device closes the first game in the game fusion page and adjusts the position of the target application content in the game fusion page so that the target application content covers the entire game fusion page.

[0064] The terminal device may receive a request to close the first game in the game fusion page by receiving a game closing control in the game fusion display page, or other implementation methods, etc. This method can flexibly adjust the display of the target application content on the terminal device before and after the game is closed, thereby improving the user experience.

[0065] For example, Fig. 9 is a schematic diagram of closing a game fusion page provided by an embodiment of the present application. Fig. 9 When the game closing control in (a) is triggered, the terminal device closes the game display content of Game 4 (or referred to as Game 4 game content), expands the record that only displays one record in the target application content, until the entire display screen is covered with the target application content, and displays Fig. 9 The page shown in (b) in the figure.

[0066] Step S202, when a demand for adjusting the first game in the game fusion page is received, the first game content is adjusted to the second game content in the game fusion page, and the second game content is the game display content when the second game is running.

[0067] The second game is different from the first game. Optionally, the terminal device may receive the demand for adjusting the first game in the game fusion page when the first game is running or when the first game is over. In addition, the demand for adjusting the first game may come from the creator of the team room or the user (such as an administrator) who allows the user to have this authority. The terminal device may receive the demand in the following three ways.

[0068] Method 1: When the game switching entrance is triggered, the game logos of multiple alternative games are displayed; when the game logo of the second game is selected, the demand for adjusting the first game in the game fusion page is received, and the second game is a game among the multiple alternative games.

[0069] Specifically, in this case, the target application content also includes a game switching entrance. When the user operates the game switching entrance, the terminal device can display the game logos of multiple candidate games including the first game. If the user selects the game logo of any game other than the first game among the multiple candidate games, the operation will be regarded as a demand for adjusting the game content, and the terminal device can respond to the demand and display the game display content of the selected game (that is, the second game) in the game fusion page. Among them, the display area of ​​the first game content is the same as the display area of ​​the second game content.

[0070] For example, Fig.10 As shown in (a) of FIG. 1 , when game 4 is running, the game content of game 4 is being displayed on the terminal device. The page at this time also includes a "Please Select a Game" button. When the user triggers the button by single-clicking, double-clicking, touching, etc., the terminal device will display a page with multiple games as described above (as described above). Figure 5 (b) or Figure 6 (b)), further, if the user selects game 5, the terminal device displays the following Fig.10 The game fusion page shown in (b) is the game content of Game 5.

[0071] Method 2: When it is detected that there is a preset operation in the game fusion page, a demand for adjusting the first game in the game fusion page is received.

[0072] Among them, the preset operation can be a gesture operation, a button operation, etc., and the embodiment of the present application does not limit this. When the user performs a preset operation on the game fusion page, the terminal device can use the preset operation as a requirement to adjust the first game and adjust the first game to any game other than the first game.

[0073] Exemplarily, when the preset operation is a gesture operation, it may include a first gesture operation and a second gesture operation. When the first gesture operation is detected in the game fusion page, the demand for adjusting the first game received by the terminal device is specifically "adjusting the first game to the next game of the first game", and when the second gesture operation is detected in the game fusion page, the demand for adjusting the first game received by the terminal device is specifically "adjusting the first game to the previous game of the first game". The first gesture operation may be a left swipe operation or an up swipe operation of the user on the display screen of the terminal device for the first game, and the second gesture operation may be a right swipe operation or a down swipe operation of the user on the display screen of the terminal device for the first game. When the first gesture operation or the second gesture operation is triggered multiple times, the first game may be adjusted to the next or previous games of the first game.

[0074] Exemplarily, when the preset operation is a key operation, the key required to complete the key operation may be a single key or multiple keys in the input device of the terminal device or the corresponding peripheral device. The key operation may be the same up, down, left, and right as the above-mentioned gesture operation, or a key selection corresponding to the game one by one. For example, "Game 1, Game 2, Game 3, Game 4, Game 5, Game 6" may correspond to the key positions "1, 2, 3, 4, 5, 6" or "A, B, C, D, E, F" in the input device or peripheral device respectively. When the user selects and triggers the key position "3" or "C", the game content of Game 3 can be switched.

[0075] Mode 3: When it is detected that there is no trigger operation for the first game within the threshold time period, a demand for adjusting the first game in the game fusion page is received.

[0076] Specifically, when the first game is running and displayed in the game fusion page, the terminal device can detect whether the user participates in the first game (that is, whether there is a trigger operation for the first game) within a threshold time period. If the user does not participate in the first game, it can be determined that the user is not interested in the game content of the first game or the user has been disconnected in the first game, etc. The terminal device can adjust the game content of the first game based on this situation and adjust it to the game content of any other game except the first game.

[0077] based on Figure 2The embodiment shown can decouple the game content and the target application content in the game fusion page for display. When the user needs to switch and adjust the game content, he only needs to change the original game content to the new game content in the same page, without exiting the game fusion page and reloading it, and the display of the target application content is not affected during the whole process. Based on this, the present application can realize flexible switching between games in the same page, improving the efficiency of switching and adjustment.

[0078] In the application scenario of the above embodiment, the user enters the game fusion page of the target fusion application (target application + game module) either through a team room created by himself or by joining the team room of other users. Next, this application introduces the situation where the user enters the game fusion page through random game matching (in this case, the user does not create a team room).

[0079] See also Fig.11 , is a flow chart of another page processing method provided by an embodiment of the present application. The method includes steps S1101 to S1102, which mainly illustrate the visualization on the user side. It should be noted that, Fig.11 The execution subject of the described method takes the above terminal device as an example.

[0080] Step S1101, displaying a game menu page, where the game menu page includes game identifiers of multiple candidate games.

[0081] Specifically, when the user does not need to create a team room by himself, he can choose to randomly match players in the target fusion application to play team games. When choosing random matching, the user can determine the game he wants to play by selecting the game identifier of the alternative game. The game identifier of the alternative game includes one or more of the game cover, game name, and game ID. For example, Fig.12 (a) in the figure is the game menu page in the target application, which includes a game recommendation area and a room recommendation area. The game recommendation area includes the game IDs of 6 games, including Game 1, Game 2, Game 3, Game 4, Game 5, and Game 6, which can be used for users to randomly select and match players to play games. The room recommendation area is the team room for game mode or multimedia mode created by other users. For example, in game mode, it includes Game 1 Room 1, Game 1 Room 2, Game 1 Room 3, Game 2 Room 1, etc. When a user chooses to enter a team room in game mode, the above Figure 2 The game fusion page in the embodiment (such as Figure 3 ).

[0082] Step S1102, when the game logo of the first game is selected, the game menu page is switched to the game fusion page, and the target application content includes the second component of the target application and the session message flow related to the second component of the target application.

[0083] Specifically, in the embodiment of the present application, the game fusion page in this case is Figure 2 The game fusion page in the embodiment is different. The difference lies in that the components included in the target application content are different. Specifically, the second component of the target application is a partial functional module in the first component of the above-mentioned target application. For example, it does not include some controls in the team room setting area. When the embodiment of the present application is applied to a specific scenario, when the user determines the game he wants to play (for example, Game 4), the target application will randomly create a team room for the user and match the remaining users of the game. When the number of users matched to the game reaches the preset number, the terminal device displays the game fusion page. Exemplarily, for the above-mentioned Fig.12 In (a), when game 4 is selected, the following is displayed: Fig.12 The game fusion page shown in (b) includes the game display content and target application content of Game 4. The second component of the target application in the target application content includes the room member microphone position located at the top of the game fusion page, and the chat input box, emoticons, microphone and other controls located at the bottom of the game fusion page. The session message flow related to the second component is empty when the game 4 is just entered. If the user chats through the chat input box, emoticons, microphone and other controls during the game, the chat character messages will be displayed in the session message flow related to the second component.

[0084] Step S1103, when the second game in the game menu page is selected, the game fusion page is closed and the first game is closed, and the second game fusion page is displayed.

[0085] The display position of the second component of the target application in the game fusion page is consistent with the display position in the second game fusion page. Specifically, when the user randomly matches players in the target fusion application to play a team game, if the user needs to switch to the first game, he can do so through Fig.12 The return entry in (b) returns to Fig.12 In the process, the terminal device hides the game fusion page and displays the page widget. When the user closes the first game through the closing entrance in the page widget, the user can Fig.12 Alternatively, the user can return to the page shown in (a) in the figure. Fig.12After the page shown in (a) in the figure is displayed, the new game is directly selected as the second game. In the second case, when the user selects a new game, the target fusion application will first display a prompt message to remind the user whether to close the first game. If the user is sure to close the first game, the target fusion application will display the second game fusion page.

[0086] based on Fig.11 The embodiment shown can realize the decoupling display of the game content and the target application content in the game fusion page. When the user switches and adjusts the game during the random matching process, the game fusion page displayed after the switch can also reuse the target application content (such as social components) of the game fusion page before the switch, that is, each switch only changes the game content in the game fusion page, reducing the difficulty and cost of game development and the user's learning cost.

[0087] Above Figures 2 to 12 The example is a description of the user-side visualization in the page processing method. Next, the underlying working principle of the page processing method is introduced through the following embodiments. First, Fig.13 It is a schematic diagram of the logical architecture of a page processing method (only involving game mode) in the prior art provided by an embodiment of the present application. The logical architecture includes a three-layer structure of a game business layer, an engine adaptation layer, and an engine implementation layer. The game business layer includes the business logic of the game (including game scripts, plug-in scripts, and package runtime scripts) and game resources; the engine adaptation layer includes an adaptation layer and middleware, which can adapt the developed game to multiple platforms. The prior art achieves this purpose mainly based on the game engine Cocos Creator; after the developed game is adapted and adjusted, the engine implementation layer can be used to render and run the game on multiple platforms. When the engine is implemented, the engine used by multiple platforms can include V8 engine, native engine, JavaScript engine, etc. The game display is mainly based on the page (browser or application embedded in the browser) of the HTML5 solution, and the engine implementation layer also includes a rendering layer. Based on the above-mentioned logical architecture, the existing game can only initialize the game engine once in a process, and it is impossible to open and close the game multiple times in the same process. For example, when a game is opened in an instant messaging application (such as a small game like Gobang), a process needs to be created for the running game. In this case, if another game needs to be reopened, the instant messaging application needs to end the process of the previous game first, and then create a process for the new game to run the game. In addition, in the existing technical solutions, the game cannot be embedded in the native application page of the instant messaging application, and a new page needs to be created each time to display the game screen.

[0088] Based on this, the embodiment of the present application proposes a logical architecture diagram of a page processing method, such as Fig.14As shown, in this logical architecture, the application layer is similar to the above-mentioned game business layer, including the business logic and game resources of the game; the game rendering layer is similar to the rendering layer in the above-mentioned engine implementation layer, but in the embodiment of the present application, the game rendering layer can separate the rendering data of the game from the view of the native application (also referred to as the target application), so that the game can run normally without relying on the view of the native application, and the rendering data of different games can be decoupled from the view of the native application and displayed; the communication layer can communicate and connect the data in the above-mentioned game layer and the game rendering layer with the following engine life cycle management layer and engine implementation layer; the engine life cycle management layer can decouple the game engine from the life cycle of the process, and the life cycle of the game engine starts and ends with the life cycle of the game without affecting the life cycle of the process, so that the game can be opened and closed multiple times in the same process (including switching to a new game); the engine implementation layer includes the engine types adopted by multiple platforms when the game is running.

[0089] It can be seen that the embodiments of the present application can decouple the game engine from the native application, so that different games can be flexibly embedded in various native applications, and the efficiency is also improved when switching between different games in the native application.

[0090] The following further introduces how the logical architecture of the page processing method proposed in this application realizes game switching through other embodiments.

[0091] See also Fig.15 , is a schematic diagram of the underlying implementation process of a game switching provided by an embodiment of the present application, the method is the above Figure 2 The underlying implementation of step S202 in the corresponding embodiment includes steps S1501 to S1503. It should be noted that: Fig.15 The execution subject of the described method takes the above-mentioned terminal device as an example.

[0092] in:

[0093] Step S1501: Obtain a target process, where the target process runs a first instance set and a platform instance related to a first game.

[0094] Among them, the operation of the first game is realized by an instance set, and the instance set of the first game includes the first game instance and the carrier instance of the first game. The first game instance includes game parameter definitions related to the first game, etc. The carrier instance of the first game is the isolate singleton carried by the first game instance (or directly understood as the game engine) when it is running. The isolate singleton can be understood as a thread in the target process, but unlike a thread, multiple isolate singletons in the same process do not share memory, and there is no resource competition relationship. The carrier instance of the first game is created by a platform instance, and the platform instance is an initialization platform for the game engine, wherein the initialization platform defines various classes (View) required for the game to run.

[0095] In an embodiment of the present application, when a game is started in the game mode of the target application (that is, the target fusion application), the target fusion application will create a target process for it or directly use the process running the target application to carry the operation of the game, and the target process runs a first set of instances and a platform instance related to the first game. Different games are carried by the same target process, which means that the first game and the second game are both running within the target process. Specifically, in the target process, the platform instance is first used to create a first game carrying instance for the first game, and the first game instance is run in the first game carrying instance to display the first game content. When displaying the first game content, a view that is not bound to the target application (the target application view displays the above-mentioned Figure 2 In the embodiment, the target application content, the target application view is the view corresponding to the game fusion page in this application) of the SurfaceTexture (or off-screen rendering view) carries the rendering data. When the first game needs to be rendered to the target application view, the SurfaceTexture is bound to the rendering environment of the target application view, and the target application view carries the rendering data, thereby rendering the first game content to the target application view and displaying the game fusion page. It should be noted that in the specific implementation process, due to the characteristics of the SurfaceTexture class, the rendering data carried by the SurfaceTexture cannot be directly displayed on the display screen. The SurfaceTexture can be used to first receive the image stream (rendering data), and then the image frame of the image stream is obtained from the SurfaceTexture and converted into an external texture, and the external texture is submitted to another SurfaceView or GLTextureView for display. It can be seen from this that when the game fusion page is hidden (corresponding to the above Figure 2 In the form of a page widget in the embodiment, SurfaceTexture can also continue to receive updated image streams. When the game fusion page is changed from hidden to displayed, the image stream is submitted to GLTextureView to display the game fusion page.

[0096] For example, Fig.16 This is a game running timing diagram provided by the embodiment of the present application based on the above process. Fig.16 The included running sequence steps include step S1601 to step S1612, wherein:

[0097] S1601. The game service module in the application layer downloads a game package.

[0098] The game service module can respond to the user's need to select a game and download a game package according to the need. The game package includes game service logic and game resources (including rendering data). It should be noted that when downloading the game package, the game service module can directly retrieve the game package stored in the terminal device, or through the above Figure 1 The interface between the servers shown receives game packages.

[0099] S1602: The game business module creates an off-screen rendering view.

[0100] Among them, the off-screen rendering view is a SurfaceTexture that is not bound to the target application view (the view corresponding to the game fusion page), which can continuously receive the rendering data corresponding to the game screen, so that the display of the game screen can be real-time. More specifically, after receiving the rendering data, SurfaceTexture first converts it into an external texture (such as an openGL texture), which is the physical attribute of the image (such as grayscale or color), and then submits the external texture to GLTextureView, which is displayed by GLTextureView.

[0101] S1603. The off-screen rendering view is bound to the view corresponding to the game fusion page.

[0102] Specifically, when the game fusion page needs to be displayed, the off-screen rendering view needs to be bound to the view corresponding to the game fusion page, so that the rendering data carried in the off-screen rendering view can be submitted to the view corresponding to the game fusion page to display the game content.

[0103] It should be noted that when the game fusion page is hidden (corresponding to the above Figure 2 In the form of a page widget in the embodiment, the off-screen rendering view still receives rendering data, but is not bound to the view corresponding to the game fusion page, and the view corresponding to the game fusion page does not carry rendering data.

[0104] S1604: The off-screen rendering view creates a rendering thread.

[0105] S1605. The off-screen rendering view starts a thread loop.

[0106] In order to convert the rendering data into a display screen, the rendering data needs to be rendered in a rendering thread (GLThread), and the rendering frame rate can be controlled in the rendering thread, for example, the rendering frame rate is 60 frames / s.

[0107] S1606: The off-screen rendering view initializes the rendering environment.

[0108] The rendering environment is used to carry the off-screen rendering view bound to the game fusion page.

[0109] S1607: The rendering environment notifies the script engine to initialize.

[0110] Before officially rendering the rendered data to display the game content, it is necessary to create a bearer instance for the running game, and run the corresponding instance of the game in the bearer instance. When the corresponding instance of the game is running, the data can be rendered in the rendering environment. Specifically, the process of creating a bearer instance can be implemented through steps S1607 to S1609. Among them, the initialized script engine includes the core code definition of the game runtime, including the definition of the rendering screen, game style, and game operation.

[0111] S1608. The script engine notifies the native engine to initialize the platform instance.

[0112] If the platform instance does not exist in the script engine, you need to initialize a platform instance through the interface between the script engine and the native engine. The platform instance includes the core code of the game runtime.

[0113] S1609. The script engine creates a bearer instance based on the platform instance.

[0114] Specifically, according to the game that needs to be run currently, the script engine calls the core code for running the game stored in the platform instance, copies the core code and encapsulates it into a bearer instance to run the corresponding instance of the game (or called the game) in the bearer instance.

[0115] S1610: After creating the bearer instance, the script engine notifies the rendering thread.

[0116] S1611. The rendering thread module drives the game to run.

[0117] S1612: The rendering thread passes the rendering process to the script engine to display the game content.

[0118] Specifically, the script engine can use the native rendering interface (nativeRenderer) to receive the rendering process (or rendering instructions) in the game package from the rendering thread, and submit the rendering process to the rendering hardware for rendering.

[0119] Step S1502: destroy the first instance set, and call the platform instance to create a second instance set in the target process.

[0120] Specifically, before switching from the first game to the second game, the first game needs to be closed (ending the running of the first game). This process can be achieved by destroying the first instance set in the target process. The triggering operation of destroying the first instance set can be seen in the above Figure 2 The terminal device receives the three ways of adjusting the demand of the first game in the game fusion page, which are not described in detail in this application. The underlying implementation process corresponding to closing the first game is shown in the following example.

[0121] For example, Fig.17 This is a game closing timing diagram provided by an embodiment of the present application. Fig.15 The closing sequence steps include steps S1701 to S1708, wherein:

[0122] S1701. The game service module receives a game closing request from a user.

[0123] S1702: Pass the game closing request to the rendering layer.

[0124] S1703: The script engine destroys the rendering process.

[0125] S1704. The script engine destroys the instance.

[0126] S1705: The script engine destroys the bearer instance.

[0127] By the above Fig.16 It can be seen that when the game is running, the script engine is calling the rendering hardware to render data according to the rendering process. If the script engine receives a game shutdown request at this time, it needs to first destroy the rendering process, the game instance carried by the rendering process, and the bearer instance carried by the game instance in sequence. This process is implemented through steps S1703 to S1705. Specifically, the destruction rendering process of the native layer (game fusion page) of the script engine can be started by calling the destroy rendering process function (DestroyRenderer).

[0128] S1706: The script engine notifies the rendering layer to release the rendering environment.

[0129] S1707. Exit the rendering thread.

[0130] S1708. Remove the off-screen rendering view.

[0131] After the script engine completes the three steps S1703 to S1705, it is necessary to destroy the off-screen rendering view, rendering thread and rendering environment accordingly, which can be achieved by S1706 to S1708.

[0132] In the embodiment of the present application, the second instance set includes the second game hosting instance and the second game instance, and the method of calling the platform instance to create the second instance set in the target process specifically includes: calling the platform instance to create the second game hosting instance in the target process; creating the second game instance in the target process; running the second game instance in the second game hosting instance, and running the second game hosting instance in the platform instance. For a specific example of this method, please refer to Fig.16 The running timing steps S1607 to S1609 in the flowchart are not described in detail here.

[0133] Step S1503: In the view corresponding to the game fusion page, the second game content generated during the operation of the second instance set is rendered and displayed together with the target application content, so as to adjust the first game content to the second game content in the game fusion page.

[0134] After creating the second instance set, in order to display the second game content, the present application can reuse the SurfaceTexture (later submitted to GLTextureView) that is not bound to the target application view (the target application view is the view corresponding to the game fusion page in the present application) to carry the rendering data. When the second game needs to be rendered to the target application view, the SurfaceTexture of the target application view (later submitted to GLTextureView) is bound to the rendering environment, and the target application view carries the rendering data, thereby rendering the second game content to the target application view and displaying the second game fusion page. For a specific example of this method, see Fig.16 Some corresponding steps in the embodiment are not repeated here. That is, an off-screen rendering view is running in the target process, and the off-screen rendering view is used to carry the rendering data of the second game content generated during the operation of the second instance set. During the game adjustment process, the off-screen rendering view converts the rendering data of the second game content into the external texture of the second game content, and submits the external texture of the second game content and the target application content to the view, that is, the second game content and the target application content can be displayed on the page.

[0135] based on Fig.15 The illustrated embodiment can realize opening and closing games multiple times within the same process, and decouple the game display screen from the target application display screen, so that the display screens of different games can be flexibly embedded in the target application, and the efficiency of switching games in the target application is also improved.

[0136] See also Fig.18 , is a schematic diagram of the structure of a page processing device provided in an embodiment of the present application. The page processing device includes: a display module 1801 and a processing module 1802. Among them:

[0137] Display module 1801, used to display a game fusion page, the game fusion page includes a first game content and a target application content, the first game content is the game display content when the first game is running;

[0138] The processing module 1802 is used to adjust the first game content to the second game content in the game fusion page when receiving a demand for adjusting the first game in the game fusion page, where the second game content is the game display content when the second game is running.

[0139] In a possible implementation manner, the first game is a game among multiple candidate games, and the display module 1801 is further used to display a multimedia fusion page, which includes multimedia content, target application content, and a game mode conversion entrance;

[0140] When the game mode conversion entrance is triggered, the game logos of multiple alternative games are displayed;

[0141] When the display module 1801 is used to display the game fusion page, specifically includes: when the game identifier of the first game is selected, the multimedia content in the multimedia fusion page is adjusted to the first game content, and the game fusion page is displayed.

[0142] In a possible implementation, both the game fusion page and the multimedia fusion page are native pages, the target application is a social application, and the target application content includes a first component of the target application and a historical session message stream related to the first component of the target application.

[0143] In a possible implementation, the first game is a game among multiple candidate games, the target application content includes a game switching entrance, and the display module 1801, when used to display the target fusion page, specifically includes:

[0144] Display the original page in the game mode, the original page includes the target application content, and the display position of the target application content in the original page is consistent with the display position in the game fusion page;

[0145] When the game switching entrance is triggered, the game logos of multiple alternative games are displayed;

[0146] When the game logo of the first game is selected, the first game content is displayed on the original page to display the game fusion page.

[0147] In a possible implementation, the second game is a game among multiple candidate games, the second game is different from the first game, the target application content includes a game switching entrance, and the display module 1801 is further used to:

[0148] Display module 1801, used for displaying game identifiers of multiple candidate games when the game switching entry is triggered;

[0149] The processing module 1802 is configured to receive a demand for adjusting the first game in the game fusion page when the game identifier of the second game is selected.

[0150] In a possible implementation, the first game and the second game are both games among multiple candidate games, and the processing module 1802 is further configured to:

[0151] When it is detected that there is a preset operation in the game fusion page, a demand for adjusting the first game in the game fusion page is received; or,

[0152] When it is detected that there is no trigger operation for the first game within the threshold time period, a demand for adjusting the first game in the game fusion page is received;

[0153] The second game is randomly selected from the remaining candidate games except the first game.

[0154] In a possible implementation, the game fusion page is provided with a return entry, and the display module 1801 is further used to:

[0155] When the return entry is triggered, hide the game fusion page and display the page widget;

[0156] When the page widget is triggered, the game fusion page is redisplayed.

[0157] In a possible implementation, while the game fusion page is hidden, the first game continues to run in the background, and when the game fusion page is redisplayed, the game fusion page displays the latest game display content during the running of the first game.

[0158] In a possible implementation, the page widget carries a page closing entry, and the display module 1801 is further used to close the page widget, the game fusion page, and the first game when the page closing entry is triggered.

[0159] In a possible implementation manner, the first game is a game among multiple candidate games, and the display module 1801, when used to display the game fusion page, specifically includes:

[0160] Displaying a game menu page, the game menu page including game logos of multiple alternative games;

[0161] When the game logo of the first game is selected, the game menu page is switched to the game fusion page, and the target application content includes the second component of the target application.

[0162] In one possible implementation, the second game is a game among multiple alternative games, and the display module 1801 is also used to: when the second game in the game menu page is selected, close the game fusion page and close the first game; display the second game fusion page, the second game fusion page includes the second game content and the second component of the target application, wherein the display position of the second component of the target application in the game fusion page is consistent with the display position in the second game fusion page.

[0163] In one possible implementation, the display module 1801 is also used to: when a request to close the first game in the game fusion page is received, close the first game in the game fusion page, and adjust the position of the target application content in the game fusion page so that the target application content fills the game fusion page.

[0164] In a possible implementation, the first game and the second game are running in the target process, and the processing module 1802 is used to adjust the game content of the first game to the game content of the second game in the game fusion page, specifically including:

[0165] The processing module 1802 is used to obtain a target process, where the target process runs a first instance set and a platform instance related to a first game;

[0166] Processing module 1802, used to destroy the first instance set and call the platform instance to create a second instance set in the target process;

[0167] Display module 1801 is used to render and display the game content of the second game generated during the operation of the second instance set and the target application content in the view corresponding to the game fusion page, so as to adjust the game content of the first game to the game content of the second game in the game fusion page.

[0168] In a possible implementation, the second instance set includes a second game instance and a second game hosting instance. When the processing module 1802 is used to call the platform instance to create the second instance set in the target process, it specifically includes:

[0169] Call the platform instance and create a second game hosting instance in the target process;

[0170] Create a second game instance in the target process;

[0171] Run the second game instance in the second game hosting instance, and run the second game hosting instance in the platform instance.

[0172] In a possible implementation, an off-screen rendering view is running in the target process, and the off-screen rendering view is used to carry the second game content generated during the running of the second instance set. When the display module 1801 is used to render and display the game content of the second game generated during the running of the second instance set and the target application content in the view corresponding to the game fusion page, specifically includes:

[0173] Submitting the second game content generated during the running of the second instance set from the off-screen rendering view to the view corresponding to the game fusion page;

[0174] In the view, the second game content and the target application content are rendered and displayed.

[0175] It should be noted that the functions of each functional module of the model processing device in the embodiment of the present application can be specifically implemented according to the method in the above-mentioned method embodiment. Its specific implementation process and beneficial effects can refer to the relevant description of the above-mentioned method embodiment, which will not be repeated here.

[0176] See also Fig.19 , is a structural diagram of a terminal device provided in an embodiment of the present application. The terminal device includes: a processor 1901, a storage device 1902 and a network interface 1903. Data can be exchanged between the processor 1901, the storage device 1902 and the network interface 1903. The storage device 1902 may include a volatile memory (volatile memory), such as a random-access memory (random-access memory, RAM); the storage device 1902 may also include a non-volatile memory (non-volatile memory), such as a flash memory (flash memory), a solid-state drive (solid-state drive, SSD), etc.; the storage device 1902 may also include a combination of the above-mentioned types of memory. The processor 1901 may be a central processing unit (CPU). In one embodiment, the storage device 1902 is used to store program instructions, and the processor 1901 may call the program instructions to perform the following operations:

[0177] Displaying a game fusion page, the game fusion page includes a first game content and a target application content, the first game content is a game display content when the first game is running;

[0178] When a demand for adjusting the first game in the game fusion page is received, the first game content is adjusted to the second game content in the game fusion page, and the second game content is the game display content when the second game is running.

[0179] In a possible implementation, the first game is a game among multiple candidate games, and the processor 1901 is further configured to: display a multimedia fusion page, the multimedia fusion page including multimedia content, target application content, and a game mode conversion entry;

[0180] When the game mode conversion entrance is triggered, the game logos of multiple alternative games are displayed;

[0181] Displaying the game fusion page includes: when the game identifier of the first game is selected, adjusting the multimedia content in the multimedia fusion page to the first game content, and displaying the game fusion page.

[0182] In a possible implementation, both the game fusion page and the multimedia fusion page are native pages, the target application is a social application, and the target application content includes a first component of the target application and a historical session message stream related to the first component of the target application.

[0183] In a possible implementation, the first game is a game among multiple candidate games, the target application content includes a game switching entrance, and the processor 1901, when used to display the target fusion page, specifically includes:

[0184] Display the original page in the game mode, the original page includes the target application content, and the display position of the target application content in the original page is consistent with the display position in the game fusion page;

[0185] When the game switching entrance is triggered, the game logos of multiple alternative games are displayed;

[0186] When the game logo of the first game is selected, the first game content is displayed on the original page to display the game fusion page.

[0187] In a possible implementation, the second game is a game among multiple candidate games, the second game is different from the first game, the target application content includes a game switching entrance, and the processor 1901 is further configured to:

[0188] When the game switching entrance is triggered, the game logos of multiple alternative games are displayed;

[0189] When the game identifier of the second game is selected, a demand for adjusting the first game in the game fusion page is received.

[0190] In a possible implementation manner, the first game and the second game are both games among multiple candidate games, and the processor 1901 is further configured to:

[0191] When it is detected that there is a preset operation in the game fusion page, a demand for adjusting the first game in the game fusion page is received; or,

[0192] When it is detected that there is no trigger operation for the first game within the threshold time period, a demand for adjusting the first game in the game fusion page is received;

[0193] The second game is randomly selected from the remaining candidate games except the first game.

[0194] In a possible implementation, the game fusion page is provided with a return entry, and the processor 1901 is further configured to:

[0195] When the return entry is triggered, hide the game fusion page and display the page widget;

[0196] When the page widget is triggered, the game fusion page is redisplayed.

[0197] In a possible implementation, while the game fusion page is hidden, the first game continues to run in the background, and when the game fusion page is redisplayed, the game fusion page displays the latest game display content during the running of the first game.

[0198] In a possible implementation, the page widget carries a page closing entry, and the processor 1901 is further configured to: when the page closing entry is triggered, close the page widget, the game fusion page, and the first game.

[0199] In a possible implementation manner, the first game is a game among multiple candidate games, and the display processor 1901, when used to display the game fusion page, specifically includes:

[0200] Displaying a game menu page, the game menu page including game logos of multiple alternative games;

[0201] When the game logo of the first game is selected, the game menu page is switched to the game fusion page, and the target application content includes the second component of the target application.

[0202] In one possible implementation, the second game is a game among multiple alternative games, and the processor 1901 is further used to: when the second game in the game menu page is selected, close the game fusion page and close the first game; display the second game fusion page, the second game fusion page including the second game content and the second component of the target application, wherein the display position of the second component of the target application in the game fusion page is consistent with the display position in the second game fusion page.

[0203] In one possible implementation, processor 1901 is further used to: when receiving a request to close a first game in a game fusion page, close the first game in the game fusion page, and adjust the position of the target application content in the game fusion page so that the target application content fills the game fusion page.

[0204] In a possible implementation, the first game and the second game are running in the target process, and the processor 1901 is used to adjust the game content of the first game to the game content of the second game in the game fusion page, specifically including:

[0205] Obtain a target process, where the target process runs a first instance set and a platform instance related to a first game;

[0206] Destroy the first instance set, and call the platform instance to create a second instance set in the target process;

[0207] In the view corresponding to the game fusion page, the game content of the second game generated during the operation of the second instance set is rendered and displayed together with the target application content, so as to adjust the game content of the first game to the game content of the second game in the game fusion page.

[0208] In a possible implementation, the second instance set includes a second game instance and a second game hosting instance. When the processor 1901 is used to call the platform instance to create the second instance set in the target process, the steps specifically include:

[0209] Call the platform instance and create a second game hosting instance in the target process;

[0210] Create a second game instance in the target process;

[0211] Run the second game instance in the second game hosting instance, and run the second game hosting instance in the platform instance.

[0212] In a possible implementation manner, an off-screen rendering view is running in the target process, and the off-screen rendering view is used to carry the second game content generated during the running of the second instance set;

[0213] When the processor 1901 is used to render and display the second game content generated during the running of the second instance set and the target application content in the view corresponding to the game fusion page, the method specifically includes:

[0214] Submitting the second game content generated during the running of the second instance set from the off-screen rendering view to the view corresponding to the game fusion page;

[0215] In the view, the second game content and the target application content are rendered and displayed.

[0216] It should be noted that, in a specific implementation, the processor 1901, storage device 1902 and network interface 1903 described in the embodiments of the present application can execute the methods in the above method embodiments. The specific implementation process and beneficial effects can refer to the relevant description of the above method embodiments, which will not be repeated here.

[0217] In addition, it should be pointed out here that: the embodiment of the present application also provides a computer-readable storage medium, and the computer-readable storage medium stores a computer program executed by the model processing device mentioned above, and the computer program includes program instructions. When the processor executes the above program instructions, it can execute the above Figure 2 , Fig.11 , Fig.15 The method in the corresponding embodiment, therefore, will not be repeated here. In addition, the description of the beneficial effects of the same method will not be repeated. For technical details not disclosed in the computer-readable storage medium embodiment involved in this application, please refer to the description of the method embodiment of this application. As an example, the program instructions can be deployed on a computer device, or executed on multiple computer devices located in one location, or, executed on multiple computer devices distributed in multiple locations and interconnected by a communication network, and multiple computer devices distributed in multiple locations and interconnected by a communication network can constitute a blockchain system.

[0218] According to one aspect of the present application, a computer program product or a computer program is provided, the computer program product or the computer program comprising computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device can perform the above Figure 2 , Fig.11 , Fig.15 The method in the corresponding embodiment will therefore not be described in detail here.

[0219] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the above-mentioned program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The above-mentioned storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0220] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A page processing method, characterized in that: Applied to a game social platform, the game social platform provides multiple games to run simultaneously using the same social system, the social system includes social friends and social components, the method includes: Displaying a game fusion page, the game fusion page including a first game content and a target application content, the first game content being the game display content when the first game is running; the game fusion page is a display page of the game social platform in a game mode, the target application is a social application, and the target application content includes a first component of the target application and a historical session information flow related to the first component of the target application; When a demand for adjusting the first game in the game fusion page is received, the first game content is adjusted to the second game content in the game fusion page, and the second game content is the game display content when running the second game, and the second game is different from the first game.

2. The method according to claim 1, characterized in that The first game is a game among a plurality of candidate games, and the method further includes: Displaying a multimedia fusion page, the multimedia fusion page including multimedia content, the target application content and a game mode conversion entrance; When the game mode conversion entry is triggered, displaying game identifiers of the multiple candidate games; The displaying of the game fusion page includes: when the game logo of the first game is selected, adjusting the multimedia content in the multimedia fusion page to the first game content to display the game fusion page.

3. The method according to claim 2, characterized in that The game fusion page and the multimedia fusion page are both native pages.

4. The method according to claim 1, characterized in that: The first game is a game among multiple candidate games, the target application content includes a game switching entrance, and the game fusion page displayed includes: Displaying an original page in the game mode, the original page including the target application content, and the display position of the target application content in the original page is consistent with the display position in the game fusion page; When the game switching entry is triggered, displaying game identifiers of the multiple candidate games; When the game logo of the first game is selected, the first game content is displayed on the original page to display the game fusion page.

5. The method according to claim 1, characterized in that The second game is a game among multiple candidate games, the target application content includes a game switching entrance, and the method further includes: When the game switching entry is triggered, displaying game identifiers of the multiple candidate games; When the game identifier of the second game is selected, a demand for adjusting the first game in the game fusion page is received.

6. The method according to claim 1, characterized in that The first game and the second game are both games among a plurality of candidate games, and the method further includes: When it is detected that there is a preset operation in the game fusion page, a demand for adjusting the first game in the game fusion page is received; or, When it is detected that there is no trigger operation for the first game within the threshold time period, a demand for adjusting the first game in the game fusion page is received; The second game is randomly selected from the remaining alternative games except the first game.

7. The method according to claim 1, characterized in that The game fusion page is provided with a return entry, and the method further comprises: When the return entry is triggered, the game fusion page is hidden and the page widget is displayed; When the page widget is triggered, the game fusion page is redisplayed.

8. The method according to claim 7, characterized in that While the game fusion page is hidden, the first game continues to run in the background, and when the game fusion page is redisplayed, the game fusion page displays the latest game display content during the running of the first game.

9. The method according to claim 7, characterized in that: The page widget carries a page closing entry, and the method further includes: when the page closing entry is triggered, closing the page widget, the game fusion page and the first game.

10. The method according to claim 1, characterized in that The first game is a game among a plurality of candidate games, and the game fusion page is displayed, including: Displaying a game menu page, wherein the game menu page includes game identifiers of the multiple candidate games; When the game logo of the first game is selected, the game menu page is switched to the game fusion page, and the target application content includes the second component of the target application.

11. The method according to claim 10, characterized in that The second game is a game among a plurality of candidate games, and the method further includes: When the second game in the game menu page is selected, the game fusion page and the first game are closed, and the second game fusion page is displayed, the second game fusion page including the second game content and the second component of the target application, wherein the display position of the second component of the target application in the game fusion page is consistent with the display position in the second game fusion page.

12. The method according to claim 1, characterized in that The method further comprises: When a demand to close the first game in the game fusion page is received, the first game is closed in the game fusion page, and the position of the target application content in the game fusion page is adjusted so that the target application content fills the game fusion page.

13. The method according to claim 1, characterized in that The first game and the second game are run in a target process, and in the game fusion page, adjusting the first game content to the second game content includes: Acquire the target process, where the target process runs a first instance set and a platform instance related to the first game; Destroying the first set of instances, and calling the platform instance to create a second set of instances in the target process; In the view corresponding to the game fusion page, the second game content generated during the operation of the second instance set is rendered and displayed together with the target application content, so as to adjust the first game content to the second game content within the game fusion page.

14. The method according to claim 13, characterized in that The second instance set includes a second game instance and a second game hosting instance, and calling the platform instance to create the second instance set in the target process includes: Calling the platform instance, and creating the second game hosting instance in the target process; Creating the second game instance in the target process; The second game instance is run in the second game hosting instance, and the second game hosting instance is run in the platform instance.

15. The method according to claim 13, characterized in that An off-screen rendering view is running in the target process, and the off-screen rendering view is used to carry the second game content generated during the running of the second instance set; The rendering and displaying, in the view corresponding to the game fusion page, the second game content generated during the running of the second instance set and the target application content, includes: Submitting the second game content generated during the running of the second instance set from the off-screen rendering view to the view corresponding to the game fusion page; In the view, the second game content and the target application content are rendered and displayed.

16. A page processing device, characterized in that: Applied to a game social platform, the game social platform provides multiple games to run while using the same social system, the social system includes social friends and social components, and the page processing device includes: A display module is used to display a game fusion page, wherein the game fusion page includes a first game content and a target application content, wherein the first game content is the game display content when the first game is running; the game fusion page is a display page of the game social platform in a game mode, wherein the target application is a social application, and the target application content includes a first component of the target application and a historical session information flow related to the first component of the target application; A processing module is used for, when receiving a demand for adjusting the first game in the game fusion page, adjusting the first game content to the second game content in the game fusion page, wherein the second game content is the game display content when running the second game, and the second game is different from the first game.

17. A terminal device, characterized in that: The terminal device comprises: a memory and a processor, wherein a page processing program is stored in the memory, and when the page processing program is executed by the processor, the method according to any one of claims 1 to 15 is implemented.

18. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions. When the program instructions are executed by a processor, the processor executes the method according to any one of claims 1 to 15.

19. A computer program product, characterized in that The computer program product comprises a computer program or a computer instruction, and when the computer program or the computer instruction is executed by a processor, the method according to any one of claims 1 to 15 is implemented.

Citation Information

Patent Citations

  • Cloud game data processing method and device, equipment and medium

    CN113453059A