Resource interaction method and device in game, equipment, medium and program product

By using a resource list arranged in rows and columns in the game, the problem of the roulette wheel being unable to handle a large number of social resources was solved, enabling efficient resource interaction and quick communication.

CN120960792APending Publication Date: 2025-11-18NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511384128.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-25
Publication Date
2025-11-18

AI Technical Summary

Technical Problem

The way social resources are carried in games (such as roulette) is difficult to carry a large number of social resources, which affects the efficiency of interaction between players and fails to meet the social needs of players.

Method used

By displaying a list of resources in multiple interactive areas arranged in rows and columns within the graphical user interface, users can directly select and send social resources, avoiding the need for additional page-turning operations.

Benefits of technology

It enhances the richness of social resources and the efficiency of interaction, reduces the impact on the game process, and enables quick communication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120960792A_ABST
    Figure CN120960792A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of computers, and discloses a resource interaction method and device in a game, equipment, a medium and a program product.The method comprises the steps that in response to a resource display operation, a resource list is displayed in a list area in a graphical user interface; the resource list comprises a plurality of interaction areas arranged in a row-column mode, and at least part of the interaction areas are configured with resource identifiers corresponding to social resources; in response to a selection operation for the interaction area, determining a selected target interaction area; and in response to an interaction operation for the target interaction area, under the condition that the target interaction area is configured with a target resource identifier, sending a target social resource corresponding to the target resource identifier. According to the method, a large number of social resources can be displayed at a time, and the richness of information is improved; the user can directly select the required social resources from the resource list, so that the convenience of resource interaction can be ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, specifically to resource interaction methods, devices, equipment, media, and program products in games. Background Technology

[0002] During gameplay, players generally have a social need to interact with other players. As the game progresses and players become more familiar with it, the demand for various social resources increases. For example, social resources like chat bubbles have strong social attributes but low urgency, and are frequently used in actual gameplay; as playtime increases, players accumulate more chat bubbles and accumulate more favorites.

[0003] In games, social resources are typically displayed using a roulette wheel. However, the number of social resources that a roulette wheel can set is very limited. In contrast, social resources in games can involve various types, such as emoticons (like the bubble emoticons mentioned above), sprays, markers, and voice messages. Furthermore, the number of each type of social resource can gradually increase. Using a roulette wheel makes it difficult to accommodate a large number of social resources, which affects the efficiency of interaction between players and makes it difficult to meet players' social needs. Summary of the Invention

[0004] In view of this, this application provides a method, apparatus, device, medium, and program product for resource interaction in games, so as to improve the efficiency and richness of user resource interaction.

[0005] In a first aspect, this application provides a resource interaction method in a game, which provides a graphical user interface through a terminal device; the method includes:

[0006] In response to a resource display operation, a resource list is displayed in the graphical user interface; the resource list includes multiple interactive areas arranged in rows and columns for displaying all social resources owned by the user, and at least some of the interactive areas are configured with resource identifiers corresponding to each of the social resources;

[0007] In response to a selection operation on the interactive area, the selected target interactive area is determined;

[0008] In response to an interactive operation targeting the target interactive area, if a target resource identifier is configured in the target interactive area, the target social resource corresponding to the target resource identifier is sent.

[0009] In some alternative implementations, determining the selected target interactive area in response to a selection operation on the interactive area includes:

[0010] In response to a focus position adjustment operation, a target focus position is determined; the focus position is the position within the graphical user interface.

[0011] The target interaction area corresponding to the position in the resource list is determined based on the target focus position.

[0012] In some alternative implementations, the focus position is a position restricted to a list area used to display the resource list;

[0013] Determining the target interaction area corresponding to the position in the resource list based on the target focus position includes:

[0014] The interactive area in the resource list that contains the target focus position is taken as the target interactive area.

[0015] In some alternative implementations, the position of the resource list is fixed, or the minimum scrolling distance of the resource list is an integer multiple of the size of the interactive area in the corresponding scrolling direction;

[0016] Determining the target interaction area corresponding to the position in the resource list based on the target focus position includes:

[0017] Determine the target trigger area to which the target focus position belongs; the target trigger area is one of the multiple trigger areas obtained by dividing the graphical user interface according to the dividing lines between the interactive areas of the list area used to display the resource list;

[0018] The interactive area corresponding to the target triggering area is taken as the target interactive area.

[0019] In some optional implementations, determining the target interaction area corresponding to the position in the resource list based on the target focus position includes:

[0020] Determine whether the target focus position is located within the list area used to display the resource list;

[0021] If the target focus location is located within the list area, the interactive area in the resource list that contains the target focus location will be taken as the target interactive area.

[0022] If the target focus position is not located within the list area, an edge interaction area corresponding to the target focus position is determined in the resource list, and the edge interaction area corresponding to the target focus position is taken as the target interaction area; the edge interaction area is an interaction area located at the edge of the list area.

[0023] In some optional implementations, determining the edge interaction region in the resource list corresponding to the target focus position includes:

[0024] If the x-coordinate of the target focus position exceeds the x-coordinate range of the list area, the edge interaction area that is closest to the y-coordinate of the target focus position is taken as the edge interaction area corresponding to the target focus position.

[0025] If the vertical coordinate of the target focus position exceeds the vertical coordinate range of the list area, the edge interaction area that is closest to the horizontal coordinate of the target focus position is taken as the edge interaction area corresponding to the target focus position.

[0026] If the horizontal coordinate of the target focus position exceeds the horizontal coordinate range of the list area, and the vertical coordinate of the target focus position exceeds the vertical coordinate range of the list area, the edge interaction area closest to the target focus position will be taken as the edge interaction area corresponding to the target focus position.

[0027] In some optional implementations, the rules for determining the edge interaction region include:

[0028] For a first interactive region that intersects with the boundary line of the list area, if the size of the first interactive region within the list area is greater than a preset threshold, then the first interactive region is regarded as an edge interactive region.

[0029] If the size of the first interactive area within the list area is less than a preset threshold, then the second interactive area is designated as an edge interactive area; the second interactive area is another interactive area adjacent to the first interactive area in the scrolling direction of the resource list.

[0030] In some alternative implementations, after displaying the resource list, the method further includes:

[0031] Set the initial focus position to a preset position within the resource list.

[0032] In some optional implementations, the resource list includes an interaction area for canceling interaction; the preset location corresponds to the interaction area for canceling interaction.

[0033] In some optional implementations, the method further includes:

[0034] During the process of determining the target focus position based on the adjustment operation, the identifier used to indicate the focus position is hidden, and the interactive area corresponding to the current focus position is highlighted.

[0035] In some optional implementations, the method further includes:

[0036] In response to an interaction operation targeting the target interaction area, if the target interaction area is not configured with a resource identifier, or if the target interaction area is used to cancel interaction, an interaction cancellation operation is performed.

[0037] In some optional implementations, the method further includes:

[0038] In response to an editing operation, a list of resources to be edited is displayed in the graphical user interface;

[0039] In response to a configuration operation on the resource list, a corresponding resource identifier is configured for at least a portion of the interactive areas in the resource list.

[0040] In some alternative implementations, after displaying the list of resources to be edited, the method further includes:

[0041] In response to a selection operation on the third interactive area in the resource list, other interactive areas in the resource list other than the third interactive area are marked as interchangeable.

[0042] In response to the selection operation for the fourth interaction area, the resource identifier corresponding to the third interaction area is swapped with the resource identifier corresponding to the fourth interaction area.

