Information Processing Method, Device, Computer Equipment and Storage Medium for a Game

By detecting user operations, using preset areas and operating habits to control the display and hiding of interactive frames, the mask control design problem is solved, the accurate and rapid response of interactive frame events is achieved, and the user experience of the game interface is improved.

CN115888098BActive Publication Date: 2025-08-01NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211559238.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-06
Publication Date
2025-08-01
Estimated Expiration
2042-12-06

AI Technical Summary

Technical Problem

In the prior art, it is difficult to accurately and quickly to display and hide events of the interactive frame of the display interface. It is mainly because the size, level and coordinates of the mask control are difficult to design reasonably, resulting in inaccurate triggering of the interactive frame of the display and hide events.

Method used

By detecting the user's user operations in the display interface, using preset areas and user operation habits, the display or hidden events of the interactive box are determined, and there is no need to rely on mask controls, and the display and hiding of the interactive box is directly controlled according to the trigger position and type of the user's operation.

Benefits of technology

Improve the speed and accuracy of interactive frame display and hide events, avoid inaccuracy caused by errors in size, hierarchy, and coordinates of mask controls, and reduce the impact on other game events in the display interface.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115888098B_ABST
    Figure CN115888098B_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose an information processing method, apparatus, computer device, and storage medium for games. A display interface is provided by a terminal device, and the display interface includes an interaction box for displaying information, interaction controls of the interaction box, and other areas except the interaction box and the interaction controls. The method includes: obtaining a user operation of the user on the display interface; when detecting a first user operation acting within a preset area, keeping the interaction box already displayed in the display interface, where the preset area at least includes a preset sub-area and the interaction box area of the interaction box, and the preset sub-area is located within the other area; when detecting a second user operation acting outside the preset area, determining whether to hide the interaction box according to the trigger position of the second user operation. The present application can accurately and quickly trigger the display or hiding event of the interaction box by detecting user operations without relying on a mask control.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of data processing, and particularly to an information processing method, device, computer device, and storage medium for games. Background Art

[0002] With the development of game production technology, the display content of the display interface has become increasingly rich, and various interaction boxes for displaying game information will appear in the display interface. When a user wants to hide an interaction box, generally, it is hidden by clicking on a corresponding mask control.

[0003] However, the scenes of most display interfaces are relatively complex, with variable sizes, and the mask control is an invisible control to the user, making it difficult to design a mask control with reasonable size, layer, and coordinates. As a result, due to the high development difficulty and error-proneness of the mask control, the display and hide events of the interaction box are not triggered accurately and quickly enough. Summary of the Invention

[0004] Embodiments of this application provide an information processing method, device, computer device, and storage medium for games, which can accurately and quickly trigger the display or hide event of an interaction box by detecting user operations without relying on a mask control.

[0005] Embodiments of this application provide an information processing method for games. A display interface is provided through a terminal device. The display interface includes an interaction box for displaying information, an interaction control for the interaction box, and other areas except the interaction box and the interaction control. The method includes:

[0006] Obtain a user operation of the user on the display interface;

[0007] When a first user operation acting on a preset area is detected, keep the interaction box already displayed in the display interface. Among them, the preset area at least includes a preset sub-area and the interaction box area of the interaction box, and the preset sub-area is located within the other area;

[0008] When a second user operation acting outside the preset area is detected, determine whether to hide the interaction box according to the trigger position of the second user operation.

[0009] Embodiments of this application also provide an information processing device for games. A display interface is provided through a terminal device. The display interface includes an interaction box for displaying information, an interaction control for the interaction box, and other areas except the interaction box and the interaction control. The device includes:

[0010] A user operation acquisition module, configured to obtain a user operation of the user on the display interface;

[0011] An interaction box display module, configured to maintain the display of the interaction box already displayed in the display interface when a first user operation acting on a preset area is detected, where the preset area at least includes a preset sub-area and an interaction box area of the interaction box, and the preset sub-area is located within the other area;

[0012] An interaction box hiding detection module, configured to determine whether to hide the interaction box according to the trigger position of the second user operation when a second user operation acting outside the preset area is detected.

[0013] Optionally, the user operation acquisition module is further specifically configured to:

[0014] Acquire the operation habit of the user with respect to the display interface;

[0015] Determine the preset sub-area according to the operation habit.

[0016] Optionally, the interaction box hiding detection module further includes:

[0017] An interaction box hiding sub-module, configured to hide the already displayed interaction box if the trigger position of the second user operation is the other area;

[0018] An interaction box hiding detection sub-module, configured to determine whether to hide the interaction box according to the operation event generated by the second user operation if the trigger position of the second user operation is the control area where the interaction control is located.

[0019] Optionally, the interaction box hiding detection sub-module further includes:

[0020] A first interaction control acquisition module, configured to acquire a first interaction control, where the first interaction control is the object of the user's current execution of the second user operation;

[0021] A second interaction control acquisition module, configured to acquire a second interaction control, where the second interaction control is the interaction control corresponding to the already displayed interaction box;

[0022] An interaction box first display module, configured to maintain the display of the already displayed interaction box and add a display of the interaction box corresponding to the first interaction control in the display interface if the first interaction control is different from the second interaction control;

[0023] An interaction box hiding module, configured to hide the already displayed interaction box if the first interaction control is the same as the second interaction control.

[0024] Optionally, the device further includes:

[0025] A second interactive control determining module, configured to, if the displayed interactive box is kept displayed, jointly determine the first interactive control and the second interactive control as the updated second interactive control;

[0026] A second interactive control clearing module, configured to, if the displayed interactive box is hidden, clear the second interactive control.

[0027] Optionally, the device further includes:

[0028] A priority obtaining module, configured to obtain a first priority for detecting the first user operation and a second priority for detecting the second user operation, where the first priority is higher than the second priority.

[0029] Optionally, the device further includes:

[0030] A trigger position detecting module, configured to obtain a start position and an end position where the user operation is triggered;

[0031] An invalid operation determining module, configured to, if the coordinates of the start position and the end position are different, determine the triggered operation as an invalid operation not related to the interactive box, or determine the coordinates of the end position as the trigger position of the user operation;

[0032] A trigger position determining module, configured to, if the coordinates of the start position and the end position are the same, determine the coordinates of the start position or the end position as the trigger position of the user operation.

[0033] Optionally, the device further includes:

[0034] A third user operation detecting module, configured to, when detecting a third user operation of the user, obtain a duration and a trigger position of the third user operation, where the third user operation is a user operation staying on a first interactive box;

[0035] An other interactive box hiding module, configured to, if the duration is greater than a preset threshold, hide other interactive boxes except the first interactive box.

[0036] An embodiment of the present application further provides a computer device, including a processor and a memory, where the memory stores multiple instructions; the processor loads the instructions from the memory to execute the steps in the information processing method of the game as described in any one of the above embodiments.

