Virtual account interaction method and device, electronic equipment and storage medium
By directly displaying the account management window within the game interface to manage established virtual relationships, the cumbersome operation caused by interface switching in existing technologies is resolved, improving the efficiency of virtual relationship review and player experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- NETEASE (HANGZHOU) NETWORK CO LTD
- Filing Date
- 2025-11-24
- Publication Date
- 2026-04-21
AI Technical Summary
In games, when players establish virtual relationships, once the relationship limit is reached, current technology requires frequent interface switching for management, which makes the operation cumbersome and reduces the efficiency of virtual relationship review and the gaming experience.
By displaying an account management window in the virtual relationship interface, established virtual relationships can be managed directly, reducing operation steps, avoiding interface switching, and improving consistency and efficiency.
It simplifies the steps players take to manage established virtual relationships in the game, improves the efficiency of virtual relationship review and the game experience, and reduces the feeling of disconnect and cumbersome operation.
Smart Images

Figure CN121891787A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of game interaction technology, and in particular to a virtual account interaction method, device, electronic device and storage medium. Background Technology
[0002] In the game, players can establish virtual relationships with other game accounts. After establishing a virtual relationship, the other party can be added to the player's virtual relationship list, and the two users can chat online or interact in a dedicated channel.
[0003] Currently, when processing the establishment of virtual relationships between players in the game, it is generally necessary to click to confirm the establishment of the virtual relationship on the virtual relationship application interface. However, when the limit for the number of virtual relationships that can be established in a game account is reached, it is not possible to directly establish a new virtual relationship. Players need to exit the virtual relationship application interface, enter the game player management interface to clear the game accounts with existing virtual relationships, and then re-establish virtual relationships with other game accounts on the virtual relationship application interface. This makes the process of establishing virtual relationships too cumbersome and inefficient, thus reducing the player's gaming experience. Summary of the Invention
[0004] To address or partially address the problems existing in related technologies, this application provides a virtual account interaction method, device, electronic device, and storage medium, which can improve the efficiency of reviewing virtual relationships in games, reduce the number of operational steps in the review process, and enhance the player's interactive experience.
[0005] This application provides a method for interacting with virtual accounts, which provides a graphical user interface through a terminal device corresponding to a first account; the method includes: displaying a virtual relationship interface in the graphical user interface, the virtual relationship interface displaying at least one second account that is intended to establish a virtual relationship with the first account; in response to a relationship addition instruction for a target second account, determining whether the number of virtual accounts that have established the virtual relationship with the first account has reached a preset target number, wherein the relationship addition instruction is used to establish the virtual relationship between the target second account and the first account; if the target number has been reached, displaying an account management window in the graphical user interface and displaying at least some of the virtual accounts in the account management window; and in response to a relationship removal instruction for a target virtual account, controlling the termination of the virtual relationship between the target virtual account and the first account.
[0006] A second aspect of this application provides an interactive device for virtual accounts, which provides a graphical user interface via a terminal device corresponding to a first account. The device includes: a first display module for displaying a virtual relationship interface on the graphical user interface, the virtual relationship interface displaying at least one second account that is intended to establish a virtual relationship with the first account; a judgment module for determining, in response to a relationship addition instruction for a target second account, whether the number of virtual accounts that have established the virtual relationship with the first account has reached a preset target number, wherein the relationship addition instruction is used to establish the virtual relationship between the target second account and the first account; a second display module for displaying an account management window on the graphical user interface if the target number has been reached, and displaying at least a portion of the virtual accounts in the account management window; and a processing module for controlling the termination of the virtual relationship between the target virtual account and the first account in response to a relationship removal instruction for a target virtual account.
[0007] A third aspect of this application provides an electronic device, comprising: Processor; and A memory that stores executable code, which, when executed by the processor, causes the processor to perform the method described above.
[0008] A fourth aspect of this application provides a computer-readable storage medium having executable code stored thereon, which, when executed by a processor of an electronic device, causes the processor to perform the method described above.
[0009] The technical solution provided in this application may include the following beneficial effects: This application discloses a virtual account interaction method, apparatus, electronic device, and storage medium. A graphical user interface (GUI) is provided through a terminal device corresponding to a first account. The method includes: displaying a virtual relationship interface on the GUI, showing at least one second account that is intended to establish a virtual relationship with the first account; determining, in response to a relationship-adding instruction for a target second account, whether the number of virtual accounts that have established virtual relationships with the first account has reached a preset target number, wherein the relationship-adding instruction is used to establish a virtual relationship between the target second account and the first account; if the target number has been reached, displaying an account management window on the GUI and displaying at least a portion of the virtual accounts; and controlling the termination of the virtual relationship between the target virtual account and the first account in response to a relationship-removing instruction for a target virtual account. This method allows for the management of game accounts with established virtual relationships directly on the virtual relationship interface after the number of established virtual relationships in a game account reaches its limit. This reduces the steps required for players to review game accounts with established virtual relationships, avoids the jarring and cumbersome experience caused by switching game interfaces, and improves the efficiency of virtual relationship review and the overall gaming experience.
[0010] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description
[0011] The above and other objects, features and advantages of this application will become more apparent from the more detailed description of exemplary embodiments thereof in conjunction with the accompanying drawings, wherein the same reference numerals generally represent the same components in the exemplary embodiments thereof.
[0012] Figure 1 This is a flowchart illustrating the interaction method of a virtual account as shown in an embodiment of this application; Figure 2 This is a schematic diagram illustrating the addition of a second account as shown in an embodiment of this application; Figure 3 This is a schematic diagram of the account management window shown in an embodiment of this application; Figure 4 This is a schematic diagram of an account application window shown in an embodiment of this application; Figure 5 This is a schematic diagram of the structure of the virtual account interaction device shown in the embodiments of this application; Figure 6 This is a schematic diagram of the structure of an electronic device shown in an embodiment of this application. Detailed Implementation
[0013] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0014] In related technologies, when players apply for virtual relationship approval in a game, they generally need to add or reject virtual relationships on the virtual relationship approval interface. When the number of established virtual relationships reaches the limit, it is impossible to directly establish new virtual relationships with other game accounts on the virtual relationship interface. Players need to close the virtual relationship approval interface, open the virtual relationship management interface of the game account, delete the game accounts with established virtual relationships, and then return to the virtual relationship approval interface to establish virtual relationships with other game accounts. This approval process is too cumbersome and involves too many steps, which reduces the efficiency of the approval process for players in establishing virtual relationships and the game experience.
[0015] Based on the above, the present invention provides a virtual account interaction method, device, electronic device and storage medium to improve the efficiency of virtual relationship verification of game accounts in games and improve the user's interactive experience. This technology can be widely applied to various types of games, such as RPG (Role-playing game) and SLG (Simulation Game), etc., without limitation.
[0016] To facilitate understanding of this embodiment, a virtual account interaction method disclosed in this embodiment of the invention will first be described in detail. In one embodiment of this disclosure, the virtual account interaction method can run on a local terminal device or a server. When the virtual account interaction method runs on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.
[0017] In an optional implementation, various cloud applications, such as cloud gaming, can run under the cloud interaction system. Taking cloud gaming as an example, cloud gaming refers to a gaming method based on cloud computing. In the cloud gaming operating mode, the game program and the game screen presentation are separated. The storage and execution of the virtual account interaction method are completed on the cloud gaming server. The client device is used for data reception, transmission, and game screen presentation. For example, the client device can be a display device with data transmission capabilities located close to the user, such as a mobile terminal, television, computer, or PDA; however, the information processing is performed by the cloud gaming server in the cloud. When playing the game, the player operates the client device to send operation commands to the cloud gaming server. The cloud gaming server runs the game according to the operation commands, encodes and compresses the game screen and other data, returns it to the client device via the network, and finally, the client device decodes and outputs the game screen.
[0018] In an optional implementation, taking a game as an example, the local terminal device stores the game program and is used to display the game screen. The local terminal device is used to interact with the player through a graphical user interface (GUI), i.e., conventionally by downloading, installing, and running the game program via an electronic device. The local terminal device can provide the GUI to the player in various ways, such as rendering it on the terminal's display screen or providing it to the player via holographic projection. For example, the local terminal device can include a display screen for displaying the GUI, which includes game screens, and a processor for running the game, generating the GUI, and controlling the display of the GUI on the display screen.
[0019] In one possible implementation, the present invention provides an interaction method for a virtual account, which provides a graphical user interface through a terminal device corresponding to a first account. The terminal device can be the aforementioned local terminal device or a client device in the aforementioned cloud interaction system.
[0020] To facilitate understanding of this embodiment, a virtual account interaction method disclosed in this invention will first be described in detail, such as... Figure 1 As shown, a graphical user interface is provided through a terminal device, which corresponds to a first account. The terminal device can be either the aforementioned local terminal device or the aforementioned client device. The method includes the following steps: S110: Display a virtual relationship interface in the graphical user interface, which shows at least one second account that wishes to establish a virtual relationship with the first account.
[0021] Specifically, players can log in to their first account through a terminal device. The game screen corresponding to the first account can be displayed in the graphical user interface. After the player triggers an operation on the graphical user interface, the virtual relationship interface corresponding to the first account can be displayed. The virtual relationship interface shows at least one second account, which is a game account that the second account wants to establish a virtual relationship with the first account. The virtual relationship can be a friend relationship, a romantic relationship, a parent-child relationship, a relative relationship, etc., and there are no restrictions here.
[0022] For example, when a player clicks the "Friend Verification" button on the graphical user interface, the friend relationship interface corresponding to the "Friend Verification" button is displayed on the game screen, showing at least one second account that wishes to establish a friend relationship with the first account.
[0023] S120: In response to the relationship addition instruction for the target second account, determine whether the number of virtual accounts that have established virtual relationships with the first account has reached a preset target number, wherein the relationship addition instruction is used to establish virtual relationships between the target second account and the first account.
[0024] Specifically, the relationship addition instruction refers to the operation signal initiated by the user to establish a virtual relationship. This can be achieved through methods such as clicking a confirmation control on the graphical user interface, voice recognition, or gesture recognition on the terminal device. For example, clicking the plus icon corresponding to the target second account can trigger the relationship addition instruction. The terminal device can then generate a relationship addition instruction for the target second account and determine whether the number of virtual accounts that have already established a virtual relationship with the first account has reached the preset target number based on the relationship addition instruction. The preset target number can be set in advance. For example, a preset target number of 200 means that the maximum number of game accounts that can establish a virtual relationship with the first account is 200. There is no limit to this.
[0025] For example, the virtual relationship interface displays a second account to be established as a virtual relationship, and the area corresponding to the second account displays a corresponding virtual relationship addition control, for example, "√" on the virtual relationship interface. When the player clicks the virtual relationship addition control, the system detects that the player needs to establish a virtual relationship with the second account, and then determines whether the number of virtual accounts that have established virtual relationships with the first account has reached the preset target number. If the upper limit has not been reached, the second account is established as a virtual relationship with the first account.
[0026] S130: If achieved, an account management window is displayed in the graphical user interface, and at least a portion of the virtual accounts are displayed in the account management window.
[0027] Specifically, once the number of virtual accounts that have established a virtual relationship with the first account reaches the preset target number, that is, the number of virtual relationships that the first account can establish reaches the upper limit and it is no longer possible to establish a virtual relationship with the target second account, the account management window can be directly displayed in the graphical user interface. The virtual account corresponding to the first account is displayed in the friend management window. This virtual account is the game account that has established a virtual relationship with the first account.
[0028] For example, after a player clicks "Add Friend" on the virtual verification interface, and it is detected that the number of friends for the first account has reached the preset target number, an account management window can be displayed in the graphical user interface. The account management window displays virtual accounts that have established a friend relationship with the first account. The account management window can overlap with the virtual relationship interface, meaning that the virtual relationship interface will not disappear after the account management window is displayed. The account management window can also be directly overlaid on the virtual relationship interface. By displaying the account management window directly on the screen, the complexity and tedium of repeatedly switching interfaces can be reduced, and the continuity of the player's process of establishing virtual relationships with other game accounts can be improved.
[0029] S140: In response to a relationship removal instruction for a target virtual account, control the termination of the virtual relationship between the target virtual account and the first account.
[0030] Specifically, players can select the target virtual account to be removed from the virtual relationship in the account management window, such as a virtual account that has not been logged in for a long time, and then click the corresponding remove button. After receiving the relationship removal instruction, the terminal device can remove the virtual relationship between the target virtual account and the first account. Controlling the removal of the virtual relationship between the target virtual account and the first account in this way can improve the continuity of the interaction process and the efficiency of operation.
[0031] For example, after the graphical user interface displays the account management window, players can select several virtual accounts whose virtual relationships need to be severed. For instance, the account management window displays several friends of the first account, with each friend's corresponding game account occupying a row. When a player clicks on the selection area corresponding to a friend's account, a checkmark will appear in the area corresponding to the friend's account, indicating that the player has selected that friend's account. Then, the player can click the remove button on the account management window, which will generate a relationship removal instruction for that game account and sever the friendship relationship between that game account and the first account according to the relationship removal instruction.
[0032] The aforementioned method for interacting with virtual accounts provides a graphical user interface (GUI) via a terminal device corresponding to a first account. The method includes: displaying a virtual relationship interface on the GUI, showing at least one second account that wishes to establish a virtual relationship with the first account; determining, in response to a relationship-adding instruction for a target second account, whether the number of virtual accounts that have established a virtual relationship with the first account has reached a preset target number, wherein the relationship-adding instruction is used to establish a virtual relationship between the target second account and the first account; if the target number has been reached, displaying an account management window on the GUI and showing at least a portion of the virtual accounts; and controlling the termination of the virtual relationship between the target virtual account and the first account in response to a relationship-removing instruction for a target virtual account. This method allows for the management of game accounts with established virtual relationships directly on the virtual relationship interface after the maximum number of virtual relationships in a game account has been reached. This reduces the steps required for players to review game accounts with established virtual relationships, avoids the disjointed and cumbersome experience caused by switching game interfaces, and improves the efficiency of virtual relationship review and the overall gaming experience.
[0033] The following examples describe a specific implementation of the process for generating relationship addition instructions for the target second account.
[0034] See Figure 2 In this specific embodiment, each of the second accounts associated with at least one second account in the virtual relationship interface displays a first relationship confirmation control; in response to a first trigger operation on the target first relationship confirmation control in the first relationship confirmation control, the second account corresponding to the target first relationship confirmation control is determined as the target second account, and a relationship addition instruction for the target second account is generated.
[0035] Specifically, the graphical user interface displays a virtual relationship interface, which shows second accounts awaiting review. Each second account has a corresponding area displaying a first relationship confirmation control. This first relationship confirmation control is an interactive component used to confirm a single virtual relationship to be added; for example, it might be a checkmark icon for the area corresponding to the second account. The first trigger action is the user's interaction with the first relationship confirmation control, such as a single click, long press, or swipe gesture. Through this first trigger action, the second account corresponding to the target first relationship confirmation control can be identified as the target second account.
[0036] For example, the virtual relationship interface displays the application information of multiple second accounts in a vertical list format. Each application entry has a fixed "√" icon on its right as a first relationship confirmation control. When a user clicks a "√" icon, the second account corresponding to that icon can be set as the target second account, and a relationship addition instruction for the target second account is generated simultaneously, which can improve the convenience and consistency of user operation.
[0037] Furthermore, the virtual relationship interface also displays a relationship rejection control associated with a second account. When a player clicks the relationship rejection control, the relationship application event of that second account is rejected. Additionally, the virtual relationship interface displays a full rejection control. When a player clicks the full rejection control, all virtual application events from second accounts are rejected.
[0038] In one possible implementation, if this is not achieved, the control target second account establishes a virtual relationship with the first account.
[0039] Specifically, when a player clicks the first relationship confirmation control in the virtual relationship interface, a command to add a relationship to the target second account is generated. At this point, it is determined whether the number of virtual accounts that have already established virtual relationships with the first account has reached the preset target number. If not, the system will control the target second account to establish a virtual relationship with the first account. For example, if the preset target number is 100, and the number of virtual accounts that have already established virtual relationships with the first account is 90, after the player clicks the first relationship confirmation control, it is determined that the upper limit has not been reached, and the system will control the target second account to establish a virtual relationship with the first account.
[0040] In one possible implementation, a second relationship confirmation control is displayed for all second accounts associated with at least one second account in the virtual relationship interface; in response to a second trigger operation on the second relationship confirmation control, control identifies at least one second account as the target second account and generates a relationship addition instruction for the target second account.
[0041] Specifically, the second relationship confirmation control is a control used to establish virtual relationships between all second accounts and the first account; the second trigger operation is the user's interaction with the second relationship confirmation control, which can also be a click, double-click, or swipe operation. After the second relationship confirmation control is triggered, at least one second account can be identified as the target second account, and a corresponding relationship addition instruction can be generated, which can improve the review efficiency when processing a large number of virtual relationship application events and improve the continuity of the review process.
[0042] For example, when the terminal device displays the virtual relationship interface, a "Agree to All" button is displayed at the bottom of the virtual relationship interface as a confirmation control for the second relationship. When the user clicks this button, the system identifies at least one second account currently displayed that wishes to establish a virtual relationship with the first account as the target second account and generates the corresponding relationship addition instruction, thereby performing the operation on all second accounts at once and reducing the cumbersomeness of the review process.
[0043] In one possible implementation, the method further includes: if the target number is not reached, determining the difference between the first number of virtual accounts that have established a virtual relationship with the first account and the target number; when the difference is not less than the second number of target second accounts, controlling the target second accounts to directly establish a virtual relationship with the first account; when the difference is less than the second number of target second accounts, controlling the target second accounts to establish a virtual relationship with the first account according to a preset addition order, wherein the preset addition order is determined based on a specified account attribute of the target second account.
[0044] Specifically, the quantity difference is the difference between the first number of virtual accounts that have already established a virtual relationship with the first account and the preset target number. If the quantity difference is not less than the total number of target second accounts, then all target second accounts are directly established as virtual relationships with the first account. If the quantity difference is less than the total number of target second accounts, then a preset addition order is generated according to the specified account attributes of the target second accounts, and the target second accounts with the quantity difference are established as virtual relationships with the first account according to the preset addition order. At this time, the system determines that the number of virtual accounts that have established a virtual relationship with the first account has reached the preset target number. However, since there are still target second accounts that users have confirmed need to establish a virtual relationship with the first account, an account management window will be displayed in the graphical user interface. The virtual accounts that have established a virtual relationship with the first account can be managed through the account management window. By determining the quantity difference between the target second accounts that need to establish a virtual relationship with the first account and the number of virtual accounts that have already established a virtual relationship with the first account, the target second accounts with the quantity difference can be quickly established as virtual relationships with the first account, improving the review efficiency and user experience.
[0045] For example, if the number of virtual accounts that have established a virtual relationship with the first account is 98 and the preset target number is 100, then the difference in number is 2. If there are 5 target second accounts that need to establish a virtual relationship, then it is determined that the difference in number is less than the second number of target second accounts. Therefore, the 5 target second accounts are sorted according to the preset addition order, and the first 2 target second accounts are selected to establish a virtual relationship with the first account. Since there are still 3 target second accounts that need to establish a virtual relationship with the first account, the account management window can be displayed in the graphical user interface, and the user can continue to operate through the account management window.
[0046] In one possible implementation, the specified account attributes include at least one of the following: the time when the target second account requested to establish a virtual relationship with the first account; the account level of the target second account; and the account login status of the target second account.
[0047] Specifically, the specified account attributes are various attribute values of the second account, such as the second account's friend request time, account level, and account login status. The preset addition order can be determined based on the priority of the specified account attributes. For example, when a player clicks the second relationship confirmation control and the number of virtual accounts that have established virtual relationships with the first account has not reached the preset target number, the request time of all second accounts can be obtained first, and the second account with the earlier request time can be prioritized to establish a virtual relationship with the first account. When encountering second accounts with the same request time, the second account with the higher account level or the account with the online login status can be established a virtual relationship with the first account based on the account level or the account login status.
[0048] For example, the first account has 95 virtual accounts that are friends with the first account, and the preset target number is 100. There are 10 target second game accounts that want to establish friend relationships with the first account. After the player clicks the second relationship confirmation control, the player intends to establish friend relationships with all the second accounts. Since the number of friends in the first account plus the number of target second accounts exceeds the first account's friend limit, friend relationships are established first based on the application time of the second accounts. If the application times are the same, the account levels are compared, and the game account with the higher level is selected. If the levels are also the same, the currently online game account is selected first. This ability to sort second accounts by specifying account attributes improves user operation efficiency and optimizes the social experience in the game.
[0049] The following examples describe specific implementations for removing virtual accounts from the account management window.
[0050] See Figure 3 In this specific embodiment, the account management window includes an account removal control. After the step of displaying at least a portion of the virtual accounts in the account management window, the method further includes: controlling the selection of a first virtual account among the at least a portion of the virtual accounts that meets preset filtering conditions; wherein, the preset filtering conditions are determined based on the account attributes of the virtual account, and the account attributes include at least one of the following: the time when the virtual account established a virtual relationship with the first account, the account level of the virtual account, and the account login status of the virtual account; in response to a third triggering operation on the account removal control, controlling the selection of the virtual account among the at least a portion of the virtual accounts as the target virtual account, and generating a relationship removal instruction.
[0051] Specifically, preset filtering criteria can be set in advance. For example, preset filtering criteria could include friend accounts that haven't logged in for seven days, etc. There are no restrictions here. Players can filter for the first virtual account based on the preset filtering criteria. For example, the account management window can display a list of account attributes corresponding to virtual accounts. Players can click the checkboxes corresponding to the account attributes to filter for the corresponding first virtual account.
[0052] Specifically, the friend removal control is an interactive component that triggers the friend removal operation. After filtering out the first virtual account, the player can click the account removal control, which will then identify the first virtual account as the target virtual account and generate a relationship removal instruction. According to the relationship removal instruction, the target virtual account can be removed, thereby freeing up the corresponding number of accounts. It can filter out the first virtual account that meets the preset filtering conditions and remove it with one click, avoiding the tediousness of players jumping through pages multiple times, improving the efficiency of account management and the smoothness of user experience.
[0053] For example, after a player filters out the first virtual account in the account management window, such as selecting a friend's account that has not logged in for 7 days as the first virtual account, the player can click the relationship removal control, such as the "Remove" button, which can be located at the bottom of the account management window. Then the system will identify at least a portion of the first virtual accounts as the target virtual accounts and generate a relationship removal instruction. The system can then remove the target virtual accounts from the account management window based on the relationship removal instruction.
[0054] In one possible implementation, prior to the step of controlling the determination of the selected virtual account among at least a portion of the virtual accounts as the target virtual account in response to a third trigger operation on the account removal control, the method further includes: controlling the deselection of the first virtual account in response to a fourth trigger operation on a first filter control displayed in the account management window corresponding to preset filter conditions.
[0055] Specifically, the first filter control is a control associated with preset filter conditions in the account management window. By triggering the first filter control in the fourth way, the virtual accounts that meet the preset filter conditions can be switched from the selected state to the unselected state. This allows users to modify the filter structure in a timely manner and prevent accounts that do not meet the actual needs from being identified as target virtual accounts.
[0056] For example, when a user views the automatically selected list of virtual accounts in the account management window, the interface highlights several virtual accounts by default based on the filter condition of "not online for seven days". If the user finds an account in the list that needs to be kept, they can click the first filter control corresponding to that account to deselect the account and remove the highlight mark from the interface, so that the virtual relationship between the virtual account and the first account can be preserved.
[0057] In one possible implementation, prior to the step of controlling the determination of the selected virtual account among at least a portion of the virtual accounts as the target virtual account in response to a third triggering operation for the account removal control, the method further includes: controlling the selection of a second virtual account in response to a selection operation for a second virtual account among at least a portion of the virtual accounts.
[0058] Specifically, the selection action allows players to manually choose virtual accounts directly. In the account management window, each virtual account has a selection box displayed in its corresponding area. Players can select one or more virtual accounts by clicking, dragging, or checking, and then designate them as secondary virtual accounts. Furthermore, the arrangement of friend accounts supports scrolling or pagination, ensuring all friend accounts are within the operable range. When a user performs a selection action, they can filter virtual accounts according to their needs, enabling them to more accurately find the virtual accounts they need to manage, thus improving the convenience of the filtering process.
[0059] For example, in the account management window, players can manually click the checkbox or slide the selection area to mark virtual accounts as to be removed. For example, by checking multiple inactive virtual accounts or sliding to select a specific group, the system will select the checked virtual account and use it as the second virtual account.
[0060] In one possible implementation, after controlling the termination of the virtual relationship between the target virtual account and the first account, the method further includes: controlling the establishment of a virtual relationship between the target second account and the first account.
[0061] Specifically, after the virtual relationship between the target virtual account and the first account is terminated, the first account has a position where it can establish virtual relationships with other game accounts. At this time, the target second account can be controlled to establish a virtual relationship with the first account. After successful establishment, a success message can be displayed on the graphical user interface.
[0062] For example, when a user disconnects from the target virtual account through the account management window, the system can automatically establish a corresponding virtual relationship between the current target second account and the first account, without requiring the user to click the confirmation button again or switch to other interfaces, reducing the sense of interruption in operation and improving account management efficiency.
[0063] In one possible implementation, the step of controlling the establishment of a virtual relationship between a target second account and a first account specifically includes: determining a second number of target second accounts and a third number of target virtual accounts; when the second number is not greater than the third number, controlling the target second account to directly establish a virtual relationship with the first account; when the second number is greater than the third number, controlling the third number of target second accounts to establish a virtual relationship with the first account according to a preset addition order, wherein the preset addition order is determined based on a specified account attribute of the target second account, and the specified account attribute includes at least one of the following: the application time when the target second account requests to establish a virtual relationship with the first account, the account level of the target second account, and the account login status of the target second account.
[0064] Specifically, the second quantity refers to the total number of target second accounts, and the third quantity refers to the total number of target virtual accounts. When the second quantity is not greater than the third quantity, it can be considered that the number of target virtual accounts that want to terminate the virtual relationship is greater than the number of target second accounts that want to establish a virtual relationship with the first account. Since the number of positions in the first account that can establish a virtual relationship is greater than the second quantity, the target second accounts can be controlled to directly establish a virtual relationship with the first account. When the second quantity is greater than the third quantity, it can be considered that the number of target virtual accounts that want to terminate the virtual relationship is less than the number of target second accounts that want to establish a virtual relationship with the first account. In this case, it is necessary to control the establishment of virtual relationships between the target second accounts and the first account according to the preset addition order. It can establish virtual relationships with target second accounts in real time based on the number of target second accounts that can establish virtual relationships with the first account. When there are too many target second accounts, it can determine the preset addition order based on account attributes to quickly filter out the most suitable target second accounts to establish virtual relationships, avoiding users giving up due to the time spent on manual filtering and improving the user's interactive experience.
[0065] For example, when the second number is greater than the third number, such as the second number being 5 and the third number being 3, it is possible to control 3 target second accounts to establish virtual relationships with the first account. The first 3 accounts are selected sequentially from the sorting queue as pre-selected target second accounts. When there are accounts with the same attributes in the queue, a second comparison can be performed according to the preset secondary attributes. For example, if the application time is the same, the account with the higher level is selected first. According to the preset addition order, some target second accounts that can establish virtual relationships with the first account are determined from the target second accounts. This simplifies the virtual relationship review process and improves the player's gaming experience.
[0066] In one possible implementation, after the step of controlling the establishment of a virtual relationship between the target second account and the first account, the method further includes: controlling the removal of the target second account that has established a virtual relationship with the first account from the virtual relationship interface, and displaying the target second account in the account management window.
[0067] Specifically, after a virtual relationship is established between the target second account and the first account, the newly added target second account can be displayed in the account management window. Users can quickly browse the newly added target second account and know that the target second account added in the account management window has established a virtual relationship with the first account. The account management window can be updated in real time with the target second account that has newly established a virtual relationship with the first account, which improves the dynamic update capability of the account management window.
[0068] See Figure 4 In one possible implementation, the account management window further includes an account application display control, and the method further includes: in response to a fifth trigger operation on the account application display control, displaying the account application window in a graphical user interface, and displaying a third account in the account application window that wishes to establish a virtual relationship with the first account, wherein the third account includes at least one second account.
[0069] Specifically, the account management window also displays an account application display control. After a player triggers the account application control, an account application window can be displayed in the graphical user interface. The account application window can be overlaid on the original interface as a floating layer or a sidebar. For example, the account application window can be displayed as a sidebar on one side of the friend management window. The account application window can display a list of third accounts that wish to establish a virtual relationship with the first account. Players can browse and process virtual relationship applications without leaving the current interface, which improves the efficiency of game account management and the player's interactive experience.
[0070] For example, a "Contacts" (account application display control) button is displayed at the bottom of the account management window. After the user clicks the button, the account application window can be displayed in the graphical user interface. The account application window displays a list of several third accounts that wish to establish a virtual relationship with the first account. The user can directly identify the request to be reviewed and perform subsequent operations in the account application window without switching to other interfaces.
[0071] In one possible implementation, the method further includes: in response to an account selection instruction, selecting at least one target third account from the third accounts displayed in the account application window, and selecting a target fourth account from at least a portion of the virtual accounts displayed in the account management window, wherein the number of target fourth accounts is the same as the number of target third accounts; in response to a sixth trigger operation on the account replacement control displayed in the account management window, controlling the termination of the virtual relationship between the target fourth account and the first account, and controlling the establishment of a virtual relationship between the target third account and the first account.
[0072] Specifically, the account selection instruction is an operation instruction for users to select target third accounts and target fourth accounts through the interactive interface. After selecting the same number of target third accounts and target fourth accounts, the account replacement control can be triggered through the sixth trigger operation. At this time, the system will automatically remove the virtual relationship between the first account and the target fourth account, and directly establish the virtual relationship between the first account and the target third account. By automatically replacing the control, the number of user operation steps can be significantly reduced and the interaction efficiency can be improved.
[0073] For example, when a user selects two third accounts in the account application window and uses them as target third accounts, and then selects two virtual accounts in the account management window as target fourth accounts, and clicks the account replacement control, the system automatically removes the virtual relationship between the target fourth account and the first account, and at the same time establishes the virtual relationship between the target third account and the first account.
[0074] In one possible implementation, it also includes: controlling the removal of the target fourth account from the account application window, and displaying the target third account in the account management window.
[0075] Specifically, after severing the virtual relationship between the first account and the target fourth account, and directly establishing the virtual relationship between the first account and the target third account, the target fourth account can be removed from the account application window, and the target third account can be displayed in the account management window. This allows users to confirm the account replacement result in real time without manually refreshing the interface, improving the smoothness of the operation. In one possible implementation, the method further includes: an account management window overlaid on the surface of the virtual relationship interface.
[0076] Specifically, the account management window can be overlaid on the surface of the virtual relationship interface. When the graphical user interface displays the account management window, the virtual relationship interface will be locked and the user cannot operate the virtual relationship interface. At this time, the user can directly perform corresponding operations on the virtual account in the account management window. After the account application window is displayed in the graphical user interface, the account application window and the account management window are at the same level, and the user can operate on both the account application window and the account management window at the same time.
[0077] In one possible implementation, the account management window scrolls to display virtual accounts in response to a sliding control operation.
[0078] Specifically, the account management window will display some virtual accounts. When a user needs to view other virtual accounts, the user can swipe up or down in the corresponding position in the account management window to scroll through the virtual accounts. Secondly, after the account application window is displayed, the user can also swipe up or down in the corresponding position in the account application window to scroll through the third account.
[0079] In one possible implementation, in response to an account attribute display instruction for a second account or virtual account, the account attributes corresponding to the second account or virtual account are displayed in a graphical user interface.
[0080] Specifically, players can click the avatar icon of a second or virtual account to trigger an account attribute display command. A floating window will then pop up on the graphical user interface, displaying detailed attribute information of the clicked account. For example, for a second account, the attributes displayed in the floating window may include: account name, game level, combat power, online status, and last login time. For virtual accounts that have established a virtual relationship with the first account, in addition to the above information, the window will also display the time the friendship was established and the friendship level. This allows players to quickly view account attribute information without leaving the current interface, improving operational efficiency and in-game interactivity.
[0081] The aforementioned method for interacting with virtual accounts, as described in this application, provides a graphical user interface (GUI) via a terminal device, which corresponds to a first account. The method includes: displaying a virtual relationship interface on the GUI, showing at least one second account that wishes to establish a virtual relationship with the first account; determining, in response to a relationship-adding instruction for a target second account, whether the number of virtual accounts that have established a virtual relationship with the first account has reached a preset target number, wherein the relationship-adding instruction is used to establish a virtual relationship between the target second account and the first account; if the target number has been reached, displaying an account management window on the GUI and displaying at least a portion of the virtual accounts; and controlling the termination of the virtual relationship between the target virtual account and the first account in response to a relationship-removing instruction for a target virtual account. This method allows for the management of game accounts with established virtual relationships directly on the virtual relationship interface after the maximum number of virtual relationships in a game account has been reached. This reduces the steps required for players to review game accounts with established virtual relationships, avoids the disjointed and cumbersome experience caused by switching game interfaces, and improves the efficiency of virtual relationship review and the overall gaming experience.
[0082] For the corresponding method embodiments described above, see [link to relevant documentation]. Figure 5 The diagram shows a structural schematic of an interactive device 500 for a virtual account, which provides a graphical user interface via a terminal device; the terminal device is logged into a first game account; the device includes: The first display module 510 is used to display a virtual relationship interface in a graphical user interface, wherein the virtual relationship interface displays at least one second account that wishes to establish a virtual relationship with the first account.
[0083] The judgment module 520 is used to determine, in response to the relationship addition instruction for the target second account, whether the number of virtual accounts that have established virtual relationships with the first account has reached a preset target number, wherein the relationship addition instruction is used to establish virtual relationships between the target second account and the first account.
[0084] The second display module 530 is configured to, if the condition is met, display an account management window in a graphical user interface and show at least a portion of the virtual accounts in the account management window.
[0085] Processing module 540 is used to control the termination of the virtual relationship between the target virtual account and the first account in response to a relationship removal instruction for the target virtual account.
[0086] The aforementioned interactive device for virtual accounts provides a graphical user interface via a terminal device, the terminal device corresponding to a first account. The device includes: a first display module for displaying a virtual relationship interface on the graphical user interface, showing at least one second account that wishes to establish a virtual relationship with the first account; a judgment module for determining, in response to a relationship-adding instruction for a target second account, whether the number of virtual accounts that have established virtual relationships with the first account has reached a preset target number, wherein the relationship-adding instruction is used to establish a virtual relationship between the target second account and the first account; a second display module for displaying an account management window on the graphical user interface if the target number has been reached, and displaying at least a portion of the virtual accounts in the account management window; and a processing module for controlling the termination of the virtual relationship between the target virtual account and the first account in response to a relationship-removing instruction for a target virtual account. This method allows for the management of game accounts with established virtual relationships directly on the virtual relationship interface after the number of established virtual relationships in a game account reaches its limit. This reduces the steps required for players to review game accounts with established virtual relationships, avoids the disjointed and cumbersome experience caused by switching game interfaces, and improves the efficiency of virtual relationship review and the overall gaming experience.
[0087] In one possible implementation, the determination module 520 is further configured to display a first relationship confirmation control for each of the at least one second account in the virtual relationship interface; in response to a first trigger operation on the target first relationship confirmation control in the first relationship confirmation control, control the second account corresponding to the target first relationship confirmation control to be determined as the target second account, and generate a relationship addition instruction for the target second account.
[0088] In one possible implementation, the determination module 520 is further configured to, if not achieved, control the second target account to establish a virtual relationship with the first account.
[0089] In one possible implementation, the determination module 520 is further configured to display a second relationship confirmation control for all second accounts associated with at least one second account in the virtual relationship interface; in response to a second trigger operation on the second relationship confirmation control, control to determine at least one second account as the target second account, and generate a relationship addition instruction for the target second account.
[0090] In one possible implementation, the determination module 520 is further configured to, if not, determine the difference between the first number of virtual accounts that have established a virtual relationship with the first account and the target number; when the difference is not less than the second number of target second accounts, control the target second accounts to directly establish a virtual relationship with the first account; when the difference is less than the second number of target second accounts, control the target second accounts to establish a virtual relationship with the first account according to a preset addition order, wherein the preset addition order is determined based on the specified account attribute of the target second account.
[0091] In one possible implementation, the processing module 540 is further configured to include an account removal control in the account management window, and to control the selection of a first virtual account that meets preset filtering conditions from at least a portion of the virtual accounts; wherein the preset filtering conditions are determined based on the account attributes of the virtual account, and the account attributes include at least one of the following: the time when the virtual account established a virtual relationship with the first account, the account level of the virtual account, and the account login status of the virtual account; in response to a third trigger operation on the account removal control, to control the selection of the virtual account from at least a portion of the virtual accounts as the target virtual account, and to generate a relationship removal instruction.
[0092] In one possible implementation, the processing module 540 is further configured to control the deselection of the first virtual account in response to a fourth trigger operation on the first filter control displayed in the account management window that corresponds to the preset filter conditions.
[0093] In one possible implementation, the processing module 540 is further configured to control the selection of a second virtual account in response to a selection operation for at least a portion of the virtual accounts.
[0094] In one possible implementation, the processing module 540 is also used to control the establishment of a virtual relationship between the target second account and the first account.
[0095] In one possible implementation, the processing module 540 is further configured to determine a second number of target second accounts and a third number of target virtual accounts; when the second number is not greater than the third number, control the target second accounts to directly establish a virtual relationship with the first account; when the second number is greater than the third number, control the third number of target second accounts to establish a virtual relationship with the first account according to a preset addition order, wherein the preset addition order is determined based on a specified account attribute of the target second account, and the specified account attribute includes at least one of the following: the application time when the target second account requests to establish a virtual relationship with the first account, the account level of the target second account, and the account login status of the target second account.
[0096] In one possible implementation, the processing module 540 is also configured to control the removal of the target second account that has established a virtual relationship with the first account from the virtual relationship interface, and to display the target second account in the account management window.
[0097] In one possible implementation, the processing module 540 is further configured to include an account application display control in the account management window, and in response to a fifth trigger operation on the account application display control, display the account application window in the graphical user interface and display a third account that wishes to establish a virtual relationship with the first account in the account application window, wherein the third account includes at least one second account.
[0098] In one possible implementation, the processing module 540 is further configured to, in response to an account selection instruction, select at least one target third account from the third accounts displayed in the account application window, and select a target fourth account from at least a portion of the virtual accounts displayed in the account management window, wherein the number of target fourth accounts is the same as the number of target third accounts; and, in response to a sixth trigger operation on the account replacement control displayed in the account management window, control the termination of the virtual relationship between the target fourth account and the first account, and control the establishment of a virtual relationship between the target third account and the first account.
[0099] In one possible implementation, the processing module 540 is also configured to control the removal of the target fourth account from the account application window and the display of the target third account in the account management window.
[0100] In one possible implementation, the processing module 540 is also configured to control the account management window to scroll and display virtual accounts in response to a sliding control operation.
[0101] In one possible implementation, the first display module is further configured to display the account attributes corresponding to the second account or virtual account on a graphical user interface in response to an account attribute display instruction for the second account or virtual account.
[0102] This embodiment also provides an electronic device, including a processor and a memory. The memory stores computer-executable instructions that can be executed by the processor, and the processor executes the computer-executable instructions to implement the aforementioned virtual account interaction method. This electronic device can be a server or a terminal device.
[0103] See Figure 6 As shown, the electronic device includes a processor 600 and a memory 601. The memory 601 stores computer-executable instructions that can be executed by the processor 600. The processor 600 executes the computer-executable instructions to implement the aforementioned virtual account interaction method.
[0104] Furthermore, Figure 6 The electronic device shown also includes a bus 602 and a communication interface 603. The processor 600, the communication interface 603 and the memory 601 are connected via the bus 602.
[0105] The memory 601 may include high-speed random access memory (RAM) and may also include non-volatile memory, such as at least one disk storage device. Communication between this system network element and at least one other network element is achieved through at least one communication interface 603 (which can be wired or wireless), such as the Internet, wide area network, local area network, metropolitan area network, etc. The bus 602 may be an ISA bus, PCI bus, or EISA bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 6 The symbol is represented by a single double-headed arrow, but this does not mean that there is only one bus or one type of bus.
[0106] The processor 600 may be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method can be completed by the integrated logic circuitry in the hardware of the processor 600 or by instructions in software form. The processor 600 may be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this invention. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this invention can be directly manifested as execution by a hardware decoding processor, or execution by a combination of hardware and software modules in the decoding processor. The software module can reside in a readily available storage medium in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or registers. This storage medium is located in memory 601. The processor 600 reads information from memory 601 and, in conjunction with its hardware, completes the steps of the method described in the foregoing embodiments.
[0107] The processor in the aforementioned electronic device, by executing computer-executable instructions, can implement the following operations in the aforementioned virtual account interaction method: A virtual relationship interface is displayed in the graphical user interface, showing at least one second account that is expected to establish a virtual relationship with the first account; in response to a relationship addition instruction for the target second account, it is determined whether the number of virtual accounts that have established a virtual relationship with the first account has reached a preset target number, wherein the relationship addition instruction is used to establish a virtual relationship between the target second account and the first account; if the target number has been reached, an account management window is displayed in the graphical user interface, and at least some of the virtual accounts are displayed in the account management window; in response to a relationship removal instruction for the target virtual account, the virtual relationship between the target virtual account and the first account is terminated.
[0108] In the virtual relationship interface, each of the at least one second account displays a first relationship confirmation control; in response to a first trigger operation on the target first relationship confirmation control, the control determines the second account corresponding to the target first relationship confirmation control as the target second account and generates a relationship addition instruction for the target second account.
[0109] If this is not achieved, the second account will establish a virtual relationship with the first account.
[0110] In the virtual relationship interface, all second accounts associated with at least one second account display a second relationship confirmation control; in response to a second trigger operation on the second relationship confirmation control, control identifies at least one second account as the target second account and generates a relationship addition instruction for the target second account.
[0111] If the target number is not reached, the difference between the first number of virtual accounts that have established a virtual relationship with the first account and the target number is determined. When the difference is not less than the second number of target second accounts, the target second accounts are controlled to directly establish a virtual relationship with the first account. When the difference is less than the second number of target second accounts, the target second accounts are controlled to establish a virtual relationship with the first account according to the preset addition order, wherein the preset addition order is determined based on the specified account attributes of the target second accounts.
[0112] The specified account attributes include at least one of the following: the time when the target second account requested to establish a virtual relationship with the first account; the account level of the target second account; and the account login status of the target second account.
[0113] The account management window includes an account removal control, which controls the selection of a first virtual account that meets preset filtering conditions from at least a portion of the virtual accounts. The preset filtering conditions are determined based on the account attributes of the virtual accounts, which include at least one of the following: the time when the virtual account established a virtual relationship with the first account, the account level of the virtual account, and the account login status of the virtual account. In response to a third trigger operation on the account removal control, the control determines the selected virtual account from at least a portion of the virtual accounts as the target virtual account and generates a relationship removal instruction.
[0114] In response to a fourth triggered operation on the first filter control displayed in the account management window that corresponds to the preset filter criteria, the first virtual account is deselected.
[0115] In response to a selection operation targeting a second virtual account among at least a subset of virtual accounts, control the selection of the second virtual account.
[0116] The control target establishes a virtual relationship between the second account and the first account.
[0117] Determine a second number of target second accounts and a third number of target virtual accounts; when the second number is not greater than the third number, control the target second accounts to directly establish virtual relationships with the first account; when the second number is greater than the third number, control the third number of target second accounts to establish virtual relationships with the first account according to a preset addition order, wherein the preset addition order is determined based on the specified account attributes of the target second accounts, and the specified account attributes include at least one of the following: the application time of the target second account to request the establishment of virtual relationships with the first account, the account level of the target second account, and the account login status of the target second account.
[0118] Controls the removal of the target second account that has established a virtual relationship with the first account from the virtual relationship interface, and displays the target second account in the account management window.
[0119] The account management window also includes an account application display control. In response to a fifth trigger action on the account application display control, the account application window is displayed in the graphical user interface, and a third account that wishes to establish a virtual relationship with the first account is displayed in the account application window, wherein the third account includes at least one second account.
[0120] In response to an account selection instruction, at least one target third account is selected from the third accounts displayed in the account application window, and a target fourth account is selected from at least a portion of the virtual accounts displayed in the account management window, wherein the number of target fourth accounts is the same as the number of target third accounts; in response to a sixth trigger operation on the account replacement control displayed in the account management window, the virtual relationship between the target fourth account and the first account is terminated, and the virtual relationship between the target third account and the first account is established.
[0121] Controls the removal of the target fourth account from the account application window and the display of the target third account in the account management window.
[0122] The account management window is overlaid on top of the virtual relationship interface.
[0123] In response to the sliding control operation, the account management window scrolls to display virtual accounts.
[0124] In response to an instruction to display account attributes for a second account or virtual account, the account attributes corresponding to the second account or virtual account are displayed in the graphical user interface.
[0125] This method allows players to manage their friends directly through a friend management window once their game account reaches the friend limit. This reduces the steps players need to take to approve friends, avoids the disconnect and tedium caused by switching interfaces, and improves the efficiency of friend approval and the overall gaming experience.
[0126] This embodiment also provides a computer-readable storage medium storing computer-executable instructions. When the computer-executable instructions are invoked and executed by a processor, the computer-executable instructions cause the processor to implement the above-described virtual account interaction method.
[0127] The computer-executable instructions stored in the aforementioned computer-readable storage medium, by executing the aforementioned computer-executable instructions, can realize the following operations in the aforementioned virtual account interaction method: A virtual relationship interface is displayed in the graphical user interface, showing at least one second account that is expected to establish a virtual relationship with the first account; in response to a relationship addition instruction for the target second account, it is determined whether the number of virtual accounts that have established a virtual relationship with the first account has reached a preset target number, wherein the relationship addition instruction is used to establish a virtual relationship between the target second account and the first account; if the target number has been reached, an account management window is displayed in the graphical user interface, and at least some of the virtual accounts are displayed in the account management window; in response to a relationship removal instruction for the target virtual account, the virtual relationship between the target virtual account and the first account is terminated.
[0128] In the virtual relationship interface, each of the at least one second account displays a first relationship confirmation control; in response to a first trigger operation on the target first relationship confirmation control, the control determines the second account corresponding to the target first relationship confirmation control as the target second account and generates a relationship addition instruction for the target second account.
[0129] If this is not achieved, the second account will establish a virtual relationship with the first account.
[0130] In the virtual relationship interface, all second accounts associated with at least one second account display a second relationship confirmation control; in response to a second trigger operation on the second relationship confirmation control, control identifies at least one second account as the target second account and generates a relationship addition instruction for the target second account.
[0131] If the target number is not reached, the difference between the first number of virtual accounts that have established a virtual relationship with the first account and the target number is determined. When the difference is not less than the second number of target second accounts, the target second accounts are controlled to directly establish a virtual relationship with the first account. When the difference is less than the second number of target second accounts, the target second accounts are controlled to establish a virtual relationship with the first account according to the preset addition order, wherein the preset addition order is determined based on the specified account attributes of the target second accounts.
[0132] The specified account attributes include at least one of the following: the time when the target second account requested to establish a virtual relationship with the first account; the account level of the target second account; and the account login status of the target second account.
[0133] The account management window includes an account removal control, which controls the selection of a first virtual account that meets preset filtering conditions from at least a portion of the virtual accounts. The preset filtering conditions are determined based on the account attributes of the virtual accounts, which include at least one of the following: the time when the virtual account established a virtual relationship with the first account, the account level of the virtual account, and the account login status of the virtual account. In response to a third trigger operation on the account removal control, the control determines the selected virtual account from at least a portion of the virtual accounts as the target virtual account and generates a relationship removal instruction.
[0134] In response to a fourth triggered operation on the first filter control displayed in the account management window that corresponds to the preset filter criteria, the first virtual account is deselected.
[0135] In response to a selection operation targeting a second virtual account among at least a subset of virtual accounts, control the selection of the second virtual account.
[0136] The control target establishes a virtual relationship between the second account and the first account.
[0137] Determine a second number of target second accounts and a third number of target virtual accounts; when the second number is not greater than the third number, control the target second accounts to directly establish virtual relationships with the first account; when the second number is greater than the third number, control the third number of target second accounts to establish virtual relationships with the first account according to a preset addition order, wherein the preset addition order is determined based on the specified account attributes of the target second accounts, and the specified account attributes include at least one of the following: the application time of the target second account to request the establishment of virtual relationships with the first account, the account level of the target second account, and the account login status of the target second account.
[0138] Controls the removal of the target second account that has established a virtual relationship with the first account from the virtual relationship interface, and displays the target second account in the account management window.
[0139] The account management window also includes an account application display control. In response to a fifth trigger action on the account application display control, the account application window is displayed in the graphical user interface, and a third account that wishes to establish a virtual relationship with the first account is displayed in the account application window, wherein the third account includes at least one second account.
[0140] In response to an account selection instruction, at least one target third account is selected from the third accounts displayed in the account application window, and a target fourth account is selected from at least a portion of the virtual accounts displayed in the account management window, wherein the number of target fourth accounts is the same as the number of target third accounts; in response to a sixth trigger operation on the account replacement control displayed in the account management window, the virtual relationship between the target fourth account and the first account is terminated, and the virtual relationship between the target third account and the first account is established.
[0141] Controls the removal of the target fourth account from the account application window and the display of the target third account in the account management window.
[0142] The account management window is overlaid on top of the virtual relationship interface.
[0143] In response to the sliding control operation, the account management window scrolls to display virtual accounts.
[0144] In response to an instruction to display account attributes for a second account or virtual account, the account attributes corresponding to the second account or virtual account are displayed in the graphical user interface.
[0145] This method allows players to manage their friends directly through a friend management window once their game account reaches the friend limit. This reduces the steps players need to take to approve friends, avoids the disconnect and tedium caused by switching interfaces, and improves the efficiency of friend approval and the overall gaming experience.
[0146] The computer program products of the virtual account interaction method, apparatus and electronic device provided in the embodiments of the present invention include a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the methods in the preceding method embodiments. For specific implementation, please refer to the method embodiments, which will not be repeated here.
[0147] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the system and apparatus described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0148] Furthermore, in the description of the embodiments of the present invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in the present invention based on the specific circumstances.
[0149] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0150] In the description of this invention, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are used only for the convenience of describing the invention and for simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on the invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.
[0151] Finally, it should be noted that the above embodiments are merely specific implementations of the present invention, used to illustrate the technical solutions of the present invention, and not to limit it. The scope of protection of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments within the technical scope disclosed in the present invention, or make equivalent substitutions for some of the technical features; and these modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A method for interacting with a virtual account, characterized in that, The method includes providing a graphical user interface via a terminal device, the terminal device corresponding to a first account; the method includes: The graphical user interface displays a virtual relationship interface, which shows at least one second account that wishes to establish a virtual relationship with the first account. In response to a relationship addition instruction for a target second account, it is determined whether the number of virtual accounts that have established the virtual relationship with the first account has reached a preset target number, wherein the relationship addition instruction is used to establish the virtual relationship between the target second account and the first account; If this is achieved, an account management window is displayed in the graphical user interface, and at least a portion of the virtual account is shown in the account management window; In response to a relationship removal instruction for a target virtual account, control is used to terminate the virtual relationship between the target virtual account and the first account.
2. The method according to claim 1, characterized in that, The method includes: In the virtual relationship interface, a first relationship confirmation control is displayed for each of the at least one second account associated with the first relationship; In response to a first trigger operation on the target first relationship confirmation control in the first relationship confirmation control, the control determines the second account corresponding to the target first relationship confirmation control as the target second account and generates a relationship addition instruction for the target second account.
3. The method according to claim 2, characterized in that, The method further includes: If this is not achieved, then the target second account is controlled to establish the virtual relationship with the first account.
4. The method according to claim 1, characterized in that, The method includes: In the virtual relationship interface, a second relationship confirmation control is displayed for all second accounts associated with the at least one second account. In response to a second trigger operation on the second relationship confirmation control, the control identifies the at least one second account as the target second account and generates a relationship addition instruction for the target second account.
5. The method according to claim 2, characterized in that, The method further includes: If the target is not reached, then the difference between the first number of virtual accounts that have established the virtual relationship with the first account and the target number is determined. When the quantity difference is not less than the second quantity of the target second account, the target second account is controlled to directly establish the virtual relationship with the first account; When the quantity difference is less than the second quantity of the target second account, the target second account with the quantity difference is controlled to establish the virtual relationship with the first account according to a preset addition order, wherein the preset addition order is determined based on the specified account attribute of the target second account.
6. The method according to claim 5, characterized in that, The specified account attribute includes at least one of the following: The second target account requests the first account to establish the virtual relationship. The account level of the target second account; The login status of the target second account.
7. The method according to claim 1, characterized in that, After the step of including an account removal control in the account management window and displaying at least a portion of the virtual account in the account management window, the method further includes: The system controls the selection of a first virtual account from at least a portion of the virtual accounts that meets preset filtering conditions; wherein the preset filtering conditions are determined based on the account attributes of the virtual account, and the account attributes include at least one of the following: the time when the virtual account established the virtual relationship with the first account, the account level of the virtual account, and the account login status of the virtual account; In response to a third triggering operation on the account removal control, the control identifies the selected virtual account from the at least portion of the virtual accounts as the target virtual account and generates the relationship removal instruction.
8. The method according to claim 7, characterized in that, Prior to the step of controlling the identification of the selected virtual account from the at least portion of the virtual accounts as the target virtual account in response to a third triggering operation for the account removal control, the method further includes: In response to a fourth trigger operation on the first filter control displayed in the account management window that corresponds to the preset filter conditions, the first virtual account is deselected.
9. The method according to claim 7, characterized in that, Prior to the step of controlling the identification of the selected virtual account from the at least portion of the virtual accounts as the target virtual account in response to a third triggering operation for the account removal control, the method further includes: In response to a selection operation for a second virtual account among the at least some of the virtual accounts, the second virtual account is selected.
10. The method according to any one of claims 1-9, characterized in that, After the control terminates the virtual relationship between the target virtual account and the first account, the method further includes: Control the establishment of the virtual relationship between the target second account and the first account.
11. The method according to claim 10, characterized in that, The step of controlling the establishment of the virtual relationship between the target second account and the first account specifically includes: Determine a second number of the target second accounts and a third number of the target virtual accounts; When the second quantity is not greater than the third quantity, the target second account is controlled to directly establish the virtual relationship with the first account; When the second quantity is greater than the third quantity, the third number of target second accounts are controlled to establish the virtual relationship with the first account according to a preset addition order. The preset addition order is determined based on the specified account attributes of the target second account. The specified account attributes include at least one of the following: the application time when the target second account requests the first account to establish the virtual relationship, the account level of the target second account, and the account login status of the target second account.
12. The method according to claim 11, characterized in that, After the step of controlling the establishment of the virtual relationship between the target second account and the first account, the method further includes: Controls the removal of the target second account that established the virtual relationship with the first account from the virtual relationship interface, and displays the target second account in the account management window.
13. The method according to claim 1, characterized in that, The account management window also includes an account application display control, and the method further includes: In response to a fifth trigger operation on the account application display control, an account application window is displayed in the graphical user interface, and a third account that wishes to establish a virtual relationship with the first account is displayed in the account application window, wherein the third account includes the at least one second account.
14. The method according to claim 13, characterized in that, The method further includes: In response to an account selection instruction, at least one target third account is selected from the third accounts displayed in the account application window, and a target fourth account is selected from at least a portion of the virtual accounts displayed in the account management window, wherein the number of target fourth accounts is the same as the number of target third accounts; In response to a sixth trigger operation on the account replacement control displayed in the account management window, the virtual relationship between the target fourth account and the first account is terminated, and the virtual relationship between the target third account and the first account is established.
15. The method according to claim 14, characterized in that, The method further includes: Control the removal of the target fourth account from the account application window and the display of the target third account in the account management window.
16. The method according to claim 1, characterized in that, The method further includes: The account management window is overlaid on the surface of the virtual relationship interface.
17. The method according to claim 1, characterized in that, The method further includes: In response to a sliding control operation, the account management window is controlled to scroll and display the virtual account.
18. The method according to claim 1, characterized in that, The method further includes: In response to an account attribute display instruction for the second account or the virtual account, the account attributes corresponding to the second account or the virtual account are displayed in the graphical user interface.
19. An interactive device for a virtual account, characterized in that, The device provides a graphical user interface via a terminal device, the terminal device corresponding to a first account; the apparatus includes: A first display module is used to display a virtual relationship interface in the graphical user interface, wherein the virtual relationship interface displays at least one second account that wishes to establish a virtual relationship with the first account; The judgment module is used to determine, in response to the relationship addition instruction for the target second account, whether the number of virtual accounts that have established the virtual relationship with the first account has reached a preset target number, wherein the relationship addition instruction is used to establish the virtual relationship between the target second account and the first account; The second display module is configured to, if the condition is met, display an account management window in the graphical user interface and show at least a portion of the virtual account in the account management window; The processing module is configured to, in response to a relationship removal instruction for a target virtual account, control the termination of the virtual relationship between the target virtual account and the first account.
20. An electronic device, characterized in that, include: processor; as well as A memory having executable code stored thereon, which, when executed by the processor, causes the processor to perform the method as described in any one of claims 1-18.
21. A computer-readable storage medium, characterized in that, It stores executable code that, when executed by a processor of an electronic device, causes the processor to perform the method as described in any one of claims 1-18.