[0043] In some optional implementations, the resource display operation is an operation triggered by pressing a preset button;

[0044] The interactive operation is the operation triggered by stopping the pressing of the preset button.

[0045] Secondly, this application provides a resource interaction device in a game, applied to a terminal device, the terminal device providing a graphical user interface; the device includes:

[0046] The display module is used to display a resource list in the list area of ​​the graphical user interface in response to a resource display operation; the resource list includes multiple interactive areas arranged in rows and columns, and at least some of the interactive areas are configured with resource identifiers corresponding to social resources;

[0047] The processing module is used to determine the selected target interactive area in response to a selection operation on the interactive area.

[0048] The interaction module is used to respond to interactive operations on the target interaction area, and when the target interaction area is configured with a target resource identifier, to send the target social resource corresponding to the target resource identifier.

[0049] Thirdly, this application provides a computer device, including: a memory and a processor, which are communicatively connected to each other. The memory stores computer instructions, and the processor executes the computer instructions to perform the resource interaction method in the game described in the first aspect or any corresponding embodiment.

[0050] Fourthly, this application provides a computer-readable storage medium storing computer instructions for causing a computer to execute the resource interaction method in a game described in the first aspect or any corresponding embodiment.

[0051] Fifthly, this application provides a computer program product, including computer instructions for causing a computer to execute the resource interaction method in a game as described in the first aspect or any corresponding embodiment.

[0052] The resource interaction method in this application provides a resource list comprising multiple interactive areas arranged in rows and columns, which carries various social resources. When a user needs to interact with resources, a graphical user interface displays the social resources in list form for the user to freely select. Based on the selected interactive area, the user can determine the corresponding target social resource and send it. This resource list, arranged in rows and columns, can display a large number of social resources at once, increasing resource richness. Furthermore, users can directly select the desired social resources from the resource list without performing additional page-turning operations, ensuring convenient resource interaction. In game scenarios where real-time communication is crucial, this enables rapid communication and reduces the impact on the game process. Attached Figure Description

[0053] To more clearly illustrate the technical solutions in the specific embodiments or related technologies of this application, the drawings used in the description of the specific embodiments or related technologies will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0054] Figure 1 This is a schematic diagram illustrating an application scenario according to an embodiment of this application;

[0055] Figure 2 This is a schematic diagram of a resource wheel according to an embodiment of this application;

[0056] Figure 3 This is a flowchart illustrating a resource interaction method in a game according to an embodiment of this application;

[0057] Figure 4 This is a schematic diagram illustrating a resource list according to an embodiment of this application;

[0058] Figure 5 This is a schematic diagram illustrating a social resource according to an embodiment of this application;

[0059] Figure 6 This is a flowchart illustrating a resource interaction method in another game according to an embodiment of this application;

[0060] Figure 7 This is a schematic diagram of a social resource configuration interface according to an embodiment of this application;

[0061] Figure 8 This is a schematic diagram of an editable resource list according to an embodiment of this application;

[0062] Figure 9 This is a schematic diagram of an interchangeable resource identifier according to an embodiment of this application;

[0063] Figure 10 This is a schematic diagram of four resource lists according to embodiments of this application;

[0064] Figure 11 This is a schematic diagram of a scrolling resource list according to an embodiment of this application;

[0065] Figure 12 This is another schematic diagram of a resource list according to an embodiment of this application;

[0066] Figure 13 This is a schematic diagram of a segmented graphical user interface according to an embodiment of this application;

[0067] Figure 14 This is a coordinate schematic diagram of a graphical user interface according to an embodiment of this application;

[0068] Figure 15 This is a schematic diagram illustrating the determination of an edge interaction region according to an embodiment of this application.

[0069] Figure 16 This is another schematic diagram illustrating the determination of the edge interaction region according to an embodiment of this application.

[0070] Figure 17 This is a schematic diagram illustrating the determination of edge interaction regions according to an embodiment of this application;

[0071] Figure 18 This is a structural block diagram of a resource interaction device in a game according to an embodiment of this application;

[0072] Figure 19 This is a schematic diagram of the hardware structure of an electronic device according to an embodiment of this application. Detailed Implementation

[0073] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, 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, 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.

[0074] It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.

[0075] For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the software or hardware, such as the electronic device, application, server, or storage medium performing the operations of this disclosed technical solution, based on the prompt message.

[0076] As an optional but non-limiting implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0077] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.

[0078] It is understood that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and related provisions.

[0079] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, "multiple" means two or more, unless otherwise explicitly specified.

[0080] As one optional application scenario in the embodiments of this application, such as Figure 1As shown, this scenario may include at least one terminal device and at least one server, allowing players to experience online gaming. Figure 1 The example illustrates a scenario that includes a computer 101, a mobile terminal 102, and a server 103, with terminal devices such as the computer 101 and mobile terminal 102 connected to the server 103 via a network 110.

[0081] Specifically, the terminal device can be a smartphone, tablet, laptop, PDA, desktop computer, game console, smart TV, smart wearable device, in-vehicle terminal, VR (Virtual Reality) device, AR (Augmented Reality) device, etc. Server 103 can be a standalone physical server, a server cluster, a distributed system, or a cloud server providing cloud services. Network 110 can be a wired or wireless network, examples of which include, but are not limited to, the Internet, corporate intranet, local area network, wide area network, mobile communication network, and combinations thereof.

[0082] Taking competitive games as an example, the terminal device has the game's application installed. By running the application, a corresponding virtual scene can be rendered and displayed to the player using the terminal device's graphical user interface. For example, this virtual scene can be part or all of a simulated three-dimensional (3D) virtual space; for example, the virtual scene displayed to the player can be a scene observable from the perspective of a virtual object controlled by the player. This virtual scene can include environmental elements such as rivers and forests, as well as NPCs and virtual objects controlled by other players.

[0083] Furthermore, each player possesses a certain number of social resources, such as chat bubbles. Players can select appropriate social resources and send them to other players, enabling resource interaction between players. Figure 1 For example, player A, using computer 101, can select the social resources to be sent by operating computer 101 and send the social resources to mobile terminal 102, so that player B, operating mobile terminal 102, can see the social resources sent by player A.

[0084] In the relevant scheme, social resources are mainly carried out through a wheel. Players can bring up a resource wheel divided into N equal parts by long-pressing a certain button (such as a preset button on the mouse or keyboard, or a virtual button in the graphical user interface). Players can select a social resource by clicking with the mouse or tapping on the touch screen, which will then trigger the display and sending of the relevant social resource.

[0085] Figure 2 A schematic diagram of a resource roulette wheel is shown. For example... Figure 2As shown, a resource wheel divided into eight equal parts (N=8) displays up to eight supported social resources to the player. Figure 2 Taking eight emojis as an example, other types of social resources can also be used, and a resource wheel can display multiple social resources at the same time.

[0086] It can be observed that with this roulette-style system, the number of social resources a player can equip simultaneously is extremely limited, which greatly restricts players' social needs. Therefore, more and more games are beginning to optimize and adjust to address this issue.

[0087] The first approach is to increase the number of roulette wheels. However, this method of increasing the number of equal divisions has significant limitations; it cannot be divided infinitely. Furthermore, as the number of sectors increases, the precision required for players to select social resources becomes increasingly demanding. Excessive divisions negatively impact the player experience, especially for roulette-type games used during combat. Therefore, very few games exceed 12 divisions; the roulette wheel supports a maximum of 12 social resources, meaning only one of the 12 social resources can be sent at a time.