[0037] An embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium stores multiple instructions, and the instructions are suitable for being loaded by a processor to execute the steps in the information processing method of the game as described in any one of the above embodiments:

[0038] Obtain a user operation of the user with respect to the display interface;

[0039] When a first user operation acting within a preset area is detected, keep displaying the interaction box already displayed in the display interface, where the preset area at least includes a preset sub - area and the interaction box area of the interaction box, and the preset sub - area is located within the other area;

[0040] When a second user operation acting outside the preset area is detected, determine whether to hide the interaction box according to the trigger position of the second user operation.

[0041] As can be seen from the above, in the embodiment of the present application, by detecting the user operation triggered by the user in the display interface, and based on the trigger position and operation event corresponding to different types of user operations, it is determined whether to display or hide the interaction box already displayed in the display interface, or whether to display a new interaction box, so that the user does not need to click on the mask control to implement the display and hiding of the interaction box. Therefore, there is no need to develop a supporting mask control for different display interfaces, avoiding inaccurate triggering of the display or hiding event of the interaction box due to incorrect dimensions, levels, and coordinates of the mask control. Moreover, the method in the embodiment of the present application only detects user operations and is not affected by various game events in the display interface. Thus, the present application can improve the speed and accuracy of triggering the display and hiding events of the interaction box in the display interfaces of various game scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following - described drawings are only some embodiments of the present application. For those skilled in the art, without creative efforts, other drawings can be obtained based on these drawings.

[0043] Figure 1 System schematic diagram of the information processing device for the game provided by the embodiment of the present application;

[0044] Figure 2 Flow schematic diagram of the information processing method for the game provided by the embodiment of the present application;

[0045] Figure 3 Another flow schematic diagram of the information processing method for the game provided by the embodiment of the present application;

[0046] Figure 4 Schematic diagram of displaying an interaction box and interaction controls in the display interface provided by the embodiment of the present application;

[0047] Figure 5 Schematic diagram of setting a preset area in the display interface provided by the embodiment of the present application;

[0048] Figure 6 Schematic diagram of the third user operation triggering an operation event provided by an embodiment of the present application;

[0049] Figure 7 Schematic diagram of the structure of an information processing device for a game provided by an embodiment of the present application;

[0050] Figure 8 Schematic diagram of the structure of a computer device provided by an embodiment of the present application;

[0051] Figure 9 Program product applying the information processing method of the game provided by an embodiment of the present application. Detailed implementation manners

[0052] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative efforts belong to the scope of protection of the present application.

[0053] The terms "first", "second", and "third" in the present application are only for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, features defined with "first", "second", and "third" may explicitly or implicitly include at least one of such features. In the description of the present application, the meaning of "a plurality" is at least two, such as two, three, etc., unless otherwise specifically and clearly defined. All directional indications (such as up, down, left, right, front, back...) in the embodiments of the present application are only used to explain the relative position relationship and movement conditions between components in a specific posture (as shown in the drawings). If the specific posture changes, the directional indications will also change accordingly. In addition, the terms "include" and "have" 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 limited to the listed steps or units, but optionally further includes steps or units not listed, or optionally further includes other steps or units inherent to these processes, methods, products, or devices.

[0054] The embodiments of the present application provide a method and apparatus for processing game information, a storage medium, and a computer device. Specifically, the game information processing method of the embodiments of the present application can be executed by a computer device, where the computer device can be a terminal or a server, etc. The terminal can be a smart phone, a tablet computer, a laptop computer, a touch screen, a game console, a personal computer (PC), a personal digital assistant (PDA), etc. The terminal device can also include a client, which can be a game application client, a browser client with a game program, or an instant messaging client, etc. The server can be an independent physical server, or a server cluster or a distributed system composed of multiple physical servers. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms.

[0055] For example, when the game information processing method runs on a terminal, the terminal device stores a game application program and presents some game scenes in the game through a display component. The terminal device is used to interact with the user through a graphical user interface, such as downloading and installing the game application program and running it through the terminal device. The way the terminal device provides the graphical user interface to the user can include various methods. For example, it can be rendered and displayed on the display screen of the terminal device, or the graphical user interface can be presented through holographic projection. For example, the terminal device can include a touch display screen and a processor. The touch display screen is used to present the graphical user interface and receive operation instructions generated by the user acting on the graphical user interface. The graphical user interface includes a game screen. The processor is used to run the game, generate the graphical user interface, respond to operation instructions, and control the display of the graphical user interface on the touch display screen.

[0056] For example, when the information processing method of the game runs on a server, it can be a cloud game. A cloud game refers to a game mode based on cloud computing. In the operation mode of a cloud game, the running entity of the game application and the entity presenting the game screen are separated. The storage and operation of the information processing method of the game are completed on the cloud game server, while the presentation of the game screen is completed on the cloud game client. The cloud game client is mainly used for receiving and sending game data and presenting the game screen. For example, the cloud game client can be a display device with data transmission function near the user side, such as a mobile terminal, a television, a computer, a handheld computer, a personal digital assistant, etc. However, the terminal device executing the information processing method of the game is the cloud game server in the cloud. When playing a game, the user operates the cloud game client to send an operation instruction to the cloud game server. The cloud game server runs the game according to the operation instruction, encodes and compresses data such as the game screen, returns it to the cloud game client through the network, and finally, the game screen is decoded and output through the cloud game client.

[0057] Please refer to Figure 1 , Figure 1 FIG. is a schematic diagram of a system of a display control device in a game provided by an embodiment of the present application. The system may include at least one terminal 1000, at least one server 2000, at least one database 3000, and a network 4000. The terminal 1000 held by a user can be connected to servers of different games through the network 4000. The terminal 1000 is any device with computing hardware that can support and execute a software product corresponding to the game. In addition, the terminal 1000 has one or more multi-touch sensitive screens for sensing and obtaining input of touch or swipe operations performed by the user at multiple points on one or more touch display screens. In addition, when the system includes multiple terminals 1000, multiple servers 2000, and multiple networks 4000, different terminals 1000 can be connected to each other through different networks 4000 and through different servers 2000. The network 4000 can be a wireless network or a wired network. For example, the wireless network can be a wireless local area network (WLAN), a local area network (LAN), a cellular network, a 2G network, a 3G network, a 4G network, a 5G network, etc. In addition, different terminals 1000 can also use their own Bluetooth network or hotspot network to connect to other terminals or to the server, etc. For example, multiple users can go online through different terminals 1000 and thus be connected and synchronized with each other through an appropriate network to support multiplayer games. In addition, the system may include multiple databases 3000. The multiple databases 3000 are coupled to different servers 2000, and information related to the game environment can be continuously stored in the database 3000 when different users are online for multiplayer games.

