Interaction method and device based on virtual character image and storage medium

文档序号:1317909 发布日期:2020-07-14 浏览:31次 中文

阅读说明:本技术 一种基于虚拟角色形象的交互方法、装置及存储介质 (Interaction method and device based on virtual character image and storage medium ) 是由 姚润昊 汪亚俊 于 2020-02-28 设计创作,主要内容包括:本发明涉及一种基于虚拟角色形象的交互方法、装置及存储介质,方法应用于第一终端时包括:在任务界面响应于第一指令,渲染作品生成界面;获取虚拟角色的形象数据,根据形象数据展示虚拟角色的形象;获取图像数据集,根据图像数据集显示图像;基于作品生成界面在图像数据集中确定目标图像;将虚拟角色的形象和目标图像进行融合,得到目标虚拟角色;基于目标虚拟角色的形象数据和第一终端的标识数据生成目标作品数据传输至服务器。本发明通过对虚拟角色进行形象装扮或评判,促进用户之间的交流,提升用户的活跃度,同时丰富了游戏趣味。(The invention relates to an interaction method, a device and a storage medium based on virtual character images, wherein the method comprises the following steps when being applied to a first terminal: rendering a work generation interface at the task interface in response to the first instruction; acquiring image data of the virtual character, and displaying the image of the virtual character according to the image data; acquiring an image data set, and displaying an image according to the image data set; determining a target image in the image dataset based on the work generation interface; fusing the image of the virtual character with the target image to obtain a target virtual character; and generating target work data based on the image data of the target virtual character and the identification data of the first terminal and transmitting the target work data to the server. The invention promotes the communication among users by visually decorating or judging the virtual roles, improves the activity of the users and enriches the interest of games.)

1. An interaction method based on virtual character image is applied to a first terminal, and is characterized in that the method comprises the following steps:

rendering a work generation interface in response to a first instruction on a task interface, wherein the task interface comprises a work generation interface and a work judgment interface;

acquiring image data of a virtual character, and displaying the image of the virtual character according to the image data of the virtual character in the work generation interface;

acquiring an image data set, and displaying at least one image according to the image data set in the work generation interface;

determining at least one target image in the image dataset based on the work generation interface;

fusing the image of the virtual character with the at least one target image to obtain a target virtual character;

and generating target work data based on the image data of the target virtual character and the identification data of the first terminal, transmitting the target work data to a server, so that a second terminal communicated with the server obtains a work judgment result according to the target work data, and transmitting the work judgment result and the identification data of the second terminal to the server as work judgment data.

2. The avatar-based interaction method of claim 1, wherein said obtaining an image data set, and displaying at least one image according to said image data set in said work generation interface comprises:

sending a data request to a server to obtain a uniformly configured image data set;

or the like, or, alternatively,

and acquiring an image data set in a resource library of the first terminal.

3. The method of claim 2, wherein the fusing the avatar and the at least one target image to obtain the target avatar comprises:

selecting at least one target image from the unified target image dataset;

fusing the at least one target image with the basic skeleton of the virtual role to obtain a target virtual role;

or the like, or, alternatively,

selecting at least one target image from an image dataset in a repository of the first terminal;

and replacing the at least one target image with the part model of the virtual role to obtain the target virtual role.

4. An interaction method based on virtual character image is applied to a second terminal, and is characterized in that the method comprises the following steps:

in the task interface, responding to a second instruction, rendering a work judgment interface, wherein the task interface comprises a work generation interface and a work judgment interface;

acquiring target work data of a first terminal;

analyzing the target work data to obtain image data of a target virtual character and identification data of the first terminal;

displaying the image of the target virtual character according to the image data of the target virtual character in the work judging interface;

and acquiring a work judgment result aiming at the target virtual character, and transmitting the work judgment result and the identification data of the second terminal to a server as work judgment data.

5. The method of claim 4, wherein the composition evaluation interface further comprises a composition display interface, and the displaying the image of the target avatar according to the image data of the target avatar in the composition evaluation interface comprises:

in the work evaluation interface, rendering a work display interface in response to a display instruction for the target virtual character;

in the work display interface, responding to a display instruction of a designated part, and displaying the designated part of the target virtual role;

or the like, or, alternatively,

and in the work display interface, responding to a specified action display instruction, and displaying the specified action of the target virtual role.

6. An interaction method based on virtual character image is applied to a server, and is characterized in that the method comprises the following steps:

generating task interface configuration data for rendering a task interface, wherein the task interface comprises a work generation interface and a work judgment interface;

sending the task interface configuration data to a first terminal;

responding to a first data request of the first terminal, and sending an image data set and image data of a virtual character to the first terminal;

receiving and storing target work data transmitted by the first terminal, wherein the target work data is obtained based on image data of the target virtual character and identification data of the first terminal; the target avatar is obtained by fusing an avatar and at least one target image, the at least one target image belonging to the image dataset;

updating the work judgment interface according to the target work data;

sending the task interface configuration data to a second terminal;

responding to a second data request of the second terminal, and sending the target work data of the first terminal to the second terminal;

and receiving and storing the work judgment data transmitted by the second terminal, wherein the work judgment data comprises a work judgment result and identification data of the second terminal.

7. The method of claim 6, applied to a server, for interaction based on the avatar, further comprising:

generating result display interface configuration data for rendering a result display interface for judging the work;

updating the judgment result display interface according to the target work data transmitted by the first terminal and the work judgment data transmitted by the second terminal;

and responding to a third data request of the first terminal or a fourth data request of the second terminal, and sending the result display interface configuration data to the first terminal or the second terminal.

8. An interaction device based on virtual character image, applied to a first terminal, the device comprising:

the first rendering module is used for rendering a work generation interface in response to a first instruction on a task interface, and the task interface comprises a work generation interface and a work judgment interface;

the first acquisition module is used for acquiring the image data of the virtual character and displaying the image of the virtual character according to the image data of the virtual character in the work generation interface;

the second acquisition module is used for acquiring an image data set and displaying at least one image according to the image data set in the work generation interface;

a selection module to determine at least one target image in the image dataset based on the work generation interface;

the generating module is used for fusing the image of the virtual role with the at least one target image to obtain a target virtual role;

the first transmission module is used for generating target work data based on the image data of the target virtual character and the identification data of the first terminal and transmitting the target work data to the server, so that a second terminal communicated with the server obtains a work judgment result according to the target work data, and the work judgment result and the identification data of the second terminal are used as work judgment data and transmitted to the server.

9. An interaction device based on virtual character image, applied to a second terminal, the device comprising:

the second rendering module is used for rendering a work judging interface in response to a second instruction in the task interface, and the task interface comprises a work generating interface and a work judging interface;

the third acquisition module is used for acquiring target work data of the first terminal;

the analysis module is used for analyzing the target work data to obtain image data of the target virtual character and identification data of the first terminal;

the display module is used for generating an image for displaying the target virtual character according to the image data of the target virtual character in the work judging interface;

and the second transmission module is used for acquiring the work judgment result aiming at the target virtual role and transmitting the work judgment result and the identification data of the second terminal to a server as work judgment data.

10. A computer storage medium, wherein at least one instruction or at least one program is stored, and the at least one instruction or the at least one program is loaded and executed by a processor to implement the method of any one of claims 1 to 7.

Technical Field

The invention relates to the field of games, in particular to an interaction method and device based on virtual character images and a storage medium.

Background

In many games, the virtual character represents the identity of the player, so that the image of the virtual character can be reloaded according to the personalized requirements of the player, thereby improving the game experience of the player.

In the changing game, the main link of the game is that a user dresses up the image of the virtual character of the user, the image of the virtual character is changed by changing the clothes, the hair style, the accessories, the background and the like of the virtual character, the image is graded or confronted with a non-game player through a system, and various wearing and putting experiences are given to the user.

In the non-reloading game, the reloading function of the virtual character is more limited, only the basic requirements of users on the decoration of the virtual character can be met, and the communication of the users on the image of the virtual character is more limited.

Therefore, a certain form of interface can be set in the game for the user to complete image design with a certain theme style or check and judge works completed by other users, and when the virtual character image designed by the user is favored or praised by other players, the game experience of the user can be improved.

Disclosure of Invention

In order to promote the communication interaction among users, improve the activity of the users and enrich the interest of games, the invention discloses a method, a device and a storage medium based on virtual character images. The specific technical scheme is as follows:

in a first aspect, the present invention discloses an interaction method based on virtual character image, which is applied to a first terminal, and the method comprises:

rendering a work generation interface in response to a first instruction on a task interface, wherein the task interface comprises a work generation interface and a work judgment interface;

acquiring image data of a virtual character, and displaying the image of the virtual character according to the image data of the virtual character in the work generation interface;

acquiring an image data set, and displaying at least one image according to the image data set in the work generation interface;

determining at least one target image in the image dataset based on the work generation interface;

fusing the image of the virtual character with the at least one target image to obtain a target virtual character;

and generating target work data based on the image data of the target virtual character and the identification data of the first terminal, transmitting the target work data to a server, so that a second terminal communicated with the server obtains a work judgment result according to the target work data, and transmitting the work judgment result and the identification data of the second terminal to the server as work judgment data.

Further, the acquiring an image dataset and displaying at least one image according to the image dataset in the work generation interface includes:

sending a data request to a server to obtain a uniformly configured image data set;

or the like, or, alternatively,

and acquiring an image data set in a resource library of the first terminal.

Further, the fusing the image of the virtual character with the at least one target image to obtain the target virtual character includes:

selecting at least one target image from the uniformly configured image dataset;

fusing the at least one target image with the basic skeleton of the virtual role to obtain a target virtual role;

or the like, or, alternatively,

selecting at least one target image from an image dataset in a repository of the first terminal;

and replacing the at least one target image with the part model of the virtual role to obtain the target virtual role.

In a second aspect, the present invention discloses an interaction method for an avatar, applied to a second terminal, wherein the method comprises:

in the task interface, responding to a second instruction, rendering a work judgment interface, wherein the task interface comprises a work generation interface and a work judgment interface;

acquiring target work data of a first terminal;

analyzing the target work data to obtain image data of a target virtual character and identification data of the first terminal;

displaying the image of the target virtual character according to the image data of the target virtual character in the work judging interface;

and acquiring a work judgment result aiming at the target virtual character, and transmitting the work judgment result and the identification data of the second terminal to a server as work judgment data.

Further, the work evaluation interface further includes a work display interface, and displaying the image of the target virtual character according to the image data of the target virtual character in the work evaluation interface includes:

in the work evaluation interface, rendering a work display interface in response to a display instruction for the target virtual character;

in the work display interface, responding to a display instruction of a designated part, and displaying the designated part of the target virtual role;

or the like, or, alternatively,

and in the work display interface, responding to a specified action display instruction, and displaying the specified action of the target virtual role.

In a third aspect, the invention discloses an interaction method based on virtual character images, which is applied to a server and is characterized in that the method comprises the following steps:

generating task interface configuration data for rendering a task interface, wherein the task interface comprises a work generation interface and a work judgment interface;

sending the task interface configuration data to a first terminal;

responding to a first data request of the first terminal, and sending an image data set and image data of a virtual character to the first terminal;

receiving and storing target work data transmitted by the first terminal, wherein the target work data is obtained based on image data of the target virtual character and identification data of the first terminal; the target avatar is obtained by fusing an avatar and at least one target image, the at least one target image belonging to the image dataset;

updating the work judgment interface according to the target work data;

sending the task interface configuration data to a second terminal;

responding to a second data request of the second terminal, and sending the target work data of the first terminal to the second terminal;

and receiving and storing the work judgment data transmitted by the second terminal, wherein the work judgment data comprises a work judgment result and identification data of the second terminal.

Further, the method further comprises:

generating result display interface configuration data for rendering a result display interface for judging the work;

updating the judgment result display interface according to the target work data transmitted by the first terminal and the work judgment data transmitted by the second terminal;

and responding to a third data request of the first terminal or a fourth data request of the second terminal, and sending the result display interface configuration data to the first terminal or the second terminal.

In a fourth aspect, the present invention discloses an interaction apparatus based on virtual character image, which is applied to a first terminal, and the apparatus includes:

the first rendering module is used for rendering a work generation interface in response to a first instruction on a task interface, and the task interface comprises a work generation interface and a work judgment interface;

the first acquisition module is used for acquiring the image data of the virtual character and displaying the image of the virtual character according to the image data of the virtual character in the work generation interface;

the second acquisition module is used for acquiring an image data set and displaying at least one image according to the image data set in the work generation interface;

a selection module to determine at least one target image in the image dataset based on the work generation interface;

the generating module is used for fusing the image of the virtual role with the at least one target image to obtain a target virtual role;

the first transmission module is used for generating target work data based on the image data of the target virtual character and the identification data of the first terminal and transmitting the target work data to the server, so that a second terminal communicated with the server obtains a work judgment result according to the target work data, and the work judgment result and the identification data of the second terminal are used as work judgment data and transmitted to the server.

In a fifth aspect, the present invention discloses an interaction apparatus based on virtual character image, which is applied to a second terminal, and the apparatus includes:

the second rendering module is used for rendering a work judging interface in response to a second instruction in the task interface, and the task interface comprises a work generating interface and a work judging interface;

the third acquisition module is used for acquiring target work data of the first terminal;

the analysis module is used for analyzing the target work data to obtain image data of the target virtual character and identification data of the first terminal;

the display module is used for generating an image for displaying the target virtual character according to the image data of the target virtual character in the work judging interface;

and the second transmission module is used for acquiring the work judgment result aiming at the target virtual role and transmitting the work judgment result and the identification data of the second terminal to a server as work judgment data.

In a sixth aspect, the present invention discloses a computer storage medium, wherein at least one instruction or at least one program is stored in the computer storage medium, and the at least one instruction or the at least one program is loaded and executed by a processor to implement an avatar-based interaction method according to any one of claims 1 to 7.

By adopting the technical scheme, the interaction method, the interaction device and the storage medium based on the virtual character image have the following beneficial effects: according to the invention, through setting a certain form of game tasks in the game, a part of users can select to enter the competition tasks, and a part of users can select to enter the judgment tasks, so that the communication of virtual character images among different users is promoted, the game experience and the user activity of the users are improved, and more game interests are increased.

Drawings

In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.

FIG. 1 is a flow chart of an interaction method based on an avatar image according to an embodiment of the present invention;

FIG. 2 is a flowchart illustrating an interaction method based on an avatar image according to an embodiment of the present invention;

FIG. 3 is a flowchart illustrating an interaction method based on an avatar image according to an embodiment of the present invention;

FIG. 4 is a schematic diagram of a three-end interaction flow of an interaction method based on an avatar image according to an embodiment of the present invention;

FIG. 5 is a schematic diagram of a task interface scenario provided in an embodiment of the present invention;

fig. 6 is a schematic structural diagram of an interaction apparatus based on an avatar applied to a first terminal according to an embodiment of the present invention;

fig. 7 is a schematic structural diagram of an interaction apparatus based on an avatar applied to a second terminal according to an embodiment of the present invention;

fig. 8 is a block diagram of a hardware structure of a computer device for operating an interaction method based on an avatar image according to an embodiment of the present invention.

Detailed Description

In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

Reference herein to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic may be included in at least one implementation of the invention. In describing the present invention, it is to be understood that the terms "first," "second," "third," and "fourth," etc. in the description and claims of the present invention and the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.

Fig. 1 is a flow chart of an interaction method based on an avatar, according to an embodiment of the present invention, and the present specification provides the operation steps of the method according to the embodiment or the flow chart, but more or less operation steps may be included based on conventional or non-creative labor. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of orders and does not represent the only order of execution. In practice, the system or server product may be implemented in a sequential or parallel manner (e.g., parallel processor or multi-threaded environment) according to the embodiments or methods shown in the figures. Specifically, as shown in fig. 1, the interaction method based on the virtual character image may include:

s101: and rendering a work generation interface in response to the first instruction on a task interface, wherein the task interface comprises a work generation interface and a work judgment interface.

In some possible implementations, before step S101, the first terminal in this embodiment of the present invention may further include:

receiving task interface configuration data transmitted by a server, and generating the task interface according to the task interface configuration data, wherein the task interface can include but is not limited to a work generation interface, a work judgment interface and a work judgment result display interface.

It can be understood that, in the task interface, a user of the first terminal may obtain information of a task subject and a task deadline, and enter the work generation interface according to a selection of the user, so as to make the virtual character image be decorated.

S102: and acquiring image data of the virtual character, and displaying the image of the virtual character according to the image data of the virtual character in the work generation interface.

In some possible implementations, the avatar data of the virtual character obtained in step S102 provided in this embodiment of the present invention may be the avatar data of an initialized virtual character configured in the work generation interface in a unified manner, or may be the personalized avatar data of the virtual character bound to the first terminal.

In some possible embodiments, the first terminal renders the basic skeleton, skin, hair style and other parts of the virtual character according to the image data and displays the rendered basic skeleton, skin, hair style and other parts in the work generation interface.

S103: and acquiring an image data set, and displaying at least one image according to the image data set in the work generation interface.

In some possible embodiments, step S103 provided in the embodiments of the present invention may include:

sending a data request to a server to obtain a uniformly configured image data set;

or the like, or, alternatively,

and acquiring an image data set in a resource library of the first terminal.

It will be appreciated that the captured uniformly configured image dataset indicates that all game players entering the composition generation interface have the same grooming resources regardless of their level. Or, considering the level of the player, the virtual character is visually decorated by the resource equipment owned by the player, so that more personalized images can be generated.

Preferably, the image dataset may include, but is not limited to, clothing data, hair style data, footwear data, accessories data, makeup data, background data, and scene data.

It is to be understood that when the virtual character is a two-dimensional image, the images in the image data set may be maps, slices; when the virtual character is a three-dimensional image, the image in the image data may be a model of each part of the virtual character.

S104: at least one target image is determined in the image dataset based on the work generation interface.

S105: and fusing the image of the virtual character with the at least one target image to obtain the target virtual character.

Specifically, step S105 provided in the embodiment of the present invention may include:

selecting at least one target image from the uniformly configured image dataset;

fusing the at least one target image with the basic skeleton of the virtual role to obtain a target virtual role;

or the like, or, alternatively,

selecting at least one target image from an image dataset in a repository of the first terminal;

and replacing the at least one target image with the part model of the virtual role to obtain the target virtual role.

It is understood that the character data of the virtual character may be character data of an initialized virtual character uniformly configured in the work generation interface, or may be personalized character data of a virtual character bound to the first terminal. In addition, the image data set for decorating may be a repository or a backpack which is configured by the system in a unified manner, or which is private to the user to which the first terminal is bound and whose path is generally stored and displayed as the user during the game. The specific configuration scheme of the image data and the image data set of the virtual character of the present invention includes, but is not limited to, the above, and will not be described herein again.

In some possible embodiments, replacing the at least one target image with the site model of the virtual character includes:

loading an image model of the virtual character;

obtaining skeleton information in the image model, and fusing the image model to a corresponding skeleton part of the virtual character according to the skeleton information;

acquiring position information of the at least one target image;

changing a corresponding part model in the image model of the virtual character into the at least one target image according to the part information;

and updating the image model of the virtual character to obtain the target virtual character.

S106: and generating target work data based on the image data of the target virtual character and the identification data of the first terminal, transmitting the target work data to a server, so that a second terminal communicated with the server obtains a work judgment result according to the target work data, and transmitting the work judgment result and the identification data of the second terminal to the server as work judgment data.

In some possible embodiments, the target work data further includes a work thumbnail image obtained by the user of the first terminal performing a photographing function in the game on the target virtual character, so that the work thumbnail image of the first terminal in the work judgment interface is conveniently viewed by the user of the second terminal.

Fig. 2 is a flow chart of an interaction method based on an avatar, according to an embodiment of the present invention, and the present specification provides the operation steps of the method according to the embodiment or the flow chart, but more or less operation steps may be included based on conventional or non-creative labor. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of orders and does not represent the only order of execution. In practice, the system or server product may be implemented in a sequential or parallel manner (e.g., parallel processor or multi-threaded environment) according to the embodiments or methods shown in the figures. Specifically, as shown in fig. 2, the interaction method based on the virtual character image may include:

s201: and rendering a work judging interface in response to a second instruction in the task interface, wherein the task interface comprises a work generating interface and a work judging interface.

In some possible embodiments, before step S201, the second terminal in the embodiment of the present invention further includes:

receiving task interface configuration data transmitted by a server, and generating the task interface according to the task interface configuration data, wherein the task interface can include but is not limited to a work generation interface, a work judgment interface and a work judgment result display interface.

It can be understood that, in the task interface, the user of the second terminal may use the information of the task subject and the task time limit as a reference for evaluation, and enter the work evaluation interface according to the selection of the user so as to evaluate the target virtual character image uploaded by the first terminal.

S202: and acquiring target work data of the first terminal.

In some possible implementations, step S202 provided by the embodiment of the present invention may display a thumbnail image of a work uploaded by at least one first terminal when rendering the work judgment interface. The second terminal sends a data request to the server and acquires target work data of the first terminal returned by the server when acquiring a viewing instruction of a user for the work thumbnail image of one of the first terminals.

S203: and analyzing the target work data to obtain image data of the target virtual character and identification data of the first terminal.

S204: and displaying the image of the target virtual character according to the image data of the target virtual character in the work judging interface.

Further, the work evaluation interface further includes a work display interface, and step S204 provided in the embodiment of the present invention may include:

in the work evaluation interface, rendering a work display interface in response to a display instruction for the target virtual character;

in the work display interface, responding to a display instruction of a designated part, and displaying the designated part of the target virtual role;

or the like, or, alternatively,

and in the work display interface, responding to a specified action display instruction, and displaying the specified action of the target virtual role.

It is understood that the target virtual character rendered according to the character data of the target virtual character may be a two-dimensional character or a three-dimensional character. In response to the specified part showing instruction, showing description information of the specified part of the target virtual character, including but not limited to a clothing name, a hair accessory name and a scene environment; in response to the designated action showing instruction, dynamically showing the designated action of the target virtual character, wherein the designated action can be designed uniformly by a system or designed by a user of the first terminal, and the designated action includes but is not limited to rotation, jumping and step walking.

S205: and acquiring a work judgment result aiming at the target virtual character, and transmitting the work judgment result and the identification data of the second terminal to a server as work judgment data.

In some possible embodiments, a judgment text box or a comment button is provided in the work judgment interface, and the user of the second terminal may judge the target virtual character by inputting a text description, a score value, or a comment, but not limited thereto. And when the user selects to submit the judgment content, finishing the judgment of the target virtual character works.

Further, after the second terminal finishes the work evaluation of the target virtual character, a work evaluation result display interface is automatically rendered, and the work evaluation result display interface can display the number of praise people and ranking rank of the target virtual character of the first terminal.

Fig. 3 is a flow chart of an interaction method based on an avatar, according to an embodiment of the present invention, and the present specification provides the operation steps of the method according to the embodiment or the flow chart, but more or less operation steps may be included based on conventional or non-creative labor. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of orders and does not represent the only order of execution. In practice, the system or server product may be implemented in a sequential or parallel manner (e.g., parallel processor or multi-threaded environment) according to the embodiments or methods shown in the figures. Specifically, as shown in fig. 3, when applied to a server, the interaction method based on the virtual character image may include:

s301: and generating task interface configuration data for rendering a task interface, wherein the task interface comprises a work generation interface and a work judgment interface.

S302: and sending the task interface configuration data to the first terminal.

S303: and responding to a first data request of the first terminal, and sending the image data set and the image data of the virtual character to the first terminal.

It is to be understood that the first data request is for requesting image data set and character data of the avatar, that is, indicating that the first terminal enters a work creation interface.

S304: receiving and storing target work data transmitted by the first terminal, wherein the target work data is obtained based on image data of the target virtual character and identification data of the first terminal; the target avatar is obtained by fusing an avatar and at least one target image belonging to the image data set.

S305: and updating the work judgment interface according to the target work data.

S306: and sending the task interface configuration data to a second terminal.

S307: and responding to a second data request of the second terminal, and sending the target work data of the first terminal to the second terminal.

It can be understood that the second data request is used for requesting target work data, that is, indicating that the second terminal enters a work judgment interface.

S308: and receiving and storing the work judgment data transmitted by the second terminal, wherein the work judgment data comprises a work judgment result and identification data of the second terminal.

Further, the method may further include:

s309: and generating result display interface configuration data for rendering the judgment result display interface of the work.

S310: and updating the judgment result display interface according to the target work data transmitted by the first terminal and the work judgment data transmitted by the second terminal.

S311: and responding to a third data request of the first terminal or a fourth data request of the second terminal, and sending the result display interface configuration data to the first terminal or the second terminal.

In some possible embodiments, the first terminal and the second terminal have permission to enter the evaluation result display interface after completing respective operations. The product evaluation result display interface can display the praise number and ranking number of the target virtual character of the first terminal.

In other feasible embodiments, the first terminal and the second terminal have permission to enter the evaluation result display interface before completing respective operations, but at the moment, all target work data and identification data of the terminals in the work evaluation data are hidden in the evaluation result display interface, so that the evaluation of the work is fairer. The judging result display interface entered by the first terminal and the second terminal after completing respective operation can display all the production data and the judging data of the works.

Fig. 4 is a schematic three-terminal interaction flow diagram of an interaction method based on an avatar, according to an embodiment of the present invention, and the present specification provides the operation steps of the method according to the embodiment or the flow diagram, but may include more or less operation steps based on conventional or non-creative labor. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of orders and does not represent the only order of execution. In practice, the system or server product may be implemented in a sequential or parallel manner (e.g., parallel processor or multi-threaded environment) according to the embodiments or methods shown in the figures. Specifically, as shown in fig. 4, the method may include the specific steps as described in fig. 1 to 3, which are only illustrated here and are not repeated herein.

Fig. 5 is a scene schematic diagram of a task interface provided by an embodiment of the present invention, as shown in fig. 5, an image of the virtual character may be simultaneously displayed in the task interface, and if a work generation interface needs to be entered, that is, "i want to participate in a game" is selected, an image data set is loaded, and if a work evaluation interface needs to be entered, "i want to be a judge" is selected. And after clicking the ranking list icon on the upper right corner of the task interface, entering a work evaluation result display interface. The present specification provides a configuration manner of the task interface as shown in fig. 5, but based on conventional or non-creative labor, the task interface may have other configurations and some other basic functions, and what is shown in fig. 5 is only one of them, and does not represent a unique configuration manner, and details are not repeated here.

An embodiment of the present invention further provides an interaction apparatus based on an avatar, as shown in fig. 6, applied to a first terminal, where the interaction apparatus based on the avatar includes:

the first rendering module 610 is configured to render a work generation interface in response to the first instruction at a task interface, where the task interface includes a work generation interface and a work evaluation interface.

The first obtaining module 620 is configured to obtain image data of a virtual character, and in the work generation interface, the image of the virtual character is displayed according to the image data of the virtual character.

A second obtaining module 630, configured to obtain an image data set, and in the work generation interface, display at least one image according to the image data set.

A selection module 640 to determine at least one target image in the image dataset based on the work generation interface.

And a generating module 650, configured to fuse the image of the virtual character and the at least one target image to obtain a target virtual character.

The first transmission module 660 is configured to generate target work data based on the image data of the target virtual character and the identification data of the first terminal, and transmit the target work data to a server, so that a second terminal in communication with the server obtains a work evaluation result according to the target work data, and transmits the work evaluation result and the identification data of the second terminal to the server as work evaluation data.

An embodiment of the present invention further provides an interaction apparatus based on an avatar, as shown in fig. 7, applied to a second terminal, where the interaction apparatus based on the avatar includes:

and a second rendering module 710, configured to render a work evaluation interface in response to a second instruction in the task interface, where the task interface includes a work generation interface and a work evaluation interface.

A third obtaining module 720, configured to obtain target work data of the first terminal.

And the analysis module 730 is used for analyzing the target work data to obtain the image data of the target virtual character and the identification data of the first terminal.

The display module 740 is configured to generate an image displaying the target virtual character according to the image data of the target virtual character in the work evaluation interface.

A second transmission module 750, configured to obtain a work evaluation result for the target virtual character, and transmit the work evaluation result and the identification data of the second terminal to a server as work evaluation data.

The interaction device and method embodiments based on the virtual character image according to the embodiments of the present invention are based on the same inventive concept, and please refer to the method embodiments for details, which are not described herein again.

An embodiment of the present invention further provides a computer device, where the computer device includes: the system comprises a processor and a memory, wherein at least one instruction or at least one program is stored in the memory, and the at least one instruction or the at least one program is loaded and executed by the processor to realize the interaction method based on the virtual character image according to the embodiment of the invention.

The memory may be used to store software programs and modules, and the processor may execute various functional applications by executing the software programs and modules stored in the memory. The memory can mainly comprise a program storage area and a data storage area, wherein the program storage area can store an operating system, application programs needed by functions and the like; the storage data area may store data created according to use of the apparatus, and the like. Further, the memory may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory may also include a memory controller to provide the processor access to the memory.

The method embodiments provided by the embodiments of the present invention may be executed in a computer terminal, a server, or a similar computing device, that is, the computer device may include a computer terminal, a server, or a similar computing device. Fig. 8 is a block diagram of a hardware structure of a computer device for operating an interaction method based on an avatar image according to an embodiment of the present invention, and as shown in fig. 8, the internal structure of the computer device may include, but is not limited to: a processor, a network interface, and a memory. The processor, the network interface, and the memory in the computer device may be connected by a bus or in other manners, and fig. 8 shown in the embodiment of the present specification is exemplified by being connected by a bus.

It is to be understood that the Memory herein may be a high-speed RAM storage device, or may be a non-volatile storage device (e.g., at least one disk storage device), and optionally may also be at least one storage device located remotely from the aforementioned processor, the Memory provides storage space that stores an operating system of the electronic device, which may include, but is not limited to, a Windows system (an operating system), L inux (an operating system), Android (Android, a mobile operating system), IOS (a mobile operating system) system, etc., and the invention is not limited thereto, and further stores therein instructions suitable for being loaded by the processor(s) to perform the methods described herein, and the instructions may be loaded into the computer or otherwise perform the methods described herein.

The embodiment of the present invention further provides a computer storage medium, where at least one instruction or at least one program is stored in the computer storage medium, and the at least one instruction or the at least one program is loaded by the processor and executes the interaction method based on the virtual character image according to the embodiment of the present invention.

Optionally, in this embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-only memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.

It should be noted that: the precedence order of the above embodiments of the present invention is only for description, and does not represent the merits of the embodiments. And specific embodiments thereof have been described above. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.

The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the apparatus, system and server embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference may be made to some descriptions of the method embodiments for relevant points.

It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.

The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

23页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:互动装扮方法及装置、客户端以及计算机可读存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类