[0088] The second approach is to add a page-turning function to each social resource in the resource wheel. For example, the resource wheel is still divided into eight equal parts, but each sector can support multiple social resources, and players can use the mouse wheel to scroll and select the desired social resources. If each sector of the resource wheel supports N social resources, a total of 8×N social resources can be configured, which can meet the player's needs for the number of resources.

[0089] However, when players use this roulette wheel, there are only 8 on a single screen. When players need to use a specific social resource, they need to search repeatedly, which slows down the speed at which players find resources. Especially as the number of resources increases, players need to frequently switch between multiple sector pages, resulting in low search efficiency and affecting the efficiency of players using the roulette wheel.

[0090] The third approach is to use a concentric circle wheel (i.e., the resource wheel is a multi-layered concentric circle structure), or to expand and collapse the sectors of the resource wheel (for example, when the mouse hovers over the sector corresponding to a social resource, it will expand to display more collapsed social resources, thereby expanding more resource equipment space).

[0091] The concentric circle wheel can only support a maximum of 8×N (N is the number of layers) social resources. Due to the obvious upper limit on the number of layers, the number that can be configured is also limited, generally not exceeding around thirty. The method of expanding and collapsing sectors is similar, with a limited number that can be configured.

[0092] According to an embodiment of this application, a resource interaction method in a game is provided, which displays social resources available for user selection in a list format. This allows for the display of a large number of social resources at once, and users can directly select and use them, resulting in high interaction efficiency. It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowcharts, in some cases, the steps shown or described may be executed in a different order than that presented here.

[0093] This embodiment provides a resource interaction method in a game, which can be applied to the aforementioned terminal devices, such as computers and mobile terminals. The terminal device provides a graphical user interface (GUI), allowing players to interact with resources by displaying visual elements related to the game product through the GUI when running the application corresponding to the game product. Figure 3 This is a flowchart of a resource interaction method in a game according to an embodiment of this application, such as... Figure 3 As shown, the process includes the following steps.

[0094] Step S301: In response to the resource display operation, a resource list is displayed in the graphical user interface; the resource list includes multiple interactive areas arranged in rows and columns to display all the social resources owned by the user, and at least some interactive areas are configured with resource identifiers corresponding to each social resource.

[0095] In this embodiment, if a user (e.g., a player) needs to interact with other users' resources while experiencing the game, they can first perform a resource display operation to control the graphical user interface to display multiple social resources that the user can choose from.

[0096] The terminal device supports one or more input devices, and correspondingly, users can input the resource display operation through a variety of input methods. For example, the input methods for the resource display operation include one or more of the following: touch input, mouse input, keyboard input, game controller input, motion sensing device input, and VR device input. This embodiment does not limit this. For example, a user can trigger the resource display operation by pressing a preset key on the keyboard (such as the P key, T key, etc.); or, when operating a terminal device with a touch screen, if the graphical user interface displays a control for triggering the resource display operation, the user can also trigger the resource display operation by clicking the control. This embodiment does not limit the specific triggering method of the resource display operation.

[0097] The resource display operation is a call-out operation for social resources (or resource lists). After the terminal device detects this resource display operation, it can call up a resource list to display multiple social resources and display it in the graphical user interface. Furthermore, to avoid the resource list occupying too much screen space, an area for displaying the resource list, i.e., a list area, can be pre-defined in the graphical user interface, and the resource list can be displayed within this list area.

[0098] Figure 4 This illustrates one way of displaying a list of resources. For example... Figure 4 As shown, a list area 401 is provided in the graphical user interface 400, and the resource list 402 is displayed in the list area 401; wherein, the boundaries of the list area 401 and the resource list 402 may coincide. Figure 4 To facilitate the distinction between list area 401 and resource list 402, a certain interval is provided between the two.

[0099] The resource list includes multiple interactive areas arranged in rows and columns, allowing it to present a multi-row, multi-column two-dimensional list. Furthermore, some or all of the interactive areas in the resource list can be configured with corresponding resource identifiers, each corresponding one-to-one with a social resource. These resource identifiers represent the specific content of the social resource; they can be the same as the social resource itself, or they can be a simplified identifier representing the specific content of the social resource. This embodiment does not impose any limitations on this.

[0100] by Figure 4 As shown in the example, resource list 402 is a 5×5 two-dimensional list, which includes 25 interactive areas. Among them, 22 interactive areas are configured with corresponding resource identifiers, while the last three interactive areas are not configured with resource identifiers, meaning that these three interactive areas cannot be used to send social resources.

[0101] In this embodiment, the resource list is used to display all the social resources owned by the user, thus ensuring the richness of social resources during display. If the user owns a large number of social resources, which cannot be fully displayed in the list area, a portion of the resource list will be displayed in the list area, and the remaining portion of the resource list can be displayed in the list area through scrolling or page turning operations.

[0102] It should be noted that the resource identifiers configured for each interactive area are different. By triggering the resource identifiers of different interactive areas, different social resources can be sent. Figure 4 For ease of illustration, a unified resource identifier (i.e., a smiley face) is used to represent the resource identifier corresponding to each interactive area.

[0103] Step S302: In response to the selection operation for the interactive area, determine the selected target interactive area.

[0104] In this embodiment, after displaying the resource list to the user, the user can trigger a corresponding selection operation based on their own needs. This selection operation can point to a specific interactive area in the resource list, thereby determining the interactive area selected by the user. For ease of description, the interactive area selected by the user is referred to as the target interactive area.

[0105] Since the resource list has multiple preset interactive areas, one of the interactive areas can be used as the user's default selection. That is, after the resource list is displayed to the user, the default interactive area is first used as the target interactive area for automatic selection. In other words, the selection operation is automatically triggered by the system at this time. If the default interactive area is not suitable, the user can further actively trigger the selection operation to change the target interactive area.

[0106] Step S303: In response to an interactive operation targeting the target interactive area, if the target interactive area is configured with a target resource identifier, send the target social resource corresponding to the target resource identifier.

[0107] In this embodiment, for the target interaction area, the user can trigger an operation that sends relevant resources, i.e., an interaction operation. Specifically, if the target interaction area is pre-configured with a corresponding resource identifier, then the social resource corresponding to that resource identifier can be determined, which is also the social resource corresponding to the target interaction area. For ease of description, the resource identifier configured for the target interaction area is called the target resource identifier, and the social resource corresponding to the target interaction area is called the target social resource.

[0108] Once the target social resource is identified, it can be sent to enable interaction with other players.

[0109] Specifically, the target social resource sent by the player through their own terminal device can be displayed on that device, that is, displayed using the graphical user interface of the terminal device. Furthermore, the target social resource can be sent to other terminal devices controlled by other users, instructing those devices to display the target social resource, allowing other users to also see it and enabling resource interaction between users.

[0110] Figure 5 This illustrates a demonstration of social resources. For example... Figure 5As shown, the graphical user interface 400 can display relevant virtual scenes, and the virtual scene has a virtual character 501 controlled by the user. After sending the target social resource, a dialog box 502 containing the target social resource can be displayed in the area corresponding to the virtual character, so that the user and other users can intuitively determine which player or which virtual character sent the target social resource.