[0058] Embodiments of the present application provide a method for processing game information, which can be executed by a terminal or a server. Embodiments of the present application will be described by taking the method for processing game information being executed by a terminal as an example. Among them, the terminal includes a display component and a processor. The display component is used to present a graphical user interface and receive operation instructions generated by a user acting on the display component. When the user operates on the graphical user interface through the display component, the graphical user interface can control the content on the local terminal in response to the received operation instructions, or can control the content of the peer server in response to the received operation instructions. For example, the operation instructions generated by the user acting on the graphical user interface include instructions for starting a game application, and the processor is configured to start the game application after receiving the instructions for starting the game application provided by the user. In addition, the processor is configured to render and draw a graphical user interface associated with the game on a touch display screen. The touch display screen is a multi-touch sensitive screen that can sense touch or swipe operations performed simultaneously by multiple points on the screen. When the user performs a touch operation on the graphical user interface with a finger, when the graphical user interface detects the touch operation, it controls different game characters in the graphical user interface of the game to perform actions corresponding to the touch operation. For example, the game can be any one of casual games, action games, role-playing games, strategy games, sports games, puzzle games, first-person shooting games (FPS), and the like. Among them, the game can include a game scene drawn on the graphical user interface. In addition, the game scene of the game can include one or more game characters controlled by the user (or player), such as game characters. Additionally, the game scene of the game can also include one or more obstacles, such as railings, ditches, walls, etc., to restrict the movement of the game characters, for example, restricting the movement of one or more objects to a specific area within the game scene. Optionally, the game scene of the game further includes one or more elements, such as skills, scores, character health status, energy, etc., to provide assistance to the player, provide virtual services, increase scores related to the player's performance, etc. In addition, the graphical user interface can also present one or more indicators to provide indication information to the player. For example, the game can include a game character controlled by the player and one or more other game characters (such as enemy characters). In one embodiment, one or more other game characters are controlled by other players of the game. For example, one or more other game characters can be controlled by a computer, such as a robot using an artificial intelligence (AI) algorithm, to implement a human-computer battle mode. For example, the game character has various skills or abilities used by the game player to achieve goals. For example, the game character has one or more weapons, props, tools, etc. that can be used to eliminate other objects in the game. Such skills or abilities can be activated by the game player using one of multiple preset touch operations on the touch display screen of the terminal.The processor can be configured to present corresponding game screens in response to operation instructions generated by a user's touch operation.

[0059] It should be noted that Figure 1 The system schematic diagram of the information processing device of the game shown is only an example. The information processing device and scenario of the game described in the embodiments of the present application are for more clearly explaining the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. Those of ordinary skill in the art know that with the evolution of the information processing device of the game and the emergence of new business scenarios, the technical solutions provided by the embodiments of the present application are equally applicable to similar technical problems.

[0060] In this embodiment, it will be described from the perspective of the display control device in the game. The display control device in the game can specifically be integrated in a computer device with a storage unit and installed with a microprocessor and having computing capabilities.

[0061] Please refer to Figure 2 , Figure 2 which is a flowchart of the information processing method of the game provided by the embodiments of the present application. A display interface is provided through a terminal device. The display interface may include an interaction box for displaying information, interaction controls of the interaction box, and other areas other than the interaction box and the interaction controls. The information processing method of the game includes the following steps:

[0062] Step 201, obtain a user operation of the user on the display interface.

[0063] Among them, the user operation refers to an interaction operation generated by the current user and the display interface. For example, the user touches the display screen of the display interface, and operations such as clicking, pressing, and swiping on the display screen.

[0064] In some embodiments, a detection component with a user operation detection function can be used to obtain the user operation of the user on the display interface. For example, the detection component may include components such as the TouchEventListener component and the cc.EventLi stenerTouchOneByOne component of the Cocos game engine.

[0065] Among them, the interaction box of the present application refers to various virtual carriers such as game windows, pop-up windows, bubbles, floating windows, etc. for displaying game information. For example Figure 4 the interaction box shown in can display game hint information, game dialogue information, game event information, etc. in the game. Among them, the interaction control refers to a control that can generate game interaction events with the interaction box. For example, the interaction control can control the display, hiding, zooming, or moving of the interaction box, etc.

[0066] In some scenarios, it may be necessary to display different interaction boxes in the display interface to prompt the user to perform different game operations. For example Figure 4 The "Please click on the game map control" displayed in Figure 4 . The user can then click on this control to display the game map. It can be understood that as the game progresses, the game scenarios and storylines are constantly changing, and the information in the game is also complex and variable. Therefore, in the game, it is necessary to display, hide, zoom, or switch different interaction boxes to ensure smooth game operations and experiences for the user.

[0067] Such as Figure 4 As shown in Figure 4 , the display interface can display various virtual resources such as interaction boxes, interaction controls, game virtual characters, and game scene objects. In some embodiments, the area where the interaction box is located can be set as the interaction box area, the area where the interaction control is located can be set as the control area, and the area outside the interaction area and the control can be set as other areas.

[0068] It can be understood that such a region division method is based on the interaction box and the interaction control, and the range that does not belong to the interaction box area and the interaction control area is determined as other areas. It should be noted that other areas can include any areas where virtual characters and virtual items in the game are located, and this embodiment does not limit this.

[0069] In some embodiments, the preset area can include a preset sub-area located in other areas, as well as the interaction box area. It can be understood that all the interaction box areas in the display interface are preset areas, while some areas in other areas of the display interface are preset areas. The size and quantity of the preset sub-areas can be set according to requirements, and this embodiment does not limit this.

[0070] Optionally, step 201 may further include the following steps:

[0071] Obtain the operation habits of the user for the display interface;

[0072] Determine the preset sub-area according to the operation habits.

[0073] Among them, the operation habit can be the habit generated when the user performs a touch operation on the display interface. For example, the user touches certain areas on the display interface more frequently and with a higher frequency, etc.

[0074] In some embodiments, the areas corresponding to conditions such as more touch times and higher frequencies in the user's operation habits can be determined as the preset sub-areas. It can be understood that when the user reads the content in the interaction box, they may also operate in the preset sub-area due to their operation habits. Setting the areas corresponding to the above operation habits as the preset sub-areas can effectively prevent the accidental closing of the interaction box caused by the user's accidental touch.

[0075] In some embodiments, a region with a certain size adjacent to the interaction box may also be determined as a preset sub-region, so as to further reduce the situation where when the user clicks on the interaction box, the interaction box is accidentally closed due to accidentally clicking on the edge or adjacent region of the interaction box.

[0076] Step 202, when a first user operation acting within the preset region is detected, keep displaying the interaction box already displayed in the display interface.

