Control triggering method and device, electronic equipment and computer readable storage medium
By expanding the response area of the control and using the control property data to determine the target control, the problem of accidental triggering of controls in terminal devices is solved, achieving higher triggering accuracy and user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-05
- Publication Date
- 2026-03-24
AI Technical Summary
Due to the physical size limitations of terminal devices, the small size and insufficient spacing of controls lead to frequent false triggering, making it difficult to accurately trigger the target control within a limited space.
By expanding the control's response area, including the icon area and a specified area surrounding the icon, and combining the control's attribute data and overlapping response area, the target control is identified and triggered.
It improves the accuracy of control triggering, reduces the possibility of false triggering, and enhances the user experience.
Smart Images

Figure CN121722283A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and more specifically to a control triggering method, apparatus, electronic device, and computer-readable storage medium. Background Technology
[0002] With the development of science and technology, the functions integrated into human-computer interaction interfaces are becoming increasingly rich, and the number of controls on these interfaces has increased significantly. However, limited by the physical size of terminal devices, the area available for displaying controls is limited, making it difficult to accommodate the ever-growing number of controls. To present more functions within a limited space, existing technologies typically optimize the interface layout by reducing the size of controls and compressing the spacing between them. However, excessively small control sizes and insufficient spacing between controls can lead to accidental triggering when controls are activated. Summary of the Invention
[0003] This application provides a control triggering method, apparatus, electronic device, and computer-readable storage medium, which can improve the accuracy of control triggering.
[0004] In a first aspect, embodiments of this application provide a control triggering method, the method comprising: The icons of the controls are displayed through a graphical user interface. The response area of the controls includes the icon area where the icon is located and a specified area surrounding the icon. In response to a trigger operation on the graphical user interface, determine the operation position corresponding to the trigger operation. When the operation position is located in the overlapping response area between the first control and the second control, the target control to be triggered is determined from the first control and the second control based on the attribute data of the first control and the attribute data of the second control. Trigger the target control mentioned above.
[0005] Secondly, embodiments of this application also provide a control triggering device, the device comprising: The interface display module is used to display the icons of controls through a graphical user interface. The response area of the controls includes the icon area where the icon is located and a specified area surrounding the icon. The position determination module is used to determine the operation position corresponding to the trigger operation in response to the trigger operation of the graphical user interface; The control determination module is used to determine the target control to be triggered from the first control and the second control when the operation position is located in the overlapping response area between the first control and the second control. The control triggering module is used to trigger the target control mentioned above.
[0006] Thirdly, embodiments of this application also provide an electronic device, including a memory storing multiple instructions; the processor loads instructions from the memory to execute any of the control triggering methods provided in embodiments of this application.
[0007] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a plurality of instructions adapted for loading by a processor to execute any of the control triggering methods provided in embodiments of this application.
[0008] In this embodiment, the icon of the control is displayed through a graphical user interface. The response area of the control includes the icon area where the icon is located and a specified area surrounding the icon. In response to a trigger operation on the graphical user interface, the operation position corresponding to the trigger operation is determined. When the operation position is located in the overlapping response area between the first control and the second control, the target control to be triggered is determined from the first control and the second control based on the attribute data of the first control and the attribute data of the second control. The target control is triggered, thereby improving the accuracy of control triggering by expanding the response area of the control. Furthermore, when the operation position of the trigger operation is located in the overlapping response area, the target control to be triggered is determined based on the attribute data of the control, further improving the accuracy of control triggering. Attached Figure Description
[0009] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0010] Figure 1 This is a flowchart illustrating one embodiment of the control triggering method provided in this application. Figure 2 This is a schematic diagram of the graphical user interface provided in the embodiments of this application; Figure 3 This is another schematic diagram of the graphical user interface provided in the embodiments of this application; Figure 4 This is another schematic diagram of the graphical user interface provided in the embodiments of this application; Figure 5 This is a schematic diagram of the control triggering device provided in the embodiments of this application; Figure 6 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0011] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0012] Before providing a detailed explanation of the embodiments of this application, some terms involved in the embodiments of this application will be explained.
[0013] In the description of the embodiments of this application, the terms "first," "second," etc., may be used herein to describe various concepts, but unless specifically stated otherwise, these concepts are not limited by these terms. These terms are used only to distinguish one concept from another. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to these processes, methods, products, or devices.
[0014] This application provides a control triggering method, apparatus, electronic device, and computer-readable storage medium. Specifically, the control triggering method of this application can be executed by an electronic device, which can be a terminal or a server. The terminal can be a smartphone, tablet, laptop, touch screen, game console, personal computer (PC), personal digital assistant (PDA), or other terminal device. The terminal can also include a client, which can be a game application client, a browser client carrying a game program, or an instant messaging client. The server can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms.
[0015] The following is a detailed description in conjunction with the accompanying drawings. It should be noted that the order of description of the following embodiments is not intended to limit the preferred order of the embodiments. Although a logical order is shown in the flowcharts, in some cases, the steps shown or described may be performed in a different order than that shown in the drawings.
[0016] In this embodiment, a terminal is used as an example for illustration. This embodiment provides a control triggering method, such as... Figure 1 As shown, the specific flow of the control's trigger method can be as follows: 101. Display the icon of the control through the graphical user interface. The response area of the control includes the icon area where the icon is located and the specified area surrounding the icon.
[0017] The Graphical User Interface (GUI) refers to the interface through which a user interacts with a terminal. Optionally, when the GUI also displays a game scene, it can be used for player-terminal interaction to implement game logic. When the GUI also displays multimedia content, it can be used for user-terminal interaction to enable playback, pause, and uploading of multimedia content.
[0018] The response area of a control refers to the logical sensing area that can trigger the control. The shape and / or size of the specified area surrounding the icon can be set according to the actual situation. For example, the shape of the specified area surrounding the icon can be a regular shape or an irregular shape. A regular shape can be a rectangle or a circle surrounding the icon. Optionally, the shape of the specified area can be the same as or different from the shape of the icon area. The shapes of the specified areas of different controls can be the same or different. The size of the specified area can be a preset size or can be set according to the frequency of use of the control. The higher the frequency of use of the control, the larger the specified area surrounding the control's icon; the lower the frequency of use of the control, the smaller the specified area surrounding the control's icon. The sizes of the specified areas of different controls can be the same or different. For example, the icon area and the specified area surrounding the icon can be like this: Figure 2 As shown.
[0019] Optionally, the response areas of different controls may or may not overlap; this embodiment does not impose any limitations on this. When the response areas of different controls overlap, it can be an overlap between the icon area of a control and a designated area of the control, or an overlap between the designated areas of two controls.
[0020] 102. In response to a trigger operation on the graphical user interface, determine the operation position corresponding to the trigger operation.
[0021] The type of trigger operation for the graphical user interface can be set according to the actual situation. For example, the trigger operation can be a click operation or a double-click operation, which is not limited in this embodiment. The operation position corresponding to the trigger operation refers to the coordinate position of the trigger operation on the graphical user interface.
[0022] 103. When the operation position is located in the overlapping response area between the first control and the second control in the control, the target control to be triggered is determined from the first control and the second control based on the attribute data of the first control and the attribute data of the second control.
[0023] The overlapping response area can be the intersection area between the icon area of the first control and the specified area of the second control, or the intersection area between the specified area of the first control and the specified area of the second control, or the intersection area between the specified area of the first control and the icon area of the second control.
[0024] The attribute data of a control is a collection of data describing various characteristics of the control. The attribute data may include at least one of the following: running status, appearance data, and interaction data. Interaction data may include at least one of the following: the control's function, the control's interaction logic, and the control's historical usage data. Appearance data may include at least one of the control's display style and the control's layout. This embodiment does not limit the specific attributes of the control. Optionally, when the graphical user interface also displays a game scene, the attribute data of the control may include the control's interaction data and / or the system interaction data of the corresponding game subsystem. Control interaction data includes at least one of the control's function, the control's interaction logic, and the control's historical usage data. System interaction data includes at least one of the game subsystem's function, the game subsystem's interaction logic, and the game system's historical usage data. The definitions of the attribute data of the first control and the attribute data of the second control can be referenced from the attribute data of the control, and will not be repeated in this embodiment.
[0025] Optionally, if the operation location is not located within an overlapping response area, the control corresponding to the response area where the operation location is located is triggered. For example, if the control corresponding to the response area where the operation location is located is the first control, the first control is triggered; if the control corresponding to the response area where the operation location is located is the second control, the second control is triggered.
[0026] In this embodiment, when the operation position is located in the overlapping response area between the first control and the second control in the control, the target control to be triggered is determined from the first control and the second control based on the attribute data of the first control and the attribute data of the second control. This eliminates the need for a secondary operation to determine the target control to be triggered, thereby improving the triggering efficiency of the target control.
[0027] In some embodiments, the graphical user interface includes a normal response mode and an expanded response mode. In the normal response mode, the response area of the control is set to include the icon area where the control's icon is located. In the expanded response mode, the response area of the control is set to include the icon area where the control's icon is located and a specified area surrounding the icon, providing flexibility in setting the response area of the control, allowing users to choose the desired response mode according to their needs and improving the user experience.
[0028] In some embodiments, the graphical user interface further displays a game scene. The attribute data of the first control includes the control interaction data of the first control and / or the system interaction data of the first game subsystem corresponding to the first control. The attribute data of the second control includes the control interaction data of the second control and / or the system interaction data of the second game subsystem corresponding to the second control. The game scene is a virtual scene displayed (or provided) by the game client when it runs on the terminal. Optionally, the game scene can be a virtual scene within a game match, or it can be various virtual scenes after entering the game client, such as the virtual scene of the game lobby; this embodiment does not limit this. When the game scene is a virtual scene within a game match, it can be displayed in response to a game match entry command. When the game scene is various virtual scenes after entering the game client, it can be displayed in response to a game client launch command. Optionally, the game scene is a simulation environment of the real world, a semi-simulated / semi-fictional virtual environment, or a purely fictional virtual environment. The game scene can be any of a two-dimensional virtual scene or a three-dimensional virtual scene.
[0029] The game scene can be generated by various game subsystems within the game client. These subsystems may include an engine subsystem and a gameplay subsystem. The engine subsystem is the foundational system for game operation; for example, it may include at least one of a rendering subsystem, an audio subsystem, an animation subsystem, and a scripting subsystem. The gameplay subsystem refers to the subsystem used to implement specific game rules; for example, it may include at least one of a backpack system, a character system, a quest system, a summon system, a skill system, and a social system. This embodiment does not impose such limitations. Optionally, the gameplay subsystem may have corresponding controls on the graphical user interface; therefore, the first game subsystem and the second game system can both be gameplay subsystems.
[0030] The control interaction data of the first control is used to indicate the player's interaction behavior with the first control, and may include the function of the first control and / or the historical usage data of the first control. The control interaction data of the second control is used to indicate the interaction behavior of the second control, and may include the function of the second control and / or the historical usage data of the second control. The system interaction data of the first game subsystem is used to indicate the player's interaction behavior with the first game subsystem, and may include the function of the first game subsystem and / or the historical usage data of the first game subsystem. The system interaction data of the second game subsystem is used to indicate the player's interaction behavior with the second game subsystem, and may include the function of the second game subsystem and / or the historical usage data of the second game subsystem.
[0031] Optionally, the first game subsystem corresponding to the first control can be understood as the first control being used to indicate the first game subsystem, and the second game subsystem corresponding to the second control can be understood as the second control being used to indicate the second game subsystem. For example, the first control is a backpack control, and the first game subsystem can be a backpack system; the second control is a summon beast control, and the second game subsystem can be a summon beast system. Alternatively, the first control can be a control included in the first game subsystem, and the second control can be a control included in the second game subsystem. In this case, the first control can be understood as the control displayed after triggering the control used to indicate the first game subsystem, and the second control can be understood as the control displayed after triggering the control used to indicate the second game subsystem. For example, the first game subsystem is a backpack system, and triggering the backpack control displays the first control, which is used to represent "experience pills" in the backpack subsystem; the second game subsystem is a summon beast system, and triggering the summon beast control displays the second control, which is used to indicate each summon beast.
[0032] In this embodiment, the graphical user interface also displays a game scene. The attribute data of the first control includes the control interaction data of the first control and / or the system interaction data of the first game subsystem corresponding to the first control. The attribute data of the second control includes the control interaction data of the second control and / or the system interaction data of the second game subsystem corresponding to the second control. This enables the determination of the target control to be triggered through the control interaction data and / or system interaction data, thereby improving the accuracy of the target control and making the triggering of the target control more in line with the player's needs.
[0033] In some embodiments, determining the target control to be triggered from the first control and the second control based on the attribute data of the first control and the attribute data of the second control includes: Based on the attribute data of the first control and the already triggered game subsystem, determine the first trigger probability of the first control; Based on the attribute data of the second control and the already triggered game subsystem, determine the second trigger probability of the second control; Based on the first trigger probability and the second trigger probability, the target control to be triggered is determined from the first control and the second control.
[0034] The triggered game subsystem can be either manually triggered by the player or automatically triggered; this embodiment does not impose any limitations on this. A higher first trigger probability increases the likelihood of triggering the first control, and a lower first trigger probability decreases the likelihood of triggering the first control. Similarly, a higher second trigger probability increases the likelihood of triggering the second control, and a lower second trigger probability decreases the likelihood of triggering the second control. When the first trigger probability is greater than the second trigger probability, the first control is identified as the target control; when the first trigger probability is less than the second trigger probability, the second control is identified as the target control. When the difference between the first and second trigger probabilities is within a preset range, the target control is determined from the first and second controls based on the overlapping response area.
[0035] In this embodiment, a first trigger probability of the first control is determined based on the attribute data of the first control and the triggered game subsystem. A second trigger probability of the second control is determined based on the attribute data of the second control and the triggered game subsystem. Based on the first and second trigger probabilities, the target control to be triggered is determined from the first and second controls. This realizes the determination of the target control to be triggered based on the triggered game subsystem, further improving the accuracy of the target control.
[0036] In some embodiments, the attribute data of the first control includes control interaction data of the first control, and the attribute data of the second control includes control interaction data of the second control. In this case, a first trigger probability of the first control can be determined based on the control interaction data of the first control and the system interaction data of the triggered game subsystem and / or real-time scene data, and a second trigger probability of the second control can be determined based on the control interaction data of the second control and the system interaction data of the triggered game subsystem and / or real-time scene data. In this case, the first control can be used to indicate the first game subsystem, and the second control can be used to indicate the second game subsystem; alternatively, the first control may be a control displayed after triggering the control used to indicate the first game subsystem, and the second control may be a control displayed after triggering the control used to indicate the second game subsystem. The first game subsystem and the second game subsystem may be the same or different. For example, both the first and second game subsystems are backpack systems. The first control is the "Experience Pill" displayed after triggering the corresponding control of the backpack system. The "Experience Pill" can give the controlled virtual character an extra 10% experience. The second control is the "Health Potion" displayed after triggering the corresponding control of the backpack system. The "Health Potion" can increase the health of the controlled virtual character. The triggered game subsystem is the character system. The real-time scene data is the character status data of the controlled virtual character. When the character status data indicates that the controlled virtual character is injured and the experience value is 98%, the probability of the first trigger is greater than the probability of the second trigger.
[0037] In some embodiments, the attribute data of the first control includes system interaction data of the first game subsystem, the attribute data of the second control includes system interaction data of the second game subsystem, the first trigger probability is indicated by a first association indication information between the first game subsystem and the triggered game subsystem, and the second trigger probability is indicated by a second association indication information between the second game subsystem and the triggered game subsystem. Specifically, the first control can be used to indicate the first game subsystem, the second control can be used to indicate the second game subsystem, the first association indication information indicates the degree of association between the first game subsystem and the triggered game subsystem, and the second association indication information indicates the degree of association between the second game subsystem and the triggered game subsystem. A higher degree of association indicated by the first association indication information results in a higher first trigger probability, and a lower degree of association indicated by the first association indication information results in a lower first trigger probability. Similarly, a higher degree of association indicated by the second association indication information results in a higher second trigger probability, and a lower degree of association indicated by the second association indication information results in a lower second trigger probability.
[0038] Optionally, the degree of association indicated by the first association indication information can be related or not related, and the degree of association indicated by the second association indication information can be related or not related. Alternatively, the degree of association indicated by the first association indication information can be multiple, such as no association, weak association, medium association, and strong association, and the degree of association indicated by the second association indication information can be multiple, such as no association, weak association, medium association, and strong association. This embodiment does not limit this.
[0039] Optionally, a first associated indication information may be determined based on the system interaction data of the first game subsystem and the system interaction data of the triggered game subsystem, and / or a second associated indication information may be determined based on the system interaction data of the second game subsystem and the system interaction data of the triggered game subsystem, and / or a first associated indication information may be determined based on the system interaction data of the first game subsystem and the real-time scene data of the triggered game subsystem, and / or a second associated indication information may be determined based on the system interaction data of the second game subsystem and the real-time scene data of the triggered game subsystem. Real-time scene data refers to information generated in real-time by the triggered game subsystem during operation that is related to the game scene. For example, real-time scene data may be task data or character status data; this embodiment does not limit this.
[0040] In this embodiment, the attribute data of the first control includes system interaction data of the first game subsystem, and the attribute data of the second control includes system interaction data of the second game subsystem. The first trigger probability is indicated by the first association indication information between the first game subsystem and the triggered game subsystem, and the second trigger probability is indicated by the second association indication information between the second game subsystem and the triggered game subsystem. This allows the target control to be triggered to be determined by the degree of association between different game subsystems, enabling a more comprehensive prediction of the first and second trigger probabilities. This allows the control corresponding to the game subsystem with stronger association to be opened, reducing the player's accidental click rate and further improving the accuracy of the target control.
[0041] In some embodiments, the system interaction data of the first game subsystem includes the functions of the first game subsystem or the historical usage data of the first game subsystem, and the system interaction data of the second game subsystem includes the functions of the second game subsystem or the historical usage data of the second game subsystem; when the system interaction data of the first game subsystem includes the functions of the first game subsystem and the system interaction data of the second game subsystem includes the functions of the second game subsystem, the first association indication information is used to indicate the degree of functional association between the first game subsystem and the triggered game subsystem, and the second association indication information is used to indicate the degree of functional association between the second game subsystem and the triggered game subsystem; when the system interaction data of the first game subsystem includes the historical usage data of the first game subsystem and the system interaction data of the second game subsystem includes the historical usage data of the second game subsystem, the first association indication information is used to indicate the degree of association between the first game subsystem and the triggered game subsystem in terms of usage, and the second association indication information is used to indicate the degree of association between the second game subsystem and the triggered game subsystem in terms of usage.
[0042] Some game subsystems are functionally related. The type of relationship can be set according to the actual situation. For example, the relationship can be a material consumption relationship, a collection relationship, or a system description relationship. This embodiment does not limit this. When the relationship is a material consumption relationship, for example, if the equipment crafting system needs to use materials from the backpack system, the relationship between the equipment crafting system and the backpack system is a material consumption relationship. Similarly, if the summoning system needs to use resources from the backpack system, the relationship between the summoning system and the backpack system is a material consumption relationship. When the relationship is a collection relationship, for example, if the summoning system can store collected resources in the backpack system, the relationship between the summoning system and the backpack system is a collection relationship. Similarly, if the pet capturing system can be used to capture pets, and the pet encyclopedia system can be used to view collected pets, then the pet capturing system and the pet encyclopedia system can be considered a collection relationship. When the relationship is a system description relationship, for example, if a gameplay system can use the game spirit query system to query gameplay guides for that gameplay system, the gameplay system and the game spirit query system are considered a system description relationship.
[0043] When different game subsystems are functionally related, the correlation indicators between them are relatively strong; otherwise, the correlation indicators are relatively weak. For example, if the triggered game subsystem is the Summoning Beast System, the first game subsystem is the Inventory System, and the second game subsystem is the Equipment Crafting System, the Inventory System and the Summoning Beast System are functionally related, and the first correlation indicator indicates a strong correlation. However, the Equipment Crafting System and the Summoning Beast System are not functionally related, and the second correlation indicator indicates a weak correlation.
[0044] When system interaction data includes historical usage data, the simultaneous usage of different game subsystems can be determined through this historical usage data. For example, by using the historical usage data of the first game subsystem and the historical usage data of already triggered game subsystems, it can be determined that players usually trigger the first game subsystem after the already triggered game subsystem. In this case, the correlation between the first game subsystem and the already triggered game subsystem is relatively strong. Conversely, if players usually do not trigger the first game subsystem after the already triggered game subsystem, the correlation between the first game subsystem and the already triggered game subsystem is relatively weak.
[0045] In this embodiment, the system interaction data of the first game subsystem includes the functions of the first game subsystem or the historical usage data of the first game subsystem, and the system interaction data of the second game subsystem includes the functions of the second game subsystem or the historical usage data of the second game subsystem. When the system interaction data of the first game subsystem includes the functions of the first game subsystem and the system interaction data of the second game subsystem includes the functions of the second game subsystem, the first association indication information is used to indicate the degree of functional association between the first game subsystem and the triggered game subsystem, and the second association indication information is used to indicate the degree of functional association between the second game subsystem and the triggered game subsystem. When the system interaction data of the first game subsystem includes the historical usage data of the first game subsystem and the system interaction data of the second game subsystem includes the historical usage data of the second game subsystem, the first association indication information is used to indicate the degree of association between the first game subsystem and the triggered game subsystem in terms of usage, and the second association indication information is used to indicate the degree of association between the second game subsystem and the triggered game subsystem in terms of usage. This achieves the determination of the degree of association between different game subsystems through their functions or usage, improving the accuracy of the determined association indication information.
[0046] In some embodiments, where the system interaction data of the first game subsystem includes the functions of the first game subsystem and the system interaction data of the second game subsystem includes the functions of the second game subsystem, determining a first trigger probability of the first control based on the attribute data of the first control and the triggered game subsystem, and determining a second trigger probability of the second control based on the attribute data of the second control and the triggered game subsystem, includes: Based on the functions of the first game subsystem and the real-time scene data in the triggered game subsystem, determine the first association indication information between the first game subsystem and the triggered game subsystem; Based on the functions of the second game subsystem and the real-time scene data in the triggered game subsystem, the second association indication information between the second game subsystem and the triggered game subsystem is determined.
[0047] The types of real-time scene data in the triggered game subsystems can be set according to the actual situation. For example, the triggered game subsystems include the task system and / or the character system. The real-time scene data includes task data in the task system and / or character status data in the character system. Task data refers to information related to tasks in the game scene, such as task progress information or indicating a certain task. Character status data is used to indicate the status of the controlled virtual character in the game scene.
[0048] For example, if the first game subsystem functions as a healing function, and the real-time scene data is character status data indicating that the controlled virtual character is injured, and the second game subsystem functions as a storage function, then the first associated indicator information indicates a higher degree of association, while the second associated indicator information indicates a lower degree of association. Alternatively, if the first game subsystem functions as a dungeon function, and the real-time scene data is task data indicating that the task data indicates entering the dungeon, and the second game subsystem functions as a storage function, then the first associated indicator information indicates a higher degree of association, while the second associated indicator information indicates a lower degree of association. The task system and the dungeon system can be associated with a task execution relationship.
[0049] In this embodiment, when the system interaction data of the first game subsystem includes the functions of the first game subsystem and the system interaction data of the second game subsystem includes the functions of the second game subsystem, a first association indication information between the first game subsystem and the triggered game subsystem is determined based on the functions of the first game subsystem and the real-time scene data in the triggered game subsystem; a second association indication information between the second game subsystem and the triggered game subsystem is determined based on the functions of the second game subsystem and the real-time scene data in the triggered game subsystem, thereby realizing the determination of the degree of association between different game subsystems through functions and real-time scene data, and further improving the accuracy of the determined target control.
[0050] In some embodiments, determining the target control to be triggered from the first control and the second control based on a first trigger probability and a second trigger probability includes: If the degree of association indicated by the first association indicator is greater than the degree of association indicated by the second association indicator, the first control is determined as the target control to be triggered. If the degree of association indicated by the first association indicator is less than the degree of association indicated by the second association indicator, the second control is determined as the target control to be triggered. If the difference between the degree of association indicated by the first association indication information and the degree of association indicated by the second association indication information meets a preset difference condition, the target control is determined from the first control and the second control based on the overlapping response area.
[0051] Specifically, when the difference between the first and second associated indication information is within a preset difference range, it can be determined that the difference between the degree of association indicated by the first and second associated indication information satisfies a preset difference condition. When the difference between the first and second associated indication information is not within the preset difference range, if the degree of association indicated by the first and second associated indication information is greater than the degree of association indicated by the second associated indication information, then the first control is determined as the target control to be triggered. If the degree of association indicated by the first and second associated indication information is less than the degree of association indicated by the second associated indication information, then the second control is determined as the target control to be triggered.
[0052] When the difference between the degree of association indicated by the first association indication information and the degree of association indicated by the second association indication information meets the preset difference condition, it indicates that the degree of association between the first game subsystem and the triggered game subsystem is small or large, and the degree of association between the second game subsystem and the triggered game subsystem is small. At this time, it is impossible to determine the target control from the first control and the second control based on the first association indication information and the second association indication information. Instead, the target control is determined from the first control and the second control based on the overlapping response area, which further improves the accuracy of determining the target control.
[0053] In some embodiments, determining the target control from the first control and the second control based on the overlapping response region includes at least one of the following: If the overlapping response area includes the specified area of the first control and the icon area of the second control, the second control is identified as the target control. When the overlapping response area includes the specified area of the first control and the specified area of the second control, the distances between the operation position and the first control and the second control are determined, and the control corresponding to the smaller distance is determined as the target control.
[0054] In the case where the overlapping response area includes the specified area of the first control and the icon area of the second control, it means that the first specified area includes a portion of the icon area of the second control, implying that the operation position is located on the icon area of the second control. For example, as shown in the example... Figure 3 As shown, when the correlation between the first and second game subsystems and the triggered game subsystem is both small or both large, if the overlapping response area includes the specified area of the first control and the icon area of the second control, it can be predicted that the player needs to trigger the second control, and the second control can be identified as the target control. However, when the overlapping response area includes the specified areas of the first and second controls, it is not possible to directly determine whether the player needs to trigger the first or second control. For example, ... Figure 4 As shown, at this time, the distances between the operation position and the first control and the second control can be determined respectively. The control corresponding to the smaller distance is determined as the target control. If the distance between the operation position and the first control is less than the distance between the operation position and the second control, the first control is determined as the target control. If the distance between the operation position and the first control is greater than the distance between the operation position and the second control, the second control is determined as the target control.
[0055] In this embodiment, when the overlapping response area includes the designated area of the first control and the icon area of the second control, the second control is determined as the target control. When the overlapping response area includes the designated area of the first control and the designated area of the second control, the distances between the operation position and the first control and the second control are determined respectively. The control corresponding to the smaller distance is determined as the target control. This realizes the selection of different selection strategies for different overlapping response areas, and further improves the accuracy of determining the target control.
[0056] 104. Trigger the target control.
[0057] After determining the target control that the player needs to trigger, the target control is triggered in order to respond to the user's triggering action.
[0058] As can be seen from the above, in this embodiment, the icon of the control is displayed through a graphical user interface, and the response area of the control includes the icon area where the icon is located and a specified area surrounding the icon; in response to a trigger operation on the graphical user interface, the operation position corresponding to the trigger operation is determined; when the operation position is located in the overlapping response area between the first control and the second control, the target control to be triggered is determined from the first control and the second control based on the attribute data of the first control and the attribute data of the second control; the target control is triggered, thereby improving the accuracy of control triggering by expanding the response area of the control, and further improving the accuracy of control triggering by determining the target control to be triggered based on the attribute data of the control when the operation position of the trigger operation is located in the overlapping response area.
[0059] To better implement the above methods, this application also provides a control triggering device, which can be integrated into an electronic device, such as a computer device, which can be a terminal, server or other device.
[0060] For example, in this embodiment, the method of this application embodiment will be described in detail by taking the control triggering device specifically integrated into the terminal as an example. This embodiment provides a control triggering device, such as... Figure 5 As shown, the control triggering device may include: The interface display module 501 is used to display the icon of the control through a graphical user interface. The response area of the control includes the icon area where the icon is located and the specified area surrounding the icon.
[0061] The position determination module 502 is used to determine the operation position corresponding to the trigger operation in response to the trigger operation of the graphical user interface.
[0062] The control determination module 503 is used to determine the target control to be triggered from the first control and the second control when the operation position is located in the overlapping response area between the first control and the second control.
[0063] Control triggering module 504 is used to trigger the target control.
[0064] In some embodiments, the graphical user interface further displays a game scene, the attribute data of the first control includes the control interaction data of the first control and / or the system interaction data of the first game subsystem corresponding to the first control, and the attribute data of the second control includes the control interaction data of the second control and / or the system interaction data of the second game subsystem corresponding to the second control.
[0065] In some embodiments, the control determination module 503 is specifically used to perform: Based on the attribute data of the first control and the already triggered game subsystem, determine the first trigger probability of the first control; Based on the attribute data of the second control and the already triggered game subsystem, determine the second trigger probability of the second control; Based on the first trigger probability and the second trigger probability, the target control to be triggered is determined from the first control and the second control.
[0066] In some embodiments, the attribute data of the first control includes system interaction data of the first game subsystem, the attribute data of the second control includes system interaction data of the second game subsystem, the first trigger probability is indicated by a first association indication information between the first game subsystem and the triggered game subsystem, and the second trigger probability is indicated by a second association indication information between the second game subsystem and the triggered game subsystem.
[0067] In some embodiments, the system interaction data of the first game subsystem includes the functions of the first game subsystem or the historical usage data of the first game subsystem, and the system interaction data of the second game subsystem includes the functions of the second game subsystem or the historical usage data of the second game subsystem. When the system interaction data of the first game subsystem includes the functions of the first game subsystem and the system interaction data of the second game subsystem includes the functions of the second game subsystem, the first association indication information is used to indicate the degree of functional association between the first game subsystem and the triggered game subsystem, and the second association indication information is used to indicate the degree of functional association between the second game subsystem and the triggered game subsystem. When the system interaction data of the first game subsystem includes the historical usage data of the first game subsystem and the system interaction data of the second game subsystem includes the historical usage data of the second game subsystem, the first association indication information is used to indicate the degree of association between the first game subsystem and the triggered game subsystem in terms of usage, and the second association indication information is used to indicate the degree of association between the second game subsystem and the triggered game subsystem in terms of usage.
[0068] In some embodiments, where the system interaction data of the first game subsystem includes the functions of the first game subsystem and the system interaction data of the second game subsystem includes the functions of the second game subsystem, the control determination module 503 is specifically used to perform: Based on the functions of the first game subsystem and the real-time scene data in the triggered game subsystem, determine the first association indication information between the first game subsystem and the triggered game subsystem; Based on the functions of the second game subsystem and the real-time scene data in the triggered game subsystem, the second association indication information between the second game subsystem and the triggered game subsystem is determined.
[0069] In some embodiments, the triggered game subsystem includes a task system and / or a character system, and the real-time scene data includes task data in the task system and / or character status data in the character system.
[0070] In some embodiments, the control determination module 503 is specifically used to perform: If the degree of association indicated by the first association indicator is greater than the degree of association indicated by the second association indicator, the first control is determined as the target control to be triggered. If the degree of association indicated by the first association indicator is less than the degree of association indicated by the second association indicator, the second control is determined as the target control to be triggered. If the difference between the degree of association indicated by the first association indication information and the degree of association indicated by the second association indication information meets a preset difference condition, the target control is determined from the first control and the second control based on the overlapping response area.
[0071] In some embodiments, the control determination module 503 is specifically used to perform at least one of the following: If the overlapping response area includes the specified area of the first control and the icon area of the second control, the second control is identified as the target control. When the overlapping response area includes the specified area of the first control and the specified area of the second control, the distances between the operation position and the first control and the second control are determined, and the control corresponding to the smaller distance is determined as the target control.
[0072] In some embodiments, the control triggering module 504 is further configured to perform: If the operation location is not located in an overlapping response area, the control corresponding to the response area where the operation location is located will be triggered.
[0073] In some embodiments, the graphical user interface includes a normal response mode and an expanded response mode. In the normal response mode, the response area of the control is set to include the icon area where the control's icon is located. In the expanded response mode, the response area of the control is set to include the icon area where the control's icon is located and a specified area surrounding the icon.
[0074] In practice, each of the above modules can be implemented as an independent entity or can be combined arbitrarily to be implemented as the same or several entities. For the specific implementation methods and corresponding beneficial effects of each of the above modules, please refer to the previous method embodiments, which will not be repeated here.
[0075] Accordingly, embodiments of this application also provide an electronic device, which can be a terminal, such as a smartphone, tablet computer, laptop computer, touch screen, game console, personal computer (PC), personal digital assistant (PDA), or other terminal device. Figure 6 As shown, Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. The electronic device 600 includes a processor 601 with one or more processing cores, a memory 602 with one or more computer-readable storage media, and a computer program stored on the memory 602 and executable on the processor. The processor 601 and the memory 602 are electrically connected. Those skilled in the art will understand that the electronic device structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0076] The processor 601 is the control center of the electronic device 600. It connects various parts of the electronic device 600 through various interfaces and lines. By running or loading software programs and / or modules stored in the memory 602, and calling data stored in the memory 602, it performs various functions of the electronic device 600 and processes data, thereby monitoring the electronic device 600 as a whole.
[0077] In this embodiment, the processor 601 in the electronic device 600 loads the instructions corresponding to the processes of one or more applications into the memory 602 according to the following steps, and the processor 601 runs the applications stored in the memory 602 to achieve various functions, such as: The icon of the control is displayed through a graphical user interface. The response area of the control includes the icon area where the icon is located and the specified area surrounding the icon. In response to a trigger operation on the graphical user interface, determine the operation position corresponding to the trigger operation; When the operation position is located in the overlapping response area between the first control and the second control in the control, the target control to be triggered is determined from the first control and the second control based on the attribute data of the first control and the attribute data of the second control; Trigger the target control.
[0078] For details on the specific implementation methods and corresponding beneficial effects of the above operations, please refer to the detailed description of the control triggering method above, which will not be repeated here.
[0079] Optional, such as Figure 6 As shown, the electronic device 600 also includes: a touch display screen 603, a radio frequency circuit 604, an audio circuit 605, an input unit 606, and a power supply 607. The processor 601 is electrically connected to the touch display screen 603, the radio frequency circuit 604, the audio circuit 605, the input unit 606, and the power supply 607. Those skilled in the art will understand that... Figure 6 The electronic device structure shown does not constitute a limitation on the electronic device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0080] The touch display screen 603 can be used to display a graphical user interface (GUI) and receive operation commands generated by the user interacting with the GUI. The touch display screen 603 may include a display panel and a touch panel. The display panel can be used to display information input by the user or information provided to the user, as well as various graphical user interfaces of the electronic device. These graphical user interfaces can be composed of graphics, text, icons, video, and any combination thereof. Optionally, the display panel can be configured using a liquid crystal display (LCD), organic light-emitting diode (OLED), or other similar technologies. The touch panel can be used to collect touch operations performed by the user on or near it (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near the touch panel), generate corresponding operation commands, and execute the corresponding program according to the operation commands. Optionally, the touch panel may include two parts: a touch detection device and a touch controller. The touch detection device detects the user's touch location and the signal generated by the touch operation, transmitting the signal to the touch controller. The touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends it to the processor 601. It can also receive and execute commands from the processor 601. The touch panel can cover the display panel. When the touch panel detects a touch operation on or near it, it transmits the information to the processor 601 to determine the type of touch event. Subsequently, the processor 601 provides corresponding visual output on the display panel based on the type of touch event. In this embodiment, the touch panel and the display panel can be integrated into the touch display screen 603 to achieve input and output functions. However, in some embodiments, the touch panel and the touch display screen 603 can be implemented as two independent components to achieve input and output functions. That is, the touch display screen 603 can also be used as part of the input unit 606 to achieve input functions.
[0081] The radio frequency circuit 604 can be used to transmit and receive radio frequency signals to establish wireless communication with network devices or other electronic devices, and to transmit and receive signals with network devices or other electronic devices.
[0082] Audio circuit 605 can be used to provide an audio interface between a user and an electronic device via a speaker and a microphone. Audio circuit 605 can convert received audio data into electrical signals and transmit them to the speaker, where the speaker converts them into sound signals for output. Conversely, the microphone converts collected sound signals into electrical signals, which are then received by audio circuit 605, converted back into audio data, and then processed by processor 601 before being transmitted via radio frequency circuit 604 to, for example, another electronic device, or output to memory 602 for further processing. Audio circuit 605 may also include an earphone jack to provide communication between peripheral headphones and electronic devices.
[0083] The input unit 606 can be used to receive input numbers, characters, or user characteristic information (such as fingerprints, iris, facial information, etc.), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.
[0084] Power supply 607 is used to supply power to various components of electronic device 600. Optionally, power supply 607 can be logically connected to processor 601 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. Power supply 607 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0085] although Figure 6 As not shown in the diagram, the electronic device 600 may also include a camera, sensor, wireless fidelity module, Bluetooth module, etc., which will not be described in detail here.
[0086] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0087] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.
[0088] Therefore, embodiments of this application provide a computer-readable storage medium storing multiple computer programs that can be loaded by a processor to execute any of the control triggering methods provided in embodiments of this application. For example, the computer program can perform the following steps: The icon of the control is displayed through a graphical user interface. The response area of the control includes the icon area where the icon is located and the specified area surrounding the icon. In response to a trigger operation on the graphical user interface, determine the operation position corresponding to the trigger operation; When the operation position is located in the overlapping response area between the first control and the second control in the control, the target control to be triggered is determined from the first control and the second control based on the attribute data of the first control and the attribute data of the second control; Trigger the target control.
[0089] For details on the specific implementation methods and corresponding beneficial effects of the above operations, please refer to the detailed description of the control triggering method above, which will not be repeated here.
[0090] The computer-readable storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0091] Since the computer program stored in the computer-readable storage medium can execute any of the control triggering methods provided in the embodiments of this application, it can achieve the beneficial effects that any of the control triggering methods provided in the embodiments of this application can achieve, as detailed in the preceding embodiments, and will not be repeated here.
[0092] The foregoing has provided a detailed description of a control triggering method, apparatus, electronic device, and computer-readable storage medium provided in the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A control triggering method, characterized in that, The method includes: The icon of the control is displayed through a graphical user interface, and the response area of the control includes the icon area where the icon is located and a specified area surrounding the icon; In response to a trigger operation on the graphical user interface, determine the operation position corresponding to the trigger operation; When the operation position is located in the overlapping response area between the first control and the second control in the control, the target control to be triggered is determined from the first control and the second control based on the attribute data of the first control and the attribute data of the second control; The target control is triggered.
2. The control triggering method as described in claim 1, characterized in that, The graphical user interface also displays a game scene. The attribute data of the first control includes the control interaction data of the first control and / or the system interaction data of the first game subsystem corresponding to the first control. The attribute data of the second control includes the control interaction data of the second control and / or the system interaction data of the second game subsystem corresponding to the second control.
3. The control triggering method as described in claim 2, characterized in that, The step of determining the target control to be triggered from the first control and the second control based on the attribute data of the first control and the attribute data of the second control includes: Based on the attribute data of the first control and the triggered game subsystem, determine the first trigger probability of the first control; Based on the attribute data of the second control and the triggered game subsystem, determine the second trigger probability of the second control; Based on the first trigger probability and the second trigger probability, the target control to be triggered is determined from the first control and the second control.
4. The control triggering method as described in claim 3, characterized in that, The attribute data of the first control includes the system interaction data of the first game subsystem, the attribute data of the second control includes the system interaction data of the second game subsystem, the first trigger probability is indicated by the first association indication information between the first game subsystem and the triggered game subsystem, and the second trigger probability is indicated by the second association indication information between the second game subsystem and the triggered game subsystem.
5. The control triggering method as described in claim 4, characterized in that, The system interaction data of the first game subsystem includes the functions of the first game subsystem or the historical usage data of the first game subsystem; the system interaction data of the second game subsystem includes the functions of the second game subsystem or the historical usage data of the second game subsystem. When the system interaction data of the first game subsystem includes the functions of the first game subsystem and the system interaction data of the second game subsystem includes the functions of the second game subsystem, the first association indication information is used to indicate the degree of functional association between the first game subsystem and the triggered game subsystem, and the second association indication information is used to indicate the degree of functional association between the second game subsystem and the triggered game subsystem. When the system interaction data of the first game subsystem includes the historical usage data of the first game subsystem and the system interaction data of the second game subsystem includes the historical usage data of the second game subsystem, the first association indication information is used to indicate the degree of association between the first game subsystem and the triggered game subsystem in terms of usage, and the second association indication information is used to indicate the degree of association between the second game subsystem and the triggered game subsystem in terms of usage.
6. The control triggering method as described in claim 4, characterized in that, When the system interaction data of the first game subsystem includes the functions of the first game subsystem and the system interaction data of the second game subsystem includes the functions of the second game subsystem, determining the first trigger probability of the first control based on the attribute data of the first control and the triggered game subsystem, and determining the second trigger probability of the second control based on the attribute data of the second control and the triggered game subsystem, includes: Based on the functions of the first game subsystem and the real-time scene data in the triggered game subsystem, a first association indication information between the first game subsystem and the triggered game subsystem is determined. Based on the functions of the second game subsystem and the real-time scene data in the triggered game subsystem, a second association indication information between the second game subsystem and the triggered game subsystem is determined.
7. The control triggering method as described in claim 6, characterized in that, The triggered game subsystems include a task system and / or a character system, and the real-time scene data includes task data in the task system and / or character status data in the character system.
8. The control triggering method as described in claim 4, characterized in that, The step of determining the target control to be triggered from the first control and the second control based on the first trigger probability and the second trigger probability includes: If the degree of association indicated by the first association indication information is greater than the degree of association indicated by the second association indication information, the first control is determined as the target control to be triggered. If the degree of association indicated by the first association indication information is less than the degree of association indicated by the second association indication information, the second control is determined as the target control to be triggered. If the difference between the degree of association indicated by the first association indication information and the degree of association indicated by the second association indication information meets a preset difference condition, the target control is determined from the first control and the second control based on the overlapping response area.
9. The control triggering method as described in claim 8, characterized in that, Determining the target control from the first control and the second control based on the overlapping response region includes at least one of the following: If the overlapping response area includes a designated area of the first control and an icon area of the second control, the second control is determined as the target control. When the overlapping response area includes a specified area of the first control and a specified area of the second control, the distances of the operation position to the first control and the second control are determined, and the control corresponding to the smaller distance is determined as the target control.
10. The control triggering method as described in claim 1, characterized in that, The method further includes: If the operation position is not located in the overlapping response area, the control corresponding to the response area where the operation position is located is triggered.
11. The control triggering method according to any one of claims 1-10, characterized in that, The graphical user interface includes a normal response mode and an expanded response mode. In the normal response mode, the response area of the control is set to include the icon area where the control's icon is located. In the expanded response mode, the response area of the control is set to include the icon area where the control's icon is located and a specified area surrounding the icon.
12. A control triggering device, characterized in that, The device includes: The interface display module is used to display the icon of a control through a graphical user interface, wherein the response area of the control includes the icon area where the icon is located and a specified area surrounding the icon; A position determination module is used to determine the operation position corresponding to the trigger operation in response to a trigger operation on the graphical user interface; The control determination module is used to determine the target control to be triggered from the first control and the second control based on the attribute data of the first control and the attribute data of the second control when the operation position is located in the overlapping response area between the first control and the second control. The control triggering module is used to trigger the target control.
13. An electronic device, characterized in that, The device includes a processor and a memory, the memory storing multiple instructions; the processor loads instructions from the memory to execute the control triggering method as described in any one of claims 1 to 11.
14. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a plurality of instructions adapted for loading by a processor to execute the control triggering method according to any one of claims 1 to 11.