Virtual scene interaction processing method, device and equipment, computer readable storage medium and computer program product

By combining the player characters and virtual pets into new virtual pets with specific abilities, the problem that players cannot experience the virtual pet abilities in person and improve immersion.

CN119633367APending Publication Date: 2025-03-18HANGZHOU PAWPRINT INTERACTIVE ENTERTAINMENT TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411562858.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-04
Publication Date
2025-03-18

AI Technical Summary

Technical Problem

In virtual scenes, player characters cannot personally experience the special abilities of non-player characters (such as virtual pets), resulting in a reduced immersion.

Method used

Through fusion operations, the player character is combined with his virtual pet into a new virtual pet with specific abilities, allowing the player character to interact in a specific scene as the new virtual pet.

Benefits of technology

Improves the immersion of player characters in virtual scenes, allowing players to directly experience and use the special abilities of virtual pets.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119633367A_ABST
    Figure CN119633367A_ABST
Patent Text Reader

Abstract

The invention provides an interactive processing method and device of a virtual scene, electronic equipment, a computer readable storage medium and a computer program product. The method comprises the steps that a virtual scene is displayed in a human-computer interaction interface, and the virtual scene comprises a first player character; in response to a combination operation, the first player character and a first virtual pet of the first player character are combined into a second virtual pet with a first ability, and the first ability comprises at least one of the perception ability and the moving ability of the first virtual pet; and in response to the situation that the second virtual pet is located in a first target scene corresponding to the first capability, displaying an interaction picture of the second virtual pet aiming at the first target scene with the first capability. Through the method and the device, the immersion of player character interaction can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to human-computer interaction technology, and in particular to a method, device, equipment, storage medium and program product for interactive processing of a virtual scene. Background Art

[0002] Display technology based on graphics processing hardware has expanded the channels for perceiving the environment and obtaining information, especially the display technology of virtual scenes. It can realize diversified interactions between virtual objects controlled by users or artificial intelligence according to actual application needs, and has various typical application scenarios. For example, in the virtual scene of games, it can simulate the real battle process between virtual characters.

[0003] In the process of the target account (player) controlling the player character to interact in the virtual scene, in order to improve the diversity and fun of the interaction, the relevant technology usually introduces non-player characters (such as virtual pets) into the virtual scene, and when the player character faces a special scene, the non-player character is controlled to use its own special abilities such as mobility and perception to assist the player character to interact in the special scene. However, in this interaction method, the player character only passively benefits from the special abilities of the non-player character and cannot experience this special ability personally, which reduces the immersion of the player character. Summary of the invention

[0004] The embodiments of the present application provide a method, device, electronic device, computer-readable storage medium and computer program product for interactive processing of a virtual scene, which can enhance the immersiveness of player character interaction.

[0005] The technical solution of the embodiment of the present application is implemented as follows:

[0006] The present application provides a method for interactive processing of a virtual scene, including:

[0007] Displaying a virtual scene in a human-computer interaction interface, wherein the virtual scene includes a first player character;

[0008] In response to a merging operation, the first player character and the first virtual pet of the first player character are combined into a second virtual pet having a first ability, wherein the first ability includes at least one of a perception ability and a movement ability of the first virtual pet;

[0009] In response to the second virtual pet being located in a first target scene corresponding to the first capability, an interactive screen of the second virtual pet using the first capability for the first target scene is displayed.

[0010] In the above scheme, in response to a merging operation, combining the first player character and the first virtual pet of the first player character into a second virtual pet with a first ability includes: displaying a pet list, the pet list including at least one first virtual pet belonging to the first player character; in response to a selection operation triggered based on the pet list, highlighting the selected first virtual pet; in response to a merging operation for the first player character and the selected first virtual pet, combining the first player character and the selected first virtual pet into a second virtual pet with a first ability.

[0011] In the above scheme, displaying at least one first virtual pet belonging to the first player character in the pet list includes: in the case where there are multiple first virtual pets, using target sorting in the pet list to display multiple first virtual pets belonging to the first player character; wherein the target order is sorted according to one of the following characteristic parameters of the first virtual pet: historical summoning frequency, historical fusion frequency, the degree of matching between the first ability of the first virtual pet and the current environment of the first player character, and the attribute value of the skill of the first virtual pet.

[0012] In the above scheme, the step of combining the first player character and the first virtual pet of the first player character into a second virtual pet having a first ability in response to a combination operation includes: in a case where the virtual scene currently includes only one first virtual pet of the first player character, in response to a combination operation, combining the first player character and the first virtual pet currently included in the virtual scene into a second virtual pet having a first ability; in a case where the virtual scene currently includes multiple first virtual pets of the first player character, in response to a pet selection operation, combining the first player character and the selected first virtual pet into a second virtual pet having a first ability, wherein the first ability is the first ability of the selected first virtual pet; in a case where the number of the first virtual pets of the first player character is multiple, in response to an automatic combination operation, combining the first player character and a first virtual pet selected from the multiple first virtual pets into a second virtual pet having the first ability, wherein the selected first virtual pet is obtained by selecting and sorting in descending order based on a selection parameter, and the selection parameter is determined based on at least one of the following characteristic parameters: historical summoning frequency, historical combination frequency, the degree of matching between the first ability of the first virtual pet and the current environment of the first player character, and the attribute value of the skill of the first virtual pet.

[0013] In the above scheme, in response to a merging operation, combining the first player character and the first player character's first virtual pet into a second virtual pet having a first ability, includes: in response to the merging operation, displaying an image entrance for configuring the image of the second virtual pet; in response to an image configuration operation triggered based on the image entrance, configuring the image of the second virtual pet into a second image; in response to a determination operation for the second image, combining the first player character and the first player character's first virtual pet into a second virtual pet having the first ability and the second image.

[0014] In the above scheme, in response to the image configuration operation triggered by the image entrance, configuring the image of the second virtual pet as the second image includes: in response to the triggering operation on the image entrance, displaying an image selection interface and displaying at least one candidate image in the image selection interface; in response to the selection operation on the second image among the at least one candidate image, configuring the image of the second virtual pet as the second image.

[0015] In the above scheme, in response to the image configuration operation triggered by the image entrance, the image of the second virtual pet is configured as the second image, including: in response to the triggering operation on the image entrance, displaying an image configuration interface and displaying at least one image tag in the image configuration interface; in response to the selection operation on the target image tag, configuring the image of the second virtual pet as the second image generated based on the target image tag.

[0016] In the above scheme, in response to a merging operation, the first player character and the first player character's first virtual pet are combined into a second virtual pet having a first ability, including: in response to the merging operation, a capability configuration interface is displayed, and at least one capability tag is displayed in the capability configuration interface; in response to a tag selection operation, the first player character and the first player character's first virtual pet are combined into a second virtual pet having a first ability and a third ability, wherein the third ability is the ability indicated by the selected ability tag.

[0017] In the above scheme, displaying the interactive screen of the second virtual pet using the first ability for the first target scene includes: displaying the interactive screen of the second virtual pet using the first ability for the first target scene, wherein the effect of the second virtual pet using the first ability is the same as the effect of the first virtual pet using the first ability, or has a first gain coefficient.

[0018] In the above scheme, after displaying the interactive screen of the second virtual pet with the first ability for the first target scene, the method further includes: when the number of the first virtual pets of the first player character is multiple, in response to satisfying the combination update condition, updating the second virtual pet to a third virtual pet with a second ability, wherein the third virtual pet is synthesized by the first player character and the new first virtual pet, the new first virtual pet is one of the multiple first virtual pets, and the second ability is the first ability of the new first virtual pet; wherein the combination update condition includes at least one of the following: receiving a combination update operation, the combination update operation indicates that the first player character is combined with the new first virtual pet; the second virtual pet moves to the second target scene, and the matching degree between the second ability and the second target scene is greater than the matching degree between the first ability and the second target scene; the interaction progress of the second virtual pet in the virtual scene reaches the second target progress, and the interaction progress includes at least one of the following: interaction time and interaction score.

[0019] In the above scheme, after the first player character and the first player character's first virtual pet are combined into a second virtual pet with a first ability, the method further includes: in response to an interactive trigger operation for the second virtual pet, controlling the second virtual pet to release a skill of the first virtual pet; wherein the interactive target of the skill includes at least one of the following: a virtual object in the virtual scene, a non-player character in the virtual scene, a second player character in the virtual scene, and the second player character is different from the first player character.

[0020] In the above scheme, controlling the second virtual pet to release the skills of the first virtual pet includes: when the first player character combines with multiple first virtual pets to obtain the second virtual pet, releasing a skill combination, the skill combination includes at least one skill belonging to each of the first virtual pets, wherein the skill combination is determined in the following manner: obtaining a representative skill combination of each of the first virtual pets; using the features of multiple candidate skill combinations of multiple first virtual pets, calling a second machine learning model to calculate the probability of use of each skill combination, and selecting the skill combination with the maximum probability of use; wherein the second machine learning model is trained in the following manner: calling the second machine learning model to predict based on the features of multiple skill combination samples to obtain the probability of each skill combination, and performing back propagation based on the difference between the probability of each skill combination and the actual selection result label to update the parameters of the second machine learning model.

[0021] In the above scheme, controlling the second virtual pet to release the skill of the first virtual pet includes: controlling the second virtual pet to release the skill of the first virtual pet, wherein the attribute value of the skill of the first virtual pet released by the second virtual pet is the same as the attribute value of the same skill released by the first virtual pet, or has a second gain coefficient.

[0022] In the above scheme, after displaying the interactive screen of the second virtual pet with the first ability for the first target scene, the method also includes: in response to satisfying a disintegration condition, decomposing the second virtual pet into the first player character and the first virtual pet, wherein the disintegration condition includes any one of the following: receiving a disintegration trigger operation for the second virtual pet; the combination time of the first player character and the first virtual pet reaches a preset time; the second virtual pet completes a predetermined task.

[0023] The present application provides a virtual scene interactive processing device, the device comprising:

[0024] A first display module, used for displaying a virtual scene in a human-computer interaction interface, wherein the virtual scene includes a first player character;

[0025] a fusion processing module, configured to, in response to a fusion operation, combine the first player character and a first virtual pet of the first player character into a second virtual pet having a first capability, wherein the first capability includes at least one of a perception capability and a movement capability of the first virtual pet;

[0026] The second display module is configured to display an interactive screen of the second virtual pet with the first capability for the first target scene in response to the second virtual pet being located in the first target scene corresponding to the first capability.

[0027] In the above scheme, the fusion processing module is also used to display a pet list, which includes at least one first virtual pet belonging to the first player character; in response to a selection operation triggered based on the pet list, the selected first virtual pet is highlighted; in response to a fusion operation for the first player character and the selected first virtual pet, the first player character and the selected first virtual pet are combined into a second virtual pet with a first ability.

[0028] In the above scheme, the fusion processing module is also used to use target sorting in the pet list to display multiple first virtual pets belonging to the first player character when there are multiple first virtual pets; wherein the target order is sorted according to one of the following characteristic parameters of the first virtual pet: historical summoning frequency, historical fusion frequency, the degree of matching between the first ability of the first virtual pet and the current environment of the first player character, and the attribute value of the skill of the first virtual pet.

[0029] In the above scheme, the combination processing module is further used for combining the first player character with the first virtual pet currently included in the virtual scene when the virtual scene currently includes only one first virtual pet of the first player character; in response to a pet selection operation, combining the first player character with at least one selected first virtual pet into a second virtual pet with a first ability, wherein the first ability is the first ability of the at least one selected first virtual pet; in response to an automatic combination operation, combining the first player character with a first virtual pet selected from the plurality of first virtual pets into a second virtual pet with a first ability when the number of the first virtual pets of the first player character is multiple, wherein the first virtual pet selected is obtained by descending sorting of a selection parameter, and the selection parameter is determined based on at least one of the following characteristic parameters: historical summoning frequency, historical combination frequency, the degree of matching between the first ability of the first virtual pet and the current environment of the first player character, and the attribute value of the skill of the first virtual pet.

[0030] In the above scheme, the fusion processing module is also used to combine the first player character and the first virtual pet of the first player character into a second virtual pet with a first ability in response to meeting an automatic fusion condition, wherein the automatic fusion condition includes any one of the following: receiving an operation of the first player character using a virtual prop with a fusion function; receiving an interaction operation between the first player character and a first target scene; the first player character moves to the first target scene and the degree of match between the first player character with the first ability and the first target scene is greater than the degree of match between the first player character without the first ability and the first target scene; the interaction progress of the first player character in the virtual scene reaches the first target progress.

[0031] In the above scheme, the fusion processing module is also used to respond to the fusion operation and combine the first player character and the first virtual pet of the first player character into a second virtual pet with a first ability and a first image, wherein the size and skin of the second virtual pet of the first image meet any one of the following conditions: the size of the second virtual pet is larger than the size of the first virtual pet, wherein the magnification of the size of the second virtual pet relative to the first virtual pet represents the magnification of the effect of the second virtual pet using the first ability of the first virtual pet relative to the first ability of the first virtual pet; the skin of the second virtual pet is consistent with the skin of the first virtual pet; the skin of the second virtual pet is obtained by fusing the skin of the first player character and the first virtual pet; when the first player character merges with multiple first virtual pets, the skin of the second virtual pet changes dynamically following the first virtual pet to which the first ability currently being used belongs.