[0077] Among them, the trigger position refers to the position on the display interface where the user performs the user operation, that is, the interaction position between the user operation and the display screen of the display interface. Only as an example, as Figure 5 shown, the preset region may include a preset region a corresponding to the interaction box region, and preset regions b and c corresponding to the preset sub-region. Correspondingly, when the trigger position of the user operation is within the above preset region in the display interface, it is a first user operation. For example, the user clicks on preset region a. Correspondingly, when the trigger position of the user operation is outside the above preset region, it is a second user operation. For example, the user clicks on a virtual character that is not in the preset sub-region in the display interface.

[0078] Optionally, before step 202, the embodiments of the present application may further include:

[0079] Obtain the starting position and the ending position that trigger the user operation;

[0080] If the coordinates of the starting position and the ending position are different, determine the trigger operation as an invalid operation not related to the interaction box, or determine the coordinates of the ending position as the trigger position of the user operation;

[0081] If the coordinates of the starting position and the ending position are the same, determine the coordinates of the starting position or the ending position as the trigger position of the user operation.

[0082] In some embodiments, the starting position and the ending position where the user triggers the user operation may be obtained. For example, when the user clicks or presses on the screen of the display interface, the actual position is the position where the user clicks or presses on the screen, and the ending position is the position where the user lifts the finger or cursor to end the click or press on the screen. The starting position and the ending position are the same, and the coordinates of the two are the same. However, when the user performs a sliding operation, the user presses on the screen and then moves the finger or cursor to slide, and lifts the finger or cursor to end the sliding, so that the pressing and lifting positions are different, and the starting position and the ending position are not the same.

[0083] It can be understood that for sliding user operations, if both the starting position and the ending position of the user-triggered slide are within or outside the preset area, the type of the user operation can be directly determined as the first user operation or the second user operation. If the starting position and the ending position of the user-triggered slide are respectively within and outside the preset area, the type of the user operation cannot be directly determined. Therefore, when the starting position and the ending position of the above-triggered user operation are different, the ending position of the user operation is preset to be the trigger position in advance, so as to facilitate the detection component to detect the trigger position of the complete user operation.

[0084] It can be understood that since the sliding distance generated by the sliding operation in the display interface can be large or small, there are many uncertainties in the position penalty determination between the sliding operation and the preset area, which is likely to misjudge the type of the user operation and affect the accuracy of subsequent display or hiding of the interaction box. Therefore, in some embodiments, when it is detected that the coordinates of the starting position and the ending position of the user operation are different, the user operation can be determined as an invalid operation that has nothing to do with the interaction with the interaction box. Of course, if the user sets an interaction event between the sliding operation and the interaction box in the game, such as the user sets an operation to change the position or size of the interaction box by sliding the interaction box, it will not be affected by this invalid determination.

[0085] Thus, the embodiments of the present application can classify user operations into different types according to the trigger positions of the user operations, so as to quickly and accurately determine the display or hiding events of the interaction box in the game according to the position relationship and event connection between different types of user operations and the preset area subsequently.

[0086] Among them, the preset area at least includes a preset sub-area and the interaction box area of the interaction box, and the preset sub-area is located within the other area. Combining the foregoing description, it can be known that the preset area includes the interaction box area and the preset sub-area, and the size and quantity of the preset sub-area can be set according to requirements or experience.

[0087] In some embodiments, the preset area can be the bounding box area corresponding to the interaction box. Among them, the bounding box refers to the geometric representation data of the currently guided component on the current interface layer obtained through the bounding box representation of the currently guided component. For example, if the current interaction box is rectangular, the bounding box of the interaction box can be another rectangle slightly larger than the rectangle. As Figure 5 shown, the area of the interaction box itself corresponds to the preset area a, and the bounding box area can be the preset area b, which is the area surrounding outside the preset area a. It can be understood that for most game scenarios and the operation habits of most users, if a user wants to hide a certain interaction box, usually an operation with a trigger position far away from the interaction box area will be performed, or the corresponding control will be directly clicked to implement. Therefore, most existing mask controls are also set at positions far away from the interaction box area.

[0088] Among them, the displayed interaction box refers to the interaction box being displayed in the current display interface. Thus, setting the bounding box area of the interaction box, that is, the preset area b, as a part of the preset area, and associating the first user operation whose trigger position is within the preset area with the event of keeping the interaction box displayed can effectively adapt to the operation habits of most users, prevent misjudgment of the currently triggered operation event or game event caused by the user's operation triggering at the edge position of the interaction box area, so as to improve the accuracy of the interaction box event.

[0089] Step 203: When a second user operation acting on outside the preset area is detected, determine whether to hide the interaction box according to the trigger position of the second user operation.

[0090] It can be understood that since the user operation is divided into a first user operation and a second user operation, when a first user operation acting on within the preset area is detected, the game event of keeping the displayed interaction box displayed is correspondingly triggered. Therefore, the detected second user operation can be associated with the game event of hiding the interaction box, so as to detect the display and hiding events of the interaction box triggered by the user operation.

[0091] Optionally, step 203 may further include the following steps:

[0092] If the trigger position of the second user operation is the other area, hide the displayed interaction box;

[0093] If the trigger position of the second user operation is the control area where the interaction control is located, determine whether to hide the interaction box according to the specific operation event generated by the second user operation.

[0094] In some embodiments, after the detection component detects the second user operation, such as the user's operation of clicking or pressing the display interface screen, the detection component can further obtain the trigger position of the second user operation. Since the trigger position of the second user operation is outside the preset area, the trigger position of the second user operation can only be in the other area and the control area. Therefore, the hiding logic of the interaction box can be set as: when the trigger position of the second user operation is in the other area, hide the displayed interaction box; when the trigger position of the second user operation is in the control area, determine whether to hide the displayed interaction box according to the control function and the generated operation event.

[0095] Optionally, the step of "determine whether to hide the interaction box according to the operation event generated by the second user operation" may include:

[0096] Obtain a first interaction control, where the first interaction control is the object when the user performs the second user operation this time;

[0097] Obtain a second interaction control, where the second interaction control is the interaction control corresponding to the displayed interaction box;

[0098] If the first interaction control is different from the second interaction control, keep the displayed interaction box displayed, and add and display the interaction box corresponding to the first interaction control in the display interface;

[0099] If the first interaction control is the same as the second interaction control, hide the displayed interaction box.

[0100] It can be understood that in the display interface, different interaction controls can correspond to opening different interaction boxes. For example Figure 4 the interaction control for opening the game map interaction box, the interaction control for opening the game settings interaction box, etc. in

[0101] Specifically, when each interaction box is opened and displayed in the display interface, the server will record each currently displayed interaction box and the second interaction control corresponding to that interaction box. When the detection component detects that the position of the second user operation trigger is the control area, it can synchronously detect which specific interaction control it is, so as to further determine whether the first interaction control corresponding to the second user operation is the same as the second interaction control.

[0102] It can be understood that during the game process, the user will open or close the corresponding interaction box through the interaction control to view game information. For example, the user can click Figure 4 the game map interaction control in