[0111] The resource interaction method in the game provided in this embodiment sets up a resource list including multiple interactive areas arranged in rows and columns, and carries various social resources based on this resource list. When a user needs to interact with resources, the graphical user interface displays the social resources in list form for the user to freely select. Based on the selected interactive area, the user can determine the corresponding target social resource and send it. The resource list carries various social resources in rows and columns, which can display a large number of social resources at once, increasing the richness of resources. Furthermore, users can directly select the required social resources from the resource list without performing additional page turning operations, which also ensures the convenience of resource interaction. In game scenarios with high requirements for real-time communication, it can realize quick communication and reduce the impact on the game process.

[0112] This embodiment provides another method for resource interaction in games, which can be applied to the aforementioned terminal devices, such as computers and mobile terminals. The terminal device provides a graphical user interface. Figure 6 This is a flowchart of a resource interaction method in a game according to an embodiment of this application, such as... Figure 6 As shown, the process includes the following steps.

[0113] Step S601: In response to the editing operation, display the list of resources to be edited in the graphical user interface.

[0114] In this embodiment, users can pre-edit the specific content in the resource list to configure their own social resources (such as emoticons) to the corresponding interactive areas of the resource list. Specifically, after the user inputs an edit operation, the resource list to be edited can be displayed in the graphical user interface, allowing the user to configure each interactive area by editing the resource list.

[0115] Step S602: In response to the configuration operation for the resource list, configure corresponding resource identifiers for at least a portion of the interactive areas in the resource list.

[0116] After displaying the list of resources to be edited, users can trigger corresponding configuration operations on the resource list. For example, users can perform configuration operations on at least some interactive areas in the resource list to configure appropriate resource identifiers for the corresponding interactive areas according to their own needs.

[0117] Figure 7 This diagram illustrates a social resource configuration interface. Figure 7 As shown, the graphical user interface 400 displays the various social resources currently owned by the user. Figure 7 Let's take the bubble emoji as an example. The social resource configuration interface displays all the bubble emojis currently owned by the user and provides an editing control 702. The user can trigger the editing control 702 to input the corresponding editing operation, thereby controlling the graphical user interface 400 to display the list of resources to be edited.

[0118] Figure 8 This diagram illustrates how editing a resource list allows a user to control the graphical user interface 400 to display information by triggering the editing control 702. Figure 8 The content shown. For example... Figure 8 As shown, an editable resource list 801 is displayed in the graphical user interface 400. Users can freely configure the resource identifiers corresponding to each interactive area in the resource list 801. To ensure consistency with the location during use, the editable resource list 801 is also located within a preset list area. That is, the editable resource list 801 is exactly the same as the resource list displayed during use, the difference being that it is editable at this time, while it cannot be edited during use.

[0119] In this editable resource list 801, the content corresponding to each interactive area can be empty initially, meaning no resource identifier is configured for any interactive area, and the user can configure it entirely on their own. Alternatively, since the user's social resources (or social resources) are known, corresponding resource identifiers can be automatically configured for each interactive area of ​​resource list 801 initially, and the user can adjust any inappropriate configuration relationships.

[0120] For example, a sorting function can be provided to users, which can automatically assign each social resource to the corresponding interactive area. Furthermore, the resource list can display multiple social resources, so various social resources can be configured in the same list. For example, the resource list includes various social resources such as emoticons, spray paint, and voice messages, eliminating the need for users to configure a wheel for each social resource separately (which would require switching back and forth between different configuration interfaces), thus improving the efficiency of social resource configuration.

[0121] Optionally, in step S601, in response to the edit operation, it is first determined whether the function of using the resource list is enabled. If it is enabled, the resource list to be edited is then displayed in the graphical user interface. If the function of using the resource list is not enabled, social resources are displayed in other ways, such as in a roulette wheel.

[0122] like Figure 7As shown, the social resource configuration interface also includes a function selection control 701. Users can determine whether to use the resource list function, i.e., whether to display social resources in the form of a resource list, by operating the function selection control 701.

[0123] Optionally, after displaying the resource list to be edited, i.e. after step S601, the method may further include: in response to a selection operation on a third interactive area in the resource list, marking other interactive areas in the resource list other than the third interactive area as interchangeable; in response to a selection operation on a fourth interactive area, interchange the resource identifier corresponding to the third interactive area with the resource identifier corresponding to the fourth interactive area.

[0124] In this embodiment, when editing the resource list, the user can set a separate resource identifier for each interactive area; or, the user can exchange resource identifiers with other interactive areas.

[0125] Figure 9 This illustrates a schematic diagram of interchangeable resource identifiers. For example... Figure 9 As shown, if the social resources in the first row and second column of the resource list are designated as the third interaction area 901, after the user selects this third interaction area 901, all other interaction areas are marked as interchangeable, indicating that the resource identifiers of the other interaction areas can be swapped. Then, the user can select the fourth interaction area (one of the other interaction areas in the interchangeable state) to swap the resource identifier corresponding to the third interaction area with the resource identifier corresponding to the fourth interaction area.

[0126] It is understandable that when editing the resource list, some interactive areas can be locked, that is, the correspondence between the interactive area and the corresponding resource identifier is locked. When the resource identifiers are swapped later, the locked interactive area cannot be used as the fourth interactive area. That is, only other interactive areas in the resource list that are not locked will be marked as swapped.

[0127] After editing the resource list, users can access the resource list containing multiple social resources and proceed with subsequent steps such as S603.

[0128] Step S603: In response to the resource display operation, a resource list is displayed in the list area of ​​the graphical user interface; the resource list includes multiple interactive areas arranged in rows and columns to display all the social resources owned by the user, and at least some interactive areas are configured with resource identifiers corresponding to each social resource.

[0129] Please see details Figure 3 Step S301 of the illustrated embodiment will not be described again here.

[0130] Optionally, the resource list can be of a fixed size, and the list area can also be fixed; or the resource list can be adaptively adjusted based on the actual number of social resources, and the size of the list area can also match the information list.

[0131] Figure 10 A diagram illustrating four types of resource lists is shown. For example... Figure 10 As shown, both graphical user interfaces 1001 and 1002 use a fixed-size resource list (i.e., a 5×5 resource list), regardless of the number of social resources. Graphical user interface 1003 uses a 3×5 resource list, and graphical user interface 1004 uses a 1×5 resource list; all resource lists are displayed in the center, meaning the list area is a portion of the central area of ​​the graphical user interface.

[0132] Furthermore, the number of rows and columns in the resource list can be adaptively adjusted based on the amount of social resources available. Figure 10 Taking the graphical user interface 1003 as an example, since there are 12 social resources in total, a 3×4 or 4×3 resource list can be used. This embodiment does not limit the specific arrangement of the resource list.

[0133] In this embodiment, the size of the list area is fixed, meaning the amount of social resources that can be displayed is limited. If the resource list becomes too large due to an excessive number of social resources and cannot be fully displayed within the list area, only a portion of the resource list will be displayed within the list area. The content displayed within the list area will be adjusted by scrolling the resource list.

[0134] Figure 11 The diagram illustrates a scrolling resource list. A scroll bar 1101 is provided on the side of the resource list. Users can scroll up and down to display the resource list by operating the mouse wheel or moving the slider in the scroll bar 1101.

[0135] Step S604: In response to the selection operation for the interactive area, determine the selected target interactive area.

[0136] Please see details Figure 3 Step S302 of the illustrated embodiment will not be described again here.

