Reminding method and device and electronic equipment
By screenshotting the electronic game map to detect whether the target game character is in danger, it solves the problem that gamers find it difficult to perceive the dangers of game characters in a timely manner, and achieves more timely hazard reminders and responses.
Patent Information
- Application Number
- CN202411845999.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-12
- Publication Date
- 2025-04-01
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In electronic games, it is difficult for gamers to perceive the dangers that game characters may face in a timely manner, such as attacks from game characters controlled by other players or NPCs.
By taking screenshots of the game map, we detect whether the target game character meets the conditions that can cause danger. If so, a reminder message will be triggered.
Enable gamers to better perceive the possible dangers and take timely response measures.
Smart Images

Figure CN119733232A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and more specifically, to a reminder method, device and electronic device. Background Art
[0002] In electronic games, game characters may face various dangers. For example, they may be attacked by game characters controlled by other game players, or attacked by NPC (Non-Player Character) characters, etc. In related methods, game players are not able to better perceive the dangers that their game characters may face. Summary of the invention
[0003] In view of the above problems, the present application proposes a reminder method, device and electronic device to improve the above problems.
[0004] In a first aspect, the present application provides a reminder method, which is applied to an electronic device, and the method includes: taking a screenshot of a displayed game map, wherein the game map is used to display the position of a game character in a game program in a game scene; if a target game character is detected through the screenshot, a reminder message is triggered, and the target game character is a game character that meets the target reminder condition, and the target reminder condition includes a condition that characterizes a dangerous situation.
[0005] In a second aspect, the present application provides a reminder device that runs on an electronic device, the device comprising: a detection unit, used to take a screenshot of a displayed game map, the game map being used to display the position of a game character in a game program in a game scene; a reminder unit, used to trigger a reminder message if a target game character is detected through the screenshot, the target game character being a game character that meets a target reminder condition, the target reminder condition including a condition that characterizes a dangerous situation.
[0006] In a third aspect, the present application provides an electronic device, comprising a processor and a memory; one or more programs are stored in the memory and configured to be executed by the processor to implement the above method.
[0007] In a fourth aspect, the present application provides a computer-readable storage medium having a program code stored therein, wherein the above method is executed when the program code is started and executed by a controller.
[0008] The present application provides a reminder method, device, and electronic device, in which a screenshot of a displayed game map can be taken during the running of a game program, wherein the game map is used to display the position of a game character in the game program in a game scene, and if a target game character is detected through the screenshot, a reminder message is triggered, wherein the target game character is a game character that meets the target reminder condition, and the target reminder condition includes a condition that characterizes a dangerous situation. Thus, through the above method, the target game character that may cause a dangerous situation can be detected by intercepting the game map, and then when the target game character is detected, a reminder message is triggered so that game players can better perceive the possible dangers they may face. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0010] Figure 1 A flowchart of a reminder method proposed in an embodiment of the present application is shown;
[0011] Figure 2 A schematic diagram of a game map in an embodiment of the present application is shown;
[0012] Figure 3 A schematic diagram of a game scene interface in an embodiment of the present application is shown;
[0013] Figure 4 A flowchart of a reminder method proposed in another embodiment of the present application is shown;
[0014] Figure 5 A schematic diagram showing a method of determining the moving direction of a target game character in an embodiment of the present application is shown;
[0015] Figure 6 A flowchart of a reminder method proposed in another embodiment of the present application is shown;
[0016] Figure 7 A structural block diagram of a reminder device proposed in an embodiment of the present application is shown;
[0017] Figure 8 A structural block diagram of an electronic device for executing a reminder method according to an embodiment of the present application is shown;
[0018] Fig. 9 It is a storage unit of an embodiment of the present application for storing or carrying a program code for implementing the reminder method according to an embodiment of the present application. DETAILED DESCRIPTION
[0019] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0020] In today's colorful world of video games, game characters are often placed in various challenging and dangerous situations. These dangers may come from many aspects. First, game characters may encounter sudden attacks from game characters controlled by other game players. Second, game characters may also face attacks from NPC characters. These NPC characters are not always friendly, and some may attack game characters due to specific plot settings or game mechanisms. More importantly, in these related ways, game players often cannot well perceive the dangers that their game characters may face.
[0021] Therefore, the inventor has proposed a reminder method, device, and electronic device in this application that can improve the above-mentioned problems. In this method, a screenshot of the displayed game map can be taken during the running of the game program, wherein the game map is used to display the position of the game character in the game program in the game scene. If the target game character is detected through the screenshot, a reminder message is triggered, wherein the target game character is a game character that meets the target reminder condition, and the target reminder condition includes a condition that characterizes a dangerous situation. Thus, through the above-mentioned method, the target game character that may cause a dangerous situation can be detected by intercepting the game map, and then when the target game character is detected, a reminder message is triggered so that game players can better perceive the possible dangers they may face.
[0022] The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0023] See also Figure 1 , a reminder method provided by an embodiment of the present application is applied to an electronic device, and the method includes:
[0024] S110: Taking a screenshot of the displayed game map, where the game map is used to display the position of a game character in the game program in the game scene.
[0025] In the embodiments of the present application, the game character can be understood as a virtual object controlled by a game player (user). Among them, the game scene can be understood as a virtual environment in which the game character performs activities. In other words, the game character can perform activities in the game scene under the control of the game player. For example, the game player can control the game character to move, fight, etc. in the game scene.
[0026] Among them, the game map can be used to display the overall picture of the game scene. In this case, the game map can be used to display the position of the game character in the game scene. For example, Figure 2 As shown in FIG. 2 , a game map is shown, wherein: Figure 2 The circle in the figure represents the game character, based on Figure 2 As shown in the situation, the game map can reflect the position of the game character in the game scene.
[0027] In the embodiment of the present application, there is no specific limitation on the display method and display location of the game map. As a method, during the running of the game program, a game scene interface may be displayed, wherein the game scene interface displays a partial scene area in the game scene. In this case, the game map may be displayed in the game scene interface. For example, Figure 3 As shown, in Figure 3 In the game scene interface 10 shown, a scene area where a game character 12 is located is displayed, and a game map 11 is displayed in a corner of the game scene interface 10. Among them, because a game character can only appear in a part of the scene area in the entire game scene at the same time, Figure 3 The scene area where the game character 12 is displayed can be understood as a partial scene area.
[0028] In the embodiment of the present application, when taking a screenshot of the game map, only the area where the game map is located can be screenshotted, in which case the screenshot content obtained only includes the content of the game image. Alternatively, it is also possible to directly take a screenshot of the screen of the electronic device, and then obtain the screenshot content corresponding to the game map from the screenshot. In this way, the screenshot content obtained by taking a screenshot of the screen can include the image content displayed on the entire screen, and then the screenshot content about the game image can be extracted from the image content.
[0029] S120: If a target game character is detected through the screenshot, a reminder message is triggered, wherein the target game character is a game character that meets a target reminder condition, and the target reminder condition includes a condition that indicates a dangerous situation.
[0030] After obtaining a screenshot of the game map, the screenshot can be tested to detect whether there is a target game character. In an embodiment of the present application, a game character that meets the target reminder condition can be used as the target game character. Wherein, the target reminder condition includes a condition that characterizes a dangerous situation, then the corresponding target game character can be understood as a game character that can cause a dangerous situation. Wherein, causing a dangerous situation can include causing danger to the first game character, or causing danger to the second game character, or causing danger to the device (e.g., a defense device) of one's own camp. Wherein, the first game character is a game character controlled by a game player of an electronic device, and the second game character is a game character belonging to the same game camp as the first game character. Wherein, one's own camp can be understood as the game camp where the first game character is located.
[0031] The target game character may include a game character controlled by other game players, or may also include an NPC character.
[0032] In the embodiment of the present application, there may be various conditions for the target reminder condition.
[0033] As one approach, the target reminder condition may include: causing danger to the first game character and the distance to the first game character is less than a first preset distance.
[0034] Among them, causing danger to the first game character can be understood as that, in the case of fighting with the first game character, the first game character will be defeated with a greater probability. Among them, when the distance from the first game character is less than the first preset distance, the representation may attack the first game character. Therefore, by determining the game character that will cause danger to the first game character and the distance from the first game character is less than the first preset distance as the target game character, it is beneficial for the game player of the first game character to perceive the existing danger in time so that countermeasures can be made in time. Among them, the countermeasures may include controlling the first game character to move towards a safer place (for example, one's own base camp or one's own defense device), or calling the second game character to move towards oneself so that it can fight with the target game character together. In this way, the information content of the triggered reminder information can be "pay attention to the surrounding situation" or "pay attention to the enemy approaching", etc.
[0035] In an embodiment of the present application, it can be determined in a variety of ways whether the first game character will be in danger. Optionally, if one or more of the following conditions are met, it is determined that the first game character is in danger: the number of times the first character is defeated is greater than the first preset number; the total number of defeats is greater than the second preset number; the total number of rewards is greater than the reward number threshold; and the first character satisfies a restraint relationship. Among them, the defeat of a game character can be understood as the corresponding blood volume of the game character becoming 0. Among them, for each game character when defeating other game characters, the game program will give a certain reward, and the total number of rewards for the game character to a certain extent represents that the game character has defeated a large number of other game characters. Among them, the restraint relationship between game characters can include the mutual restraint between the skills of the game characters, or it can be understood as the mutual restraint between the equipment of the game characters.
[0036] It should be noted that skill restraint usually refers to the existence of a mutual restraint effect between the skills of different game characters, so that the skills of a certain game character can effectively weaken or counter the skills of another game character. For example, one game character may have a powerful group attack skill, but another game character may have a shield skill that can absorb or reflect such damage, thus forming an effective restraint in battle. In addition, some skills may be good at controlling enemies (such as freezing and stun), while other game characters may have skills to remove control or be immune to control effects, which is also a kind of skill restraint.
[0037] Among them, equipment restraint focuses on how the equipment worn by the game characters affects the outcome of the battles between the game characters. This can be reflected in the attribute bonuses, special effects, and interactions between the equipment. For example, some equipment may provide additional attack power bonuses, but the negative effects imposed on the wearer (such as reduced defense or movement speed) can be offset by another piece of equipment with corresponding resistance or compensatory attributes. For another example, in some games, there are "armor-breaking" equipment that can penetrate the opponent's defense, and the opponent may reduce the impact of this penetration effect by equipping the "toughness" attribute. In addition, the set effects between equipment may also form a restrained relationship, such as a set focusing on increasing the critical strike rate, while another set may focus on increasing critical strike resistance.
[0038] As a method, the target reminder condition may include: causing danger to the second game character and the distance to the second game character is less than the second preset distance. It should be noted that in some game programs, multiple game camps can be configured, and game characters belonging to the same game camp can be understood as teammates. Therefore, if the second game character is in a dangerous situation, it will also cause danger to the first game character. Optionally, if at least one of the following conditions is met, it is determined that the second game character is in danger: the number of times the second character is defeated is greater than the first preset number; the total number of defeats is greater than the second preset number; the total number of rewards is greater than the reward number threshold; and the second character satisfies a restraint relationship. Among them, in this way, the information content of the triggered reminder information can be "Teammate T1 is in danger, pay attention to reinforcements" and the like.
[0039] As a method, the target reminder condition may include: game characters from other camps appearing at preset high-priority locations. It should be noted that some locations may be relatively important in the game scene. For example, locations with important game resources, locations that are convenient for defense, and one's own base camp, etc. When a game character from another camp appears at this relatively important location, if countermeasures are not taken in time, it may cause a relatively unfavorable situation for the game camp where the first game character is located.
[0040] It should be noted that during the running of the game program, the battle situation can be counted. Among them, the counted battle situation can include the number of times each game character defeats other game characters, and the number of times each game character is defeated by other game characters. In addition, the game program can display the counted battle situation. In this case, by taking a screenshot of the counted battle situation and testing the screenshot of the battle situation, the number of times each game character defeats other game characters and the number of times each game character is defeated by other game characters can be obtained, and then the total number of defeats of each game character and the number of times each game character defeats the first game character or the second game character can be obtained.
[0041] It should be noted that for different game programs, when displaying the battle situation, the displayed mode will be different. For example, for some game programs, all the contents in the battle situation can be directly displayed in the game scene interface. Wherein, this direct display can be understood as not needing the user to click on a specific control again, and all the contents of the battle situation can be viewed. In addition, in some cases, some game programs may only display part of the battle situation in the game scene interface (for example, only displaying the total number of defeats and the total number of defeats of the first game character), if the user needs to view all the contents of the battle situation, it is necessary to further click on a specific control to trigger the display of the battle situation display interface, and all the contents will be displayed in the displayed battle situation display interface. Wherein, the battle situation display interface is an interface different from the game scene interface, for example, the battle situation display interface can be suspended and displayed on the game scene interface.
[0042] In one way, the reminder method provided in the present application can be executed by an application other than a game program, for example, by an auxiliary program. Wherein, if the application (auxiliary program) can communicate directly with the game program, then the game program can transmit the battle situation to the application, so that the application can determine whether there is a game character that will cause danger to the first game character through the battle situation transmitted by the game program. However, in some cases, the application executing the reminder method cannot communicate directly with the game program, and then needs to obtain the battle situation in the game program by means of screenshots. However, obtaining the battle situation by means of screenshots may have the problem that the obtained battle situation is temporarily incomplete. For example, when the entire content of the battle situation is displayed through a separate battle situation display interface, if the user has not triggered the display of the battle situation display interface, the entire content of the battle situation cannot be obtained by means of screenshots.
[0043] Therefore, in order to make the solution more adaptable, as a way, when obtaining the battle situation of the game program through screenshots, the conditional content of the target reminder condition can be determined according to the battle situation that has been currently obtained.
[0044] Optionally, if the entire content of the battle situation has been obtained, the target reminder condition may include conditional content about the battle situation of the game character. Optionally, if the entire content of the battle situation has not been obtained, the target reminder condition may include conditional content about the location of the game character. That is, when the entire content of the battle situation has been obtained, the content of the target reminder condition may be richer than the content of the target condition when the entire content of the battle situation has not been obtained.
[0045] Exemplarily, if the entire content of the battle situation has been obtained, the target reminder condition may include a first reminder condition, a second reminder condition, or a third reminder condition. That is, if a game character that satisfies the first reminder condition, the second reminder condition, or the third reminder condition is detected, it is determined that the target game character exists. Optionally, if the entire content of the battle situation has not yet been obtained, the target reminder condition may include a second reminder condition. Among them, the conditional content of the first reminder condition may include: causing danger to the first game character and the distance from the first game character is less than the first preset distance. The conditional content of the second reminder condition may include: game characters of other camps appearing at a preset high priority position. The conditional content of the third reminder condition may include: causing danger to the second game character and the distance from the second game character is less than the second preset distance.
[0046] It should be noted that, in the embodiment of the present application, the triggered reminder information can be in the form of text, or it can also be in the form of voice information. Among them, in the case of information in text form, triggering the reminder information can be understood as displaying the reminder information on the screen. In the case of reminder information in voice form, triggering the reminder information can be understood as playing the reminder information through the current audio output channel.
[0047] This embodiment provides a reminder method, in which a screenshot of the displayed game map can be taken during the running of the game program, wherein the game map is used to display the position of the game character in the game program in the game scene, and if the target game character is detected through the screenshot, a reminder message is triggered, wherein the target game character is a game character that meets the target reminder condition, and the target reminder condition includes a condition that characterizes a dangerous situation. Thus, through the above method, the target game character that may cause a dangerous situation can be detected by intercepting the game map, and then when the target game character is detected, a reminder message is triggered, so that the game player can better perceive the possible danger.
[0048] See also Figure 4 , a reminder method provided by an embodiment of the present application is applied to an electronic device, and the method includes:
[0049] S210: Taking a screenshot of the displayed game map, where the game map is used to display the position of a game character in the game program in the game scene.
[0050] S220: If the target game character is detected through the screenshot, predict the moving direction of the target game character.
[0051] S230: If the moving direction is towards the first game character, a reminder message is triggered, and the target game character is a game character that meets a target reminder condition, and the target reminder condition includes a condition that represents a dangerous situation.
[0052] In this embodiment, when it is detected that there is a game character that poses a danger to the first game character and the distance from the first game character is less than the first preset distance, the detected game character is determined as the target game character. In this case, further detecting the moving direction of the target game character is conducive to improving the accuracy and effectiveness of the triggering reminder information. For example, in one case, although the existence of the target game character has been detected, the target game character may not move toward the first game character. In this case, the reminder information may not be triggered.
[0053] As a method, predicting the moving direction of the target game character includes: taking screenshots of the game map at a preset frequency to obtain multiple screenshots, determining the position change of the target game character in the game map based on the multiple screenshots, and predicting the moving direction of the target game character based on the position change.
[0054] Optionally, when it is necessary to predict the moving direction of the target game character, the frequency of taking screenshots of the game map can be increased so that the moving direction of the target game character can be determined more timely and accurately. As a way, the reminder method steps provided in the embodiment of the present application may include: taking screenshots of the displayed game map at a first frequency, and if the target game character is detected through the screenshot, taking screenshots of the game map at a second frequency to obtain multiple screenshots, and determining the position change of the target game character in the game map based on the multiple screenshots; predicting the moving direction of the target game character based on the position change, wherein after obtaining the moving direction of the target game character, the frequency of taking screenshots of the game map can be switched to the first frequency, wherein the first frequency is lower than the second low frequency. Exemplarily, the first frequency may be taking a screenshot every 3 seconds. The second frequency may be taking a screenshot every 1 second, or the second frequency may be taking a screenshot every 0.5 seconds.
[0055] After the moving direction of the target game character is obtained, the purpose of switching the frequency of taking screenshots of the game map to the first frequency is to reduce the consumption of resources of the electronic device. The resources may include processor resources and / or power resources.
[0056] The aforementioned first frequency may be pre-configured by a developer, or may be determined according to the actual situation of the electronic device.
[0057] As a determination method, it can be determined according to the power of the electronic device. Wherein, when the remaining power of the electronic device is larger, the first frequency can be relatively larger, and when the remaining power of the electronic device is smaller, the first frequency can be relatively smaller.
[0058] As a determination method, it can be determined according to the current task state of the electronic device. For example, if the electronic device is currently in the first task state, the first frequency can be relatively larger, and if the electronic device is currently in the second task state, the first frequency can be relatively smaller. Among them, when the electronic device is in the first task state, the number of tasks to be processed is less than the preset number of tasks, and when the electronic device is in the second task state, the number of tasks to be processed is greater than or equal to the preset number of tasks.
[0059] It should be noted that if the target game character is moving, the position of the target game character in multiple consecutive screenshots will change, and the change can reflect the moving direction of the target game character. Figure 5 As shown, the circle 20 represents the detected target game character, and the circle 21 represents the first game character. Figure 5 The two images on the left and right represent two images obtained by taking consecutive screenshots of the game map. Figure 5 It can be seen from the two images that the position of the target game character represented by the circle 20 has changed, and the change represents that the target game character is moving towards the position of the first game character, thereby triggering a reminder message.
[0060] In addition, in this embodiment, the reminder information may be triggered when it is detected that the moving direction of the target game character is toward the second game character. The content of the triggered reminder information may be different for different situations.
[0061] Optionally, if it is detected that the target game character is moving towards the first game character, the information content of the triggered reminder message may be to remind the game player of the first game character to pay attention to the dangers around. For example, the information content of the reminder message may be "Please note that there is danger approaching". Optionally, if it is detected that the target game character is moving towards the second game character, the information content of the triggered reminder message may be to remind the game player of the first game character to pay attention to reinforce the second game character in time. For example, the information content of the reminder message may be "Please pay attention to reinforce teammate T1". Among them, "Teammate T1" represents the name of the second game character that the target game character is close to.
[0062] In addition, in this embodiment, the reminder information may be triggered when the target game character is detected to be moving in the direction of the preset high priority position. In this case, the content of the triggered reminder information may be to prompt the game player of the first game character that the preset high priority position needs to be protected.
[0063] For example, in one case, there is an NPC at a location in the game scene, and by defeating the NPC, additional skill effects can be obtained. In this case, the location of the NPC can be a preset high priority location. For another example, in one case, there is a defense device in the base camp of one's own camp, and the game characters of other camps can enhance the combat effectiveness of the NPC characters of other camps by destroying the defense device. In this case, the location of the defense device can be a preset high priority location.
[0064] The present embodiment provides a reminder method, so that through the above method, the target game character that may cause a dangerous situation can be detected by intercepting the game map, and then when the target game character is detected, a reminder message is triggered, so that the game player can better perceive the possible danger. In addition, in this implementation, when the target game character is detected, the moving direction of the target game character is further predicted, and when the moving direction of the target game character is toward the first game character, a reminder message is triggered to remind the game player.
[0065] See also Figure 6 , a reminder method provided by an embodiment of the present application is applied to an electronic device, and the method includes:
[0066] S310: Taking a screenshot of the displayed game map, where the game map is used to display the position of a game character in the game program in the game scene.
[0067] S320: If a target game character that meets the first reminder condition and a target game character that meets the second reminder condition are detected through the screenshot.
[0068] S330: Compare the priorities of the first reminder condition and the second reminder condition.
[0069] S340: If the priority of the first reminder condition is higher than the priority of the second reminder condition, triggering reminder information corresponding to the target game character that meets the first reminder condition.
[0070] S350: If the priority of the first reminder condition is lower than the priority of the second reminder condition, triggering reminder information corresponding to the target game character that meets the second reminder condition.
[0071] Among them, the reminder information corresponding to the target game character that meets the first reminder condition is triggered, which can be understood as the information content of the triggered reminder information, which is related to the target game character that meets the first reminder condition. Correspondingly, the reminder information corresponding to the target game character that meets the second reminder condition is triggered, which can be understood as the information content of the triggered reminder information, which is related to the target game character that meets the second reminder condition. Exemplarily, the condition content of the first reminder condition may include: causing danger to the first game character and the distance from the first game character is less than the first preset distance. The condition content of the second reminder condition may include: game characters of other camps appearing at a preset high priority position. In this case, if the triggered reminder information is related to the target game character that meets the first reminder condition, the information content of the reminder information may be "Attention, there are enemies approaching", and if the triggered reminder information is related to the target game character that meets the second reminder condition, the information content of the reminder information may be "Pay attention to protect position L1", wherein position L1 may be a preset high priority position.
[0072] In an embodiment of the present application, the target reminder condition may include multiple reminder conditions. Furthermore, when the electronic device detects that a game character satisfies one of the reminder conditions, the game character that satisfies one of the reminder conditions may be used as the target game character. Wherein, in the case where the target reminder condition includes multiple reminder conditions, there may be a situation where there are game characters that satisfy multiple reminder conditions at the same time. In order to enable the electronic device to determine which reminder condition is currently being specifically met for the target game character to be reminded, corresponding priorities may be configured for the multiple reminder conditions included in the target reminder condition. Wherein, the priority corresponding to each reminder condition may be different. Alternatively, the priorities corresponding to some reminder conditions are the same, while the priorities corresponding to some reminder conditions are different.
[0073] Optionally, the target reminder condition may include a first reminder condition, a second reminder condition and a third reminder condition, wherein the first reminder condition, the second reminder condition and the third reminder condition each correspond to a priority. Among them, the priorities corresponding to the first reminder condition, the second reminder condition and the third reminder condition are not the same. For example, in one way, the condition content of the first reminder condition may include: causing danger to the first game character and the distance from the first game character is less than the first preset distance. The condition content of the second reminder condition may include: game characters of other camps appearing at a preset high priority position. The condition content of the third reminder condition may include: causing danger to the second game character and the distance from the second game character is less than the second preset distance. In this case, the priorities corresponding to the first reminder condition and the third reminder condition may be the same, and the priority of the second reminder condition may be lower than the priorities of the first reminder condition and the third reminder condition.
[0074] In the embodiment of the present application, there may be multiple ways to determine the priorities of the multiple reminder conditions included in the target reminder condition.
[0075] As a method, the priorities of the multiple reminder conditions can be manually configured by the user of the electronic device according to his / her needs. In this method, a configuration interface can be provided, through which the user can configure the priorities he / she needs.
[0076] As a way, the priority of the first reminder condition or the second reminder condition is determined based on the progress of the game. It should be noted that during the game, the focus of attention may be different in different game stages. For example, in the early stages of the game, game players may need to pay more attention to the snatching of important game resources. If a target game character appears in a location with important game resources (a preset high priority location), the game player needs to take timely countermeasures. In the mid-stage or late stage of the game, if the game character is defeated, it may take a long time to revive. Therefore, in the mid-stage or late stage of the game, game players may need to pay more attention to avoid the controlled game character from being defeated.
[0077] Among them, the game progress situation characterizes the stage that the game is currently in. Exemplarily, the conditional content of the first reminder condition may include: causing danger to the first game character and the distance from the first game character is less than the first preset distance. The conditional content of the second reminder condition may include: game characters of other camps appearing at a preset high priority position. The conditional content of the third reminder condition may include: causing danger to the second game character and the distance from the second game character is less than the second preset distance. In this instance, if it is detected that the game is in the early stage, then the priority of the second reminder condition may be higher than the priority of the first reminder condition and the priority of the third reminder condition. If it is detected that the game is in the middle stage or the late stage, the priority of the first reminder condition and the priority of the third reminder condition may be higher than the priority of the second reminder condition.
[0078] In the embodiment of the present application, the current game stage of the game program can be determined in a variety of ways.
[0079] As a method, the game stage can be determined by asking the game player. In this method, an inquiry interface can be displayed, and multiple options for the user to select can be displayed in the inquiry interface, and the multiple options represent different game stages. Then, by obtaining the option selected by the user, the current stage of the game can be determined.
[0080] As a way, the current game stage of the game program can be determined by obtaining the battle situation. It should be noted that the battle situation of the game reflects the winning rate of multiple game camps in the game to a certain extent. For example, if the total number of defeats of a certain game camp is significantly greater than the total number of defeats of another game camp, then the game camp with a larger total number of defeats will have a greater probability of winning the game quickly. Optionally, if it is detected that the total number of defeats of all game camps is not greater than a first preset number threshold, it is determined that the game is in the early stage. If it is detected that the total number of defeats of a game camp is greater than the first preset number threshold, and there are two game camps whose total number of defeats is greater than the preset difference, it is determined that the game is in the middle stage or the late stage.
[0081] As a method, the game stage can be determined by obtaining the remaining number of defense devices included in the game camp. It should be noted that the defense devices included in a certain game camp are usually used to defend against game characters in other game camps. If the defense devices included in a certain game camp have been almost completely destroyed or completely destroyed, then the game camp is likely to fail. Optionally, if it is detected that the number of defense devices remaining in no game camp is less than the second preset number threshold, it is determined that the game is in the early stage. If it is detected that the number of defense devices remaining in the existence of a game camp is less than the second preset number threshold, it is determined that the game is in the middle stage or the late stage.
[0082] The present embodiment provides a reminder method, so that through the above method, the target game character that may cause a dangerous situation can be detected by intercepting the game map, and then when the target game character is detected, a reminder message is triggered so that the game player can better perceive the possible danger. In addition, in the present embodiment, the target reminder condition includes a first reminder condition or a second reminder condition. When a target game character that meets the first reminder condition and a target game character that meets the second reminder condition are detected at the same time through a screenshot of the game map, the triggered reminder message can be determined according to the priority of the first reminder condition and the second reminder condition, thereby further improving the flexibility of reminder.
[0083] It should be noted that, in one embodiment, the reminder method provided by the embodiment of the present application can be executed by other applications other than the game program. Among them, the game program itself may also trigger information to the user during operation. In this case, in order to avoid conflict with the information of the game program itself, the reminder information involved in this application can be adaptively triggered.
[0084] As an adaptive way, if the information of the game program is information in text form, and the reminder information of the reminder method provided in the embodiment of the present application is also information in text form, the display position of the information of the game program can be identified by screenshot as a reference position. In this case, when triggering the reminder information, you can choose to trigger the reminder information at a position other than the reference position. Among them, when selecting the position to trigger the reminder information, in addition to avoiding the reference position, you can also choose to avoid the area with more content displayed in the game scene interface to avoid causing visual interference to the game player. Among them, the area with more content displayed includes the area where the skill button is located, the prop bar display area, the game battle situation display area, the area currently showing other game characters, etc.
[0085] As an adaptive method, when the information of the game program is in the form of voice information, and the reminder information of the reminder method provided in the embodiment of the present application is also in the form of voice information, if the game program is playing voice information when the reminder information needs to be triggered, you can choose to trigger the reminder information after the voice information played by the game program is finished.
[0086] In addition, it should be noted that, in one case, the electronic device may be running a game online with other devices. Among them, the electronic device may be running a game online with other devices, which can be understood as: the game character controlled by the user (game player) of the electronic device and the game character controlled by the user (game player) of the other device belong to the same game camp in the online game program. In addition, the electronic device and other devices may be in the same local area network. For example, a local area network established based on Bluetooth or WiFi. In this case, when the reminder information is triggered, in addition to triggering the reminder information in the electronic device, the triggered reminder information can also be synchronously transmitted to other devices belonging to the same local area network. Exemplary, if the target game character detected by the target reminder condition is a game character of other camps appearing at a preset high priority position, in addition to triggering the reminder information in the electronic device, the reminder information can also be detected by the electronic device and forwarded to other devices, so that other devices can also trigger the reminder information together, so that more game players pay attention to the target game character.
[0087] In addition, in an embodiment of the present application, the movement data of all game characters can be recorded to provide a movement trend graph of the game character. The movement trend graph can be used for big data analysis to provide playing suggestions and restraint suggestions for the game character, and then displayed to game players in subsequent games through text or pictures and videos to improve the game players' awareness level and game winning rate.
[0088] In addition, in an embodiment of the present application, it may be possible to trigger a screenshot of the game map when the auxiliary reminder function is detected to be activated. As a method, the electronic device may detect whether the auxiliary reminder function is activated after detecting that the game program is activated (or after detecting that the game scene interface is displayed). If the auxiliary reminder function is already activated, a screenshot of the displayed game map is taken to execute the reminder method provided in the embodiment of the present application. Correspondingly, when the auxiliary reminder function is not activated, the reminder method provided in the embodiment of the present application is not executed during the running of the game program.
[0089] Among them, as a way, the auxiliary reminder function can be manually started or closed by the user. In this way, a control control of the auxiliary reminder function can be configured in the setting interface of the electronic device, so that the user can start or close the auxiliary reminder function by touching the control control.
[0090] As a method, the auxiliary reminder function can also be automatically started by the electronic device. Optionally, the electronic device can detect the combat situation of the first game character during the operation of the display game program, and if it is detected that the combat situation of the first game character is relatively unfavorable, the auxiliary reminder function can be automatically started. Alternatively, if it is detected that the combat situation of the first game character is relatively unfavorable, the user can be asked whether to start the auxiliary reminder function, and the auxiliary reminder function can be started with the user's consent.
[0091] See also Figure 7 , a reminder device 400 provided in an embodiment of the present application runs on an electronic device, and the device 400 includes:
[0092] The detection unit 410 is used to take a screenshot of the displayed game map, where the game map is used to display the position of the game character in the game program in the game scene.
[0093] The reminder unit 420 is configured to trigger a reminder message if a target game character is detected through the screenshot, wherein the target game character is a game character that satisfies a target reminder condition, and the target reminder condition includes a condition that indicates a dangerous situation.
[0094] As one approach, the target reminder condition includes: causing danger to a first game character and the distance to the first game character is less than a first preset distance, the first game character includes a game character controlled by a user of the electronic device; or, causing danger to a second game character and the distance to the second game character is less than a second preset distance, the second game character is a character belonging to the same game camp as the first game character; or, a game character of another camp appears at a preset high priority position.
[0095] Optionally, if the reminder unit 420 detects that at least one of the following conditions is met, it is determined that the first game character is in danger: the number of times the first character is defeated is greater than a first preset number;
[0096] The total number of defeats is greater than the second preset number; and a restraint relationship is satisfied with the first character.
[0097] As a method, the reminder unit 420 is specifically used to predict the moving direction of the target game character if the target game character is detected through the screenshot; if the moving direction is towards the first game character, triggering a reminder message.
[0098] Optionally, the reminder unit 420 is specifically used to take screenshots of the game map at a preset frequency to obtain multiple screenshots; determine the position change of the target game character in the game map according to the multiple screenshots; and predict the movement direction of the target game character according to the position change.
[0099] As a method, the target reminder condition includes a first reminder condition or a second reminder condition. In this method, the reminder unit 420 is specifically used to detect a target game character that meets the first reminder condition and a target game character that meets the second reminder condition through the screenshot;
[0100] Compare the priorities of the first reminder condition and the second reminder condition; if the priority of the first reminder condition is higher than the priority of the second reminder condition, trigger the reminder information corresponding to the target game character that meets the first reminder condition.
[0101] As a mode, the device 400 runs an application other than a game program in the electronic device. In this mode, the detection unit 410 is specifically used to take a screenshot of the game map displayed in the game program during the running of the game program.
[0102] The present embodiment provides a reminder device, through which the target game character that may cause a dangerous situation can be detected by intercepting the game map, and then when the target game character is detected, a reminder message is triggered so that the game player can better perceive the possible danger.
[0103] It should be noted that the device embodiment in the present application corresponds to the aforementioned method embodiment. The specific principles in the device embodiment can be found in the contents of the aforementioned method embodiment and will not be repeated here.
[0104] The following will be combined Figure 8 An electronic device provided by the present application is described.
[0105] See also Figure 8 Based on the above reminder method and device, the embodiment of the present application also provides another electronic device 1000 that can execute the above reminder method. The electronic device 1000 includes one or more (only one is shown in the figure) processors 102, a memory 104, a network module 106, a screen 108, a vibration device 110, a sensor module, and an audio acquisition device that are coupled to each other. Among them, the memory 104 stores a program that can execute the content of the above embodiment, and the processor 102 can execute the program stored in the memory 104.
[0106] Among them, the processor 102 may include one or more processing cores. The processor 102 uses various interfaces and lines to connect various parts of the entire electronic device 1000, and executes various functions and processes data of the electronic device 1000 by running or executing instructions, programs, code sets or instruction sets stored in the memory 104, and calling data stored in the memory 104. Optionally, the processor 102 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA), or the processor 102 can be an application processor (Application Processor). The processor 102 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 102, but may be implemented separately through a communication chip.
[0107] The memory 104 may include a random access memory (RAM) or a read-only memory (ROM). The memory 104 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 104 may include a program storage area and a data storage area, wherein the program storage area may 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 following various method embodiments, etc.
[0108] The network module 106 is used to implement information exchange between the electronic device 1000 and other devices, for example, to transmit device control instructions, operation request instructions, and status information acquisition instructions, etc. When the electronic device 1000 is specifically a different device, the corresponding network module 106 may be different.
[0109] The screen 108 can be used for screen display. For example, when a game program is running, it can be used to display the game screen corresponding to the game program. In one embodiment, the electronic device 1000 can capture multiple frames of screens continuously displayed on the screen 108 to obtain multiple frames of screens required for detecting whether the electronic device 100 is displaying an event animation.
[0110] The vibration device 110 can be used to respond to the triggered event (e.g., the aforementioned target event) and then vibrate. The vibration device 100 can stop vibrating in response to the arrival of the timing time, or the vibration device 100 can also stop vibrating before the timing time arrives in response to an instruction of the electronic device 1000 (e.g., an instruction triggered by the electronic device detecting that the event animation is not displayed). For example, when the target event is triggered, the triggered target event will trigger the vibration device 110 to vibrate for 10 seconds, and the vibration device 100 will keep vibrating during the 10-second timing time.
[0111] The sensor module may include at least one sensor. Specifically, the sensor module may include but is not limited to: a light sensor, a motion sensor, a pressure sensor, an infrared heat sensor, a distance sensor, an acceleration sensor, and other sensors.
[0112] Among them, the pressure sensor can be a sensor that detects the pressure generated by pressing on the electronic device 1000. That is, the pressure sensor detects the pressure generated by the contact or pressing between the user and the audio playback device, such as the pressure generated by the contact or pressing between the user's ear and the mobile terminal. Therefore, the pressure sensor can be used to determine whether contact or pressing occurs between the user and the electronic device 1000, and the magnitude of the pressure.
[0113] Among them, the acceleration sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary, and can be used for applications that recognize the posture of the electronic device 1000 (such as horizontal and vertical screen conversion, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc. In addition, the electronic device 1000 can also be equipped with other sensors such as gyroscopes, barometers, hygrometers, thermometers, etc., which will not be repeated here.
[0114] The audio acquisition device is used to acquire audio signals. Optionally, the audio acquisition device includes a plurality of audio acquisition devices. The audio acquisition device may be a microphone.
[0115] As a method, the network module of the electronic device 1000 is a radio frequency module, which is used to receive and send electromagnetic waves, realize the mutual conversion between electromagnetic waves and electrical signals, and thus communicate with a communication network or other devices. The radio frequency module may include various existing circuit elements for performing these functions, such as antennas, radio frequency transceivers, digital signal processors, encryption / decryption chips, user identity modules (SIM) cards, memories, etc. For example, the radio frequency module can exchange information with an external device through the electromagnetic waves sent or received, and then receive audio signals sent by the external device.
[0116] Alternatively, the electronic device 1000 may also include an image acquisition device for image acquisition. For example, a video, a static picture, or a dynamic picture may be taken by the image acquisition device. In addition, the electronic device 1000 may also include a motor driver IC and a motor. The motor may drive the electronic device 1000 to switch the device state. For example, when the electronic device 1000 includes a scroll screen, the motor may drive the scroll screen to shrink or expand, so that the electronic device 1000 switches the device state.
[0117] Please refer to Fig. 9 , which shows a structural block diagram of a computer-readable storage medium provided in an embodiment of the present application. The computer-readable medium 1100 stores program codes, which can be called by a processor to execute the method described in the above method embodiment.
[0118] The computer readable storage medium 1100 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer readable storage medium 1100 includes a non-transitory computer-readable storage medium. The computer readable storage medium 1100 has storage space for program code 1110 that executes any method step in the above method. These program codes can be read from or written to one or more computer program products. The program code 1110 can be compressed, for example, in an appropriate form.
[0119] In summary, the present application provides a reminder method, device, and electronic device, in which a screenshot of the displayed game map can be taken during the running of the game program, wherein the game map is used to display the position of the game character in the game program in the game scene, and if the target game character is detected through the screenshot, a reminder message is triggered, wherein the target game character is a game character that meets the target reminder condition, and the target reminder condition includes a condition that characterizes a dangerous situation. Thus, through the above method, the target game character that may cause a dangerous situation can be detected by intercepting the game map, and then when the target game character is detected, a reminder message is triggered so that the game player can better perceive the possible dangers.
[0120] Among them, in the embodiment of the present application, the movement trend of the enemy game character is specifically realized by the motion trend of multiple frames of dynamic screenshots. The user is specifically reminded in real time by the reminder division of high, medium and low areas and image recognition. The number of kills and economy of the game character is specifically recognized by numbers to determine which enemy game character has the highest economy and poses the greatest threat to the user, so as to remind the user to always pay attention to his position to determine whether a team battle and tactical analysis execution are needed.
[0121] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical feature diagrams therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A reminder method, characterized in that: Applied to electronic equipment, the method comprises: Taking a screenshot of the displayed game map, wherein the game map is used to display the position of the game character in the game program in the game scene; If a target game character is detected through the screenshot, a reminder message is triggered, wherein the target game character is a game character that meets a target reminder condition, and the target reminder condition includes a condition that represents a dangerous situation.
2. The method according to claim 1, characterized in that The target reminder conditions include: Causing danger to a first game character and being at a distance from the first game character that is less than a first preset distance, the first game character comprising a game character controlled by a user of the electronic device; Alternatively, causing danger to a second game character and the distance to the second game character is less than a second preset distance, and the second game character is a character belonging to the same game camp as the first game character; Alternatively, a game character from another camp appears at a preset high priority position, wherein the other camp is a camp other than the camp where the first game character is located.
3. The method according to claim 2, characterized in that If one or more of the following conditions are met, it is determined that the first game character is in danger, wherein the one or more conditions include: The number of times the first character is defeated is greater than a first preset number; The total number of defeats is greater than the second preset number; The total reward quantity is greater than the reward quantity threshold; Satisfies a restraint relationship with the first role.
4. The method according to claim 1, characterized in that If the target game character is detected through the screenshot, a reminder message is triggered, including: If the target game character is detected through the screenshot, predicting the moving direction of the target game character; If the moving direction is towards the first game character, a reminder message is triggered.
5. The method according to claim 4, characterized in that The predicted moving direction of the target game character includes: Taking screenshots of the game map at a preset frequency to obtain multiple screenshots; Determining a position change of a target game character in a game map according to the multiple screenshots; According to the position change, the moving direction of the target game character is predicted.
6. The method according to claim 1, characterized in that The target reminder condition includes a first reminder condition or a second reminder condition, and if the target game character is detected through the screenshot, the reminder information is triggered, including: If a target game character that meets the first reminder condition and a target game character that meets the second reminder condition are detected through the screenshot; comparing the priorities of the first reminder condition and the second reminder condition; If the priority of the first reminder condition is higher than the priority of the second reminder condition, the reminder information corresponding to the target game character that meets the first reminder condition is triggered.
7. The method according to claim 6, characterized in that The priority of the first reminder condition or the second reminder condition is determined based on the game progress.
8. The method according to claim 1, characterized in that Applicable to an application other than a game program in an electronic device, the screenshot of the displayed game map includes: While the game program is running, take a screenshot of the game map displayed in the game program.
9. A reminder device, characterized in that: Running on an electronic device, the device comprises: A detection unit, used to take a screenshot of the displayed game map, wherein the game map is used to display the position of the game character in the game program in the game scene; The reminder unit is used to trigger reminder information if a target game character is detected through the screenshot, wherein the target game character is a game character that meets a target reminder condition, and the target reminder condition includes a condition that represents a dangerous situation.
10. An electronic device, characterized in that: including a processor and a memory; One or more programs are stored in the memory and configured to be executed by the processor to implement the method according to any one of claims 1 to 8.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program code, wherein when the program code is executed by a processor, the method according to any one of claims 1 to 8 is executed.