[0103] to view the game map interaction box in the display interface, and close the displayed game map interaction box by clicking the game map interaction control again. During this process, the user can also open or close other interaction boxes in the above manner, so that multiple interaction boxes can be displayed simultaneously in the display interface, and hiding a certain interaction box does not affect the display of other interaction boxes.

[0104] In some embodiments, relevant components for implementing the above logic of displaying or hiding the interaction box can be configured and inserted into the corresponding management module of the game server to implement the operations and implementation logic described in the above steps.

[0105] Specifically, the first interactive control component cur_pop_btn, the second interactive control component cur_pop_node, and the preset area component pop_area can be written. And it is pre-set whether the basis for detecting the trigger position of the user operation is the starting position or the ending position of the user operation. For example, generally the ending position is set as the trigger position. After writing the above components and the fields of the logic, the above components and logic are encapsulated and corresponding interfaces are designed and inserted into the server of the corresponding game. At the same time, other games can also call the encapsulated components through the interfaces to implement the operations of the above steps.

[0106] Further, in the component execution stage, the detection component can detect the user operation. For example, the TouchEventLi stener, cc.EventLi stenerTouchOneByOne and other detection components can be used to detect the trigger of the user operation. In some embodiments, during the detection process, since the first user operation is a user operation triggered within the preset area, during the detection, it is only necessary to determine whether the current user operation is within the range specified by the pop_area component.

[0107] In some embodiments, for the second user operation, it is necessary to first detect whether the specific trigger position of the second user operation is in other areas or in the control area. And when the second user operation is triggered in the control area, combined with the comparison result of the first interactive control and the second interactive control, the display and hiding events of the interactive box are specifically judged. Among them, when the second user operation is triggered in the control area, the corresponding specific pseudo-code fields are as follows:

[0108] Field 1: Click the first interactive control to pop up a new interactive box

[0109] Funct i on show_pop_t i ps

[0110] Input: The control btn that triggers the pop-up of the interactive box, the control node corresponding to the currently displayed interactive box I F(cur_btn=btn)

[0111] cur_btn c NcLL

[0112] ELSE

[0113] node.show()

[0114] / / It may be necessary to modify the position and content of the interactive box

[0115] node.setPos it i onAndContent()

[0116] cur_pop_node c node

[0117] cur_btn c btn

[0118] END IF

[0119] Field 2: Hide the displayed interaction box when the second user operation is detected on the screen

[0120] Function touch_screen_begin

[0121] Input: Trigger position of the second user operation

[0122] IF (cur_pop_node = NULL)

[0123] EXIT

[0124] ELSE

[0125] IF (pop_area = NULL or not pop_area.Contains(touch_pos))

[0126] cur_pop_node.hide()

[0127] cur_pop_node = NULL

[0128] pop_area = NULL

[0129] END IF

[0130] END IF

[0131] It should be noted that regarding the implementation method of componentization in this application, it can be selected according to the programming language used when editing components. If the above components are written in a dynamic language such as Python, the corresponding attributes and methods of the above components can be bound to the class corresponding to the display interface when the game is running. If the above components are written in a static language such as C++ or C#, the class of the display interface can be extended through class inheritance or interfaces, and the corresponding attributes and methods of the above components can be directly accessed.

[0132] Optionally, the method of the embodiment of the present application may further include:

[0133] If the displayed interaction box is to be kept displayed, the first interaction control and the second interaction control are jointly determined as the updated second interaction control;

[0134] If the displayed interaction box is hidden, the second interaction control is cleared.

[0135] It can be understood that when the trigger position of the second user operation is within the control area, since it is necessary to compare whether the first interaction control and the second interaction control are the same interaction control. Therefore, the server or the detection component needs to not only record all the second interaction controls corresponding to the displayed interaction boxes, as well as the currently triggered first interaction control, but also accurately record the real-time changes of the first interaction control and the second interaction control. For example, when a newly displayed interaction box appears in the display interface, the first interaction control can be updated to the second interaction control; when an interaction box is hidden, the second interaction control of the hidden interaction box can be cleared, so as to ensure the accuracy of subsequent events for triggering the display and hiding of the interaction box.

[0136] Optionally, the method according to an embodiment of the present application may further include:

[0137] Obtain a first priority for detecting the first user operation, and a second priority for detecting the second user operation, where the first priority is higher than the second priority.

[0138] It can be understood that to ensure the effective cooperation of different detection components, corresponding priorities can be set for different types of user operations. For example, it can be set that the first priority for detecting the first user operation is higher than the second priority for detecting the second user operation, so that when detecting a user operation, it can first analyze whether the trigger position of the user operation is within a preset area. When the trigger position is within the preset area, it is determined as the first user operation; when the trigger position is not within the preset area, it is further detected whether the user operation is the second user operation, so as to be able to achieve an orderly, efficient and accurate detection of the type of user operation.

[0139] Optionally, the embodiment of the present application may further include the following steps:

[0140] When the third user operation of the user is detected, obtain the duration and trigger position of the third user operation, where the third user operation is a user operation staying on the first interaction box;

[0141] If the duration is greater than a preset threshold, hide other interaction boxes except the first interaction box.

[0142] Among them, the third user operation can be a user operation that stays on the interaction box for a certain period of time. As Figure 6 shown, during the game process, the user can keep the position of the finger or cursor staying on the interaction box without performing any operations. For example, the third user operation can be a user operation that stays on the interaction box for 3 seconds.

[0143] In some embodiments, it is further possible to compare whether the duration of the third user operation is greater than a preset threshold. When the duration is greater than the preset threshold, such as greater than 5 seconds, 10 seconds, etc., other interaction frames outside the first interaction frame are hidden. Among them, the first interaction frame is the interaction frame corresponding to the trigger position of the third user operation.

[0144] It can be understood that in some game scenarios, many interaction frames may be displayed on the display interface, and users may read the game information in one of the interaction frames. When reading, some users may habitually move their fingers or the cursor to the first interaction frame, and users will not read the information in other interaction frames temporarily. Therefore, by detecting that the duration of the third user operation is greater than the preset threshold, other interaction frames can be hidden or partially hidden. Among them, partial hiding can be achieved by hiding a part of the interaction frame, increasing the transparency of the interaction frame, etc., so as to reduce the interference of the information displayed in other interaction frames to the user when the user focuses on reading the first interaction frame.

[0145] It should be noted that in addition to being able to detect the first user operation, the second user operation, and the third user operation according to the above methods, the detection component of the embodiments of the present application can also flexibly set the detection logic of user operations. For example, user operations with trigger positions in a preset area and other areas can be set as the first user operation, and then whether the display and hiding events of the interaction frame are determined by detecting whether the trigger position of the first user operation is located in the preset area. Correspondingly, user operations with trigger positions in the control area can be set as the second user operation, and then the display and hiding events of the interaction frame are determined by the operation events of the second user operation. Therefore, the purpose of the embodiments of the present application is to respond to the display and hiding events of the interaction frame by detecting user operations. Regarding the classification basis and detection logic of user operations, this embodiment does not limit this.

