CN112121441B - Virtual object pairing method and device and storage medium - Google Patents

Virtual object pairing method and device and storage medium Download PDF

Info

Publication number
CN112121441B
CN112121441B CN202011025298.3A CN202011025298A CN112121441B CN 112121441 B CN112121441 B CN 112121441B CN 202011025298 A CN202011025298 A CN 202011025298A CN 112121441 B CN112121441 B CN 112121441B
Authority
CN
China
Prior art keywords
virtual
virtual object
task
current
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011025298.3A
Other languages
Chinese (zh)
Other versions
CN112121441A (en
Inventor
贾铸斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202011025298.3A priority Critical patent/CN112121441B/en
Publication of CN112121441A publication Critical patent/CN112121441A/en
Application granted granted Critical
Publication of CN112121441B publication Critical patent/CN112121441B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/70Game security or game management aspects
    • A63F13/79Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories
    • A63F13/795Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories for finding other players; for building a team; for providing a buddy list
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/50Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
    • A63F2300/55Details of game data or player data management
    • A63F2300/5546Details of game data or player data management using player registration data, e.g. identification, account, preferences, game history
    • A63F2300/5566Details of game data or player data management using player registration data, e.g. identification, account, preferences, game history by matching opponents or finding partners to build a team, e.g. by skill level, geographical area, background, play style

Abstract

The invention discloses a pairing method and device for virtual objects and a storage medium. Wherein, the method comprises the following steps: acquiring task requests which are triggered by game application clients respectively and used for requesting to join in a target virtual task; in the process of responding to the task request to run the target virtual task, under the condition of finishing the virtual interaction task of the previous round, updating respective interaction data of the virtual objects to obtain updated interaction data; and repeatedly executing the following steps by using the updated interactive data until the pairing condition of the virtual object in the current round after the last round is determined: determining a target virtual object matched with the current virtual object according to the updated interactive data; acquiring a next virtual object from virtual objects except the current virtual object as the current virtual object; and finishing the virtual interaction task of the current round according to the matching condition of the virtual objects in the current round. The invention solves the technical problem of lower matching accuracy of the virtual objects.

Description

Virtual object pairing method and device and storage medium
Technical Field
The invention relates to the field of computers, in particular to a pairing method and device of virtual objects and a storage medium.
Background
Many mission models are often configured in gaming applications to enrich the game content and attract more players of the user to participate. One of the task modes is to pair a plurality of virtual characters participating in a local virtual task and control one or more paired virtual characters to respectively complete a battle subtask in the local virtual task.
At present, in the pairing process of virtual characters provided by the related art, a fairness principle in a game pairing process is usually followed, that is, each time a paired virtual character is selected, a randomly selected scheme is used as a basis, but although the above scheme is intrinsically followed by the fairness principle in the game pairing process, in practical application, a situation that a pairing result of a virtual object allows a player to mistakenly assume that an unfair element exists in the pairing process often occurs, and further user experience is affected, for example, a situation that a pairing result of an engagement subtask in a current round is completely the same as a pairing result of an engagement subtask in a previous round occurs, and further a fairness in which the player challenges pairing occurs is caused, so that the user experience of the player is reduced.
Further, the reason why the above situation occurs is deeply studied, and it should be noted that the pairing method of the virtual objects provided in the related art cannot accurately pair a plurality of virtual characters participating in a local virtual task, and further cannot meet the user requirement of the player on the fairness of pairing. That is, the related art has a problem of low pairing accuracy.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a virtual object pairing method and device and a storage medium, which are used for at least solving the technical problem of low pairing accuracy of virtual objects.
According to an aspect of the embodiments of the present invention, there is provided a pairing method of virtual objects, including: acquiring task requests which are triggered by at least three game application clients respectively and used for requesting to join in a target virtual task, wherein virtual objects controlled by the at least three game application clients respectively in the target virtual task run at least one round of virtual interaction tasks; in the process of responding to the task request to run the target virtual task, under the condition of finishing the virtual interaction task in the previous round, updating respective interaction data of the virtual objects to obtain updated interaction data; repeatedly executing the following steps by using the updated interactive data until the pairing condition of the virtual object in the current round after the previous round is determined: determining a target virtual object matched with a current virtual object according to the updated interaction data, wherein the historical match times of the current virtual object and the target virtual object matched in the target virtual task to complete a match subtask are less than or equal to a first threshold value, and the virtual interaction task comprises at least one local match subtask; acquiring a next virtual object from the virtual objects except the current virtual object as the current virtual object; and completing the virtual interaction task of the current round according to the matching condition of the virtual objects in the current round.
According to another aspect of the embodiments of the present invention, there is also provided a pairing apparatus for a virtual object, including: the game system comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is used for acquiring task requests which are triggered by at least three game application clients respectively and used for requesting participation in a target virtual task, and virtual objects controlled by the at least three game application clients respectively in the target virtual task run at least one round of virtual interaction tasks; an updating unit, configured to update respective interaction data of the virtual objects to obtain updated interaction data when the virtual interaction task of a previous round is completed in a process of responding to the task request to run the target virtual task; repeatedly executing the following steps by using the updated interactive data until the pairing condition of the virtual object in the current round after the previous round is determined: a first determining unit, configured to determine, according to the updated interaction data, a target virtual object paired with a current virtual object, where a historical number of times of fight between the current virtual object and the target virtual object in the target virtual task is less than or equal to a first threshold, and the virtual interaction task includes at least one local fight subtask; acquiring a next virtual object from the virtual objects except the current virtual object as the current virtual object; and the completion unit is used for completing the virtual interaction task of the current round according to the matching condition of the virtual objects in the current round.
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, in which a computer program is stored, where the computer program is configured to execute the above-mentioned pairing method for virtual objects when running.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the method for pairing the virtual object through the computer program.
In the embodiment of the invention, task requests which are triggered by at least three game application clients respectively and used for requesting to join in a target virtual task are obtained, wherein virtual objects controlled by the at least three game application clients respectively in the target virtual task run at least one round of virtual interaction task; in the process of responding to the task request to run the target virtual task, under the condition of finishing the virtual interaction task in the previous round, updating respective interaction data of the virtual objects to obtain updated interaction data; repeatedly executing the following steps by using the updated interactive data until the pairing condition of the virtual object in the current round after the previous round is determined: determining a target virtual object matched with a current virtual object according to the updated interaction data, wherein the historical match times of the current virtual object and the target virtual object matched in the target virtual task to complete a match subtask are less than or equal to a first threshold value, and the virtual interaction task comprises at least one local match subtask; acquiring a next virtual object from the virtual objects except the current virtual object as the current virtual object; the virtual interaction task of the current round is completed according to the matching condition of the virtual objects in the current round, the mode of continuously updating the interaction data after the virtual interaction task of each round is finished is utilized, and the matching parties of the virtual interaction task of the current round are determined and completed through the updated interaction data, so that the aim of reducing the occurrence probability of the condition that the virtual objects are repeatedly matched and participate in the virtual interaction task is fulfilled, the matching accuracy of the virtual objects is improved, and the technical problem that the matching accuracy of the virtual objects is low is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a schematic diagram of an application environment of an alternative virtual object pairing method according to an embodiment of the invention;
FIG. 2 is a schematic diagram of a flow chart of an alternative virtual object pairing method according to an embodiment of the invention;
FIG. 3 is a schematic diagram of an alternative virtual object pairing method according to an embodiment of the invention;
FIG. 4 is a schematic diagram of an alternative virtual object pairing method according to an embodiment of the invention;
FIG. 5 is a schematic diagram of an alternative virtual object pairing method according to an embodiment of the invention;
FIG. 6 is a schematic diagram of an alternative virtual object pairing method according to an embodiment of the invention;
FIG. 7 is a schematic diagram of an alternative virtual object pairing method according to an embodiment of the invention;
FIG. 8 is a schematic diagram of an alternative virtual object pairing method according to an embodiment of the invention;
FIG. 9 is a schematic diagram of an alternative virtual object pairing method according to an embodiment of the invention;
FIG. 10 is a schematic diagram of an alternative virtual object pairing apparatus according to an embodiment of the invention;
FIG. 11 is a schematic diagram of an alternative virtual object pairing apparatus according to an embodiment of the invention;
FIG. 12 is a schematic diagram of an alternative virtual object pairing apparatus according to an embodiment of the invention;
FIG. 13 is a schematic diagram of an alternative virtual object pairing apparatus according to an embodiment of the invention;
FIG. 14 is a schematic diagram of an alternative virtual object pairing apparatus according to an embodiment of the invention;
fig. 15 is a schematic structural diagram of an alternative electronic device according to an embodiment of the invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an aspect of the embodiments of the present invention, a method for pairing virtual objects is provided, and optionally, as an optional implementation manner, the method for pairing virtual objects may be applied, but not limited to, to an environment as shown in fig. 1. The user device 102, the network 110, and the server 112 may be, but is not limited to being, included, wherein the user device 102 may include, but is not limited to, the display 108, the processor 106, and the memory 104, the display 108 may be, but is not limited to, being used to present a virtual game scene in a game application client running on the user device 102, for example, a current game application client running on the user device 102 is used to control a virtual object with a sequence number "1", and a current game screen displayed on the display 108 may be, but is not limited to, a game application client representing a virtual object respectively controlling a sequence number "2", a virtual object with a sequence number "3", and a virtual object with a sequence number "4", which have each triggered a task request for requesting participation in a target virtual task.
The specific process comprises the following steps:
step S102, the user equipment 102 acquires a task request for requesting participation in the target virtual task triggered at the "prepare" position on the right side of the virtual object with the serial number "1" on the display 108, wherein, as shown in fig. 1, the game application clients respectively controlling the virtual object with the serial number "2", the virtual object with the serial number "3", and the virtual object with the serial number "4" have each triggered a task request (OK!) for requesting participation in the target virtual task;
steps S104-S106, the user device 102 sends a task request to the server 112 via the network 110;
in step S108, the server 112 processes the task request sent by the user device 102 and other task requests triggered by the game application clients requesting to participate in the target virtual task recorded in the database 114 through the processing engine 116 via the database 114, thereby generating a pairing result of the virtual interactive task of at least one round in the target virtual task, storing the pairing result in the database 114, wherein the target virtual task includes at least one round of virtual interactive task, the pairing result can be but is not limited to indicate the pairing result (pairing situation) of the virtual interactive task of one round, to indicate that, in the above-described one-round virtual interactive task, the paired virtual object of the battle subtask is executed, wherein, the virtual interaction task may include, but is not limited to, at least one local battle subtask, and the local battle subtask may include, but is not limited to, at least two virtual objects;
in steps S110 to S112, the server 112 sends the pairing result to the user equipment 102 through the network 110, the processor 106 in the user equipment 102 determines, according to the pairing result, that the pairing virtual object executing the battle subtask a1024 in the first-round virtual interactive task 1022 is the virtual object with the sequence number "1" and the virtual object with the sequence number "2", and the pairing virtual object executing the battle subtask B1026 is the virtual object with the sequence number "3" and the virtual object with the sequence number "4", and stores the pairing result and the completion result (completion condition) after the completion of the first-round virtual interactive task 1022 in the memory 104.
Furthermore, optionally, after the first-round virtual interaction task 1022 is completed, the user equipment 102 sends a completion result (completion condition) of the first-round virtual interaction task 1022 to the server 112 through the network 110, and then the server 112 determines a pairing result of a next round (second round) according to the received completion result and sends the pairing result to the user equipment 102, so that the processor 106 in the user equipment 102 determines, according to the pairing result of the second round, that the pairing virtual object executing the fighting subtask C1030 in the second-round virtual interaction task 1028 is a virtual object with sequence number "1" and a virtual object with sequence number "4", and the pairing virtual object executing the fighting subtask D1032 is a virtual object with sequence number "2" and a virtual object with sequence number "3";
optionally, the execution of virtual interactive tasks of other rounds may be consistent with, but not limited to, the execution logic of first-round virtual interactive tasks 1022 and second-round virtual interactive tasks 1028. In other words, the optional completion result of the virtual interactive task of the previous round influences the pairing result of the virtual interactive task of the next round.
Optionally, as an optional implementation manner, as shown in fig. 2, the pairing method of the virtual object includes:
s202, task requests which are triggered by at least three game application clients respectively and used for requesting participation in a target virtual task are obtained, wherein virtual objects controlled by the at least three game application clients respectively in the target virtual task run at least one round of virtual interaction tasks;
s204, in the process of responding to the task request to run the target virtual task, under the condition of finishing the virtual interaction task of the previous round, updating respective interaction data of the virtual objects to obtain updated interaction data; and repeatedly executing the following steps by using the updated interactive data until the pairing condition of the virtual object in the current round after the previous round is determined:
s206, determining a target virtual object matched with the current virtual object according to the updated interactive data, wherein the historical match times of the match sub-task finished by matching the current virtual object and the target virtual object in the target virtual task are less than or equal to a first threshold value, and the virtual interactive task comprises at least one local match sub-task; acquiring a next virtual object from virtual objects except the current virtual object as the current virtual object;
and S208, completing the virtual interaction task of the current round according to the pairing condition of the virtual objects in the current round.
Optionally, in this embodiment, the pairing method for the virtual object may be applied to, but not limited to, a game application, such as a multiplayer online match game application. In the process of running a game task of a one-player online match-up game, game players participating in the game task respectively play, match with other game players and complete the match-up task, a winning party can but is not limited to obtain rewards, such as increasing blood volume or energy value or points, and the like, a losing party can but is not limited to be punished, such as reducing blood volume or energy value or points, and the like, and if the target attributes (such as blood volume or energy value or points, and the like) of the game players participating in the game task are cleared, the game players are considered to be quitted from the game task, the game task can but is not limited to be executed for a plurality of rounds until only one game player participating in the game task remains, the game task is considered to be ended, and the only remaining game players are determined to be the final winner of the game task.
Optionally, in this embodiment, the game application may be a Multiplayer Online tactical sports game (MOBA) application, or may also be a Multiplayer Online chess and card game application. The types of gaming applications described above may include, but are not limited to, at least one of: two-dimensional (2D) game applications, Three-dimensional (3D) game applications, Virtual Reality (VR) game applications, Augmented Reality (AR) game applications, Mixed Reality (MR) game applications. The above is merely an example, and the present embodiment is not limited to this.
Alternatively, in this embodiment, the target virtual task may be, but is not limited to, a virtual game battle task involving at least three virtual objects, wherein the target virtual task includes at least one round of virtual interaction task, and the virtual interaction task includes at least one round of battle subtask, and the battle subtask includes at least two virtual objects participating in the target virtual task, and optionally, the relationship between the target virtual task, the virtual interaction task, and the battle subtask is, for example, as shown in fig. 3, assuming that six virtual objects "a", a virtual object "B", a virtual object "C", a virtual object "D", a virtual object "E", and a virtual object "F" included in the virtual object set 302 are virtual objects requesting to participate in the target virtual task, and controlling the six virtual objects to participate in the target virtual task may be, but is not limited to, representing controlling the six virtual objects to participate in the virtual interaction task involving at least one round, and a virtual interactive task of controlling six virtual objects to participate in at least one round may, but is not limited to, mean that six virtual objects are controlled to participate in at least one battle subtask;
specifically, for example, the optional pairing of the virtual object "a" and the virtual object "B" to participate in the battle subtask a may be, but is not limited to, indicating that the virtual object "a" and the virtual object "B" participate in the target virtual task, or indicating that the virtual object "a" and the virtual object "B" participate in the virtual interaction task of the first round;
similarly, the optional pairing of the virtual object "a" and the virtual object "C" for the battle subtask D may be, but is not limited to, indicating that the virtual object "a" and the virtual object "C" participate in the target virtual task, or indicating that the virtual object "a" and the virtual object "C" participate in the virtual interaction task of the second round.
Further, based on the scenario shown in fig. 3, continuing to illustrate by way of example in fig. 4, optionally, after completing the virtual interaction task of the second round, for example, the virtual object "C", the virtual object "B", and the virtual object "D" exit the target virtual task, or the virtual object "C", the virtual object "B", and the virtual object "D" have completed the target virtual task;
optionally, the basis for determining that the virtual object "C", the virtual object "B" and the virtual object "D" exit or complete the target virtual task may be, but is not limited to, the result of the battle subtask D, the battle subtask E and the battle subtask F. For example, in the process that the virtual object "a" and the virtual object "C" are paired to participate in the fighting subtask D, if the damage value caused by the virtual object "a" to the virtual object "C" is greater than or equal to the current life value of the virtual object "C", it is determined that the virtual object "C" is killed by the virtual object "a", and then the completion result of the fighting subtask D indicates that the virtual object "a" wins, the virtual object "C" fails, or the virtual object "a" is completed, and the virtual object "C" exits;
optionally, the basis for determining that the virtual object "C", the virtual object "B" and the virtual object "D" exit or complete the target virtual task may be, but is not limited to, the battle results of the battle subtask a, the battle subtask B, the battle subtask C, the battle subtask D, the battle subtask E and the battle subtask F. For example, when the virtual object "C" loses the total of the base point and the added point of the virtual object "C" in the process of participating in the battle subtasks B and D, it is determined that the virtual object "C" fails or the virtual object "C" exits.
Furthermore, for example, only the virtual object "a", the virtual object "E", and the virtual object "F" left for participating in (executing) the virtual interaction task of the third round may be selected, and since the total number of the virtual objects does not satisfy the condition that two virtual objects are paired and not repeated in a single round, one virtual object may be randomly extracted from the virtual object "a", the virtual object "E", and the virtual object "F" as the wheel-space virtual object of the virtual interaction task of the third round, for example, the virtual object "F" is used as the wheel-space virtual object of the virtual interaction task of the third round, and the fighting subtask G is executed as the virtual object "a" and the virtual object "E";
alternatively, for example, optionally, in a case that the total number of the virtual objects does not satisfy a condition of pairwise pairing and non-duplication in a single round, the remaining all virtual objects may be paired pairwise, but not limited to pairwise pairing, so as to ensure that each remaining virtual object is paired with other remaining virtual objects, specifically, as shown in fig. 5, in the virtual object set 502, a virtual object "a", a virtual object "B", and a virtual object "C" involved in the virtual interaction task of the current round are included, and in a case that the virtual object "a", the virtual object "B", and the virtual object "C" cannot satisfy a condition of pairwise pairing and non-duplication in a single round, the virtual object "a", the virtual object "B", and the virtual object "C" are paired pairwise in a duplication manner, wherein each virtual object in the duplication pair-wise pairing needs to satisfy the condition of virtual object "a", the virtual object "B", and the virtual object "C" with other remaining virtual objects The object pairing executes the battle subtask, specifically, taking the virtual object "B" in the virtual object set 502 as an example, the virtual object "B" is paired with the virtual object "C" and the battle subtask 504 is executed, and the virtual object "B" is paired with the virtual object "a" and the battle subtask 506 is executed, so that in the virtual interaction task of this round, the condition that the virtual object "B" and other remaining virtual objects are paired to execute the battle subtask is ensured.
Optionally, in this embodiment, the interaction data may be, but is not limited to, pairing data of each virtual object in the running process of the target virtual task, where the pairing data may include, but is not limited to: as shown in fig. 3, for example, in the optional virtual interaction task of the virtual object "a" and the virtual object "B", the generated first pairing data is used to indicate that the pairing frequency of the virtual object "a" and the pairing frequency of the virtual object "B" are increased by one;
further, optionally, for example, in the virtual interaction task of the second round, the generated second pairing data is used to indicate that the pairing frequency of the virtual object "a" and the virtual object "B" is 0, and after the virtual interaction task of the second round is completed, the first pairing data and the second pairing data are combined to determine that the pairing frequency of the third pairing data of the virtual object "a" and the virtual object "B" is accumulated to be 1.
Optionally, in this embodiment, the target virtual object paired with the current virtual object is determined according to the updated interaction data, but the method may be, but not limited to, determining the virtual object paired with the current virtual object that is not repeatedly paired with the current virtual object according to the updated interaction data, for example, the updated interaction data records a first virtual object paired with the current virtual object 3 times, and records a second virtual object paired with the current virtual object 1 times, and then the second virtual object is determined as the target virtual object based on a consideration of less repetition of pairing.
Optionally, in this embodiment, the target virtual object paired with the current virtual object is determined according to the updated interaction data, but the determination may be not limited to that the target virtual object paired with the current virtual object is a virtual object paired with the current virtual object and the duration of completing the battle subtask is less than the preset duration threshold according to the updated interaction data, for example, a third virtual object paired with the current virtual object is recorded in the updated interaction data, the duration of completing the battle subtask by pairing the third virtual object and the current virtual object is one minute, and the duration of completing the battle subtask by pairing the fourth virtual object and the current virtual object is two minutes, and then the third virtual object is determined as the target virtual object based on the consideration of improving the task execution efficiency.
Optionally, in this embodiment, the target virtual object paired with the current virtual object is determined according to the updated interaction data, but the method may not be limited to determining the historical match rate of the match subtask with the current virtual object and the historical match rates of the match subtasks of other virtual objects to be paired according to the updated interaction data, and determining the virtual object satisfying the preset match rate condition with the historical match rate as the target virtual object, for example, based on a consideration that the most wonderful strong match is left in the late stage of completion of the target virtual task, in the early stage of pairing, the virtual object with higher historical match rate is paired with the virtual object with lower historical match rate.
It should be noted that, task requests for requesting participation in a target virtual task, which are triggered by at least three game application clients respectively, are obtained, wherein virtual objects controlled by at least three game application clients respectively in the target virtual task will run at least one round of virtual interaction task; in the process of responding to the task request to run the target virtual task, under the condition of finishing the virtual interaction task of the previous round, updating respective interaction data of the virtual objects to obtain updated interaction data; and repeatedly executing the following steps by using the updated interactive data until the pairing condition of the virtual object in the current round after the previous round is determined: determining a target virtual object matched with the current virtual object according to the updated interaction data, wherein the historical match times of the match subtask completed by matching the current virtual object and the target virtual object in the target virtual task are less than or equal to a first threshold value, and the virtual interaction task comprises at least one local match subtask; acquiring a next virtual object from virtual objects except the current virtual object as the current virtual object; and finishing the virtual interaction task of the current round according to the matching condition of the virtual objects in the current round.
For further example, as shown in fig. 6, the following steps may be optionally performed:
step S602, a task request triggered by a game application client for requesting participation in a target virtual task is obtained, wherein the target virtual task is set to be participated or completed by at least three virtual objects, and the game application client is used for controlling the virtual objects;
step S604, initializing interactive data of the virtual object which requests to participate in the target virtual task outside the target virtual task;
step S606, determining the virtual object of the battle subtask in the virtual interaction tasks participating in the current round, wherein the target virtual task is set to be the virtual interaction task at least comprising one round, the virtual interaction task is set to be the battle subtask at least comprising one round, and the battle subtask is completed by at least two virtual objects;
step S608, determining whether the virtual object meets the condition for participating in the virtual interactive task of the next round, if yes, performing step S606, if no, performing step S610, specifically, for example, after the virtual object completes the battle subtask in the virtual interactive task of the current round, determining whether the target attribute of the virtual object is lower than a first threshold, if yes, determining that the target attribute does not meet the condition for participating in the virtual interactive task of the next round;
step S610 of determining virtual objects to be paired for the battle subtasks among the virtual interactive tasks participating in the next round, wherein the number of virtual objects participating in the virtual interactive tasks in the next round is relatively reduced compared to the number of virtual objects participating in the virtual interactive tasks in the previous round (i.e., the current round) because some of the virtual objects are determined not to satisfy the condition for participating in the virtual interactive tasks in the next round;
step S612, determining whether the target virtual task reaches a completion condition, if yes, performing step S614, if no, performing step S606, and specifically, for example, if the number of virtual objects determined in step S610 is lower than a second threshold, determining that the target virtual task reaches the completion condition;
in step S614, a target virtual object for completing the target virtual task is determined, where the target virtual object is the virtual object determined in step S610 when it is determined in step S612 that the target virtual task reaches the completion condition.
The above description is only an example, and the determination of whether the virtual object satisfies the condition for participating in the next round of virtual interactive task and the determination of the target virtual task reaching completion condition are not limited to the conditions in the above description, and the execution logic shown in the above figures is also an example, which is not limited in this embodiment.
By the embodiment provided by the application, task requests triggered by at least three game application clients respectively and used for requesting participation in a target virtual task are obtained, wherein virtual objects controlled by at least three game application clients respectively in the target virtual task run at least one round of virtual interaction task; in the process of responding to the task request to run the target virtual task, under the condition of finishing the virtual interaction task of the previous round, updating respective interaction data of the virtual objects to obtain updated interaction data; and repeatedly executing the following steps by using the updated interactive data until the pairing condition of the virtual object in the current round after the previous round is determined: determining a target virtual object matched with the current virtual object according to the updated interaction data, wherein the historical match times of the match subtask completed by matching the current virtual object and the target virtual object in the target virtual task are less than or equal to a first threshold value, and the virtual interaction task comprises at least one local match subtask; acquiring a next virtual object from virtual objects except the current virtual object as the current virtual object; the method comprises the steps of completing the virtual interaction task of the current round according to the matching condition of the virtual objects in the current round, continuously updating the interactive data after the virtual interaction task of each round is completed, and determining the two matching parties for completing the virtual interaction task of the current round according to the updated interactive data, so that the aim of reducing the occurrence probability of the condition that the virtual objects are repeatedly matched to participate in the virtual interaction task is fulfilled, and the matching accuracy of the virtual objects is improved.
As an optional solution, determining the target virtual object paired with the current virtual object according to the updated interaction data includes:
s1, acquiring a plurality of historical combat times obtained after the current virtual object and other virtual objects except the current virtual object are matched with each other to complete combat subtasks from the updated interactive data;
s2, obtaining the minimum historical fight times from the multiple historical fight times;
and S3, determining the virtual object corresponding to the minimum historical fight frequency as the target virtual object.
It should be noted that, the interaction data is updated according to the virtual interaction tasks completed in the historical turns of the target virtual character; and obtaining the historical fight times in the updated interactive data, and determining a target virtual object in the virtual interactive tasks of the current round, which is matched with the current virtual object to participate in the fight subtasks of the virtual interactive tasks of the current round, in other virtual objects except the current virtual object according to the historical fight interactive times.
Further by way of example, as shown in fig. 7(a), optionally, a game screen of a first-round virtual interactive task is displayed on the game application client, wherein in the first-round virtual interactive task, a battle subtask a702 and a battle subtask B704 are included, and the battle subtask a702 is completed by pairing a virtual object number one (denoted by numeral 1) and a virtual object number two (denoted by numeral 2), and the battle subtask B704 is completed by pairing a virtual object number three (denoted by numeral 3) and a virtual object number four (denoted by numeral 4), then after the first-round virtual interactive task is completed, the number of historical battles generated based on the first-round virtual interactive task (as shown in the right-side table, in which the hatching represents the number of the virtual object, black represents that the repeated virtual object is not paired, and numeral 1 in the white space represents pairing 1, similarly, the numbers 2, 0 in the white space represent pairs 2 and 0, respectively);
further, optionally, for example, as shown in fig. 7(b), a game screen of a virtual interactive task of a second round (the second round is a next round of the first round) is displayed on the game application client, assuming that a virtual object in the virtual interactive task of the second round, which is a battle subtask, is not yet paired, and further taking the first virtual object as an example, first, a historical pairing frequency of the first virtual object is obtained according to a historical battle frequency generated based on the virtual interactive task of the first round, specifically, the historical pairing frequency of the first virtual object and the second virtual object is 1, the historical pairing frequency of the first virtual object and the third virtual object is 0, and the historical pairing frequency of the first virtual object and the fourth virtual object is 0, it can be seen that the least historical number of pairings are virtual object number three and virtual object number four; optionally, one virtual object is selected from the third virtual object and the fourth virtual object and determined as the target virtual object.
According to the embodiment provided by the application, a plurality of historical fight times obtained after the current virtual object and other virtual objects except the current virtual object are respectively paired to complete fight subtasks are obtained from the updated interactive data; acquiring the minimum historical fight frequency from a plurality of historical fight frequencies; the virtual object corresponding to the minimum historical fight frequency is determined as the target virtual object, so that the aim of avoiding repeated virtual object matching results is fulfilled, and the effect of improving the object matching accuracy is achieved.
As an optional scheme, after acquiring task requests for requesting participation in the target virtual task, which are triggered by at least three game application clients respectively, the method further includes:
and orderly arranging the object identifications of the virtual objects to obtain a target virtual object sequence.
It should be noted that the object id of the original virtual object is used to distinguish different virtual objects, but may be, but is not limited to, not having a sequential attribute, and the object id of the virtual object is assigned to the sequential attribute to obtain the target virtual object sequence.
Further, for example, as shown in fig. 8, optionally, a game start phase interface is displayed on the game application client, where four virtual objects are displayed on the game start phase interface, and object identifiers of the four virtual objects are "1", "2", "3", and "4", respectively, it should be noted that, even if the object identifier is a number, optionally, the object identifier may be, but is not limited to, used to distinguish different virtual objects;
furthermore, optionally, for example, based on the object identifier and giving a sequence attribute, a target object sequence 802 is obtained, where the target object sequence 802 records an object identifier that can distinguish the four virtual objects, and the object identifier recorded in the target object sequence 802 also carries a sequencing position of the object identifier in the target object sequence 802.
By the embodiment provided by the application, the object identifications of the virtual objects are orderly arranged to obtain the target virtual object sequence, and the object identification sequence attributes for distinguishing different virtual objects are given, so that the purpose of flexibly identifying the virtual objects is achieved, and the effect of improving the identification flexibility of the virtual objects is realized.
As an optional solution, determining the target virtual object paired with the current virtual object according to the updated interaction data includes:
s1, determining a target virtual object set according to the updated interactive data, wherein the target virtual object set comprises: a plurality of candidate virtual objects which are matched with the current virtual object in the target virtual task and finish the fighting subtask, wherein the historical fighting times are less than or equal to a first threshold value;
s2, acquiring the current sorting position of the current virtual object in the target virtual object sequence and the candidate sorting positions of a plurality of candidate virtual objects in the target virtual object sequence;
s3, determining a target sorting position which is closest to the current sorting position from the plurality of candidate sorting positions;
and S4, determining the candidate virtual object corresponding to the target sorting position as the target virtual object.
It should be noted that, in an optional case, if there are multiple candidate virtual objects in the target virtual task, where the number of times of historical engagement for completing the engagement subtasks in pairing with the current virtual object is less than or equal to the first threshold, a determination means is needed to determine a target virtual object among the multiple candidate virtual objects, and optionally, a target virtual object closest to the current virtual object in the ranking position of the target virtual object sequence is determined in the multiple candidate virtual objects by using the object identifier carrying the ranking position recorded in the target virtual object sequence through the target virtual object sequence.
For further example, as shown in fig. 8, it is determined that the target sorting position closest to the current sorting position is selectable from the multiple candidate sorting positions, and assuming that the current sorting position is 1 in the target virtual object sequence 802 and the multiple candidate sorting positions include 3 and 4 in the target virtual object sequence 802, based on the distance being closest, the candidate sorting position 3 closest to the current sorting position 1 is selected as the target sorting position from the multiple candidate sorting positions 3 and 4.
Through the embodiment provided by the application, a target virtual object set is determined according to the updated interaction data, wherein the target virtual object set comprises: a plurality of candidate virtual objects which are matched with the current virtual object in the target virtual task and finish the fighting subtask, wherein the historical fighting times are less than or equal to a first threshold value; acquiring the current sorting position of a current virtual object in a target virtual object sequence and the candidate sorting positions of a plurality of candidate virtual objects in the target virtual object sequence; determining a target sorting position closest to the current sorting position from the plurality of candidate sorting positions; the candidate virtual object corresponding to the target sorting position is determined as the target virtual object, so that the aim of quickly determining the target virtual object based on the sorting distance is fulfilled, and the effect of improving the determination efficiency of the target virtual object is realized.
As an optional scheme, after completing the virtual interaction task of the current round according to the pairing condition of the virtual object in the current round, the method includes:
s1, acquiring the interaction result of the virtual interaction task of the current round;
s2, adjusting the life attribute value of the virtual object according to the interaction result to obtain the adjusted life attribute value;
and S3, controlling the virtual object with the adjusted life attribute value reaching the target value, and exiting the virtual interaction task of the next round after the current round.
It should be noted that, in the execution process of the target virtual task, the virtual objects meeting the exit condition need to be controlled to exit the virtual interaction task of the next round after the current round until the number of virtual objects participating in the target virtual task meets the completion condition, and the completion of the target virtual task is determined, where the exit condition may include, but is not limited to, that the life attribute value of the virtual object is lower than 0.
For further example, as shown in fig. 4, the virtual object whose life attribute value reaches the target value after being adjusted is controlled, and the virtual interaction task in the next round after exiting the current round may be selected, for example, if the current round is the second round, the next round after the current round is the third round, and after the virtual interaction task in the second round is completed, and the life attribute values of the virtual object C, the virtual object B, and the virtual object D are obtained as 0, the virtual object C, the virtual object B, and the virtual object D are controlled to exit the virtual interaction task in the third round.
According to the embodiment provided by the application, the interaction result of the virtual interaction task of the current round is obtained; adjusting the life attribute value of the virtual object according to the interaction result to obtain an adjusted life attribute value; and controlling the virtual object with the adjusted life attribute value reaching the target value, exiting the virtual interactive task of the next round after the current round, and utilizing a mode of timely controlling the virtual object meeting the exiting condition to exit the target virtual task, thereby achieving the purpose of accelerating the completion process of the target virtual task and realizing the effect of improving the completion efficiency of the target virtual task.
As an optional scheme, after the life attribute value of the virtual object is adjusted according to the interaction result, obtaining an adjusted life attribute value, the method includes:
and determining a task completion condition for achieving the target virtual task when the number of virtual objects of which the adjusted life attribute values do not reach the target value reaches 1.
It should be noted that the task completion condition of the target virtual task may be, but is not limited to, that the number of virtual objects set to participate in the virtual interaction task is 1.
Further by way of example, based on the scenario shown in fig. 3 and continuing to be illustrated in fig. 9, optionally, it is assumed that a completion result of the virtual interaction task in the third round indicates that the virtual object "E" exits the virtual interaction task in the fourth round, and the virtual object "a" and the virtual object "F" participate in the virtual interaction task in the fourth round, and further it is determined that the virtual objects that pair the battle subtasks J in the virtual interaction tasks that participate in the fourth round are the virtual object "a" and the virtual object "F", on the basis of which, the number of the virtual objects that participate in the virtual interaction task in the fourth round is obtained and is not 1, so as to determine that the task completion condition of the target virtual task is not reached;
further, it is assumed that the completion result of the virtual interactive task of the fourth round indicates that the virtual object "F" exits the virtual interactive task of the fifth round, and the virtual object "a" participates in the virtual interactive task of the fourth round, and further determines that the virtual object paired with the battle subtask K in the virtual interactive task participating in the fifth round is the virtual object "a", on this basis, the number of the virtual objects participating in the virtual interactive task of the fifth round is acquired as 1, thereby determining the task completion condition for reaching the target virtual task.
By the embodiment provided by the application, under the condition that the number of the virtual objects of which the adjusted life attribute values do not reach the target value reaches 1, the task completion condition reaching the target virtual task is determined, the purpose of completely executing the target virtual task is achieved, and the effect of improving the execution integrity of the target virtual task is achieved.
As an alternative, for convenience of understanding, the implementation of the pairing method for the virtual object is represented in the form of a two-dimensional matrix, as follows:
the matching times of players in the process of applying the virtual object pairing method to a battle game scene and playing the battle game scene are counted in a two-dimensional matrix, wherein the initial matching times are shown in the following table (1):
Figure BDA0002701957840000191
watch (1)
Wherein, a0, B0, C0, D0, E0 and F0 are different players in a battle game scene, a1, B1, C1, D1, E1 and F1 are also different players in a battle game scene, a0 and a1 are the same player in the battle game scene, B0 and B1 are the same player in the battle game scene, and so on, C0 and C1, D0 and D1, E0 and E1, F0 and F1 are the same player in the battle game scene, and the number "0" indicates that the number of matching battles is 0;
further, based on the above table (1), the fighting combinations composed among the same players are set as invalid fighting combinations as shown in the following table (2):
Figure BDA0002701957840000201
watch (2)
Wherein the symbol "-" is used to indicate an invalid fight combination;
further, based on the above table (1) and table (2), the implementation process of the virtual object pairing method is described by taking the player A1 as an example, specifically, the player A1 searches the matrix data statistics table (the above table (1) and table (2)) for the player with the least number of matches with itself, selects the player with the current round matching (pairing) with the player A1 to a group, for example, selects the player B0 shown in the following table (3) (when a plurality of players with the same number of matches occur, the first occurring object is selected), and counts the number of A1B0 in the table by +1 (that is, the final result is 1); b0 is selected from A1, which is actually equivalent to B0 selecting A1, no successive division exists in the combination, the count of A0B1 is equal to +1 (namely, the final result is 1), and because B is successfully paired, the round matching does not participate any more; after a is selected, the matrix statistics are shown in table (3) below, for example:
Figure BDA0002701957840000202
watch (3)
Figure BDA0002701957840000211
Continuation watch (3)
Optionally, in this embodiment, a specific matching (pairing) selection method is as follows:
the matching selection method of the step a) A1 comprises the following steps: min { A1B0, A1C0, A1D0, A1E0, A1F0}, all coordinate values are 0, A1B0 appearing first is selected, matching is valid, A1B0 is set to 1, and A0B1 is set to 1 (in-combination order-independent principle);
step B) B is successfully matched with A, and the match B in the current round does not participate any more;
the matching selection method of the step C) C comprises the following steps: min { C1D0, C1E0, C1, F0}, selecting D0 according to the method a), setting C1D0 to 1, and setting C0D1 to 1;
step D) referring to the strategy B in the step B), D does not participate in the next match of the current round any more;
the matching and matching method of the step E) E comprises the following steps: min { E1F0}, setting E1F0 to 1, E0F1 to 1;
alternatively, the score distribution after the first round matching match is completed may be, but is not limited to, as shown in table (4) based on the scenario shown in table (3):
Figure BDA0002701957840000212
watch (4)
Figure BDA0002701957840000221
Watch (4)
By way of further example, twenty times after the target virtual task is executed in the above matching (pairing) selection method, the score distribution may be, but is not limited to, as shown in table (5) based on the scenario shown in table (3):
Figure BDA0002701957840000222
watch (5)
Further, optionally, if the player loses his blood volume to 0 during the course of the match, the player will not continue to participate in the next match, assuming C0 is lost, and the score distribution may be, but is not limited to, as shown in Table (6) based on the scenario shown in Table (3):
Figure BDA0002701957840000223
watch (6)
Figure BDA0002701957840000231
Continuation watch (6)
Finally, optionally, the target virtual task is executed circularly according to the matching (pairing) selection method until only one live player is left in the game pair, and the game pair is ended.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
According to another aspect of the embodiments of the present invention, there is also provided a pairing apparatus for a virtual object, which is used for implementing the pairing apparatus for a virtual object described above. As shown in fig. 10, the apparatus includes:
a first obtaining unit 1002, configured to obtain task requests, triggered by at least three game application clients, for requesting to join a target virtual task, where virtual objects controlled by the at least three game application clients in the target virtual task will run at least one round of virtual interaction task;
an updating unit 1004, configured to update respective interaction data of the virtual object to obtain updated interaction data when completing a virtual interaction task of a previous round in a process of running the target virtual task in response to the task request; and repeatedly executing the following steps by using the updated interactive data until the pairing condition of the virtual object in the current round after the previous round is determined:
a first determining unit 1006, configured to determine, according to the updated interaction data, a target virtual object paired with the current virtual object, where a historical number of times of fight between the current virtual object and the target virtual object in a target virtual task that completes a fight subtask is less than or equal to a first threshold, and the virtual interaction task includes at least one local fight subtask; acquiring a next virtual object from virtual objects except the current virtual object as the current virtual object;
a completing unit 1008, configured to complete the virtual interaction task of the current round according to the pairing condition of the virtual objects in the current round.
Optionally, in this embodiment, the pairing device of the virtual object may be applied to, but not limited to, a game application, such as a multiplayer online match game application. In the process of running a game task of a one-player online match-up game, game players participating in the game task respectively play, match with other game players and complete the match-up task, a winning party can but is not limited to obtain rewards, such as increasing blood volume or energy value or points, and the like, a losing party can but is not limited to be punished, such as reducing blood volume or energy value or points, and the like, and if the target attributes (such as blood volume or energy value or points, and the like) of the game players participating in the game task are cleared, the game players are considered to be quitted from the game task, the game task can but is not limited to be executed for a plurality of rounds until only one game player participating in the game task remains, the game task is considered to be ended, and the only remaining game players are determined to be the final winner of the game task.
Optionally, in this embodiment, the game application may be a Multiplayer Online tactical sports game (MOBA) application, or may also be a Multiplayer Online chess and card game application. The types of gaming applications described above may include, but are not limited to, at least one of: two-dimensional (2D) game applications, Three-dimensional (3D) game applications, Virtual Reality (VR) game applications, Augmented Reality (AR) game applications, Mixed Reality (MR) game applications. The above is merely an example, and the present embodiment is not limited to this.
It should be noted that, task requests for requesting participation in a target virtual task, which are triggered by at least three game application clients respectively, are obtained, wherein virtual objects controlled by at least three game application clients respectively in the target virtual task will run at least one round of virtual interaction task; in the process of responding to the task request to run the target virtual task, under the condition of finishing the virtual interaction task of the previous round, updating respective interaction data of the virtual objects to obtain updated interaction data; and repeatedly executing the following steps by using the updated interactive data until the pairing condition of the virtual object in the current round after the previous round is determined: determining a target virtual object matched with the current virtual object according to the updated interaction data, wherein the historical match times of the match subtask completed by matching the current virtual object and the target virtual object in the target virtual task are less than or equal to a first threshold value, and the virtual interaction task comprises at least one local match subtask; acquiring a next virtual object from virtual objects except the current virtual object as the current virtual object; and finishing the virtual interaction task of the current round according to the matching condition of the virtual objects in the current round.
For a specific embodiment, reference may be made to the example shown in the pairing apparatus for virtual objects, which is not described herein again in this example.
By the embodiment provided by the application, task requests which are triggered by at least three game application clients respectively and used for requesting to join in the target virtual task are obtained, wherein virtual objects controlled by at least three game application clients respectively in the target virtual task run at least one round of virtual interaction task; in the process of responding to the task request to run the target virtual task, under the condition of finishing the virtual interaction task of the previous round, updating respective interaction data of the virtual objects to obtain updated interaction data; and repeatedly executing the following steps by using the updated interactive data until the pairing condition of the virtual object in the current round after the previous round is determined: determining a target virtual object matched with the current virtual object according to the updated interaction data, wherein the historical match times of the match subtask completed by matching the current virtual object and the target virtual object in the target virtual task are less than or equal to a first threshold value, and the virtual interaction task comprises at least one local match subtask; acquiring a next virtual object from virtual objects except the current virtual object as the current virtual object; the method comprises the steps of completing the virtual interaction task of the current round according to the matching condition of the virtual objects in the current round, continuously updating the interactive data after the virtual interaction task of each round is completed, and determining the two matching parties for completing the virtual interaction task of the current round according to the updated interactive data, so that the aim of reducing the occurrence probability of the condition that the virtual objects are repeatedly matched to participate in the virtual interaction task is fulfilled, and the matching accuracy of the virtual objects is improved.
As an alternative, as shown in fig. 11, the first determining unit 1006 includes:
a first obtaining module 1102, configured to obtain, from the updated interactive data, a plurality of historical combat times obtained after the current virtual object and other virtual objects except the current virtual object are paired and complete combat subtasks respectively;
a second obtaining module 1104, configured to obtain a minimum historical number of matches from the multiple historical numbers of matches;
a first determining module 1106, configured to determine the virtual object corresponding to the minimum historical number of matches as a target virtual object.
For a specific embodiment, reference may be made to an example shown in the foregoing virtual object pairing method, which is not described herein again in this example.
As an optional scheme, the method further comprises the following steps:
and the second acquisition unit is used for orderly arranging the object identifications of the virtual objects after acquiring the task requests which are triggered by the at least three game application clients respectively and used for requesting to participate in the target virtual task so as to obtain a target virtual object sequence.
For a specific embodiment, reference may be made to an example shown in the foregoing virtual object pairing method, which is not described herein again in this example.
As an alternative, as shown in fig. 12, the first determining unit 1006 includes:
a second determining module 1202, configured to determine a target virtual object set according to the updated interaction data, where the target virtual object set includes: a plurality of candidate virtual objects which are matched with the current virtual object in the target virtual task and finish the fighting subtask, wherein the historical fighting times are less than or equal to a first threshold value;
a third obtaining module 1204, configured to obtain a current ranking position of the current virtual object in the target virtual object sequence, and candidate ranking positions of a plurality of candidate virtual objects in the target virtual object sequence;
a third determining module 1206, configured to determine a target sorting position closest to the current sorting position from the multiple candidate sorting positions;
a fourth determining module 1208, configured to determine the candidate virtual object corresponding to the target sorting position as the target virtual object.
For a specific embodiment, reference may be made to an example shown in the foregoing virtual object pairing method, which is not described herein again in this example.
As an alternative, as shown in fig. 13, the method includes:
a third obtaining unit 1302, configured to obtain an interaction result of a virtual interaction task in a current round after the virtual interaction task in the current round is completed according to a pairing condition of virtual objects in the current round;
a fourth obtaining unit 1304, configured to, after completing the virtual interaction task in the current round according to the pairing condition of the virtual object in the current round, adjust the life attribute value of the virtual object according to the interaction result, and obtain an adjusted life attribute value;
the control unit 1306 is configured to, after completing the virtual interaction task of the current round according to the pairing condition of the virtual objects in the current round, control the virtual object whose life attribute value after adjustment reaches the target value, and exit the virtual interaction task of the next round after the current round.
For a specific embodiment, reference may be made to an example shown in the foregoing virtual object pairing method, which is not described herein again.
As an alternative, as shown in fig. 14, the method includes:
a second determining unit 1402, configured to determine a task completion condition for reaching the target virtual task when the number of virtual objects whose adjusted life attribute values do not reach the target value reaches 1.
For a specific embodiment, reference may be made to an example shown in the foregoing virtual object pairing method, which is not described herein again in this example.
According to yet another aspect of the embodiments of the present invention, there is further provided an electronic device for implementing the method for pairing virtual objects, as shown in fig. 15, the electronic device includes a memory 1502 and a processor 1504, the memory 1502 stores therein a computer program, and the processor 1504 is configured to execute the steps of any one of the method embodiments described above through the computer program.
Optionally, in this embodiment, the electronic device may be located in at least one network device of a plurality of network devices of a computer network.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, task requests which are triggered by at least three game application clients respectively and used for requesting participation in a target virtual task are obtained, wherein virtual objects controlled by the at least three game application clients respectively in the target virtual task run at least one round of virtual interaction task;
s2, in the process of responding to the task request to run the target virtual task, under the condition of completing the virtual interaction task of the previous round, updating the respective interaction data of the virtual objects to obtain updated interaction data; and repeatedly executing the following steps by using the updated interactive data until the pairing condition of the virtual object in the current round after the previous round is determined:
s3, determining a target virtual object matched with the current virtual object according to the updated interactive data, wherein the historical match times of the match sub-task finished by matching the current virtual object and the target virtual object in the target virtual task are less than or equal to a first threshold value, and the virtual interactive task comprises at least one local match sub-task; acquiring a next virtual object from virtual objects except the current virtual object as the current virtual object;
and S4, completing the virtual interaction task of the current round according to the pairing condition of the virtual objects in the current round.
Alternatively, it can be understood by those skilled in the art that the structure shown in fig. 15 is only an illustration, and the electronic device may also be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, a Mobile Internet Device (MID), a PAD, and the like. Fig. 15 does not limit the structure of the electronic device. For example, the electronic device may also include more or fewer components (e.g., network interfaces, etc.) than shown in FIG. 15, or have a different configuration than shown in FIG. 15.
The memory 1502 may be configured to store software programs and modules, such as program instructions/modules corresponding to the virtual object pairing method and apparatus in the embodiments of the present invention, and the processor 1504 executes various functional applications and data processing by running the software programs and modules stored in the memory 1502, that is, implements the above-described virtual object pairing method. The memory 1502 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 1502 can further include memory that is remotely located with respect to the processor 1504 and can be coupled to the terminal via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. The memory 1502 may be specifically but not limited to be used for storing information such as task requests, virtual interaction tasks, interaction data, pairing situations, target virtual tasks, and the like. As an example, as shown in fig. 15, the memory 1502 may include, but is not limited to, a first obtaining unit 1002, an updating unit 1004, a first determining unit 1006, and a completing unit 1008 in the pairing device of the virtual object. In addition, other module units in the pairing apparatus of the virtual object may also be included, but are not limited to these, and are not described in detail in this example.
Optionally, the transmission device 1506 is used for receiving or transmitting data via a network. Examples of the network may include a wired network and a wireless network. In one example, the transmission device 1506 includes a Network adapter (NIC) that can be connected to a router via a Network cable and other Network devices to communicate with the internet or a local area Network. In one example, the transmission device 1506 is a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In addition, the electronic device further includes: a display 1508, configured to display information such as the task request, the virtual interaction task, the interaction data, the pairing situation, and the target virtual task; and a connection bus 1510 for connecting the respective module parts in the above-described electronic apparatus.
In other embodiments, the terminal device or the server may be a node in a distributed system, where the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting a plurality of nodes through a network communication. The nodes may form a Peer-To-Peer (P2P) network, and any type of computing device, such as a server, a terminal, and other electronic devices, may become a node in the blockchain system by joining the Peer-To-Peer network.
According to an aspect of the application, a computer program product or computer program is provided, comprising computer instructions, the computer instructions being stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium, the processor executes the computer instructions, so that the computer device executes the pairing method for the virtual object provided in the various alternative implementations of the execution aspect of the virtual interaction task or the execution aspect of the target virtual task, wherein the computer program is configured to execute the steps in any of the method embodiments described above when running.
Alternatively, in the present embodiment, the above-mentioned computer-readable storage medium may be configured to store a computer program for executing the steps of:
s1, task requests which are triggered by at least three game application clients respectively and used for requesting participation in a target virtual task are obtained, wherein virtual objects controlled by the at least three game application clients respectively in the target virtual task run at least one round of virtual interaction task;
s2, in the process of responding to the task request to run the target virtual task, under the condition of completing the virtual interaction task of the previous round, updating the respective interaction data of the virtual objects to obtain updated interaction data; and repeatedly executing the following steps by using the updated interactive data until the pairing condition of the virtual object in the current round after the previous round is determined:
s3, determining a target virtual object matched with the current virtual object according to the updated interactive data, wherein the historical match times of the match sub-task finished by matching the current virtual object and the target virtual object in the target virtual task are less than or equal to a first threshold value, and the virtual interactive task comprises at least one local match sub-task; acquiring a next virtual object from virtual objects except the current virtual object as the current virtual object;
and S4, completing the virtual interaction task of the current round according to the pairing condition of the virtual objects in the current round.
Alternatively, in this embodiment, a person skilled in the art may understand that all or part of the steps in the methods of the foregoing embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing one or more computer devices (which may be personal computers, servers, network devices, etc.) to execute all or part of the steps of the above methods according to the embodiments of the present invention.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is only a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that it is obvious to those skilled in the art that various modifications and improvements can be made without departing from the principle of the present invention, and these modifications and improvements should also be considered as the protection scope of the present invention.