[0032] In the above scheme, the fusion processing module is also used to display an image entrance for configuring the image of the second virtual pet in response to a fusion operation; configure the image of the second virtual pet as a second image in response to an image configuration operation triggered based on the image entrance; and combine the first player character and the first virtual pet of the first player character into a second virtual pet with a first ability and the second image in response to a determination operation on the second image.

[0033] In the above scheme, the combination processing module is also used to display an image selection interface in response to a trigger operation on the image entrance, and display at least one candidate image in the image selection interface; in response to a selection operation on a second image among the at least one candidate image, configure the image of the second virtual pet as the second image.

[0034] In the above scheme, the combination processing module is also used to display an image configuration interface in response to a trigger operation on the image entrance, and display at least one image tag in the image configuration interface; in response to a selection operation on a target image tag, configure the image of the second virtual pet to be a second image generated based on the target image tag.

[0035] In the above scheme, the fusion processing module is also used to display an ability configuration interface in response to a fusion operation, and display at least one ability tag in the ability configuration interface; in response to a tag selection operation, the first player character and the first player character's first virtual pet are combined into a second virtual pet having a first ability and a third ability, and the third ability is the ability indicated by the selected ability tag.

[0036] In the above solution, the second display module is further used to display a picture of the second virtual pet moving in the mobile scene with the mobile capability in response to the first target scene being a mobile scene and the first capability being a mobile capability adapted to the mobile scene.

[0037] In the above scheme, before the first player character and the first virtual pet are combined into a second virtual pet with a first ability, the device also includes: a third display module, which is used to display a first field of view picture observed by the first player character for the first target scene in response to the first player character being located in the first target scene; correspondingly, the second display module is also used to display a second field of view picture observed by the second virtual pet for the first target scene with the perception ability in response to the first ability being a perception ability for expanding the field of view; wherein the field of view of the second field of view picture is larger than the field of view of the first field of view picture.

[0038] In the above scheme, before the first player character and the first virtual pet are combined into a second virtual pet with a first ability, the device also includes: a fourth display module, which is used to display a third field of view picture observed by the first player character for the first target scene in response to the first player character being located in the first target scene; correspondingly, the second display module is also used to display a fourth field of view picture observed by the second virtual pet for the first target scene with the perception ability in response to the first ability being a perception ability with a night vision function; wherein the visibility of the third field of view picture is lower than the visibility of the fourth field of view picture.

[0039] In the above scheme, before the first player character and the first virtual pet are combined into a second virtual pet with a first ability, the device also includes: a fifth display module, which is used to display a fifth field of view picture observed by the first player character for the first target scene in response to the first player character being located in the first target scene and there being an obscured virtual object in the first target scene; correspondingly, the second display module is also used to display a sixth field of view picture of the second virtual pet for the virtual object with the perception ability in response to the first ability being a perception ability with a detection function; wherein the virtual object in the fifth field of view picture is in an invisible state relative to the first player character, and the virtual object in the sixth field of view picture is in a visible state relative to the second virtual pet.

[0040] In the above scheme, the second display module is also used to display an interactive screen of the second virtual pet with combined capabilities for the first target scene when the first player character combines with multiple first virtual pets to obtain the second virtual pet, wherein the combined capabilities are determined in the following manner: the first capabilities of each of the first virtual pets are combined; the representative combined capabilities of the first capabilities of each of the first virtual pets are obtained; the features of multiple candidate combined capabilities of multiple first virtual pets are used to call the first machine learning model to calculate the usage probability of each combined capability, and select the combined capability with the maximum usage probability; wherein the first machine learning model is trained in the following manner: the first machine learning model is called to predict based on the features of multiple combined capability samples to obtain the probability of each combined capability, and back propagation is performed based on the difference between the probability of each combined capability and the actual selection result label to update the parameters of the first machine learning model.

[0041] In the above scheme, the second display module is also used to display an interactive screen of the second virtual pet using the first ability for the first target scene, wherein the effect of the second virtual pet using the first ability is the same as the effect of the first virtual pet using the first ability, or has a first gain coefficient.

[0042] In the above scheme, after displaying the interactive screen of the second virtual pet with the first ability for the first target scene, the device also includes: a pet update module, which is used to update the second virtual pet to a third virtual pet with a second ability in response to satisfying a combination update condition when the number of the first virtual pets of the first player character is multiple, wherein the third virtual pet is synthesized by the first player character and the new first virtual pet, the new first virtual pet is one of the multiple first virtual pets, and the second ability is the first ability of the new first virtual pet; wherein the combination update condition includes at least one of the following: receiving a combination update operation, the combination update operation indicates that the first player character is combined with the new first virtual pet; the second virtual pet moves to the second target scene, and the matching degree between the second ability and the second target scene is greater than the matching degree between the first ability and the second target scene; the interaction progress of the second virtual pet in the virtual scene reaches the second target progress, and the interaction progress includes at least one of the following: interaction time and interaction score.

[0043] In the above scheme, after the first player character and the first virtual pet of the first player character are combined into a second virtual pet with a first ability, the device also includes: a skill release module, which is used to control the second virtual pet to release the skill of the first virtual pet in response to an interactive trigger operation for the second virtual pet; wherein the interactive target of the skill includes at least one of the following: a virtual object in the virtual scene, a non-player character in the virtual scene, and a second player character in the virtual scene, and the second player character is different from the first player character.

[0044] In the above scheme, the skill release module is also used to release a skill combination when the first player character combines with multiple first virtual pets to obtain the second virtual pet, and the skill combination includes at least one skill belonging to each of the first virtual pets, wherein the skill combination is determined in the following manner: a representative skill combination of each of the first virtual pets is obtained; the features of multiple candidate skill combinations of multiple first virtual pets are used to call the second machine learning model to calculate the usage probability of each skill combination, and select the skill combination with the maximum usage probability; wherein the second machine learning model is trained in the following manner: the second machine learning model is called to predict based on the features of multiple skill combination samples to obtain the probability of each skill combination, and back propagation is performed based on the difference between the probability of each skill combination and the actual selection result label to update the parameters of the second machine learning model.

[0045] In the above scheme, the skill release module is also used to control the second virtual pet to release the skill of the first virtual pet, wherein the attribute value of the skill of the first virtual pet released by the second virtual pet is the same as the attribute value of the same skill released by the first virtual pet, or has a second gain coefficient.

[0046] In the above scheme, after displaying the interactive screen of the second virtual pet with the first ability for the first target scene, the device also includes: a disintegration processing module, which is used to decompose the second virtual pet into the first player character and the first virtual pet in response to meeting a disintegration condition, wherein the disintegration condition includes any one of the following: receiving a disintegration trigger operation for the second virtual pet; the combination time of the first player character and the first virtual pet reaches a preset time; the second virtual pet completes a predetermined task.

[0047] An embodiment of the present application provides an electronic device, including:

[0048] A memory for storing computer executable instructions or computer programs;

[0049] The processor is used to implement the interactive processing method of the virtual scene provided in the embodiment of the present application when executing the computer executable instructions or computer programs stored in the memory.

[0050] An embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions or a computer program for implementing the interactive processing method of a virtual scene provided in the embodiment of the present application when executed by a processor.

[0051] An embodiment of the present application provides a computer program product, including a computer program or computer executable instructions. When the computer program or computer executable instructions are executed by a processor, the interactive processing method of the virtual scene provided in the embodiment of the present application is implemented.

[0052] The embodiments of the present application have the following beneficial effects:

[0053] By applying the embodiments of the present application, for the first player character displayed in the virtual scene, when the fusion operation is triggered, the first player character and the first virtual pet owned by the first player character can be combined into a second virtual pet, that is, under the fusion of the first player character and the first virtual pet, the first player character is transformed into the second virtual pet, and the second virtual pet is used to represent the first player character. Since the second virtual pet (that is, the first player character after the transformation) has at least one of the first virtual pet's perception ability and movement ability, when the second virtual pet (that is, the first player character after the transformation) is located in the first target scene corresponding to the first ability, the second virtual pet (that is, the target player character after the transformation) can be displayed. The interactive screen of the first target scene with the first ability can be displayed, that is, the first player character after the transformation can directly use at least one of the movement ability and perception ability of the first virtual pet to interact in the first target scene, which improves the immersion of the first player character in experiencing the first ability of the first virtual pet in the first target scene. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 1 is a schematic diagram of the architecture of a virtual scene interactive processing system 100 provided in an embodiment of the present application;

[0055] Figure 2 is a schematic diagram of the structure of an electronic device 500 provided in an embodiment of the present application;

[0056] Figure 3 It is a flowchart of an interactive processing method of a virtual scene provided in an embodiment of the present application;

[0057] Figure 4 It is a combined schematic diagram provided in an embodiment of the present application;

[0058] Figure 5This is a schematic diagram of the configuration of the image of the second virtual pet to be synthesized provided in the embodiment of the present application. Figure 1 ;

[0059] Figure 6 This is a schematic diagram of the configuration of the image of the second virtual pet to be synthesized provided in the embodiment of the present application. Figure 2 ;

[0060] Figure 7 is a schematic diagram of the capability configuration of the second virtual pet to be synthesized provided in an embodiment of the present application;

[0061] Figure 8 This is a comparison diagram of the visual field provided by the embodiment of the present application. Figure 1 ;

[0062] Fig. 9 This is a comparison diagram of the visual field provided by the embodiment of the present application. Figure 2 ;

[0063] Fig.10 This is a comparison diagram of the visual field provided by the embodiment of the present application. Figure 3 . DETAILED DESCRIPTION

[0064] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.

[0065] It is understandable that in the embodiments of the present application, related data such as user information is involved. When the embodiments of the present application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards.

[0066] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0067] In the following description, the terms "first\second..." are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second..." can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.

[0068] In the embodiments of the present application, the term "module" or "unit" refers to a computer program or a part of a computer program with a predetermined function, and works together with other related parts to achieve a predetermined goal, and can be implemented in whole or in part by using software, hardware (such as processing circuits or memories) or a combination thereof. Similarly, a processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be part of an overall module or unit that includes the function of the module or unit.

[0069] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0070] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.

[0071] 1) Client: an application running in the terminal to provide various services, such as a video player client, a game client, etc.

[0072] 2) In response, it is used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more operations executed may be in real time or have a set delay. Unless otherwise specified, there is no restriction on the order of execution of the multiple operations executed.

[0073] 3) A virtual scene is a virtual scene displayed (or provided) when an application is running on a terminal. The virtual scene can be a simulation of the real world, a semi-simulation and semi-fictitious virtual environment, or a purely fictitious virtual environment. The virtual scene can be any of a two-dimensional virtual scene, a 2.5-dimensional virtual scene, or a three-dimensional virtual scene. The embodiment of the present application does not limit the dimension of the virtual scene. For example, the virtual scene may include the sky, land, ocean, etc. The land may include environmental elements such as deserts and cities, and users can control virtual objects to move in the virtual scene.

[0074] 4) Virtual characters, images of various people and objects that can interact in a virtual scene, or movable objects in a virtual scene, which can be virtual characters, virtual animals, cartoon characters, etc., such as people and animals displayed in a virtual scene. A virtual character can be a virtual image used to represent a user in the virtual scene. A virtual scene can include multiple virtual characters, each of which has its own shape and volume in the virtual scene and occupies a part of the space in the virtual scene.

[0075] In actual applications, virtual characters can be divided into player characters and non-player characters according to whether the virtual characters are controlled by users (or players). Player characters are game characters controlled by users (or players), and non-player characters are game characters not controlled by users (or players), such as animal-type non-player characters (NPC, Non-Player Character) (such as elves or pets). Player characters and non-player characters can interact in virtual scenes. In the embodiment of the present application, non-player characters are called virtual pets.

[0076] 5) Mobility refers to the mobility of a virtual character in special mobility scenarios. In particular, in virtual scenario applications, non-player characters (i.e., virtual pets) often have certain special mobility capabilities, such as the ability to climb trees, hillsides, etc., the ability to swim in rivers, seas, etc., the ability to jump or fly in non-contact mobility scenarios, etc.

[0077] 6) Perceptual ability refers to the ability of a player character or non-player character to receive external information through the senses and interpret, understand and process it, including but not limited to: auditory ability (including auditory perception ability and auditory perception ability, that is, the ability to perceive and identify sound), visual ability (including visual perception ability and visual perception ability, that is, the perception of light and color, and the ability to identify shape, size, distance, depth and movement), olfactory ability (including olfactory ability and olfactory perception ability, that is, the perception and identification of smell), taste ability (including taste perception ability and taste perception ability, that is, the perception and identification of taste), tactile ability (including tactile ability and tactile perception ability, that is, the feeling of contact, pressure, temperature, texture, etc.).