[0146] As can be seen from the above, the embodiments of the present application determine whether to display or hide the interaction frames already displayed in the display interface, or whether to display new interaction frames by detecting the user operations triggered by the user in the display interface and the trigger positions and operation events corresponding to different types of user operations, so that the user does not need to click the mask control to implement the display and hiding of the interaction frame. Therefore, there is no need to develop a supporting mask control for different display interfaces, avoiding inaccurate triggering of the display or hiding events of the interaction frame due to incorrect sizes, levels, and coordinates of the mask control. Moreover, the method of the embodiments of the present application only detects user operations and is not affected by various game events in the display interface. Therefore, the present application can improve the speed and accuracy of triggering the display and hiding events of the interaction frame in the display interfaces of various game scenarios.

[0147] Please refer to Figure 3 , Figure 3Another flowchart of the information processing method for the game provided by the embodiment of the present application. The specific process of this method can be as follows:

[0148] Step 301, obtain the user operation of the user;

[0149] Step 302, detect whether it is the first user operation. If so, execute Step 303; if not, execute Step 305;

[0150] Step 303, check whether there is a displayed interaction box. If so, execute Step 304;

[0151] Step 304, keep displaying the displayed interaction box;

[0152] Step 305, detect whether it is the second user operation. If so, execute Step 306;

[0153] Step 306, check whether there is a displayed interaction box. If so, execute Step 307; if not, execute Step 311;

[0154] Step 307, detect whether the trigger position is in the control area. If so, execute Step 308; if not, execute Step 310;

[0155] Step 308, check whether the first interaction control is the same as the second interaction control. If so, execute Step 301; if not, execute Step 309;

[0156] Step 309, display the corresponding interaction box and update the second interaction control;

[0157] Step 310, hide the displayed interaction box;

[0158] Step 311, detect whether the trigger position is in the control area. If so, execute Step 309.

[0159] To better implement the above method, the embodiment of the present application also provides an information processing device for a game. Please refer to Figure 7 , Figure 7 which is a structural schematic diagram of the information processing device for the game provided by the embodiment of the present application. Through the terminal device, a display interface is provided. The display interface includes an interaction box for displaying information, interaction controls of the interaction box, and other areas except the interaction box and the interaction controls. The device includes:

[0160] A user operation acquisition module 401, configured to acquire the user operation of the user for the display interface;

[0161] An interaction box display module 402, configured to, when detecting a first user operation acting on a preset area, keep displaying the interaction box already displayed in the display interface, where the preset area at least includes a preset sub-area and an interaction box area of the interaction box, and the preset sub-area is located within the other area;

[0162] An interaction box hiding detection module 403, configured to, when detecting a second user operation acting outside the preset area, determine whether to hide the interaction box according to the trigger position of the second user operation.

[0163] Optionally, the user operation acquisition module 401 is further specifically configured to:

[0164] Acquire the operation habit of the user for the display interface;

[0165] Determine the preset sub-area according to the operation habit.

[0166] Optionally, the interaction box hiding detection module 403 further includes:

[0167] An interaction box hiding sub-module, configured to, if the trigger position of the second user operation is the other area, hide the already displayed interaction box;

[0168] An interaction box hiding detection sub-module, configured to, if the trigger position of the second user operation is the control area where the interaction control is located, determine whether to hide the interaction box according to the operation event generated by the second user operation.

[0169] Optionally, the interaction box hiding detection sub-module further includes:

[0170] A first interaction control acquisition module, configured to acquire a first interaction control, where the first interaction control is the object when the user performs the second user operation this time;

[0171] A second interaction control acquisition module, configured to acquire a second interaction control, where the second interaction control is the interaction control corresponding to the already displayed interaction box;

[0172] An interaction box first display module, configured to, if the first interaction control is different from the second interaction control, keep displaying the already displayed interaction box and add a display of the interaction box corresponding to the first interaction control in the display interface;

[0173] An interaction box hiding module, configured to, if the first interaction control is the same as the second interaction control, hide the already displayed interaction box.

[0174] Optionally, the device further includes:

[0175] A second interaction control determining module, configured to, if the displayed interaction box is kept displayed, jointly determine the first interaction control and the second interaction control as the updated second interaction control;

[0176] A second interaction control clearing module, configured to, if the displayed interaction box is hidden, clear the second interaction control.

[0177] Optionally, the device further includes:

[0178] A priority obtaining module, configured to obtain a first priority for detecting the first user operation and a second priority for detecting the second user operation, where the first priority is higher than the second priority.

[0179] Optionally, the device further includes:

[0180] A trigger position detecting module, configured to obtain a starting position and an ending position where the user operation is triggered;

[0181] An invalid operation determining module, configured to, if coordinates of the starting position and the ending position are different, determine the triggered operation as an invalid operation not related to the interaction box, or determine the coordinates of the ending position as the trigger position of the user operation;

[0182] A trigger position determining module, configured to, if coordinates of the starting position and the ending position are the same, determine the coordinates of the starting position or the ending position as the trigger position of the user operation.

[0183] Optionally, the device further includes:

[0184] A third user operation detecting module, configured to, when detecting a third user operation of the user, obtain a duration and a trigger position of the third user operation, where the third user operation is a user operation staying on a first interaction box;

[0185] An other interaction box hiding module, configured to, if the duration is greater than a preset threshold, hide other interaction boxes except the first interaction box.

[0186] In specific implementation, each of the above units may be implemented as an independent entity, or may be combined arbitrarily to be implemented as the same or several entities. For specific implementation of each of the above units, reference may be made to the foregoing method embodiments, which will not be elaborated herein.

[0187] The information processing device for a game provided by an embodiment of the present application obtains a user operation of a user for the display interface through a user operation obtaining module 401; when a first user operation acting on a preset area is detected through an interaction box display module 402, the interaction box already displayed in the display interface is kept displayed, where the preset area at least includes a preset sub-area and an interaction box area of the interaction box, and the preset sub-area is located within the other area; when a second user operation acting outside the preset area is detected through an interaction box hiding detection module 403, it is determined whether to hide the interaction box according to the trigger position of the second user operation.

[0188] As can be seen from the above, in the embodiment of the present application, by detecting the user operation triggered by the user in the display interface, and through the trigger position and operation event corresponding to different types of user operations, it is determined whether to display or hide the interaction box already displayed in the display interface, or whether to display a new interaction box, so that the user does not need to click on a mask control to implement the display and hiding of the interaction box. Therefore, there is no need to develop a supporting mask control for different display interfaces, avoiding inaccurate triggering of interaction box display or hiding events caused by incorrect sizes, levels, and coordinates of the mask control. Moreover, the method in the embodiment of the present application only detects user operations and is not affected by various game events in the display interface. Thus, the present application can improve the speed and accuracy of triggering interaction box display and hiding events in the display interfaces of various game scenarios.