Claims (9)

1. A method for pairing virtual objects, comprising:
the method comprises the steps of obtaining task requests which are triggered by at least three game application clients respectively and used for requesting participation in a target virtual task, wherein virtual objects controlled by the at least three game application clients respectively in the target virtual task run at least one round of virtual interaction tasks;
in the process of responding to the task request to run the target virtual task, under the condition of finishing the virtual interaction task of the previous round, updating respective interaction data of the virtual objects to obtain updated interaction data; repeatedly executing the following steps by using the updated interactive data until the pairing condition of the virtual object in the current round after the previous round is determined:
determining a target virtual object matched with the current virtual object according to the updated interaction data, wherein the historical match times of the match sub-task matched with the current virtual object and the target virtual object in the target virtual task are less than or equal to a first threshold value, and the virtual interaction task comprises at least one local match sub-task; acquiring a next virtual object from the virtual objects except the current virtual object as the current virtual object;
completing the virtual interaction task of the current round according to the pairing condition of the virtual objects in the current round;
acquiring an interaction result of the virtual interaction task of the current round;
under the condition that the interaction result indicates that the virtual object wins the current round, increasing the life attribute value of the virtual object to obtain an adjusted life attribute value; reducing the life attribute value of the virtual object under the condition that the interaction result indicates that the virtual object fails in the current round to obtain the adjusted life attribute value;
and controlling the virtual object of which the adjusted life attribute value reaches the target value, and exiting the virtual interaction task of the next round after the current round.
2. The method of claim 1, wherein determining a target virtual object paired with a current virtual object according to the updated interaction data comprises:
obtaining a plurality of historical fight times obtained after the current virtual object and other virtual objects except the current virtual object are respectively paired to complete fight subtasks from the updated interactive data;
acquiring the minimum historical fight frequency from the plurality of historical fight frequency;
and determining the virtual object corresponding to the minimum historical fight frequency as the target virtual object.
3. The method of claim 1, further comprising, after obtaining task requests for requesting participation in a target virtual task triggered by each of the at least three game application clients:
and orderly arranging the object identifications of the virtual objects to obtain a target virtual object sequence.
4. The method of claim 3, wherein determining the target virtual object paired with the current virtual object according to the updated interaction data comprises:
determining a target virtual object set according to the updated interaction data, wherein the target virtual object set comprises: a plurality of candidate virtual objects which are matched with the current virtual object in the target virtual task and have the historical fighting times of the fighting subtask being less than or equal to the first threshold value;
acquiring the current sorting position of the current virtual object in the target virtual object sequence and the candidate sorting positions of the candidate virtual objects in the target virtual object sequence;
determining a target sorting position which is closest to the current sorting position from a plurality of candidate sorting positions;
and determining the candidate virtual object corresponding to the target sorting position as the target virtual object.
5. The method according to claim 1, wherein after the adjusting the life property value of the virtual object according to the interaction result to obtain the adjusted life property value, the method comprises:
and under the condition that the number of the virtual objects of which the adjusted life attribute values do not reach the target value reaches 1, determining a task completion condition for reaching the target virtual task.
6. An apparatus for pairing virtual objects, comprising:
the game system comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is used for acquiring task requests which are triggered by at least three game application clients respectively and used for requesting participation in a target virtual task, and virtual objects controlled by the at least three game application clients respectively in the target virtual task run at least one round of virtual interaction tasks;
the updating unit is used for updating the respective interactive data of the virtual objects under the condition of finishing the virtual interactive task of the previous round in the process of responding to the task request to run the target virtual task to obtain updated interactive data; repeatedly executing the following steps by using the updated interactive data until the pairing condition of the virtual object in the current round after the previous round is determined:
a first determining unit, configured to determine, according to the updated interaction data, a target virtual object paired with a current virtual object, where a historical number of times of fight between the current virtual object and the target virtual object in a target virtual task that completes a fight subtask is less than or equal to a first threshold, and the virtual interaction task includes at least one play of fight subtask; acquiring a next virtual object from the virtual objects except the current virtual object as the current virtual object;
a completion unit, configured to complete the virtual interaction task of the current round according to a pairing condition of the virtual object in the current round;
a third obtaining unit, configured to obtain an interaction result of the virtual interaction task of the current round after the virtual interaction task of the current round is completed according to a pairing condition of the virtual object in the current round;
a fourth obtaining unit, configured to, after the virtual interaction task of the current round is completed according to the pairing condition of the virtual object in the current round, increase a life attribute value of the virtual object to obtain an adjusted life attribute value when the interaction result indicates that the virtual object wins the current round; reducing the life attribute value of the virtual object to obtain the adjusted life attribute value under the condition that the interaction result indicates that the virtual object fails in the current round;
a control unit, configured to control, after the virtual interaction task of the current round is completed according to the pairing condition of the virtual objects in the current round, the virtual object whose life attribute value after adjustment reaches a target value, and exit the virtual interaction task of a next round after the current round.
7. The apparatus according to claim 6, wherein the first determining unit comprises:
a first obtaining module, configured to obtain, from the updated interactive data, a plurality of historical combat times obtained after the current virtual object and other virtual objects except the current virtual object are paired and complete a combat subtask;
the second acquisition module is used for acquiring the minimum historical fight frequency from the plurality of historical fight frequencies;
and the first determining module is used for determining the virtual object corresponding to the minimum historical fight frequency as the target virtual object.
8. A computer-readable storage medium, comprising a stored program, wherein the program is operable to perform the method of any one of claims 1 to 5.
9. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 5 by means of the computer program.
CN202011025298.3A 2020-09-25 2020-09-25 Virtual object pairing method and device and storage medium Active CN112121441B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011025298.3A CN112121441B (en) 2020-09-25 2020-09-25 Virtual object pairing method and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011025298.3A CN112121441B (en) 2020-09-25 2020-09-25 Virtual object pairing method and device and storage medium

