Disclosure of Invention
The embodiment of the application provides a virtual object recommending method, a device, a medium and equipment, which are used for generating a target recommended object which can be combined with a second virtual object to acquire skill addition in real time according to a first virtual object released or about to be released by a manipulator corresponding to a first terminal, pushing the generated target recommended object to the manipulator corresponding to a second terminal matched with the first terminal, and providing reference information or advice for determining the second virtual object to be controlled for the manipulator corresponding to the second terminal, so that a plurality of players in a cooperative coordination relationship can play cooperation better, the success rate of game clearance is improved, the cooperative interaction between the players is increased, and compared with the existing game reminding mechanism, the game reminding method is more humanized and efficient and is suitable for most players.
In one aspect, an embodiment of the present application provides a method for recommending a virtual object, including:
Responding to the control operation of a first virtual object in a game interface of a first terminal, and determining a target recommended object matched with the first virtual object to obtain skill addition from a second virtual object according to the type of the first virtual object, wherein the second virtual object is a virtual object belonging to the same camp as the first virtual object, and the first virtual object and the second virtual object are controlled by different operators respectively;
and displaying the target recommended object in a game interface of the second terminal.
In the virtual object recommendation method according to the embodiment of the present application, the determining, from the second virtual object, a target recommended object that cooperates with the first virtual object to obtain a skill addition includes:
Recording the actual response time length of a second operator corresponding to the second terminal for releasing the second virtual object each time, synthesizing the actual response time length of the second terminal for releasing the second virtual object each time, carrying out average calculation to obtain the estimated response time length, and updating the estimated response time length in real time;
And determining a target recommended object matched with the first virtual object to acquire skill addition based on the estimated response time length.
In the virtual object recommendation method according to the embodiment of the present application, after the determining the first virtual object controlled by the first terminal, the method further includes:
judging the type of the first virtual object, wherein the type comprises a control type and an injury type;
When the type corresponding to the first virtual object is control type, acquiring an effective time point and first attribute information of the first virtual object, wherein the first attribute information comprises control duration;
judging whether the effective duration of the first virtual object is longer than the control duration, and determining a target recommended object according to a judging result.
In the virtual object recommendation method according to the embodiment of the present application, the determining, from the second virtual object, a target recommended object that cooperates with the first virtual object to obtain a skill addition includes:
and if the judging result is that the effective time length of the first virtual object is longer than the control duration, selecting the one with the largest injury value from the second virtual objects corresponding to the second terminal as the target recommended object.
In the virtual object recommendation method according to the embodiment of the present application, the determining, from the second virtual object, a target recommended object that cooperates with the first virtual object to obtain a skill addition includes:
if the judging result is that the effective duration of the first virtual object is not greater than the control duration, second attribute information of each candidate virtual object is obtained from a second virtual object corresponding to the second terminal, wherein the second attribute information comprises an injury value of the second virtual object in unit time;
determining at least one piece of second attribute information with a preset matching relationship with the first attribute information;
Determining target attribute information with the maximum injury value obtained by combining the first attribute information from the at least one second attribute information;
And taking the candidate virtual object corresponding to the target attribute information as the target recommended object.
In the virtual object recommendation method according to the embodiment of the present application, when the effective duration of the first virtual object is not greater than the control duration, the determining, from the at least one second attribute information, target attribute information with a maximum injury value obtained by combining the first attribute information includes:
Calculating a difference value according to the control duration and the estimated response duration of a second operator corresponding to a second virtual object to be validated to obtain the effective control duration of the first virtual object, wherein the estimated response duration is obtained by calculating a mean value based on the historical response duration of a second terminal corresponding to the second virtual object to be validated;
and calculating according to the effective control duration and the injury values corresponding to the second attribute information to obtain a plurality of comprehensive injury values, and taking the second attribute information corresponding to the maximum comprehensive injury value as the target attribute information.
In the virtual object recommendation method according to the embodiment of the present application, the method further includes:
When the first virtual object is detected to be triggered, judging whether the delay time accumulated by the first virtual object from the triggered state exceeds a first preset time;
and when the delay time length exceeds a first preset time length, displaying a moving track from the triggered position of the first virtual object to a first target moving position in the game interface of the second terminal, or displaying the target moving position of the first virtual object in the game interface of the second terminal through a first preset mark.
In the virtual object recommendation method according to the embodiment of the present application, the method further includes:
When the delay time of the first operator releasing the first virtual object does not exceed a first preset time, the target recommended object is configured on the game interface of the second terminal to be automatically released at the first target moving position when the target recommended object is triggered, wherein the first preset time is smaller than a second preset time.
In the virtual object recommendation method according to the embodiment of the present application, the method further includes:
when the delay time of the first operator releasing the first virtual object exceeds a second preset time, the second operator can control any second virtual object in the virtual objects held by the first operator before the first virtual object is effective, and display a moving track from the triggered position of the second virtual object to a second target moving position on a game interface of the first terminal, or display the second target moving position of the second virtual object on the game interface of the first terminal through a second preset mark.
Correspondingly, another aspect of the embodiment of the present application further provides a device for recommending a virtual object, including:
The response module is used for responding to the control operation of the first virtual object in the game interface of the first terminal;
The response module is used for determining a target recommended object matched with the first virtual object to obtain skill addition from a second virtual object according to the type of the first virtual object, wherein the second virtual object is a virtual object belonging to the same camp as the first virtual object, and the first virtual object and the second virtual object are controlled by different operators respectively;
and the display module is used for displaying the target recommended object in the game interface of the second terminal.
Accordingly, another aspect of the embodiments of the present application also provides a computer-readable storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the virtual object recommendation method as described above.
Accordingly, another aspect of the embodiments of the present application further provides an electronic device, including a processor and a memory, where the memory stores a plurality of instructions, and the processor loads the instructions to perform the virtual object recommendation method as described above.
The embodiment of the application provides a virtual object recommending method, a device, a medium and equipment, wherein the method is characterized in that a first virtual object is controlled in a game interface of a first terminal, a target recommended object matched with the first virtual object to acquire skill addition is determined from a second virtual object according to the type of the first virtual object, wherein the second virtual object is a virtual object belonging to the same camp as the first virtual object, the first virtual object and the second virtual object are controlled by different operators, and the target recommended object is displayed in the game interface of the second terminal. According to the embodiment of the application, the target recommended object which can be combined with the second virtual object to obtain skill addition can be generated in real time according to the first virtual object which is released or is about to be released by the operator corresponding to the first terminal, the generated target recommended object is pushed to the operator corresponding to the second terminal matched with the first terminal, the operator corresponding to the second terminal determines the second virtual object to be controlled to provide reference information or advice, so that a plurality of players in a cooperation matching relationship can be matched better, the success rate of game clearance is improved, the cooperation interaction between the players is increased, and compared with the existing game reminding mechanism, the method is more humanized and efficient and is suitable for most players.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. It will be apparent that the described embodiments are only some, but not all, embodiments of the application. All other embodiments, which can be made by a person skilled in the art without any inventive effort, are intended to be within the scope of the present application based on the embodiments of the present application.
In order to increase the interest of the game, a multi-player cooperation mode is generally introduced, so that a plurality of players can participate in the game at the same time and form a cooperation relationship. In order to increase the interactivity between players, most strategy games add a prompt mechanism in a game scene at present, for example, when a player and a parent play a player press to select any virtual object (such as a card) currently held to be not released, virtual objects to be released by the player and player players are displayed in game interfaces of other player and virtual objects matched with the player and player players are played through personal experience. However, the prompting mechanism is limited in prompting effect, so that the prompting mechanism can be only suitable for operators who are very familiar with game rules and can master each virtual object in a skilled manner, and meanwhile, the user needs to respond in time, the agility of the player is checked, and the prompting mechanism is not suitable for most common players.
In order to solve the technical problems, the embodiment of the application provides a virtual object recommendation method. According to the virtual object recommending method provided by the embodiment of the application, the target recommended object which can be combined with the second virtual object to acquire skill addition is generated in real time according to the first virtual object which is released or is about to be released by the operator corresponding to the first terminal, the generated target recommended object is pushed to the operator corresponding to the second terminal matched with the first terminal, the operator corresponding to the second terminal is determined to provide reference information or advice for the second virtual object to be controlled, so that a plurality of players in a cooperative coordination relationship can play cooperation better, the success rate of game clearance is improved, the cooperative interaction between the players is increased, and compared with the existing game reminding mechanism, the method is more humanized and efficient and is suitable for most players.
Referring to fig. 1, fig. 1 is a flowchart illustrating a virtual object recommendation method according to an embodiment of the present application. In the virtual object recommendation method, execution subjects of each step in the virtual object recommendation method may be the same or different, and the execution subjects may be electronic devices or servers. The electronic equipment can be smart phones, tablet personal computers, game machines, personal computers, smart televisions, vehicle-mounted terminals and other equipment. The method may comprise the steps of:
step 101, responding to a control operation on a first virtual object in a game interface of a first terminal, and determining a target recommended object matched with the first virtual object to obtain skill addition from a second virtual object according to the type of the first virtual object, wherein the second virtual object is a virtual object belonging to the same camp as the first virtual object, and the first virtual object and the second virtual object are respectively controlled by different operators.
It should be noted that, the first terminal and the second terminal mentioned in the present solution belong to the same player's camp, the virtual object refers to a controllable virtual object such as a game card or a virtual character, and for facilitating understanding of the solution, the description is given by taking the game card as an example, the number of operators corresponding to the second terminal is set to at least one, and the pushing result of the target recommended object on the game interface of the operator of at least one second terminal is determined according to the actual operations of different operators. For example, the target recommended objects corresponding to the different response durations made by the operators of the different second terminals are also different.
In this embodiment, an operator corresponding to the first terminal may perform a manipulation operation on any one of the held first virtual objects on the game interface, and when the manipulation operation is triggered, the server determines the first virtual object manipulated by the first terminal. It should be noted that any virtual object mentioned herein defaults to not consider the cooling time of the virtual object. The manipulation operation of the first terminal on the first virtual object may be to press the first virtual object for a long time, drag the first virtual object to move in the game interface and not to be released, or drag the first virtual object to be released after moving to a specified position (e.g. an attacked virtual object) in the game interface. In this scheme, the characterization manipulation operation may be released when the first terminal drags the first virtual object to move to a specified position (for example, a position where the virtual object in the attack camp is located) in the game interface.
Because the focus of the scheme is that the target recommended object capable of being combined with the first virtual object to obtain the skill addition is automatically selected according to the first virtual object drawn by the first terminal, the target recommended object automatically recommended by the system needs to meet the condition that the target recommended object can have the skill addition/injury value addition effect under the combination of the first virtual object, namely, after the first virtual object and the target recommended object are combined, the target recommended object can generate the maximum injury value, and the injury effect can be larger than the injury effect when the target recommended object is independently released. Therefore, in order to more specifically explain the scheme, the scheme classifies virtual objects into control type and injury type. The control method takes a 'confinement effect' as an example, and when the virtual object is released to the attacked virtual object, the attacked virtual object can be controlled to be in a preset range and can not move continuously. The damage type is a virtual object that causes a direct damage value, for example, a direct damage value of 100 points is caused to an attacked virtual object. And the injury type has invisible property, and can be triggered only when combined with a specific control type. For example, the invisible attribute of injury is "inflict sustained injury at 50 points per second to a virtual object that is confined, and lasting for 3 seconds". Therefore, when the first virtual object drawn by the first terminal is the control type of the "confinement effect", the damage type with the invisible attribute of "causing continuous 50 points per second to the confined virtual object and lasting 3 seconds" can be used as the target recommended object.
Specifically, after a first virtual object controlled by a first terminal is determined, the type of the first virtual object is firstly judged, when the type corresponding to the first virtual object is control type, the effective time point of the first virtual object and first attribute information are obtained, wherein the first attribute information comprises control duration, whether the effective duration of the first virtual object is greater than the control duration is judged, and a target recommended object is determined according to a judging result.
It should be explained that the effective time point is the current time point when the first virtual object is released. The control duration refers to the effective duration corresponding to the control type. The effective duration refers to the accumulated duration of the first virtual object from the release.
If the result of the determination is that the effective time length of the first virtual object is longer than the control duration, since the first virtual object has failed at this time, for example, when the first virtual object is in the control type of "the confinement effect", if the effective time length of the first virtual object is longer than the control duration, it is indicated that the current virtual object has lost the "confinement effect". Therefore, only the virtual object corresponding to the second terminal is required to be selected as the target recommended object, wherein the damage value of the virtual object is the maximum.
If the judging result is that the effective duration of the first virtual object is not longer than the control duration, the control effect corresponding to the first virtual object is indicated to be still within the effective time. Obtaining second attribute information of each candidate virtual object from second virtual objects corresponding to the second terminal (the second attribute information comprises an injury value of the second virtual object in unit time, such as 50 points per second), determining at least one second attribute information with a preset matching relation with the first attribute information, determining target attribute information with the maximum injury value obtained by combining the first attribute information from the at least one second attribute information, and taking the candidate virtual object corresponding to the target attribute information as a target recommended object.
In some embodiments, when the effective duration of the first virtual object is not greater than the control duration, the method further comprises:
calculating a difference value according to the control duration and the estimated response duration of the second operator corresponding to the second virtual object to be validated, so as to obtain the effective control duration of the first virtual object; and calculating according to the effective control duration and the injury values corresponding to the second attribute information to obtain a plurality of comprehensive injury values, and taking the second attribute information corresponding to the maximum comprehensive injury value as the target attribute information.
It should be explained that the estimated response time refers to a predicted value obtained by performing average calculation based on the historical response time of the second terminal corresponding to the second virtual object to be validated according to the response time of the second terminal in the history record for making a reaction between the second virtual objects after the first virtual object is released.
In order to select the maximum comprehensive injury value from the plurality of comprehensive injury values, the injury effect generated after each candidate virtual object is combined with the first virtual object needs to be calculated specifically, the actual injury effect of the candidate virtual object is related to the control duration of the first virtual object, the actual control duration of the first virtual object is further related to the reaction time of the second terminal, and therefore the actual control duration correspondingly adjusted along with the reaction time of the second terminal needs to be calculated when the comprehensive injury value of the candidate virtual object is calculated, and the selection result of the target recommended object is adjusted in real time. For example, the control duration of the first virtual object is 3 seconds, if the second terminal immediately beats the second virtual object after the first virtual object is released, the actual control duration at this time is 3 seconds, when the reaction time of the second terminal is 2 seconds, the actual control duration of the first virtual object is only 1 second, and when the reaction time of the second terminal exceeds 3 seconds, the actual control duration of the first virtual object is 0, that is, the failure. However, since the actual response time of the second terminal is usually only a few seconds, and the same player has a habit of itself, and the response time possibly made for the same first virtual object is close to or even the same as the actual response time of the same first virtual object, in order to quickly determine the maximum comprehensive injury value, an estimated response time length can be set as the response time of the same second terminal.
In some embodiments, the method further includes recording an actual response time length of the second terminal for releasing the second virtual object each time, and updating the result data obtained by mean value calculation based on the estimated response time length of the second terminal for releasing the second virtual object each time in real time.
And 102, displaying the target recommended object in a game interface of the second terminal.
In this embodiment, after the target recommended object is determined, the target recommended object may be highlighted on the game interface of the second terminal, or the second terminal may be prompted in text form.
In some embodiments, the method further comprises:
When the first virtual object is detected to be triggered, judging whether the delay time accumulated by the first virtual object from the triggered state exceeds a first preset time;
and when the delay time length exceeds a first preset time length, displaying a moving track from the triggered position of the first virtual object to a first target moving position in the game interface of the second terminal, or displaying the target moving position of the first virtual object in the game interface of the second terminal through a first preset mark.
In some scenarios, when a plurality of attacked virtual objects exist in the game scenario, if the second terminal can know in advance that the first terminal is about to attack the virtual objects, a pre-judgment can be made in advance, and the cooperation strategy is determined. Therefore, in this embodiment, when the first virtual object is detected to be triggered to be in the to-be-validated state, by determining whether the delay time period between the triggering of the first virtual object and the validation exceeds a first preset time period (for example, 2 seconds), and when it is determined that the delay time period exceeds the first preset time period, displaying a movement track between the triggered position of the first virtual object to the first target movement position in the game interface of the second terminal, or displaying the target movement position of the first virtual object in the game interface of the second terminal through a first preset identifier (for example, a cursor).
In some embodiments, the method further comprises:
When the delay time of releasing the first virtual object by the first operator corresponding to the first terminal does not exceed a first preset time, the target recommended object is configured on the game interface of the second terminal to be automatically released at the first target moving position when the target recommended object is triggered, wherein the first preset time is smaller than a second preset time.
Based on the scheme provided in the above embodiment, if the delay time of the first operator releasing the first virtual object does not exceed the first preset time, because the time of the first virtual object releasing is very short and near instantaneous at this time, the second player may lack the reaction time, so as not to affect the cooperation between the second player and the first player, and the second terminal may skip the action of manually dragging the second virtual object to the first target moving position to release the target recommended object at the first target moving position by clicking the target recommended object displayed on the game interface.
In some embodiments, the method further comprises:
When the delay time of the first operator releasing the first virtual object exceeds a second preset time, the second operator corresponding to the second terminal can control any second virtual object in the virtual objects held by the second operator before the first virtual object takes effect, and display a moving track from the triggered position to a second target moving position of the second virtual object on a game interface of the first terminal, or display the second target moving position of the second virtual object on the game interface of the first terminal through a second preset mark, wherein the first preset time is smaller than the second preset time.
When the first terminal drags the first virtual object for a long time but does not release the first virtual object, the delay time is possibly too long because the first terminal is not determined to be at the optimal release position, and at this time, the second terminal can actively drag the held virtual object to the second target movement position to position in the process of dragging but not releasing the first virtual object by the first terminal through the scheme, and display a movement track from the triggered position to the second target movement position of the second virtual object on the game interface of the first terminal, or display the second target movement position of the second virtual object on the game interface of the first terminal through a second preset identifier (such as a cursor), thereby providing a suggestion of the release position for the first terminal.
Any combination of the above optional solutions may be adopted to form an optional embodiment of the present application, which is not described herein.
In particular, the application is not limited by the order of execution of the steps described, as some of the steps may be performed in other orders or concurrently without conflict.
As can be seen from the above, in the virtual object recommendation method provided by the embodiment of the present application, by responding to the manipulation operation on the first virtual object in the game interface of the first terminal, according to the type of the first virtual object, a target recommendation object that cooperates with the first virtual object to obtain the skill addition is determined from a second virtual object, where the second virtual object is a virtual object that belongs to the same camp as the first virtual object, and the first virtual object and the second virtual object are respectively manipulated by different operators, and the target recommendation object is displayed in the game interface of the second terminal. According to the embodiment of the application, the target recommended object which can be combined with the second virtual object to obtain skill addition can be generated in real time according to the first virtual object which is released or is about to be released by the operator corresponding to the first terminal, the generated target recommended object is pushed to the operator corresponding to the second terminal matched with the first terminal, and reference information or advice is provided for determining the second virtual object to be controlled for the operator corresponding to the second terminal, so that a plurality of players in a cooperation relation can be matched better, the success rate of game clearance is improved, the cooperation interaction between the players is increased, and compared with the existing game reminding mechanism, the method is more humanized and efficient and is suitable for most players.
The embodiment of the application also provides a virtual object recommending device which can be integrated in the electronic equipment or the server.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a virtual object recommendation apparatus according to an embodiment of the present application. The virtual object recommendation device 30 may include:
The response module 31 is configured to respond to a manipulation operation on a first virtual object in a game interface of a first terminal, and determine, according to a type of the first virtual object, a target recommended object that cooperates with the first virtual object to obtain a skill addition from a second virtual object, where the second virtual object is a virtual object that belongs to the same camp as the first virtual object, and the first virtual object and the second virtual object are respectively manipulated by different operators;
and the display module 32 is used for displaying the target recommended object in the game interface of the second terminal.
In some embodiments, the response module 31 is configured to record an actual response time length of the second operator corresponding to the second terminal for each release of the second virtual object, calculate a mean value of the actual response time length of the second terminal for each release of the second virtual object to obtain an estimated response time length, update the estimated response time length in real time, and determine a target recommended object that cooperates with the first virtual object to obtain a skill addition based on the estimated response time length.
In some embodiments, the device further includes a judging module, configured to judge a type of the first virtual object, where the type includes a control type and an injury type, when the type corresponding to the first virtual object is the control type, acquire a valid time point of the first virtual object and first attribute information, where the first attribute information includes a control duration, judge whether the valid duration of the first virtual object is greater than the control duration, and determine a target recommended object according to a judgment result.
In some embodiments, the response module 31 is configured to select, as the target recommended object, the virtual object corresponding to the second terminal having the largest injury value if the determination result indicates that the effective time period of the first virtual object is longer than the control duration.
In some embodiments, the response module 31 is configured to obtain, if the determination result indicates that the effective duration of the first virtual object is not greater than the control duration, second attribute information of each candidate virtual object from the virtual objects corresponding to the second terminal, where the second attribute information includes an injury value of the second virtual object in a unit time, determine at least one second attribute information having a preset coordination relationship with the first attribute information, determine, from the at least one second attribute information, target attribute information with a maximum injury value obtained by combining the first attribute information, and use, as the target recommended object, a candidate virtual object corresponding to the target attribute information.
In some embodiments, the response module 31 is configured to perform a difference calculation according to the control duration and an estimated response duration of a manipulator corresponding to a second virtual object to be validated, to obtain an effective control duration of the first virtual object, where the estimated response duration is obtained by performing a mean calculation based on a historical response duration of a second terminal corresponding to the second virtual object to be validated, and calculate, according to the effective control duration and injury values corresponding to respective second attribute information, a plurality of comprehensive injury values, and use second attribute information corresponding to a maximum of the comprehensive injury values as the target attribute information.
In some embodiments, the device further includes a first prompt module, configured to determine, when the first virtual object is detected to be triggered, whether a delay duration accumulated by the first virtual object from being triggered exceeds a first preset duration, and when the delay duration exceeds the first preset duration, display a movement track between a triggered position of the first virtual object to a first target movement position in a game interface of the second terminal, or display, through a first preset identifier, the target movement position of the first virtual object in the game interface of the second terminal.
In some embodiments, the apparatus further includes an automatic release module configured to automatically release the target recommended object at the first target mobile location when triggered on the game interface of the second terminal when the delay time of the first operator to release the first virtual object does not exceed a first preset time period, wherein the first preset time period is less than a second preset time period.
In some embodiments, the device further includes a second prompting module, configured to, when a delay time period for the first operator to release the first virtual object exceeds a second preset time period, enable the second operator to control any second virtual object in the virtual objects held by the first operator before the first virtual object takes effect, and display a movement track between a triggered position of the second virtual object and a second target movement position on a game interface of the first terminal, or display a second target movement position of the second virtual object on the game interface of the first terminal through a second preset identifier.
In specific implementation, each module may be implemented as a separate entity, or may be combined arbitrarily and implemented as the same entity or several entities.
As can be seen from the above, the virtual object recommendation device 30 provided in the embodiment of the present application responds to the operation of the first virtual object in the game interface of the first terminal through the response module 31, and determines, according to the type of the first virtual object, a target recommendation object that cooperates with the first virtual object to obtain a skill addition from a second virtual object, where the second virtual object is a virtual object that belongs to the same camp as the first virtual object, and the first virtual object and the second virtual object are respectively operated by different operators, and the display module 32 displays the target recommendation object in the game interface of the second terminal.
Referring to fig. 3, fig. 3 is another schematic diagram of a virtual object recommendation apparatus according to an embodiment of the present application, the virtual object recommendation apparatus 30 includes a memory 120, one or more processors 180, and one or more application programs, wherein the one or more application programs are stored in the memory 120 and configured to be executed by the processor 180, and the processor 180 may include a response module 31, and a display module 32. For example, the structures and connection relationships of the above respective components may be as follows:
Memory 120 may be used to store applications and data. The memory 120 stores application programs including executable code. Applications may constitute various functional modules. The processor 180 executes various functional applications and data processing by running application programs stored in the memory 120. In addition, memory 120 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 120 may also include a memory controller to provide access to the memory 120 by the processor 180.
The processor 180 is a control center of the device, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the device and processes data by running or executing application programs stored in the memory 120 and calling data stored in the memory 120, thereby performing overall monitoring of the device. Optionally, the processor 180 may include one or more processing cores, and preferably, the processor 180 may integrate an application processor and a modem processor, wherein the application processor primarily processes operating systems, user interfaces, application programs, and the like.
In particular, in this embodiment, the processor 180 loads executable codes corresponding to the processes of one or more application programs into the memory 120 according to the following instructions, and the processor 180 executes the application programs stored in the memory 120, so as to implement various functions:
The response module 31 is configured to respond to a manipulation operation on a first virtual object in a game interface of a first terminal, and determine, according to a type of the first virtual object, a target recommended object that cooperates with the first virtual object to obtain a skill addition from a second virtual object, where the second virtual object is a virtual object that belongs to the same camp as the first virtual object, and the first virtual object and the second virtual object are respectively manipulated by different operators;
and the display module 32 is used for displaying the target recommended object in the game interface of the second terminal.
In some embodiments, the response module 31 is configured to record an actual response time length of the second operator corresponding to the second terminal for each release of the second virtual object, calculate a mean value of the actual response time length of the second terminal for each release of the second virtual object to obtain an estimated response time length, update the estimated response time length in real time, and determine a target recommended object that cooperates with the first virtual object to obtain a skill addition based on the estimated response time length.
In some embodiments, the device further includes a judging module, configured to judge a type of the first virtual object, where the type includes a control type and an injury type, when the type corresponding to the first virtual object is the control type, acquire a valid time point of the first virtual object and first attribute information, where the first attribute information includes a control duration, judge whether the valid duration of the first virtual object is greater than the control duration, and determine a target recommended object according to a judgment result.
In some embodiments, the response module 31 is configured to select, as the target recommended object, the virtual object corresponding to the second terminal having the largest injury value if the determination result indicates that the effective time period of the first virtual object is longer than the control duration.
In some embodiments, the response module 31 is configured to obtain, if the determination result indicates that the effective duration of the first virtual object is not greater than the control duration, second attribute information of each candidate virtual object from the virtual objects corresponding to the second terminal, where the second attribute information includes an injury value of the second virtual object in a unit time, determine at least one second attribute information having a preset coordination relationship with the first attribute information, determine, from the at least one second attribute information, target attribute information with a maximum injury value obtained by combining the first attribute information, and use, as the target recommended object, a candidate virtual object corresponding to the target attribute information.
In some embodiments, the response module 31 is configured to perform a difference calculation according to the control duration and an estimated response duration of a manipulator corresponding to a second virtual object to be validated, to obtain an effective control duration of the first virtual object, where the estimated response duration is obtained by performing a mean calculation based on a historical response duration of a second terminal corresponding to the second virtual object to be validated, and calculate, according to the effective control duration and injury values corresponding to respective second attribute information, a plurality of comprehensive injury values, and use second attribute information corresponding to a maximum of the comprehensive injury values as the target attribute information.
In some embodiments, the device further includes a first prompt module, configured to determine, when the first virtual object is detected to be triggered, whether a delay duration accumulated by the first virtual object from being triggered exceeds a first preset duration, and when the delay duration exceeds the first preset duration, display a movement track between a triggered position of the first virtual object to a first target movement position in a game interface of the second terminal, or display, through a first preset identifier, the target movement position of the first virtual object in the game interface of the second terminal.
In some embodiments, the apparatus further includes an automatic release module configured to automatically release the target recommended object at the first target mobile location when triggered on the game interface of the second terminal when the delay time of the first operator to release the first virtual object does not exceed a first preset time period, wherein the first preset time period is less than a second preset time period.
In some embodiments, the device further includes a second prompting module, configured to, when a delay time period for the first operator to release the first virtual object exceeds a second preset time period, enable the second operator to control any second virtual object in the virtual objects held by the first operator before the first virtual object takes effect, and display a movement track from a triggered position to a second target movement position of the second virtual object on a game interface of the first terminal, or display a second target movement position of the second virtual object on the game interface of the first terminal through a second preset identifier, where the first preset time period is less than a second preset time period.
The embodiment of the application also provides electronic equipment. The electronic device may be a terminal device or a server.
Referring to fig. 4, fig. 4 shows a schematic structural diagram of an electronic device according to an embodiment of the present application, which may be used to implement the virtual object recommendation method provided in the foregoing embodiment. Taking a terminal device as an example, the electronic device 1200 may be a smart phone or a tablet computer.
As shown in fig. 4, the electronic device 1200 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more computer readable storage media (only one is shown), an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a transmission module 170, a processor 180 including one or more processing cores (only one is shown), and a power supply 190. Those skilled in the art will appreciate that the configuration of the electronic device 1200 shown in fig. 4 does not constitute a limitation of the electronic device 1200, and may include more or fewer components than shown, or may combine certain components, or may have a different arrangement of components. Wherein:
The RF circuit 110 is configured to receive and transmit electromagnetic waves, and to perform mutual conversion between the electromagnetic waves and the electrical signals, so as to communicate with a communication network or other devices. RF circuitry 110 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and the like. The RF circuitry 110 may communicate with various networks such as the internet, intranets, wireless networks, or other devices via wireless networks.
The memory 120 may be used to store software programs and modules, such as program instructions/modules corresponding to the virtual object recommendation method in the above embodiment, and the processor 180 executes various functional applications and data processing by running the software programs and modules stored in the memory 120, so that the vibration reminding mode can be automatically selected to recommend the virtual object according to the current scene where the electronic device is located, thereby not only ensuring that the scenes such as a conference are not disturbed, but also ensuring that the user can perceive an incoming call, and improving the intelligence of the electronic device. Memory 120 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 examples, the memory 120 may further include memory remotely located relative to the processor 180, which may be connected to the electronic device 1200 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 input unit 130 may be used to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 130 may comprise a touch sensitive surface 131 and other input devices 132. The touch-sensitive surface 131, also referred to as a touch display screen or a touch pad, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on the touch-sensitive surface 131 or thereabout by using any suitable object or accessory such as a finger, stylus, etc.), and actuate the corresponding connection means according to a predetermined program. Alternatively, the touch sensitive surface 131 may comprise two parts, a touch detection device and a touch controller. The touch controller receives touch information from the touch detection device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 180, and can receive and execute commands sent by the processor 180. In addition, the touch-sensitive surface 131 may be implemented in various types of resistive, capacitive, infrared, surface acoustic wave, and the like. In addition to the touch-sensitive surface 131, the input unit 130 may also comprise other input devices 132. In particular, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc.
The display unit 140 may be used to display information entered by a user or provided to a user as well as various graphical user interfaces of the electronic device 1200, which may be composed of graphics, text, icons, video, and any combination thereof. The display unit 140 may include a display panel 141, and alternatively, the display panel 141 may be configured in the form of an LCD (Liquid CRYSTAL DISPLAY), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface 131 may overlay the display panel 141, and upon detection of a touch operation thereon or thereabout by the touch-sensitive surface 131, the touch-sensitive surface is transferred to the processor 180 to determine the type of touch event, and the processor 180 then provides a corresponding visual output on the display panel 141 based on the type of touch event. Although in fig. 4 the touch-sensitive surface 131 and the display panel 141 are implemented as two separate components for input and output functions, in some embodiments the touch-sensitive surface 131 may be integrated with the display panel 141 to implement the input and output functions.
The electronic device 1200 may also include at least one sensor 150, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 141 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 141 and/or the backlight when the electronic device 1200 moves to the ear. As one of the motion sensors, the gravitational acceleration sensor may detect the acceleration in each direction (generally, three axes), and may detect the gravity and direction when stationary, and may be used for applications of recognizing the gesture of the mobile phone (such as horizontal/vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer, and knocking), and other sensors such as gyroscopes, barometers, hygrometers, thermometers, and infrared sensors, which may be further configured in the electronic device 1200, will not be described herein.
Audio circuitry 160, speaker 161, microphone 162 may provide an audio interface between a user and electronic device 1200. The audio circuit 160 may transmit the received electrical signal converted from audio data to the speaker 161, and the speaker 161 converts the electrical signal into a sound signal for output, while the microphone 162 may convert the collected sound signal into an electrical signal, and the audio circuit 160 may receive the electrical signal and convert the electrical signal into audio data, and the audio data may be processed by the audio data output processor 180, and then transmitted to another terminal, for example, via the RF circuit 110, or the audio data may be output to the memory 120 for further processing. The audio circuit 160 may also include an ear bud jack to provide communication of the peripheral headphones with the electronic device 1200.
The electronic device 1200 may facilitate user email, web browsing, streaming media access, etc. via the transmission module 170 (e.g., wi-Fi module), which provides wireless broadband internet access to the user. Although fig. 4 shows the transmission module 170, it is understood that it does not belong to the essential constitution of the electronic device 1200, and can be omitted entirely as required within the scope not changing the essence of the invention.
The processor 180 is a control center of the electronic device 1200, connects various parts of the entire handset using various interfaces and lines, and performs various functions of the electronic device 1200 and processes data by running or executing software programs and/or modules stored in the memory 120, and invoking data stored in the memory 120, thereby performing overall monitoring of the handset. Optionally, the processor 180 may include one or more processing cores, and in some embodiments, the processor 180 may integrate an application processor and a modem processor, wherein the application processor primarily processes operating systems, user interfaces, application programs, and the like, and the modem processor primarily processes wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 180.
The electronic device 1200 also includes a power supply 190 that provides power to the various components, and in some embodiments, may be logically connected to the processor 180 via a power management system to perform functions such as managing discharge, and managing power consumption via the power management system. The power supply 190 may also include one or more of any of a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the electronic device 1200 may also include a camera (e.g., front camera, rear camera), a bluetooth module, etc., which are not described in detail herein. In particular, in the present embodiment, the display unit 140 of the electronic device 1200 is a touch screen display, the electronic device 1200 further includes a memory 120, and one or more programs, wherein the one or more programs are stored in the memory 120 and configured to be executed by the one or more processors 180, the one or more programs include instructions for:
A response instruction, configured to respond to a manipulation operation on a first virtual object in a game interface of a first terminal, and determine, according to a type of the first virtual object, a target recommended object that cooperates with the first virtual object to obtain a skill addition from a second virtual object, where the second virtual object is a virtual object that belongs to the same camp as the first virtual object, and the first virtual object and the second virtual object are respectively manipulated by different operators;
And the display instruction is used for displaying the target recommended object in the game interface of the second terminal.
In some embodiments, the response instruction is configured to record an actual response time length of the second operator corresponding to the second terminal when the second operator releases the second virtual object each time, calculate a mean value of the actual response time length of the second terminal when the second operator releases the second virtual object each time to obtain an estimated response time length, update the estimated response time length in real time, and determine a target recommended object matched with the first virtual object to obtain skill addition based on the estimated response time length.
In some embodiments, the program further includes a judging instruction, configured to judge a type of the first virtual object, where the type includes a control type and an injury type, when the type corresponding to the first virtual object is the control type, acquire a valid time point of the first virtual object and first attribute information, where the first attribute information includes a control duration, judge whether the valid duration of the first virtual object is greater than the control duration, and determine a target recommended object according to a judgment result.
In some embodiments, the response instruction is configured to select, if the determination result is that the effective time period of the first virtual object is longer than the control duration period, the virtual object corresponding to the second terminal with the largest injury value as the target recommended object.
In some embodiments, the response instruction is configured to obtain, if the determination result is that the effective duration of the first virtual object is not greater than the control duration, second attribute information of each candidate virtual object from virtual objects corresponding to the second terminal, where the second attribute information includes an injury value of the second virtual object in a unit time, determine at least one second attribute information having a preset coordination relationship with the first attribute information, determine, from the at least one second attribute information, target attribute information with a maximum injury value obtained by combining the first attribute information, and use, as the target recommended object, a candidate virtual object corresponding to the target attribute information.
In some embodiments, the response instruction is configured to perform a difference calculation according to the control duration and an estimated response duration of a manipulator corresponding to a second virtual object to be validated, to obtain an effective control duration of the first virtual object, where the estimated response duration is obtained by performing a mean calculation based on a historical response duration of a second terminal corresponding to the second virtual object to be validated, and calculate, according to the effective control duration and injury values corresponding to respective second attribute information, a plurality of comprehensive injury values, and use second attribute information corresponding to a maximum of the comprehensive injury values as the target attribute information.
In some embodiments, the program further includes a first prompt instruction, configured to determine, when the first virtual object is detected to be triggered, whether a delay duration accumulated by the first virtual object from being triggered exceeds a first preset duration, and when the delay duration exceeds the first preset duration, display a movement track between a triggered position of the first virtual object to a first target movement position in a game interface of the second terminal, or display, through a first preset identifier, the target movement position of the first virtual object in the game interface of the second terminal.
In some embodiments, the program further includes an automatic release instruction for, when the delay time of the first operator to release the first virtual object does not exceed a first preset time period, configuring the target recommended object on the game interface of the second terminal to be automatically released at the first target movement position when triggered, wherein the first preset time period is less than a second preset time period.
In some embodiments, the program further includes a second prompting instruction, configured to, when a delay time period for the first operator to release the first virtual object exceeds a second preset time period, enable the second operator to control any second virtual object in the virtual objects held by the first virtual object before the first virtual object takes effect, and display a movement track from a triggered position to a second target movement position of the second virtual object on a game interface of the first terminal, or display a second target movement position of the second virtual object on the game interface of the first terminal through a second preset identifier, where the first preset time period is less than a second preset time period.
The embodiment of the application also provides electronic equipment, which executes the following steps:
responding to the control operation of the first virtual object in the game interface of the first terminal;
Determining a target recommended object matched with the first virtual object to obtain skill addition from a second virtual object according to the type of the first virtual object, wherein the second virtual object is a virtual object belonging to the same camp as the first virtual object, and the first virtual object and the second virtual object are respectively controlled by different operators;
and displaying the target recommended object in a game interface of the second terminal.
The embodiment of the present application further provides a computer readable storage medium, where a computer program is stored, and when the computer program runs on a computer, the computer executes the virtual object recommendation method described in any one of the above embodiments:
responding to the control operation of the first virtual object in the game interface of the first terminal;
Determining a target recommended object matched with the first virtual object to obtain skill addition from a second virtual object according to the type of the first virtual object, wherein the second virtual object is a virtual object belonging to the same camp as the first virtual object, and the first virtual object and the second virtual object are respectively controlled by different operators;
and displaying the target recommended object in a game interface of the second terminal.
It should be noted that, for the virtual object recommendation method according to the present application, it will be understood by those skilled in the art that all or part of the process of implementing the virtual object recommendation method according to the embodiments of the present application may be implemented by controlling related hardware through a computer program, where the computer program may be stored in a computer readable storage medium, such as a memory of an electronic device, and executed by at least one processor within the electronic device, and the execution process may include the process of implementing the virtual object recommendation method according to the embodiments of the present application. The storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a random access Memory (RAM, random Access Memory), or the like.
For the virtual object recommendation device in the embodiment of the present application, each functional module may be integrated in one processing chip, or each module may exist separately and physically, or two or more modules may be integrated in one module. The integrated modules may be implemented in hardware or in software functional modules. The integrated module, if implemented as a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium such as read-only memory, magnetic or optical disk, etc.
The method, the device, the computer readable storage medium and the electronic equipment for recommending the virtual object provided by the embodiment of the application are described in detail. While the principles and embodiments of the present application have been described in detail in this application, the foregoing embodiments are provided to facilitate understanding of the principles and concepts underlying the application, and variations in terms of specific embodiments and applications are apparent to those skilled in the art in light of the teachings herein, and in light of these teachings, this disclosure should not be construed to limit the application.