[0137] In some alternative implementations, step S604, "in response to a selection operation for an interactive area, determining the selected target interactive area," may include steps a1 to a2.

[0138] Step a1: In response to the focus position adjustment operation, determine the adjusted target focus position; the focus position is the position in the graphical user interface.

[0139] In this embodiment, the terminal device can provide the user with a focus point to represent the selected location based on a graphical user interface (GUI). The location selected by the user is represented by the position of this focus point. Accordingly, the focus point is located within the GUI, and its position is also its location within the GUI. When selecting an interactive area, the user can adjust the focus point position to determine the location of the adjusted focus point, i.e., the target focus point position.

[0140] For example, the focus could be the mouse cursor. Accordingly, the focus position is the location of the cursor; by moving the mouse, the user can trigger an adjustment operation on the focus position, thereby adjusting the focus position and thus determining the target focus position.

[0141] Alternatively, the focus point can be a preset discrete point. For example, the location of each interactive area (e.g., the center position) can be used as the focus point, and the focus position can be adjusted by moving the focus point discretely. For example, users can adjust the focus position discretely by operating the joystick of a game controller or pressing the keys on a keyboard used to adjust direction (e.g., the up, down, left, and right keys, or the four WASD keys).

[0142] Alternatively, the focus can be a point determined by a touch operation. When using a touch-enabled terminal device (such as a smartphone), a user can trigger a focus adjustment operation by tapping or swiping, using the tapped location or the ending point of the swipe as the adjusted target focus location.

[0143] Step a2: Determine the target interaction area corresponding to the position in the resource list based on the target focus position.

[0144] In this embodiment, the target focus position is a certain position in the graphical user interface, which can correspond to a certain interactive area in the list area, and this interactive area can be used as the target interactive area.

[0145] Optionally, the method may also include step a3.

[0146] Step a3: In the process of determining the target focus position based on the adjustment operation, hide the identifier used to indicate the focus position and highlight the interactive area corresponding to the current focus position.

[0147] In this embodiment, during the adjustment of the focus position, the interactive area corresponding to the current focus position will be highlighted. For example, the interactive area may be highlighted, displayed in a different color, or enlarged. This embodiment does not limit the highlighting method. Furthermore, since the selected interactive area (i.e., the target interactive area) has already been indicated, the identifier corresponding to the focus can be hidden to avoid the focus identifier affecting the display effect of the resource list.

[0148] For example, the mouse cursor can be hidden during the process of determining the target focus position based on adjustment operations.

[0149] Furthermore, selecting a resource identifier or social resource does not require clicking the mouse. Specifically, the resource display operation can be triggered by pressing a preset button; while the interactive operation is triggered by stopping pressing the preset button.

[0150] In this embodiment, the user can press a preset key (such as the T key on a keyboard) to control the display of a resource list in the graphical user interface; and during the display process, the preset key is always pressed; after the user selects the target interactive area by using a mouse or other keys (generally a mouse to avoid conflicts caused by pressing multiple keys at the same time), the user can directly release the preset key to trigger the corresponding interactive operation and then send the corresponding target social resources.

[0151] When adjusting the focus position, displaying the mouse cursor can mislead players into thinking a click is required, when in fact releasing the preset key triggers the sending of relevant social resources. Therefore, hiding the mouse cursor avoids this misunderstanding and simplifies the process by eliminating the need for players to click the mouse.

[0152] In some optional implementations, the focus position is a location restricted to the list area; that is, the focus can only move or change within the list area and cannot go beyond it. Figure 4 For example, the focus will not exceed the list area 401. For instance, if the mouse cursor is confined to the list area and moves too far, causing it to exceed the list area, the mouse cursor coordinates can be updated to adjust it to the boundary of the list area, preventing it from exceeding the boundary.

[0153] At this point, step a2, "determine the target interaction area corresponding to the position in the resource list based on the target focus position," may include step b1.

[0154] Step b1: Select the interactive area in the resource list that contains the target focus position as the target interactive area.

[0155] In this embodiment, since the focus position is restricted to the list area, any focus position belongs to a certain interactive area in the resource list. Therefore, the interactive area containing the target focus position can be directly used as the target interactive area.

[0156] In this embodiment, by restricting the focus position to the list area, the focus position can be limited to the resource list, so that any focus position belongs to a certain interaction area, thereby making it easy and quick to determine the target interaction area, and the determination logic is simple.

[0157] Optionally, after displaying the resource list, i.e. after step S603, the method further includes setting the initial focus position at a preset position within the resource list.

[0158] In this embodiment, after the user inputs a resource display operation, in addition to displaying the resource list, the focus position is initialized and set to a preset position within the resource list. This preset position is fixed; for example, it can be the position corresponding to the interactive area of ​​the first row and first column of the resource list, or it can be the center position of the resource list.

[0159] By initializing the focus position to a preset location, a unified initial position is achieved, allowing users to quickly locate the initial focus position. This enables users to selectively adjust the focus position and quickly locate the desired target interaction area. Furthermore, if the focus position is restricted to the list area, the initial preset position will also be within the list area, ensuring that the focus remains within the list area.

[0160] Optionally, such as Figure 4 As shown, the resource list allows interactive areas without configured resource identifiers, meaning that some interactive areas are not bound to social resources; furthermore, an interactive area in the resource list can be set to cancel interaction, so that users can stop the interaction process when they no longer need to send social resources.

[0161] If the resource list includes an interactive area for canceling interaction, the aforementioned preset position can correspond to that interactive area. For example, the preset position is located within the interactive area, such as at the center of the interactive area.

[0162] Figure 12 Another schematic diagram of the resource list is shown, such as... Figure 12 As shown, an interactive area 1201 in the resource list can be used as the interactive area to cancel interaction. Figure 12Let's take the interactive area in the first row and first column as an example. Furthermore, the position of this interactive area 1201 can be fixed to facilitate user location. If the user then uses this interactive area 1201 as the target area, no social resources will be sent.

[0163] In this embodiment, the focus position is initialized to a uniform fixed position so that users can easily know where the initial focus position is. Furthermore, the interaction area used to cancel the interaction is used as the initial focus position. When a user accidentally triggers a resource display operation, even if another interaction operation is triggered, the initially selected interaction area will be used to cancel the interaction, thus preventing the accidental posting of social resources.

[0164] In some optional implementations, if the list area can fully display the resource list, the position of the resource list is fixed; conversely, if the list area cannot fully display the resource list due to too many social resources, the resource list needs to be scrolled, such as... Figure 11 As shown, if the number of social resources exceeds 25, the resource list needs to be scrolled within the list area, i.e., the resource list should be scrolled up and down.

[0165] In this embodiment, a minimum scrolling distance is set for the resource list. This means that each time the resource list is scrolled, the corresponding scrolling distance will not be less than this minimum scrolling distance, and it must be an integer multiple of this minimum scrolling distance. Specifically, if the minimum scrolling distance of the resource list is an integer multiple of the size of the interactive area in the corresponding scrolling direction, it indicates that each time the resource list is scrolled, the interactive areas are simply translated as a whole, and the positions of the translated interactive areas correspond to the positions of the interactive areas before the translation.

[0166] For example, with Figure 11 For example, if the resource list scrolls vertically, and the height (i.e., the vertical dimension) of each social resource is H, then the minimum scrolling distance can be set to H*N, where N is a preset positive integer. It can be understood that if N=1, then each scroll moves the resource one position vertically; similarly, with... Figure 11 Taking the resource list shown as an example, if N=5, then each scroll will scroll five squares, which is equivalent to turning a page in the resource list. At this time, the interactive area will not be cut off.