[0189] Correspondingly, an embodiment of the present application further provides a computer device, which can be a terminal or a server. The terminal can be a terminal device such as a smart phone, a tablet computer, a notebook computer, a touch screen, a game console, a personal computer, or a personal digital assistant (PDA).

[0190] As Figure 8 shown, Figure 8 is a schematic structural diagram of the computer device provided by an embodiment of the present application. The computer device 500 includes a processor 501 having one or more processing cores, a memory 502 having one or more computer-readable storage media, and a computer program stored on the memory 502 and executable on the processor. Among them, the processor 501 is electrically connected to the memory 502. Those skilled in the art can understand that the structural diagram of the computer device shown in the figure does not constitute a limitation on the computer device, and it may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0191] The processor 501 is the control center of the computer device 500, connecting various parts of the entire computer device 500 through various interfaces and circuits. By running or loading software programs and / or modules stored in the memory 502, and invoking the data stored in the memory 502, it executes various functions of the computer device 500 and processes data, thereby monitoring the computer device 500 as a whole.

[0192] In the embodiment of the present application, the processor 501 in the computer device 500 will load the instructions corresponding to the processes of one or more application programs into the memory 502 according to the following steps, and the processor 501 will run the application programs stored in the memory 502 to implement various functions:

[0193] Obtain the user operation of the user for the display interface;

[0194] When detecting a first user operation acting on a preset area, keep displaying the interaction box already displayed in the display interface, where the preset area at least includes a preset sub-area and the interaction box area of the interaction box, and the preset sub-area is located within the other area;

[0195] When detecting a second user operation acting outside the preset area, determine whether to hide the interaction box according to the trigger position of the second user operation.

[0196] It can be seen from this that in the embodiment of the present application, by detecting the user operations triggered by the user in the display interface, and through the trigger positions and operation events corresponding to different types of user operations, it is determined whether to display or hide the interaction box already displayed in the display interface, or whether to display a new interaction box, so that the user does not need to click on the mask control to implement the display and hiding of the interaction box. Therefore, there is no need to develop a supporting mask control for different display interfaces, avoiding inaccurate triggering of the display or hiding events of the interaction box due to incorrect sizes, hierarchies, and coordinates of the mask control. Thus, the present application can improve the speed and accuracy of triggering the display and hiding events of the interaction box.

[0197] For the specific implementation of the above operations, reference can be made to the previous embodiments, which will not be elaborated here.

[0198] Optionally, as Figure 8 shown, the computer device 500 further includes: a touch display screen 503, a radio frequency circuit 504, an audio circuit 505, an input unit 506, and a power supply 507. Among them, the processor 501 is electrically connected to the touch display screen 503, the radio frequency circuit 504, the audio circuit 505, the input unit 506, and the power supply 507 respectively. Those skilled in the art can understand, Figure 8The computer device structure shown does not constitute a limitation on the computer device, and may include more or fewer components than shown, or combine certain components, or have a different component arrangement.

[0199] The touch display screen 503 can be used to display a graphical user interface and receive operation instructions generated by a user acting on the graphical user interface. The touch display screen 503 may include a display panel and a touch panel. Among them, 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 computer device. These graphical user interfaces can be composed of graphics, text, icons, videos, and any combination thereof. Optionally, the display panel can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. The touch panel can be used to collect touch operations of the user on or near it (such as operations of the user using a finger, a stylus, or any suitable object or accessory on or near the touch panel), and generate corresponding operation instructions, and the operation instructions execute the corresponding program. Optionally, the touch panel can include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the touch orientation of the user, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the processor 501, and can receive commands sent by the processor 501 and execute them. The touch panel can cover the display panel. After the touch panel detects a touch operation on or near it, it transmits it to the processor 501 to determine the type of touch event. Subsequently, the processor 501 provides a corresponding visual output on the display panel according to the type of touch event. In the embodiments of the present application, the touch panel and the display panel can be integrated into the touch display screen 503 to implement input and output functions. However, in some embodiments, the touch panel and the touch panel can be implemented as two independent components to implement input and output functions. That is, the touch display screen 503 can also be used as part of the input unit 506 to implement the input function.

[0200] In the embodiments of the present application, by executing a game application program by the processor 501, a graphical user interface is generated on the touch display screen 503. The game scene on the graphical user interface includes at least one skill control area, and the skill control area includes at least one skill control. The touch display screen 503 is used to present the graphical user interface and receive operation instructions generated by a user acting on the graphical user interface.

[0201] The radio frequency circuit 504 can be used to receive and transmit radio frequency signals to establish wireless communication with a network device or other computer devices, and to receive and transmit signals between the network device or other computer devices.

[0202] The audio circuit 505 can be used to provide an audio interface between the user and the computer device through a speaker and a microphone. The audio circuit 505 can transmit the electrical signal converted from the received audio data to the speaker, which is then converted into a sound signal for output. On the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 505 and then converted into audio data. After the audio data is output to the processor 501 for processing, it is sent through the radio frequency circuit 504 to, for example, another computer device, or the audio data is output to the memory 502 for further processing. The audio circuit 505 may also include an earphone jack to provide communication between the peripheral earphone and the computer device.

[0203] The input unit 506 can be used to receive input digital, character information or user characteristic information (such as fingerprint, iris, facial information, etc.), and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.

[0204] The power supply 507 is used to supply power to each component of the computer device 500. Optionally, the power supply 507 can be logically connected to the processor 501 through a power management system, so as to realize functions such as management of charging, discharging, and power consumption management through the power management system. The power supply 507 may also include any components such as one or more DC or AC power supplies, a recharge system, a power failure detection circuit, a power converter or inverter, and a power status indicator.

[0205] Although Figure 8 not shown in the figure, the computer device 500 may also include a camera, a sensor, a Wi-Fi module, a Bluetooth module, etc., which will not be elaborated here.

[0206] In the above embodiments, the descriptions of each embodiment have their own focuses. For the parts not detailed in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0207] As can be seen from the above, in the embodiment of the present application, by detecting the user operations triggered by the user in the display interface, and based on the trigger positions and operation events corresponding to different types of user operations, it is determined whether to display or hide the interaction box already displayed in the display interface, or whether to display a new interaction box, so that the user does not need to click on the mask control to implement the display and hiding of the interaction box. Therefore, there is no need to develop a matching mask control for different display interfaces, avoiding inaccurate triggering of the display or hiding events of the interaction box due to incorrect sizes, hierarchies, and coordinates of the mask control. Moreover, the method of the embodiment of the present application only detects user operations and is not affected by various game events in the display interface. Thus, the present application can improve the speed and accuracy of triggering the display and hiding events of the interaction box in the display interfaces of various game scenarios.