[0078] In virtual scene applications, there may be differences in perception abilities between non-player characters (i.e., virtual pets) and player characters, such as non-player characters having the ability to expand their field of vision (e.g., bilateral field of vision or a larger field of vision radius), the ability to have night vision, the ability to have special hearing (i.e., non-player characters may be sensitive to certain sounds, or be able to hear sounds that player characters cannot hear), the ability to have detection functions (e.g., non-player characters can perceive the player characters' intentions, emotions, or detect hidden player characters or virtual objects). In some virtual scenes, non-player characters may have special olfactory abilities and be able to detect the player characters' smells or other clues.

[0079] The embodiments of the present application provide an interactive processing method, device, electronic device, computer-readable storage medium and computer program product for a virtual scene, which can improve the immersion of player character interaction. The exemplary application of the electronic device provided by the embodiments of the present application is described below. The electronic device provided by the embodiments of the present application can be implemented as various types of user terminals such as laptop computers, tablet computers, desktop computers, set-top boxes, mobile devices (e.g., mobile phones, portable music players, personal digital assistants, dedicated messaging devices, portable gaming devices), smart phones, smart speakers, smart watches, smart TVs, vehicle-mounted terminals, augmented reality (AR, Augmented Reality) devices and virtual reality (VR, Virtual Reality) devices, and can also be implemented as servers. Below, the exemplary application when the device is implemented as a terminal will be described.

[0080] See also Figure 1 , Figure 1 It is a schematic diagram of the architecture of the interactive system 100 of the virtual scene provided in an embodiment of the present application. To support an exemplary application, the terminal (terminal 400-1 and terminal 400-2 are shown as examples) is connected to the server 200 via the network 300. The network 300 can be a wide area network or a local area network, or a combination of the two.

[0081] In some embodiments, the terminal is provided with a client, such as a video playback client, an instant messaging client, a game client, a live broadcast client, etc. The server 200 is a background server corresponding to the client, which can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and big data and artificial intelligence platforms. The terminal and the server can be directly or indirectly connected by wired or wireless communication, which is not limited in the embodiments of the present application.

[0082] In actual application, the terminal displays a virtual scene in the human-computer interaction interface, wherein the virtual scene includes a first player character; in response to a fusion operation, a fusion request is sent to the server 200; based on the fusion request, the server 200 determines the first virtual pet owned by the first player character to be fused, combines the first player character and the first virtual pet into a second virtual pet with a first ability, and returns the fused second virtual pet to the terminal; the terminal displays the fused second virtual pet in the virtual scene, and in response to the second virtual pet being located in a first target scene corresponding to the first ability, displays an interactive screen of the second virtual pet with the first ability for the first target scene.

[0083] See also Figure 2 , Figure 2 is a schematic diagram of the structure of an electronic device 500 provided in an embodiment of the present application, taking the electronic device 500 as Figure 1 For example, the terminal in Figure 2 The electronic device 500 shown includes: at least one processor 510, a memory 550, at least one network interface 520 and a user interface 530. The various components in the electronic device 500 are coupled together via a bus system 540. It is understood that the bus system 540 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 540 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 540 is not described in detail. Figure 2 Various buses are labeled as bus system 540 .

[0084] The processor 510 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.

[0085] The memory 550 includes a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), and the volatile memory may be a random access memory (RAM). The memory 550 described in the embodiment of the present application is intended to include any suitable type of memory. The memory 550 optionally includes one or more storage devices that are physically far away from the processor 510.

[0086] In some embodiments, the memory 550 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplarily described below.

[0087] The operating system 551 includes system programs for processing various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic businesses and processing hardware-based tasks; a network communication module 552 is used to reach other electronic devices via one or more (wired or wireless) network interfaces 520. Exemplary network interfaces 520 include: Bluetooth, Wireless Compatibility Certification (WiFi), and Universal Serial Bus (USB), etc.

[0088] In some embodiments, the interactive processing device for the virtual scene provided in the embodiments of the present application can be implemented in software. The interactive processing device for the virtual scene provided in the embodiments of the present application can be provided as various software embodiments, including various forms including applications, software, software modules, scripts or codes. Figure 2 An interactive processing device 555 of a virtual scene stored in a memory 550 is shown, which may be software in the form of a program or plug-in, and includes a series of modules, including a first display module 5551, a combined processing module 5552, and a second display module 5553. These modules are logical, and therefore may be arbitrarily combined or further split according to the functions implemented. The functions of each module will be described below.

[0089] In other embodiments, the device provided in the embodiments of the present application can be implemented in hardware. As an example, the device provided in the embodiments of the present application can be a processor in the form of a hardware decoding processor, which is programmed to execute the interactive processing method of the virtual scene provided in the embodiments of the present application. For example, the processor in the form of a hardware decoding processor can adopt one or more application specific integrated circuits (Application Specific Integrated Circuit, ASIC), digital signal processors (Digital Signal Processor, DSP), programmable logic devices (Programmable Logic Device, PLD), complex programmable logic devices (Complex Programmable Logic Device, CPLD), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other electronic components.

[0090] In some embodiments, the terminal or server can implement the interactive processing method of the virtual scene provided in the embodiment of the present application by running various computer executable instructions or computer programs. For example, computer executable instructions can be commands, machine instructions or software instructions at the microprogram level. The computer program can be a native program or software module in the operating system; it can be a local (Native) application (APPlication, APP), that is, a program that needs to be installed in the operating system to run, such as a game APP; it can also be a small program that can be embedded in any APP, that is, a program that can be run only by downloading it to a browser environment. In short, the above-mentioned computer executable instructions can be instructions in any form, and the above-mentioned computer program can be an application, module or plug-in in any form.

[0091] As mentioned above, the interactive processing method of the virtual scene provided in the embodiment of the present application can be implemented by various types of electronic devices, for example, Figure 1 The terminal and the server 200 in the embodiment can be executed by either one of them separately, or by Figure 1 The terminal and server 200 in the embodiment cooperate to execute. Figure 1 The interactive processing method of the virtual scene provided in the embodiment of the present application is described as an example. Figure 3 , Figure 3 is a flowchart of the interactive processing method of the virtual scene provided in the embodiment of the present application, which will be combined with Figure 3 The steps shown are explained.

[0092] Step 101: The terminal displays a virtual scene in a human-computer interaction interface, wherein the virtual scene includes a first player character.

[0093] In actual applications, a client that supports virtual scenes is installed on the terminal (for example, when the virtual scene is a game, the corresponding client can be a game APP). When the user opens the client installed on the terminal and the terminal runs the client, the virtual scene can be displayed in the human-computer interaction interface of the client, and the first player character controlled by the target account (that is, the account corresponding to the current terminal) can be displayed in the virtual scene. The target account can control the first player character to perform various interactions in the virtual scene, such as controlling the first player character to move in the virtual scene, pick up virtual props, release virtual skills, etc.

[0094] In addition, when the first player character has a virtual pet, the virtual pet owned by the first player character can also be displayed in the virtual scene. When the first player character has multiple virtual pets, all or part of the virtual pets owned by the first player character can be displayed in the virtual scene. The virtual pet owned by the first player character can follow the first player character to interact in the virtual scene, and the first player character and the virtual pet owned by it can also interact in various ways, such as the first player character can interact with the virtual pet through text or voice, the first player character can instruct the virtual pet to pick up virtual props or exchange virtual props, the virtual pet can provide related services to the first player character (such as providing treatment services to the first player character, picking up virtual props services or transporting back virtual props services), etc.

[0095] Step 102: In response to a merging operation, the first player character and the first virtual pet of the first player character are combined into a second virtual pet having a first ability.

[0096] The first ability includes at least one of a perception ability and a movement ability of the first virtual pet.

[0097] In actual applications, the terminal can respond to the combination operation according to the interaction needs of the first player character in the virtual scene and combine the first player character and the first virtual pet owned by the first player character into a second virtual pet, that is, use the second virtual pet to represent the first player character. Since the second virtual pet (that is, the transformed first player character) has at least one of the first virtual pet's perception ability and movement ability, the second virtual pet (that is, the transformed first player character) can experience interaction in the target scene adapted to the first ability with the first ability, thereby enhancing the immersion of the first player character in experiencing the first ability of the first virtual pet.

[0098] The above-mentioned fusion operation can be actively triggered by the player (for the terminal, the fusion operation is a passive fusion operation), or it can be not actively triggered by the player, but automatically triggered by the terminal based on the interaction needs of the first player character in the virtual scene. The various trigger modes will be explained below.

[0099] In some embodiments, the terminal may respond to a merging operation to combine a first player character and a first virtual pet of the first player character into a second virtual pet having a first ability in the following manner: displaying a pet list and displaying at least one first virtual pet belonging to the first player character in the pet list; in response to a selection operation triggered based on the pet list, highlighting the selected first virtual pet; in response to a merging operation for the first player character and the selected first virtual pet, combining the first player character and the selected first virtual pet into a second virtual pet having a first ability.

[0100] In actual application, when the first player character has a first virtual pet, during the process of the first player character interacting in the virtual scene, a pet list can also be displayed in the virtual scene, wherein the pet list displays one or more (two or more) first virtual pets owned by the first player character, and when the player selects one or more first virtual pets, the selected first virtual pet can be highlighted (such as highlighted, displayed in a special color, etc.) to distinguish it from the unselected first virtual pets. After the player selects the first virtual pet, the combination operation for the first player character and the selected first virtual pet can be triggered, and the terminal can combine the first player character and the selected first virtual pet into a second virtual pet in response to the combination operation.

[0101] Among them, the above-mentioned combination operation is actively triggered by the player to instruct the combination of the first player character and the selected first virtual pet. There are many ways to trigger the combination operation. For example, the player can trigger the combination operation by triggering the combination control, or by entering a voice instructing the combination of the first player character and the selected first virtual pet to trigger the combination operation, or by making a somatic action instructing the combination of the first player character and the selected first virtual pet to trigger the combination operation. Of course, the player can also trigger the combination operation in other ways, and the embodiment of the present application does not limit the triggering method of the combination operation.

[0102] It can be understood that, in some embodiments, when the first player character has a virtual pet, a combination control can also be displayed in the virtual scene during the interaction of the first player character in the virtual scene. When the player triggers the combination control, the terminal responds to the trigger operation and displays a pet list in the virtual scene. The pet list displays one or more (two or more) first virtual pets owned by the first player character. When the player selects one or more first virtual pets from them, a combination operation indicating that the first player character and the selected first virtual pet are combined can be triggered, that is, the terminal responds to the combination operation and combines the first player character and the selected first virtual pet into a second virtual pet.

[0103] In some embodiments, the terminal may display at least one first virtual pet belonging to the first player character in the pet list in the following manner: when there are multiple first virtual pets, target sorting is adopted in the pet list to display multiple first virtual pets belonging to the first player character; wherein the target order is sorted according to one of the following characteristic parameters of the first virtual pet: historical summoning frequency, historical fusion frequency, the degree of matching between the first ability of the first virtual pet and the current environment of the first player character, and the attribute value of the skill of the first virtual pet.

[0104] In actual applications, when the first player character has multiple first virtual pets, the fusion priorities of different first virtual pets are usually different. According to the fusion priority of the first virtual pets, each first virtual pet can be displayed in a corresponding display style, that is, for first virtual pets with different fusion priorities, each first virtual pet can be displayed in a different display style (such as different display order, different display color, different display brightness, different display font, etc.), or the first virtual pet with a higher fusion priority can be highlighted, so that the player can select the desired first virtual pet for fusion, which is conducive to improving the pertinence and efficiency of the fusion.

[0105] For example, when the first player character owns multiple first virtual pets, the multiple first virtual pets belonging to the first player character are displayed in a target order in the pet list, wherein the target order is sorted according to characteristic parameters related to the first virtual pets, wherein the characteristic parameters may include the historical summoning frequency of the first virtual pet (i.e., the frequency or number of times the first player character summons the first virtual pet to the virtual scene). Generally, the greater the historical summoning frequency of the first virtual pet, the higher its fusion priority, and accordingly, the higher the display order of the first virtual pet in the pet list; the characteristic parameters may also include the historical fusion frequency of the first virtual pet (i.e., the frequency or number of times the first player character and the first virtual pet combine within the historical target time period). Generally, the greater the historical fusion frequency of the first virtual pet, the higher its fusion priority, and accordingly, the higher the display order of the first virtual pet in the pet list. The characteristic parameters may also include the attribute values ​​of the skills of the first virtual pet (attack ability, defense ability, speed, physical strength, magic value, etc.). Generally, the greater the attribute value of the skills of the first virtual pet, the higher its fusion priority, and accordingly, the higher the display order of the first virtual pet in the pet list.