[0167] If the position of the resource list is fixed, or if the minimum scrolling distance of the resource list is an integer multiple of the size of the interactive area in the corresponding scrolling direction, then step a2 above, "determine the target interactive area corresponding to the position in the resource list based on the target focus position", may include steps c1 to c2.

[0168] Step c1: Determine the target trigger area to which the target focus position belongs; the target trigger area is one of the multiple trigger areas obtained by dividing the graphical user interface according to the dividing lines between the various interactive areas in the list area.

[0169] Step c2: The interactive area corresponding to the target trigger area is taken as the target interactive area.

[0170] In this embodiment, since the display position of the interactive area in the graphical user interface is standardized, the dividing line between each interactive area in the list area can be used as a dividing line to divide the entire graphical user interface, thereby obtaining multiple trigger areas.

[0171] Figure 13 This illustrates a schematic diagram of a segmented graphical user interface. For example... Figure 13 As shown, if a 5×5 two-dimensional list can be displayed within the list area 401, with a total of 25 interactive areas, then four horizontal dividing lines and four vertical dividing lines can be determined, dividing the entire graphical user interface 400 into 25 areas, each of which is a trigger area.

[0172] Each interactive area belongs to a corresponding trigger area, meaning the area of ​​the trigger area is greater than or equal to the area of ​​the interactive area. Figure 13 As shown in the example, the interactive area in the middle is the same as the trigger area; however, the corresponding trigger area is larger for interactive areas located at the edges. Figure 13 The interactive area in the upper left corner of the list area 401 corresponds to the trigger area 1301, which is shown as the gray area in the figure.

[0173] After determining the target focus position in the graphical user interface, the corresponding trigger area, i.e., the target trigger area, can be determined. Then, the interactive area corresponding to this target trigger area is taken as the target interactive area; that is, the interactive area contained within the target trigger area is taken as the target interactive area. For example... Figure 13 As shown, if the focus S is located within the trigger area 1301, the interactive area in the upper left corner of the list area 401 at this time can be used as the target interactive area.

[0174] In this embodiment, in scenarios where the location of the interactive area is relatively fixed, the location corresponding to the focus can be fixed, that is, the graphical user interface is divided into multiple trigger areas. By determining which trigger area the focus falls into, the corresponding social resource can be identified. This allows for rapid determination even without locking the focus location.

[0175] In some optional implementations, step a2, "determining the target interaction area corresponding to the position in the resource list based on the target focus position," may include steps d1 to d3.

[0176] Step d1: Determine whether the target focus position is within the list area.

[0177] In this embodiment, the list area is a portion of the graphical user interface, so its range can be represented using the coordinate system corresponding to the graphical user interface. Furthermore, the position coordinates of the target focus location within this coordinate system can be determined, thereby confirming whether the target focus location is within the list area.

[0178] Figure 14 This diagram illustrates a coordinate system for a graphical user interface (GUI). Typically, the top-left corner of the GUI (400) is the origin (0,0), with the horizontal axis (X) pointing right and the vertical axis (Y) pointing downwards. For the list area, the coordinates of each vertex can be determined. For example... Figure 14 As shown, the four vertices of the list area are divided into A, B, C, and D, and the coordinates of each vertex are (xa, ya), (xb, yb), (xc, yc), and (xd, yd) respectively.

[0179] For a focus M, its position coordinates are (xm, ym), and the position coordinates of focus M can change in real time. For example, focus M is the mouse cursor.

[0180] It can be understood that if xa = xc ≤ xm ≤ xb = xd and ya = yb ≤ ym ≤ yc = yd, then the target focus position can be determined to be within the list area; otherwise, it is outside the list area.

[0181] Step d2: If the target focus position is located within the list area, the interactive area in the resource list that contains the target focus position is taken as the target interactive area.

[0182] In this embodiment, if the target focus position is located within the list area, then the target focus position must be located within a certain interactive area. Therefore, similar to step b1 above, the interactive area in the resource list that contains the target focus position can be directly used as the target interactive area.

[0183] For example, if the target focus position is as follows Figure 14 As shown by point M, the interactive area in the second row and fourth column of the list area can be directly determined as the target interactive area.

[0184] Step d3: If the target focus position is not located within the list area, determine the edge interaction area in the resource list corresponding to the target focus position, and take the edge interaction area corresponding to the target focus position as the target interaction area; the edge interaction area is the interaction area located at the edge of the list area.

[0185] In this embodiment, the interactive area located at the edge of the list area is called the edge interactive area. If the target focus position is not located within the list area, that is, if the target focus position is outside the list area, it is further determined which edge interactive area corresponds to the target focus position. Then, the corresponding edge interactive area is taken as the target interactive area. This allows for matching a suitable target interactive area even when the focus exceeds the list area. This is equivalent to expanding the edge interactive area, making it more likely for the user to locate the edge interactive area. Users can then set frequently used social resources in the edge interactive area, improving the convenience of selecting these edge interactive areas and effectively reducing the problem of selection accuracy being affected by the small size of the interactive area itself.

[0186] Optionally, step d3, "determining the edge interaction area in the resource list corresponding to the target focus position", may include steps d31 to d33.

[0187] Step d31: If only the x-coordinate of the target focus position exceeds the x-coordinate range of the list area, the edge interaction area closest to the y-coordinate of the target focus position is taken as the edge interaction area corresponding to the target focus position.

[0188] Step d32: If only the vertical coordinate of the target focus position exceeds the vertical coordinate range of the list area, the edge interaction area that is closest to the horizontal coordinate of the target focus position is taken as the edge interaction area corresponding to the target focus position.

[0189] Step d33: If the x-coordinate of the target focus position exceeds the x-coordinate range of the list area, and the y-coordinate of the target focus position exceeds the y-coordinate range of the list area, then the edge interaction area closest to the target focus position is taken as the edge interaction area corresponding to the target focus position.

[0190] In this embodiment, the list area has a certain range of horizontal and vertical coordinates, such as... Figure 14 As shown, its x-coordinate ranges from xa to xb, and its y-coordinate ranges from ya to yc. When the target focus position is not within the list area, there are three specific cases: either only the x-coordinate xm of the target focus position exceeds the x-coordinate range [xa, xb] of the list area, or only the y-coordinate ym of the target focus position exceeds the y-coordinate range [ya, yc] of the list area, or both the x-coordinate xm and the y-coordinate ym of the target focus position exceed their respective coordinate ranges.

[0191] The processing principle is similar for the first two cases. As shown in steps d31 and d32, the corresponding edge interaction area can be determined based on another coordinate of the target focus position that does not exceed the coordinate range of the list area.

[0192] Figure 15 A schematic diagram illustrating the determination of edge interaction regions is shown, such as... Figure 15 As shown, the interactive areas surrounding the list area are all located at the edge, and are therefore all edge interactive areas. Figure 15 In this case, the x-coordinate xm of the focus M exceeds the x-coordinate range [xa, xb] of the list area, i.e., xm > xb. Therefore, we need to determine which edge interaction area is closest to the y-coordinate ym of the target focus position. For example... Figure 15 As shown, the edge interaction area in the second row and fifth column is closest to the vertical coordinate ym of the target focus position. Therefore, this edge interaction area is the edge interaction area corresponding to the target focus position, and it will also be used as the target interaction area.

