Information Prompting Method, Device, Terminal Device and Readable Storage Medium
By identifying the virtual character selection interface and automatically recommending virtual characters in a multiplayer online tactical competitive game, the problem of players lacking reference information when selecting characters is solved, improving the game experience and winning rate, and achieving applicability to any MOBA game.
Patent Information
- Application Number
- CN202111408598.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-19
- Publication Date
- 2025-06-17
- Estimated Expiration
- 2041-11-19
AI Technical Summary
In multiplayer online tactical competitive games, players lack reference information when choosing virtual characters, resulting in their own experience reliance on their own experience, affecting the game winning rate, and the existing game character recommendation function relies on proprietary servers, which lacks universality.
By identifying the virtual character selection interface of the game, virtual characters are automatically recommended, and the terminal device itself realizes the game character recommendation function, which is suitable for any multiplayer online tactical competitive game.
It improves the player's gaming experience, allowing players to not only rely on their own experience when choosing virtual characters, but also refer to recommended information, thereby improving the game's winning rate and achieving applicability to any MOBA game.
Smart Images

Figure CN114028812B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of electronic devices, and in particular, to an information prompting method, apparatus, terminal device, and readable storage medium. Background Art
[0002] In practice, it is found that in existing Multiplayer Online Battle Arena (MOBA) games, the reference information for players to select game characters is usually scarce. Therefore, most players rely on their own experience to select game characters, which is not conducive to the winning rate of the game teams where the players are located. In addition, for some MOBA games with a game character recommendation function, this game character recommendation function often relies on the proprietary server of the game and does not have universality. Summary of the Invention
[0003] Embodiments of this application provide an information prompting method, apparatus, terminal device, and readable storage medium, which can automatically recommend virtual characters when players select virtual characters, improving the gaming experience of players.
[0004] In a first aspect, an embodiment of this application discloses an information prompting method, which is applicable to a terminal device and includes:
[0005] Identifying a virtual character selection interface of a target game; wherein, the virtual character selection interface includes a first area and a second area, the first area is used to display the character elements of the virtual characters selected by one's own team, and the second area is used to display the character elements of the virtual characters selected by the opposing team;
[0006] When it is identified that the first area includes the virtual character elements of at least one first virtual character, determining a first recommended virtual character according to the at least one first virtual character and displaying the character information of the first recommended virtual character; or, when it is identified that the second area includes the virtual character elements of at least one second virtual character, determining a second recommended virtual character according to the at least one second virtual character and displaying the character information of the second recommended virtual character.
[0007] In a second aspect, an embodiment of this application discloses an information prompting apparatus, including:
[0008] An identification unit, configured to identify a virtual character selection interface of a target game; wherein, the virtual character selection interface includes a first area and a second area, the first area is used to display the character elements of the virtual characters selected by one's own team, and the second area is used to display the character elements of the virtual characters selected by the opposing team;
[0009] A processing unit, configured to determine a first recommended virtual character according to the at least one first virtual character and display role information of the first recommended virtual character when it is recognized that the first area contains virtual character elements of at least one first virtual character; or, when it is recognized that the second area contains virtual character elements of at least one second virtual character, determine a second recommended virtual character according to the at least one second virtual character and display role information of the second recommended virtual character.
[0010] A third aspect of the embodiments of the present application discloses a terminal device, including:
[0011] A memory storing executable program code;
[0012] A processor coupled to the memory;
[0013] The processor calls the executable program code stored in the memory and executes the method described in the first aspect of the embodiments of the present application.
[0014] A fourth aspect of the embodiments of the present application discloses a computer-readable storage medium, on which a computer program is stored, and the computer program includes a method for executing the first aspect of the embodiments of the present application.
[0015] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:
[0016] In the embodiments of the present application, a virtual character selection interface of a target game is recognized; wherein, the virtual character selection interface includes a first area and a second area, the first area is used to display virtual character elements selected by one's own team, and the second area is used to display virtual character elements selected by the opponent team; when it is recognized that the first area contains at least one first virtual character, a first recommended virtual character is determined according to the at least one first virtual character and the role information of the first recommended virtual character is displayed; or, when it is recognized that the second area contains virtual character elements of at least one second virtual character, a second recommended virtual character is determined according to the at least one second virtual character and the role information of the second recommended virtual character is displayed.
[0017] By implementing this method, when a player selects a virtual character, the virtual character selection interface of the game can be recognized to determine the virtual character selection situation of the player's own team / opposing team. Then, based on the virtual character selection situation of the player's own team or the opposing team, the recommended virtual character corresponding to the player's own team can be obtained. Finally, the character information of the recommended virtual character is displayed for the player's reference. On the one hand, the function of automatically recommending virtual characters when a player selects a virtual character is realized, enabling the player's selection of game characters to not be limited to their own experience only, and greatly improving the player's gaming experience. On the other hand, this game character recommendation function is fully implemented by the terminal device itself and is applicable to any MOBA, with strong universality. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] To more clearly illustrate the technical solutions of the embodiments of the present application, the accompanying drawings required for describing the embodiments and the prior art will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present application, and other drawings can also be obtained based on these drawings.
[0019] Figure 1A It is a flowchart of an information prompt method disclosed in an embodiment of the present application;
[0020] Figure 1B It is a diagram of a virtual character selection interface disclosed in an embodiment of the present application;
[0021] Figure 1C It is a diagram of another virtual character selection interface disclosed in an embodiment of the present application;
[0022] Figure 1D It is a diagram of yet another virtual character selection interface disclosed in an embodiment of the present application;
[0023] Figure 1E It is a diagram of yet another virtual character selection interface disclosed in an embodiment of the present application;
[0024] Figure 2A It is a flowchart of another information prompt method disclosed in an embodiment of the present application;
[0025] Figure 2B It is a schematic diagram of a virtual character disabling interface disclosed in an embodiment of the present application;
[0026] Figure 2C It is a schematic diagram of another virtual character disabling interface disclosed in an embodiment of the present application;
[0027] Figure 3 It is a block diagram of the structure of an information prompt device disclosed in an embodiment of the present application;
[0028] Figure 4It is a block diagram of a terminal device disclosed in an embodiment of the present application. Detailed implementation manners
[0029] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
[0030] It should be noted that the terms "including" and "having" and any variations thereof in the embodiments of the present application are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but optionally further includes steps or units not listed, or optionally further includes other steps or units inherent to these processes, methods, products, or devices.
[0031] It can be understood that the terms "first", "second", etc. used in the present application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, without departing from the scope of the present application, the first virtual character may be referred to as the second virtual character, and similarly, the second virtual character may be referred to as the first virtual character. Both the first virtual character and the second virtual character are virtual characters, but they are not the same virtual character. In addition, it should be noted that the term "plural" used in the embodiments of the present application refers to two or more.
[0032] It should be noted that the execution subject of the information prompt method disclosed in the embodiments of the present application may be a terminal device.
[0033] It can be understood that the terminal device involved in the embodiments of the present application may include general electronic terminal devices, such as mobile phones, smart phones, portable terminals, terminals, personal digital assistants (PDAs), portable multimedia player (PMP) devices, laptop computers, notebooks, wireless broadband (Wibro) terminals, tablet computers (PCs), smart PCs, point of sales (POS) terminals, and in-vehicle terminals, etc.
[0034] The terminal device may also include a wearable device. A wearable device is a portable electronic device that can be directly worn on the user's body or integrated into the user's clothing or accessories. A wearable device is not just a hardware device, but can also achieve powerful intelligent functions through software support, data interaction, and cloud interaction, such as computing functions, positioning functions, and alarm functions. At the same time, it can also be connected to mobile phones and various terminals. Wearable devices may include, but are not limited to, watch-type devices supported by the wrist (such as watches, bracelets, etc.), shoes-type devices supported by the feet (such as shoes, socks, or other products worn on the legs), Glass-type devices supported by the head (such as glasses, helmets, headbands, etc.), as well as smart clothing, schoolbags, crutches, accessories, and other non-mainstream product forms.
[0035] Please refer to Figure 1A , Figure 1A which is a schematic flowchart of an information prompt method disclosed in an embodiment of the present application. As Figure 1A shown, the information prompt method may include the following steps:
[0036] 101. Identify the virtual character selection interface of the target game; wherein, the virtual character selection interface includes a first area and a second area. The first area is used to display the character elements of the virtual characters selected by one's own team, and the second area is used to display the character elements of the virtual characters selected by the opposing team.
[0037] Among them, the target game may be any multiplayer online battle arena (MOBA) game running on the terminal device. The first area refers to the interface area designed in the game interface for displaying the information of one's own team, and the second area refers to the interface area designed in the game interface for displaying the information of the opposing team.
[0038] In some embodiments, identifying the virtual character selection interface of the target game may include: respectively extracting the first area, the second area, and the third area in the game interface currently displayed by the target game; when there is character selection indication information in the third area, determining that the game interface is a virtual character selection interface, and respectively identifying the first area and the second area.
[0039] Among them, the third area indicates the interface area designed in the game interface for displaying user indication information. The third area can be located in the upper area, lower area, middle area, left area or right area of the currently displayed game interface, which is not limited in the embodiments of the present application. Exemplarily, the third area is located in the upper area of the currently displayed game interface. Among them, the character selection indication information is used to prompt the player to select a character. Optionally, the character selection indication information can include any one or a combination of several of text, numbers, and letters. Exemplarily, the character selection indication information can include "Select Character".
[0040] In some embodiments, before separately extracting the first area, second area, and third area in the game interface currently displayed by the target game, the game interface currently displayed by the target game can also be captured as a screenshot.
[0041] Optionally, the first area / second area can be located in the upper area, lower area, middle area, left area or right area of the game interface, which is not limited in the embodiments of the present application. Among them, the left area is the area close to the user's left side in the game interface, and the right area is the area close to the user's right side on the game interface. Exemplarily, both the first area and the second area can be located in the left area of the game interface. Exemplarily, the first area can be located in the left area of the game interface, and the second area can be located in the right area of the game interface.
[0042] In some embodiments, the character elements can include but are not limited to at least one of the following: character information, position information, timestamp information, color information, etc. Among them, the character information is used to uniquely identify the virtual character, and the timestamp information is used to indicate the selection time of the virtual character.
[0043] In some embodiments, the character information of the first virtual character can include the avatar and / or character identifier of the first virtual character, the position information can be used to indicate the position of the avatar, and the color information can indicate the chroma of the avatar.
[0044] In some embodiments, the virtual characters in the first area can include the selected and / or preselected virtual characters of the player's own team, which is not limited in the embodiments of the present application. Among them, the chroma of the selected virtual character is greater than the chroma threshold, and the chroma of the preselected virtual character is less than or equal to the chroma threshold.
[0045] It should be noted that the following embodiments are mainly described by taking the selected virtual characters of the player's own team as an example.
[0046] In some embodiments, the first area can include the player identifiers corresponding to the player's own team. It can be understood that the number of player identifiers corresponding to the player's own team is the same as the number of players corresponding to the player's own team. Among them, the player identifier can include at least one of the following: text, numbers, letters, and special characters, etc.
[0047] In some embodiments, the player identifier may consist of text and numbers, such as "Player 1".
[0048] In some embodiments, the first area may further include a rectangular box corresponding to each player identifier, and the rectangular box is used to display the avatar of the virtual character selected by the corresponding player. Among them, the number of rectangular boxes included in the first area is the same as the number of player identifiers. For example, if there are 5 players in one's own team, the first area includes 5 player identifiers and 5 rectangular boxes.
[0049] In some embodiments, the rectangular boxes included in the first area may be arranged in sequence from top to bottom in the left area of the game interface, and the player identifier corresponding to each rectangular box may be on the left or right side of the rectangular box, which is not limited in the embodiments of the present application.
[0050] It should be noted that for the detailed introduction of the second area, please refer to the above description of the first area, and it will not be repeated here.
[0051] In some embodiments, if the game interface is a virtual character selection interface, the virtual character selection interface may further include a virtual character selection area, and the virtual character selection area can be used to display the avatars of all or part of the virtual characters corresponding to the target game. It can be understood that the terminal device can determine the virtual character selected by the player from the virtual character selection area by detecting the character selection instruction input by the player. Among them, the virtual character selection area may be in the upper area, lower area, middle area, left area or right area of the currently displayed game interface, which is not limited in the embodiments of the present application.
[0052] In some embodiments, the virtual character selection area may include a first label, and the first label corresponds to all the virtual characters corresponding to the target game. It can be understood that if the first label is selected, the avatars of all the virtual characters corresponding to the target game are included in the virtual character selection area. Exemplarily, the text corresponding to the first label may be "All".
[0053] In some embodiments, the virtual character selection area may include a plurality of second labels, where each second label corresponds to a different category of virtual characters. It can be understood that if any second label is selected, the avatars of all the virtual characters of the character category indicated by the second label are included in the virtual character selection area. Exemplarily, if all the virtual characters corresponding to the target game are divided into category A, category B, category C, category D, category E and category F, the texts corresponding to the plurality of second labels are "Category A", "Category B", "Category C", "Category D", "Category E" and "Category F" respectively. If category A is selected, the virtual character selection area may include the avatars of all the virtual characters in category A.
[0054] In some embodiments, the virtual character selection area may include a dropdown box for displaying the character identifiers of all virtual characters in the target game. Among them, the character identifier may include at least one of the following: text, numbers, letters, special characters, etc. It can be understood that if the dropdown box is selected, the character identifiers of all virtual characters in the target game are displayed in a list form in the virtual character selection area. Exemplarily, the text corresponding to the dropdown box may be "Character Identifier".
[0055] Among them, the input methods for the selection operations of the first label, the second label, and the dropdown box may include, but are not limited to, voice input or touch input, etc., and the embodiments of the present application do not make limitations. It should be noted that when the first label, the second label, the dropdown box, and the avatar of the virtual character in the virtual character selection area are selected by the player, they all switch from the unselected state to the selected state.
[0056] In some embodiments, the first label, the second label, the dropdown box, and the avatar of the virtual character in the virtual character selection area do not have a background color in the unselected state and have a background color in the selected state. Among them, the background color may be a relatively conspicuous color. Exemplarily, the background color may be red, yellow, or green, etc.
[0057] Exemplarily, please refer to Figure 1B , Figure 1B is a diagram of a virtual character selection interface disclosed in an embodiment of the present application. Figure 1B The shown virtual character selection interface includes a first area 110 in the left area of the current display interface, a second area 120 in the right area of the current display interface, a third area 130 in the upper area of the current display interface, and a virtual character selection area 140 in the middle area of the current display interface. Among them, the first area 110 includes the player identifiers "Player 1", "Player 2", "Player 3", "Player 4", "Player 5" of the player's own team and a rectangular box corresponding to each player identifier. The second area 120 includes the player identifiers "Player 1", "Player 2", "Player 3", "Player 4", "Player 5" of the opposing team and a rectangular box corresponding to each player identifier. The third area 130 displays "Select Character", and the virtual character selection area displays a first label "All", second labels "Type A", "Type B", "Type C", "Type D", "Type E", "Type F", and a dropdown box "Character Identifier", and the first label "All", second labels "Type A", "Type B", "Type C", "Type D", "Type E", "Type F", and the dropdown box "Character Identifier" are all in the unselected state, and the virtual character selection area does not display the avatars of the virtual characters to be selected by the player.
[0058] Exemplarily, please refer to Figure 1C , Figure 1C which is a diagram of another virtual character selection interface disclosed in an embodiment of the present application. Figure 1C The virtual character selection interface shown includes a first area 110 in the left area of the current display interface, a second area 120 in the right area of the current display interface, a third area 130 in the upper area of the current display interface, and a virtual character selection area 140 in the middle area of the current display interface. Among them, the first area 110 includes player identifiers "Player 1", "Player 2", "Player 3", "Player 4", "Player 5" of the player's own team, and a rectangular box corresponding to each player identifier. The second area 120 includes player identifiers "Player 1", "Player 2", "Player 3", "Player 4", "Player 5" of the opposing team, and a rectangular box corresponding to each player identifier. The third area 130 displays "Select Character". The virtual character selection area displays a first label "All", second labels "Type A", second labels "Type B", second labels "Type C", second labels "Type D", second labels "Type E", second labels "Type F", and a drop-down box "Character Identifier". Among them, the first label "All", second labels "Type B", second labels "Type C", second labels "Type D", second labels "Type E", second labels "Type F", and the drop-down box "Character Identifier" are all in an unselected state, and the second label "Type A" is in a selected state. The virtual character selection area displays virtual characters of Type A corresponding to the target game.
[0059] 202. When it is recognized that the first area contains virtual character elements of at least one first virtual character, determine a first recommended virtual character according to the at least one first virtual character, and display the character information of the first recommended virtual character; or, when it is recognized that the second area contains virtual character elements of at least one second virtual character, determine a second recommended virtual character according to the at least one second virtual character, and display the character information of the second recommended virtual character.
[0060] In some embodiments, the above at least one first virtual character may include all the virtual characters already selected by the player's own team, or the most recently selected virtual character by the player's own team, and the embodiments of the present application do not make any limitations.
[0061] In some embodiments, when the above at least one first virtual character is a plurality of virtual characters already selected by the player's own team, determining a first recommended virtual character according to the at least one first virtual character may include: obtaining the recommended virtual character corresponding to each virtual character among the plurality of virtual characters already selected by the player's own team, and determining a first recommended virtual character according to the recommended virtual character corresponding to each virtual character. Among them, the recommended character corresponding to each virtual character and the virtual character may be in a partnership relationship with each other.
[0062] In some embodiments, determining the first recommended virtual character according to the recommended virtual characters corresponding to each virtual character may include, but is not limited to, the following methods:
[0063] Method 1: In the case where different virtual characters correspond to the same recommended virtual character, the recommended virtual character corresponding to multiple virtual characters is used as the first recommended virtual character;
[0064] Method 2: In the case where different virtual characters correspond to the same recommended virtual character, obtain the recommendation index of each recommended virtual character corresponding to multiple virtual characters; wherein, the recommendation index is related to the number of virtual characters corresponding to the recommended virtual character, and the recommendation index may be directly proportional to the number of virtual characters corresponding to the recommended virtual character; and, the recommended virtual character with a recommendation index greater than the index threshold is used as the first recommended virtual character.
[0065] Further, if the virtual characters already selected by one's own team include the most recently selected virtual character of one's own team, determining the first recommended virtual character according to the at least one first virtual character may include: using the recommended virtual character corresponding to the most recently selected virtual character of one's own team as the first recommended virtual character.
[0066] Regarding the introduction of the above at least one second virtual character, please refer to the above at least one first virtual character, which will not be elaborated here. It can be understood that for each virtual character or multiple virtual characters selected by one's own team, the corresponding first recommended virtual character can be determined according to the one or more virtual characters selected by one's own team. For each virtual character or multiple virtual characters selected by the opposing team, the corresponding second recommended virtual character is determined according to the one or more virtual characters selected by the opposing team.
[0067] In some embodiments, displaying the character information of the first recommended virtual character may include: displaying a floating window carrying the character information of the first recommended virtual character. Displaying the character information of the second recommended virtual character may include displaying a floating window carrying the character information of the second recommended virtual character.
[0068] In some embodiments, displaying a floating window carrying the character information of the first recommended virtual character may include, but is not limited to, the following:
[0069] Method 1: Within the first specified duration after determining the first recommended virtual character, display a floating window carrying the character information of the first recommended virtual character. Wherein, the first specified duration is a relatively short duration, and it can be understood that the first recommended virtual character is output immediately after determining the first recommended virtual character;
[0070] Method 2: During the next character selection period corresponding to one's own team, display a floating window carrying the character information of the first recommended virtual character. It can be understood that, for exampleFigure 1D As shown, the next character selection period corresponding to one's own team can represent the character selection period corresponding to "Player 2".
[0071] In some embodiments, a floating window carrying the character information of the first recommended virtual character can be displayed in the third area on the virtual character selection interface.
[0072] It should be noted that in the embodiments of the present application, for the display method of the character information of the second recommended virtual character, please refer to the first recommended virtual character, and details will not be described here.
[0073] In some embodiments, the first recommended virtual character includes a virtual character having a matching relationship with at least one first virtual character, and the second recommended virtual character includes a virtual character having a restraining relationship with at least one second virtual character. Among them, the virtual characters with a matching relationship can assist each other in game skills, and the virtual characters with a restraining relationship can restrain each other in game skills. The second recommended virtual character is used to restrain at least one second virtual character. One first virtual character can correspond to at least one first recommended virtual character having a partnership relationship with the first virtual character. One second virtual character can correspond to at least one second recommended virtual character that restrains the second virtual character.
[0074] In some embodiments, the character information of the first recommended virtual character can include the avatar and / or character identifier of the first recommended virtual character. The character information of the second recommended virtual character can include the avatar and / or character identifier of the second recommended virtual character.
[0075] Exemplarily, please refer to Figure 1D , Figure 1D which is a diagram of another virtual character selection interface disclosed in the embodiments of the present application. Figure 1DThe virtual character selection interface shown includes a first area 110 in the left area of the current display interface, a second area 120 in the right area of the current display interface, a third area 130 in the upper area of the current display interface, and a virtual character selection area 140 in the middle area of the current display interface. Among them, in the first rectangle of the first area 110, the avatar of virtual character a selected by "Player 1" in one's own team is displayed, and there are no avatars of virtual characters in the remaining 4 rectangles. Among them, there are no avatars of virtual characters in the rectangles of the second area 120. The virtual character selection area displays a first label "All", second labels "Type A", "Type B", "Type C", "Type D", "Type E", "Type F", and a dropdown box "Character ID". Among them, the first label "All", the second labels "Type B", "Type C", "Type D", "Type E", "Type F", and the dropdown box "Character ID" are all in the unselected state, and the second label "Type A" is in the selected state. The virtual character selection area displays the Type A virtual characters corresponding to the target game. The third area 130 displays the avatar of virtual character a, the text "Best Partner", and the avatar of virtual character c.
[0076] Exemplarily, please refer to Figure 1E , Figure 1E which is a diagram of another virtual character selection interface disclosed in the embodiments of the present application. Figure 1E The virtual character selection interface shown includes a first area 110 in the left area of the current display interface, a second area 120 in the right area of the current display interface, a third area 130 in the upper area of the current display interface, and a virtual character selection area 140 in the middle area of the current display interface. Among them, there are no avatars of virtual characters in the rectangles of the first area 110. Among them, in the first rectangle of the second area 120, the avatar of virtual character b selected by "Player 1" in the opposing team is displayed, and there are no avatars of virtual characters in the remaining 4 rectangles. The virtual character selection area displays a first label "All", second labels "Type A", "Type B", "Type C", "Type D", "Type E", "Type F", and a dropdown box "Character ID". Among them, the first label "All", the second labels "Type B", "Type C", "Type D", "Type E", "Type F", and the dropdown box "Character ID" are all in the unselected state, and the second label "Type A" is in the selected state. The virtual character selection area displays the Type A virtual characters corresponding to the target game. The third area 130 displays the avatar of virtual character b, the text "Restraint Relationship", and the avatar of virtual character d.
[0077] By implementing this method, when a player selects a virtual character, the virtual character selection interface of the game can be recognized to determine the virtual character selection situation of the player's own team / opposing team. Then, based on the virtual character selection situation of the player's own team / opposing team, the recommended virtual character corresponding to the player's own team can be obtained. Finally, the character information of the recommended virtual character is displayed for the player to refer to. On the one hand, the function of automatically recommending virtual characters when a player selects a virtual character is realized, enabling the player's selection of game characters to not be limited to their own experience, greatly improving the player's gaming experience. On the other hand, this game character recommendation function is completely implemented by the terminal device itself and is applicable to any MOBA, with strong universality.
[0078] Please refer to Figure 2A , Figure 2A which is a schematic flowchart of another information prompting method disclosed in an embodiment of the present application. As Figure 2A shown, the information prompting method may include the following steps:
[0079] 201. When running the target game, recognize the currently displayed game interface.
[0080] In some embodiments, recognizing the currently displayed game interface may include, but is not limited to, the following methods:
[0081] Method 1: Extract the third area in the currently displayed game interface, and when there is character ban indication information in the third area, determine that the game interface is a virtual character ban interface.
[0082] Method 2: Extract the first area and the second area in the currently displayed game interface respectively; when the first area indicates that the virtual characters of the player's own team are in a selection waiting state and the second area indicates that the virtual characters of the opposing team are in a selection waiting state, determine that the game interface is a virtual character ban interface. The virtual characters of the player's own team being in a selection waiting state means that any player in the player's own team cannot select a character, and the virtual characters of the opposing team being in a selection waiting state means that any player in the opposing team cannot select a character.
[0083] In some embodiments, the character ban indication information is used to prompt the player to ban a character. Optionally, the character ban indication information may include any one or several combinations of text, numbers, and letters. Exemplarily, the character ban indication information may be "Ban Character".
[0084] 202. If the recognition result indicates that the game interface is a virtual character ban interface, display the character information of the recommended virtual characters to be banned.
[0085] In some embodiments, displaying the character information of a disabled recommended virtual character may include: displaying a floating window carrying the character information of the disabled recommended virtual character.
[0086] In the embodiments of the present application, before identifying the currently displayed game interface, the application identifier of the application in the startup state may also be obtained, and it is determined whether the application identifier of the application in the startup state includes the application identifier of the target game. If it includes, it is determined that the terminal device is running the target game, and then the currently displayed game interface is continuously identified.
[0087] In some embodiments, the currently displayed game interface may be obtained by using a screenshot tool. Among them, the screenshot tool may be a system application or a third-party application of the terminal device, which is not limited in the embodiments of the present application.
[0088] In some embodiments, if the currently displayed game interface is a virtual character disabling interface, the virtual character disabling interface may further include a virtual character selection area. For the description of the virtual character selection area, please refer to Figure 1A the introduction in the embodiments shown, which will not be elaborated here.
[0089] Please refer to Figure 2B , Figure 2B which is a schematic diagram of a virtual character disabling interface disclosed in the embodiments of the present application. Figure 2B The virtual character disabling interface shown includes a first area 110 in the left area of the currently displayed interface, a second area 120 in the right area of the currently displayed interface, a third area 130 in the upper area of the currently displayed interface, and a virtual character selection area 140 in the middle area of the currently displayed interface. Among them, the first area 110 includes the player identifiers "Player 1", "Player 2", "Player 3", "Player 4", "Player 5" of the own team and a rectangular box corresponding to each player identifier. The second area 120 includes the player identifiers "Player 1", "Player 2", "Player 3", "Player 4", "Player 5" of the opposing team and a rectangular box corresponding to each player identifier. The third area 130 displays "Disable Character", and the virtual character selection area displays a first label "All", second labels "Class A", "Class B", "Class C", "Class D", "Class E", "Class F", and a dropdown box "Character Identifier". Among them, the first label "All", the second labels "Class A", "Class B", "Class C", "Class D", "Class E", "Class F", and the dropdown box "Character Identifier" are all in the unselected state, and the avatars of the virtual characters to be selected by the player are not displayed in the virtual character selection area.
[0090] In some embodiments, the floating window carrying the role information of the disabled recommended virtual character may be in the third area on the virtual character disabling interface.
[0091] In some embodiments, the role information of the disabled recommended virtual character may include the role identifier corresponding to the disabled recommended virtual character.
[0092] In some embodiments, the role information of the disabled recommended virtual character may include the avatar and the disabling rate corresponding to the disabled recommended virtual character.
[0093] In some embodiments, disabling the recommended virtual character includes one or more of the following:
[0094] The first case: in the target game, the virtual character whose disabling rate is higher than the first disabling rate threshold during the target period; wherein, the target period may indicate the corresponding period of the current season of the target game, or may also be a week, a month, a quarter, etc., which is not limited in the embodiments of the present application.
[0095] The second case: in the target game, the virtual character whose disabling rate corresponding to the game ranking level of one's own team is higher than the second disabling rate threshold.
[0096] In some embodiments, determining the virtual character whose disabling rate corresponding to the game ranking level of one's own team is higher than the second disabling rate threshold may include: obtaining the game levels corresponding to each player in one's own team, and based on the game levels corresponding to each player in one's own team, obtaining the game ranking level of one's own team, and obtaining the virtual character whose disabling rate corresponding to this game ranking level is higher than the second disabling rate threshold.
[0097] It can be understood that in a multiplayer online battle arena game, the game server usually forms a team with players having a small difference in ranking levels. In this way, there is usually a small difference between the game ranking levels of one's own team and the opponent team. By implementing this method, the virtual character with a high disabling rate corresponding to the game ranking level can be obtained, making the recommended disabled recommended virtual character more in line with the needs of players.
[0098] The third case: the virtual character in the virtual character library of the opponent team whose winning rate is higher than the winning rate threshold.
[0099] Among them, the virtual character library of the opponent team may include the virtual characters that each player of the opponent team is good at, and the winning rate corresponding to each virtual character. By implementing this method, the virtual characters that the players of the opponent team are good at and have a high winning rate can be disabled, further improving the winning rate of one's own team.
[0100] Please refer to Figure 2C , Figure 2C which is a schematic diagram of another virtual character disabling interface disclosed in the embodiments of the present application.Figure 2C The virtual character disabling interface shown includes a first area 110 in the left area of the current display interface, a second area 120 in the right area of the current display interface, a third area 130 in the upper area of the current display interface, and a virtual character selection area 140 in the middle area of the current display interface. Among them, the first area 110 includes player identifiers of one's own team, namely "Player 1", "Player 2", "Player 3", "Player 4", "Player 5", and a rectangular box corresponding to each player identifier. The second area 120 includes player identifiers of the opposing team, namely "Player 1", "Player 2", "Player 3", "Player 4", "Player 5", and a rectangular box corresponding to each player identifier. The third area 130 displays the avatar of the recommended virtual character e to be disabled and the disabling rate of 80%. The virtual character selection area displays a first label "All", second labels "Class A", "Class B", "Class C", "Class D", "Class E", "Class F", and a dropdown box "Character Identifier". Among them, the first label "All", the second labels "Class B", "Class C", "Class D", "Class E", "Class F", and the dropdown box "Character Identifier" are all in the unselected state, and the second label "Class A" is in the selected state. The virtual character selection area displays the Class A virtual characters corresponding to the target game.
[0101] 203. If the recognition result indicates that the game interface is a virtual character selection interface, recognize the virtual character selection interface, where the virtual character selection interface includes a first area and a second area. The first area is used to display the character elements of the virtual characters selected by one's own team, and the second area is used to display the character elements of the virtual characters selected by the opposing team.
[0102] Among them, in the embodiments of the present application, the character elements may include the avatars of virtual characters.
[0103] In some embodiments, recognizing the virtual character selection interface may include: respectively calculating a first hash value corresponding to the first area and a second hash value corresponding to the second area in the virtual character selection interface; comparing the first hash value and the second hash value with the target hash values corresponding to the avatars of each virtual character stored in advance to obtain a first hash similarity between the first hash value and each target hash value, and a second hash similarity between the second hash value and each target hash value; determining the screen content of the first area according to the first hash similarity; and determining the screen content of the second area according to the second hash similarity.
[0104] Among them, the first hash value may indicate the hash values of the avatars of the virtual characters displayed in the first area, and the second hash value may indicate the hash values of the avatars of the virtual characters displayed in the second area. The hash value of the avatar of a virtual character is related to the pixel values of the avatar of the virtual character, and can characterize the image features of the avatar of the virtual character.
[0105] Further, in some embodiments, calculating the first hash value corresponding to the first area and the second hash value corresponding to the second area in the virtual character selection interface may include: calculating, through a hash algorithm, the hash values of the avatars of the virtual characters displayed in the first area and the hash values of the avatars of the virtual characters displayed in the second area in the virtual character selection interface. Among them, the hash algorithms disclosed in the embodiments of the present application may include, but are not limited to, at least one of the following: perception hashing (also known as pHash), average hashing (also known as aHash), difference hashing (also known as dHash), etc.
[0106] The following takes the target virtual character as an example for illustration. Among them, the target virtual character may be any virtual character in the first area, and the first hash value may include the first hash value corresponding to the target virtual character.
[0107] Compare the first hash value corresponding to the target virtual character with the target hash values corresponding to the avatars of each pre-stored virtual character respectively to obtain the first hash similarity between the first hash value corresponding to the target virtual character and each target hash value, and identify the target virtual character according to the first hash similarity.
[0108] In some embodiments, comparing the first hash value corresponding to the target virtual character with the target hash values corresponding to the avatars of each pre-stored virtual character respectively to obtain the first hash similarity between the first hash value corresponding to the target virtual character and each target hash value may include: calculating the first Hamming distance between the first hash value corresponding to the target virtual character and the target hash values corresponding to the avatars of each pre-stored virtual character, and obtaining the first hash similarity between the first hash value corresponding to the target virtual character and each target hash value according to the first Hamming distance.
[0109] In some embodiments, obtaining the first hash similarity between the first hash value corresponding to the target virtual character and each target hash value according to the first Hamming distance may include, but is not limited to, the following methods:
[0110] Method 1: Use the first Hamming distance between the first hash value corresponding to the target virtual character and each target hash value as the first hash similarity between the first hash value corresponding to the target virtual character and each target hash value. Among them, the smaller the value of the first hash similarity, the more similar the first hash value is to the corresponding target hash value. That is, the avatar of the target virtual character is more similar to the avatar of the virtual character corresponding to the target hash value.
[0111] Further, in some embodiments, identifying the target virtual character according to the first hash similarity may include: obtaining the first hash similarities less than the first similarity threshold in the first hash similarities corresponding to the target virtual character, and using the avatar of the virtual character corresponding to the target hash value corresponding to the first hash similarity as the avatar of the target virtual character.
[0112] Method 2: Calculate the first difference between the number of characters of the first hash value corresponding to the target virtual character and the first Hamming distance between each target hash value, and use the result of dividing each first difference by the number of characters as the first hash similarity between the first hash value corresponding to the target virtual character and each target hash value. Among them, the larger the value of the first hash similarity, the more similar the first hash value corresponding to the target virtual character is to the corresponding target hash value. That is, the avatar of the target virtual character is more similar to the avatar of the virtual character corresponding to the target hash value. Here, the number of characters can indicate the number of characters corresponding to the hash value (including the first hash value or the target hash value).
[0113] Further, in some embodiments, identifying the target virtual character according to the first hash similarity may include: obtaining the first hash similarities greater than the second similarity threshold in the first hash similarities corresponding to the target virtual character, and using the avatar of the virtual character corresponding to the target hash value corresponding to the first hash similarity as the avatar of the target virtual character. Among them, the second similarity threshold is greater than the first similarity threshold.
[0114] In some embodiments, the first similarity threshold and / or the second similarity threshold may be determined according to the second Hamming distance between the target hash values corresponding to every two virtual character avatars stored in advance.
[0115] Among them, determining the first similarity threshold according to each second Hamming distance may include: determining the first similarity threshold according to the smallest second Hamming distance among each second Hamming distance.
[0116] Among them, determining the second similarity threshold according to each second Hamming distance may include: respectively calculating the second difference between the target hash value corresponding to every two virtual character avatars and the corresponding second Hamming distance, and using the result of dividing the first difference by the number of characters as the similarity between every two virtual character avatars, and determining the second similarity threshold according to the maximum similarity.
[0117] Exemplarily, the following takes the first similarity threshold as an example for illustration: If the target game corresponds to 101 virtual characters for the user to select, and each virtual character corresponds to a target hash value, at this time, 101 * 50 second Hamming distances are obtained; if the minimum value among the 101 * 50 second Hamming distances is 16, then the first similarity threshold can be determined according to this minimum value of 16. For example, in order to reduce the interference caused by information such as image clarity, the first similarity threshold can be a value slightly higher than 16, such as 18.
[0118] It should be noted that for the recognition of virtual characters in the second region, please refer to the target virtual character recognition, which will not be elaborated here.
[0119] In some embodiments, the screen content of the first region may include the avatars of the virtual characters newly selected by the player in the first region, and the screen content of the second region may include the avatars of the virtual characters newly selected by the player in the second region.
[0120] 204. When it is recognized that the first region contains virtual character elements of at least one first virtual character, determine a first recommended virtual character according to the at least one first virtual character, and display the character information of the first recommended virtual character; or, when it is recognized that the second region contains virtual character elements of at least one second virtual character, determine a second recommended virtual character according to the at least one second virtual character, and display the character information of the second recommended virtual character.
[0121] In some embodiments, determining the first recommended virtual character according to at least one first virtual character may include, but is not limited to, the following methods:
[0122] Method 1: In the pre-established character partner library, search for the first recommended virtual character corresponding to each first virtual character among the at least one first virtual character; wherein, there is a matching relationship between each first virtual character and the first recommended virtual character corresponding to the first virtual character. Among them, the pre-established character partner library may store the character identifiers of each virtual character of the target game, and the character identifiers of the virtual characters having a partner relationship with each virtual character.
[0123] In some embodiments, the character partner library may be stored locally in the terminal device or in a cloud server communicatively connected to the terminal device, which is not limited in the embodiments of the present application. Among them, the character partner library may be obtained by the terminal device independently collecting, or may be provided by the game operator, which is not limited in the embodiments of the present application.
[0124] In some embodiments, after finding, from a pre-established partner library of virtual characters, the first recommended virtual character corresponding to each first virtual character among at least one first virtual character, the following steps may further be performed: obtaining a target user corresponding to the next character selection period of one's own team, and obtaining the virtual character corresponding to the target user.
[0125] Further, in some embodiments, displaying the character information of the first recommended virtual character may include: if the first recommended virtual character includes the virtual character corresponding to the target user, then in the next character selection period, displaying the character information of the virtual character corresponding to the target user included in the first recommended virtual character. Wherein, the target user may be the user of the terminal device or a teammate of the user of the terminal device. The virtual character corresponding to the target user may include the virtual character that the target user is good at.
[0126] Exemplarily, the first virtual character is virtual character a, and the virtual characters having a partner relationship with virtual character a include virtual character c and virtual character e. If the virtual character that the player corresponding to virtual character a is good at includes virtual character c, then the character information of the first recommended virtual character output includes virtual character c.
[0127] Method 2: Obtaining the first task attribute corresponding to each first virtual character; determining the second task attribute according to the first task attribute and the task matching relationship; and using the virtual character corresponding to the second task attribute as the first recommended virtual character.
[0128] In some embodiments, the task attributes of virtual characters of different character categories in the target game are different. Exemplarily, all the virtual characters corresponding to the target game are divided into category A, category B, category C, category D, category E, and category F. Among them, the virtual characters in category A correspond to the task attribute O, the virtual characters in category B correspond to the task attribute P, the virtual characters in category C correspond to the task attribute Q, the virtual characters in category D correspond to the task attribute R, the virtual characters in category E correspond to the task attribute S, and the virtual characters in category F correspond to the task attribute T.
[0129] Further, obtaining the first task attribute corresponding to each first virtual character may include: obtaining the target character category corresponding to each first virtual character, and using the task attribute corresponding to the target character category as the first task attribute of the first virtual character.
[0130] In the embodiments of the present application, there are at least two task attributes with a task matching relationship among the task attributes corresponding to the target game. Exemplarily, the virtual character corresponding to the task attribute O needs the virtual character corresponding to the task attribute P to assist in order to exert the maximum energy; the first virtual character is virtual character a, the task attribute corresponding to virtual character a is O, and the task attribute corresponding to virtual character e is P, then the character information of the first recommended virtual character output includes the character information of virtual character e.
[0131] In some embodiments, determining a second recommended virtual character according to at least one second virtual character may include: looking up, in a pre-established character restraint library, the second recommended virtual character corresponding to each second virtual character among the at least one second virtual character; wherein, there is a restraint relationship between each second virtual character and the second recommended virtual character corresponding to each second virtual character. Among them, the pre-established character partner library may store the character identifiers of each virtual character in the target game and the character identifiers of the virtual characters having a restraint relationship with each virtual character.
[0132] For the description of the character restraint library, please refer to the description of the character partner library, which will not be elaborated here.
[0133] In some embodiments, the second recommended virtual character may further include a virtual character having a partner relationship with at least one second virtual character. Among them, the virtual character having a partner relationship with at least one second virtual character may be looked up from a pre-established character partner library. For the acquisition method of the virtual character having a partner relationship with at least one second virtual character, please refer to the acquisition method of the first recommended virtual character, which will not be elaborated here.
[0134] Exemplarily, if the second virtual character is virtual character b and the virtual characters having a partner relationship with virtual character b include virtual character f, the character information of the output second recommended virtual character includes virtual character f.
[0135] By implementing the above method, when a player selects a virtual character, the virtual character selection situation of the player's own team / opponent team can be determined by recognizing the virtual character selection interface of the game, and then according to the virtual character selection situation of the player's own team / opponent team, the recommended virtual character corresponding to the player's own team can be obtained, and finally the character information of the recommended virtual character is displayed for the player to refer to. On the one hand, the function of automatically recommending virtual characters when the player selects virtual characters is realized, so that the player's selection of game characters is not limited to their own experience, greatly improving the player's gaming experience. On the other hand, this game character recommendation function is completely realized by the terminal device itself and is applicable to any MOBA, with strong universality. Further, since there is a matching relationship between the first recommended virtual character and the virtual characters already selected by the player's own team, and the second recommended virtual character has a restraint relationship with the game characters already selected by the opponent team, when the player uses the first recommended virtual character and / or the second recommended virtual character, the winning rate of the game team where the player is located is relatively high, further improving the player's gaming experience. On the other hand, when the player disables a virtual character, the recommended virtual character for disabling can also be automatically recommended, further improving the player's gaming experience.
[0136] Please refer toFigure 3 , Figure 3 is a structural block diagram of an information prompt device disclosed in an embodiment of the present application. As Figure 3 shown, the information prompt device may include an identification unit 301 and a processing unit 302; where:
[0137] The identification unit 301 is used to identify the virtual character selection interface of the target game; where the virtual character selection interface includes a first area and a second area, the first area is used to display the character elements of the virtual characters selected by one's own team, and the second area is used to display the character elements of the virtual characters selected by the other team;
[0138] The processing unit 302 is used to, when it is recognized that the first area contains the virtual character elements of at least one first virtual character, determine a first recommended virtual character according to the at least one first virtual character, and display the character information of the first recommended virtual character; or, when it is recognized that the second area contains the virtual character elements of at least one second virtual character, determine a second recommended virtual character according to the at least one second virtual character, and display the character information of the second recommended virtual character.
[0139] Furthermore, the identification unit 301 is further used to identify the currently displayed game interface when running the target game before identifying the virtual character selection interface of the target game.
[0140] The processing unit 302 is further used to, if the recognition result indicates that the game interface is a virtual character disabling interface, display the character information of the disabled recommended virtual character.
[0141] In some embodiments, the manner in which the identification unit 301 is used to identify the currently displayed game interface may specifically include:
[0142] The identification unit 301 is used to extract a third area in the currently displayed game interface, and when there is character disabling indication information in the third area, determine that the game interface is a virtual character disabling interface.
[0143] In some embodiments, disabling the recommended virtual character may include one or more of the following:
[0144] In the target game, the virtual character with a disabling rate higher than the first disabling rate threshold during the target period;
[0145] In the target game, the virtual character with a disabling rate corresponding to the game ranking level of the other team higher than the second disabling rate threshold;
[0146] The virtual character in the virtual character library of the other team with a winning rate higher than the winning rate threshold.
[0147] In some embodiments, the character information of the disabled recommended virtual character may include the avatar corresponding to the disabled recommended virtual character and the disabling rate.
[0148] The processing unit 302 may specifically display the role information of the disabled recommended virtual character in the following ways: The processing unit 302 is configured to display a floating window carrying the role information of the disabled recommended virtual character.
[0149] In some embodiments, the first recommended virtual character includes a virtual character having a matching relationship with at least one of the above-mentioned first virtual characters, and the second recommended virtual character includes a virtual character having a restraining relationship with at least one of the above-mentioned second virtual characters.
[0150] In some embodiments, the processing unit 302 may specifically determine the first recommended virtual character according to at least one first virtual character in the following ways: The processing unit 302 is configured to look up the first recommended virtual character corresponding to each first virtual character in the at least one first virtual character from a pre-established character partner library; wherein, there is a matching relationship between each first virtual character and the first recommended virtual character corresponding to each first virtual character.
[0151] In some embodiments, after the processing unit 302 is further configured to look up the first recommended virtual character corresponding to each first virtual character in the at least one first virtual character from a pre-established character partner library, the target user corresponding to the next character selection period of the own team is obtained, and the virtual character corresponding to the target user is obtained.
[0152] Further, the processing unit 302 may specifically display the role information of the first recommended virtual character in the following ways: If the first recommended virtual character includes the virtual character corresponding to the target user, then during the next character selection period, the role information of the virtual character corresponding to the target user included in the first recommended virtual character is displayed.
[0153] In some embodiments, the processing unit 302 may specifically determine the first recommended virtual character according to at least the first virtual character in the following ways: The processing unit 302 is configured to obtain the first task attribute corresponding to each first virtual character in the at least one first virtual character; determine the second task attribute according to the first task attribute and the task matching relationship; and use the virtual character corresponding to the second task attribute as the first recommended virtual character.
[0154] In some embodiments, the processing unit 302 may specifically determine the second recommended virtual character according to at least one second virtual character in the following ways: The processing unit 302 is configured to look up the second recommended virtual character corresponding to each second virtual character in the at least one second virtual character from a pre-established character restraint library; wherein, there is a restraining relationship between each second virtual character and the second recommended virtual character corresponding to each second virtual character.
[0155] In some embodiments, the second recommended virtual character may further include a virtual character having a partnership with the second virtual character.
[0156] In some embodiments, the way for the recognition unit 301 to recognize the virtual character selection interface of the target game may specifically include: The recognition unit 301 is configured to calculate the first hash value corresponding to the first area in the virtual character selection interface of the target game and the second hash value corresponding to the second area in the virtual character selection interface of the target game respectively; compare the first hash value and the second hash value with the target hash values corresponding to each virtual character avatar stored in advance to obtain the first hash similarity between the first hash value and each target hash value, and the second hash similarity between the second hash value and each target hash value; determine the screen content of the first area according to the first hash similarity; determine the screen content of the second area according to the second hash similarity.
[0157] Please refer to Figure 4 , Figure 4 which is a structural block diagram of a terminal device disclosed in an embodiment of the present application. As Figure 4 shown, the terminal device may include a processor 401 and a memory 402 coupled to the processor 401, wherein the memory 402 may store one or more computer programs.
[0158] The processor 401 may include one or more processing cores. The processor 401 connects various parts within the entire terminal device through various interfaces and lines, and executes various functions of the terminal device and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 402, and by calling data stored in the memory 402. Optionally, the processor 401 may be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), or programmable logic array (PLA). The processor 401 may integrate one or a combination of several of a central processing unit (CPU), a graphics processing unit (GPU), and a modem, etc. Among them, the CPU mainly processes the operating system, user interface, application programs, etc.; the GPU is responsible for rendering and drawing the display content; the modem is used to process wireless communication. It can be understood that the above modem may not be integrated into the processor 401 and may be implemented separately through a communication chip.
[0159] The memory 402 may include a Random Access Memory (RAM), or may also include a Read-Only Memory (ROM). The memory 402 can be used to store instructions, programs, codes, code sets, or instruction sets. The memory 402 may include a program storage area and a data storage area. Among them, the program storage area can store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above various method embodiments, etc. The data storage area can also store data created during the use of the terminal device, etc.
[0160] In the embodiments of the present application, the processor 401 also has the following functions:
[0161] Identify the virtual character selection interface of the target game; wherein, the virtual character selection interface includes a first area and a second area. The first area is used to display the character elements of the virtual characters selected by one's own team, and the second area is used to display the character elements of the virtual characters selected by the opposing team;
[0162] When it is recognized that the first area contains the virtual character elements of at least one first virtual character, determine a first recommended virtual character according to the at least one first virtual character, and display the character information of the first recommended virtual character; or, when it is recognized that the second area contains the virtual character elements of at least one second virtual character, determine a second recommended virtual character according to the at least one second virtual character, and display the character information of the second recommended virtual character.
[0163] In the embodiments of the present application, the processor 401 also has the following functions:
[0164] When running the target game, identify the currently displayed game interface;
[0165] If the recognition result indicates that the game interface is a virtual character disabling interface, display the character information of the disabled recommended virtual character.
[0166] In the embodiments of the present application, the processor 401 also has the following functions:
[0167] Extract the third area in the currently displayed game interface, and when there is character disabling indication information in the third area, determine that the game interface is a virtual character disabling interface.
[0168] In the embodiments of the present application, disabling the recommended virtual character includes one or more of the following:
[0169] In the target game, the virtual characters with a disabling rate higher than the first disabling rate threshold during the target period;
[0170] In the target game, virtual characters whose ban rate corresponding to the game ranking level of one's own team is higher than the second ban rate threshold;
[0171] Virtual characters in the virtual character library of the opposing team with a win rate higher than the win rate threshold.
[0172] In the embodiments of the present application, the character information of the recommended banned virtual characters includes the avatar corresponding to the recommended banned virtual characters and the ban rate.
[0173] In some embodiments, the processor 401 also has the following functions:
[0174] Display a floating window carrying the character information of the recommended banned virtual characters.
[0175] In the embodiments of the present application, the first recommended virtual characters include virtual characters having a matching relationship with at least one of the above-mentioned first virtual characters, and the second recommended virtual characters include virtual characters having a restraining relationship with at least one of the above-mentioned second virtual characters.
[0176] The processor 401 also has the following functions:
[0177] For searching, from the pre-established character partner library, for the first recommended virtual characters corresponding to each first virtual character in the at least one first virtual character; wherein, each first virtual character has a matching relationship with the first recommended virtual character corresponding to each first virtual character.
[0178] In the embodiments of the present application, the processor 401 also has the following functions:
[0179] Obtain the target user corresponding to the next character selection period of one's own team, and obtain the virtual character corresponding to the target user.
[0180] If the first recommended virtual characters include the virtual character corresponding to the target user, then in the next character selection period, display the character information of the virtual character corresponding to the target user included in the first recommended virtual characters.
[0181] In the embodiments of the present application, the processor 401 also has the following functions:
[0182] Obtain the first task attribute corresponding to each first virtual character in the at least one first virtual character;
[0183] Determine the second task attribute according to the first task attribute and the task matching relationship;
[0184] Use the virtual character corresponding to the second task attribute as the first recommended virtual character.
[0185] In the embodiments of the present application, the processor 401 also has the following functions:
[0186] Find a second recommended virtual character corresponding to each of the at least one second virtual character; wherein, there is a restraint relationship between each second virtual character and the second recommended virtual character corresponding to each second virtual character.
[0187] In the embodiments of the present application, the second recommended virtual character further includes a virtual character having a partnership relationship with the second virtual character.
[0188] In the embodiments of the present application, the processor 401 further has the following functions:
[0189] Calculate the first hash value corresponding to the first area in the virtual character selection interface of the target game and the second hash value corresponding to the second area in the virtual character selection interface of the target game respectively; compare the first hash value and the second hash value with the target hash values corresponding to the respective virtual character avatars stored in advance to obtain the first hash similarity between the first hash value and each target hash value, and the second hash similarity between the second hash value and each target hash value; determine the screen content of the first area according to the first hash similarity; determine the screen content of the second area according to the second hash similarity.
[0190] Store a computer program, wherein the computer program, when executed by the processor, implements the methods described in the above embodiments.
[0191] The embodiments of the present application disclose a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program, when executed by the processor, implements the methods described in the above embodiments.
[0192] Those of ordinary skill in the art can understand that all or part of the processes of implementing the methods in the above embodiments can be completed by instructing relevant hardware through a computer program. The program can be stored in a non-volatile computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above methods. Among them, the storage medium can be a magnetic disk, an optical disk, a ROM, etc.
[0193] Any reference to memory, storage, database, or other media as used herein may include non-volatile and / or volatile memory. Suitable non-volatile memory may include ROM, Programmable ROM (PROM), Erasable PROM (EPROM), Electrically Erasable PROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM), which acts as an external cache. By way of illustration and not limitation, RAM can be of various forms, such as Static RAM (SRAM), Dynamic Random Access Memory (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDR SDRAM), Enhanced Synchronous DRAM (ESDRAM), Synchlink DRAM (SLDRAM), Rambus DRAM (RDRAM), and Direct Rambus DRAM (DRDRAM).
[0194] It should be understood that the phrase "one embodiment" or "an embodiment" mentioned throughout the specification means that a particular feature, structure, or characteristic related to the embodiment is included in at least one embodiment of the present application. Thus, the appearances of "in one embodiment" or "in an embodiment" throughout the specification do not necessarily refer to the same embodiment. Additionally, these particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. Those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily essential to the present application.
[0195] In various embodiments of the present application, it should be understood that the magnitudes of the sequence numbers of the above processes do not necessarily imply the order of execution. The order of execution of each process should be determined by its function and internal logic, and should not impose any limitation on the implementation process of the embodiments of the present application.
[0196] In each embodiment of the present application, each functional unit can be integrated into a processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
[0197] When the above integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-accessible memory. Based on such an understanding, the technical solution of the present 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. The computer software product is stored in a memory and includes several requests for causing a computer device (which may be a personal computer, a server, or a network device, etc., specifically, the processor in the computer device) to execute some or all of the steps of the above methods in various embodiments of the present application.
[0198] The above has introduced in detail an information prompting method, device, terminal device, and readable storage medium disclosed in the embodiments of the present application. Specific examples are used in this article to elaborate on the principle and implementation manner of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application. At the same time, for those of ordinary skill in the art, according to the idea of the present application, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation to the present application.
Claims
1. An information prompting method, characterized in that, The method is applicable to a terminal device and includes: Identifying a virtual character selection interface of a target game; wherein, the virtual character selection interface includes a first area and a second area, the first area is used to display the character elements of the virtual characters selected by one's own team, and the second area is used to display the character elements of the virtual characters selected by the other team; When it is identified that the first area includes the virtual character elements of at least one first virtual character, determining a first recommended virtual character according to the at least one first virtual character, and displaying the character information of the first recommended virtual character; or, when it is identified that the second area includes the virtual character elements of at least one second virtual character, determining a second recommended virtual character according to the at least one second virtual character, and displaying the character information of the second recommended virtual character; The identifying the virtual character selection interface of the target game includes: Calculating a first hash value corresponding to the first area in the virtual character selection interface of the target game and a second hash value corresponding to the second area in the virtual character selection interface of the target game respectively; comparing the first hash value and the second hash value with the target hash values corresponding to each pre-stored virtual character avatar respectively to obtain a first hash similarity between the first hash value and each target hash value, and a second hash similarity between the second hash value and each target hash value; determining the screen content of the first area according to the first hash similarity; determining the screen content of the second area according to the second hash similarity.
2. The method according to claim 1, characterized in that, Before the identifying the virtual character selection interface of the target game, the method further includes: When running the target game, identifying the currently displayed game interface; If the identification result indicates that the game interface is a virtual character disabling interface, displaying the character information of the disabling recommended virtual character.
3. The method according to claim 2, characterized in that, The identifying the currently displayed game interface includes: Extracting a third area in the currently displayed game interface, and determining that the game interface is a virtual character disabling interface when there is character disabling indication information in the third area.
4. The method according to claim 2, characterized in that, The disabling recommended virtual character includes one or more of the following: In the target game, the virtual character whose disabling rate in a target period is higher than a first disabling rate threshold; In the target game, the virtual character whose disabling rate corresponding to the game ranking level of one's own team is higher than a second disabling rate threshold; The virtual character in the virtual character library of the other team whose winning rate is higher than a winning rate threshold.
5. The method according to claim 4, characterized in that, The character information of the disabling recommended virtual character includes the avatar corresponding to the disabling recommended virtual character and the disabling rate.
6. The method according to any one of claims 2-5, characterized in that, The displaying the character information of the disabling recommended virtual character includes: Displaying a floating window carrying the character information of the disabling recommended virtual character.
7. The method according to any one of claims 1-5, characterized in that, The first recommended virtual character includes the virtual character having a matching relationship with the at least one first virtual character, and the second recommended virtual character includes the virtual character having a restraining relationship with the at least one second virtual character.
8. The method according to claim 7, characterized in that, The determining the first recommended virtual character according to the at least one first virtual character includes: Search for the first recommended virtual character corresponding to each first virtual character among the at least one first virtual character from a pre-established character partner library; wherein, there is a matching relationship between each first virtual character and the first recommended virtual character corresponding to each first virtual character.
9. The method according to claim 8, characterized in that, After searching for the first recommended virtual character corresponding to each first virtual character among the at least one first virtual character from the pre-established character partner library, the method further includes: Obtain the target user corresponding to the next character selection period of the own team, and obtain the virtual character corresponding to the target user. Wherein, the display of the character information of the first recommended virtual character includes: If the first recommended virtual character includes the virtual character corresponding to the target user, then in the next character selection period, display the character information of the virtual character corresponding to the target user included in the first recommended virtual character.
10. The method according to any one of claims 1-5, wherein determining a first recommended virtual character according to the at least one first virtual character includes: Obtain the first task attribute corresponding to each first virtual character among the at least one first virtual character. Determine the second task attribute according to the first task attribute and the task matching relationship. Use the virtual character corresponding to the second task attribute as the first recommended virtual character.
11. The method according to claim 7, characterized in that, The determination of the second recommended virtual character according to the at least one second virtual character includes: Search for the second recommended virtual character corresponding to each second virtual character among the at least one second virtual character from a pre-established character restraint library; wherein, there is a restraint relationship between each second virtual character and the second recommended virtual character corresponding to each second virtual character.
12. According to the method described in any one of claims 1 - 5, wherein The second recommended virtual character further includes a virtual character having a partner relationship with the at least one second virtual character.
13. An information prompting device, characterized in that Includes: An identification unit, configured to identify the virtual character selection interface of the target game; wherein, the virtual character selection interface includes a first area and a second area, the first area is used to display the character elements of the virtual characters selected by the own team, and the second area is used to display the character elements of the virtual characters selected by the other team. A processing unit, configured to, when it is recognized that the first area includes the virtual character elements of at least one first virtual character, determine the first recommended virtual character according to the at least one first virtual character and display the character information of the first recommended virtual character; or, when it is recognized that the second area includes the virtual character elements of at least one second virtual character, determine the second recommended virtual character according to the at least one second virtual character and display the character information of the second recommended virtual character. The recognition unit is specifically configured to calculate the first hash value corresponding to the first area in the virtual character selection interface of the target game and the second hash value corresponding to the second area in the virtual character selection interface of the target game respectively; compare the first hash value and the second hash value with the target hash values corresponding to each pre-stored virtual character avatar respectively to obtain the first hash similarity between the first hash value and each target hash value and the second hash similarity between the second hash value and each target hash value; determine the screen content of the first area according to the first hash similarity; and determine the screen content of the second area according to the second hash similarity.
14. A terminal device, characterized in that Comprising: A memory storing executable program code; A processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the method according to any one of claims 1-12.
15. A computer-readable storage medium, characterized in that A computer program is stored on the computer-readable storage medium, and the computer program includes means for executing the method according to any one of claims 1-12.
Citation Information
Patent Citations
Game role recommendation, lineup establishment method and device, game method and device
CN106919790A
Virtual character selection method and device, equipment and storage medium
CN112891931A
Program, information storage medium and game device
JP2005230168A