[0208] Those of ordinary skill in the art can understand that all or part of the steps in the above various methods can be completed by instructions, or by controlling relevant hardware through instructions. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.

[0209] Therefore, the embodiment of the present application provides a computer-readable storage medium, in which multiple computer programs are stored. These computer programs can be loaded by a processor to execute the steps in any of the information processing methods of the games provided by the embodiment of the present application. For example, the computer program can execute the following steps:

[0210] Obtain the user operations of the user for the display interface;

[0211] When detecting a first user operation acting on a preset area, keep displaying the interaction box already displayed in the display interface, where the preset area at least includes a preset sub-area and the interaction box area of the interaction box, and the preset sub-area is located within the other area;

[0212] When detecting a second user operation acting outside the preset area, determine whether to hide the interaction box according to the trigger position of the second user operation.

[0213] For the specific implementation of each of the above operations, reference can be made to the previous embodiments, which will not be elaborated here.

[0214] Among them, the storage medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disc, etc.

[0215] Since the computer program stored in the storage medium can execute the steps in any of the information processing methods for games provided in the embodiments of the present application, the beneficial effects achievable by any of the information processing methods for games provided in the embodiments of the present application can be realized. For details, refer to the previous embodiments and will not be elaborated herein.

[0216] Reference Figure 9 As shown, a program product 61 for implementing the above method according to an embodiment of the present invention is described. It may be a portable compact disc read-only memory (CD-ROM) and includes program code and can run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. In this document, a readable storage medium may be any tangible medium that contains or stores a program, and this program can be used by or in combination with an instruction execution system, apparatus, or device.

[0217] The program product may adopt any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may, for example, but not be limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples (non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0218] A computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries the readable program code. Such a propagated data signal may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A readable signal medium may also be any readable medium other than a readable storage medium, and this readable medium can send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device.

[0219] The program code contained on the readable medium can be transmitted by any suitable medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the above.

[0220] The program code for performing the operations of the present invention can be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and also including conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computing device, partially on the user's device, executed as a stand-alone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user's computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (e.g., by connecting through the Internet using an Internet service provider).

[0221] The above has introduced in detail a game information processing method, apparatus, storage medium, and computer device provided by an embodiment of the present application. Specific examples are used herein to elaborate on the principle and implementation manner of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application; at the same time, for those skilled in the art, according to the idea of the present application, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation to the present application.

Claims

1. An information processing method for a game, characterized in that, A display interface is provided through a terminal device. The display interface includes an interaction box for displaying information, interaction controls of the interaction box, and other areas other than the interaction box and the interaction controls. The method includes: Obtain a user operation on the display interface, including: obtain the operation habit of the user on the display interface; determine the preset sub-region according to the operation habit. When a first user operation acting within the preset region is detected, keep displaying the interaction box already displayed in the display interface, where the preset region at least includes the preset sub-region and the interaction box region of the interaction box, and the preset sub-region is located within the other region. When a second user operation acting outside the preset region is detected, if the trigger position of the second user operation is the control region where the interaction control is located, determine whether to hide the interaction box according to the operation event generated by the second user operation, including: obtain a first interaction control, where the first interaction control is the object when the user performs the second user operation this time; obtain a second interaction control, where the second interaction control is the interaction control corresponding to the already displayed interaction box; if the first interaction control is different from the second interaction control, keep displaying the already displayed interaction box and add and display an interaction box corresponding to the first interaction control in the display interface; if the first interaction control is the same as the second interaction control, hide the already displayed interaction box.

2. The information processing method of the game according to claim 1, wherein The method further includes: If the trigger position of the second user operation is a first other region outside the preset sub-region, hide the already displayed interaction box, where the first other region is located within the other region.

3. The information processing method of the game according to claim 1, characterized in that The method further includes: If keeping the already displayed interaction box displayed, jointly determine the first interaction control and the second interaction control as the updated second interaction control. If hiding the already displayed interaction box, clear the second interaction control.

4. The information processing method of the game according to claim 1, wherein Before detecting the first user operation, the method further includes: Obtain a first priority for detecting the first user operation and a second priority for detecting the second user operation, where the first priority is higher than the second priority.

5. The information processing method of the game according to claim 1, wherein Before the step of when a first user operation acting within the preset region is detected and keeping the interaction box already displayed in the display interface displayed, the method includes: Obtain the starting position and the ending position that trigger the user operation. If the coordinates of the starting position and the ending position are different, determine the trigger operation as an invalid operation not related to the interaction box, or determine the coordinates of the ending position as the trigger position of the user operation. If the coordinates of the starting position and the ending position are the same, determine the coordinates of the starting position or the ending position as the trigger position of the user operation.

6. The information processing method of the game according to claim 1, wherein, The method further includes: When a third user operation of the user is detected, obtain the duration and the trigger position of the third user operation, where the third user operation is a user operation staying on a first interaction box. If the duration is greater than a preset threshold, hide other interaction boxes outside the first interaction box.

7. An information processing apparatus for a game, characterized in that, Provide a display interface through a terminal device. The display interface includes an interaction box for displaying information, an interaction control of the interaction box, and other areas other than the interaction box and the interaction control. The device includes: A user operation acquisition module, configured to acquire a user operation of the user on the display interface, and further configured to acquire an operation habit of the user on the display interface; and determine the preset sub-region according to the operation habit. An interaction box display module, configured to, when detecting a first user operation on a preset region, keep displaying the interaction boxes already displayed on the display interface, where the preset region at least includes a preset sub-region and an interaction box region of the interaction box, and the preset sub-region is located within the other region. An interaction box hiding detection module, configured to, when detecting a second user operation outside the preset region, if the trigger position of the second user operation is the control region where the interaction control is located, determine whether to hide the interaction box according to the operation event generated by the second user operation, and also configured to acquire a first interaction control, where the first interaction control is the object when the user executes the second user operation this time; acquire a second interaction control, where the second interaction control is the interaction control corresponding to the already displayed interaction box; if the first interaction control is different from the second interaction control, keep displaying the already displayed interaction box and add and display an interaction box corresponding to the first interaction control on the display interface; if the first interaction control is the same as the second interaction control, hide the already displayed interaction box.

8. A computer device, characterized in that, It includes a processor and a memory, and the memory stores multiple instructions; the processor loads the instructions from the memory to execute the steps in the information processing method of the game according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores multiple instructions, and the instructions are suitable for being loaded by a processor to execute the steps in the information processing method of the game according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Interaction control method and device in game, electronic equipment and readable storage medium

    CN113559520A

  • Game guidance control method and device, electronic equipment and readable storage medium

    CN115212568A