Display method of game ranking, storage medium, and electronic device
By estimating match rankings in virtual games and utilizing the minimum battle attribute values of surviving accounts, the problem of untimely display of match rankings in virtual games has been solved, achieving more timely and accurate ranking displays.
Patent Information
- Application Number
- CN202210521942.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-13
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2042-05-13
AI Technical Summary
In virtual game scenarios, existing technologies cannot display match rankings in a timely manner, especially in multiplayer turn-based games. Players who are eliminated early have to wait for other players to be eliminated or for multiple rounds to end before they can determine their match rankings, resulting in untimely and unreliable display.
The client runs multiple virtual accounts to target virtual tasks. When the target virtual account reaches the end condition of the game, it obtains the battle attribute values of other virtual accounts, uses these attribute values to estimate the target game ranking, and triggers a prompt message to display the game ranking when the end condition of the game is reached. It uses the minimum battle attribute value of the account that has not yet been eliminated to improve the accuracy of the estimation.
It enables more accurate display of match rankings before all virtual tasks are completed, improving the timeliness and reliability of the display, allowing players to know their rankings in advance.
Smart Images

Figure CN117085337B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computers, and more specifically, to a method, apparatus, storage medium, and electronic device for displaying game rankings. Background Technology
[0002] In virtual game scenarios, players' rankings are usually only displayed after all other players' matches have ended. However, this method of displaying rankings is not timely enough, especially in some multiplayer turn-based virtual game scenarios.
[0003] For example, if a player is eliminated early in the current round, they must wait until other players are also eliminated, or until all rounds of the virtual game have ended, before they can determine their ranking. Therefore, there is a problem with the ranking not being displayed in a timely manner.
[0004] There is currently no effective solution to the above problems. Summary of the Invention
[0005] This application provides a method, apparatus, storage medium, and electronic device for displaying game rankings, to at least solve the technical problem of untimely display of game rankings.
[0006] According to one aspect of the embodiments of this application, a method for displaying match rankings is provided, comprising: running a target virtual task involving at least three virtual accounts in a client; during the operation of the target virtual task, when a target virtual account using the client reaches the match end condition, obtaining the battle attribute value of each of the at least three virtual accounts excluding the target virtual account, wherein the battle attribute value of each of the at least three virtual accounts excluding the target virtual account includes the target battle attribute value of the virtual accounts among the at least three virtual accounts that have not yet reached the match end condition, and the aforementioned... The combat attribute value is related to the combat result of the aforementioned virtual account in the aforementioned target virtual task. The aforementioned match end condition indicates that the combat attribute value of the aforementioned virtual account is less than or equal to the target threshold. The aforementioned target combat attribute value is the minimum combat attribute value corresponding to the aforementioned virtual account when the aforementioned match result is a loss. Based on the combat attribute value of each of the aforementioned at least three virtual accounts other than the aforementioned target virtual account, the target match ranking of the aforementioned target virtual account in the aforementioned target virtual task when the aforementioned match end condition is met is determined. The aforementioned target match ranking is displayed in the prompt message triggered when the aforementioned target virtual account meets the aforementioned match end condition.
[0007] According to another aspect of the embodiments of this application, a device for displaying match rankings is also provided, comprising: a running unit, configured to run a target virtual task involving at least three virtual accounts in a client; and an acquisition unit, configured to, during the operation of the target virtual task, acquire the battle attribute value of each virtual account other than the target virtual account among the at least three virtual accounts when the target virtual account using the client reaches the match end condition, wherein the battle attribute value of each virtual account other than the target virtual account includes the target battle attribute value of the virtual account among the at least three virtual accounts that has not yet reached the match end condition, and the battle attribute value... The attribute value is related to the battle result of the aforementioned virtual account in the aforementioned target virtual task. The aforementioned game end condition indicates that the battle attribute value of the aforementioned virtual account is less than or equal to the target threshold. The aforementioned target battle attribute value is the minimum battle attribute value corresponding to the aforementioned virtual account when the aforementioned battle result is a failure. The first determining unit is used to determine the target game ranking of the aforementioned target virtual account in the aforementioned target virtual task when the aforementioned game end condition is met, based on the battle attribute value of each of the aforementioned at least three virtual accounts excluding the aforementioned target virtual account. The first display unit is used to display the aforementioned target game ranking in the prompt information triggered when the aforementioned target virtual account meets the aforementioned game end condition.
[0008] As an optional solution, the first determining unit includes: a first determining module, used to compare the target battle attribute value of the virtual accounts among the at least three virtual accounts that have not yet reached the end of the game with the target threshold, and to determine a first virtual account whose target battle attribute value is less than or equal to the target threshold from the virtual accounts among the at least three virtual accounts that have not yet reached the end of the game; and a second determining module, used to determine the target game ranking based on the target battle attribute value of the first virtual account and the end battle attribute value of the target virtual account when it reaches the end of the game.
[0009] As an optional solution, the second determining module includes: a first determining submodule, used to compare the target battle attribute value and the end battle attribute value of the first virtual account, and determine from the first virtual accounts a first target virtual account whose target battle attribute value is greater than the end battle attribute value; and a second determining submodule, used to determine that the ranking of the first target virtual account in the target virtual task is less than the ranking of the target virtual account in the target virtual task.
[0010] As an optional solution, the first determining unit includes: a third determining module, used to compare the battle attribute value of the second virtual account with the end battle attribute value of the target virtual account when the target virtual account reaches the end battle condition, when the at least three virtual accounts include a second virtual account that has reached the end battle condition, and to determine from the second virtual accounts a second target virtual account whose battle attribute value is greater than the end battle attribute value, and a third target virtual account whose battle attribute value is less than or equal to the end battle attribute value; and a fourth determining module, used to determine the target match ranking based on the battle attribute value of the second target virtual account, the battle attribute value of the third target virtual account, and the end battle attribute value.
[0011] As an optional solution, the fourth determining module includes: a third determining submodule, used to determine that the ranking of the second target virtual account in the target virtual task is greater than the ranking of the target virtual account in the target virtual task, and to determine that the ranking of the third target virtual account in the target virtual task is less than or equal to the ranking of the target virtual account in the target virtual task.
[0012] As an optional solution, the aforementioned acquisition unit includes: a fifth determining module, configured to, during the operation of the aforementioned target virtual task, when the aforementioned virtual accounts in the battle reach the aforementioned game end condition, determine each group of virtual accounts in the aforementioned target virtual task, wherein each group of virtual accounts includes any two virtual accounts other than the aforementioned battle virtual accounts from the aforementioned at least three virtual accounts; and a first acquisition module, configured to acquire the battle reference value and the initial battle attribute value of the first battle virtual account in each group of virtual accounts, and the battle reference value and the initial battle attribute value of the second battle virtual account in each group of virtual accounts. The first module is configured to: reduce the initial battle attribute value of the first battle virtual account in the same group of virtual accounts based on the battle reference value of the second battle virtual account in each group of virtual accounts to obtain the target battle attribute value of the first battle virtual account in each group of virtual accounts when the battle result is a loss; and reduce the initial battle attribute value of the second battle virtual account in the same group of virtual accounts based on the battle reference value of the first battle virtual account in each group of virtual accounts to obtain the target battle attribute value of the second battle virtual account in each group of virtual accounts when the battle result is a loss.
[0013] As an optional solution, the above-mentioned apparatus includes: a second determining unit, configured to, after running the target virtual task involving at least three virtual accounts in the client, determine, based on the battle reference value of the first battle virtual account in each group of virtual accounts and the battle reference value of the second battle virtual account in each group of virtual accounts, the accounts in each group of virtual accounts that have a successful battle result, and the accounts in each group that have a failed battle result, as well as post-battle reference information for the accounts in each group of virtual accounts that have a successful battle result and post-battle reference information for the accounts in each group of virtual accounts, wherein the post-battle reference information... The remaining reference information after the aforementioned battle reference value is consumed by the battle; the reduction unit is used to, after running the target virtual task involving at least three virtual accounts in the client, reduce the initial battle attribute value of the losing accounts in each group of virtual accounts based on the post-battle reference information of the accounts that successfully fought in each group of virtual accounts, to obtain the actual battle attribute of the losing accounts in each group of virtual accounts; the third determining unit is used to, after running the target virtual task involving at least three virtual accounts in the client, determine that the virtual accounts whose actual battle attribute value is less than or equal to the aforementioned target threshold have reached the aforementioned game end condition.
[0014] As an optional solution, the above-mentioned operating unit includes: a first operating module, used to run a target virtual task in the client where at least three virtual objects participate in the battle, wherein each of the at least three virtual accounts controls at least one of the virtual objects.
[0015] As an optional solution, the first determining unit includes: a third obtaining module, used to simulate the battle situation of the virtual objects other than the target virtual object among the at least three virtual objects based on the battle attribute values of each virtual account other than the target virtual account among the at least three virtual accounts, to obtain the simulated battle results of the virtual objects other than the target virtual object among the at least three virtual objects; a fourth obtaining module, used to determine the simulated match ranking of the virtual accounts other than the target virtual account among the at least three virtual accounts based on the simulated match results; and an adjusting module, used to adjust the match ranking of the target virtual account in the target virtual task based on the simulated match ranking, to obtain the target match ranking.
[0016] As an optional solution, the third acquisition module includes: a first acquisition submodule, used to simulate the battle situation of virtual objects other than the target virtual object among the at least three virtual objects by using the average battle attribute value of the multiple battle attribute values when the battle attribute value of each virtual account other than the target virtual account among the at least three virtual accounts includes multiple battle attribute values, and obtain the simulated battle result; or, a second acquisition submodule, used to simulate the battle situation of virtual objects other than the target virtual object among the at least three virtual objects by using the maximum or minimum extreme battle attribute value among the multiple battle attribute values, and obtain the simulated battle result.
[0017] As an optional solution, the above-mentioned acquisition unit includes: a fifth acquisition module, used to acquire the battle attribute value of each virtual account other than the target virtual account among the at least three virtual accounts when the target virtual account among the at least three virtual accounts is eliminated or when the target virtual account reaches the game end condition during the operation of the target virtual task, wherein the battle attribute value includes at least one of the following: the control attribute value of the virtual account other than the target virtual account among the at least three virtual accounts, and the battle attribute value of the virtual object controlled by the virtual account other than the target virtual account among the at least three virtual accounts.
[0018] As an optional solution, the aforementioned operating unit includes: a second operating module, configured to run the virtual subtask of the current round in the aforementioned client, wherein the aforementioned target virtual task includes at least one round of virtual subtasks; the aforementioned device includes: a second display unit, configured to display the target match ranking in the prompt information triggered when the aforementioned target virtual account reaches the aforementioned match end condition, and then, after all the aforementioned at least one round of virtual subtasks have ended, display the match ranking of each of the at least three virtual accounts in the aforementioned target virtual task.
[0019] According to another aspect of the embodiments of this application, a computer program product or computer program is provided, the computer program product or computer program including computer instructions 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, causing the computer device to perform the method for displaying game rankings as described above.
[0020] According to another aspect of the embodiments of this application, an electronic device is also provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the above-described method for displaying game rankings through the computer program.
[0021] In this embodiment, a target virtual task involving at least three virtual accounts is run on the client. During the execution of the target virtual task, when the target virtual account using the client reaches the end-of-game condition, the combat attribute value of each of the at least three virtual accounts (excluding the target virtual account) is obtained. The combat attribute value of each of the at least three virtual accounts (excluding the target virtual account) includes the target combat attribute value of the virtual account that has not yet reached the end-of-game condition. The combat attribute value is related to the combat result of the virtual account in the target virtual task. The end-of-game condition indicates that the combat attribute value of the virtual account is less than or equal to a target threshold. The target combat attribute value is the minimum combat attribute value corresponding to the virtual account when the combat result is a failure. Based on the combat attribute value of each of the at least three virtual accounts (excluding the target virtual account)... The system uses the combat attribute values of each virtual account to determine the target match ranking in the target virtual task when the target virtual account reaches the aforementioned match end conditions. This target match ranking is displayed in the notification message triggered when the target virtual account reaches the aforementioned match end conditions. By using the combat attribute values of each virtual account participating in the target virtual task, the system aims to estimate the target virtual account's match ranking in the target virtual task when it reaches the aforementioned match end conditions. Furthermore, by using the minimum combat attribute value corresponding to a virtual account that has not yet reached the aforementioned match end conditions when the match result is a loss, the system improves the accuracy of the target match ranking estimation. This allows players to obtain a more accurate target match ranking before all matches in the target virtual task have ended, thus improving the timeliness of match ranking display and solving the technical problem of insufficiently timely match ranking display. Attached Figure Description
[0022] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:
[0023] Figure 1 This is a schematic diagram of an application environment for an optional method for displaying game rankings according to an embodiment of this application;
[0024] Figure 2 This is a schematic diagram of the flow of an optional method for displaying match rankings according to an embodiment of this application;
[0025] Figure 3 This is a schematic diagram of an optional method for displaying match rankings according to an embodiment of this application;
[0026] Figure 4 This is a schematic diagram of another optional method for displaying match rankings according to an embodiment of this application;
[0027] Figure 5 This is a schematic diagram of another optional method for displaying match rankings according to an embodiment of this application;
[0028] Figure 6 This is a schematic diagram of another optional method for displaying match rankings according to an embodiment of this application;
[0029] Figure 7 This is a schematic diagram of another optional method for displaying match rankings according to an embodiment of this application;
[0030] Figure 8 This is a schematic diagram of another optional method for displaying match rankings according to an embodiment of this application;
[0031] Figure 9 This is a schematic diagram of another optional method for displaying match rankings according to an embodiment of this application;
[0032] Figure 10 This is a schematic diagram of another optional method for displaying match rankings according to an embodiment of this application;
[0033] Figure 11 This is a schematic diagram of another optional method for displaying match rankings according to an embodiment of this application;
[0034] Figure 12 This is a schematic diagram of an optional game ranking display device according to an embodiment of this application;
[0035] Figure 13 This is a schematic diagram of the structure of an optional electronic device according to an embodiment of this application. Detailed Implementation
[0036] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0037] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0038] According to one aspect of the embodiments of this application, a method for displaying game rankings is provided. Optionally, as an optional implementation, the above-described method for displaying game rankings can be applied to, but is not limited to, [examples of other methods]. Figure 1 The environment shown may include, but is not limited to, user equipment 102 and server 112. User equipment 102 may include, but is not limited to, a display 108, a processor 106 and a memory 1004. Server 112 includes a database 114 and a processing engine 116.
[0039] The specific process can be summarized in the following steps:
[0040] Step S102: User device 102 obtains the elimination command triggered when the target virtual account reaches the end of the game condition;
[0041] Steps S104-S106: Send the elimination instruction to the server 112 via network 110;
[0042] In steps S108-S110, server 112 retrieves the battle attribute values of each of the at least three virtual accounts participating in the target virtual task from the database, excluding the target virtual account, and determines the target match ranking of the target virtual account based on the battle attribute values of each virtual account through the processing engine.
[0043] In steps S112-S116, the target match rankings are sent to the user equipment 102 via the network 110. The user equipment 102 displays the target match rankings on the display 108 via the processor 106 and stores the target match rankings in the memory 104.
[0044] remove Figure 1Beyond the examples shown, the above steps can be completed with server assistance, i.e., the server can perform steps such as obtaining battle attribute values and determining the target match ranking, thereby reducing the server's processing load. The user device 102 includes, but is not limited to, handheld devices (such as mobile phones), laptops, desktop computers, in-vehicle devices, etc., and this application does not limit the specific implementation of the user device 102.
[0045] Alternatively, as an alternative implementation method, such as Figure 2 As shown, the methods for displaying match rankings include:
[0046] S202, Run a target virtual task in the client involving at least three virtual accounts;
[0047] S204, During the execution of the target virtual task, when the target virtual account using the client reaches the end-of-game condition, the combat attribute value of each virtual account other than the target virtual account among at least three virtual accounts is obtained. The combat attribute value of each virtual account other than the target virtual account among at least three virtual accounts includes the target combat attribute value of the virtual account that has not yet reached the end-of-game condition among at least three virtual accounts. The combat attribute value is related to the combat result of the virtual account in the target virtual task. The end-of-game condition indicates that the combat attribute value of the virtual account is less than or equal to the target threshold. The target combat attribute value is the minimum combat attribute value corresponding to the virtual account when the combat result is a failure.
[0048] S206, Based on the battle attribute values of each of the at least three virtual accounts excluding the target virtual account, determine the target match ranking in the target virtual mission when the match ends;
[0049] S208, the target virtual account's ranking in the game is displayed in the prompt message triggered when the game ends.
[0050] Optionally, in this embodiment, the above-mentioned method for displaying match rankings can be applied, but is not limited to, in a virtual game scenario of a multiplayer turn-based competitive game. For example, in this game scenario, there are eight players (virtual accounts) participating, and the game is divided into multiple rounds, each round including a preparation phase and a battle phase. In the preparation phase, players configure the relevant elements to be fought; after entering the battle phase, players are matched in pairs and fight until one side's battle elements are all eliminated, which is considered a loss (battle result). The losing side will have a certain amount of health deducted (battle attribute value), and this process is repeated to match new opponents until a player's health value is ≤0, which is considered an elimination (the end condition of the match is met). The last remaining player will win the game and be ranked first, while the other players will be ranked according to their health value (battle attribute value) when they are eliminated.
[0051] Therefore, it is evident that the method for determining match rankings in the aforementioned game scenarios is quite complex. Consequently, the relevant technology typically needs to wait until one or more winners of the entire game are determined before calculating the match rankings for each player. However, if a player is eliminated early, that player also needs to wait until the final winner of the game is determined before they can know their match ranking, resulting in low timeliness. On the other hand, if a match ranking is directly displayed to the eliminated player, the accuracy of that ranking cannot be guaranteed, and it is very likely that an incorrect match ranking will be displayed to the player, resulting in low reliability.
[0052] To further address the issue of the inability to simultaneously ensure the timeliness and reliability of match ranking display, this embodiment proposes a method that promptly displays the match ranking of eliminated players and uses the extreme attribute values of players who have not yet been eliminated to determine the match ranking of eliminated players. This improves the reliability of match ranking display and achieves the technical effect of balancing the timeliness and reliability of match ranking display.
[0053] Optionally, in this embodiment, the target virtual task can be understood as, but is not limited to, a virtual task, and the end condition of the game can be understood as, but is not limited to, the end condition of a virtual task; and a virtual task can include, but is not limited to, at least one round of combat tasks, and the combat result can be understood as, but is not limited to, the task result of the aforementioned at least one round of combat tasks.
[0054] Optionally, in this embodiment, the battle attribute value is related to the battle result of the virtual account in the target virtual task. For example, when the battle result of the virtual account is a failure, the battle attribute value of the virtual account is reduced; when the battle result of the virtual account is a success, the battle attribute value of the virtual account remains unchanged or is increased.
[0055] Optionally, in this embodiment, the target battle attribute value is the minimum battle attribute value corresponding to the virtual account when the battle result is a loss. For example, when the virtual account loses the battle, a certain number of battle attribute values will be deducted, and the aforementioned certain number of battle attribute values are related to the target attribute value of the virtual account's battle opponent.
[0056] To further illustrate, alternatively, to obtain the target battle attribute value of virtual account A, first determine that the opponent of virtual account A is virtual account B. Then, before the battle between virtual account A and virtual account B ends, assume that the result of virtual account A's battle is a loss, further obtain the target attribute value of virtual account B, and determine the aforementioned certain number of battle attribute values based on the target attribute value. Then, subtract the aforementioned certain number of battle attribute values from the initial battle attribute value of virtual account A to obtain the target battle attribute value of virtual account A. In order to determine the limit value of the target battle attribute value, if the target attribute value may be consumed due to the battle, it is possible, but not limited to, to assume that the target attribute value has not been consumed, and then use the target attribute value without consumption to determine the target battle attribute value of virtual account A to obtain the limit value of the target battle attribute value.
[0057] Specifically, suppose virtual account A controls 5 virtual objects and battles against virtual account B controlling 2 virtual objects. The battle continues until all of one side's virtual objects are eliminated, at which point that side loses. The losing side will have a target number of battle attribute values deducted. This target number can be, but is not limited to, the remaining number of virtual objects controlled by the winning side. For example... Figure 3 As shown in (a), the initial battle attribute value of virtual account A is 2, and the initial battle attribute value of virtual account B is 1, further as... Figure 3 As shown in (b), the target battle attribute value of virtual account A can be determined as 0 (2-2=0), and the target battle attribute value of virtual account B can be determined as -4 (1-5=-4).
[0058] Optionally, in this embodiment, the target match ranking in the target virtual task when the target virtual account reaches the match end condition is determined based on the combat attribute values of each virtual account (excluding the target virtual account) among the at least three virtual accounts. This can be, but is not limited to, determining the match ranking before or after the target virtual account reaches the match end condition in the target virtual task based on the combat attribute values of each virtual account (excluding the target virtual account). For example, when the target virtual account reaches the match end condition, the at least three virtual accounts can be roughly divided into four categories: virtual account A, virtual account B, virtual account C, and virtual account D. Virtual account A has not reached the match end condition, and virtual account... A's target battle attribute value has not reached the end of the match. Virtual account B has not reached the end of the match, but virtual account B's target battle attribute value has reached the end of the match, and virtual account B's target battle attribute value is greater than the end battle attribute value of the target virtual account when it reaches the end of the match. Virtual account C has reached the end of the match (or in other words, virtual account C's battle attribute value is clear, and the match ranking relationship between virtual account C and the target virtual account can be determined). Virtual account D has not reached the end of the match, but virtual account D's target battle attribute value has reached the end of the match, and virtual account D's target battle attribute value is less than or equal to the end battle attribute value of the target virtual account when it reaches the end of the match.
[0059] Furthermore, in this embodiment, the aforementioned virtual accounts A, B, and C typically do not affect the target virtual account's ranking in the target match. Therefore, it is unnecessary to wait for virtual accounts A, B, and C to finish their matches in the target virtual task. Virtual accounts A and B are always ranked higher than the target virtual account. To improve the timeliness of displaying the target virtual account's ranking, it is not necessary to wait for virtual accounts A and B to finish their matches. For virtual account C, since it meets the match end condition before the target virtual account does, when the target virtual account meets the end condition, virtual account C and the target virtual account can immediately compare their actual battle attribute values to determine their ranking. Additionally, for virtual account D, since the target virtual task is often influenced by unpredictable factors, to ensure the accuracy of the target ranking display, it is possible, but not limited to, waiting for virtual account D to finish its match in the target virtual task before determining the final target ranking.
[0060] The most unique case is Class D players. Due to the unpredictable nature of equipment on the battlefield, Class D players may be eliminated, and their health will be lower than the target virtual account's at the time of elimination. Therefore, it is necessary to wait for their battle to end. This is the only situation where the target virtual account needs to wait.
[0061] Optionally, in this embodiment, determining the target match ranking can be understood, but is not limited to, as estimating the match ranking of the target virtual account in the target virtual task when the match ends. The estimation of the target match ranking refers to the target combat attribute value of the virtual account that has not yet reached the match end condition. Since the target combat attribute value is the minimum combat attribute value corresponding to the virtual account when the match result is a loss, using the target combat attribute value to estimate the target match ranking can ensure the accuracy of the match ranking to the greatest extent.
[0062] Optionally, in this embodiment, the display of the target match ranking in the prompt message triggered when the target virtual account reaches the end of the match can be understood, but is not limited to, as directly displaying the target match ranking of the target virtual account without waiting for the target virtual task to completely end, so as to improve the timeliness of displaying the target match ranking.
[0063] It should be noted that by using the combat attribute values of each virtual account participating in the target virtual task, the goal of estimating the target virtual account's ranking in the target virtual task when the match ends is achieved is achieved. In addition, the method of using the minimum combat attribute value corresponding to the virtual account that has not yet reached the match end condition when the match result is a loss to participate in the estimation of the target match ranking also improves the accuracy of the target match ranking estimation. In this way, players can get a more accurate target match ranking before all matches in the target virtual task are completed, thereby improving the timeliness of the match ranking display.
[0064] To further illustrate, optional examples include... Figure 4 As shown, a target virtual task involving 8 virtual accounts is run in the client. During the execution of the target virtual task, when the target virtual account in the client reaches the end condition of the match (such as "lost this round"), the combat attribute values of each of the 8 virtual accounts other than the target virtual account are obtained, for example... Figure 4 As shown in (a), the combat attribute value of each of the eight virtual accounts, excluding the target virtual account, includes the target combat attribute value of the virtual account that has not yet reached the end-of-match condition (i.e., the virtual account whose match has not ended). The combat attribute value is related to the combat result of the virtual account in the target virtual task. The end-of-match condition indicates that the combat attribute value of the virtual account is less than or equal to the target threshold. The target combat attribute value is the minimum combat attribute value corresponding to the virtual account when the combat result is a loss; further as... Figure 4As shown in (b), based on the battle attribute values of each of the 8 virtual accounts excluding the target virtual account, the target match ranking in the target virtual task is determined when the target virtual account reaches the match end condition, and the target match ranking is displayed in the prompt message triggered when the target virtual account reaches the match end condition (e.g., "Your ranking is: 5").
[0065] Through the embodiments provided in this application, a target virtual task involving at least three virtual accounts is run on a client. During the execution of the target virtual task, when the target virtual account using the client reaches the end-of-game condition, the combat attribute value of each of the at least three virtual accounts, excluding the target virtual account, is obtained. The combat attribute value of each of the at least three virtual accounts, excluding the target virtual account, includes the target combat attribute value of the virtual accounts that have not yet reached the end-of-game condition. The combat attribute value is related to the combat result of the virtual account in the target virtual task. The end-of-game condition indicates that the combat attribute value of the virtual account is less than or equal to a target threshold. The target combat attribute value is the minimum combat attribute value corresponding to the virtual account when the combat result is a loss. Based on the at least three virtual accounts excluding the target virtual account... The system uses the combat attribute values of each virtual account outside the main account to determine the target match ranking in the target virtual task when the target virtual account reaches the match end condition. This target match ranking is displayed in the notification message triggered when the target virtual account reaches the match end condition. By using the combat attribute values of each virtual account participating in the target virtual task, the system aims to estimate the target match ranking when the target virtual account reaches the match end condition. Furthermore, by using the minimum combat attribute value of virtual accounts that have not yet reached the match end condition when their match result is a loss, the system improves the accuracy of the target match ranking prediction. This allows players to obtain a more accurate target match ranking before all matches in the target virtual task have ended, thus achieving the technical effect of improving the timeliness of match ranking display.
[0066] As an optional approach, based on the combat attribute values of each of the at least three virtual accounts (excluding the target virtual account), determine the target virtual account's ranking in the target virtual mission when the match ends, including:
[0067] S1, compare the target battle attribute value with the target threshold of the virtual accounts that have not yet reached the end of the game among at least three virtual accounts, and determine the first virtual account whose target battle attribute value is less than or equal to the target threshold from the virtual accounts that have not yet reached the end of the game among at least three virtual accounts.
[0068] S2, determine the target match ranking based on the target match attribute value of the first virtual account and the end match attribute value of the target virtual account when the match ends.
[0069] Optionally, in this embodiment, if the target battle attribute value of a virtual account that has not yet reached the end of the game has been obtained, since the target battle attribute value is the minimum battle attribute value corresponding to the virtual account when the game result is a loss, and if the target battle attribute value is also less than or equal to the target threshold, it means that the virtual account may also reach the end of the game.
[0070] As an optional approach, the target match ranking is determined based on the target match attribute value of the first virtual account and the end match attribute value of the target virtual account when the match ends, including:
[0071] S1, compare the target battle attribute value and the end battle attribute value of the first virtual account, and determine the first target virtual account whose target battle attribute value is greater than the end battle attribute value from the first virtual accounts;
[0072] S2, determine that the ranking of the first target virtual account in the target virtual task is lower than the ranking of the target virtual account in the target virtual task.
[0073] Optionally, in this embodiment, the target battle attribute value of the first virtual account that has been obtained and may reach the end of the game can be understood as the battle attribute value of the first virtual account under the worst battle result. The first target virtual account corresponding to the target battle attribute value that is greater than the end of the game attribute value is, to a certain extent, better than the game ranking of the target virtual account in the target virtual task.
[0074] As an optional approach, based on the combat attribute values of each of the at least three virtual accounts (excluding the target virtual account), determine the target virtual account's ranking in the target virtual mission when the match ends, including:
[0075] S1, if the second virtual account has reached the end of the game among at least three virtual accounts, compare the battle attribute value of the second virtual account with the end battle attribute value of the target virtual account when the end of the game is reached, and determine the second target virtual account whose battle attribute value is greater than the end battle attribute value and the third target virtual account whose battle attribute value is less than or equal to the end battle attribute value from the second virtual account.
[0076] S2. Determine the target match ranking based on the battle attribute values of the second target virtual account, the battle attribute values of the third target virtual account, and the end-of-battle attribute values.
[0077] Optionally, in this embodiment, when the battle attribute value of a virtual account that has reached the end of the game has been obtained, since the battle attribute value is the actual battle attribute value of the virtual account, the target game ranking can be determined directly using the above-mentioned battle attribute value.
[0078] As an optional approach, the target match ranking is determined based on the battle attribute values of the second target virtual account, the battle attribute values against the third target virtual account, and the attribute values at the end of the match, including:
[0079] Determine that the ranking of the second target virtual account in the target virtual task is greater than the ranking of the target virtual account in the target virtual task, and determine that the ranking of the third target virtual account in the target virtual task is less than or equal to the ranking of the target virtual account in the target virtual task.
[0080] Optionally, in this embodiment, during the process of determining the target match ranking using the actual battle attribute values of the second target virtual account / third target virtual account, it is determined that the match ranking of the virtual account whose actual battle attribute value is greater than the end battle attribute value is less than the target match ranking, and it is determined that the match ranking of the virtual account whose actual battle attribute value is less than or equal to the end battle attribute value is greater than or equal to the target match ranking.
[0081] As an optional approach, during the execution of the target virtual task, when the target virtual account using the client reaches the end-of-game condition, the combat attribute values of at least three virtual accounts, excluding the target virtual account, are obtained, including:
[0082] S1, During the operation of the target virtual task, when the battle virtual account reaches the end condition of the game, determine each group of virtual accounts that are playing in the target virtual task, wherein each group of virtual accounts includes any two virtual accounts other than the battle virtual account from at least three virtual accounts.
[0083] S2, obtain the battle reference value and initial battle attribute value of the first battle virtual account in each group of virtual accounts, as well as the battle reference value and initial battle attribute value of the second battle virtual account in each group of virtual accounts, wherein the battle reference value is used to determine the battle result of a group of virtual accounts.
[0084] S3, based on the battle reference value of the second battle virtual account in each group of virtual accounts, reduce the initial battle attribute value of the first battle virtual account in the same group of virtual accounts to obtain the target battle attribute value of the first battle virtual account in each group of virtual accounts when the battle result is a loss. Also, based on the battle reference value of the first battle virtual account in each group of virtual accounts, reduce the initial battle attribute value of the second battle virtual account in the same group of virtual accounts to obtain the target battle attribute value of the second battle virtual account in each group of virtual accounts when the battle result is a loss.
[0085] Optionally, in this embodiment, the execution of the target virtual task may, but is not limited to, be divided into multiple rounds, and each round may, but is not limited to, include at least one combat sub-task, such as... Figure 5 As shown, virtual accounts A, B, C, D, E, and F in virtual account set 502 are paired up for the first round of battles. For example, battle sub-task A is virtual account A versus virtual account B, battle sub-task B is virtual account C versus virtual account D, and battle sub-task C is virtual account E versus virtual account F. Based on the results of the first round of battles, the second round of battles continues with the target virtual tasks. For example, battle sub-task D is virtual account A versus virtual account C, battle sub-task E is virtual account B versus virtual account E, and battle sub-task F is virtual account D versus virtual account F.
[0086] To further illustrate, optionally, during the execution of the target virtual task, when the virtual accounts in the match reach the end condition, each group of virtual accounts that were playing in the target virtual task is identified. For example, each group of virtual accounts includes... Figure 5 From the virtual object set 502 (at least three virtual accounts) shown, any two virtual accounts other than the battle virtual accounts are selected; the battle reference value and initial battle attribute value of the first battle virtual account in each group of virtual accounts are obtained, as well as the battle reference value and initial battle attribute value of the second battle virtual account in each group of virtual accounts, wherein the battle reference value is used to determine the battle result of a group of virtual accounts; the initial battle attribute value of the first battle virtual account in the same group of virtual accounts is reduced based on the battle reference value of the second battle virtual account in each group of virtual accounts to obtain the target battle attribute value of the first battle virtual account in each group of virtual accounts when the battle result is a loss, and the initial battle attribute value of the second battle virtual account in the same group of virtual accounts is reduced based on the battle reference value of the first battle virtual account in each group of virtual accounts to obtain the target battle attribute value of the second battle virtual account in each group of virtual accounts when the battle result is a loss.
[0087] According to the embodiments provided in this application, during the operation of the target virtual task, when the virtual accounts in a battle reach the end-of-game condition, each group of virtual accounts in the target virtual task is determined. Each group of virtual accounts includes any two virtual accounts other than the battle virtual account from at least three virtual accounts. The battle reference value and initial battle attribute value of the first battle virtual account in each group of virtual accounts are obtained, as well as the battle reference value and initial battle attribute value of the second battle virtual account in each group of virtual accounts. The battle reference value is used to determine the battle... The result is that by reducing the initial battle attribute value of the first battle virtual account in the same group based on the battle reference value of the second battle virtual account in each group, the target battle attribute value of the first battle virtual account in each group when the battle result is a loss is obtained. Similarly, by reducing the initial battle attribute value of the second battle virtual account in the same group based on the battle reference value of the first battle virtual account in each group, the target battle attribute value of the second battle virtual account in each group when the battle result is a loss is obtained. This achieves the technical effect of improving the timeliness of determining the target match ranking.
[0088] As an optional approach, after running the target virtual task involving at least three virtual accounts on the client, it includes:
[0089] S1. Based on the battle reference value of the first battle virtual account in each group of virtual accounts and the battle reference value of the second battle virtual account in each group of virtual accounts, determine the battle successful accounts and battle failed accounts in each group of virtual accounts, as well as the post-battle reference information of the battle successful accounts and the post-battle reference information of the battle failed accounts in each group of virtual accounts. The post-battle reference information is the reference information remaining after the battle reference value is consumed by the battle.
[0090] S2, based on the post-battle reference information of the accounts that successfully fought in each group of virtual accounts, reduce the initial battle attribute value of the accounts that lost in each group of virtual accounts to obtain the actual battle attribute of the accounts that lost in each group of virtual accounts.
[0091] S3 determines whether a virtual account whose actual battle attribute value is less than or equal to the target threshold has reached the end condition of the game.
[0092] Optionally, in this embodiment, the battle attribute value is related to the battle result of the virtual account in the target virtual task. For example, when the battle result of the virtual account is a failure, the battle attribute value of the virtual account is reduced to obtain the actual battle attribute; when the battle result of the virtual account is a success, the battle attribute value of the virtual account is reduced or increased to obtain the actual battle attribute.
[0093] It should be noted that, based on the battle reference value of the first and second virtual accounts in each group of virtual accounts, the accounts with successful battles and those with unsuccessful battles in each group of virtual accounts are determined, along with the post-battle reference information for both successful and unsuccessful accounts. The post-battle reference information is the remaining reference information after the battle reference value is consumed in the battle. Based on the post-battle reference information of the successful accounts in each group of virtual accounts, the initial battle attribute value of the unsuccessful accounts in each group of virtual accounts is reduced to obtain the actual battle attribute of the unsuccessful accounts in each group of virtual accounts. Virtual accounts whose actual battle attribute value is less than or equal to the target threshold are determined to have reached the end-of-game condition.
[0094] To further illustrate, alternatively, to obtain the target battle attribute value of virtual account A, first determine that the opponent of virtual account A is virtual account B. Then, before the battle between virtual account A and virtual account B ends, assume that the result of virtual account A's battle is a loss, further obtain the target attribute value of virtual account B, and determine the aforementioned certain number of battle attribute values based on the target attribute value. Then, subtract the aforementioned certain number of battle attribute values from the initial battle attribute value of virtual account A to obtain the target battle attribute value of virtual account A. In order to determine the limit value of the target battle attribute value, if the target attribute value may be consumed due to the battle, it is possible, but not limited to, to assume that the target attribute value has not been consumed, and then use the target attribute value without consumption to determine the target battle attribute value of virtual account A to obtain the limit value of the target battle attribute value.
[0095] Specifically, suppose virtual account A controls 5 virtual objects and battles against virtual account B controlling 2 virtual objects. The battle continues until all of one side's virtual objects are eliminated, at which point that side loses. The losing side will have a target number of battle attribute values deducted. This target number can be, but is not limited to, the remaining number of virtual objects controlled by the winning side. For example... Figure 3 As shown in (a), the initial battle attribute value of virtual account A is 2, and the initial battle attribute value of virtual account B is 1, further as... Figure 3 As shown in (b), the target battle attribute value of virtual account A can be determined as 0 (2-2=0), and the target battle attribute value of virtual account B can be determined as -4 (1-5=-4).
[0096] Through the embodiments provided in this application, based on the battle reference values of the first and second battle virtual accounts in each group of virtual accounts, the system determines the accounts in each group of virtual accounts that have a successful battle result and the accounts that have a failed battle result, as well as the post-battle reference information for the accounts that have a successful battle result and the accounts that have a failed battle result. The post-battle reference information is the reference information remaining after the battle reference value is consumed by the battle. Based on the post-battle reference information of the accounts that have a successful battle result in each group of virtual accounts, the system reduces the initial battle attribute value of the accounts that have a failed battle result in each group of virtual accounts, thus obtaining the actual battle attribute of the accounts that have a failed battle result in each group of virtual accounts. The system determines that virtual accounts whose actual battle attribute value is less than or equal to a target threshold meet the game end condition, thereby achieving the technical effect of improving the accuracy of the target game ranking.
[0097] As an optional approach, a target virtual task involving at least three virtual accounts is run on the client, including:
[0098] The target virtual mission runs in the client with at least three virtual objects participating in the battle, wherein each of the at least three virtual accounts controls at least one virtual object.
[0099] Optionally, in this embodiment, the target virtual task may be divided into a preparation phase and a battle phase, wherein the preparation phase is used to configure and prepare the virtual object to be battled, and the battle phase is used to control or passively control the virtual object to fight.
[0100] To further illustrate, optional examples include... Figure 6 As shown, a target virtual mission is run in client 602, in which at least three virtual objects participate in the battle, wherein each of the at least three virtual accounts controls at least one virtual object.
[0101] As an optional approach, based on the combat attribute values of each of the at least three virtual accounts (excluding the target virtual account), determine the target virtual account's ranking in the target virtual mission when the match ends, including:
[0102] S1, based on the battle attribute values of each virtual account (excluding the target virtual account) among at least three virtual accounts, simulate the battle situation of virtual objects (excluding the target virtual object) among at least three virtual objects, and obtain the simulated battle results of virtual objects (excluding the target virtual object) among at least three virtual objects;
[0103] S2, determine the ranking of virtual accounts other than the target virtual account in the simulated game based on the simulated game results;
[0104] S3, adjust the ranking of the target virtual account in the target virtual task based on the ranking of the simulated game, and obtain the target ranking.
[0105] Optionally, in this embodiment, since there are many uncertain factors in the target virtual task, the ranking of the virtual account in the target virtual task can be simulated based on various factors in the target virtual task, but not limited to. However, the simulation may have errors. In order to reduce the impact of the error on the user, the target ranking can be, but is not limited to, a range of rankings, such as 3rd to 5th place.
[0106] As an optional approach, based on the battle attribute values of each of the at least three virtual accounts (excluding the target virtual account), simulate the battle situation of the virtual objects (excluding the target virtual object) from at least three virtual objects, and obtain the simulated battle results of the virtual objects (excluding the target virtual object) from at least three virtual objects, including:
[0107] If each of the at least three virtual accounts (excluding the target virtual account) has multiple battle attribute values, the average battle attribute value of the multiple battle attribute values is used to simulate the battle situation of the virtual objects (excluding the target virtual object) among the at least three virtual objects to obtain the simulated battle result; or, the maximum or minimum extreme battle attribute value among the multiple battle attribute values is used to simulate the battle situation of the virtual objects (excluding the target virtual object) among the at least three virtual objects to obtain the simulated battle result.
[0108] As an optional approach, during the execution of the target virtual task, when the target virtual account using the client reaches the end-of-game condition, the combat attribute values of at least three virtual accounts, excluding the target virtual account, are obtained, including:
[0109] During the execution of the target virtual task, when the target virtual account out of at least three virtual accounts is eliminated, or when the target virtual account reaches the end condition of the game, the battle attribute value of each virtual account other than the target virtual account is obtained. The battle attribute value includes at least one of the following: the control attribute value of the virtual account other than the target virtual account out of at least three virtual accounts, and the battle attribute value of the virtual object controlled by the virtual account other than the target virtual account out of at least three virtual accounts.
[0110] Optionally, in this embodiment, the control attribute value of the virtual account can be understood, but is not limited to, the attribute value of factors that the virtual account can actively or passively control, such as the skill attributes of active skills that the virtual account can manually trigger, the account bonus attributes of the virtual account itself, etc.; The combat attribute value of the virtual object controlled by the virtual account can be understood, but is not limited to, the attribute value of combat factors of the virtual object, such as the object attributes, skill attributes, equipment attributes (critical hit probability, attack power, defense power), etc.
[0111] As an optional approach, a target virtual task involving at least three virtual accounts is run in the client, including: running a virtual subtask in the current round in the client, wherein the target virtual task includes at least one round of virtual subtasks;
[0112] As an optional approach, the prompt message triggered when the target virtual account reaches the end of the game includes, after displaying the target game ranking, the following: if at least one round of virtual sub-tasks has ended, displaying the game ranking of each of the at least three virtual accounts in the target virtual task.
[0113] It should be noted that the virtual subtask of the current round is run in the client, wherein the target virtual task includes at least one round of virtual subtasks; if at least one round of virtual subtasks has ended, the ranking of each of the at least three virtual accounts in the target virtual task is displayed.
[0114] To further illustrate, the optional based on Figure 5 The scenario shown continues, for example... Figure 7 As shown, the current round of the battle sub-task (virtual sub-task) is run in the client, where the target virtual task includes at least one round of virtual sub-tasks; if at least one round of virtual sub-tasks has ended, the final match ranking of each of at least three virtual accounts in the target virtual task is displayed.
[0115] As an optional solution, for ease of understanding, the above-mentioned method of displaying match rankings can be applied to auto-chess-style virtual games. These auto-chess-style virtual games can be, but are not limited to, in-game collectible hero card eight-player turn-based competitive games. There are eight players in the game, each occupying a chessboard. Each round consists of two phases: preparation and combat. During the preparation phase, players purchase pieces (heroes) from the shop and arrange them on the chessboard. Upon entering the combat phase, both sides' lineups are locked, and the pieces automatically engage in combat until one side's pieces are all eliminated. The losing side loses a certain amount of health. Rounds are repeated to match new opponents until a player's health is ≤0, at which point they are eliminated. The last remaining player wins the game (1st place), while the other players are ranked according to their remaining health at the time of elimination (2nd-8th place).
[0116] Optionally, in this embodiment, rankings are pre-calculated based on the maximum possible health deduction, and invalid battle results are eliminated to reduce the waiting time after player elimination while ensuring the reliability of rankings and improving the overall smoothness of the game experience. Regarding the maximum health deduction, it is assumed that each player starts with 100 health. After each round, the losing side will have a certain amount of health deducted, the specific value of which depends on the number, level, and special skills of the winning side's remaining pieces. Since the lineups of both sides are fixed, the system can pre-calculate the maximum possible health deduction (maximum health deduction). The player's health after deducting the maximum health deduction is called the "minimum maximum health."
[0117] To further illustrate, alternatively, for example... Figure 8 The client's display interface shown has a player status bar on the right, displaying the avatars, nicknames, and current health of the three players. The symbol "√" indicates that the player won the battle in this round, the symbol "×" indicates that the player lost the battle in this round and lost a certain amount of health, the symbol "..." indicates that the player is still in battle, and the avatar turning into a shadow indicates that the player has been eliminated (health ≤ 0) and has been eliminated from the game.
[0118] Suppose player A loses a round and their health drops to -50, resulting in elimination. However, one player is still in battle, and the outcome is undecided. Therefore, the battle interface may display a "Waiting for battle to end..." message, preventing player A from taking any action until all players have finished their round. The advantage of this design is that it ensures accurate ranking. Theoretically, only after all other players have finished their battles and the losing player has lost health can the remaining health be used to accurately rank and determine player A's elimination. However, this design also has drawbacks. Eliminated players usually want the results immediately so they can restart the next round or continue watching. The elimination waiting period interrupts player A's actions, negatively impacting the smoothness of the experience. Especially when other players are locked in a close battle, player A may have to wait a long time, which is a very poor experience.
[0119] Furthermore, in this embodiment, to ensure all battles conclude and the rankings of eliminated players are determined, but in reality, from a game numerical design perspective, the lineups of both sides are fixed each round, and the impact of equipment and skills is predictable. The system can pre-calculate the minimum maximum health of all players in that round, thus obtaining an expected ranking. When player A is eliminated, other players on the field whose minimum maximum health is higher than player A's at the time of elimination will not affect player A's ranking and will definitely be ranked above player A. Therefore, these players do not need to wait. Thus, this embodiment optimizes the elimination waiting mechanism of current auto chess-like virtual games from this perspective, reducing the sense of interruption during the game and providing players with a better experience.
[0120] To further illustrate, alternatively, for example... Figure 9 As shown, assume there are eight players: A, B, C, D, E, F, G, and H, where H represents a player on the client. After previous rounds, all eight players have suffered varying degrees of health loss (see "Current Health"). Player H is on the verge of elimination ("Current Health" is only 5) and is very likely to be eliminated in this round.
[0121] Since this embodiment optimizes the elimination waiting mechanism, it is assumed that player H is eliminated in this round with -10 health. Now, assuming all players encounter the worst-case scenario (maximum health loss): all opponents are wiped out and none of their pieces are eliminated (i.e., "maximum health loss"), and their health is further depleted by the opponent's special skill (i.e., "extreme health loss from special skill"). The minimum health of other players in this round (i.e., "maximum minimum health") can be calculated using the following formula:
[0122] Minimum HP = Current HP - HP deduction at maximum - HP deduction at maximum for special skills;
[0123] After calculating the minimum health of other players, the expected ranking of players in the next round can be obtained according to the principle that "the lower the minimum health, the lower the ranking".
[0124] Depend on Figure 9 As shown, players B, A, C, and D all have a minimum health value greater than 0, meaning they cannot be eliminated this round and will not affect player H's actual ranking. Therefore, player H does not need to wait for these players. Player E's minimum health value is ≤0, indicating a possibility of elimination this round. However, since the minimum health value is -5 > -10 (meaning even if they die, their health value cannot be lower than when player H is eliminated), player E will not affect player H's ranking, and player H does not need to wait for player E's battle to end.
[0125] Players G and F have a minimum HP of ≤0 and <-10 (meaning they may die and have less HP than player H when eliminated), which will affect player H's ranking when eliminated. Therefore, player H must wait for their battle to end. Figure 9 The game assumes a scenario where player G is eliminated before player H in the current round. In this case, player G's life points at the time of elimination are fixed, and the ranking can be determined immediately by comparing the life points of both players. This scenario also does not require waiting.
[0126] In summary, player H only needs to wait for players who simultaneously meet three conditions: ① are likely to be eliminated this round, ② have a lower minimum HP this round than player H would have when eliminated, and ③ are still in battle. Following this principle, waiting for invalid battle results can be eliminated, significantly shortening or even eliminating the waiting period after player elimination and improving the player experience.
[0127] Optionally, in this embodiment, the execution flow of the above-described method for displaying game rankings is as follows: Figure 10 As shown, the specific steps are as follows:
[0128] Step S1002: After the start of a new round of the game, an opponent is matched and the battle scene is activated;
[0129] Step S1004: As the battle progresses, obtain the health q of player A when he is eliminated. Assume that all of player A's pieces are eliminated, player A loses health, resulting in health q≤0, and is judged to be eliminated.
[0130] Step S1006: Obtain the number of players who have not yet been eliminated in the scene, M, and let m be the player number, initially set to 1. Since the game is eight-player, there are at most 7 players remaining, i.e., 1 ≤ M ≤ 7. Let m represent the number of the surviving player, initially set to 1, m ≤ M. The game client logic layer begins to calculate the minimum possible health Nm for each surviving player. Since m is initially set to 1, the minimum possible health N1 for the surviving player with number 1 is calculated first.
[0131] Step S1008: Calculate the minimum possible health Nm for players who have not yet been eliminated;
[0132] Step S1010: Determine if Nm≤0? If yes, proceed to step S1012; otherwise, it means that the player cannot be eliminated in this round and will not affect player A's ranking, so skip the player and proceed to step S1014.
[0133] Step S1012: Determine if Nm > q? If yes, it means that even if the player is eliminated in this round, the player's health will not be lower than that of player A when the player is eliminated, and it will not affect player A's ranking. Therefore, skip this step and proceed to step S1014. If no, player A needs to wait patiently for the player's battle to end, and proceed to step S1016.
[0134] Step S1014: Skip the waiting time;
[0135] Step S1016: Wait for Player B's battle to end;
[0136] Step S1012, m = m + 1, assign the value of m + 1 to m, that is, start calculating the minimum maximum health Nm of the next player;
[0137] Step S1020: Determine if m ≤ M? If yes, proceed to step S1008; otherwise, proceed to step S1022.
[0138] Step S1022: Determine player A's ranking.
[0139] To further illustrate, the specific timing diagram between the player, the game client presentation layer, and the game client logic layer in this embodiment is as follows: Figure 11As shown, at the start of a new round, the logic layer matches the player with an opponent, and the presentation layer initiates the battle scene. The player watches their pieces automatically battle and makes decisions such as equipping items. The presentation layer transmits real-time finger position signals and interactive operations to the logic layer. As the battle progresses, if all of the player's pieces are eliminated, the player loses health, resulting in health q≤0, and is eliminated by the logic layer. The logic layer calculates the player's health q at the time of elimination and the number of other players M still alive. The logic layer then calculates the minimum possible health Nm (where m represents the player's number) for each surviving player. The logic layer checks if there are other players whose health Nm≤0 and Nm<q. If "No," it means that the battle results of all surviving players do not affect the player's ranking, so the waiting phase is skipped, and the presentation layer plays the animation of the player losing health and being eliminated, followed by the player's current ranking. If "Yes," it means that there are other players on the field who may affect the player's ranking, and the presentation layer plays a waiting prompt, displaying the player's current ranking only after all eligible players have finished their battles.
[0140] It is understood that in the specific embodiments of this application, data such as user information are involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.
[0141] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0142] According to another aspect of the embodiments of this application, a device for displaying game rankings for implementing the above-described method for displaying game rankings is also provided. For example... Figure 12 As shown, the device includes:
[0143] The first acquisition unit 1202 is used to acquire a set of candidate probe points of the target virtual model, wherein the probe points in the set of candidate probe points are used for lighting rendering of the target virtual model;
[0144] The second acquisition unit 1204 is used to acquire the obstruction degree of each probe in the target virtual model and the candidate probe set;
[0145] The filtering unit 1206 is used to filter the probes in the candidate probe set according to the obstruction degree of each probe in the target virtual model and the candidate probe set to obtain the target probe set;
[0146] The third acquisition unit 1208 is used to acquire the spherical harmonic basis coefficients of each probe in the target probe set, and to perform lighting rendering on the target virtual model based on the spherical harmonic basis coefficients of each probe in the target probe set.
[0147] Optionally, in this embodiment, the aforementioned ranking display device can be applied, but is not limited to, in a virtual game scenario of a multiplayer turn-based competitive game. For example, in this game scenario, there are eight players (virtual accounts) participating, and the game is divided into multiple rounds, each round including a preparation phase and a battle phase. In the preparation phase, players configure the relevant elements to be fought; after entering the battle phase, players are matched in pairs and fight until one side's battle elements are all eliminated, which is considered a loss (battle result). The losing side will have a certain amount of health deducted (battle attribute value), and this process is repeated to match new opponents until a player's health value is ≤0, which is considered an elimination (the end condition of the game is met). The last remaining player will win the game and be ranked first, while the other players will be ranked according to their health value (battle attribute value) when they are eliminated.
[0148] Therefore, it is evident that the method for determining match rankings in the aforementioned game scenarios is quite complex. Consequently, the relevant technology typically needs to wait until one or more winners of the entire game are determined before calculating the match rankings for each player. However, if a player is eliminated early, that player also needs to wait until the final winner of the game is determined before they can know their match ranking, resulting in low timeliness. On the other hand, if a match ranking is directly displayed to the eliminated player, the accuracy of that ranking cannot be guaranteed, and it is very likely that an incorrect match ranking will be displayed to the player, resulting in low reliability.
[0149] To further address the issue of the inability to simultaneously ensure the timeliness and reliability of match ranking display, this embodiment proposes a method that promptly displays the match ranking of eliminated players and uses the extreme attribute values of players who have not yet been eliminated to determine the match ranking of eliminated players. This improves the reliability of match ranking display and achieves the technical effect of balancing the timeliness and reliability of match ranking display.
[0150] Optionally, in this embodiment, the target virtual task can be understood as, but is not limited to, a virtual task, and the end condition of the game can be understood as, but is not limited to, the end condition of a virtual task; and a virtual task can include, but is not limited to, at least one round of combat tasks, and the combat result can be understood as, but is not limited to, the task result of the aforementioned at least one round of combat tasks.
[0151] Optionally, in this embodiment, the battle attribute value is related to the battle result of the virtual account in the target virtual task. For example, when the battle result of the virtual account is a failure, the battle attribute value of the virtual account is reduced; when the battle result of the virtual account is a success, the battle attribute value of the virtual account is reduced or increased.
[0152] Optionally, in this embodiment, the target battle attribute value is the minimum battle attribute value corresponding to the virtual account when the battle result is a loss. For example, when the virtual account loses the battle, a certain number of battle attribute values will be deducted, and the aforementioned certain number of battle attribute values are related to the target attribute value of the virtual account's battle opponent.
[0153] To further illustrate, alternatively, to obtain the target battle attribute value of virtual account A, first determine that the opponent of virtual account A is virtual account B. Then, before the battle between virtual account A and virtual account B ends, assume that the result of virtual account A's battle is a loss, further obtain the target attribute value of virtual account B, and determine the aforementioned certain number of battle attribute values based on the target attribute value. Then, subtract the aforementioned certain number of battle attribute values from the initial battle attribute value of virtual account A to obtain the target battle attribute value of virtual account A. In order to determine the limit value of the target battle attribute value, if the target attribute value may be consumed due to the battle, it is possible, but not limited to, to assume that the target attribute value has not been consumed, and then use the target attribute value without consumption to determine the target battle attribute value of virtual account A to obtain the limit value of the target battle attribute value.
[0154] Optionally, in this embodiment, the target match ranking in the target virtual task when the target virtual account reaches the match end condition is determined based on the combat attribute values of each virtual account (excluding the target virtual account) among the at least three virtual accounts. This can be, but is not limited to, determining the match ranking before or after the target virtual account reaches the match end condition in the target virtual task based on the combat attribute values of each virtual account (excluding the target virtual account). For example, when the target virtual account reaches the match end condition, the at least three virtual accounts can be roughly divided into four categories: virtual account A, virtual account B, virtual account C, and virtual account D. Virtual account A has not reached the match end condition, and virtual account... A's target battle attribute value has not reached the end of the match. Virtual account B has not reached the end of the match, but virtual account B's target battle attribute value has reached the end of the match, and virtual account B's target battle attribute value is greater than the end battle attribute value of the target virtual account when it reaches the end of the match. Virtual account C has reached the end of the match (or in other words, virtual account C's battle attribute value is clear, and the match ranking relationship between virtual account C and the target virtual account can be determined). Virtual account D has not reached the end of the match, but virtual account D's target battle attribute value has reached the end of the match, and virtual account D's target battle attribute value is less than or equal to the end battle attribute value of the target virtual account when it reaches the end of the match.
[0155] Furthermore, in this embodiment, the aforementioned virtual accounts A, B, and C typically do not affect the target virtual account's ranking in the target match. Therefore, it is unnecessary to wait for virtual accounts A, B, and C to finish their matches in the target virtual task. Virtual accounts A and B are always ranked higher than the target virtual account. To improve the timeliness of displaying the target virtual account's ranking, it is not necessary to wait for virtual accounts A and B to finish their matches. For virtual account C, since it meets the match end condition before the target virtual account does, when the target virtual account meets the end condition, virtual account C and the target virtual account can immediately compare their actual battle attribute values to determine their ranking. Additionally, for virtual account D, since the target virtual task is often influenced by unpredictable factors, to ensure the accuracy of the target ranking display, it is possible, but not limited to, waiting for virtual account D to finish its match in the target virtual task before determining the final target ranking.
[0156] The most special case is the D-type player. Due to the existence of uncertain factors such as equipment on the battlefield, D-type players may be eliminated, and when they are eliminated, their health will be lower than mine. Therefore, it is necessary to wait for their battle to end. This is the only situation in which "I" need to wait.
[0157] Optionally, in this embodiment, determining the target match ranking can be understood, but is not limited to, as estimating the match ranking of the target virtual account in the target virtual task when the match ends. The estimation of the target match ranking refers to the target combat attribute value of the virtual account that has not yet reached the match end condition. Since the target combat attribute value is the minimum combat attribute value corresponding to the virtual account when the match result is a loss, using the target combat attribute value to estimate the target match ranking can ensure the accuracy of the match ranking to the greatest extent.
[0158] Optionally, in this embodiment, the display of the target match ranking in the prompt message triggered when the target virtual account reaches the end condition can be understood, but is not limited to, as directly displaying the target match ranking of the target virtual account without waiting for the target virtual task to completely end, so as to improve the timeliness of displaying the target match ranking.
[0159] It should be noted that by using the combat attribute values of each virtual account participating in the target virtual task, the goal of estimating the target virtual account's ranking in the target virtual task when the match ends is achieved is achieved. In addition, the method of using the minimum combat attribute value corresponding to the virtual account that has not yet reached the match end condition when the match result is a loss to participate in the estimation of the target match ranking also improves the accuracy of the target match ranking estimation. In this way, players can get a more accurate target match ranking before all matches in the target virtual task are completed, thereby improving the timeliness of the match ranking display.
[0160] For specific implementation examples, please refer to the example shown in the above-mentioned game ranking display device, which will not be repeated here.
[0161] Through the embodiments provided in this application, a target virtual task involving at least three virtual accounts is run on a client. During the execution of the target virtual task, when the target virtual account using the client reaches the end-of-game condition, the combat attribute value of each of the at least three virtual accounts, excluding the target virtual account, is obtained. The combat attribute value of each of the at least three virtual accounts, excluding the target virtual account, includes the target combat attribute value of the virtual accounts that have not yet reached the end-of-game condition. The combat attribute value is related to the combat result of the virtual account in the target virtual task. The end-of-game condition indicates that the combat attribute value of the virtual account is less than or equal to a target threshold. The target combat attribute value is the minimum combat attribute value corresponding to the virtual account when the combat result is a loss. Based on the at least three virtual accounts excluding the target virtual account... The system uses the combat attribute values of each virtual account outside the main account to determine the target match ranking in the target virtual task when the target virtual account reaches the match end condition. This target match ranking is displayed in the notification message triggered when the target virtual account reaches the match end condition. By using the combat attribute values of each virtual account participating in the target virtual task, the system aims to estimate the target match ranking when the target virtual account reaches the match end condition. Furthermore, by using the minimum combat attribute value of virtual accounts that have not yet reached the match end condition when their match result is a loss, the system improves the accuracy of the target match ranking prediction. This allows players to obtain a more accurate target match ranking before all matches in the target virtual task have ended, thus achieving the technical effect of improving the timeliness of match ranking display.
[0162] As an optional solution, the first determining unit 1206 includes:
[0163] The first determining module is used to compare the target battle attribute value with the target threshold of the virtual accounts that have not yet reached the end of the game among at least three virtual accounts, and to determine the first virtual account whose target battle attribute value is less than or equal to the target threshold from the virtual accounts that have not yet reached the end of the game among at least three virtual accounts.
[0164] The second determining module is used to determine the target match ranking based on the target match attribute value of the first virtual account and the end match attribute value of the target virtual account when the match ends.
[0165] For specific implementation examples, please refer to the example shown in the above-described method for displaying match rankings; further details will not be repeated here.
[0166] As an optional solution, the second determining module includes:
[0167] The first determination submodule is used to compare the target battle attribute value and the end battle attribute value of the first virtual account, and determine the first target virtual account whose target battle attribute value is greater than the end battle attribute value from the first virtual accounts.
[0168] The second determining submodule is used to determine that the ranking of the first target virtual account in the target virtual task is lower than the ranking of the target virtual account in the target virtual task.
[0169] For specific implementation examples, please refer to the example shown in the above-described method for displaying match rankings; further details will not be repeated here.
[0170] As an optional solution, the first determining unit 1206 includes:
[0171] The third determining module is used to compare the battle attribute value of the second virtual account with the end battle attribute value of the target virtual account when the game ends, in the case where the second virtual account has reached the end condition among at least three virtual accounts. The module then determines the second target virtual account whose battle attribute value is greater than the end battle attribute value and the third target virtual account whose battle attribute value is less than or equal to the end battle attribute value.
[0172] The fourth determination module is used to determine the target match ranking based on the battle attribute values of the second target virtual account, the battle attribute values of the third target virtual account, and the end-of-battle attribute values.
[0173] For specific implementation examples, please refer to the example shown in the above-described method for displaying match rankings; further details will not be repeated here.
[0174] As an optional solution, the fourth determining module includes:
[0175] The third determining submodule is used to determine that the ranking of the second target virtual account in the target virtual task is greater than the ranking of the target virtual account in the target virtual task, and to determine that the ranking of the third target virtual account in the target virtual task is less than or equal to the ranking of the target virtual account in the target virtual task.
[0176] For specific implementation examples, please refer to the example shown in the above-described method for displaying match rankings; further details will not be repeated here.
[0177] As an optional solution, the acquisition unit 1204 includes:
[0178] The fifth determination module is used to determine each group of virtual accounts that are playing against each other in the target virtual task when the virtual accounts in the battle reach the end condition during the operation of the target virtual task. Each group of virtual accounts includes any two virtual accounts other than the virtual accounts in the battle among at least three virtual accounts.
[0179] The first acquisition module is used to acquire the battle reference value and the initial battle attribute value of the first battle virtual account in each group of virtual accounts, as well as the battle reference value and the initial battle attribute value of the second battle virtual account in each group of virtual accounts. The battle reference value is used to determine the battle result of a group of virtual accounts.
[0180] The second acquisition module is used to reduce the initial battle attribute value of the first battle virtual account in the same group of virtual accounts based on the battle reference value of the second battle virtual account in each group of virtual accounts, so as to obtain the target battle attribute value of the first battle virtual account in each group of virtual accounts when the battle result is a loss, and to reduce the initial battle attribute value of the second battle virtual account in the same group of virtual accounts based on the battle reference value of the first battle virtual account in each group of virtual accounts, so as to obtain the target battle attribute value of the second battle virtual account in each group of virtual accounts when the battle result is a loss.
[0181] For specific implementation examples, please refer to the example shown in the above-described method for displaying match rankings; further details will not be repeated here.
[0182] As an optional solution, the device includes:
[0183] The second determining unit is used to, after running a target virtual task involving at least three virtual accounts in the client, determine the accounts in each group of virtual accounts whose battle results are successful and the accounts in each group whose battle results are unsuccessful, based on the battle reference value of the first battle virtual account in each group of virtual accounts and the battle reference value of the second battle virtual account in each group of virtual accounts, as well as the post-battle reference information of the accounts in each group of virtual accounts whose battle results are successful and the post-battle reference information of the accounts in each group of virtual accounts whose battle results are unsuccessful, wherein the post-battle reference information is the reference information remaining after the battle reference value is consumed by the battle.
[0184] The reduction unit is used to reduce the initial combat attribute value of the losing accounts in each group of virtual accounts after running a target virtual task involving at least three virtual accounts in the client, based on the post-battle reference information of the accounts that successfully fought in each group of virtual accounts, so as to obtain the actual combat attribute of the losing accounts in each group of virtual accounts.
[0185] The third determining unit is used to determine, after running a target virtual task involving at least three virtual accounts in the client, the virtual accounts whose actual battle attribute values are less than or equal to the target threshold have reached the end-of-game condition.
[0186] For specific implementation examples, please refer to the example shown in the above-described method for displaying match rankings; further details will not be repeated here.
[0187] As an optional solution, the operating unit 1202 includes:
[0188] The first running module is used to run a target virtual task in the client where at least three virtual objects participate in the battle, wherein each of the at least three virtual accounts controls at least one virtual object.
[0189] For specific implementation examples, please refer to the example shown in the above-described method for displaying match rankings; further details will not be repeated here.
[0190] As an optional solution, the first determining unit 1206 includes:
[0191] The third acquisition module is used to simulate the battle situation of virtual objects other than the target virtual object among at least three virtual objects based on the battle attribute value of each virtual account other than the target virtual account among at least three virtual accounts, and to obtain the simulated battle result of virtual objects other than the target virtual object among at least three virtual objects.
[0192] The fourth acquisition module is used to determine the simulated match rankings of at least three virtual accounts, excluding the target virtual account, based on the simulated match results.
[0193] The adjustment module is used to adjust the ranking of the target virtual account in the target virtual task based on the ranking of the simulated game, so as to obtain the target ranking.
[0194] For specific implementation examples, please refer to the example shown in the above-described method for displaying match rankings; further details will not be repeated here.
[0195] As an optional solution, the third acquisition module includes:
[0196] The first acquisition submodule is used to simulate the battle situation of virtual objects other than the target virtual object among at least three virtual objects by using the average battle attribute value of the multiple battle attribute values of each virtual account other than the target virtual object, and obtain the simulated battle result; or, the second acquisition submodule is used to simulate the battle situation of virtual objects other than the target virtual object among at least three virtual objects by using the maximum or minimum extreme battle attribute value among the multiple battle attribute values, and obtain the simulated battle result.
[0197] For specific implementation examples, please refer to the example shown in the above-described method for displaying match rankings; further details will not be repeated here.
[0198] As an optional solution, the acquisition unit 1204 includes:
[0199] The fifth acquisition module is used to acquire the combat attribute values of each virtual account other than the target virtual account among the at least three virtual accounts when the target virtual account is eliminated or when the target virtual account reaches the end condition of the game during the operation of the target virtual task. The combat attribute values include at least one of the following: the control attribute values of the virtual accounts other than the target virtual account among the at least three virtual accounts, and the combat attribute values of the virtual objects controlled by the virtual accounts other than the target virtual account among the at least three virtual accounts.
[0200] For specific implementation examples, please refer to the example shown in the above-described method for displaying match rankings; further details will not be repeated here.
[0201] As an optional solution, the running unit 1202 includes: a second running module for running a virtual subtask of the current round in the client, wherein the target virtual task includes a virtual subtask of at least one round;
[0202] The device includes: a second display unit, which displays the target match ranking in a prompt message triggered when the target virtual account reaches the end of the match, and displays the match ranking of each of at least three virtual accounts in the target virtual task after at least one round of virtual sub-tasks has ended.
[0203] For specific implementation examples, please refer to the example shown in the above-described method for displaying match rankings; further details will not be repeated here.
[0204] According to another aspect of the embodiments of this application, an electronic device for implementing the above-described method for displaying game rankings is also provided, such as... Figure 13 As shown, the electronic device includes a memory 1302 and a processor 1304. The memory 1302 stores a computer program, and the processor 1304 is configured to execute the steps of any of the above method embodiments through the computer program.
[0205] Optionally, in this embodiment, the aforementioned electronic device may be located in at least one of a plurality of network devices in a computer network.
[0206] Optionally, in this embodiment, the processor can be configured to perform the following steps via a computer program:
[0207] S1, run a target virtual task in the client involving at least three virtual accounts;
[0208] S2, During the execution of the target virtual task, when the target virtual account using the client reaches the end condition of the game, the combat attribute value of each virtual account other than the target virtual account among at least three virtual accounts is obtained. The combat attribute value of each virtual account other than the target virtual account among at least three virtual accounts includes the target combat attribute value of the virtual account that has not yet reached the end condition of the game among at least three virtual accounts. The combat attribute value is related to the combat result of the virtual account in the target virtual task. The end condition of the game indicates that the combat attribute value of the virtual account is less than or equal to the target threshold. The target combat attribute value is the minimum combat attribute value corresponding to the virtual account when the combat result is a failure.
[0209] S3, based on the battle attribute values of each of the at least three virtual accounts excluding the target virtual account, determine the target virtual account's ranking in the target virtual mission when the match ends.
[0210] S4 displays the target's ranking in the prompt message triggered when the target virtual account reaches the end condition of the game.
[0211] Alternatively, as those skilled in the art will understand, Figure 13 The structure shown is for illustrative purposes only. Electronic devices can also be smartphones (such as Android phones, iOS phones, etc.), tablets, PDAs, mobile internet devices (MIDs), PADs, and other terminal devices. Figure 13 This does not limit the structure of the aforementioned electronic devices. For example, the electronic device may also include components that are more... Figure 13 The more or fewer components shown (such as network interfaces, etc.), or having the same Figure 13 The different configurations shown.
[0212] The memory 1302 can be used to store software programs and modules, such as the program instructions / modules corresponding to the method and apparatus for displaying match rankings in this embodiment. The processor 1304 executes various functional applications and data processing by running the software programs and modules stored in the memory 1302, thereby realizing the aforementioned method for displaying match rankings. The memory 1302 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 1302 may further include memory remotely located relative to the processor 1304, and these remote memories can be connected to the terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. Specifically, the memory 1302 may be used, but is not limited to, to store information such as target virtual tasks, battle attribute values, and target match rankings. As an example, such as Figure 13 As shown, the memory 1302 may include, but is not limited to, the operation unit 1202, acquisition unit 1204, first determination unit 1206, and first display unit 1208 in the game ranking display device. Furthermore, it may include, but is not limited to, other module units in the game ranking display device, which will not be elaborated upon in this example.
[0213] Optionally, the transmission device 1306 described above is used to receive or send data via a network. Specific examples of the network described above may include wired networks and wireless networks. In one example, the transmission device 1306 includes a Network Interface Controller (NIC), which can be connected to other network devices and a router via a network cable to communicate with the Internet or a local area network. In another example, the transmission device 1306 is a Radio Frequency (RF) module, used for wireless communication with the Internet.
[0214] In addition, the aforementioned electronic device also includes: a display 1308 for displaying information such as the target virtual task, battle attribute values, and target match ranking; and a connection bus 1310 for connecting the various module components in the aforementioned electronic device.
[0215] In other embodiments, the aforementioned terminal device or server can be a node in a distributed system, wherein the distributed system can be a blockchain system, which is a distributed system formed by connecting multiple nodes through network communication. The nodes can form a peer-to-peer (P2P) network, and any form of computing device, such as a server, terminal, or other electronic device, can become a node in the blockchain system by joining this peer-to-peer network.
[0216] According to one aspect of this application, a computer program product is provided, comprising a computer program / instructions containing program code for performing the methods shown in the flowchart. In such embodiments, the computer program can be downloaded and installed from a network via a communication component, and / or installed from a removable medium. When the computer program is executed by a central processing unit, it performs various functions provided in embodiments of this application.
[0217] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0218] It should be noted that the computer system of the electronic device is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.
[0219] A computer system includes a Central Processing Unit (CPU), which performs various appropriate actions and processes based on programs stored in Read-Only Memory (ROM) or loaded from RAM. ROM also stores various programs and data required for system operation. The CPU, ROM, and RAM are interconnected via a bus. Input / output interfaces (I / O interfaces) are also connected to the bus.
[0220] The following components are connected to the input / output interface: input sections including keyboards, mice, etc.; output sections including cathode ray tubes (CRTs), liquid crystal displays (LCDs), and speakers; storage sections including hard drives; and communication sections including network interface cards such as LAN cards and modems. The communication section performs communication processing via a network such as the Internet. Drives are also connected to the input / output interface as needed. Removable media, such as disks, optical discs, magneto-optical discs, semiconductor memories, etc., are installed on the drive as needed so that computer programs read from them can be installed into the storage section as required.
[0221] Specifically, according to embodiments of this application, the processes described in the various method flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication component, and / or installed from a removable medium. When the computer program is executed by a central processing unit, it performs various functions defined in the system of this application.
[0222] According to one aspect of this application, a computer-readable storage medium is provided, wherein a processor of a computer device reads computer instructions from the computer-readable storage medium, and executes the computer instructions, causing the computer device to perform the methods provided in the various alternative implementations described above.
[0223] Optionally, in this embodiment, the computer-readable storage medium described above may be configured to store a computer program for performing the following steps:
[0224] S1, run a target virtual task in the client involving at least three virtual accounts;
[0225] S2, During the execution of the target virtual task, when the target virtual account using the client reaches the end condition of the game, the combat attribute value of each virtual account other than the target virtual account among at least three virtual accounts is obtained. The combat attribute value of each virtual account other than the target virtual account among at least three virtual accounts includes the target combat attribute value of the virtual account that has not yet reached the end condition of the game among at least three virtual accounts. The combat attribute value is related to the combat result of the virtual account in the target virtual task. The end condition of the game indicates that the combat attribute value of the virtual account is less than or equal to the target threshold. The target combat attribute value is the minimum combat attribute value corresponding to the virtual account when the combat result is a failure.
[0226] S3, based on the battle attribute values of each of the at least three virtual accounts excluding the target virtual account, determine the target virtual account's ranking in the target virtual mission when the match ends.
[0227] S4 displays the target's ranking in the prompt message triggered when the target virtual account reaches the end condition of the game.
[0228] Optionally, in this embodiment, those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing the hardware related to the terminal device. The program can be stored in a computer-readable storage medium, which may include: flash drive, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0229] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0230] If the integrated units in the above embodiments are implemented as software functional units and sold or used as independent products, they can be stored in the aforementioned computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause one or more computer devices (which may be personal computers, servers, or network devices, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application.
[0231] In the above embodiments of this application, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0232] In the several embodiments provided in this application, it should be understood that the disclosed client can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces, indirect coupling or communication connection between units or modules, and may be electrical or other forms.
[0233] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0234] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0235] The above description is only a preferred embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.
Claims
1. A method for displaying game rankings, characterized in that, include: Run a target virtual task involving at least three virtual accounts on the client side; During the execution of the target virtual task, when the target virtual account using the client reaches the end-of-game condition, the combat attribute value of each virtual account other than the target virtual account among the at least three virtual accounts is obtained. The combat attribute value of each virtual account other than the target virtual account among the at least three virtual accounts includes the target combat attribute value of the virtual account that has not yet reached the end-of-game condition. The combat attribute value is related to the combat result of the virtual account in the target virtual task. The end-of-game condition indicates that the combat attribute value of the virtual account is less than or equal to a target threshold. The target combat attribute value is the minimum combat attribute value corresponding to the virtual account when the combat result is a failure. Determining the target match ranking in the target virtual task based on the match attribute values of each virtual account (excluding the target virtual account) among the at least three virtual accounts includes: comparing the target match attribute values of the virtual accounts that have not yet reached the match end condition with the target threshold; identifying a first virtual account whose target match attribute value is less than or equal to the target threshold from among the at least three virtual accounts that have not yet reached the match end condition; and determining the target match ranking based on the target match attribute value of the first virtual account and the end match attribute value of the target virtual account when it reaches the match end condition. The target virtual account's ranking in the match is displayed in the notification message triggered when the match ends.
2. The method according to claim 1, characterized in that, The step of determining the target match ranking based on the target match attribute value of the first virtual account and the end match attribute value of the target virtual account when the match ends includes: The target battle attribute value of the first virtual account is compared with the end battle attribute value, and a first target virtual account whose target battle attribute value is greater than the end battle attribute value is determined from the first virtual account. It is determined that the ranking of the first target virtual account in the target virtual task is lower than the ranking of the target virtual account in the target virtual task.
3. The method according to claim 1, characterized in that, The step of determining the target match ranking in the target virtual task when the target virtual account reaches the match end condition based on the combat attribute values of each virtual account other than the target virtual account among the at least three virtual accounts includes: If the at least three virtual accounts include a second virtual account that has reached the end of the game condition, the battle attribute value of the second virtual account is compared with the end battle attribute value of the target virtual account when the end of the game condition is reached. From the second virtual account, a second target virtual account whose battle attribute value is greater than the end battle attribute value and a third target virtual account whose battle attribute value is less than or equal to the end battle attribute value are determined. The target match ranking is determined based on the battle attribute value of the second target virtual account, the battle attribute value of the third target virtual account, and the end-of-battle attribute value.
4. The method according to claim 3, characterized in that, The step of determining the target match ranking based on the battle attribute value of the second target virtual account, the battle attribute value against the third target virtual account, and the ended battle attribute value includes: The ranking of the second target virtual account in the target virtual task is determined to be greater than that of the target virtual account in the target virtual task, and the ranking of the third target virtual account in the target virtual task is determined to be less than or equal to that of the target virtual account in the target virtual task.
5. The method according to claim 1, characterized in that, During the execution of the target virtual task, when the target virtual account using the client reaches the end-of-game condition, the player obtains the battle attribute values of each of the at least three virtual accounts, excluding the target virtual account, including: During the operation of the target virtual task, when the battle virtual account reaches the end condition of the game, each group of virtual accounts that are playing in the target virtual task is determined, wherein each group of virtual accounts includes any two virtual accounts other than the battle virtual account among the at least three virtual accounts. The battle reference value and the initial battle attribute value of the first battle virtual account in each group of virtual accounts are obtained, as well as the battle reference value and the initial battle attribute value of the second battle virtual account in each group of virtual accounts, wherein the battle reference value is used to determine the battle result of a group of virtual accounts. The target battle attribute value of the first battle virtual account in each group of virtual accounts is obtained by reducing the initial battle attribute value of the first battle virtual account in the same group of virtual accounts based on the battle reference value of the second battle virtual account in each group of virtual accounts. The target battle attribute value of the second battle virtual account in each group of virtual accounts is obtained by reducing the initial battle attribute value of the second battle virtual account in the same group of virtual accounts based on the battle reference value of the first battle virtual account in each group of virtual accounts.
6. The method according to claim 5, characterized in that, After running the target virtual task involving at least three virtual accounts in the client, the process includes: Based on the battle reference value of the first battle virtual account in each group of virtual accounts and the battle reference value of the second battle virtual account in each group of virtual accounts, the accounts in each group of virtual accounts whose battle result is successful and whose battle result is unsuccessful are determined, as well as the post-battle reference information of the accounts in each group of virtual accounts whose battle result is successful and the post-battle reference information of the accounts in each group of virtual accounts whose battle result is unsuccessful. The post-battle reference information is the reference information remaining after the battle reference value is consumed by the battle. Based on the post-battle reference information of the accounts that successfully fought in each group of virtual accounts, the initial battle attribute values of the accounts that lost in each group of virtual accounts are reduced to obtain the actual battle attributes of the accounts that lost in each group of virtual accounts. The virtual account whose actual battle attribute value is less than or equal to the target threshold has reached the end condition of the game.
7. The method according to claim 1, characterized in that, The target virtual task, which involves at least three virtual accounts running in the client, includes: A target virtual mission is run in the client, in which at least three virtual objects participate in the battle, wherein each of the at least three virtual accounts controls at least one of the virtual objects.
8. The method according to claim 7, characterized in that, The step of determining the target match ranking in the target virtual task when the target virtual account reaches the match end condition based on the combat attribute values of each virtual account other than the target virtual account among the at least three virtual accounts includes: Based on the battle attribute values of each of the at least three virtual accounts excluding the target virtual account, simulate the battle situation of the virtual objects excluding the target virtual object among the at least three virtual objects, and obtain the simulated battle results of the virtual objects excluding the target virtual object among the at least three virtual objects; The simulated match rankings of the virtual accounts other than the target virtual account among the at least three virtual accounts are determined based on the simulated match results. The target virtual account's ranking in the target virtual task is adjusted based on the simulated match ranking to obtain the target match ranking.
9. The method according to claim 8, characterized in that, The step of simulating the battle situation of the virtual objects other than the target virtual object among the at least three virtual objects based on the battle attribute values of each virtual account other than the target virtual account among the at least three virtual accounts, and obtaining the simulated battle results of the virtual objects other than the target virtual object among the at least three virtual objects, includes: If each of the at least three virtual accounts, excluding the target virtual account, has multiple battle attribute values, the average battle attribute value of these multiple battle attribute values is used to simulate the battle situation of the virtual objects excluding the target virtual object among the at least three virtual objects, and the simulated battle result is obtained; or, the maximum or minimum extreme battle attribute value among the multiple battle attribute values is used to simulate the battle situation of the virtual objects excluding the target virtual object among the at least three virtual objects, and the simulated battle result is obtained.
10. The method according to any one of claims 7 to 9, characterized in that, During the execution of the target virtual task, when the target virtual account using the client reaches the end-of-game condition, the player obtains the battle attribute values of each of the at least three virtual accounts, excluding the target virtual account, including: During the execution of the target virtual task, when the target virtual account among the at least three virtual accounts is eliminated, or when the target virtual account reaches the end condition of the game, the battle attribute value of each virtual account other than the target virtual account among the at least three virtual accounts is obtained, wherein the battle attribute value includes at least one of the following: the control attribute value of the virtual account other than the target virtual account among the at least three virtual accounts, and the battle attribute value of the virtual object controlled by the virtual account other than the target virtual account among the at least three virtual accounts.
11. The method according to any one of claims 1 to 9, characterized in that, The process of running a target virtual task involving at least three virtual accounts in the client includes: running a virtual subtask in the current round in the client, wherein the target virtual task includes at least one round of virtual subtasks; The step of displaying the target match ranking in the prompt message triggered when the target virtual account reaches the match end condition includes: displaying the match ranking of each of the at least three virtual accounts in the target virtual task when at least one round of virtual sub-tasks has ended.
12. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein the program, when executed, performs the method described in any one of claims 1 to 11.
13. A computer program product comprising a computer program / instructions, characterized in that, When the computer program / instructions are executed by the processor, they implement the steps of the method described in any one of claims 1 to 11.
14. An electronic device comprising a memory and a processor, characterized in that, The memory stores a computer program, and the processor is configured to execute the method described in any one of claims 1 to 11 through the computer program.
Citation Information
Patent Citations
Dynamic Event-Based Ranking Methods and Systems
US20210308588A1