[0193] Specifically, the x-coordinate closest to the x-coordinate xm of the target focus position within the x-coordinate range [xa, xb] of the list area can be determined, i.e., xb; then, the target coordinate (xb, ym) is determined based on the x-coordinate xb and the y-coordinate ym of the target focus position, and then the edge interaction area corresponding to the target coordinate (xb, ym) is taken as the target interaction area. Figure 15 In the diagram, the coordinates of point M1 are (xb, ym), which correspond to the edge interaction area of ​​the second row and fifth column.

[0194] Similarly, when only the ordinate ym of the target focus position exceeds the ordinate range [ya, yc] of the list area, that is, when the abscissa xm of the target focus position is within the abscissa range [xa, xb] of the list area, the processing principle is the same as... Figure 15 The processing method is similar, so it will not be repeated here.

[0195] Figure 16 This illustrates another schematic diagram for determining the edge interaction region, where the x-coordinate (xm) and y-coordinate (ym) of the target focus position both exceed the corresponding coordinate range. Figure 16 For example, in this case, xm > xb = xd, and ym > yc = yd. In this situation, the edge interaction region closest to the target focus position is taken as the edge interaction region corresponding to the target focus position.

[0196] Specifically, among the four sets of values ​​xa = xc, xb = xd, ya = yb, and yc = yd, the coordinates closest to xm and ym can be determined, thereby identifying the corresponding edge interaction region. Figure 16 For example, xd and yd are the coordinates closest to xm and ym, that is, point D is closest to the focus M at this time. Therefore, the edge interaction area corresponding to point D, that is, the edge interaction area of ​​the fifth row and fifth column, can be taken as the target interaction area.

[0197] In this embodiment, by determining whether the target focus position is located within the list area, the edge interaction area corresponding to the target focus position can be determined in various situations. This method is applicable to arbitrarily complex resource lists and has strong universality. For example, Figure 13 The methods shown require the resource list to be fixed or to scroll in a specific way. However, the method for determining the edge interaction area provided in this embodiment can also accurately determine the target interaction area when the resource list is infinitely adjusted, that is, when the scrolling distance of the resource list has no fixed value (theoretically, the minimum scrolling distance is one pixel of the graphical user interface).

[0198] Optionally, when there is no infinitely large resource list, some interactive areas may be divided by the boundaries of the list area, resulting in only a portion of certain interactive areas being displayed within the list area. In this case, the rules for determining edge interactive areas specifically include:

[0199] For the first interactive region that intersects with the boundary line of the list area, if the size of the first interactive region within the list area is greater than a preset threshold, then the first interactive region is regarded as an edge interactive region.

[0200] If the size of the first interactive area within the list area is less than a preset threshold, then the second interactive area is designated as an edge interactive area; the second interactive area is any other interactive area adjacent to the first interactive area in the scrolling direction of the resource list.

[0201] In this embodiment, for a first interactive area intersecting the boundary line of the list area, if the size (e.g., area, height) of the first interactive area within the list area is greater than a preset threshold, it indicates that the first interactive area can still be displayed within the list area, and therefore it can be used as an edge interactive area. Conversely, if the size of the first interactive area within the list area is less than the preset threshold, it indicates that the content displayed by the first interactive area within the list area is too small, causing the user to not know what social resources the first interactive area corresponds to. Therefore, the first interactive area is not suitable as a selectable edge interactive area. In this case, another interactive area adjacent to the first interactive area in the scrolling direction of the resource list, namely the second interactive area, needs to be used as an edge interactive area. That is, although the second interactive area does not intersect the boundary line of the list area, it can still be used as an edge interactive area.

[0202] Specifically, a preset threshold related to the size is set. This preset threshold is determined based on the size of the interactive area in the scrolling direction. For example, the preset threshold does not exceed half the size of the interactive area in the scrolling direction. Generally, the interactive area scrolls up and down, so its size in the scrolling direction is the height of the interactive area. An appropriate preset threshold can be set based on this height.

[0203] Figure 17 A schematic diagram illustrating the determination of edge interaction regions is shown. For example... Figure 17 As shown, as the resource list scrolls, the height h of the first interactive area 1701 becomes less than a preset threshold, making it unsuitable as an edge interactive area. Instead, another interactive area 1702 adjacent to the first interactive area 1701 in the scrolling direction (i.e., the upper limit direction) of the resource list becomes the second interactive area and can be used as an edge interactive area. This setting avoids the situation where, when the focus is outside the list area, the user must scroll the first interactive area completely out of the list before selecting the second interactive area.

[0204] Step S605: In response to the interactive operation on the target interactive area, determine whether the target interactive area is configured with a target resource identifier.

[0205] Step S606: If a target resource identifier is configured in the target interaction area, send the target social resource corresponding to the target resource identifier.

[0206] Please see details Figure 3 Step S303 of the illustrated embodiment will not be described again here.

[0207] Step S607: If no resource identifier is configured in the target interaction area, or if the target interaction area is used to cancel interaction, perform the cancel interaction operation.

[0208] In this embodiment, if the target interaction area is not configured with a resource identifier, or if the target interaction area is used to cancel the interaction, it means that the target interaction area selected by the user does not have any social resources. Therefore, the interaction can be canceled directly without the need for other users to send social resources.

[0209] by Figure 12 For example, if the target interaction area is the interaction area 1201 in the upper left corner, or the interaction area in the fourth or fifth row that does not have a resource identifier configured, the terminal device will be triggered to perform the operation of canceling the interaction.

[0210] The resource interaction method in the game provided in this embodiment greatly expands the richness of social resources while maintaining the convenience of operation to a certain extent; the larger interactive area can display more content without requiring users to select which social resources to configure.

[0211] This embodiment also provides a resource interaction device in a game, which is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0212] This embodiment provides a resource interaction device in a game, and the terminal device provides a graphical user interface; such as Figure 18 As shown, the device includes:

[0213] The display module 1801 is used to display a resource list in the graphical user interface in response to a resource display operation; the resource list includes multiple interactive areas arranged in rows and columns for displaying all social resources owned by the user, and at least some of the interactive areas are configured with resource identifiers corresponding to each of the social resources;

[0214] Processing module 1802 is used to determine the selected target interactive area in response to a selection operation on the interactive area;

[0215] The interaction module 1803 is used to respond to an interaction operation on the target interaction area and, if the target interaction area is configured with a target resource identifier, send the target social resource corresponding to the target resource identifier.

[0216] The resource interaction device in the game provided in this disclosure can execute the resource interaction method in the game provided in any embodiment of this disclosure, and has the corresponding functional modules and beneficial effects for executing the method. Further functional descriptions of the above modules and units are the same as those in the corresponding embodiments described above, and will not be repeated here.

[0217] Figure 19 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure.

[0218] The following is a detailed reference. Figure 19 The diagram illustrates a structural schematic suitable for implementing an electronic device according to embodiments of the present disclosure. The electronic device may include a processor (e.g., a central processing unit, graphics processor, etc.) 1901, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 1902 or a program loaded from memory 1908 into random access memory (RAM) 1903. The RAM 1903 also stores various programs and data required for the operation of the electronic device. The processor 1901, ROM 1902, and RAM 1903 are interconnected via a bus 1904. An input / output (I / O) interface 1905 is also connected to the bus 1904.

