Virtual game function exchange method and device, equipment, storage medium and product
By displaying pre-assigned function identifiers in the virtual game preparation interface and performing function exchange applications in the role selection stage, the problems of low efficiency of function allocation and frequent conflicts in the virtual game are solved, and the collaboration efficiency of virtual games is improved.
Patent Information
- Application Number
- CN202410045047.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-11
- Publication Date
- 2025-07-11
AI Technical Summary
In the prior art, the function allocation efficiency in the preparation stage of virtual game is low, and the function selection conflicts are frequent, resulting in low virtual game collaboration efficiency.
By displaying pre-assigned function identifiers for multiple accounts in the game preparation interface of the virtual game, and sending a function exchange application to the other account in response to the function exchange operation in the first stage of virtual role selection, timely displaying the function identifiers, limiting the execution stage of function exchange, and avoiding functional selection conflicts.
It improves the efficiency and rationality of function allocation in the virtual game preparation stage, enhances the collaboration efficiency of the first camp, and reduces the impact of uncertainty in function allocation on subsequent choices.
Smart Images

Figure CN120285545A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of virtual environments, and particularly to a method, device, equipment, storage medium and product for virtual game function exchange. Background Art
[0002] Before the preparation stage of some virtual games, users participating in the game can select virtual characters to participate in the virtual game and perform preparation work such as function allocation. Users can freely choose to switch the corresponding game functions during the preparation stage.
[0003] In the related art, users can freely switch the functions they need to perform in the virtual game at any time during the preparation stage of the game by triggering the function selection control. When there are conflicts in the functions selected by multiple users, conflict prompt indicators are displayed to prompt users about the function conflict situation.
[0004] However, although the above method provides a function switching function for users, it is unable to limit the situation of function selection conflicts only by displaying conflict prompt indicators, resulting in low function allocation efficiency and poor rationality of function allocation during the preparation stage of virtual games, and thus low virtual game collaboration efficiency. Summary of the Invention
[0005] Embodiments of this application provide a method, device, equipment, storage medium and product for virtual game function exchange, which can improve function allocation efficiency. The technical solutions are as follows.
[0006] On the one hand, a method for virtual game function exchange is provided. The method includes:
[0007] Display a preparation interface for a virtual game. The preparation interface is used to select virtual characters used when participating in the virtual game. The virtual game includes a first camp, and the first camp includes a first account and a second account. The preparation interface includes function identifiers corresponding to multiple accounts in the first camp. The function identifiers are used to indicate the game functions performed by the multiple accounts in the first camp. The first account is correspondingly displayed with a first function identifier, and the second account is correspondingly displayed with a second function identifier;
[0008] In the first stage of virtual character selection, in response to receiving a function exchange operation for the second function identifier, send a first function exchange application to the second account. The first function exchange application is used to request the second account to exchange the game function with the first account;
[0009] In response to the second account accepting the first function exchange application, associatively display the first account and the second function identifier, and associatively display the second account and the first function identifier.
[0010] On the other hand, a virtual game function exchange device is provided, and the device includes:
[0011] A display module that displays a game preparation interface for a virtual game. The game preparation interface is used to select a virtual character to be used when participating in the virtual game. The virtual game includes a first camp, and the first camp includes a first account and a second account. The game preparation interface includes function identifiers respectively corresponding to multiple accounts in the first camp. The function identifiers are used to indicate the game functions performed by the multiple accounts in the first camp. The first account correspondingly displays a first function identifier, and the second account correspondingly displays a second function identifier;
[0012] A first exchange module, configured to, in a first stage of virtual character selection, in response to receiving a function exchange operation for the second function identifier, send a first function exchange request to the second account. The first function exchange request is used to request the second account to exchange the game function with the first account;
[0013] The display module is further configured to, in response to the second account accepting the first function exchange request, associatively display the first account and the second function identifier, and associatively display the second account and the first function identifier.
[0014] On the other hand, a computer device is provided. The computer device includes a processor and a memory. At least one instruction, at least one program, a code set, or an instruction set is stored in the memory. The at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement the virtual game function exchange method according to any one of the above embodiments of the present application.
[0015] On the other hand, a computer-readable storage medium is provided. At least one instruction, at least one program, a code set, or an instruction set is stored in the storage medium. The at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement the virtual game function exchange method according to any one of the above embodiments of the present application.
[0016] On the other hand, a computer program product or a computer program is provided. The computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the virtual game function exchange method according to any one of the above embodiments.
[0017] The beneficial effects brought by the technical solution provided in the embodiment of the present application at least include: by displaying the game preparation interface of the virtual game, displaying the function identifiers pre-assigned to multiple accounts in the first camp, providing a basis for realizing the rationality of function allocation among multiple accounts. In the first stage of virtual character selection, in response to receiving a function exchange operation for the second function identifier, sending a first function exchange application to the second account. In response to the second account accepting the first function exchange application, associatively displaying the first account with the second function identifier, and associatively displaying the second account with the first function identifier, restricting the execution stage of function exchange, reducing the impact of the uncertainty of function allocation on subsequent virtual character selection, and performing function exchange based on the function exchange application, avoiding excessive freedom of function exchange, thus avoiding function selection conflicts caused by function exchange, improving the function allocation efficiency in the virtual game preparation stage, ensuring the rationality of function allocation, and thereby improving the cooperation efficiency of the first camp in the virtual game. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0019] Figure 1 It is a schematic diagram of function conflict prompt provided by an exemplary embodiment of the present application;
[0020] Figure 2 It is a schematic diagram of the implementation environment provided by an exemplary embodiment of the present application;
[0021] Figure 3 It is a flowchart of the virtual game function exchange method provided by an exemplary embodiment of the present application;
[0022] Figure 4 It is a schematic diagram of the game preparation interface provided by an exemplary embodiment of the present application;
[0023] Figure 5 It is a schematic diagram of the function exchange application provided by an exemplary embodiment of the present application;
[0024] Figure 6 It is a schematic diagram of function exchange display provided by an exemplary embodiment of the present application;
[0025] Figure 7 It is a flowchart of the function exchange application method provided by an exemplary embodiment of the present application;
[0026] Figure 8It is a schematic diagram of a function exchange process provided by an exemplary embodiment of the present application;
[0027] Figure 9 It is a schematic diagram of a function exchange prompt identifier provided by an exemplary embodiment of the present application;
[0028] Figure 10 It is a flowchart of a method for receiving a function exchange application provided by an exemplary embodiment of the present application;
[0029] Figure 11 It is a schematic diagram of an exchange application panel provided by an exemplary embodiment of the present application;
[0030] Figure 12 It is a schematic diagram of accepting an exchange application provided by an exemplary embodiment of the present application;
[0031] Figure 13 It is a schematic diagram of function exchange display provided by an exemplary embodiment of the present application;
[0032] Figure 14 It is a flowchart of a method for receiving a function exchange application provided by an exemplary embodiment of the present application;
[0033] Figure 15 It is a structural block diagram of a virtual game function exchange device provided by an exemplary embodiment of the present application;
[0034] Figure 16 It is a structural block diagram of a module of a virtual game function exchange device provided by an exemplary embodiment of the present application;
[0035] Figure 17 It is a structural block diagram of a terminal provided by an exemplary embodiment of the present application. Detailed implementation manners
[0036] To make the objectives, technical solutions and advantages of the present application clearer, the following will further describe the embodiments of the present application in detail with reference to the accompanying drawings.
[0037] It should be understood that although terms such as first and second may be used in the present disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present disclosure, the first parameter may also be referred to as the second parameter, and similarly, the second parameter may also be referred to as the first parameter. Depending on the context, as used herein, the word "if" may be interpreted as "when" or "while" or "in response to determining".
[0038] Before the preparation stage of some virtual games, users participating in the game can select virtual characters to participate in the virtual game and perform preparation work such as function allocation. Users can freely select and switch corresponding game functions during the preparation stage. In some embodiments, users can trigger a function selection control to freely switch the functions they need to perform in the virtual game at any time during the preparation stage of the game. When conflicts occur in the functions selected by multiple users, a conflict prompt identifier is displayed to prompt users about the function conflict situation. Schematically, please refer to Figure 1 , Figure 1 which is a schematic diagram of function conflict prompt provided by an exemplary embodiment of the present application. As shown in Figure 1 , in the game preparation interface 100 of the virtual game, function identifiers corresponding to multiple accounts in the first camp are included. In response to receiving a trigger operation on the first control 110, a function identifier list 120 is displayed. In response to receiving a selection operation on the first function identifier 121 in the function identifier list 120, the function corresponding to the first account is switched to the first function corresponding to the first function identifier 121. In response to conflicts occurring in the function identifiers corresponding to the first account, the second account, and the third account in the first camp, a function conflict identifier 130 is displayed. However, although the above method provides users with a function switching function, simply displaying a conflict prompt identifier cannot limit the situation of function selection conflicts, resulting in low efficiency of function allocation and poor rationality of function allocation during the preparation stage of the virtual game, thereby reducing the cooperation efficiency of the virtual game.
[0039] The virtual game function exchange method provided in the embodiments of the present application displays the game preparation interface of the virtual game and displays function identifiers pre-allocated to multiple accounts in the first camp, providing a basis for realizing the rationality of function allocation among multiple accounts. In the first stage of virtual character selection, in response to receiving a function exchange operation for a second function identifier, a first function exchange application is sent to the second account. In response to the second account accepting the first function exchange application, the first account is associated with the second function identifier, and the second account is associated with the first function identifier, restricting the execution stage of function exchange, reducing the impact of the uncertainty of function allocation on subsequent virtual character selection, and performing function exchange based on the function exchange application, avoiding excessive freedom of function exchange, thereby avoiding function selection conflicts caused by function exchange, improving the efficiency of function allocation during the preparation stage of the virtual game, ensuring the rationality of function allocation, and thus improving the cooperation efficiency of the first camp in the virtual game.
[0040] First, the implementation environment of the present application is introduced. Please refer to Figure 2 , which shows a schematic diagram of the implementation environment provided by an exemplary embodiment of the present application. The implementation environment includes: a terminal 210, a server 220, and a terminal 230.
[0041] The target application is installed in the terminals 210 and 230, and the target application is used to provide a virtual game function. Among them, the first account runs the target application through the terminal 210, the second account runs the target application through the terminal 230, the server 220 is used to provide background services for the target application, and data transmission is performed between the terminals 210 and 230 and the server 220 through a communication network respectively.
[0042] Optionally, the target application can be any one of a virtual reality application, a 3D map program, a strategy game, a third-person shooting game (TPS), a first-person shooting game (FPS), a multiplayer online battle arena game (MOBA), a massive multiplayer online role-playing game (MMORPG), a multiplayer gunfight survival game, and a multiplayer survival competition game. The embodiments of the present application do not limit this.
[0043] Among them, the virtual game refers to controlling virtual characters to play games in a virtual scene. The virtual scene is a scene displayed (or provided) when the client of the target application (such as a game application) runs on a terminal device. The virtual scene refers to an environment created for virtual characters to carry out activities (such as game competitions), such as a virtual house, a virtual island, a virtual map, etc. Optionally, the virtual scene is an environment displayed (or provided) when the application runs on the terminal device. The virtual scene can be a simulation world of the real world, a semi-simulation and semi-fictional three-dimensional world, or a purely fictional three-dimensional world. The virtual scene can be any one of a two-dimensional virtual scene, a 2.5D virtual scene, and a three-dimensional virtual scene. Optionally, the virtual scene is also used for virtual games between at least two virtual characters, and there are virtual resources available for at least two virtual characters in the virtual scene.
[0044] The above virtual characters refer to virtual characters, virtual vehicles, virtual items, etc. controlled by a user account in a target application, which are not limited in this application. Taking the target application as a game application as an example, the virtual character refers to the virtual character controlled by the user account in the game application. The virtual character can be in the form of a human, an animal, a cartoon or other forms, which are not limited in the embodiments of this application. The virtual character can be displayed in three-dimensional form or two-dimensional form, which are not limited in the embodiments of this application. Exemplarily, according to different ways of controlling the virtual character, the virtual character can be divided into a virtual character controlled by the user and a virtual character controlled by the server. Among them, the virtual character controlled by the user is an object that can be active in the virtual scene controlled by the client. The virtual character controlled by the server is a virtual character controlled by an automatic control algorithm or an artificial intelligence program on the client or the server. The virtual characters controlled by the server include active objects and inactive objects in the virtual scene.
[0045] In some embodiments, the terminal 210 runs the target application and displays the game preparation interface for the virtual game. The game preparation interface is used to select the virtual character to be used when participating in the virtual game. The virtual game includes a first camp, and the first camp includes a first account and a second account. The game preparation interface includes function identifiers respectively corresponding to multiple accounts in the first camp. The function identifier is used to indicate the game functions performed by the multiple accounts in the first camp. The first account correspondingly displays the first function identifier, and the second account correspondingly displays the second function identifier; in the first stage of virtual character selection, in response to receiving a function exchange operation for the second function identifier, a first function exchange application is sent to the second account. The first function exchange application is used to request the second account to exchange the game function with the first account; in response to the second account accepting the first function exchange application, the first account and the second function identifier are associated and displayed, and the second account and the first function identifier are associated and displayed.
[0046] The above terminal is optional. The terminal can be various forms of terminal devices such as a desktop computer, a laptop computer, a mobile phone, a tablet computer, an e-book reader, a Moving Picture Experts Group Audio Layer III (MP3) player, a Moving Picture Experts Group Audio Layer IV (MP4) player, a smart TV, a smart vehicle, etc., which are not limited in the embodiments of this application.
[0047] It should be noted that the above server can be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud security, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms.
[0048] Among them, cloud technology is a hosting technology that unifies a series of resources such as hardware, software, and networks within a wide area network or a local area network to achieve data calculation, storage, processing, and sharing.
[0049] In some embodiments, the above server can also be implemented as a node in a blockchain system.
[0050] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data for analysis, stored data, displayed data, etc.), and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data need to comply with relevant laws, regulations, and standards in the relevant region. For example, the operation data and account information involved in this application are obtained under full authorization.
[0051] For further explanation, before and during the collection of relevant data of the user (for example: the account information and historical operation data involved in this application), a prompt interface, pop-up window, or voice prompt message can be displayed. The prompt interface, pop-up window, or voice prompt message is used to prompt the user that their relevant data is currently being collected, so that this application only starts to execute the relevant steps of obtaining the user's relevant data after obtaining the user's confirmation operation on the prompt interface or pop-up window. Otherwise (that is, when the user's confirmation operation on the prompt interface or pop-up window is not obtained), the relevant steps of obtaining the user's relevant data are ended, that is, the user's relevant data is not obtained. In other words, all user data collected by this application is collected with the user's consent and authorization, and the collection, use, and processing of relevant user data need to comply with relevant laws, regulations, and standards in the relevant region.
[0052] Schematically, please refer to Figure 3 , which shows a flowchart of a virtual game function exchange method provided by an exemplary embodiment of this application. This method can be executed by a terminal, or by a server, or jointly by a terminal and a server at the same time. In this application embodiment, it is described by taking this method being executed by a terminal as an example, as Figure 3As shown, the method includes the following steps:
[0053] Step 310, display the game preparation interface of the virtual game.
[0054] Among them, the game preparation interface is used to select the virtual characters used when participating in the virtual game. The virtual game includes a first camp, and the first camp includes a first account and a second account. The game preparation interface includes function identifiers corresponding to multiple accounts in the first camp respectively. The function identifier is used to indicate the game functions performed by multiple accounts in the first camp. The first account correspondingly displays the first function identifier, and the second account correspondingly displays the second function identifier.
[0055] In some embodiments, the terminal provides the virtual game function for the first account by running the target application. Before the first account participates in the virtual game, the game preparation interface of the virtual game is displayed. The game preparation interface is used to display the game preparation stage before the virtual game starts.
[0056] Optionally, this game preparation stage is used for game preparation work such as selecting virtual characters prohibited from participating in the virtual game, selecting virtual characters used when participating in the virtual game, adjusting function allocation in the camp, and performing character configuration for the selected virtual characters to be participated in the virtual game.
[0057] Among them, the multiple function identifiers included in the game preparation interface are function identifiers pre-configured by the target application for multiple accounts in the first camp. The function allocation adjustment means that based on the pre-allocated function identifiers, multiple accounts in the first camp can change the corresponding function identifiers to change the game functions that multiple accounts need to perform in the virtual game.
[0058] In some embodiments, the function identifiers corresponding to multiple accounts in the first camp respectively conform to the function allocation rules. The function allocation rules can be pre-configured by the target application based on the game rules of the virtual game, can also be pre-agreed by multiple accounts in the first camp, or can also be pre-set by the first account.
[0059] Optionally, the function allocation rules can include any preset rules such as multiple function identifiers being different from each other, the preset function allocation list including combinations of multiple function identifiers, the number of function identifiers of a specified category reaching a preset quantity threshold, and the arrangement of multiple function identifiers conforming to the preset game tactics of the first camp. The embodiments of the present application do not limit this. Among them, the preset function allocation list includes preset combinations of multiple function identifiers, and the preset game tactics are used to indicate the categories of function identifiers required to be included in multiple function identifiers, etc.
[0060] In some embodiments, by pre-assigning function identifiers that conform to the function assignment rules to multiple accounts in the first camp, it is possible to ensure that the function assignment in the first camp conforms to the function assignment rules, provide guarantee for the function assignment method based on function exchange, avoid function assignment conflicts, and improve the efficiency of game preparation.
[0061] In some embodiments, in response to the first account triggering the game preparation stage, based on the historical operation data of the first account, a first function identifier is pre-assigned to the first account, and the first function identifier conforms to the function assignment rules.
[0062] Optionally, the historical operation data includes at least one of function pre-selection operation data before the first account triggers the game preparation stage, the historical win rate of the first account, and the game function selection data of the first account in historical games. Among them, the function pre-selection operation data is used to indicate the first candidate function pre-selected by the first account from multiple candidate functions before triggering the game preparation stage, the historical win rate is used to indicate the win rates of the game functions adopted by the first account in the virtual games during the historical time period, and the game function selection data is used to indicate the corresponding execution times of the game functions adopted by the first account in the historical time period.
[0063] In some embodiments, by pre-assigning a first function identifier to the first account based on the historical operation data of the first account, the matching degree between the first function identifier and the function tendency of the first account can be improved. Among them, the function tendency of the first account is used to indicate the probability of the first account selecting the first function identifier in the current game preparation stage, reduce the function exchange probability, save the computing resources for function exchange, reduce the game preparation duration, and improve the function assignment efficiency and game preparation efficiency.
[0064] The game function is used to indicate the game responsibilities such as the movement route, tactical tasks, and position arrangement of the virtual character used by the account in the virtual game. Taking the MOBA game as an example, there are at least two camps in the virtual game, and at least two camps compete with each other in the game map. The game function is used to indicate the movement route adopted by the virtual characters used by multiple accounts in the camp during the competition. For example, the movement routes indicated by the game function include the confrontation road, the development road, the middle road, the jungle, and the roaming, which are used to indicate different specified routes in the game map.
[0065] Optionally, there may be an association relationship between the first account and other accounts (such as the second account) in the first camp, such as: friend relationship, in the same group relationship, indirect friend relationship, etc.; or, there may be a stranger relationship between the first account and other accounts (such as the second account) in the first camp. In the target application program, the first camp can be formed by random matching or by team matching.
[0066] Schematically, please refer toFigure 4 , Figure 4 is a schematic diagram of a game preparation interface provided by an exemplary embodiment of the present application. As shown in Figure 4 , the game preparation interface 400 is displayed. The game preparation interface 400 includes function identifiers corresponding to multiple accounts in the first camp. The multiple accounts in the first camp include the first account, the second account, teammate 2, teammate 4, and teammate 5. Among them, the first account corresponds to the display of the first function identifier 410, and the second account corresponds to the display of the second function identifier 420.
[0067] Step 320, in the first stage of virtual character selection, in response to receiving a function exchange operation for the second function identifier, send a first function exchange application to the second account.
[0068] The first function exchange application is used to request the second account to exchange the game function with the first account.
[0069] In some embodiments, virtual character selection includes a first stage and a second stage. The first stage is used to select virtual characters prohibited from participating in the virtual game, and the second stage is used to select virtual characters used when participating in the virtual game. In the embodiments of the present application, the virtual characters prohibited from participating in the virtual game are called disabled characters, and the virtual characters used when participating in the virtual game are called game characters.
[0070] Optionally, the first stage is carried out before the second stage.
[0071] Since both the disabled characters and the function allocation situation will affect the selection of game characters, therefore, performing function exchange only in the first stage of virtual character selection can synchronously determine the disabled characters and the function allocation situation, while reducing the game preparation duration and avoiding the influence of unclear function allocation situation on the selection of game characters in the second stage, which can improve the game preparation efficiency of the first camp and thus improve the game collaboration efficiency.
[0072] Optionally, the function exchange operation includes triggering operations on function exchange controls, long-pressing operations on the second account, double-click operations on the second function identifier, voice control operations, etc. The embodiments of the present application do not limit this. In some embodiments, triggering function exchange applications through multiple operation methods can improve the convenience of function exchange operations and improve function exchange efficiency.
[0073] In some embodiments, the above step 320 includes the following two steps:
[0074] The first step , in the first stage of virtual character selection, in response to receiving a selection operation on the second function identifier corresponding to the second account, display the function details panel corresponding to the second function identifier.
[0075] Among them, the function details panel includes a swap application control, which is used to receive the function swap operation. The first stage of virtual character selection is used to select the virtual characters prohibited from participating in the virtual game.
[0076] In some embodiments, the function details panel includes the statistical information of the second account, and the statistical information is used to provide a reference for the probability of the second account accepting the first function swap application.
[0077] Optionally, the above statistical information includes at least one of the following: multiple historical game functions performed by the second account in virtual games within a historical time period, and the number of times the multiple historical game functions are performed; the number of times the second account accepts function swap applications within a historical time period; the preset candidate game functions of the second account; the fitness of the second account for the second function corresponding to the second function identifier; the fitness of the first account for the second function.
[0078] Taking the fitness of the first account for the second function as an example, this fitness is determined based on historical operation data such as the winning rate, number of times, and proficiency of the first account using the second function within a historical time period.
[0079] Schematically, a pre-trained function fitness model is deployed in the target application. This function fitness model is used to predict the fitness between a specified account and a specified function based on the historical operation data of the specified account for the specified function. When the target application obtains the authorization of the first account, it automatically acquires and records the historical operation data of the first account. In response to receiving the selection operation of the second function identifier, the target application inputs the historical operation data of the first account for the second function into this function fitness model, and outputs the fitness of the first account for the second function.
[0080] In some embodiments, by displaying the above statistical information, it provides a reference for the probability of the second account accepting the first function swap application, assists the first account in determining whether to send a function swap application, reduces the sending of invalid function swap applications, and improves the function swap efficiency and effectiveness of the function swap.
[0081] The second step , in response to receiving the trigger operation on the swap application control, send a first function swap application to the second account.
[0082] This first function swap application is used to request the second account to swap the game function with the first account. Optionally, the first function swap application includes the fitness of the first account for the second function, which assists the second account in determining whether to accept this first function swap application.
[0083] In some embodiments, after sending a first function exchange application to a second account, an application waiting panel is displayed for a preset duration. The application waiting panel is used to receive a cancellation application operation, and the cancellation application operation is used to cancel the first function exchange application before the second account accepts the first function exchange application. The preset duration is used to indicate the duration of the first function exchange application. When the second account does not accept the first function exchange application within the preset duration, the first function exchange application is automatically cancelled.
[0084] By displaying the application waiting panel to prompt the current function exchange status of the first account and receiving the cancellation application operation through the application waiting panel, misoperations can be timely avoided, and the impact caused by misoperations in function exchange operations can be reduced.
[0085] Schematically, please refer to Figure 5 , Figure 5 which is a schematic diagram of a function exchange application provided by an exemplary embodiment of the present application. As Figure 5 shown, in the first stage of virtual character selection, in response to receiving a selection operation on a second function identifier 510 corresponding to a second account, a function details panel 520 corresponding to the second function identifier 510 is displayed. The function details panel 520 includes an exchange application control 521 and statistical information 522 of the second account. In response to receiving a trigger operation on the exchange application control 510, a first function exchange application is sent to the second account, and the application waiting panel 530 is continuously displayed for 5 seconds. The application waiting panel 530 includes an application cancellation control 531, and the application cancellation control 531 is used to receive an application cancellation operation and trigger the cancellation of the first function application.
[0086] Step 330, in response to the second account accepting the first function exchange application, the first account is associated with the second function identifier, and the second account is associated with the first function identifier for display.
[0087] In some embodiments, in response to the second account accepting the first function exchange application, the function identifier corresponding to the first account is changed to the second function identifier for display, and the function identifier corresponding to the second account is changed to the first function identifier for display.
[0088] Schematically, please refer to Figure 6 , Figure 6 which is a schematic diagram of function exchange display provided by an exemplary embodiment of the present application. As Figure 6 shown, in response to the second account accepting the first function exchange application, the first account is associated with the second function identifier 610 for display, and the second account is associated with the first function identifier 620 for display.
[0089] In some embodiments, step 330 is implemented as, in response to the second account accepting the first function exchange application within a preset duration, associatively displaying the first account and the second function identifier, and associatively displaying the second account and the first function identifier. The preset duration is used to indicate the duration of the first function exchange application. When the second account does not accept the first function exchange application within the preset duration, the first function exchange application is automatically cancelled.
[0090] In some embodiments, after the function exchange based on the above first function exchange application is successful, the association relationship between the first account and the second function identifier, and the association relationship between the second account and the first function identifier are automatically locked, that is, the first account and the second account are set to automatically reject other function exchange applications.
[0091] In summary, the method provided by the embodiments of the present application, by displaying the game preparation interface of the virtual game, displays the function identifiers pre-allocated to multiple accounts in the first camp, provides an implementation basis for ensuring the rationality of the function allocation among multiple accounts. In the first stage of virtual character selection, in response to receiving a function exchange operation for the second function identifier, a first function exchange application is sent to the second account. In response to the second account accepting the first function exchange application, the first account and the second function identifier are associatively displayed, and the second account and the first function identifier are associatively displayed, restricting the execution stage of the function exchange, reducing the impact on subsequent virtual character selection due to the uncertainty of function allocation, and performing function exchange based on the function exchange application, avoiding excessive freedom of function exchange, thereby avoiding function selection conflicts caused by function exchange, improving the function allocation efficiency in the virtual game preparation stage, ensuring the rationality of function allocation, and thus improving the cooperation efficiency of the first camp in the virtual game.
[0092] In some embodiments, during the process of sending the first function exchange application, that is, in the above step 320, it includes the selection process of the second function identifier and the initiation process of the exchange application. Please refer to Figure 7 , Figure 7 is a flowchart of a function exchange application method provided by an exemplary embodiment of the present application. This method can be executed by a terminal, or by a server, or jointly executed by a terminal and a server at the same time. In the embodiments of the present application, this method is described by taking the execution by the terminal as an example. As Figure 7 shown, the above step 320 includes the following steps:
[0093] Step 321, in the first stage of virtual character selection, in response to receiving a selection operation for the second function identifier corresponding to the second account, display the function details panel corresponding to the second function identifier.
[0094] Among them, the function details panel includes an exchange application control, which is used to receive function exchange operations. The first stage of virtual character selection is used to select virtual characters prohibited from participating in virtual games.
[0095] In some embodiments, the function details panel includes statistical information about the second account, and the statistical information is used to provide a reference for the probability of the second account accepting the first function exchange application.
[0096] Optionally, the above statistical information includes at least one of the following: multiple historical game functions performed by the second account in virtual games during a historical time period, and the number of times the multiple historical game functions are performed; the number of times the second account accepts function exchange applications during a historical time period; the preset candidate game functions of the second account; the fitness of the second function corresponding to the second function identifier of the second account; the fitness of the first account and the second function.
[0097] Taking the fitness of the first account and the second function as an example, the fitness is determined based on historical operation data such as the winning rate, number of times, and proficiency of the first account using the second function during a historical time period.
[0098] Schematically, a pre-trained function fitness model is deployed in the target application. The function fitness model is used to predict the fitness between a specified account and a specified function based on the historical operation data of the specified account for the specified function. When the target application obtains the authorization of the first account, it automatically obtains and records the historical operation data of the first account. In response to receiving a selection operation for the second function identifier, the target application inputs the historical operation data of the first account for the second function into the function fitness model and outputs the fitness of the first account and the second function.
[0099] In some embodiments, by displaying the above statistical information, it provides a reference for the probability of the second account accepting the first function exchange application, assists the first account in determining whether to send a function exchange application, reduces the sending of invalid function exchange applications, and improves the efficiency and effectiveness of function exchange.
[0100] Step 322, in response to receiving a trigger operation on the exchange application control, send a first function exchange application to the second account.
[0101] The first function exchange application is used to request the second account to exchange game functions with the first account. Optionally, the first function exchange application includes the fitness of the first account and the second function, which assists the second account in determining whether to accept the first function exchange application.
[0102] In some embodiments, after sending the first function exchange application, that is, after the above step 322, it further includes the process of displaying an application waiting panel.
[0103] Schematically, after sending a first function exchange application to a second account, an application waiting panel is displayed according to a preset duration. The application waiting panel is used to receive a cancel application operation, and the cancel application operation is used to cancel the first function exchange application before the second account accepts the first function exchange application. The preset duration is used to indicate the duration of the first function exchange application. When the second account does not accept the first function exchange application within the preset duration, the first function exchange application is automatically cancelled.
[0104] By displaying the application waiting panel to prompt the current function exchange status of the first account and receiving the cancel application operation through the application waiting panel, misoperations can be timely avoided, and the impact caused by misoperations in function exchange operations can be reduced.
[0105] Schematically, please refer to Figure 8 , Figure 8 which is a schematic diagram of the function exchange process provided by an exemplary embodiment of this application. As Figure 8 shown, in the function exchange process, steps 810, 820, 830, 840, 850, 861, and 862 are sequentially executed. Step 810: Display a function details panel corresponding to a second function identifier; Step 820: In response to receiving a trigger operation on an exchange application control in the function details panel, send a first function exchange application to a second account; Step 830: Display an application waiting panel; Step 840: Determine whether an application cancellation operation is received within a preset duration. In response to receiving the application cancellation operation within the preset duration, execute Step 861; otherwise, execute Step 850; Step 850: Determine whether the second account accepts the first function exchange application within the preset duration. In response to the second account accepting the first function exchange application within the preset duration, execute Step 862; otherwise, execute Step 861; Step 861: Cancel the display of the application waiting panel after the preset duration; Step 862: Cancel the display of the application waiting panel, and associatively display the first account and the second function identifier, and associatively display the second account and the first function identifier.
[0106] In some embodiments, before sending the first function exchange application, that is, before step 320 above, a display process of a function exchange prompt identifier is further included.
[0107] Optionally, the function exchange prompt identifier is displayed based on the adaptability between the account and the function identifier. The display process of the function exchange prompt identifier includes the following two steps:
[0108] The first step , obtain a first adaptability between the first account and the second function corresponding to the second function identifier, and a second adaptability between the second account and the second function.
[0109] Taking the adaptation degree between the first account and the second function as an example, this adaptation degree is determined based on historical operation data such as the winning rate, number of times, proficiency, etc. of the first account using the second function within a historical time period. Among them, the proficiency is calculated by weighted calculation based on the number of times the first account uses the second function and data such as the score of the first account in the virtual game when using the second function.
[0110] Schematically, a pre-trained function adaptation degree model is deployed in the target application program. This function adaptation degree model is used to predict the adaptation degree between a specified account and a specified function based on the historical operation data of the specified account for the specified function.
[0111] When the target application program obtains the authorization of the first account and the second account, it automatically obtains and records the historical operation data of the first account and the second account. When the first account and the second account are in the first camp and enter the game preparation stage, the target application program inputs the historical operation data of the first account and the second account for the second function into this function adaptation degree model respectively, and outputs the first adaptation degree between the first account and the second function, and the second adaptation degree between the second account and the second function.
[0112] The second step , in response to the second account meeting the exchange prompt requirement, display a function exchange prompt identifier.
[0113] Among them, the function exchange prompt identifier is used to prompt the first account to send a first function exchange application to the second account, and the exchange prompt requirement includes that the first adaptation degree is higher than the second adaptation degree.
[0114] In some embodiments, before the above-mentioned second step, the third adaptation degree between the first account and the first function, and the fourth adaptation degree between the second account and the first function are also pre-obtained. Optionally, the exchange prompt requirement further includes that the first adaptation degree is higher than the third adaptation degree, and / or the second adaptation degree is higher than the fourth adaptation degree.
[0115] Optionally, the function exchange prompt identifier can be a prompt panel associated with the second account for display, or a prompt pop-up window containing function exchange prompt information, or a special display effect for the second account and / or the second function identifier, such as highlighting the second account and the second function identifier, etc.
[0116] Schematically, please refer to Figure 9 , Figure 9 is a schematic diagram of the function exchange prompt identifier provided by an exemplary embodiment of the present application. As Figure 9 shown, in response to the second account meeting the exchange prompt requirement, in the game preparation interface 900, display the function exchange prompt identifier 910 to prompt the first account to send a first function exchange application to the second account.
[0117] By obtaining the first fitness degree of the second function corresponding to the first account and the second fitness degree of the second account and the second function, in response to the second account meeting the exchange prompt requirement, a function exchange prompt identifier is displayed, assisting the first account in deciding whether to trigger the first function application from the perspective of function fitness degree, and improving the function exchange efficiency.
[0118] In some embodiments, the first function application can be automatically triggered based on the exchange prompt requirement, that is, in response to detecting that the second account meets the exchange prompt requirement, a first function application is automatically sent to the second account.
[0119] Optionally, this automatic trigger function can be preset by the target application or pre-authorized by the first account.
[0120] Through the above automatic trigger function, there is no need to perform function exchange through additional operations in the game preparation stage, which can reduce the game preparation duration and improve the function exchange efficiency during the game preparation process.
[0121] In some embodiments, the virtual game exchange method provided by the embodiments of the present application is implemented as follows: display the game preparation interface of the virtual game, the game preparation interface is used to select the virtual character to be used when participating in the virtual game. The virtual game includes a first camp, and the first camp includes a first account and a second account. The game preparation interface includes function identifiers corresponding to multiple accounts in the first camp, and the function identifier is used to indicate the game functions performed by multiple accounts in the first camp. The first account correspondingly displays a first function identifier, and the second account correspondingly displays a second function identifier; in response to the second account meeting the exchange prompt requirement, a function exchange prompt identifier is displayed, and the function exchange prompt identifier is used to prompt the first account to send a first function exchange application to the second account. The exchange prompt requirement includes that the fitness degree of the second function corresponding to the first account and the second function identifier is higher than the fitness degree of the second account and the second function; in the first stage of virtual character selection, in response to receiving a selection operation on the second function identifier corresponding to the second account, a function details panel corresponding to the second function identifier is displayed, and the function details panel includes an exchange application control, and the exchange application control is used to receive a function exchange operation. The first stage of virtual character selection is used to select the virtual character prohibited from participating in the virtual game; in response to receiving a trigger operation on the exchange application control, a first function exchange application is sent to the second account; an application waiting panel is displayed according to a preset duration, and the application waiting panel is used to receive a cancellation application operation, and the cancellation application operation is used to cancel the first function exchange application before the second account accepts the first function exchange application; in response to the second account accepting the first function exchange application, the first account and the second function identifier are associated and displayed, and the second account and the first function identifier are associated and displayed.
[0122] In summary, the method provided by the embodiment of the present application, in the first stage of virtual character selection, in response to receiving a selection operation on the second function identifier corresponding to the second account, displays a function details panel corresponding to the second function identifier, and in response to receiving a trigger operation on the exchange application control, sends a first function exchange application to the second account, realizing the function of function exchange in the first stage of virtual character selection, enabling the function exchange and the selection of disabled characters to be synchronized, and ensuring that the function exchange is completed before selecting the game characters, guaranteeing the clarity of the function allocation of the first camp during the process of selecting game characters, improving the efficiency of selecting game characters, reducing the game preparation duration, and improving the game preparation efficiency.
[0123] The method provided by the embodiment of the present application, by displaying various statistical information in the function details panel, provides a data-based reference for the probability of the second account accepting the first function exchange application, thereby assisting the first account to quickly determine whether to trigger the first function exchange application, reducing invalid first function exchange applications, and improving the function exchange efficiency.
[0124] The method provided by the embodiment of the present application, by displaying an application waiting panel to prompt the first account of the current function exchange status and receiving a cancellation application operation through this application waiting panel, can timely avoid misoperations and reduce the impact caused by misoperations of function exchange operations.
[0125] The method provided by the embodiment of the present application, by obtaining the first adaptability of the first account to the second function corresponding to the second function identifier and the second adaptability of the second account to the second function, and in response to the second account meeting the exchange prompt requirements, displays a function exchange prompt identifier, assisting the first account to decide whether to trigger the first function application from the perspective of function adaptability and improving the function exchange efficiency.
[0126] In some embodiments, the virtual game function exchange method provided by the embodiment of the present application further includes the process of receiving a function exchange application. Please refer to Figure 10 , Figure 10 is a flowchart of a function exchange application receiving method provided by an exemplary embodiment of the present application. This method can be executed by a terminal, or by a server, or jointly executed by a terminal and a server at the same time. In the embodiment of the present application, this method is described by taking the execution by the terminal as an example. As Figure 10 shown, this method includes the following steps:
[0127] Step 1010, in response to receiving a second function exchange application sent by a third account in the first camp, display an exchange application panel within a preset duration.
[0128] Among them, the third account corresponds to the display of the third function identifier. The second function exchange application is used to request the exchange of the game function between the first account and the third account. The exchange application panel includes a first control and a second control. The first control is used to trigger the reception of the second function exchange application, and the second control is used to trigger the rejection of the second function exchange application.
[0129] Schematically, please refer to Figure 11 , Figure 11 which is a schematic diagram of the exchange application panel provided by an exemplary embodiment of the present application. As Figure 11 shown, in response to receiving the second function exchange application sent by the third account in the first camp, the exchange application panel 1110 is displayed within a preset time period. The exchange application panel 1110 includes a first control 1111 and a second control 1112. The first control 1111 is used to trigger the reception of the second function exchange application, and the second control 1112 is used to trigger the rejection of the second function exchange application.
[0130] Step 1020, in response to receiving the trigger operation of the first control, the first account and the third function identifier are associated and displayed, and the third account and the first function identifier are associated and displayed.
[0131] Schematically, please refer to Figure 12 , Figure 12 which is a schematic diagram of the acceptance of the exchange application provided by an exemplary embodiment of the present application. As Figure 12 shown, in response to receiving the trigger operation of the first control 1210, the first account and the third function identifier 1230 are associated and displayed, and the third account and the first function identifier 1240 are associated and displayed.
[0132] Step 1030, in response to receiving the trigger operation on the second control, the second function exchange application is rejected.
[0133] In some embodiments, in response to receiving the trigger operation on the second control, the exchange application panel is cancelled from display.
[0134] In some embodiments, the virtual game function exchange method provided by the embodiments of the present application further includes an implementation manner of automatically rejecting the second function exchange application. Optionally, before step 1010, a function locking operation of the first account is received. The function locking operation is used to automatically reject the second function exchange application. Then, after receiving the above function locking operation, in response to receiving the above second function exchange application, the second function exchange application is automatically rejected. In some embodiments, the above function locking operation is further used to mask the display of the exchange application panel.
[0135] In some embodiments, in response to receiving a function locking operation of a first account for a first function identifier, the association relationship between the first account and the first function identifier before is locked, and the first function identifier corresponding to the first account is displayed as an in-exchange state for other accounts in the first camp. Taking the terminal controlled by a third account as an example, in response to receiving a selection operation on the first function identifier corresponding to the first account, a function details panel of the first function identifier is displayed, and the exchange application control in the function details panel is in an inoperable state. The inoperable state of the exchange application control is used to indicate the in-exchange state of the first function identifier.
[0136] By automatically rejecting a second function exchange application through the above function locking operation, and / or automatically shielding the exchange application panel, and / or automatically locking the association relationship between the first account and the first function identifier, it is possible to reduce the interference of the function exchange application to the first account, improve the efficiency of the first account in selecting a disabled role in the first stage of virtual character selection, avoid invalid function exchange applications, and save rendering resources.
[0137] In some embodiments, after the above step 1010, an exchange analysis process is further included. In response to receiving an exchange analysis operation within a preset time period, function exchange analysis information is displayed.
[0138] The function exchange analysis information includes first adaptation information and second adaptation information. Among them, the first adaptation information is used to indicate the growth ratio of the adaptation degree between the first account and the corresponding game function after accepting the second function exchange application, and the second adaptation information is used to indicate the growth ratio of the adaptation degree between the third account and the corresponding game function after accepting the second function exchange application.
[0139] Among them, the first adaptation information is the difference between the adaptation degree of the first account and the third function and the adaptation degree of the first account and the first function, and the second adaptation information is the difference between the adaptation degree of the third account and the first function and the adaptation degree of the third account and the third function.
[0140] In some embodiments, the function exchange analysis information further includes the adaptation degree of the first account and the first function, the adaptation degree of the third account and the third function, the adaptation degree of the first account and the third function after accepting the second function exchange application, and the adaptation degree of the third account and the first function.
[0141] Taking the adaptation degree of the first account and the third function as an example, the adaptation degree is determined based on historical operation data such as the winning rate, number of times, and proficiency of the first account using the third function in a historical time period. Among them, the proficiency is weighted and calculated based on the number of times the first account uses the third function and data such as the score of the first account in the virtual game when using the third function.
[0142] Schematically, a pre-trained function fitness model is deployed in the target application, and the function fitness model is used to predict the fitness between a specified account and a specified function based on the historical operation data of the specified account for the specified function.
[0143] In some embodiments, the function exchange analysis information further includes a function exchange recommendation. Schematically, when the fitness growth ratios indicated by the first fitness information and the second fitness information are both greater than a preset ratio threshold, the function exchange recommendation is used to instruct the first account to accept the second function exchange application.
[0144] The above function exchange analysis process can assist the first account in deciding whether to accept the second function exchange application and improve the function exchange efficiency.
[0145] In some embodiments, after the above step 1010, a voting application process is further included, and this process includes the following three steps:
[0146] The first step , in response to receiving the second function exchange application, a voting application is sent to multiple accounts in the first camp.
[0147] The voting application is used to request multiple accounts in the first camp to vote on the second function exchange application sent by the third account.
[0148] Optionally, the voting application can be sent to all accounts in the first camp, or can be sent to some accounts in the first camp.
[0149] In some embodiments, the function allocation in the first camp is jointly determined by multiple accounts, or is uniformly determined by the account with allocation authority in the first camp. By sending a voting application to multiple accounts in the first camp and requesting multiple accounts to vote on the second function exchange application, enabling multiple accounts to jointly participate in the function allocation adjustment, the rationality of the function allocation adjustment can be improved, and the function allocation conflict between multiple accounts can be avoided.
[0150] The second step , voting assistance information is displayed based on the voting application.
[0151] The voting assistance information includes the winning rates of the first account based on the first function and the third function respectively within a historical time period, and the winning rates of the third account based on the first function and the third function respectively.
[0152] The above voting assistance information is used to assist multiple accounts in determining whether to agree to the second function exchange application.
[0153] Schematically, when the winning rate of the first account based on the third function is higher than that of the third account, and the winning rate of the third account based on the first function is higher than the winning rate of the third account based on the third function, the voting assistance information prompts multiple accounts to uniformly apply for the second function exchange.
[0154] The third step , in response to the number of accounts in the first camp that agree to the second function exchange application based on the voting application reaching a preset quantity threshold, automatically accept the second function exchange application, and associatively display the first account and the third function identifier, and associatively display the third account and the first function identifier.
[0155] Optionally, the above preset quantity threshold can be preset by the target application, or can be set when the third account triggers the second function exchange application, or can also be set after the first account receives the second function exchange application.
[0156] In some embodiments, within a preset duration, in response to the number of accounts in the first camp that agree to the second function exchange application based on the voting application being less than the preset quantity threshold, automatically reject the second function exchange application.
[0157] Through the above voting application process, multiple accounts in the first camp assist the first account in deciding whether to accept the second function exchange application through voting, which is conducive to the teamwork of the first camp, improves the contribution of function exchange to the first camp, improves the virtual game collaboration efficiency, and improves the human-computer interaction efficiency and automation in the function exchange process by automatically accepting the second function exchange application in response to the number of accounts in the first camp that agree to the second function exchange application based on the voting application reaching the preset quantity threshold.
[0158] Schematically, please refer to Figure 13 , Figure 13 is a schematic diagram of function exchange display provided by an exemplary embodiment of the present application. As Figure 13 shown, for terminal A where the third account is located, in response to the third account triggering the second function exchange application, an application waiting panel 1311 is displayed in the game preparation interface 1310 corresponding to the third account for a preset duration. Correspondingly, for terminal B where the first account is located, in response to the first account receiving the second function exchange application, an exchange application panel 1321 is displayed in the game preparation interface 1320 corresponding to the first account for a preset duration; when terminal B responds to the first account accepting the second function exchange application, the first account and the third function identifier 1322 are associatively displayed in the game preparation interface 1320 corresponding to the first account, and the third account and the first function identifier 1323 are associatively displayed. Correspondingly, when terminal A responds to the server feedback that the first account accepts the second function exchange application, the first account and the third function identifier 1312 are associatively displayed in the game preparation interface 1310 corresponding to the third account, and the third account and the first function identifier 1313 are associatively displayed.
[0159] In summary, the method provided in the embodiments of the present application, by responding to the receipt of a second function exchange application sent by a third account in the first camp, displays an exchange application panel within a preset duration, responds to the trigger operation of the first control, associates and displays the first account with the third function identifier, and associates and displays the third account with the first function identifier, and responds to the trigger operation of the second control to reject the second function exchange application, realizes the function of performing function exchange in the first stage of virtual role selection, enables the function exchange and the selection of disabled roles to be synchronized, and ensures that the function exchange is completed before selecting the in-game role, safeguards the clarity of the function allocation of the first camp during the process of selecting the in-game role, improves the efficiency of selecting the in-game role, reduces the in-game preparation duration, and improves the in-game preparation efficiency.
[0160] In some embodiments, before the above step 310, a pre-allocation process of function identifiers is further included, which is used to pre-allocate function identifiers to multiple accounts in the first camp before entering the first stage of virtual role selection. Taking the pre-allocation of function identifiers for the first account as an example, please refer to Figure 14 , Figure 14 FIG. is a flowchart of a method for receiving a function exchange application provided by an exemplary embodiment of the present application. This method can be executed by a terminal, or by a server, or jointly executed by a terminal and a server at the same time. In the embodiments of the present application, this method is described by taking the execution by the terminal as an example. As Figure 14 shown, this method includes the following steps:
[0161] Step 1410, based on the historical operation data of the first account, pre-allocate the first function identifier to the first account.
[0162] Optionally, the historical operation data includes at least one of the function pre-selection operation data before the first account triggers this in-game preparation stage, the historical win rate of the first account, and the in-game function selection data of the first account in historical in-game sessions. Among them, the function pre-selection operation data is used to indicate the first candidate function pre-selected by the first account from multiple candidate functions before triggering this in-game preparation stage, the historical win rate is used to indicate the win rates of the in-game functions adopted by the first account in the historical time period in virtual in-game sessions respectively, and the in-game function selection data is used to indicate the corresponding execution times of the in-game functions adopted by the first account in the historical time period respectively.
[0163] In some embodiments, by pre-assigning a first function identifier to the first account based on the historical operation data of the first account, the matching degree between the first function identifier and the function tendency of the first account can be improved. The function tendency of the first account is used to indicate the probability of the first account selecting the first function identifier in the current game preparation stage, reduce the function exchange probability, save the computing resources for function exchange, reduce the game preparation duration, and improve the function allocation efficiency and game preparation efficiency.
[0164] In some embodiments, step 1410 described above includes the following three steps:
[0165] The first step , determining a first candidate function based on the historical operation data of the first account.
[0166] Optionally, the determination method of the first candidate function includes the following three cases:
[0167] First, based on the preselection operations of the first account, determine the first candidate function.
[0168] Among them, the preselection operations are used to select the first candidate function from multiple candidate functions.
[0169] Optionally, the first account can select multiple first candidate functions from multiple candidate functions and set preselection priorities for the multiple first candidate functions. The preselection priorities are used to indicate the priorities of the function identifiers corresponding to the multiple first candidate functions being determined as the first function identifier.
[0170] Second, determine the candidate function whose fulfillment times reach a preset number threshold in the virtual games of the first account within the historical time period as the first candidate function.
[0171] In some embodiments, by obtaining the historical operation data of the first account and based on the fulfillment times of multiple functions respectively, automatically determine the first candidate function.
[0172] Third, determine the candidate function whose win rate reaches a preset ratio threshold in the virtual games of the first account within the historical time period as the first candidate function.
[0173] In some embodiments, by obtaining the historical operation data of the first account and based on the win rates corresponding to multiple functions respectively, automatically determine the first candidate function.
[0174] The second step , in response to the first candidate function meeting the function preselection requirements, determine the function identifier corresponding to the first candidate function as the first function identifier.
[0175] In some embodiments, the function pre-selection requirements are determined based on function allocation rules, which may be pre-configured by the target application according to the game rules of the virtual game, or pre-agreed by multiple accounts in the first camp, or pre-set by the first account.
[0176] Optionally, the function allocation rules may include any preset rules such as multiple function identifiers being different from each other, a preset function allocation list including combinations of multiple function identifiers, a specified category of function identifiers reaching a preset quantity threshold, and the arrangement of multiple function identifiers conforming to the preset game tactics of the first camp. The embodiments of the present application do not limit this. Among them, the preset function allocation list includes preset combinations of multiple function identifiers, and the preset game tactics are used to indicate the categories of function identifiers required to be included in multiple function identifiers, etc.
[0177] Optionally, the function pre-selection requirements include at least one of the following: the first candidate function is different from the candidate functions pre-selected by other accounts in the first camp; the quantity of the first candidate function among the candidate functions pre-selected by multiple accounts in the first camp is less than the preset quantity threshold; the first candidate function conforms to the preset game tactics of the first camp.
[0178] The third step , in response to the first candidate function not meeting the function pre-selection requirements, determine the preset candidate function that meets the function pre-selection requirements as the first function identifier.
[0179] Illustratively, taking the new route in the MOBA game indicated by the in-game function as an example, the function categories corresponding to the first candidate function identifier include the opposing lane, the development lane, the mid lane, the jungle, the roaming, and the filling position. Among them, the filling position is used to indicate that when pre-assigning function identifiers to multiple accounts in the first camp, the function identifiers pre-selected by other accounts are preferentially allocated, and after the function identifiers are allocated to other accounts, the preset candidate function is determined as the first function identifier according to the function pre-selection requirements. For example, the function identifiers pre-selected by accounts A, B, C, and D in the first camp correspond to the opposing lane, the development lane, the mid lane, and the jungle respectively. When the function identifier pre-selected by the first account corresponds to the filling position, according to the function pre-selection requirement that the function identifiers of multiple accounts are different from each other, the function identifier corresponding to the roaming is determined as the first function identifier corresponding to the first account.
[0180] In summary, the method provided by the embodiment of the present application pre-allocates a first function identifier for the first account based on the historical operation data of the first account, which can improve the matching degree between the first function identifier and the function tendency of the first account. The function tendency of the first account is used to indicate the probability of the first account selecting the first function identifier in the current game preparation stage, reduce the function exchange probability, save the computing resources for function exchange, reduce the game preparation duration, and improve the function allocation efficiency and game preparation efficiency.
[0181] The method provided by the embodiment of the present application determines a first candidate function based on the historical operation data of the first account. In response to the first candidate function meeting the function pre-selection requirements, the function identifier corresponding to the first candidate function is determined as the first function identifier. In response to the first candidate function not meeting the function pre-selection requirements, a preset candidate function that meets the function pre-selection requirements is determined as the first function identifier. Based on the function pre-selection requirements, it is ensured that the pre-allocated function identifier complies with the function allocation rules, thereby ensuring that the function allocation situation of the first camp still complies with the function allocation rules after subsequent function exchange, and improving the rationality and efficiency of function allocation.
[0182] The method provided by the embodiment of the present application determines a first candidate function based on the pre-selection operation of the first account, or determines the candidate function whose fulfillment times in the virtual games of the first account within the historical time period reach the preset times threshold as the first candidate function, or determines the candidate function whose winning rate in the virtual games of the first account within the historical time period reaches the preset ratio threshold as the first candidate function. Multiple pre-selection function schemes are provided, which can ensure that the first candidate function meets the pre-selection tendency of the first account based on the pre-selection operation, and can also improve the automation and efficiency of determining the first candidate function based on the fulfillment times or winning rate corresponding to the game functions.
[0183] Figure 15 It is a structural block diagram of a virtual game function exchange device provided by an exemplary embodiment of the present application. As Figure 15 shown, the device includes the following parts:
[0184] A display module 1510 that displays a game preparation interface for a virtual game. The game preparation interface is used to select a virtual character to be used in the virtual game. The virtual game includes a first camp, and the first camp includes a first account and a second account. The game preparation interface includes function identifiers corresponding to multiple accounts in the first camp. The function identifier is used to indicate the game functions performed by multiple accounts in the first camp. The first account correspondingly displays a first function identifier, and the second account correspondingly displays a second function identifier;
[0185] The first exchange module 1520 is configured to, in the first stage of virtual character selection, in response to receiving a function exchange operation for a second function identifier, send a first function exchange application to the second account, where the first function exchange application is used to request the second account to exchange the in-game function with the first account;
[0186] The display module 1510 is further configured to, in response to the second account accepting the first function exchange application, associatively display the first account and the second function identifier, and associatively display the second account and the first function identifier.
[0187] In some embodiments, the first exchange module 1520 is configured to:
[0188] In the first stage of virtual character selection, in response to receiving a selection operation for the second function identifier corresponding to the second account, display a function details panel corresponding to the second function identifier, where the function details panel includes an exchange application control for receiving the function exchange operation, and the first stage of virtual character selection is for selecting virtual characters prohibited from participating in the virtual game;
[0189] In response to receiving a trigger operation for the exchange application control, send the first function exchange application to the second account.
[0190] In some embodiments, the function details panel includes statistical information about the second account, and the statistical information is used to provide a reference for the probability of the second account accepting the first function exchange application;
[0191] The statistical information includes at least one of the following:
[0192] Multiple historical in-game functions performed by the second account in virtual games during a historical time period, and the number of times the multiple historical in-game functions were performed;
[0193] The number of times the second account accepted the function exchange application during the historical time period;
[0194] The preset candidate in-game functions of the second account;
[0195] The compatibility degree of the second function corresponding to the second account and the second function identifier;
[0196] The compatibility degree of the first account and the second function.
[0197] In some embodiments, the first switching module 1520 is further configured to display an application waiting panel for a preset duration, where the application waiting panel is used to receive a cancellation application operation, and the cancellation application operation is used to cancel the first function switching application before the second account accepts the first function switching application.
[0198] Please refer to Figure 16 , Figure 16 which is a structural block diagram of a virtual game function switching device module provided by an exemplary embodiment of the present application. As Figure 16 shown, in some embodiments, the device further includes an analysis module 1530, which is configured to:
[0199] Obtain a first adaptability of the second function corresponding to the second function identifier of the first account, and a second adaptability of the second account to the second function;
[0200] In response to the second account meeting the exchange prompt requirement, display a function exchange prompt identifier, where the function exchange prompt identifier is used to prompt the first account to send the first function exchange application to the second account, and the exchange prompt requirement includes that the first adaptability is higher than the second adaptability.
[0201] In some embodiments, the device further includes a second switching module 1540, which is configured to:
[0202] In response to receiving the second function exchange application sent by a third account in the first camp, display an exchange application panel within a preset duration. The third account corresponds to a display of a third function identifier. The second function exchange application is used to request the first account and the third account to exchange the game function. The exchange application panel includes a first control and a second control. The first control is used to trigger receiving the second function exchange application, and the second control is used to trigger rejecting the second function exchange application;
[0203] In response to receiving a trigger operation on the first control, associatively display the first account and the third function identifier, and associatively display the third account and the first function identifier;
[0204] In response to receiving a trigger operation on the second control, reject the second function exchange application.
[0205] In some embodiments, the second switching module 1540 is further configured to:
[0206] In response to receiving an exchange analysis operation within the preset duration, display function exchange analysis information, where the function exchange analysis information includes first adaptation information and second adaptation information. Among them, the first adaptation information is used to indicate the growth ratio of the adaptation degree between the first account and the corresponding game function after accepting the second function exchange application, and the second adaptation information is used to indicate the growth ratio of the adaptation degree between the third account and the corresponding game function after accepting the second function exchange application.
[0207] In some embodiments, the second exchange module 1540 is further configured to:
[0208] In response to receiving the second function exchange application, initiate a voting application to multiple accounts in the first camp, where the voting application is used to request the multiple accounts to vote on the second function exchange application sent by the third account;
[0209] Based on the voting application, display voting assistance information, where the voting assistance information includes the winning rates of the first account based on the first function and the third function respectively within a historical time period, and the winning rates of the third account based on the first function and the third function respectively;
[0210] In response to the number of accounts in the first camp that agree to the second function exchange application based on the voting application reaching a preset quantity threshold, automatically accept the second function exchange application, and associatively display the first account and the third function identifier, and associatively display the third account and the first function identifier.
[0211] In some embodiments, the second exchange module 1540 is further configured to:
[0212] Receive a function locking operation of the first account, where the function locking operation is used to automatically reject the second function exchange application.
[0213] In some embodiments, the device further includes a pre-allocation module 1550, which is used to:
[0214] Based on the historical operation data of the first account, pre-allocate the first function identifier for the first account.
[0215] In some embodiments, the pre-allocation module 1550 includes:
[0216] A pre-selection unit 1551, which is used to determine a first candidate function based on the historical operation data of the first account;
[0217] A first allocation unit 1552, which is used to, in response to the first candidate function meeting the function pre-selection requirements, determine the function identifier corresponding to the first candidate function as the first function identifier;
[0218] A second allocation unit 1553, configured to determine a preset candidate function that meets the function preselection requirements as the first function identifier in response to the first candidate function not meeting the function preselection requirements.
[0219] In some embodiments, the preselection unit 1551 is configured to:
[0220] Determine the first candidate function based on a preselection operation of the first account, where the preselection operation is used to select the first candidate function from multiple candidate functions; or,
[0221] Determine a candidate function whose fulfillment times in virtual games of the first account within a historical time period reach a preset number threshold as the first candidate function; or,
[0222] Determine a candidate function whose winning rate in virtual games of the first account within the historical time period reaches a preset ratio threshold as the first candidate function.
[0223] In summary, the device provided in the embodiments of the present application displays a game preparation interface for a virtual game, and displays function identifiers pre-allocated to multiple accounts in the first camp, providing a basis for realizing the rationality of function allocation among multiple accounts. In the first stage of virtual role selection, in response to receiving a function exchange operation for a second function identifier, a first function exchange request is sent to a second account. In response to the second account accepting the first function exchange request, the first account is associated with the second function identifier, and the second account is associated with the first function identifier, restricting the execution stage of the function exchange, reducing the impact on subsequent virtual role selection due to the uncertainty of function allocation, and performing function exchange based on the function exchange request, avoiding excessive freedom of function exchange, thus avoiding function selection conflicts caused by function exchange, improving the function allocation efficiency in the virtual game preparation stage, ensuring the rationality of function allocation, and thereby improving the cooperation efficiency of the first camp in the virtual game.
[0224] It should be noted that for the virtual game function exchange device provided in the above embodiments, only the above division of each functional module is used for illustration. In practical applications, the above functions can be allocated by different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
[0225] Figure 17The block diagram of the terminal 1700 provided by an exemplary embodiment of the present application is shown. The terminal 1700 may be: a smart phone, a tablet computer, an MP3 player, an MP4 player, a notebook computer or a desktop computer. The terminal 1700 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, etc.
[0226] Generally, the terminal 1700 includes: a processor 1701 and a memory 1702.
[0227] The processor 1701 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1701 may be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), or programmable logic array (PLA). The processor 1701 may also include a main processor and a coprocessor. The main processor is a processor used to process data in the wake state, also known as the central processing unit (CPU); the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, the processor 1701 may be integrated with a graphics processing unit (GPU), and the GPU is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1701 may also include an artificial intelligence (AI) processor, and the AI processor is used to process computational operations related to machine learning.
[0228] The memory 1702 may include one or more computer-readable storage media, and the computer-readable storage media may be non-transitory. The memory 1702 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash storage devices. In some embodiments, the non-transitory computer-readable storage media in the memory 1702 is used to store at least one instruction, and the at least one instruction is used to be executed by the processor 1701 to implement the virtual game function exchange method provided by the method embodiments of the present application.
[0229] In some embodiments, the terminal 1700 further includes other components. Those skilled in the art can understand that Figure 17 the structure shown in does not constitute a limitation on the terminal 1700, and it may include more or fewer components than shown, or combine certain components, or adopt a different component arrangement.
[0230] Embodiments of the present application also provide a computer device, which can be implemented as a terminal or a server as shown in Figure 1 the following figure. The computer device includes a processor and a memory. At least one instruction, at least one program, a code set or an instruction set is stored in the memory, and is loaded and executed by the processor to implement the virtual game function exchange method provided by each of the above method embodiments.
[0231] Embodiments of the present application also provide a computer-readable storage medium, on which at least one instruction, at least one program, a code set or an instruction set is stored, and is loaded and executed by the processor to implement the virtual game function exchange method provided by each of the above method embodiments.
[0232] Embodiments of the present application also provide a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the virtual game function exchange method provided by each of the above method embodiments.
[0233] Optionally, the computer-readable storage medium may include: Read Only Memory (ROM), Random Access Memory (RAM), Solid State Drives (SSD), or optical discs, etc. Among them, the random access memory may include Resistance Random Access Memory (ReRAM) and Dynamic Random Access Memory (DRAM). The serial numbers of the above embodiments of the present application are only for description, and do not represent the advantages and disadvantages of the embodiments.
[0234] Those of ordinary skill in the art can understand that all or part of the steps to implement the above embodiments can be completed by hardware, or can be completed by instructing relevant hardware through a program. The program can be stored in a computer-readable storage medium, and the storage medium mentioned above can be a read-only memory, a magnetic disk, or an optical disc, etc.
[0235] The above are only optional embodiments of the present application, and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method for exchanging virtual game functions, characterized in that, The method includes: Displaying a game preparation interface for a virtual game, the game preparation interface being used to select a virtual character to be used when participating in the virtual game. The virtual game includes a first camp, the first camp includes a first account and a second account, and the game preparation interface includes function identifiers respectively corresponding to multiple accounts in the first camp. The function identifiers are used to indicate the game functions performed by the multiple accounts in the first camp. The first account is correspondingly displayed with a first function identifier, and the second account is correspondingly displayed with a second function identifier; In a first stage of virtual character selection, in response to receiving a function exchange operation for the second function identifier, sending a first function exchange application to the second account, the first function exchange application being used to request the second account to exchange the game function with the first account; In response to the second account accepting the first function exchange application, associatively displaying the first account and the second function identifier, and associatively displaying the second account and the first function identifier.
2. The method according to claim 1, wherein The step of, in a first stage of virtual character selection, in response to receiving a function exchange operation for the second function identifier, sending a first function exchange application to the second account includes: In the first stage of virtual character selection, in response to receiving a selection operation for the second function identifier corresponding to the second account, displaying a function details panel corresponding to the second function identifier. The function details panel includes an exchange application control for receiving the function exchange operation. The first stage of virtual character selection is used to select virtual characters prohibited from participating in the virtual game; In response to receiving a trigger operation for the exchange application control, sending the first function exchange application to the second account.
3. The method according to claim 2, wherein The function details panel includes statistical information about the second account, and the statistical information is used to provide a reference for the probability of the second account accepting the first function exchange application; The statistical information includes at least one of the following: Multiple historical game functions performed by the second account in virtual games within a historical time period, and the number of times the multiple historical game functions are performed; The number of times the second account accepts the function exchange application within the historical time period; The preset candidate game functions of the second account; The fitness degree of the second function corresponding to the second account and the second function identifier; The fitness degree of the first account and the second function.
4. The method according to claim 2, characterized in that, After the step of, in response to receiving a trigger operation for the exchange application control, sending the first function exchange application to the second account, the method further includes: Displaying an application waiting panel for a preset duration, the application waiting panel being used to receive a cancellation application operation, and the cancellation application operation being used to cancel the first function exchange application before the second account accepts the first function exchange application.
5. The method according to any one of claims 1 to 4, characterized in that Before the step of, in response to receiving a function exchange operation for the second function identifier, sending a first function exchange application to the second account, the method further includes: Obtain the first adaptation degree of the first account corresponding to the second function identifier and the second adaptation degree of the second account corresponding to the second function; In response to the second account meeting the exchange prompt requirement, display a function exchange prompt identifier, which is used to prompt the first account to send the first function exchange application to the second account, and the exchange prompt requirement includes that the first adaptation degree is higher than the second adaptation degree.
6. The method according to any one of claims 1 to 4, characterized in that, The method further includes: In response to receiving the second function exchange application sent by a third account in the first camp, display an exchange application panel within a preset time period. The third account corresponds to a display of a third function identifier. The second function exchange application is used to request the first account to exchange the game function with the third account. The exchange application panel includes a first control and a second control. The first control is used to trigger receiving the second function exchange application, and the second control is used to trigger rejecting the second function exchange application; In response to receiving a trigger operation on the first control, associatively display the first account and the third function identifier, and associatively display the third account and the first function identifier; In response to receiving a trigger operation on the second control, reject the second function exchange application.
7. The method according to claim 6, characterized in that, After the step of, in response to receiving the second function exchange application sent by a third account in the first camp, displaying an exchange application panel within a preset time period, it further includes: In response to receiving an exchange analysis operation within the preset time period, display function exchange analysis information, which includes first adaptation information and second adaptation information. The first adaptation information is used to indicate the growth ratio of the adaptation degree between the first account and the corresponding game function after accepting the second function exchange application, and the second adaptation information is used to indicate the growth ratio of the adaptation degree between the third account and the corresponding game function after accepting the second function exchange application.
8. The method according to claim 6, wherein After the step of, in response to receiving the second function exchange application sent by a third account in the first camp, displaying an exchange application panel within a preset time period, it further includes: In response to receiving the second function exchange application, initiate a voting application to multiple accounts in the first camp. The voting application is used to request the multiple accounts to vote on the second function exchange application sent by the third account; Based on the voting application, display voting assistance information, which includes the winning rates of the first account based on the first function and the third function respectively within a historical time period, and the winning rates of the third account based on the first function and the third function respectively; In response to the number of accounts in the first camp that agree to the second function exchange application based on the voting application reaching a preset number threshold, automatically accept the second function exchange application, associatively display the first account and the third function identifier, and associatively display the third account and the first function identifier.
9. The method according to claim 6, wherein Before displaying the exchange application panel within a preset time period in response to receiving the second function exchange application sent by the third account in the first camp, it further includes: Receiving a function locking operation of the first account, where the function locking operation is used to automatically reject the second function exchange application.
10. The method according to any one of claims 1 to 4, characterized in that Before displaying the game preparation interface of the virtual game, it further includes: Based on the historical operation data of the first account, pre-assigning the first function identifier to the first account.
11. The method according to claim 10, wherein, The pre-assigning the first function identifier to the first account based on the historical operation data of the first account includes: Determining a first candidate function based on the historical operation data of the first account; In response to the first candidate function meeting the function pre-selection requirements, determining the function identifier corresponding to the first candidate function as the first function identifier; In response to the first candidate function not meeting the function pre-selection requirements, determining a preset candidate function that meets the function pre-selection requirements as the first function identifier.
12. The method according to claim 11, wherein The determining the first candidate function based on the historical operation data of the first account includes: Determining the first candidate function based on the pre-selection operation of the first account, where the pre-selection operation is used to select the first candidate function from multiple candidate functions; or, Determining the candidate function whose fulfillment times in the virtual games of the first account within the historical time period reach a preset number threshold as the first candidate function; or, Determining the candidate function whose win rate in the virtual games of the first account within the historical time period reaches a preset ratio threshold as the first candidate function.
13. A virtual game function exchange device, characterized in that, The device includes: A display module that displays the game preparation interface of the virtual game. The game preparation interface is used to select the virtual character to be used when participating in the virtual game. The virtual game includes a first camp, and the first camp includes a first account and a second account. The game preparation interface includes the function identifiers corresponding to the multiple accounts in the first camp respectively. The function identifier is used to indicate the game function performed by the multiple accounts in the first camp. The first account correspondingly displays the first function identifier, and the second account correspondingly displays the second function identifier; A first exchange module that, in the first stage of virtual character selection, in response to receiving a function exchange operation for the second function identifier, sends a first function exchange application to the second account. The first function exchange application is used to request the second account to exchange the game function with the first account; The display module is further used to, in response to the second account accepting the first function exchange application, associatively display the first account and the second function identifier, and associatively display the second account and the first function identifier.
14. A computer device, characterized in that, The computer device includes a processor and a memory. At least one program is stored in the memory, and the at least one program is loaded and executed by the processor to implement the virtual game function exchange method as described in any one of claims 1 to 12.
15. A computer-readable storage medium, characterized in that, At least one program is stored in the storage medium, and the at least one program is loaded and executed by a processor to implement the virtual game function exchange method according to any one of claims 1 to 12.
16. A computer program product, characterized in that, It includes a computer program, and when the computer program is executed by a processor, it implements the virtual game function exchange method according to any one of claims 1 to 12.