Method, device and equipment for displaying messages in game and storage medium
By setting the first preset area of the graphical user interface in the game to integrate and display functional controls and messages, the cumbersome problems of players when processing a large amount of information are solved, and the game experience and immersion is improved.
Patent Information
- Application Number
- CN202310966892.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-02
- Publication Date
- 2025-02-14
AI Technical Summary
In existing large-scale multiplayer online games, players need to process a large amount of information during the game process, which makes game operations and cognition become cumbersome and affects the player's gaming experience.
By setting a first preset area in the graphical user interface, the functional controls are displayed, and after detecting the target game event, the corresponding functional controls and message content corresponding to the message type are displayed in the area according to the type of message content. When the user needs to query the specific message type, the user is allowed to expand the message content and display it in the second preset area.
By integrating scattered messages, players' information processing in the game is simplified, a clean game scene is provided, players' game experience efficiency is improved, the information load on the main interface is reduced, and immersiveness is enhanced.
Smart Images

Figure CN119425068A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of game technology, and in particular to a method, device, equipment and storage medium for displaying messages within a game. Background Art
[0002] With the development of the field of game technology, games have gradually occupied a large proportion in people's leisure and entertainment.
[0003] Games in the prior art include massively multiplayer online games, in which players can play games with other online players. The game may include the player's own single-player tasks, or multiplayer tasks that require collaboration with other players, or some scheduled copies, challenges, guild tasks, etc. A large amount of information is flooded in the player's game process and needs to be processed by the player.
[0004] Currently, massively multiplayer online games carry more and more system functions and information, which makes the game operation and cognition of players cumbersome during the game process, thus affecting the players' gaming experience. Summary of the invention
[0005] The purpose of this application is to provide a gaming method, device, equipment and storage medium to address the deficiencies in the above-mentioned prior art, so as to solve the problem in the prior art that game operations and cognition become cumbersome for players during the game, thereby affecting the game experience of players.
[0006] To achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:
[0007] In a first aspect, an embodiment of the present application provides a method for displaying a message in a game, wherein a graphical user interface is provided by a terminal, and a first function control is displayed in a first preset area of the graphical user interface. The method includes:
[0008] In response to detecting the message content triggered by the target game event in the game scene, displaying the first function control and the second function control corresponding to the first message type in the first preset area according to the first message type of the message content;
[0009] In response to a message expansion operation on a target function control in the first preset area, at least one message content of a second message type corresponding to the target function control is displayed in a second preset area on the graphical user interface.
[0010] In the second aspect, another embodiment of the present application provides a message display device within a game, the device comprising: a display module for responding to detection of message content triggered by a target game event in a game scene, and displaying a first function control and a second function control corresponding to the first message type in a first preset area according to a first message type of the message content; in response to a message expansion operation for the target function control in the first preset area, displaying at least one message content of the second message type corresponding to the target function control in a second preset area on the graphical user interface.
[0011] In the third aspect, another embodiment of the present application provides an in-game message display device, comprising: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the in-game message display device is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the steps of any method described in the first aspect above.
[0012] In a fourth aspect, another embodiment of the present application provides a storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of any method described in the first aspect are executed.
[0013] The beneficial effect of the present application is: by adopting the message display method in the game provided by the present application, the cumbersome messages in the graphical user interface are folded, the first function control is displayed in the first preset area of the graphical user interface, and in response to detecting the message content triggered by the target game event in the game scene, according to the first message type of the message content, the first function control and the second function control corresponding to the first message type are displayed in the first preset area; when the user expects to query a specific target message type, the message expansion operation of the target function control in the first preset area can be performed, and at least one message content of the second message type corresponding to the target function control is displayed in the second preset area on the graphical user interface; this method of displaying the function controls in the first preset area can provide players with a clean game scene by integrating scattered messages, improve the efficiency of the player's game experience, reduce the information load of the main interface, and enhance the sense of immersion. 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 will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0015] Figure 1A flowchart of a method for displaying messages in a game according to an embodiment of the present application;
[0016] Figure 2 A schematic diagram of an interface of a second preset area in a graphical user interface provided in an embodiment of the present application;
[0017] Figure 3 A schematic diagram of an interface of a second preset area in a graphical user interface provided by another embodiment of the present application;
[0018] Figure 4 A flowchart of a method for displaying messages in a game provided by another embodiment of the present application;
[0020] Figure 5 A schematic diagram of an interface of a second preset area in a graphical user interface provided by another embodiment of the present application;
[0021] Figure 6 A schematic diagram of an interface of a second preset area in a graphical user interface provided by another embodiment of the present application;
[0022] Figure 7 A flowchart of a method for displaying messages in a game provided by another embodiment of the present application;
[0023] Figure 8 A schematic diagram of an interface of a second preset area in a graphical user interface provided in an embodiment of the present application;
[0024] Fig. 9 A schematic diagram of the structure of a message display device in a game provided by an embodiment of the present application;
[0025] Fig.10 A schematic diagram of the structure of a message display device within a game provided in one embodiment of the present application. DETAILED DESCRIPTION
[0026] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in combination with the drawings 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.
[0027] The components of the embodiments of the present application generally described and shown in the drawings herein may be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0028] In one embodiment of the present application, the in-game message display method can be run on a local terminal device or a server. When the in-game message display method is run on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.
[0029] In an optional implementation, various cloud applications can be run under the cloud interaction system, such as cloud games. Taking cloud games as an example, cloud games refer to a game mode based on cloud computing. In the operation mode of cloud games, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the message display method in the game are completed on the cloud game server. The role of the client device is used for receiving and sending data and presenting the game screen. For example, the client device can be a display device with data transmission function close to the player side, such as a mobile terminal, a TV, a computer, a handheld computer, etc.; but the cloud game server in the cloud is used for information processing. When playing the game, the player operates the client device to send an operation instruction to the cloud game server. The cloud game server runs the game according to the operation instruction, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.
[0030] In an optional embodiment, taking a game as an example, a local terminal device stores a game program and is used to present a game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, the game program is downloaded and installed by an electronic device and run conventionally. The local terminal device may provide the graphical user interface to the player in a variety of ways, for example, it may be rendered and displayed on a display screen of the terminal, or provided to the player through a holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present a graphical user interface, the graphical user interface includes a game screen, and the processor is used to run the game, generate a graphical user interface, and control the display of the graphical user interface on the display screen.
[0031] In addition, the flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of order, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of this application, and can also remove one or more operations from the flowchart.
[0032] The following is an explanation of a method for displaying messages within a game provided by an embodiment of the present application in combination with a number of specific application examples. Figure 1 The following is a flowchart of a method for displaying messages in a game according to an embodiment of the present application. Figure 2This is a schematic diagram of an interface of a second preset area in a graphical user interface provided in an embodiment of the present application, such as Figure 2 As shown, a graphical user interface is provided by a terminal, and a first function control is displayed in a first preset area in the graphical user interface, such as Figure 1 As shown, the method includes:
[0033] S101: In response to detecting message content triggered by a target game event in a game scene, displaying a first function control and a second function control corresponding to the first message type in a first preset area according to a first message type of the message content.
[0034] Compared with the prior art, a first preset area is provided in the graphical user interface to display at least one function control. For example, a first function control (permanent function control) may be displayed by default in the first preset area, wherein the first function control may be, for example, a task system control, or the first function control may be different depending on the player's current game stage or game scene. For example, when the player is in a lobby game scene, the first function control may be, for example, a notification function control; when the player is in a copy scene, the first function control may be, for example, a gameplay function control; when the player is in a social scene, the first function control may be, for example, a social function control. It should be understood that the above embodiments are only exemplary descriptions, and the settings of specific function controls can be flexibly adjusted according to user needs. For example, the first function control may also be a setting function control, a reward collection function control, a judgment function control, a mall function control, a ranking function control, an equipment function control, etc., and is not limited to the above embodiments.
[0035] When there are other types of message contents, the function controls displayed in the first preset area will become two. Similarly, when there are other types of message contents, the function controls displayed in the first preset area will become three.
[0036] In some possible embodiments, in response to a message clearing operation on the target function control, the message content displayed in the second preset area is cancelled.
[0037] Alternatively, in response to the processing completion operation for each message content under the target function control, the message content displayed in the second preset area is cancelled.
[0038] It should be noted that in an embodiment of the present application, it is also necessary to determine whether the target function control is the first function control; if not, when the message content for the target function control displayed in the second preset area is canceled, the display of the target function control in the first preset area is canceled.
[0039] In an embodiment of the present application, after the message content is triggered, the second function control is determined according to the first message type of the message content, and the first function control and the second function control are displayed in the first preset area, so that multiple function controls are integrated in the first preset area, thereby integrating multiple function controls in the current graphical user interface, so that the user can intuitively view multiple function controls in the first preset area, reducing the cognitive requirements for players and improving the convenience of player operations; wherein, it should be understood that multiple function controls including the first function control, the second function control and the third function control may also be displayed in the first preset area, and the specific number of function controls displayed in the first preset area is related to the message type of the currently triggered message content and to the upper limit of the displayable function controls preset in the first preset area.
[0040] For example, in an embodiment of the present application, the upper limit of the function controls that can be displayed in the first preset area is 3. It should be understood that the above embodiment is only an exemplary description, and the number of function controls that can be displayed in the first preset area is not limited thereto, and can also be adjusted to 4 or 5 or even more according to user needs. It can be flexibly adjusted according to user needs and is not limited to the above embodiment.
[0041] It should be noted that in the prior art, various function controls are scattered and displayed at different positions on the graphical user interface. For example, the prior art may display a taskbar list on one side of the graphical user interface, a notice list displayed in the middle and upper position of the game, etc. In this display method, the positions of the various function controls are scattered, and the player needs to re-understand the game before he can clearly know the location and corresponding functions of each function control. In the embodiment of the present application, multiple function controls can be folded and displayed in the first preset area, which unifies the display positions of the function controls and concentrates the operation paths for players to view each function control, so that the scattered function controls in the graphical user interface in the prior art can be integrated in the first preset position and displayed in a preset display mode. That is, the method provided by the present application integrates the display positions of various function controls in the current graphical user interface through the setting of the first preset area, thereby reducing the player's operation cognition.
[0042] In an embodiment of the present application, the display order between the various function controls displayed in the first preset area can be, for example: according to the priority of each message type, the function controls corresponding to each message type are sequentially displayed in the first preset position; the display order between the specific icons can be flexibly adjusted according to user needs, for example, the display order of icons of each message type can be determined according to the time sequence of each message corresponding to the function control of each message type; in addition, the setting of message types can be integrated and classified according to user needs, and is not limited to the above-mentioned embodiments, and the specific message types can also be adjusted in accordance with the mechanism of the gameplay in the game or the specific circumstances of some function controls in the main interface, thereby reducing the learning and cognitive costs of players, and the setting of displaying each function control in the first preset area, in addition to the supported message types set initially, if there are new function controls or new message types in the future, the first preset area can also be expanded.
[0043] The way of setting the first preset area in the present application makes the graphical user interface of the game more tidy, and the player can observe the content of the game scene more in the graphical user interface, avoiding the problem that too much information in the game scene affects the player's operation and affects the player's gaming experience. In an embodiment of the present application, the first preset area can be set in the middle and upper position of the graphical user interface, for example; it should be understood that the above embodiment is only an exemplary description, and the specific setting position of the first preset area can also be in the middle position of the left side of the graphical user interface, the upper position of the left side or the lower position of the middle, the middle position of the right side, etc. The specific setting position and setting size of the first preset area can be flexibly adjusted according to user needs and the layout needs in the game scene, and are not limited to those given in the above embodiment; in addition, the content included in the preset type and the content included in the icon of the preset type can be flexibly adjusted according to user needs, and are not limited to those given in the above embodiment.
[0044] S102: In response to a message expansion operation on a target function control in a first preset area, at least one message content of a second message type corresponding to the target function control is displayed in a second preset area on a graphical user interface.
[0045] If the player needs to view the message under the display target function control, the player can select the display target function control from the multiple function controls in the first preset area to display at least one message under the display target function control.
[0046] In some possible embodiments, for example, at least one message of the second message type corresponding to the target function control can be displayed in a second preset area corresponding to the preset position corresponding to the target function control on the graphical user interface; or, a second preset area can be displayed at a preset position around the first preset area to display at least one message of the second message type corresponding to the target function control in the second preset area; it should be understood that the above embodiments are only exemplary descriptions, and after the target function control is specifically selected, the display method and display position of at least one message of the second message type corresponding to the target function control can be flexibly adjusted according to user needs, and are not limited to those given in the above embodiments.
[0047] By adopting the message display method in the game provided by the present application, the complicated messages in the graphical user interface are folded, the first function control is displayed in the first preset area of the graphical user interface, and in response to detecting the message content triggered by the target game event in the game scene, the first function control and the second function control corresponding to the first message type are displayed in the first preset area according to the first message type of the message content. When the user expects to query a specific target message type, the message expansion operation of the target function control in the first preset area can be performed, and at least one message content of the second message type corresponding to the target function control is displayed in the second preset area on the graphical user interface. This method of displaying the function controls in the first preset area can provide players with a clean game scene by integrating scattered messages, improve the player's game experience efficiency, reduce the information load of the main interface, and enhance the sense of immersion.
[0048] In an embodiment of the present application, after determining the first message type corresponding to the triggered message content, it can be determined whether the first message type is one of multiple preset message types. If so, it is within the first preset area; if not, according to the first message type, the message reminder method corresponding to the first message type is used for processing.
[0049] In an embodiment of the present application, the preset message type is, for example, to determine the corresponding game stage of the player based on the game progress and / or historical behavior records of the player in the game scene; and to determine multiple preset function types corresponding to the game stage based on the game stage.
[0050] For example, if the player is in the current novice game stage, the preset message types at this time may be, for example, novice guidance message type, reward collection message type and notification message type; if the player is currently in a copy task scene, the preset message types at this time may be, for example, notification message type, reward collection message type and task reminder message type; if the player is currently in a social scene in the game lobby, the preset message types may be, for example, friend message type, email message type and other message types; it should be understood that the above embodiments are only exemplary descriptions, and the settings of specific game scenes, game stages, and message types corresponding to each scene / stage can be flexibly adjusted according to user needs, and are not limited to those given in the above embodiments.
[0051] In one embodiment of the present application, the size of the first preset area is fixed, and the size of each function control displayed in the first preset area is determined according to the number of all function controls included in the first preset area, that is, the display size of each function control is determined according to the number of function controls included in the first preset area; according to the display size, the first function control and the second function control corresponding to the first message type are displayed in the first preset area.
[0052] In an embodiment of the present application, the number of messages that can be displayed in the second preset area is a first preset number. If the number of messages under the second message type corresponding to the target function control exceeds the first preset number, the first preset number of target message contents are determined from the multiple message contents under the second message type; the other messages except the target message contents in the multiple message contents under the second message type are folded, and at least one target message content and the folded number of message contents are displayed in the second preset area.
[0053] In an embodiment of the present application, for example, only three lines of messages can be displayed in the second preset area at a time, wherein the three lines of messages respectively include: a message type and each message content, that is, after the message type is displayed, only two lines of message content can be displayed, if the number of messages under the current second message type is 7, which exceeds the preset 2, then two target message contents are determined from the 7 messages under the second message type, and the specific message contents of the two target message contents are displayed under the identifier of the second message type, and the number of folded messages is displayed on the right side of the identifier of the second message type; Figure 3 This is a schematic diagram of an interface of a preset message reminder list in a graphical user interface provided by another embodiment of the present application, such as Figure 3As shown, novice guidance messages are currently displayed in the second preset area. In addition to the 2 novice guidance messages displayed in the second preset area, there are 5 novice guidance messages that are folded. It should be understood that the above embodiment is only an exemplary description. The first preset number of messages that can be displayed in the specific second preset area can be flexibly adjusted according to user needs, and can also be 4 rows, 5 rows or even more rows, and is not limited to the above embodiment.
[0054] A method for determining the target message content may, for example, be to sort each message according to the time information of each message under the second message type, and determine the first preset number of message contents with an earlier time (i.e., close to the current time) as the target message content; it should be understood that the above method for determining the target message content is only an exemplary description, and the specific method for determining the target message content can be flexibly adjusted according to user needs, for example, it can also be determined according to the priority of each message content under the target message type, or determined in descending order of time, etc. The specific method for determining the target message content can be flexibly adjusted according to user needs, and is not limited to the above embodiment.
[0055] If the player needs to view the folded message content, he can click the logo of the second message type to trigger the display of the folded message content. The display method of the folded message content can, for example, expand the second preset area for display, or expand the folded message content on one side of the second preset area for display. It should be understood that the above embodiment is only an exemplary description, and the specific expansion method of the folded message content can be flexibly reminded according to user needs, and is not limited to the above embodiment.
[0056] Optionally, based on the above embodiment, the embodiment of the present application may also provide a method for displaying messages within a game. The implementation process of the above method is illustrated below in conjunction with the accompanying drawings. Figure 4 A flowchart of a method for displaying messages in a game provided by another embodiment of the present application, wherein the plurality of preset message types include: a notification message type, such as Figure 4 As shown, the method may also include:
[0057] S111: Determine the game stage corresponding to the player according to the game progress and / or historical behavior record of the player in the game scene.
[0058] For example, the game stage corresponding to the player can be determined according to the level of the controlled virtual character in the game. For example, when the controlled virtual character is level 1-30, the game stage corresponds to the novice period, that is, the player is a novice player in the current game stage, and the message under the notification message type will default to the novice player recommendation [Novice Guide and Game Tutorial] related information to help the player learn and grow quickly; if the controlled virtual character is level 30-50, the game stage corresponds to the mid-game, and the message under the notification message type will default to the player recommendation of popular activities in the game. The player selects the corresponding game according to the recommended activity information. Alternatively, players can subscribe to some activities by themselves. For example, if a player subscribes to a challenge activity in the game, the message under the notification message type will be displayed by default within a period of time before the challenge activity starts, through a message prompt, to prompt the player to pay attention to the time and participate in the challenge activity. It should be understood that the above embodiments are only exemplary, and the stage content included in the specific game stage and the message type included in the notification message type can be flexibly adjusted according to user needs, and are not limited to the above embodiments.
[0059] S112: Determine at least one message information under the notification message type according to the game stage.
[0060] During the player's game process, it will be determined according to the game stage whether there is message content under the notification message type. If so, the notification function control corresponding to the notification message type will be displayed in the first preset area. After the player clicks the notification function control, the display of the second preset area will be triggered, and the message information under the notification message type will be displayed in the second preset area.
[0061] In an embodiment of the present application, a notification message type may, for example, include multiple sub-message types: an active message type and other message types. The method provided by the present application may also include: if the sub-message types under the notification message type include active message contents corresponding to multiple active message types of the active message type and other message contents corresponding to at least one other message type, then at least one active message content is displayed in a first sub-area in the second preset area, and at least one other sub-message content is displayed in a second sub-area in the second preset area.
[0062] The first sub-area is above the second sub-area, and the number of message contents that can be displayed in the first sub-area is a second preset number. Figure 5 This is a schematic diagram of an interface of a second preset area in a graphical user interface provided in another embodiment of the present application, such as Figure 5As shown in (a), if the number of active message contents is greater than the second preset number, multiple active message contents are displayed in a carousel manner. That is, if the current notification message type only includes active message contents corresponding to the active message type, the active message type can be displayed at the top and in a carousel manner (supporting players to switch by manually sliding left and right), and if the player clicks on the target active message content, the current game interface will jump to the game interface corresponding to the target active message content.
[0063] If there are multiple messages under other message types, the multiple messages under other message types are folded and displayed in the second sub-area; that is, Figure 5 As shown in (b), if the current notification message type includes an active message type and a novice guide message type, multiple active message contents are folded and pinned to the top of the first pre-sub-area and displayed in a carousel manner, and the novice guide message content is displayed in the second sub-area; or, if the novice guide message content is large, the novice guide message content can be folded, and only the target message content among the multiple novice guide message contents and the total number of messages of all novice guide message contents are displayed in the second sub-area. If the player needs to view the complete novice guide message content, the display of the complete novice guide message content can be triggered by clicking the total number of novice guide message messages.
[0064] Figure 6 This is a schematic diagram of an interface of a second preset area in a graphical user interface provided in another embodiment of the present application, such as Figure 6 As shown, in other possible embodiments, for example, there are too many messages stored in a notification message type, which is greater than a preset threshold, for example, there are more than ten notification messages, or there are too many sub-message types included in a notification message type, for example, a notification message type includes more than three types of sub-message types, then in response to a selection operation on an icon of the notification message type, a notification list can be displayed on a graphical user interface, wherein the notification list displays the total number of notification messages, the sub-message type name of each sub-message type under each notification message type, and the corresponding number of message contents.
[0065] When the player selects the function control corresponding to the notification message type in the second preset area, that is, in response to the selection operation of the notification function control, a notification list is displayed on one side of the first preset area. The notification list displays the total number of notification message types, the name of each sub-message type and the number of corresponding message contents under each message type.
[0066] like Figure 6As shown, the current notification list includes a total of 20 notification message contents under the current notification message type, among which the current notification message type includes: 8 messages of novice teaching guidance type, 6 messages of main task guidance, 4 messages of new friend application, and 2 messages of new email information. Players can select the Go to View control on the right side of the names of multiple sub-message types under the notification message type to trigger the viewing of specific message content; in addition, the notification list also includes a one-key clearing control on the right side of the total number of notification message contents. If the player clicks the one-key clearing control, all the current 20 unread notification message contents will be cleared, and the cleared message content will no longer be displayed.
[0067] For example, after the player clicks the go to view control corresponding to the novice teaching guidance, it triggers the viewing of 8 specific messages under the novice teaching guidance message type. The viewing method can, for example, switch to the message display under the teaching guidance message type in the current notification list, or it can also be a message display interface of the novice teaching guidance message type displayed on one side of the current notification list. The display method of the specific message content can be flexibly adjusted according to user needs, and is not limited to the above embodiments.
[0068] In the embodiment of the present application, the function controls displayed in the first preset area are dynamically changed, and the displayed function controls will be changed in real time according to the current game progress and experience stage of the player, and the message content displayed in the second preset area is also dynamically changed. For example, if the player is currently performing a game task, the second preset area will automatically push messages related to the task, such as task tracking messages or task reward messages, etc.; or according to the type of activity currently participated by the player and the number of people participating in the activity, messages related to the activity, such as activity registration messages and activity reward messages, etc., can be pushed to the player; or according to the role type and level of the player's current virtual character, messages related to the virtual character, such as skill upgrade information or activity reward messages, etc., can be pushed; or, according to the player's current game time and the online time of the game, messages related to the current time period, such as copy challenge messages or limited-time activity messages, etc. can be pushed; or, according to the player's current social relationship and social activity, messages related to the social relationship, such as friend invitation messages or guild messages, etc., can be pushed; it should be understood that the above embodiments are only exemplary descriptions, and the specific push message scenarios and push message types can be flexibly adjusted according to user needs and are not limited to the above embodiments.
[0069] Optionally, based on the above embodiment, the embodiment of the present application may also provide a method for displaying messages within a game. The implementation process of the above method is illustrated below in conjunction with the accompanying drawings. Figure 7 A flowchart of a method for displaying messages in a game provided by another embodiment of the present application is shown as follows: Figure 7 As shown, the method may also include:
[0070] S121: In response to a deletion trigger operation for at least one message content, a deletion control is displayed at a preset position of each message content.
[0071] Figure 8 This is a schematic diagram of an interface of a second preset area in a graphical user interface provided in an embodiment of the present application, such as Figure 8 As shown, for example, when the player long presses any message in the second preset area, a delete operation for the message will be triggered. At this time, a delete button will appear in the upper right corner of each message in the second preset area. When the player clicks the corresponding delete button, the delete operation of the corresponding message will be triggered. When the player clicks other blank spaces except the delete button, the operation of canceling the display of the delete button will be triggered. The delete button in the upper right corner of each message will disappear, and each message will return to its normal display state.
[0072] S122: In response to a determination operation on a delete control of a target message, canceling display of the target message in a second preset area.
[0073] In an embodiment of the present application, if the function controls displayed in the first preset area include: reward function controls, then after the game tasks corresponding to the reward message content are completed by the players, the display of the reward function controls in the first preset area is cancelled.
[0074] For example, if the player currently has a task to be performed, the first preset area includes a task-type function control. If the task to be performed is completed, the display of the task-type function control in the first preset area is cancelled; or, if the player currently has a reward to be collected, the first preset area includes a reward-type function control. If the reward to be collected is completed, the display of the reward-type function control in the first preset area is cancelled.
[0075] In addition, at least one preset function control may, for example, also include: a judgment-type function control, and the method also includes: if each message in the judgment-type message content does not meet the corresponding judgment condition, then canceling the display of the judgment-type function control in the first preset area; for example, when there are other game players within the preset range around the player, the operation of adding friends may be triggered. At this time, the first preset area may include an add friend-type function control, but if there are no other game players within the preset range around the player, then the add friend-type function control will not be displayed in the first preset area, that is, canceling the display of the add friend-type function control in the first preset area.
[0076] In an embodiment of the present application, the graphical user interface also includes multiple function controls, which may be scattered at different positions of the graphical user interface. If a player needs to perform corresponding function operations, a display window corresponding to the target function control can be displayed on the graphical user interface in response to a selection operation on a target function control among the multiple function controls. The display window is used to display at least one message corresponding to the target function control.
[0077] That is to say, in an embodiment of the present application, in addition to being able to select a target function control in the first preset area and view the corresponding message content under the target function control, the player can also determine the target control through a selection operation in the graphical user interface and trigger the display of a display window corresponding to the target function control to view at least one message content corresponding to the target function control. That is, the present application provides a first preset area so that the player can conveniently view the message content under the function control without affecting the traditional viewing and display method of the function control, thereby improving the flexibility of the player's operation.
[0078] By adopting the in-game message display method provided by the present application, it is possible to integrate pushed messages and some system functions into a first preset area to reduce the information load of the game interface, so that players can focus more on the game, thereby enhancing the player's game immersion. In addition, the first preset area can also push the most suitable message content to the player based on the player's current game content and game progress, thereby improving the player's satisfaction and game retention rate.
[0079] The following is an explanation of the in-game message display device provided by the present application in conjunction with the accompanying drawings. The in-game message display device can execute the above Figure 1-Figure 8 The specific implementation and beneficial effects of the message display method in any game are as mentioned above and will not be repeated below.
[0080] Fig. 9 A schematic diagram of the structure of a message display device in a game provided by an embodiment of the present application, such as Fig. 9 As shown, the device includes: a display module 201, which is used to respond to the detection of message content triggered by a target game event in a game scene, and display a first function control and a second function control corresponding to the first message type in a first preset area according to a first message type of the message content; in response to a message expansion operation for the target function control in the first preset area, display at least one message content of the second message type corresponding to the target function control in the second preset area on the graphical user interface.
[0081] Optionally, the display module 201 is specifically configured to determine whether the first message type is one of a plurality of preset message types; if so, displaying a first function control and a second function control corresponding to the first message type in a first preset area.
[0082] like Fig. 9 As shown, the device further includes: a determination module 202, which is used to, if not, process the message according to the first message type using a message reminder method corresponding to the first message type.
[0083] Optionally, the determination module 202 is specifically used to determine the game stage corresponding to the player according to the game progress and / or historical behavior record of the player in the game scene;
[0084] The display module 201 is specifically used to determine a plurality of preset function types corresponding to a game stage according to the game stage.
[0085] Optionally, the display module 201 is specifically configured to cancel the message content displayed in the second preset area in response to a message clearing operation on the target function control.
[0086] Optionally, the determination module 202 is specifically configured to determine whether the target functional control is a first functional control.
[0087] The display module 201 is specifically configured to cancel the display of the target function control in the first preset area if no.
[0088] Optionally, the determination module 202 is specifically configured to determine the display size of each functional control according to the number of functional controls included in the first preset area;
[0089] The display module 201 is specifically configured to display a first function control and a second function control corresponding to a first message type in a first preset area according to a display size.
[0090] Optionally, the determination module 202 is specifically configured to determine a first preset number of target message contents from a plurality of message contents under the second message type if the number of messages under the second message type corresponding to the target function control exceeds a first preset number;
[0091] The display module 201 is specifically configured to fold other message contents except the target message content among multiple message contents under the target function type, and display at least one target message content and the number of folded message contents in a second preset area.
[0092] Optionally, the plurality of preset message types include a notification message type, and the determination module 202 is specifically used to determine the game stage corresponding to the player according to the game progress and / or historical behavior records of the player; and to determine at least one message information under the notification message type according to the game stage.
[0093] Optionally, multiple preset message types include a notification message type, and the display module 201 is specifically used to display at least one active message content in a first sub-area in the second preset area and at least one other sub-message content in a second sub-area in the second preset area if the sub-message type under the notification message type includes at least one active message content corresponding to an active message type and at least one other message content corresponding to another message type.
[0094] Optionally, the first sub-area is above the second sub-area, and the number of message contents that can be displayed in the first sub-area is a second preset number. The display module 201 is specifically used to display multiple active message contents in a carousel manner if the number of active message contents is greater than the second preset number.
[0095] Optionally, the graphical user interface further includes: a plurality of function controls; a display module 201, specifically used to display a display window corresponding to the target function control on the graphical user interface in response to a selection operation on a target function control among the plurality of function controls, wherein the display window is used to display at least one message corresponding to the target function control. Optionally, the display module 201 is specifically used to display a delete control at a preset position of each message content in response to a delete trigger operation on at least one message content; and to cancel the display of the target message in the second preset area in response to a confirmation operation on the delete control on the target message.
[0096] Optionally, the display module 201 is specifically used to display a notification list on a graphical user interface in response to a selection operation on an icon of a notification message type, wherein the notification list displays the total number of notification messages, the sub-message type names of each sub-message type under each notification message type, and the corresponding number of message contents.
[0097] The above-mentioned device is used to execute the method provided by the aforementioned embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0098] The above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASICs), or one or more microprocessors, or one or more field programmable gate arrays (FPGAs). For another example, when a module is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0099] Fig.10 This is a schematic diagram of the structure of an in-game message display device provided in one embodiment of the present application. The in-game message display device can be integrated into a terminal device or a chip of a terminal device.
[0100] like Fig.10 As shown, the message display device within the game includes: a processor 501, a bus 502 and a storage medium 503.
[0101] The processor 501 is used to store programs. The processor 501 calls the program stored in the storage medium 503 to execute the above Figure 1-Figure 8 Corresponding method embodiments.
[0102] Specifically, the processor 501 executes the above-mentioned game data processing method including the following steps:
[0103] In response to detecting the message content triggered by the target game event in the game scene, displaying the first function control and the second function control corresponding to the first message type in the first preset area according to the first message type of the message content;
[0104] In response to a message expansion operation on a target function control in the first preset area, at least one message content of a second message type corresponding to the target function control is displayed in a second preset area on the graphical user interface.
[0105] In some embodiments, the processor 501 performs the step of displaying the first function control and the second function control corresponding to the first message type in the first preset area, which may include:
[0106] Determining whether the first message type is one of a plurality of preset message types;
[0107] If so, the first function control and a second function control corresponding to the first message type are displayed in the first preset area.
[0108] In some embodiments, the processor 501 may further execute: if not, then according to the first message type, use a message reminder method corresponding to the first message type for processing.
[0109] In some embodiments, before the processor 501 executes the step of determining whether the first message type is one of multiple preset message types, the process may include:
[0110] Determining the game stage corresponding to the player according to the game progress and / or historical behavior record of the player in the game scene;
[0111] According to the game stage, a plurality of preset function types corresponding to the game stage are determined.
[0112] In some embodiments, the processor 501 may also execute, in response to a message clearing operation for the target function control, canceling the message content displayed in the second preset area.
[0113] In some embodiments, the processor 501 may also execute, in response to a processing completion operation for each of the message contents under the target function control, canceling the message content displayed in the second preset area.
[0114] In some embodiments, the processor 501 may also determine whether the target function control is the first function control;
[0115] If not, cancel the display of the target function control in the first preset area.
[0116] In some embodiments, the processor 501 performs the step of displaying the first function control and the second function control corresponding to the first message type in the first preset area, which may include:
[0117] Determining the display size of each of the function controls according to the number of the function controls included in the first preset area;
[0118] The first function control and a second function control corresponding to the first message type are displayed in the first preset area according to the display size.
[0119] In some embodiments, the number of message contents that can be displayed in the second preset area is a first preset number, and the processor 501 may further execute if the number of messages under the second message type corresponding to the target function control exceeds the first preset number, then determine the first preset number of target message contents from multiple message contents under the second message type;
[0120] The other message contents except the target message content among the multiple message contents under the second message type are folded, and at least one target message content and the number of folded message contents are displayed in the second preset area.
[0121] In some embodiments, the plurality of preset message types include a notification message type, and the processor 501 may further determine the game stage corresponding to the player according to the game progress and / or historical behavior record of the player;
[0122] At least one message information under the notification message type is determined according to the game stage.
[0123] In some embodiments, the multiple preset message types include a notification message type, and the sub-message types under the notification message type include: an active message type and other message types. The processor 501 may also execute if the sub-message types under the notification message type include at least one active message content corresponding to the active message type, and at least one other message content corresponding to the other message type, then display the at least one active message content in a first sub-area in the second preset area, and display the at least one other sub-message content in a second sub-area in the second preset area.
[0124] In some embodiments, the processor 501 executes the step of: the first sub-region is above the second sub-region, the number of message contents that can be displayed in the first sub-region is a second preset number, and the step of displaying the at least one active message content in the first sub-region of the second preset region may include:
[0125] If the number of the activity message contents is greater than the second preset number, the plurality of activity message contents are displayed in a carousel manner.
[0126] In some embodiments, the graphical user interface also includes: multiple function controls; the processor 501 can also execute a display window corresponding to the target function control on the graphical user interface in response to a selection operation on a target function control among the multiple function controls, and the display window is used to display at least one message corresponding to the target function control.
[0127] In some embodiments, the processor 501 may further execute, in response to a deletion trigger operation for the at least one message content, displaying a deletion control at a preset position of each of the message contents;
[0128] In response to a determination operation on a delete control for a target message, display of the target message is canceled in the second preset area.
[0129] In some embodiments, the processor 501 can also execute a notification list on the graphical user interface in response to a selection operation on an icon of a notification message type, wherein the notification list displays the total number of notification messages, the sub-message type name of each sub-message type under each notification message type, and the corresponding message content quantity.
[0130] Optionally, the present application also provides a program product, such as a storage medium, on which a computer program is stored, including a program that, when executed by a processor, executes an embodiment corresponding to the above method.
[0131] Specifically, the processor executes the above-mentioned game data processing method including the following steps:
[0132] In response to detecting the message content triggered by the target game event in the game scene, displaying the first function control and the second function control corresponding to the first message type in the first preset area according to the first message type of the message content;
[0133] In response to a message expansion operation on a target function control in the first preset area, at least one message content of a second message type corresponding to the target function control is displayed in a second preset area on the graphical user interface.
[0134] In some embodiments, the processor performs the step of displaying the first function control and the second function control corresponding to the first message type in the first preset area, which may include:
[0135] Determining whether the first message type is one of a plurality of preset message types;
[0136] If so, the first function control and a second function control corresponding to the first message type are displayed in the first preset area.
[0137] In some embodiments, the processor may further execute: if not, then according to the first message type, use a message reminder method corresponding to the first message type for processing.
[0138] In some embodiments, before the processor performs the step of determining whether the first message type is one of a plurality of preset message types, the process may include:
[0139] Determining the game stage corresponding to the player according to the game progress and / or historical behavior record of the player in the game scene;
[0140] According to the game stage, a plurality of preset function types corresponding to the game stage are determined.
[0141] In some embodiments, the processor may further execute, in response to a message clearing operation for the target function control, canceling the message content displayed in the second preset area.
[0142] In some embodiments, the processor may further execute, in response to a processing completion operation for each of the message contents under the target function control, canceling the message content displayed in the second preset area.
[0143] In some embodiments, the processor may further execute determining whether the target functional control is the first functional control;
[0144] If not, cancel the display of the target function control in the first preset area.
[0145] In some embodiments, the processor performs the step of displaying the first function control and the second function control corresponding to the first message type in the first preset area, which may include:
[0146] Determining the display size of each of the function controls according to the number of the function controls included in the first preset area;
[0147] The first function control and a second function control corresponding to the first message type are displayed in the first preset area according to the display size.
[0148] In some embodiments, the number of message contents that can be displayed in the second preset area is a first preset number, and the processor may further execute if the number of messages under the second message type corresponding to the target function control exceeds the first preset number, then determine the first preset number of target message contents from multiple message contents under the second message type;
[0149] The other message contents except the target message content among the multiple message contents under the second message type are folded, and at least one target message content and the number of folded message contents are displayed in the second preset area.
[0150] In some embodiments, the plurality of preset message types include a notification message type, and the processor may further determine a game stage corresponding to the player according to the game progress and / or historical behavior record of the player;
[0151] At least one message information under the notification message type is determined according to the game stage.
[0152] In some embodiments, the multiple preset message types include a notification message type, and the sub-message types under the notification message type include: an active message type and other message types. The processor may also execute if the sub-message types under the notification message type include at least one active message content corresponding to the active message type, and at least one other message content corresponding to the other message type, then display the at least one active message content in a first sub-area in the second preset area, and display the at least one other sub-message content in a second sub-area in the second preset area.
[0153] In some embodiments, the processor executes the step of: the first sub-region is above the second sub-region, the number of message contents that can be displayed in the first sub-region is a second preset number, and the step of displaying the at least one active message content in the first sub-region of the second preset region may include:
[0154] If the number of the activity message contents is greater than the second preset number, the plurality of activity message contents are displayed in a carousel manner.
[0155] In some embodiments, the graphical user interface also includes: multiple function controls; the processor can also execute a display window corresponding to the target function control on the graphical user interface in response to a selection operation on a target function control among the multiple function controls, wherein the display window is used to display at least one message corresponding to the target function control.
[0156] In some embodiments, the processor may further execute, in response to a deletion trigger operation for the at least one message content, displaying a deletion control at a preset position of each of the message contents;
[0157] In response to a determination operation on a delete control for a target message, display of the target message is canceled in the second preset area.
[0158] In some embodiments, the processor may also execute a notification list on the graphical user interface in response to a selection operation on an icon of a notification message type, wherein the notification list displays the total number of notification messages, the sub-message type name of each sub-message type under each notification message type, and the corresponding message content quantity.
[0159] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0160] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0161] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0162] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to perform some steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (English: Read-Only Memory, abbreviated: ROM), random access memory (English: Random Access Memory, abbreviated: RAM), disk or optical disk and other media that can store program codes.
Claims
1. A method for displaying messages in a game, characterized in that: A graphical user interface is provided by a terminal, wherein a first function control is displayed in a first preset area of the graphical user interface, and the method includes: In response to detecting the message content triggered by the target game event in the game scene, displaying the first function control and the second function control corresponding to the first message type in the first preset area according to the first message type of the message content; In response to a message expansion operation on a target function control in the first preset area, at least one message content of a second message type corresponding to the target function control is displayed in a second preset area on the graphical user interface.
2. The method according to claim 1, characterized in that The displaying the first function control and the second function control corresponding to the first message type in the first preset area includes: Determining whether the first message type is one of a plurality of preset message types; If so, the first function control and a second function control corresponding to the first message type are displayed in the first preset area.
3. The method according to claim 2, characterized in that The method further comprises: If not, the first message type is processed using a message reminder method corresponding to the first message type.
4. The method according to claim 2, characterized in that Before determining whether the first message type is one of a plurality of preset message types, the method further includes: Determining the game stage corresponding to the player according to the game progress and / or historical behavior record of the player in the game scene; According to the game stage, a plurality of preset function types corresponding to the game stage are determined.
5. The method according to claim 1, characterized in that The method further comprises: In response to a message clearing operation on the target function control, the message content displayed in the second preset area is cancelled.
6. The method according to claim 1, characterized in that The method further comprises: In response to the processing completion operation for each of the message contents under the target function control, the message content displayed in the second preset area is cancelled.
7. The method according to claim 5 or 6, characterized in that The method further comprises: Determining whether the target function control is the first function control; If not, cancel the display of the target function control in the first preset area.
8. The method according to claim 1, characterized in that The displaying the first function control and the second function control corresponding to the first message type in the first preset area includes: Determining the display size of each of the function controls according to the number of the function controls included in the first preset area; The first function control and a second function control corresponding to the first message type are displayed in the first preset area according to the display size.
9. The method according to claim 1, characterized in that The number of message contents that can be displayed in the second preset area is a first preset number, and the method further includes: If the number of messages of the second message type corresponding to the target function control exceeds the first preset number, determining the first preset number of target message contents from a plurality of message contents of the second message type; The other message contents except the target message content among the multiple message contents under the second message type are folded, and at least one target message content and the number of folded message contents are displayed in the second preset area.
10. The method according to claim 2, characterized in that The plurality of preset message types include a notification message type, and the method further includes: Determine the game stage corresponding to the player according to the game progress and / or historical behavior records of the player; At least one message information under the notification message type is determined according to the game stage.
11. The method according to claim 10, characterized in that The multiple preset message types include a notification message type, and the sub-message types under the notification message type include: an activity message type and other message types. The method further includes: If the sub-message type under the notification message type includes at least one active message content corresponding to the active message type and at least one other message content corresponding to the other message type, the at least one active message content is displayed in the first sub-area of the second preset area, and the at least one other sub-message content is displayed in the second sub-area of the second preset area.
12. The method according to claim 11, characterized in that The first sub-region is above the second sub-region, the number of message contents that can be displayed in the first sub-region is a second preset number, and the displaying of the at least one active message content in the first sub-region of the second preset region includes: If the number of the activity message contents is greater than the second preset number, the plurality of activity message contents are displayed in a carousel manner.
13. The method according to claim 1, characterized in that The graphical user interface also includes: a plurality of functional controls; the method also includes: In response to a selection operation on a target function control among the multiple function controls, a display window corresponding to the target function control is displayed on the graphical user interface, wherein the display window is used to display at least one message corresponding to the target function control.
14. The method according to claim 1, wherein: The method further comprises: In response to a deletion trigger operation for the at least one message content, displaying a deletion control at a preset position of each of the message contents; In response to a determination operation on a delete control for a target message, display of the target message is canceled in the second preset area.
15. The method according to claim 11, characterized in that The method further comprises: In response to selecting an icon for a notification message type, a notification list is displayed on the graphical user interface, wherein the notification list displays the total number of notification messages, the sub-message type names of each sub-message type under each notification message type, and the corresponding number of message contents.
16. A message display device in a game, characterized in that: The device includes: a display module, which is used to respond to the detection of message content triggered by a target game event in a game scene, and display a first function control and a second function control corresponding to the first message type in a first preset area according to a first message type of the message content; in response to a message expansion operation for the target function control in the first preset area, display at least one message content of the second message type corresponding to the target function control in a second preset area on a graphical user interface.
17. A message display device in a game, characterized in that: The device includes: a processor, a storage medium and a bus, the storage medium stores machine-readable instructions executable by the processor, when the message display device within the game is running, the processor and the storage medium communicate through the bus, and the processor executes the machine-readable instructions to execute the method described in any one of claims 1-15 above.
18. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 15 is executed.