[0106] The feature parameters may also include the degree of match between the first ability of the first virtual pet and the current environment of the first player character. Generally, the greater the degree of match, the higher the priority of the corresponding first virtual pet, and the higher its display order in the pet list. The degree of match can be based on the ability characteristics of the first ability of the first virtual pet (i.e., ability type, such as climbing ability, swimming ability, flying ability, ability to expand field of view, night vision ability, detection ability, etc.) and the scene characteristics of the current scene of the first player character (i.e., scene type, such as hillside climbing scenes, wading swimming scenes, non-contact flying scenes, dark scenes, scenes with obstructions, etc.), and the third machine learning model is called for prediction. The third machine learning model is trained in the following way: based on the ability characteristics of the sample virtual pet and the scene characteristics of the current scene of the sample player character, the third machine learning model is called for prediction. The machine learning model calculates the predicted degree of match, and performs back propagation based on the difference between the predicted degree of match and the actual matching result label (1 for match, 0 for mismatch) to update the parameters of the third machine learning model. For example, after determining the value of the loss function of the third machine learning model based on the difference between the predicted degree of match and the actual matching result label (1 for match, 0 for mismatch), it can be determined whether the value of the loss function exceeds a preset threshold. When the value of the loss function exceeds the preset threshold, the error signal of the third machine learning model is determined based on the loss function, the error signal is back propagated in the third machine learning model, and the model parameters of each layer are updated during the propagation process.

[0107] Among them, the embodiments of the present application do not limit the model structure of the machine learning model (including the third machine learning model and the subsequent first machine learning model and second machine learning model). For example, the machine learning model may be a convolutional neural network, a deep neural network, etc.; it is not limited to the form of the loss function, for example, it may be a cross entropy loss function, an L2 loss function, etc. Here, back propagation is explained. The training sample data is input into the input layer of the neural network model, passes through the hidden layer, and finally reaches the output layer and outputs the result. This is the forward propagation process of the neural network model. Since there is an error between the output result of the neural network model and the actual result, the error between the output result and the actual value is calculated, and the error is backpropagated from the output layer to the hidden layer until it propagates to the input layer. In the process of back propagation, the value of the model parameter is adjusted according to the error, that is, the loss function is constructed according to the error between the output result and the actual value, and the partial derivatives of the loss function with respect to the model parameters are calculated layer by layer to generate the gradient of the loss function with respect to the model parameters of each layer. Since the direction of the gradient indicates the direction of error expansion, the gradient of the model parameters is inverted and summed with the original parameters of each layer model. The summed result is used as the updated model parameters of each layer, thereby reducing the error caused by the model parameters, and the above process is continuously iterated until convergence.

[0108] In some embodiments, the terminal may respond to a fusion operation by combining the first player character and the first player character's first virtual pet into a second virtual pet with a first ability in the following manner: in response to satisfying an automatic fusion condition, combining the first player character and the first player character's first virtual pet into a second virtual pet with a first ability, wherein the automatic fusion condition includes any one of the following: receiving an operation by the first player character to use a virtual item with a fusion function; receiving an interaction operation between the first player character and a first target scene; the first player character moves to the first target scene and the degree of match between the first player character with the first ability and the first target scene is greater than the degree of match between the first player character without the first ability and the first target scene; the interaction progress of the first player character in the virtual scene reaches the first target progress.

[0109] In actual applications, automatic fusion conditions can be pre-configured. In this way, during the interaction of the first player character in the virtual scene, if the automatic fusion conditions are met, the automatic fusion operation can be triggered. In response to the automatic fusion operation, the terminal combines the first player character and the first virtual pet of the first player character into a second virtual pet with the first ability.

[0110] For example, virtual props or virtual skills with a fusion function (i.e., capable of triggering a fusion operation) can be pre-configured, and when a player character uses such virtual props or virtual skills, an automatic fusion operation will be triggered. Then, when the first player character uses such virtual props or virtual skills in a virtual scene, the terminal receives the first player character's use operation of such virtual props or virtual skills, and can determine that the automatic fusion condition is met, and trigger the automatic fusion operation.

[0111] For another example, a target scene with a fusion function (i.e., capable of triggering a fusion operation) can be pre-configured, and when the player character interacts with the target scene, the automatic fusion operation will be triggered. When the first player character interacts with the target scene, the terminal receives the interaction operation between the first player character and the target scene, and can determine that the automatic fusion condition is met, and trigger the automatic fusion operation. Among them, the target scene generally refers to a scene that can trigger an automatic fusion operation (including the first target scene), that is, under this configuration, the player character interacts with a specific scene, such as touching a mysterious statue, entering a special area, etc., to trigger an automatic fusion operation.

[0112] For another example, it can be pre-configured that when the matching degree between the player character and the target scene (including the first target scene) is lower than the matching degree threshold, an automatic combination operation will be triggered, and the automatic combination operation indicates that the first player character is combined and transformed into a second virtual pet with a first ability (in fact, the first player character after the transformation has the first ability), and the matching degree between the first player character with the first ability and the target scene reaches the matching degree threshold, so when the first player character moves to the first target scene, the terminal automatically combines the first player character based on the character characteristics of the first player character (such as the various skills possessed by the first player character (including attack ability, defense ability, etc.) The first player character is determined to match the first target scene based on the attribute values ​​of the first virtual pet (such as strength, speed, stamina, magic value, etc.) and the scene characteristics of the first target scene (i.e., scene type, such as a climbing scene on a hillside, a swimming scene in wading, a non-contact flying scene, a dark scene, a scene with obstructions, etc.). When the matching degree between the two is lower than the matching degree threshold, it can be determined that the automatic fusion condition is met, and the automatic fusion operation is triggered to transform the first player character into a second virtual pet with the first ability, and the matching degree between the second virtual pet with the first ability and the first target scene is greater than the matching degree threshold.

[0113] For another example, it can be pre-configured that when the interaction progress of the player character in the virtual scene reaches a first target progress, an automatic fusion operation will be triggered. That is, as the interaction progress advances, such as when the interaction time of the first player character in the virtual scene reaches the target time, or when the interaction score of the first player character in the virtual scene reaches a score threshold, an automatic fusion operation can be triggered to control the first player character to naturally transform into a virtual pet.

[0114] Through the above method, the terminal can trigger the automatic fusion operation according to the interaction of the first player character in the virtual scene, without the player actively triggering the fusion operation, so that the first player character and the first virtual pet are combined into the second virtual pet, which improves the intelligence and efficiency of the player character fusion transformation.

[0115] In some embodiments, the terminal may respond to the combining operation to combine the first player character and the first virtual pet of the first player character into a second virtual pet having a first ability in the following manner: when the virtual scene currently includes only one first virtual pet of the first player character, in response to the combining operation, combine the first player character and the first virtual pet currently included in the virtual scene into a second virtual pet having a first ability; when the virtual scene currently includes multiple first virtual pets of the first player character, in response to the pet selection operation, combine the first player character and the selected first virtual pet into a second virtual pet having a first ability, wherein the first ability is the first ability of the selected first virtual pet; when the number of the first virtual pets of the first player character is multiple, in response to the automatic combining operation, combine the first player character and a first virtual pet selected from the multiple first virtual pets into a second virtual pet having the first ability, wherein the selected first virtual pet is obtained by selecting and sorting in descending order based on a screening parameter, and the screening parameter is determined based on at least one of the following characteristic parameters: historical summoning frequency, historical combining frequency, the degree of matching between the first ability of the first virtual pet and the current environment of the first player character, and the attribute value of the skill of the first virtual pet.

[0116] In practical applications, see Figure 4 , Figure 4 This is a schematic diagram of the combination provided by an embodiment of the present application. In the case that the virtual scene currently only includes a first virtual pet 402 of a first player character 401, the terminal responds to a combination operation (which can be a passive combination operation or an automatic combination operation) to combine the first player character and the first virtual pet currently included in the virtual scene into a second virtual pet 403 with a first ability. The image of the second virtual pet 403 can be the image of the first virtual pet 402, or it can be an image unrelated to the image of the second virtual pet 402. In this case, the second virtual pet obtains the first ability of the first virtual pet currently included in the virtual scene.

[0117] It should be noted that during the combination and transformation process, the combination and transformation special effects can also be displayed to enrich the combination and transformation process. Moreover, if the first player character also has other first virtual pets (but the first virtual pets are not displayed in the virtual scene), the player can also trigger other first virtual pets in the pet list to update the second virtual pet to a fourth virtual pet that is a combination of the first player character and the other first virtual pets triggered in the pet list.

[0118] In the case where a plurality of first virtual pets currently include a first player character in a virtual scene, different first virtual pets have different first abilities, and the player can select a first virtual pet to be combined from the plurality of first virtual pets. For example, in response to a trigger operation for a combination control, the terminal controls each first virtual pet to be in a selectable state and displays an ability identifier of the first ability of each first virtual pet. In response to a pet selection operation triggered based on the ability identifier, a combination operation is triggered (i.e., the pet selection operation can be regarded as a passive combination operation), and the first player character and the selected first virtual pet (the number of selected first virtual pets can be one or more) are combined into a second virtual pet. In this case, the second virtual pet obtains the first ability of the selected first virtual pet. In this way, the player can select the first virtual pet to participate in the combination according to actual needs, thereby improving the pertinence and initiative of the player character's transformation during the combination and transformation process.

[0119] In the case where there are currently multiple first virtual pets including a first player character in the virtual scene, the terminal can also automatically select a first virtual pet from the multiple first virtual pets in response to an automatic fusion operation, and combine the first player character and the selected first virtual pet into a second virtual pet. In this case, the second virtual pet obtains the first ability of the first virtual pet automatically selected by the terminal. Among them, different first virtual pets have different first abilities, and the fusion priorities of different first virtual pets are usually different. The first virtual pets can be sorted in descending order according to the fusion priorities of the first virtual pets from high to low, wherein the fusion priority is determined based on the screening parameters, and the screening parameters may include the historical summoning frequency of the first virtual pet (i.e., the frequency or number of times the first player character summons the first virtual pet to the virtual scene). Generally, the greater the historical summoning frequency of the first virtual pet, the higher its fusion priority, and accordingly, the higher the ranking of the first virtual pet; the characteristic parameters may also include the historical fusion frequency of the first virtual pet (i.e., the frequency or number of times the first player character and the first virtual pet merge in the historical target time period). Generally, the greater the historical fusion frequency of the first virtual pet, the higher its fusion priority, and accordingly, the higher the ranking of the first virtual pet; the characteristic parameters may also include the attribute values ​​of the skills of the first virtual pet (attack ability, defense ability, speed, physical strength, magic value, etc.). Generally, the greater the attribute value of the skills of the first virtual pet, the higher its fusion priority, and accordingly, the higher the ranking of the first virtual pet.

[0120] The characteristic parameters may also include the degree of matching between the first ability of the first virtual pet and the current environment of the first player character. Generally, the greater the degree of matching, the higher the priority of the corresponding first virtual pet, and the higher the ranking of the first virtual pet. The degree of matching can be based on the ability characteristics of the first ability of the first virtual pet (i.e., ability type, such as climbing ability, swimming ability, flying ability, ability to expand the field of vision, night vision ability, detection ability, etc.) and the scene characteristics of the current scene of the first player character (i.e., scene type, such as climbing scenes on hillsides, swimming scenes of wading, non-contact flying scenes, dark scenes, scenes with obstructions, etc.), and the prediction is obtained by calling the third machine learning model, which can improve the accuracy of the matching degree prediction; in this way, the terminal automatically combines the first player character with the first virtual pet that is most needed for the current interaction, which can improve the efficiency and intelligence of the combination.

[0121] In some embodiments, the terminal may respond to a merging operation by combining the first player character and the first player character's first virtual pet into a second virtual pet having a first ability in the following manner: in response to a merging operation, combining the first player character and the first player character's first virtual pet into a second virtual pet having a first ability and a first image, wherein the size and skin of the second virtual pet of the first image satisfy any one of the following: the size of the second virtual pet is larger than the size of the first virtual pet, wherein the magnification of the size of the second virtual pet relative to the first virtual pet represents the magnification of the effectiveness of the second virtual pet using the first ability of the first virtual pet relative to the first ability of the first virtual pet; the skin of the second virtual pet is consistent with the skin of the first virtual pet; the skin of the second virtual pet is obtained by fusing the skins of the first player character and the first virtual pet; when the first player character merges with multiple first virtual pets, the skin of the second virtual pet changes dynamically following the first virtual pet to which the first ability currently being used belongs.

[0122] In actual applications, the second virtual pet synthesized by the terminal controlling the first player character and the first virtual pet has a first image, and the first image is at least formed based on the image (i.e., skin) of the first virtual pet participating in the combination. For example, the first image can be the image of the first virtual pet, that is, the skin of the second virtual pet can be consistent with the skin of the first virtual pet. For example, the first image can also be a fusion of the image of the first virtual pet participating in the combination and the image of the first player character, so that the image of the second virtual pet has both the image characteristics of the first player character and the image characteristics of the first virtual pet, thereby making the second virtual pet recognizable, that is, through the displayed first image of the second virtual pet, it can be recognized that the second virtual pet is formed by the combination of the first player character and the first virtual pet. For example, assuming that the second virtual pet of the first image is synthesized by the first player character, the first virtual pet 1 and the first virtual pet 2, the second virtual pet not only inherits the attributes and interactive capabilities of the first player character, but also inherits the first ability of the first virtual pet 1 and the first ability of the first virtual pet 2 (the first ability of the first virtual pet 1 and the first ability of the first virtual pet 2 may be the same or different). The first image of the second virtual pet may be a combination of the images (or skins) of the first player character, the first virtual pet 1 and the first virtual pet 2, such as the head of the second virtual pet has the features of the head of the first player character, the torso of the second virtual pet has the features of the torso of the first virtual pet 1, and the tail of the second virtual pet has the features of the tail of the first virtual pet 2. The second virtual pet can be identified as being synthesized by the first player character, the first virtual pet 1 and the first virtual pet 2 through its appearance.

[0123] When there are multiple first virtual pets participating in the combination, the first image can also change dynamically, that is, the skin (i.e., the first image) of the second virtual pet currently displayed changes with the change of the first virtual pet to which the first ability currently used by the second virtual pet belongs. For example, still taking the second virtual pet with the first image as a combination of the first player character, the first virtual pet 1, and the first virtual pet 2 as an example, if the first ability used by the second virtual pet with the first image at the first moment is the first ability of the first virtual pet 1, then the first image displayed at the first moment is the image of the first virtual pet 1, if the first ability used by the second virtual pet with the first image at the second moment is the first ability of the first virtual pet 2, then the first image displayed at the second moment is the image of the first virtual pet 2, and if the second virtual pet with the first image does not use the first ability at the third moment, then the first image displayed at the third moment is the image of the first player character.

[0124] Through the above method, the first ability currently being used by the second virtual pet is made identifiable through the dynamically changing first image, that is, through the second virtual pet with the currently displayed first image, it is possible to identify whether the second virtual pet is currently using the first ability, and when the first ability is currently being used, which first virtual pet's first ability participating in the combination is inherited from the first ability of the used first ability. In this way, not only the diversity and fun of the combination transformation can be improved, but also the player can have an intuitive perception of the first virtual pet to which the ability currently used by the second virtual pet belongs, giving the player a more immersive interactive experience.

[0125] In the case where the first image of the second virtual pet is formed based on the image of the first virtual pet participating in the combination (such as the skin of the second virtual pet and the first virtual pet is the same), the size of the second virtual pet may be the same as or different from the size of the first virtual pet. In the case where the size of the second virtual pet is different from the size of the first virtual pet, such as when the size of the second virtual pet is larger than the size of the first virtual pet, the magnification of the size of the second virtual pet relative to the first virtual pet is used to represent the magnification of the effectiveness of the second virtual pet using the first ability of the first virtual pet relative to the first ability of the first virtual pet.

[0126] For example, assuming that the first ability of the first virtual pet is the mobility ability for climbing a mountain (i.e., climbing ability), and the climbing speed of the first virtual pet using the first ability (climbing ability) to climb the mountain is v, if the size of the second virtual pet is magnified by 1.5 relative to the first virtual pet, then the climbing speed of the second virtual pet using the first ability to climb the mountain is 1.5 times the climbing speed of the first virtual pet using the first ability to climb the mountain, i.e., the climbing speed of the second virtual pet using the first ability to climb the mountain is 1.5v.

[0127] For another example, assuming that the first ability of the first virtual pet is a perception ability for expanding the field of vision, the field of vision observed by the first virtual pet using the first ability is twice the field of vision observed by the first virtual pet without using the first ability. If the size of the second virtual pet is magnified by 1.5 relative to the first virtual pet, then the expansion multiple of the field of vision observed by the second virtual pet using the first ability is 1.5 times the expansion multiple of the field of vision observed by the first virtual pet using the first ability, that is, the field of vision observed by the second virtual pet using the first ability is 3 times the field of vision observed by the second virtual pet without using the first ability (that is, the first player character does not use the first ability) (2*1.5=3).

[0128] Through the above method, the player can intuitively perceive the gain that can be brought by using the first ability after the combined transformation based on the size relationship between the second virtual pet and the first virtual pet, which is conducive to increasing the player's enthusiasm for using the combined transformation function.

[0129] In some embodiments, the terminal may respond to a combining operation by combining the first player character and the first player character's first virtual pet into a second virtual pet having a first ability in the following manner: in response to the combining operation, displaying an image entrance for configuring an image of the second virtual pet; in response to an image configuration operation triggered based on the image entrance, configuring the image of the second virtual pet into a second image; in response to a determination operation for the second image, combining the first player character and the first player character's first virtual pet into a second virtual pet having a first ability and a second image.

[0130] In actual application, in response to the combination operation, the terminal may pop up an image entrance, configure the image of the synthesized second virtual pet as the second image through the image entrance, and synthesize the first player character and the first virtual pet into a second virtual pet with a first ability and a second image, wherein the second image may be related to or unrelated to the image of the first virtual pet. In this way, the synthesized second virtual pet not only has the first ability of the first virtual pet, but also enriches the display style of the second virtual pet when the second image is unrelated to the image of the first virtual pet, thereby improving the player's initiative and freedom in configuring the external style of the synthesized second virtual pet during the combination and transformation process.

[0131] In some embodiments, the terminal may configure the image of the second virtual pet as the second image in response to an image configuration operation triggered by an image entrance in the following manner: in response to a trigger operation on the image entrance, an image selection interface is displayed, and at least one candidate image is displayed in the image selection interface; in response to a selection operation on a second image from at least one candidate image, the image of the second virtual pet is configured as the second image.

[0132] See also Figure 5 , Figure 5 This is a schematic diagram of the configuration of the image of the second virtual pet to be synthesized provided in the embodiment of the present application. Figure 1 When the player triggers the image entrance 501, the terminal responds to the trigger operation, displays the image selection interface 502, and displays one or more candidate images for selection in the image selection interface 502, such as candidate image 1, candidate image 2, candidate image 3, and candidate image 4. These candidate images may be the same as or different from the image of the first virtual pet owned by the first player character. The player can select a suitable candidate image from them as the image corresponding to the synthesized second virtual pet according to actual needs. If the player selects candidate image 4, the second image of the synthesized second virtual pet 503 is candidate image 4. In this way, the player's initiative and freedom in configuring the appearance style of the synthesized second virtual pet during the combination and transformation process are improved.

[0133] In some embodiments, the terminal may configure the image of the second virtual pet as the second image in response to an image configuration operation triggered by an image entrance in the following manner: in response to a trigger operation on the image entrance, an image configuration interface is displayed, and at least one image tag is displayed in the image configuration interface; in response to a selection operation on a target image tag, the image of the second virtual pet is configured as the second image generated based on the target image tag.

[0134] In actual applications, when the player triggers the image entrance, the terminal responds to the trigger operation and may not display the ready-made candidate images, but instead displays one or more image tags for selection. The image tag indicates the type or image of the second virtual pet to be synthesized, such as the mount type (animal or vehicle), pet type (cat or dog, etc.), hair color, pet gender, clothing or decorations worn by the pet, etc. The player can select one or more target image tags from them. The terminal responds to the selection operation for the target image tag and generates a second image that meets the target image tag based on the target image tag selected by the player, so as to synthesize the first player character and the first virtual pet into a second virtual pet with a second image.

[0135] See also Figure 6 , Figure 6 This is a schematic diagram of the configuration of the image of the second virtual pet to be synthesized provided in the embodiment of the present application. Figure 2When the player triggers the image entrance 601, the terminal responds to the trigger operation, and displays the image configuration interface 602 in response to the trigger operation, and one or more image tags can be selected in the image configuration interface 602, such as type tags (such as mounts, puppies, rabbits, kittens, etc.), hair color tags (such as white, yellow, gray, black, etc.), and decoration tags (such as belts, small flowers, gourds, foot covers, etc.). If the target image tags selected by the player are: kitten, white, and small flowers, respectively, the terminal responds to the selection operation for the target image tags and displays the second image generated based on the target image tags in the preview interface 603, such as a white kitten wearing small flowers. When the player triggers a determination operation for the second image based on the preview interface, the determination operation can be used as an image configuration operation to configure the second image as the image of the second virtual pet to be synthesized. In this case, the terminal responds to the combination operation to synthesize the first player character and the first virtual pet into a second virtual pet with a second image (i.e., a white kitten wearing small flowers).

[0136] Through the above method, the user can customize the image of the second virtual pet to be synthesized according to actual needs, which further improves the player's initiative and freedom in configuring the appearance style of the second virtual pet to be synthesized.

[0137] In some embodiments, the terminal may respond to a merging operation by combining the first player character and the first player character's first virtual pet into a second virtual pet having a first ability in the following manner: in response to the merging operation, displaying an ability configuration interface, and displaying at least one ability tag in the ability configuration interface; in response to a tag selection operation, combining the first player character and the first player character's first virtual pet into a second virtual pet having a first ability and a third ability, the third ability being the ability indicated by the selected ability tag.

[0138] See also Figure 7 , Figure 7: This is a schematic diagram of the ability configuration of the second virtual pet to be synthesized provided in an embodiment of the present application. In response to the combination operation, the terminal may also pop up an ability configuration interface, through which the ability of the second virtual pet to be synthesized may be additionally configured, such as displaying ability tags in the ability configuration interface: climbing, wading, flying, jumping, night vision, detection, etc., from which the player may select one or more ability tags. The terminal responds to the tag selection operation, synthesizes the second ability based on the ability tag selected by the player, and synthesizes the first player character and the first virtual pet of the first player character into a second virtual pet having the first ability and the third ability. For example, assuming that the first ability of the first virtual pet is climbing ability (a type of movement ability), and the ability tag selected by the player is night vision and detection, the second ability synthesized based on the selected ability tag includes night vision ability and detection ability, and the finally synthesized second virtual pet not only has the first ability of the first virtual pet participating in the combination (i.e., climbing ability), but also has the second ability synthesized by the player (i.e., night vision ability and detection ability).

[0139] Through the above method, the user can customize the abilities of the second virtual pet to be synthesized according to actual needs, further expanding the ability range of the second virtual pet to be synthesized, and improving the player's initiative and freedom in configuring the abilities of the second virtual pet to be synthesized; moreover, when interacting based on the synthesized second virtual pet, the player's experience immersion in the first ability of the first virtual pet and various abilities such as the customized ability is improved.

[0140] Step 103: In response to the second virtual pet being located in the first target scene corresponding to the first capability, displaying an interactive screen of the second virtual pet with the first capability for the first target scene.

[0141] In actual applications, after the first player character is transformed into a second virtual pet with a first ability, if the second virtual pet is located in a first target scene where the first ability needs to be exerted, an interactive screen of the second virtual pet using the first ability for the first target scene can be displayed. In this way, the player switches to experience the interaction of the first ability in the first target scene from the perspective of the second virtual pet, which can enhance the player's sense of immersion in experiencing the first ability of the first virtual pet in the first target scene.

[0142] In some embodiments, the terminal may display an interactive screen of the second virtual pet using the first capability for the first target scene in the following manner: in response to the first target scene being a mobile scene and the first capability being a mobile capability adapted to the mobile scene, a screen of the second virtual pet moving in the mobile scene using the mobile capability is displayed.

[0143] In actual applications, when the first target scene is a moving scene and the first capability is a moving capability adapted to the moving scene, that is, when the degree of matching between the capability characteristics of the first capability and the scene characteristics of the first target scene is greater than the matching degree threshold, the second virtual pet can be controlled to move in the moving scene with the moving capability (that is, the first capability), and the corresponding moving picture can be displayed. For example, when the first target scene is a climbing scene such as a mountain or a tree and the first capability is the climbing capability, the terminal can control the second virtual pet to climb in the climbing scene with the climbing capability, and display the climbing picture; for another example, when the first target scene is a wading scene such as a river or the sea and the first capability is the swimming capability, the terminal can control the second virtual pet to swim in the wading scene with the swimming capability, and display the swimming picture; for another example, when the first target scene is a contactless flying scene and the first capability is the flying capability, the terminal can control the second virtual pet to fly in the flying scene with the flying capability, and display the flying picture.

[0144] Through the above method, the player can personally experience the interaction in the moving scene with the movement ability of the first virtual pet, thereby improving the player's immersion in the experience of the movement ability of the first virtual pet.

[0145] In some embodiments, before the terminal combines the first player character and the first virtual pet into a second virtual pet with a first ability, in response to the first player character being located in a first target scene, the terminal displays a first field of view picture of the first player character observing the first target scene; correspondingly, the terminal can display an interactive picture of the second virtual pet with the first ability for the first target scene in the following manner: in response to the first ability being a perception ability for expanding the field of view, displaying a second field of view picture of the second virtual pet observing the first target scene with the perception ability; wherein the field of view of the second field of view picture is greater than the field of view of the first field of view picture.

[0146] See also Figure 8 , Figure 8 This is a comparison diagram of the visual field provided by the embodiment of the present application. Figure 1, (a) shows a first field of view 801 of the first player character observing the first target scene before the first player character merges and transforms, and (b) shows a second field of view 802 of the second virtual pet observing the first target scene with the first ability after the first player character merges and transforms into the second virtual pet. Assuming that the first ability is a perception ability for expanding the field of view, such as bilateral perspective perception ability, the second field of view 802 is the side view and rear view observed by the second virtual pet with the bilateral perspective perception ability for the first target scene. Therefore, the field of view of the second field of view 802 is greater than the field of view of the first field of view 801. For example, the field of view of the first field of view 801 is 75 degrees, while the field of view of the second field of view 802 is close to 360 degrees. This allows the first player character to observe the surrounding environment from the perspective of the second virtual pet using the first ability of the first virtual pet with almost no blind spots, greatly improving the player's immersion in experiencing the perception ability of expanding the field of view.

[0147] In some embodiments, before the terminal combines the first player character and the first virtual pet into a second virtual pet with a first ability, in response to the first player character being located in a first target scene, the terminal displays a third field of view picture of the first player character observing the first target scene; correspondingly, the terminal can display an interactive picture of the second virtual pet with the first ability for the first target scene in the following manner: in response to the first ability being a perception ability with a night vision function, the terminal displays a fourth field of view picture of the second virtual pet observing the first target scene with the perception ability; wherein, visibility of the third field of view picture is lower than visibility of the fourth field of view picture.

[0148] See also Fig. 9 , Fig. 9 This is a comparison diagram of the visual field provided by the embodiment of the present application. Figure 2 , (a) shows a third field of view 901 of the first player character observing the first target scene before the first player character merges and transforms, and (b) shows a fourth field of view 902 of the second virtual pet observing the first target scene with the first ability after the first player character merges and transforms into the second virtual pet. Assuming that the first target scene is a dimly lit scene and the first ability is the perception ability with night vision function, the visibility of the first player character for the first target scene in the third field of view shown in (a) is lower than the visibility threshold; in the fourth field of view shown in (b), the visibility of the second virtual pet with the first ability for the first target scene is higher than the visibility threshold, which enables the first player character to clearly observe the scene information in the first target scene from the perspective of the second virtual pet using the first ability of the first virtual pet (the perception ability with night vision function), greatly improving the player's immersion in experiencing the perception ability with night vision function.

[0149] In some embodiments, before the terminal combines the first player character and the first virtual pet into a second virtual pet with a first ability, in response to the first player character being located in a first target scene and there being obscured virtual objects in the first target scene, the terminal displays a fifth field of view picture of the first player character observing the first target scene; correspondingly, the terminal can display an interactive picture of the second virtual pet with the first ability for the first target scene in the following manner: in response to the first ability being a perception ability with a detection function, displaying a sixth field of view picture of the second virtual pet with the perception ability for virtual objects; wherein the virtual objects in the fifth field of view picture are invisible to the first player character, and the virtual objects in the sixth field of view picture are visible to the second virtual pet.

[0150] See also Fig.10 , Fig.10 This is a comparison diagram of the visual field provided by the embodiment of the present application. Figure 3 , (a) shows the fifth field of view 1001 of the first player character observing the first target scene before the first player character merges and transforms, (b) shows the sixth field of view 1002 of the second virtual pet observing the first target scene with the first ability after the first player character merges and transforms into the second virtual pet, assuming that there are obscured virtual objects in the first target scene (i.e., any invisible units in the virtual scene, such as treasure chests hidden by walls, invisible roads, etc.), and the first ability is a perception ability with detection function. Since the first player character does not have a perception ability with detection ability The first player character has the ability to detect objects, so the virtual object 1003 blocked in the fifth field of view shown in (a) is invisible to the first player character; and the second virtual pet has the perception ability of detection function, so the virtual object 1003 blocked in the sixth field of view shown in (b) is visible to the first player character, which enables the first player character to clearly observe the scene information in the first target scene that was originally invisible from the perspective of the second virtual pet by using the first ability of the first virtual pet (the perception ability with detection function), thereby greatly improving the player's immersion in experiencing the perception ability with detection function.

[0151] In some embodiments, the terminal may display an interactive screen of the second virtual pet with the first ability for the first target scene in the following manner: when the first player character combines with multiple first virtual pets to obtain the second virtual pet, display an interactive screen of the second virtual pet with the combined ability for the first target scene, wherein the combined ability is determined in the following manner: the first ability of each first virtual pet is combined; the representative abilities of the first abilities of each first virtual pet are combined; the features of multiple candidate combined abilities of multiple first virtual pets are used to call the first machine learning model to calculate the usage probability of each combined ability, and select the combined ability with the maximum usage probability; wherein the first machine learning model is trained in the following manner: the first machine learning model is called to predict based on the features of multiple combined ability samples to obtain the probability of each combined ability, and back propagation is performed based on the difference between the probability of each combined ability and the actual selection result label to update the parameters of the first machine learning model.

[0152] In actual applications, when the first player character merges with multiple first virtual pets to obtain a second virtual pet, the first ability acquired by the second virtual pet can be a combined ability of the first abilities of each first virtual pet participating in the combined transformation. For example, the first virtual pets participating in the combined transformation include a first virtual pet 1 with climbing ability, a first virtual pet 2 with detection ability and night vision ability, and a first virtual pet 3 with swimming ability. Then the combined abilities acquired by the synthesized second virtual pet include the climbing ability of the first virtual pet 1, the detection ability and night vision ability of the first virtual pet 2, and the swimming ability of the first virtual pet 3. When the first virtual pet participating in the combination has multiple different first abilities, the combined ability can also be obtained by selecting representative first abilities from the multiple first abilities of each first virtual pet and combining them. For example, the first virtual pets participating in the combination include the first virtual pet 1 with climbing ability and jumping ability (whose representative ability is climbing ability), the first virtual pet 2 with detection ability and night vision ability (whose representative ability is detection ability), and the first virtual pet 3 with swimming ability and climbing ability (whose representative ability is swimming ability). Then the combined abilities acquired by the synthesized second virtual pet include the climbing ability of the first virtual pet 1, the detection ability of the first virtual pet 2, and the swimming ability of the first virtual pet 3.

[0153] In addition, when the first player character and multiple first virtual pets are combined to obtain a second virtual pet, the first abilities of the first virtual pets can be combined into multiple candidate combined abilities by permutation and combination, and the characteristics of each candidate combined ability (such as ability type, ability action scenario, effective duration or cooling duration of the ability, etc.) are obtained, and the first machine learning model is called to calculate the use probability of each candidate combined ability, and the candidate combined ability with the maximum use probability is selected as the combined ability of the synthesized second virtual pet. Wherein, the first machine learning model is trained in the following manner: based on the characteristics of multiple combined ability samples, the first machine learning model is called to predict, and the probability of each combined ability is obtained, and the difference between the probability of each combined ability and the actual selection result label (such as 1 for selection and 0 for non-use) is back-propagated to update the parameters of the first machine learning model, such as based on the difference between the predicted probability of each combined ability sample and the actual selection result label, after determining the value of the loss function of the first machine learning model, it can be determined whether the value of the loss function exceeds the preset threshold value, when the value of the loss function exceeds the preset threshold value, the error signal of the first machine learning model is determined based on the loss function, the error signal is back-propagated in the first machine learning model, and the model parameters of each layer are updated during the propagation process.

[0154] It is understandable that when multiple first virtual pets have the same first ability, the combined ability may be a simple superposition of the first abilities of the first virtual pets, or a multiple superposition of the first abilities of the first virtual pets.

[0155] Through the above method, after the first player character and multiple first virtual pets merge to transform into a second virtual pet, the second virtual pet obtains the combined ability of the first abilities of the multiple first virtual pets, expanding the ability range of the second virtual pet. In this way, when the synthesized second virtual pet interacts with the combined ability, the player's experience immersion in the combined ability is improved.

[0156] In some embodiments, the terminal may display an interactive screen of the second virtual pet using the first ability for the first target scene in the following manner: display an interactive screen of the second virtual pet using the first ability for the first target scene, wherein the effectiveness of the second virtual pet using the first ability is the same as the effectiveness of the first virtual pet using the first ability, or has a first gain coefficient.

[0157] In actual application, the first player character and the first virtual pet are combined to transform into a second virtual pet, so that after the second virtual pet obtains the first ability of the first virtual pet, the effect of the second virtual pet using the first ability is the same as the effect of the first virtual pet using the first ability, or has a certain first gain coefficient (which is preset by the server or set by the player account corresponding to the first player object). For example, when the first ability is the mobility ability for climbing a mountain (i.e., the climbing ability), the climbing speed of the first virtual pet using the first ability to climb the mountain is v, and the climbing speed of the second virtual pet using the first ability to climb the same mountain can be v or 1.5v (i.e., the first gain coefficient is 1.5v / v=1.5); for another example, when the first ability is the perception ability for expanding the field of vision, the field of vision observed by the first virtual pet using the first ability is twice the field of vision observed by the first virtual pet without using the first ability, and the field of vision observed by the second virtual pet using the first ability can be three times the field of vision observed by the second virtual pet without using the first ability (i.e., the first player character does not use the first ability) (i.e., the first gain coefficient is 3 / 2=1.5); this is conducive to increasing the players' enthusiasm for using the combination and transformation function.

[0158] In some embodiments, after the terminal displays an interactive screen of the second virtual pet with the first ability for the first target scene, if the number of the first virtual pets of the first player character is multiple, in response to satisfying the combination update condition, the second virtual pet is updated to a third virtual pet with the second ability, wherein the third virtual pet is synthesized by the first player character and the new first virtual pet, the new first virtual pet is one of the multiple first virtual pets, and the second ability is the first ability of the new first virtual pet, wherein the combination update condition includes at least one of the following: receiving a combination update operation, the combination update operation instructing to combine the first player character with the new first virtual pet; the second virtual pet moves to the second target scene, and the matching degree between the second ability and the second target scene is greater than the matching degree between the first ability and the second target scene; the interaction progress of the second virtual pet in the virtual scene reaches the second target progress, and the interaction progress includes at least one of the following: interaction time, interaction score, that is, when the interaction time of the second virtual pet in the virtual scene reaches a preset time, or when the interaction score of the second virtual pet in the virtual scene reaches a preset score, it is determined that the update condition is satisfied.

[0159] In actual applications, when there are multiple first virtual pets of the first player character, different first virtual pets have different first abilities. During the process of the second virtual pet interacting in the virtual scene with the first ability, as the interaction progresses or the target scene changes, the second virtual pet can be updated to a third virtual pet with the second ability when the combination update condition is met, wherein the third virtual pet is a combination of the first player character and the new first virtual pet.

[0160] For example, after the second virtual pet moves from the first target scene to the second target scene, the first ability of the second virtual pet is no longer suitable for the second target scene (such as the matching degree of the first ability and the second target scene is lower than the matching degree threshold). At this time, the first player character and the new first virtual pet need to be synthesized into a third virtual pet with a second ability, wherein the second ability is the ability of the new first virtual pet, and the matching degree of the second ability and the second target scene exceeds the matching degree threshold, so that the newly synthesized third virtual pet is more suitable for the second target scene where the player is located. The matching degree of the first ability and the second target scene, and the matching degree of the second ability and the second target scene are determined in the same manner as the matching degree of the first ability and the current environment of the first player character, and will not be repeated here.

[0161] It should be noted that, in the case where there are multiple new first virtual pets for fusion and multiple original first virtual pets for fusion (i.e., the first virtual pet involved in synthesizing the second virtual pet), the multiple new first virtual pets for fusion are at least partially different from the multiple original first virtual pets. For example, part of the original first virtual pets whose matching degree with the current environment of the second virtual pet is lower than a preset threshold are replaced by part of the new first virtual pets, so that the matching degree of the newly synthesized third virtual pet with the current environment is higher than the preset threshold.

[0162] In some embodiments, after the terminal combines the first player character and the first player character's first virtual pet into a second virtual pet with a first ability, in response to an interactive trigger operation for the second virtual pet, the terminal controls the second virtual pet to release a skill of the first virtual pet; wherein the interactive target of the skill includes at least one of the following: a virtual object in the virtual scene, a non-player character in the virtual scene, a second player character in the virtual scene, and the second player character is different from the first player character.

[0163] In actual applications, after the first player character and the first virtual pet are combined into the second virtual pet so that the second virtual pet has the first ability of the first virtual pet, the second virtual pet can also obtain the skills of the first virtual pet. The player can trigger an interactive trigger operation for the second virtual pet. In response to the interactive trigger operation, the terminal can control the second virtual pet to release the skills of the first virtual pet to the interactive target, wherein the interactive target can be all interactive objects in the virtual scene, such as virtual objects in the virtual scene (such as virtual props, virtual gems, etc.), and can also be non-player characters or second player characters in the virtual scene. When the second player character and the first player character are in a teammate mutual assistance relationship, when the second virtual pet releases the skills of the first virtual pet to the second player character, it can bring a gain effect (such as increasing blood volume, increasing attack ability, etc.) to the second player character. When the second player character and the first player character are in a hostile confrontation relationship, when the second virtual pet releases the skills of the first virtual pet to the second player character, it can bring a loss effect (such as reducing blood volume, weakening attack ability, etc.) to the second player character.

[0164] By combining the first player character and the first virtual pet into a second virtual pet in the above manner, the player can immersively experience not only the special abilities of the first virtual pet but also the skills of the first virtual pet through the second virtual pet.

[0165] In some embodiments, the terminal can control the second virtual pet to release the skills of the first virtual pet in the following manner: when the first player character combines with multiple first virtual pets to obtain the second virtual pet, a skill combination is released, and the skill combination includes at least one skill belonging to each first virtual pet, wherein the skill combination is determined in the following manner: a representative skill combination of each first virtual pet is obtained; the features of multiple candidate skill combinations of multiple first virtual pets are used to call the second machine learning model to calculate the probability of use of each skill combination, and the skill combination with the maximum probability of use is selected; wherein the second machine learning model is trained in the following manner: the second machine learning model is called to predict based on the features of multiple skill combination samples to obtain the probability of each skill combination, and back propagation is performed based on the difference between the probability of each skill combination and the actual selection result label to update the parameters of the second machine learning model.

[0166] In actual applications, when the first player character merges with multiple first virtual pets to obtain a second virtual pet, the skills of the first virtual pet acquired by the second virtual pet can be a skill combination obtained by combining the skills of each first virtual pet participating in the combined transformation. For example, if the first virtual pets participating in the combined transformation include the first virtual pet 1 with the item picking skill, the first virtual pet 2 with the health decay skill, and the first virtual pet 3 with the skill of confusing the enemy, then the skill combination acquired by the synthesized second virtual pet includes the item picking skill of the first virtual pet 1, the health decay skill of the first virtual pet 2, and the skill of confusing the enemy of the first virtual pet 3.

[0167] When the first virtual pet participating in the fusion has multiple different skills, the skill combination can also be obtained by combining representative skills selected from the multiple skills possessed by each first virtual pet. For example, the first virtual pet participating in the fusion includes the first virtual pet 1 with item picking up skills and item decomposition skills (whose representative skill is the item picking up skill), the first virtual pet 2 with health decay skills and attack power decay skills (whose representative skill is the attack power decay skill), and the first virtual pet 3 with the skill of confusing the enemy and the skill of reducing intelligence (whose representative skill is the skill of confusing the enemy). Then the skill combination obtained by the synthesized second virtual pet includes the item picking up skill of the first virtual pet 1, the attack power decay skill of the first virtual pet 2, and the skill of confusing the enemy of the first virtual pet 3.

[0168] In addition, when the first player character and multiple first virtual pets are combined to obtain a second virtual pet, the skills of each first virtual pet can be combined into multiple candidate skill combinations by permutation and combination, and the characteristics of each candidate skill combination (such as skill type, skill application scenario, effective duration or cooling duration of the skill, etc.) are obtained, and the second machine learning model is called to calculate the use probability of each candidate skill combination, and the candidate skill combination with the maximum use probability is selected as the skill combination of the synthesized second virtual pet. Wherein, the second machine learning model is trained in the following manner: based on the characteristics of multiple skill combination samples, the second machine learning model is called to predict, and the probability of each skill combination is obtained, and the difference between the probability of each skill combination and the actual selection result label (such as 1 for selection and 0 for non-use) is back-propagated to update the parameters of the second machine learning model, such as based on the difference between the predicted probability of each skill combination sample and the actual selection result label, after determining the value of the loss function of the second machine learning model, it can be determined whether the value of the loss function exceeds the preset threshold value, when the value of the loss function exceeds the preset threshold value, the error signal of the second machine learning model is determined based on the loss function, the error signal is back-propagated in the second machine learning model, and the model parameters of each layer are updated during the propagation process.

[0169] It is understandable that, when multiple first virtual pets have the same skills, the skill combination can be a simple superposition of the same skills of the first virtual pets, or a multiple superposition of the same skills of the first virtual pets.

[0170] Through the above method, after the first player character combines with multiple first virtual pets to transform into a second virtual pet, the second virtual pet also acquires the skill combination of multiple first virtual pets, expanding the skill range of the second virtual pet. In this way, when the synthesized second virtual pet interacts with the skill combination, the player's experience immersion in the skill combination is improved.

[0171] In some embodiments, the terminal may control the second virtual pet to release the skills of the first virtual pet in the following manner: control the second virtual pet to release the skills of the first virtual pet, wherein the attribute value of the skill of the first virtual pet released by the second virtual pet is the same as the attribute value of the same skill released by the first virtual pet, or has a second gain coefficient.

[0172] In practical applications, the first player character and the first virtual pet are combined and transformed into the second virtual pet, so that after the second virtual pet acquires the skill of the first virtual pet, the attribute value of the skill of the first virtual pet released by the second virtual pet is the same as the attribute value of the same skill released by the first virtual pet, or has a second gain coefficient (which is preset by the server or set by the player account corresponding to the first player object). For example, assuming that the skill of the first virtual pet acquired by the second virtual pet is a skill that attenuates blood volume, if the first virtual pet releases the skill once to the enemy player character, it can bring 30% blood volume attenuation, then the second virtual pet releases the skill once to the same enemy player character, which can bring 30% blood volume attenuation, or can bring 60% blood volume attenuation to the enemy player character (the second gain coefficient is 60% / 30%=2); in this way, it is conducive to improving the enthusiasm of players to use the combined transformation function.

[0173] In some embodiments, after the terminal displays the interactive screen of the second virtual pet using the first ability for the first target scene, in response to satisfying a disintegration condition, the second virtual pet is decomposed into the first player character and the first virtual pet, wherein the disintegration condition includes any one of the following: receiving a disintegration trigger operation for the second virtual pet; the combination time of the first player character and the first virtual pet reaches a preset time; the second virtual pet completes a predetermined task.

[0174] In practical applications, certain disassembly conditions may be configured so that after the first player character and the first virtual pet are combined into the second virtual pet, when the disassembly conditions are met, the second virtual pet is disassembled into the first player character and the first virtual pet; wherein the disassembly condition may be receiving a disassembly trigger operation for the second virtual pet, that is, during the interaction of the second virtual pet in the virtual scene, a disassembly control (such as a button to exit the combination) may be displayed in the virtual scene, and when the player triggers the disassembly control, the terminal may receive a disassembly trigger operation instructing the second virtual pet to disassemble; the disassembly condition may also be set based on the interaction of the second virtual pet, such as when the display time of the second virtual pet (that is, the combination time of the first player character and the first virtual pet) reaches a preset time, it is considered that the disassembly condition is met, and for example, when the second virtual pet completes a predetermined task (which is preset by the server and may be a task related to the first ability, such as the second virtual pet completing a related task with the first ability, or a task unrelated to the first ability, such as the interaction score of the second virtual pet reaches a score threshold, etc.), it is considered that the disassembly condition is met.

[0175] It is understandable that if the second virtual pet is synthesized from the first player character and multiple first virtual pets, then when disintegrating, the second virtual pet is disintegrated into the first player character and the multiple first virtual pets participating in the combination.

[0176] So far, the interactive processing method of the virtual scene provided by the embodiment of the present application has been described in combination with the exemplary application and implementation of the electronic device provided by the embodiment of the present application. The following will continue to describe the cooperation of various modules in the interactive processing device 555 for the virtual scene provided by the embodiment of the present application to implement the interactive processing solution for the virtual scene.

[0177] The first display module 5551 is used to display a virtual scene in the human-computer interaction interface, wherein the virtual scene includes a first player character; the fusion processing module 5552 is used to respond to a fusion operation and combine the first player character and the first virtual pet of the first player character into a second virtual pet with a first ability, wherein the first ability includes at least one of the perception ability and the movement ability of the first virtual pet; the second display module 5553 is used to respond to the second virtual pet being located in a first target scene corresponding to the first ability and display an interactive screen of the second virtual pet with the first ability for the first target scene.

[0178] In some embodiments, the fusion processing module is also used to display a pet list, the pet list including at least one first virtual pet belonging to the first player character; in response to a selection operation triggered based on the pet list, highlighting the selected first virtual pet; in response to a fusion operation for the first player character and the selected first virtual pet, fusion the first player character and the selected first virtual pet into a second virtual pet with a first ability.

[0179] In some embodiments, the fusion processing module is also used to use target sorting in the pet list to display multiple first virtual pets belonging to the first player character when there are multiple first virtual pets; wherein the target order is sorted according to one of the following characteristic parameters of the first virtual pet: historical summoning frequency, historical fusion frequency, the degree of matching between the first ability of the first virtual pet and the current environment of the first player character, and the attribute value of the skill of the first virtual pet.

[0180] In some embodiments, the combination processing module is further used to combine the first player character with the first virtual pet currently included in the virtual scene when the virtual scene currently includes only one first virtual pet of the first player character; in response to a pet selection operation, combine the first player character with at least one selected first virtual pet into a second virtual pet with a first ability, wherein the first ability is the first ability of the at least one selected first virtual pet; in response to an automatic combination operation, combine the first player character with a first virtual pet selected from the plurality of first virtual pets into a second virtual pet with a first ability when the number of the first virtual pets of the first player character is multiple, wherein the selected first virtual pet is obtained by descending sorting of a selection parameter, and the selection parameter is determined based on at least one of the following characteristic parameters: historical summoning frequency, historical combination frequency, the degree of matching between the first ability of the first virtual pet and the current environment of the first player character, and the attribute value of the skill of the first virtual pet.

[0181] In some embodiments, the fusion processing module is further used to combine the first player character and the first virtual pet of the first player character into a second virtual pet with a first ability in response to satisfying an automatic fusion condition, wherein the automatic fusion condition includes any one of the following: receiving an operation of the first player character using a virtual prop with a fusion function; receiving an interaction operation between the first player character and a first target scene; the first player character moves to the first target scene and the degree of match between the first player character with the first ability and the first target scene is greater than the degree of match between the first player character without the first ability and the first target scene; the interaction progress of the first player character in the virtual scene reaches the first target progress.

[0182] In some embodiments, the fusion processing module is further used to respond to a fusion operation and combine the first player character and the first virtual pet of the first player character into a second virtual pet with a first ability and a first image, wherein the size and skin of the second virtual pet of the first image satisfy any one of the following: the size of the second virtual pet is larger than the size of the first virtual pet, wherein the magnification of the size of the second virtual pet relative to the first virtual pet represents the magnification of the efficacy of the second virtual pet using the first ability of the first virtual pet relative to the first ability of the first virtual pet; the skin of the second virtual pet is consistent with the skin of the first virtual pet; the skin of the second virtual pet is obtained by fusing the skin of the first player character and the first virtual pet; when the first player character is combined with multiple of the first virtual pets, the skin of the second virtual pet changes dynamically following the first virtual pet to which the first ability currently being used belongs.

[0183] In some embodiments, the fusion processing module is further used to display an image entrance for configuring the image of the second virtual pet in response to a fusion operation; configure the image of the second virtual pet as a second image in response to an image configuration operation triggered based on the image entrance; and combine the first player character and the first virtual pet of the first player character into a second virtual pet with a first ability and the second image in response to a determination operation on the second image.

[0184] In some embodiments, the fusion processing module is also used to display an image selection interface in response to a trigger operation on the image entrance, and display at least one candidate image in the image selection interface; in response to a selection operation on a second image among the at least one candidate image, configure the image of the second virtual pet as the second image.

[0185] In some embodiments, the fusion processing module is also used to display an image configuration interface in response to a trigger operation on the image entrance, and display at least one image tag in the image configuration interface; in response to a selection operation on a target image tag, configure the image of the second virtual pet to be a second image generated based on the target image tag.

[0186] In some embodiments, the fusion processing module is also used to display an ability configuration interface in response to a fusion operation, and display at least one ability tag in the ability configuration interface; in response to a tag selection operation, the first player character and the first player character's first virtual pet are combined into a second virtual pet having a first ability and a third ability, wherein the third ability is the ability indicated by the selected ability tag.

[0187] In some embodiments, the second display module is further configured to display a picture of the second virtual pet moving in the mobile scene with the mobile capability in response to the first target scene being a mobile scene and the first capability being a mobile capability adapted to the mobile scene.

[0188] In some embodiments, before the first player character and the first virtual pet are combined into a second virtual pet with a first ability, the device also includes: a third display module, which is used to display a first field of view picture observed by the first player character for the first target scene in response to the first player character being located in the first target scene; correspondingly, the second display module is also used to display a second field of view picture observed by the second virtual pet for the first target scene with the perception ability in response to the first ability being a perception ability for expanding the field of view; wherein the field of view of the second field of view picture is larger than the field of view of the first field of view picture.

[0189] In some embodiments, before the first player character and the first virtual pet are combined into a second virtual pet with a first ability, the device further includes: a fourth display module, for displaying a third field of view picture observed by the first player character for the first target scene in response to the first player character being located in the first target scene; correspondingly, the second display module is also for displaying a fourth field of view picture observed by the second virtual pet for the first target scene with the perception ability in response to the first ability being a perception ability with a night vision function; wherein the visibility of the third field of view picture is lower than the visibility of the fourth field of view picture.

[0190] In some embodiments, before the first player character and the first virtual pet are combined into a second virtual pet with a first ability, the device further includes: a fifth display module, for displaying a fifth field of view picture of the first player character observing the first target scene in response to the first player character being located in the first target scene and there being an obscured virtual object in the first target scene; correspondingly, the second display module is also for displaying a sixth field of view picture of the second virtual pet observing the virtual object with the perception ability in response to the first ability being a perception ability with a detection function; wherein the virtual object in the fifth field of view picture is invisible to the first player character, and the virtual object in the sixth field of view picture is visible to the second virtual pet.

[0191] In some embodiments, the second display module is also used to display an interactive screen of the second virtual pet with combined capabilities for the first target scene when the first player character combines with multiple first virtual pets to obtain the second virtual pet, wherein the combined capabilities are determined in the following manner: combining the first capabilities of each of the first virtual pets; obtaining a representative combined capability among the first capabilities of each of the first virtual pets; using the features of multiple candidate combined capabilities of multiple first virtual pets, calling the first machine learning model to calculate the usage probability of each combined capability, and selecting the combined capability with the maximum usage probability; wherein the first machine learning model is trained in the following manner: calling the first machine learning model to predict based on the features of multiple combined capability samples to obtain the probability of each combined capability, and performing back propagation based on the difference between the probability of each combined capability and the actual selection result label to update the parameters of the first machine learning model.

[0192] In some embodiments, the second display module is further used to display an interactive screen of the second virtual pet using the first ability for the first target scene, wherein the effect of the second virtual pet using the first ability is the same as the effect of the first virtual pet using the first ability, or has a first gain coefficient.

[0193] In some embodiments, after displaying the interactive screen of the second virtual pet with the first ability for the first target scene, the device further includes: a pet updating module for, when the number of the first virtual pets of the first player character is multiple, in response to satisfying the combination update condition, updating the second virtual pet to a third virtual pet with the second ability, the third virtual pet being synthesized by the first player character and the new first virtual pet, the new first virtual pet being one of the multiple first virtual pets, and the second ability being the first ability of the new first virtual pet; wherein the combination update condition includes at least one of the following: receiving a combination update operation, the combination update operation indicating that the first player character is combined with the new first virtual pet; the second virtual pet moves to the second target scene, and the matching degree between the second ability and the second target scene is greater than the matching degree between the first ability and the second target scene; the interaction progress of the second virtual pet in the virtual scene reaches the second target progress, the interaction progress including at least one of the following: interaction time and interaction score.

[0194] In some embodiments, after the first player character and the first player character's first virtual pet are combined into a second virtual pet with a first ability, the device further includes: a skill release module, for controlling the second virtual pet to release a skill of the first virtual pet in response to an interactive trigger operation for the second virtual pet; wherein the interactive target of the skill includes at least one of the following: a virtual object in the virtual scene, a non-player character in the virtual scene, a second player character in the virtual scene, and the second player character is different from the first player character.

[0195] In some embodiments, the skill release module is also used to release a skill combination when the first player character combines with multiple first virtual pets to obtain the second virtual pet, and the skill combination includes at least one skill belonging to each of the first virtual pets, wherein the skill combination is determined in the following manner: a representative skill combination of each of the first virtual pets is obtained; the features of multiple candidate skill combinations of multiple first virtual pets are used to call the second machine learning model to calculate the usage probability of each skill combination, and select the skill combination with the maximum usage probability; wherein the second machine learning model is trained in the following manner: the second machine learning model is called to predict based on the features of multiple skill combination samples to obtain the probability of each skill combination, and back propagation is performed based on the difference between the probability of each skill combination and the actual selection result label to update the parameters of the second machine learning model.

[0196] In some embodiments, the skill release module is further used to control the second virtual pet to release the skill of the first virtual pet, wherein the attribute value of the skill of the first virtual pet released by the second virtual pet is the same as the attribute value of the same skill released by the first virtual pet, or has a second gain coefficient.

[0197] In some embodiments, after displaying the interactive screen of the second virtual pet with the first ability for the first target scene, the device further includes: a disintegration processing module, used to decompose the second virtual pet into the first player character and the first virtual pet in response to satisfying a disintegration condition, wherein the disintegration condition includes any one of the following: receiving a disintegration trigger operation for the second virtual pet; the combination time of the first player character and the first virtual pet reaches a preset time; the second virtual pet completes a predetermined task.

[0198] The embodiment of the present application provides a computer program product, which includes a computer program or a computer executable instruction, and the computer program or the computer executable instruction is stored in a computer-readable storage medium. The processor of the electronic device reads the computer executable instruction from the computer-readable storage medium, and the processor executes the computer executable instruction, so that the electronic device executes the interactive processing method of the virtual scene described in the embodiment of the present application.

[0199] The present application embodiment provides a computer-readable storage medium storing computer executable instructions, wherein the computer executable instructions or computer programs are stored. When the computer executable instructions or computer programs are executed by a processor, the processor will execute the interactive processing method of the virtual scene provided by the present application embodiment, for example, Figure 3 The interactive processing method of the virtual scene is shown.

[0200] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface storage, optical disk, or CD-ROM; or it may be various devices including one or any combination of the above memories.

[0201] In some embodiments, computer executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.

[0202] As an example, computer-executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file storing other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions).

[0203] As an example, computer executable instructions may be deployed to be executed on one electronic device, or on multiple electronic devices located at one site, or on multiple electronic devices distributed at multiple sites and interconnected by a communication network.

[0204] The application of the embodiments of the present application has at least the following technical effects:

[0205] 1) Immersive experience: Players can experience the virtual scene more deeply, explore the environment in the virtual scene from the perspective of the virtual pet, and increase the realism and immersion of the virtual scene interaction.

[0206] 2) Character diversity: After the combination and transformation, the player's abilities and skills are expanded, and they can perform different tasks and actions in the form of a virtual pet, increasing the diversity and flexibility of the player's character.

[0207] 3) Enhanced perception: Depending on the characteristics of the virtual pet, the player may gain special perception abilities such as night vision, keen sense of smell, and sensitive hearing. These abilities can help the player find hidden objects or enemies.

[0208] 4) New skills and combat strategies: Players may gain skills and abilities unique to their virtual pets, such as stealth, fast movement, special attacks, etc., which can provide new strategies and advantages in combat.

[0209] 5) Exploration and Discovery: In the form of a virtual pet, players can enter previously inaccessible areas and discover new clues, items or tasks.

[0210] 6) Emotional connection: Fusion and transformation may strengthen the emotional connection between players and virtual pets, and increase players' loyalty and care for their virtual pets.

[0211] The above is only an embodiment of the present application and is not intended to limit the protection scope of the present application. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the present application are included in the protection scope of the present application.

Claims

1. A method for interactive processing of a virtual scene, characterized in that: The method comprises: Displaying a virtual scene in a human-computer interaction interface, wherein the virtual scene includes a first player character; In response to a merging operation, the first player character and the first virtual pet of the first player character are combined into a second virtual pet having a first ability, wherein the first ability includes at least one of a perception ability and a movement ability of the first virtual pet; In response to the second virtual pet being located in a first target scene corresponding to the first capability, an interactive screen of the second virtual pet using the first capability for the first target scene is displayed.

2. The method according to claim 1, characterized in that In response to the combining operation, combining the first player character and the first virtual pet of the first player character into a second virtual pet having a first ability, comprising: displaying a pet list, the pet list including at least one first virtual pet belonging to the first player character; In response to a selection operation triggered based on the pet list, highlighting a selected first virtual pet; In response to a merging operation on the first player character and the selected first virtual pet, the first player character and the selected first virtual pet are merged into a second virtual pet having a first ability.

3. The method according to claim 1, characterized in that In response to the combining operation, combining the first player character and the first virtual pet of the first player character into a second virtual pet having a first ability, comprising: In response to satisfying an automatic fusion condition, combining the first player character and the first virtual pet of the first player character into a second virtual pet having a first ability, wherein the automatic fusion condition includes any one of the following: receiving a use operation of the first player character on the virtual prop with a combination function; Receiving an interactive operation between the first player character and the first target scene; The first player character moves to the first target scene, and the matching degree between the first player character having the first ability and the first target scene is greater than the matching degree between the first player character not having the first ability and the first target scene; The interaction progress of the first player character in the virtual scene reaches a first target progress.

4. The method according to claim 1, characterized in that: In response to the combining operation, combining the first player character and the first virtual pet of the first player character into a second virtual pet having a first ability, comprising: In response to the combining operation, the first player character and the first virtual pet of the first player character are combined into a second virtual pet having a first ability and a first image, wherein the size and skin of the second virtual pet of the first image satisfy any one of the following: The size of the second virtual pet is larger than that of the first virtual pet, wherein the magnification of the size of the second virtual pet relative to the first virtual pet represents the magnification of the effectiveness of the second virtual pet using the first ability of the first virtual pet relative to the first ability of the first virtual pet; The skin of the second virtual pet is consistent with the skin of the first virtual pet; The skin of the second virtual pet is obtained by merging the skin of the first player character and the skin of the first virtual pet; When the first player character is combined with a plurality of the first virtual pets, the skin of the second virtual pet changes dynamically following the first virtual pet to which the first ability currently being used belongs.

5. The method according to claim 1, characterized in that The displaying of the interactive screen of the second virtual pet with the first capability for the first target scene includes: In response to the first target scene being a moving scene and the first capability being a moving capability adapted to the moving scene, a picture of the second virtual pet moving in the moving scene with the moving capability is displayed.

6. The method according to claim 1, characterized in that Before combining the first player character and the first virtual pet into a second virtual pet having a first ability, the method further includes: In response to the first player character being located in the first target scene, displaying a first field of view picture observed by the first player character with respect to the first target scene; The displaying of the interactive screen of the second virtual pet with the first capability for the first target scene includes: In response to the first capability being a perception capability for expanding a visual field, displaying a second visual field picture of the second virtual pet observing the first target scene with the perception capability; The field of view of the second field of view picture is greater than the field of view of the first field of view picture.

7. The method according to claim 1, characterized in that Before combining the first player character and the first virtual pet into a second virtual pet having a first ability, the method further includes: In response to the first player character being located in the first target scene, displaying a third field of view picture observed by the first player character with respect to the first target scene; The displaying of the interactive screen of the second virtual pet with the first capability for the first target scene includes: In response to the first capability being a perception capability with a night vision function, displaying a fourth field of view picture of the second virtual pet observing the first target scene with the perception capability; The visibility of the third field of view picture is lower than the visibility of the fourth field of view picture.

8. The method according to claim 1, characterized in that: Before combining the first player character and the first virtual pet into a second virtual pet having a first ability, the method further includes: In response to the first player character being located in the first target scene and there being an obstructed virtual object in the first target scene, displaying a fifth field of view picture observed by the first player character with respect to the first target scene; The displaying of the interactive screen of the second virtual pet with the first capability for the first target scene includes: In response to the first capability being a sensing capability with a detection function, displaying a sixth field of view picture of the second virtual pet with the sensing capability for the virtual object; The virtual object in the fifth field of view is invisible to the first player character, and the virtual object in the sixth field of view is visible to the second virtual pet.

9. The method according to claim 1, characterized in that: The displaying of the interactive screen of the second virtual pet with the first capability for the first target scene includes: When the first player character and the plurality of the first virtual pets are combined to obtain the second virtual pet, an interactive screen of the second virtual pet with the combined ability for the first target scene is displayed, wherein the combined ability is determined in the following manner: Combining the first abilities of each of the first virtual pets to obtain; Combining representative abilities of the first abilities of each of the first virtual pets to obtain; The features of the plurality of candidate combined abilities of the plurality of the first virtual pets are used to call a first machine learning model to calculate the use probability of each combined ability, and the combined ability with the maximum use probability is selected; wherein the first machine learning model is trained in the following manner: Based on the features of multiple combination capability samples, the first machine learning model is called to predict to obtain the probability of each combination capability, and back propagation is performed based on the difference between the probability of each combination capability and the actual selection result label to update the parameters of the first machine learning model.

10. An interactive processing device for a virtual scene, characterized in that: The device comprises: A first display module, used for displaying a virtual scene in a human-computer interaction interface, wherein the virtual scene includes a first player character; a fusion processing module, configured to, in response to a fusion operation, combine the first player character and a first virtual pet of the first player character into a second virtual pet having a first capability, wherein the first capability includes at least one of a perception capability and a movement capability of the first virtual pet; The second display module is configured to display an interactive screen of the second virtual pet with the first capability for the first target scene in response to the second virtual pet being located in the first target scene corresponding to the first capability.