[0219] Typically, the following devices can be connected to the I / O interface 1905: input devices 1906 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 1907 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; memory devices 1908 including, for example, magnetic tapes, hard disks, etc.; and communication devices 1909. Communication devices 1909 allow electronic devices to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 19 Electronic devices with various devices are shown, but it should be understood that it is not required to implement or have all of the devices shown, and more or fewer devices may be implemented or have instead.

[0220] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 1909, or installed from a memory 1908, or installed from a ROM 1902. When the computer program is executed by the processor 1901, it performs the functions defined in the resource interaction method in a game according to embodiments of this disclosure.

[0221] Figure 19 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.

[0222] This application also provides a computer-readable storage medium. The methods described in this application can be implemented in hardware or firmware, or implemented as recordable on a storage medium, or implemented as computer code downloaded over a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and then stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code. When the software or computer code is accessed and executed by the computer, processor, or hardware, the resource interaction method in the game shown in the above embodiments is implemented.

[0223] A portion of this application can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide the methods and / or technical solutions according to this application through the operation of the computer. Those skilled in the art will understand that the forms in which computer program instructions exist in a computer-readable medium include, but are not limited to, source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include, but are not limited to: the computer directly executing the instructions, or the computer compiling the instructions and then executing the corresponding compiled program, or the computer reading and executing the instructions, or the computer reading and installing the instructions and then executing the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to a computer.

[0224] Although embodiments of this application have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of this application, and all such modifications and variations fall within the scope defined by the appended claims.

Claims

1. A resource interaction method in a game, characterized in that, The method includes providing a graphical user interface via a terminal device; the method includes: In response to a resource display operation, a resource list is displayed in the graphical user interface; the resource list includes multiple interactive areas arranged in rows and columns for displaying all social resources owned by the user, and at least some of the interactive areas are configured with resource identifiers corresponding to each of the social resources; In response to a selection operation on the interactive area, the selected target interactive area is determined; In response to an interactive operation targeting the target interactive area, if a target resource identifier is configured in the target interactive area, the target social resource corresponding to the target resource identifier is sent.

2. The method according to claim 1, characterized in that, The step of determining the selected target interactive area in response to a selection operation on the interactive area includes: In response to a focus position adjustment operation, a target focus position is determined; the focus position is the position within the graphical user interface. The target interaction area corresponding to the position in the resource list is determined based on the target focus position.

3. The method according to claim 2, characterized in that, The focus position is a position restricted to the list area used to display the resource list; Determining the target interaction area corresponding to the position in the resource list based on the target focus position includes: The interactive area in the resource list that contains the target focus position is taken as the target interactive area.

4. The method according to claim 2, characterized in that, The position of the resource list is fixed, or the minimum scrolling distance of the resource list is an integer multiple of the size of the interactive area in the corresponding scrolling direction; Determining the target interaction area corresponding to the position in the resource list based on the target focus position includes: Determine the target trigger area to which the target focus position belongs; the target trigger area is one of the multiple trigger areas obtained by dividing the graphical user interface according to the dividing lines between the interactive areas of the list area used to display the resource list; The interactive area corresponding to the target triggering area is taken as the target interactive area.

5. The method according to claim 2, characterized in that, Determining the target interaction area corresponding to the position in the resource list based on the target focus position includes: Determine whether the target focus position is located within the list area used to display the resource list; If the target focus location is located within the list area, the interactive area in the resource list that contains the target focus location will be taken as the target interactive area. If the target focus position is not located within the list area, an edge interaction area corresponding to the target focus position is determined in the resource list, and the edge interaction area corresponding to the target focus position is taken as the target interaction area; the edge interaction area is an interaction area located at the edge of the list area.

6. The method according to claim 5, characterized in that, Determining the edge interaction region in the resource list corresponding to the target focus position includes: If the x-coordinate of the target focus position exceeds the x-coordinate range of the list area, the edge interaction area that is closest to the y-coordinate of the target focus position is taken as the edge interaction area corresponding to the target focus position. If the vertical coordinate of the target focus position exceeds the vertical coordinate range of the list area, the edge interaction area that is closest to the horizontal coordinate of the target focus position is taken as the edge interaction area corresponding to the target focus position. If the horizontal coordinate of the target focus position exceeds the horizontal coordinate range of the list area, and the vertical coordinate of the target focus position exceeds the vertical coordinate range of the list area, the edge interaction area closest to the target focus position will be taken as the edge interaction area corresponding to the target focus position.

7. The method according to claim 5, characterized in that, The rules for determining the edge interaction region include: For a first interactive region that intersects with the boundary line of the list area, if the size of the first interactive region within the list area is greater than a preset threshold, then the first interactive region is regarded as an edge interactive region. If the size of the first interactive area within the list area is less than a preset threshold, then the second interactive area is designated as an edge interactive area; the second interactive area is another interactive area adjacent to the first interactive area in the scrolling direction of the resource list.

8. The method according to claim 2, characterized in that, After displaying the resource list, the method further includes: Set the initial focus position to a preset position within the resource list.

9. The method according to claim 8, characterized in that, The resource list includes an interactive area for canceling interaction; the preset position corresponds to the interactive area for canceling interaction.

10. The method according to claim 2, characterized in that, The method further includes: During the process of determining the target focus position based on the adjustment operation, the identifier used to indicate the focus position is hidden, and the interactive area corresponding to the current focus position is highlighted.

11. The method according to claim 1, characterized in that, The method further includes: In response to an interaction operation targeting the target interaction area, if the target interaction area is not configured with a resource identifier, or if the target interaction area is used to cancel interaction, an interaction cancellation operation is performed.

12. The method according to claim 1, characterized in that, The method further includes: In response to an editing operation, a list of resources to be edited is displayed in the graphical user interface; In response to a configuration operation on the resource list, a corresponding resource identifier is configured for at least a portion of the interactive areas in the resource list.

13. The method according to claim 12, characterized in that, After displaying the list of resources to be edited, the method further includes: In response to a selection operation on the third interactive area in the resource list, other interactive areas in the resource list other than the third interactive area are marked as interchangeable. In response to the selection operation for the fourth interaction area, the resource identifier corresponding to the third interaction area is swapped with the resource identifier corresponding to the fourth interaction area.

14. The method according to claim 1, characterized in that, The resource display operation is triggered by pressing a preset button; The interactive operation is the operation triggered by stopping the pressing of the preset button.

15. A resource interaction device in a game, characterized in that, The device provides a graphical user interface via a terminal device; the device includes: A display module is used to display a resource list in the graphical user interface in response to a resource display operation; the resource list includes multiple interactive areas arranged in rows and columns for displaying all social resources owned by the user, and at least some of the interactive areas are configured with resource identifiers corresponding to each of the social resources; The processing module is used to determine the selected target interactive area in response to a selection operation on the interactive area. The interaction module is used to respond to interactive operations on the target interaction area, and when the target interaction area is configured with a target resource identifier, to send the target social resource corresponding to the target resource identifier.

16. A computer device, characterized in that, include: A memory and a processor are communicatively connected, the memory storing computer instructions, and the processor executing the computer instructions to perform the resource interaction method in the game as described in any one of claims 1 to 14.

17. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing the computer to perform the resource interaction method in the game according to any one of claims 1 to 14.

18. A computer program product, characterized in that, Includes computer instructions for causing a computer to perform the resource interaction method in the game as described in any one of claims 1 to 14.