Publications (2)

Publication Number Publication Date
CN112121441A CN112121441A (en) 2020-12-25
CN112121441B true CN112121441B (en) 2022-05-20

Family

ID=73840126

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011025298.3A Active CN112121441B (en) 2020-09-25 2020-09-25 Virtual object pairing method and device and storage medium

Country Status (1)

Country Link
CN (1) CN112121441B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112774200B (en) * 2021-01-22 2023-05-09 北京字跳网络技术有限公司 Character interaction control method, character interaction control device, computer equipment and storage medium
CN113713379B (en) * 2021-09-07 2023-07-14 腾讯科技(深圳)有限公司 Object matching method and device, storage medium and electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105641932B (en) * 2015-12-28 2019-12-17 北京像素软件科技股份有限公司 data object matching method
JP6069568B1 (en) * 2016-06-30 2017-02-01 グリー株式会社 Control program, control method, and computer
CN107823887A (en) * 2017-10-25 2018-03-23 广州南瞻部洲互动娱乐有限公司 A kind of game object matching process
CN111589109B (en) * 2020-05-21 2023-09-26 网易(杭州)网络有限公司 Data processing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN112121441A (en) 2020-12-25

Similar Documents

Publication Publication Date Title
CN112619158B (en) Virtual event matching method and device, storage medium and electronic device
CN105705211B (en) Game system, game control method, and game control program
CN113134237B (en) Virtual rewarding resource allocation method and device, electronic equipment and storage medium
CN112121441B (en) Virtual object pairing method and device and storage medium
US11154786B2 (en) Systems and methods for a network-based video game application
CN110152304B (en) Method and device for determining winning value, storage medium and electronic device
CN112337089A (en) Game resource allocation method and device, storage medium and electronic device
WO2020098527A1 (en) Method and device for adjusting region, storage medium, and electronic device
CN112675548B (en) Matching method, device and equipment and readable storage medium
US9076292B1 (en) Encouraging player socialization using a nemesis and avenger system
WO2023109350A1 (en) Method and apparatus for prompting obtaining of virtual reward resource and storage medium
US11471761B2 (en) Game control method, server device, game system, and computer-readable recording medium
US10653961B2 (en) Systems and methods of controlling game character attributes
CN110585729A (en) Game account matching method and device, storage medium and electronic device
CN112337090A (en) Event message broadcasting method and device, storage medium and electronic device
CN111202978B (en) Virtual prop acquisition method and device, storage medium and electronic device
CN110102047B (en) Game operation processing method and device, and game effect display method and device
CN112138379B (en) Interaction method and device among different application modes and storage medium
CN111249746B (en) Method and device for acquiring virtual prop, storage medium and electronic device
CN113368500B (en) Game countermeasure data processing method and device, storage medium and computer equipment
CN113827962B (en) Virtual object display method and device, storage medium and electronic equipment
JP2023527601A (en) Information processing method, device and electronic device in game
CN113713379B (en) Object matching method and device, storage medium and electronic equipment
JP2014210078A (en) Game control system, server device and program
CN113476839B (en) Entity display method and device in game application, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant