Virtual resource processing method, apparatus, device, and storage medium

CN117101124BActive Publication Date: 2026-10-13NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310954688.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-31
Publication Date
2026-10-13
Estimated Expiration
2043-07-31

AI Technical Summary

Technical Problem

[0004]然而,基于现有的方式,游戏提供方无法准确地向玩家推荐匹配程度较高的虚拟资源,导致玩家与游戏之间的粘性下降

Benefits of technology

[0018]本申请实施例提供一种虚拟资源处理方法、装置、设备及存储介质,该方法可在游戏的图形用户界面上显示风格需求控件,这样目标玩家可直接通过风格需求控件输入自己想要购买的虚拟资源的风格信息,即风格需求信息。基于此,可将风格需求信息与预先训练得到的目标虚拟资源推荐模型相结合,根据目标虚拟资源推荐模型输入的推荐结果在图形用户界面上进行虚拟资源推荐。也就是说,目标玩家可直接在游戏平台上输入自己想要的虚拟资源的风格信息,进而游戏平台根据目标玩家想要的虚拟资源的风格信息以及目标虚拟资源推荐模型进行虚拟资源推送,这样可有目标性的向目标用户自动推送虚拟资源,即可准确地向玩家推荐匹配程度较高的虚拟资源,提高玩家与游戏之间的粘性。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117101124B_ABST
    Figure CN117101124B_ABST
Patent Text Reader

Abstract

The application provides a virtual resource processing method and device, equipment and a storage medium, and relates to the technical field of computers. A terminal device provides a graphical user interface of a game, and a virtual resource operation interface of the game is displayed on the graphical user interface. The method comprises the following steps: in response to a triggering operation on a style demand control on the virtual resource operation interface, a style demand information collection interface is displayed; in response to an editing operation on the style demand information collection interface, style demand information is acquired; and in accordance with the style demand information and a pre-trained target virtual resource recommendation model, virtual resource pushing is performed on the graphical user interface. The application can increase the stickiness between a player and a game.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and more specifically, to a virtual resource processing method, apparatus, device, and storage medium. Background Technology

[0002] In role-playing or dress-up games, to enhance the player's gaming experience, players can purchase virtual resources such as in-game appearances based on their actual needs, and can also share their tips on matching purchased in-game appearances.

[0003] Currently, game providers typically recommend newly released game skins to players so that they can choose the skins they want based on these recommendations.

[0004] However, based on the existing methods, game providers are unable to accurately recommend highly compatible virtual resources to players, resulting in a decrease in player engagement with the game. Summary of the Invention

[0005] The purpose of this application is to address the shortcomings of the prior art by providing a virtual resource processing method, apparatus, device, and storage medium that can increase the stickiness between players and games.

[0006] To achieve the above objectives, the technical solutions adopted in the embodiments of this application are as follows:

[0007] In a first aspect, embodiments of this application provide a virtual resource processing method, which provides a graphical user interface for a game through a terminal device, wherein the graphical user interface displays a virtual resource operation interface for the game, and the method includes:

[0008] In response to the triggering operation of the style requirement control on the virtual resource operation interface, the style requirement information collection interface is displayed;

[0009] In response to the editing operation of the style requirement information collection interface, style requirement information is obtained;

[0010] Based on the style requirement information and the pre-trained target virtual resource recommendation model, virtual resources are pushed on the graphical user interface.

[0011] Secondly, embodiments of this application also provide a virtual resource processing device that provides a graphical user interface for a game through a terminal device. The graphical user interface displays a virtual resource operation interface for the game. The device includes:

[0012] The display module is used to respond to the trigger operation of the style requirement control on the virtual resource operation interface and display the style requirement information collection interface.

[0013] The acquisition module is used to respond to the editing operation of the style requirement information collection interface and acquire style requirement information;

[0014] The push module is used to push virtual resources on the graphical user interface based on the style requirement information and the pre-trained target virtual resource recommendation model.

[0015] Thirdly, embodiments of this application provide an electronic device, including: a processor, a storage medium, and a bus. The storage medium stores machine-readable instructions executable by the processor. When the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the steps of the virtual resource processing method described in the first aspect.

[0016] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the steps of the virtual resource processing method described in the first aspect.

[0017] The beneficial effects of this application are:

[0018] This application provides a virtual resource processing method, apparatus, device, and storage medium. The method displays a style preference control on the game's graphical user interface, allowing target players to directly input the style information of the virtual resources they wish to purchase—their style preference information. Based on this, the style preference information can be combined with a pre-trained target virtual resource recommendation model. Virtual resources are then recommended on the graphical user interface according to the recommendation results input from the target virtual resource recommendation model. In other words, target players can directly input the style information of the virtual resources they want on the game platform, and the game platform then pushes virtual resources based on the target player's desired style information and the target virtual resource recommendation model. This allows for targeted and automatic push of virtual resources to target users, accurately recommending highly matched virtual resources to players and increasing player engagement with the game. Attached Figure Description

[0019] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0020] Figure 1 A flowchart illustrating a virtual resource processing method provided in an embodiment of this application;

[0021] Figure 2 A schematic diagram of a virtual resource operation interface provided in an embodiment of this application;

[0022] Figure 3 A flowchart illustrating another virtual resource processing method provided in this application embodiment;

[0023] Figure 4 A flowchart illustrating yet another virtual resource processing method provided in this application embodiment;

[0024] Figure 5 A flowchart illustrating another virtual resource processing method provided in an embodiment of this application;

[0025] Figure 6 Example diagram of another virtual resource operation interface provided in the embodiments of this application;

[0026] Figure 7 This is a schematic diagram of the structure of a virtual resource processing device provided in an embodiment of this application;

[0027] Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0028] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. The components of the embodiments of this application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.

[0029] Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0030] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.

[0031] The virtual resource processing method in one embodiment of this application can run on a local terminal device or a server. When the virtual resource processing method runs on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.

[0032] In an optional implementation, various cloud applications, such as cloud gaming, can run under the cloud interaction system. Taking cloud gaming as an example, cloud gaming refers to a gaming method based on cloud computing. In the cloud gaming operating mode, the game program's execution and the game screen presentation are separated. The storage and execution of virtual resource processing methods are completed on the cloud gaming server. The client device is used for data reception, transmission, and game screen presentation. For example, the client device can be a display device with data transmission capabilities located close to the user, such as a mobile terminal, television, computer, or PDA. However, the information processing is performed by the cloud gaming server in the cloud. When playing the game, the player operates the client device to send operation commands to the cloud gaming server. The cloud gaming server runs the game according to the operation commands, encodes and compresses game screen data, returns it to the client device via the network, and finally, the client device decodes and outputs the game screen.

[0033] In an optional implementation, taking a game as an example, the local terminal device stores the game program and is used to display the game screen. The local terminal device is used to interact with the player through a graphical user interface (GUI), i.e., conventionally by downloading, installing, and running the game program via an electronic device. The local terminal device can provide the GUI to the player in various ways, such as rendering it on the terminal's display screen or providing it to the player via holographic projection. For example, the local terminal device can include a display screen for displaying the GUI, which includes game screens, and a processor for running the game, generating the GUI, and controlling the display of the GUI on the display screen.

[0034] In one possible implementation, this application provides a virtual resource processing method that provides a graphical user interface through a terminal device, wherein the terminal device may be the aforementioned local terminal device or a client device in the aforementioned cloud interaction system.

[0035] The following description, in conjunction with the accompanying drawings, illustrates the virtual resource processing method mentioned in this application. The execution subject of this method is the terminal device and server in the aforementioned cloud interactive system. The terminal device can render and display the game's graphical user interface, which displays the game's virtual resource operation interface. Specifically, the virtual resource operation interface can be a game store interface, such as the game store interface corresponding to clothing appearance resources or the game store interface corresponding to weapon appearance resources. It should be noted that this application does not limit the type of virtual resources.

[0036] The virtual resource processing method mentioned in this application is illustrated below with reference to the accompanying drawings. Figure 1This is a flowchart illustrating a virtual resource processing method provided in an embodiment of this application. Figure 1 As shown, the method may include:

[0037] S101. Respond to the trigger operation of the style requirement control on the virtual resource operation interface and display the style requirement information collection interface.

[0038] For example, after a target user opens the virtual resource operation interface, a style requirement control can be displayed in the relevant area of ​​the virtual resource operation interface. The virtual resource operation interface can be a game shop interface, other activity interfaces, etc., and it should be noted that this application does not limit it. Assuming that the preset area (such as the central area) of the virtual resource operation interface currently displays a virtual character A with clothing appearance resource 1, if the target user wants to purchase new clothing appearance resources for virtual character A, they can perform actions such as clicking or double-clicking on the style requirement control, thereby highlighting the style requirement information collection interface on the virtual resource operation interface.

[0039] S102. Respond to the editing operation of the style requirement information collection interface and obtain style requirement information.

[0040] For example, after displaying the style requirement information collection interface, the target player can edit the interface according to their actual needs, inputting style requirement information, i.e., the style information of the virtual resources they want to purchase. The terminal device can then obtain the target player's corresponding style requirement information. This style requirement information can be in the form of tags, text, and / or voice; however, this application does not limit its form.

[0041] It is understandable that the style requirements mentioned above may include style information such as shy, cool, and cute.

[0042] S103. Based on style requirement information and a pre-trained target virtual resource recommendation model, push virtual resources on the graphical user interface.

[0043] For example, after obtaining the style requirement information corresponding to the target player, the style requirement information can be input into the pre-trained target virtual resource recommendation model, so that the target virtual resource recommendation model can output the recommendation result according to the correspondence between style information and virtual resources, and then push virtual resources on the graphical user interface according to the recommendation result. In other words, the virtual resources included in the recommendation result can be displayed on the graphical user interface for the target player to select.

[0044] Virtual resources may include, for example, clothing and accessories. It should be noted that this application does not limit them.

[0045] In summary, the virtual resource processing method provided in this application can display a style requirement control on the game's graphical user interface. This allows target players to directly input the style information of the virtual resources they wish to purchase—their style requirement information. Based on this, the style requirement information can be combined with a pre-trained target virtual resource recommendation model. Virtual resources can then be recommended on the graphical user interface based on the recommendation results input from the target virtual resource recommendation model. In other words, target players can directly input the style information of the virtual resources they want on the game platform. The game platform then pushes virtual resources based on the target player's desired style information and the target virtual resource recommendation model. This allows for targeted and automatic push of virtual resources to target users, accurately recommending highly matched virtual resources to players and increasing player engagement with the game.

[0046] Optionally, the above-mentioned response to editing operations on the style requirement information collection interface to obtain style requirement information includes: responding to selection operations on style tags on the style requirement information collection interface to obtain style requirement information.

[0047] And / or, respond to input operations in the style input box on the style requirement information collection interface to obtain style requirement information.

[0048] Figure 2 An example diagram of a virtual resource operation interface provided in an embodiment of this application is shown below. Figure 2 As shown, the right side of the virtual resource operation interface can display multiple clothing appearance resources, such as clothing appearance resource 1, clothing appearance resource 2, clothing appearance resource 3, and clothing appearance resource 4. Assume that a virtual character A with clothing appearance resource 1 is displayed in the preset area (center area) of the virtual resource operation interface, and a style requirement control is displayed in a related area of ​​the preset area. When the target user double-clicks the style virtual control, a style requirement information collection interface is highlighted on the virtual resource operation interface. The target user can then edit the style requirement information collection interface according to their actual needs, such as entering the style information of the virtual resource they want to purchase. This entered style information can then be used as the target user's corresponding style requirement information.

[0049] The editing operations include at least one of the following: a touch selection operation on the style tags displayed on the style requirement information collection interface, an input operation on the style input box displayed on the style requirement information collection interface, and a trigger operation on the voice control displayed on the style requirement information collection interface.

[0050] like Figure 2The style requirement information collection interface includes style tags, a style input box, and a voice control. Players can choose the appropriate method to input the style information of the virtual resources they want to purchase based on their actual needs. For example, players can select the desired style tag from the style tags, such as shy or cool, or they can enter style text in the input box. It should be noted that this application does not limit the scope of these restrictions.

[0051] Figure 3 This is a flowchart illustrating another virtual resource processing method provided in an embodiment of this application. Optionally, as... Figure 3 The aforementioned method of pushing virtual resources on a graphical user interface based on style requirement information and a pre-trained target virtual resource recommendation model includes:

[0052] S301. Extract features from style requirement information based on a pre-built style keyword library to obtain at least one style requirement feature.

[0053] S302. Input the style requirements features into the target virtual resource recommendation model to obtain the virtual resources to be pushed.

[0054] For example, if the style requirement information includes style requirement information in text form, then the style requirement information in text form can be segmented into multiple words first, and then each word can be matched with the style features included in the style keyword library. The target words can be selected from the multiple words and referred to as style requirement features.

[0055] After obtaining multiple style requirement features, these features can be combined into a style requirement sequence and input into the target virtual resource recommendation model. The target virtual resource recommendation model analyzes the input style requirement sequence and outputs at least one virtual resource to be pushed that matches the style requirement sequence.

[0056] S303. Push the virtual resources to be pushed on the graphical user interface.

[0057] For example, if the target virtual resource recommendation model outputs a virtual resource to be pushed that matches the style requirement features, then that virtual resource can be directly displayed on the graphical user interface. If the target virtual resource recommendation model outputs multiple virtual resources to be pushed that match the style requirement sequence, then the multiple virtual resources to be pushed can be sorted first, and then pushed to the target user on the virtual resource push interface displayed on the graphical user interface according to the sorting results and the push strategy. It can be seen that this allows for targeted recommendations of virtual resources to the target user based on their style preferences.

[0058] Optionally, the above-mentioned pushing of virtual resources to be pushed on the graphical user interface includes: if there are multiple virtual resources to be pushed, sorting the multiple virtual resources to be pushed according to the degree of association between each virtual resource to be pushed and the target user to obtain a sequence of virtual resources to be displayed; and displaying the sequence of virtual resources to be displayed on the virtual resource push interface.

[0059] It is understandable that the virtual resources to be pushed included in the output of the target virtual resource recommendation model have weight characteristics. The higher the weight of the virtual resource to be pushed, the stronger the correlation with the target user. The lower the weight of the virtual resource to be pushed, the weaker the correlation with the target user. Multiple virtual resources to be pushed can be sorted according to the correlation between each virtual resource to be pushed and the target user to obtain the sequence of virtual resources to be displayed.

[0060] As an example, the virtual resources to be pushed, which are included in the sequence of virtual resources to be displayed, can be displayed in a list form on the virtual resource push interface.

[0061] Another example is that the first virtual resource to be pushed in the sequence of virtual resources to be displayed can be displayed on the virtual resource push interface. If the target user wants to browse the next virtual resource to be pushed, the browsing control displayed on the virtual resource push interface can be triggered to switch the first virtual resource to be pushed in the sequence of virtual resources currently displayed on the virtual resource push interface to the next virtual resource to be pushed after the first one.

[0062] It should be noted that this application does not limit the display method of the virtual resource sequence to be displayed.

[0063] Optionally, the method further includes displaying the virtual resource to be pushed on the corresponding virtual object.

[0064] It is understandable that virtual objects can be displayed in a preset area of ​​the virtual resource operation interface. These virtual objects currently displayed in the preset area of ​​the virtual resource operation interface can be referred to as the virtual objects corresponding to the virtual resources to be pushed. For example, these virtual objects could be... Figure 2The virtual character A described above. One example is that, after obtaining the virtual resource to be pushed, the virtual resource can be displayed on virtual character A. Another example is that, after obtaining the virtual resource to be pushed, in response to a trigger operation on the aforementioned browsing control, the virtual resource to be pushed can be displayed on virtual character A. If there are multiple virtual resources to be pushed, they can be sorted according to the degree of association between each virtual resource and the target user to obtain a sequence of virtual resources to be displayed. Then, in response to a trigger operation on the browsing control, the virtual resources to be pushed can be displayed sequentially on the corresponding virtual objects according to the order of the virtual resources to be displayed in the sequence.

[0065] Combination Figure 2 Explanation: Assuming the virtual resource operation interface currently displays a virtual character A with clothing appearance resource 1 attached in the preset area, and the sequence of virtual resources to be displayed includes clothing appearance resource 2 and clothing appearance resource 3, and clothing appearance resource 2 is more relevant to the target user than clothing appearance resource 3, then the clothing appearance resources on virtual resource A can be switched to clothing appearance resource 2 and clothing appearance resource 3 in sequence. This allows the target player to more intuitively select the virtual resource that better matches the virtual object based on the changes in the virtual resources on the virtual object.

[0066] Optionally, if there are multiple virtual resources to be pushed, the multiple virtual resources to be pushed can be sorted according to the attribute information of each virtual resource to be pushed to obtain a sequence of virtual resources to be displayed. The sequence of virtual resources to be displayed is then displayed on the virtual resource push interface. The attribute information can be used to characterize the attack power, health, and other information of the virtual resources to be pushed. It should be noted that this application does not limit it.

[0067] Optionally, if there are multiple virtual resources to be pushed, the attribute information of each virtual resource to be pushed can be compared with the attribute information of the virtual resources currently on the corresponding virtual object. Selectable virtual resources can be filtered from the multiple virtual resources to be pushed, and then pushed to the graphical user interface. For example, such as... Figure 2 As shown, assuming the virtual resources to be pushed include clothing appearance resource 2 and clothing appearance resource 3, and the virtual resource currently on virtual character A is clothing appearance resource 1, then the attack power corresponding to clothing appearance resource 2 and clothing appearance resource 3 can be compared with the attack power corresponding to clothing appearance resource 1 currently on virtual character A. If the attack power corresponding to clothing appearance resource 2 is higher than the attack power corresponding to clothing appearance resource 1, and the attack power corresponding to clothing appearance resource 3 is lower than the attack power corresponding to clothing appearance resource 1, then clothing appearance resource 2 can be used as the aforementioned optional virtual resource, and clothing appearance resource 2 can be displayed on virtual character A.

[0068] As can be seen, this not only accurately recommends virtual resources of the desired style to players, but also ensures that the recommended virtual resources are superior to the virtual resources currently possessed by the player's virtual object in terms of combat attributes (such as attack power, health, etc.). This helps players quickly select their preferred virtual resources and improves their gaming experience.

[0069] Figure 4 This is a flowchart illustrating another virtual resource processing method provided in an embodiment of this application. Optionally, as... Figure 4 As shown, before pushing virtual resources on the graphical user interface based on the style requirement information and the pre-trained target virtual resource recommendation model, the method further includes:

[0070] S401. Obtain multiple evaluation results for multiple virtual resources.

[0071] S402. Based on the multiple evaluation results of each virtual resource, construct training samples.

[0072] S403. Input the training samples into the initial virtual resource recommendation model to train the target virtual resource recommendation model.

[0073] It is understandable that terminal devices can obtain evaluation results of virtual resources locally or from third-party platforms. If the same virtual resource corresponds to multiple evaluation results, the evaluation results of the same virtual resource can be integrated to obtain multiple evaluation results for each virtual resource. The evaluation results may include: style tags, style text information, and style voice information, etc.

[0074] After obtaining multiple evaluation results for each virtual resource, training samples can be constructed. According to the training requirements, the training samples are divided into training set, validation set and test set. The training set is used to train the initial virtual resource recommendation model, and the validation set and test set are used to test the trained model to ensure the quality of the trained model. Finally, the target virtual resource recommendation model can be trained.

[0075] It is understandable that the training samples in the training set contain block features and labels, with features corresponding to evaluation results and labels corresponding to virtual resources. The training samples in the training set are input into the initial virtual resource recommendation model for training. If the training stopping condition is met, the target virtual resource recommendation model is obtained. When training the initial virtual resource recommendation model using the virtual resources in the training samples and their corresponding evaluation results, the initial virtual resource recommendation model analyzes the evaluation results corresponding to multiple virtual resources in the training samples. This enables the finally trained target virtual resource recommendation model to output corresponding virtual resources based on appearance style description information (such as style requirement information input by the target user).

[0076] It is worth noting that since the target virtual resource recommendation model is trained based on the evaluation results of multiple virtual resources, it can accurately and quickly perceive the style information of the virtual resources expected by the player, and thus obtain virtual resources that match the needs of the target player.

[0077] Understandably, as time goes on, the number of evaluation results for virtual resources increases, which in turn builds a rich training sample. This allows the accuracy of the target virtual resource recommendation model to improve, thereby increasing the accuracy of the virtual resources recommended to the target users and enhancing the player's gaming experience.

[0078] Figure 5 This is a flowchart illustrating another virtual resource processing method provided in an embodiment of this application.

[0079] Optionally, such as Figure 5 As shown, the above-mentioned evaluation results for obtaining multiple virtual resources include:

[0080] S501: Respond to the trigger operation of the evaluation control on the virtual resource operation interface and display the evaluation interface.

[0081] Understandably, the first area of ​​the virtual resource operation interface can display multiple virtual resources, such as multiple clothing appearance resources. Players can perform display operations on the service appearance resources displayed on the virtual resource operation interface, such as clicking, double-clicking, and dragging. The target service appearance resource currently selected by the player from multiple service appearance resources can then be displayed in a preset area of ​​the virtual resource operation interface. At the same time, evaluation controls can also be displayed in the preset area of ​​the virtual resource operation interface.

[0082] The evaluation control can be displayed in a relevant area of ​​a preset area on the virtual resource operation interface. Players can perform actions such as clicking or double-clicking the evaluation control to display the evaluation interface. Players can input their perception information about the appearance of the virtual resource currently displayed in the preset area of ​​the virtual resource operation interface on the evaluation interface, so that the terminal device can obtain the evaluation result corresponding to the virtual resource.

[0083] S502, respond to the editing operation on the evaluation interface, and obtain the evaluation result of the current virtual resource displayed in the preset area of ​​the virtual resource operation interface.

[0084] Here, the current virtual resource is any one of multiple virtual resources. It is understandable that the same player can evaluate different virtual resources, and different players can also evaluate different virtual resources. Therefore, the terminal device can obtain multiple evaluation results for multiple virtual resources. Simultaneously, it can also obtain the corresponding evaluation results for virtual resources from other modules with appearance evaluation functions. In other words, the storage device can collect multiple evaluation results for multiple virtual resources.

[0085] As described above, the virtual resource selected by the player is currently displayed in a preset area (such as the central area) of the virtual resource operation interface. The selected virtual resource can also be customized, such as adjusting its color or changing the position of accessories. Players can trigger the evaluation control to rate the style of the virtual resource displayed in the preset area of ​​the interface through the displayed evaluation interface. For example, by inputting an evaluation result, the current evaluation result and the corresponding virtual resource can be associated and stored on the relevant storage device.

[0086] The evaluation results may include style information, such as cute, handsome, shy, etc.

[0087] As can be seen, displaying evaluation controls on the virtual resource operation interface allows players to directly trigger these controls and evaluate the style of the virtual resources through the evaluation interface. This enables players to directly evaluate virtual resources on the game platform to which the virtual resource operation interface belongs, thereby increasing player engagement with the game.

[0088] Optionally, a rating view control can be displayed in a preset area of ​​the virtual resource operation interface. When a target user wants to purchase the virtual resource currently displayed on the interface, the terminal device can respond to the user's triggering action on the rating view control, and then retrieve the corresponding historical rating results based on the identifier of the currently displayed virtual resource, displaying these historical rating results on the graphical user interface. This allows the target player to directly determine whether to purchase the currently displayed virtual resource based on the rating results displayed on the graphical user interface, avoiding the need for players to access third-party platforms outside the game to obtain appearance suggestions, matching information, etc.

[0089] Optionally, the above-mentioned response to editing operations on the evaluation interface to obtain the evaluation result of the current virtual resource displayed in the preset area of ​​the virtual resource operation interface includes: responding to the selection operation of style tags on the evaluation interface to obtain the evaluation result of the current virtual resource, and / or responding to the input operation of style input boxes on the evaluation interface to obtain the evaluation result of the current virtual resource.

[0090] For example, Figure 6 This is a schematic diagram of another virtual resource operation interface provided in an embodiment of this application, such as... Figure 6 The right side of the virtual resource operation interface can display multiple clothing appearance resources, such as clothing appearance resource 1, clothing appearance resource 2, clothing appearance resource 3, and clothing appearance resource 4. If a player performs a display operation on clothing appearance resource 1, such as clicking, double-clicking, or dragging, then clothing appearance resource 1 will be displayed in a preset area (such as the central area) of the virtual resource operation interface. Simultaneously, evaluation controls can be displayed in relevant areas of this preset area. If, when the player triggers the evaluation control, the virtual resource currently displayed in the preset area of ​​the virtual resource operation interface is clothing appearance resource 1, and virtual character A is currently equipped with clothing appearance resource 1, the player double-clicks the evaluation control, highlighting the evaluation interface. The player can then perform editing operations on the evaluation interface, such as inputting their perception of the appearance of the currently displayed virtual resource. The terminal device can then collect the evaluation results of the currently displayed virtual resource.

[0091] The editing operations include at least one of the following: triggering the style tags displayed on the evaluation interface, inputting into the input boxes displayed on the evaluation interface, and triggering the voice control displayed on the evaluation interface.

[0092] like Figure 6The evaluation interface includes style tags, a style input box, and a voice control, allowing players to choose the appropriate method to evaluate virtual resources based on their needs. For example, players can select the desired style tag from the style tags, such as shy or handsome, or enter style text in the input box. It should be noted that this application does not limit the specific style tags used.

[0093] Optionally, the above-mentioned construction of training samples based on multiple evaluation results of each virtual resource includes: extracting features from multiple evaluation results of each virtual resource based on a pre-built style keyword library to obtain style evaluation features of each virtual resource; and constructing training samples based on the labels of each virtual resource as training samples and the style evaluation features of each virtual resource as features of training samples.

[0094] The evaluation results may include style tags, style text information, and style speech information. Therefore, style tags can be directly used as style features, and style keyword libraries can be used to extract features from style text information and the text information converted from style speech information to obtain style features.

[0095] This section uses the style text information corresponding to the virtual resource as an example for explanation. First, the style text information can be segmented to obtain multiple words. Then, each word is matched with the style features included in the style keyword library. Target words are selected from the multiple words and are called the style evaluation features of the virtual resource. It should be noted that this application does not limit the number of style evaluation features of the same virtual resource.

[0096] After obtaining the style evaluation features of multiple virtual resources, a training sample can be constructed by selecting the style evaluation features of multiple preset virtual resources according to the training requirements. The selected virtual resources are used as the labels of the training samples, and the style evaluation features of the selected virtual resources are used as the features of the training samples. The constructed training samples are input into the initial virtual resource recommendation model, where the features in the training samples are used as the input of the initial virtual resource recommendation model and the labels are used as the output of the initial virtual resource recommendation model for training. When the training stopping condition is met, the target virtual resource prediction model is obtained.

[0097] It is worth noting that over time, the style evaluation features of virtual resources will gradually increase, and the weights of these style evaluation features may change for the same virtual resource. For example, suppose that based on the number of evaluations for virtual resource A and its current style evaluation features, the weights of each style feature can be determined as follows: Cute (weight 0.6), Lively (weight 0.2), Fresh (weight 0.2). If a player evaluates virtual resource A as "So cute! So sweet!", then the newly added style evaluation features for virtual resource A are identified as "Cute, Sweet". Therefore, the style evaluation features and their corresponding weights for virtual resource A can be as follows: Cute (weight 0.61), Lively (weight 0.19), Fresh (weight 0.19), Sweet (0.01). This allows the initial virtual resource recommendation model to fully learn the styles of various virtual resources, thereby improving the accuracy of the trained target virtual resource recommendation model. This ensures that when using the target virtual recommendation model to push virtual resources, the recommended virtual resources to the target players are more closely matched to the target users.

[0098] Figure 7 This is a schematic diagram of the structure of a virtual resource processing device provided in an embodiment of this application. Figure 7 As shown, the device includes:

[0099] Display module 701 is used to respond to the trigger operation of the style requirement control on the virtual resource operation interface and display the style requirement information collection interface.

[0100] The acquisition module 702 is used to respond to the editing operation of the style requirement information collection interface and acquire style requirement information;

[0101] The push module 703 is used to push virtual resources on the graphical user interface based on style requirement information and a pre-trained target virtual resource recommendation model.

[0102] Optionally, module 702 is specifically used to respond to the selection operation of style tags on the style requirement information collection interface and obtain style requirement information.

[0103] Optionally, module 702 is specifically used to respond to input operations on the style input box on the style requirement information collection interface and obtain style requirement information.

[0104] Optionally, the push module 703 is specifically used to extract features from style demand information based on a pre-built style keyword library to obtain at least one style demand feature; input each style demand feature into the target virtual resource recommendation model to obtain the virtual resource to be pushed; and push the virtual resource to be pushed on the graphical user interface.

[0105] Optionally, the push module 703 is specifically used to sort the multiple virtual resources to be pushed according to the degree of association between each virtual resource to be pushed and the target user, so as to obtain a sequence of virtual resources to be displayed; and to display the sequence of virtual resources to be displayed on the virtual resource push interface.

[0106] Optionally, the device further includes: a training module;

[0107] This training module is used to obtain multiple evaluation results for multiple virtual resources; construct training samples based on the multiple evaluation results for each virtual resource; and input the training samples into the initial virtual resource recommendation model to train and obtain the target virtual resource recommendation model.

[0108] Optionally, the training module is also used to respond to the trigger operation of the evaluation control on the virtual resource operation interface, display the evaluation interface; respond to the editing operation of the evaluation interface, and obtain the evaluation result of the current virtual resource displayed in the preset area of ​​the virtual resource operation interface, wherein the current virtual resource is any one of multiple virtual resources.

[0109] Optionally, the training module is also used to respond to the selection of style tags on the evaluation interface and obtain the evaluation result of the current virtual resource.

[0110] Optionally, the training module is also used to respond to input operations on the style input box on the evaluation interface and obtain the evaluation result of the current virtual resource.

[0111] Optionally, the training module is also used to extract features from multiple evaluation results of each virtual resource based on a pre-built style keyword library to obtain style evaluation features of each virtual resource; and to construct training samples based on the labels of each virtual resource as training samples and the style evaluation features of each virtual resource as training samples.

[0112] The above-described device is used to execute the method provided in the foregoing embodiments, and its implementation principle and technical effect are similar, so they will not be described again here.

[0113] These modules can be one or more integrated circuits configured to implement the above methods, such as one or more Application Specific Integrated Circuits (ASICs), one or more Digital Signal Processors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs). Alternatively, when a module is implemented using processing element scheduler code, the processing element can be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. Furthermore, these modules can be integrated together as a system-on-a-chip (SoC).

[0114] Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application, such as... Figure 8 As shown, the electronic device may include: a processor 801, a storage medium 802, and a bus 803. The storage medium 802 stores machine-readable instructions executable by the processor 801. When the electronic device is running, the processor 801 communicates with the storage medium 802 via the bus 803. The processor 801 executes the machine-readable instructions to perform the following steps:

[0115] In one feasible implementation, when the processor 801 executes the virtual resource processing method, it is specifically used to: respond to the trigger operation of the style requirement control on the virtual resource operation interface and display the style requirement information collection interface; respond to the editing operation of the style requirement information collection interface and obtain style requirement information; and push virtual resources on the graphical user interface according to the style requirement information and the pre-trained target virtual resource recommendation model.

[0116] In one feasible implementation, when executing the virtual resource processing method, the processor 801 is specifically used to: respond to the selection operation of the style tag on the style requirement information collection interface and obtain style requirement information.

[0117] In one feasible implementation, when executing the virtual resource processing method, the processor 801 is specifically used to: respond to the input operation of the style input box on the style requirement information collection interface and obtain style requirement information.

[0118] In one feasible implementation, when the processor 801 executes the virtual resource processing method, it is specifically used to: extract features from style requirement information based on a pre-built style keyword library to obtain at least one style requirement feature; input each style requirement feature into the target virtual resource recommendation model to obtain the virtual resource to be pushed; and push the virtual resource to be pushed on the graphical user interface.

[0119] In one feasible implementation, when the processor 801 executes the virtual resource processing method, it specifically performs the following: if there are multiple virtual resources to be pushed, it sorts the multiple virtual resources to be pushed according to the degree of association between each virtual resource to be pushed and the target user, and obtains a sequence of virtual resources to be displayed; and displays the sequence of virtual resources to be displayed on the virtual resource push interface.

[0120] In one feasible implementation, when executing the virtual resource processing method, the processor 801 is specifically used to: obtain multiple evaluation results of multiple virtual resources; construct training samples based on the multiple evaluation results of each virtual resource; and input the training samples into the initial virtual resource recommendation model to train and obtain the target virtual resource recommendation model.

[0121] In one feasible implementation, when the processor 801 executes the virtual resource processing method, it is specifically used to: respond to the trigger operation of the evaluation control on the virtual resource operation interface and display the evaluation interface; respond to the editing operation of the evaluation interface and obtain the evaluation result of the current virtual resource displayed in the preset area of ​​the virtual resource operation interface, wherein the current virtual resource is any one of multiple virtual resources.

[0122] In one feasible implementation, when executing the virtual resource processing method, the processor 801 is specifically used to: respond to the selection operation of the style tag on the evaluation interface and obtain the evaluation result of the current virtual resource.

[0123] In one feasible implementation, when executing the virtual resource processing method, the processor 801 is specifically used to: respond to the input operation of the style input box on the evaluation interface and obtain the evaluation result of the current virtual resource.

[0124] In one feasible implementation, when executing the virtual resource processing method, the processor 801 is specifically used to: extract features from multiple evaluation results of each virtual resource based on a pre-built style keyword library to obtain style evaluation features of each virtual resource; and construct training samples based on the labels of each virtual resource as training samples and the style evaluation features of each virtual resource as training samples.

[0125] Optionally, this application also provides a computer-readable storage medium storing a computer program. When the computer program is run by a processor, the processor performs the following steps:

[0126] In one feasible implementation, when the processor executes the virtual resource processing method, it is specifically used to: respond to the trigger operation of the style requirement control on the virtual resource operation interface and display the style requirement information collection interface; respond to the editing operation of the style requirement information collection interface and obtain style requirement information; and push virtual resources on the graphical user interface according to the style requirement information and the pre-trained target virtual resource recommendation model.

[0127] In one feasible implementation, when the processor executes the virtual resource processing method, it is specifically used to: respond to the selection operation of style tags on the style requirement information collection interface and obtain style requirement information.

[0128] In one feasible implementation, when the processor executes the virtual resource processing method, it is specifically used to: respond to input operations on the style input box on the style requirement information collection interface and obtain style requirement information.

[0129] In one feasible implementation, when the processor executes the virtual resource processing method, it specifically performs the following: extracts features from style requirement information based on a pre-built style keyword library to obtain at least one style requirement feature; inputs each style requirement feature into a target virtual resource recommendation model to obtain the virtual resource to be pushed; and pushes the virtual resource to be pushed on the graphical user interface.

[0130] In one feasible implementation, when the processor executes the virtual resource processing method, it specifically performs the following: if there are multiple virtual resources to be pushed, it sorts the multiple virtual resources to be pushed according to the degree of association between each virtual resource to be pushed and the target user, and obtains a sequence of virtual resources to be displayed; and displays the sequence of virtual resources to be displayed on the virtual resource push interface.

[0131] In one feasible implementation, when the processor executes the virtual resource processing method, it is specifically used to: obtain multiple evaluation results of multiple virtual resources; construct training samples based on the multiple evaluation results of each virtual resource; and input the training samples into the initial virtual resource recommendation model to train and obtain the target virtual resource recommendation model.

[0132] In one feasible implementation, when the processor executes the virtual resource processing method, it is specifically used to: respond to the trigger operation of the evaluation control on the virtual resource operation interface and display the evaluation interface; respond to the editing operation of the evaluation interface and obtain the evaluation result of the current virtual resource displayed in the preset area of ​​the virtual resource operation interface, wherein the current virtual resource is any one of multiple virtual resources.

[0133] In one feasible implementation, when the processor executes the virtual resource processing method, it is specifically used to: respond to the selection operation of style tags on the evaluation interface and obtain the evaluation result of the current virtual resource.

[0134] In one feasible implementation, when the processor executes the virtual resource processing method, it is specifically used to: respond to the input operation of the style input box on the evaluation interface and obtain the evaluation result of the current virtual resource.

[0135] In one feasible implementation, when the processor executes the virtual resource processing method, it is specifically used to: extract features from multiple evaluation results of each virtual resource based on a pre-built style keyword library to obtain style evaluation features of each virtual resource; and construct training samples based on the labels of each virtual resource as training samples and the style evaluation features of each virtual resource as training samples.

[0136] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0137] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0138] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in a combination of hardware and software functional units.

[0139] The integrated units implemented as software functional units described above can be stored in a computer-readable storage medium. These software functional units, stored in a storage medium, include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute some steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0140] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0141] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations are possible for those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application. It should be noted that similar reference numerals and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need further definition and explanation in subsequent figures. The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations are possible for those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A method for processing virtual resources, characterized in that, The method includes providing a graphical user interface for a game via a terminal device, wherein the graphical user interface displays a virtual resource operation interface for the game. In response to the triggering operation of the style requirement control on the virtual resource operation interface, the style requirement information collection interface is displayed; In response to the editing operation of the style requirement information collection interface, style requirement information is obtained; Based on the style requirement information and the pre-trained target virtual resource recommendation model, virtual resources are pushed on the graphical user interface. Before pushing virtual resources on the graphical user interface based on the style requirement information and the pre-trained target virtual resource recommendation model, the method further includes: Obtain multiple evaluation results for multiple virtual resources; Training samples are constructed based on multiple evaluation results of each virtual resource. The training samples are input into the initial virtual resource recommendation model to train the target virtual resource recommendation model.

2. The method according to claim 1, characterized in that, The response to the editing operation of the style requirement information collection interface, obtaining style requirement information, includes: In response to the selection of style tags on the style requirement information collection interface, the style requirement information is obtained.

3. The method according to claim 1, characterized in that, The response to the editing operation of the style requirement information collection interface, obtaining style requirement information, includes: In response to inputting into the style input box on the style requirement information collection interface, the style requirement information is obtained.

4. The method according to claim 1, characterized in that, The step of pushing virtual resources on the graphical user interface based on the style requirement information and a pre-trained target virtual resource recommendation model includes: Based on a pre-built style keyword library, feature extraction is performed on the style requirement information to obtain at least one style requirement feature; The style requirement features are input into the target virtual resource recommendation model to obtain the virtual resources to be pushed. The virtual resource to be pushed is pushed on the graphical user interface.

5. The method according to claim 4, characterized in that, The step of pushing the virtual resource to be pushed on the graphical user interface includes: If there are multiple virtual resources to be pushed, then the multiple virtual resources to be pushed are sorted according to the degree of association between each virtual resource to be pushed and the target user, to obtain a sequence of virtual resources to be displayed. The sequence of virtual resources to be displayed is shown on the virtual resource push interface.

6. The method according to claim 1, characterized in that, The acquisition of multiple evaluation results for multiple virtual resources includes: In response to a trigger operation on the evaluation control on the virtual resource operation interface, the evaluation interface is displayed; In response to the editing operation of the evaluation interface, the evaluation result of the current virtual resource displayed in the preset area of ​​the virtual resource operation interface is obtained, wherein the current virtual resource is any one of the plurality of virtual resources.

7. The method according to claim 6, characterized in that, The response to the editing operation of the evaluation interface, obtaining the evaluation result of the current virtual resource displayed in a preset area of ​​the virtual resource operation interface, includes: In response to the selection of style tags on the evaluation interface, the evaluation result of the current virtual resource is obtained.

8. The method according to claim 6, characterized in that, The response to the editing operation of the evaluation interface, obtaining the evaluation result of the current virtual resource displayed in a preset area of ​​the virtual resource operation interface, includes: In response to input to the style input box on the evaluation interface, the evaluation result of the current virtual resource is obtained.

9. The method according to claim 1, characterized in that, The step of constructing training samples based on multiple evaluation results of each virtual resource includes: Based on a pre-built style keyword library, feature extraction is performed on multiple evaluation results of each virtual resource to obtain the style evaluation features of each virtual resource; The training samples are constructed by using the labels of each virtual resource as training samples and the style evaluation features of each virtual resource as training samples.

10. A virtual resource processing device, characterized in that, The device provides a graphical user interface for a game via a terminal device, wherein the graphical user interface displays a virtual resource operation interface for the game, and the device includes: The display module is used to respond to the trigger operation of the style requirement control on the virtual resource operation interface and display the style requirement information collection interface. The acquisition module is used to respond to the editing operation of the style requirement information collection interface and acquire style requirement information; The push module is used to push virtual resources on the graphical user interface based on the style requirement information and the pre-trained target virtual resource recommendation model. The device further includes: a training module; The training module is used to obtain multiple evaluation results of multiple virtual resources; construct training samples based on the multiple evaluation results of each virtual resource; and input the training samples into the initial virtual resource recommendation model to train and obtain the target virtual resource recommendation model.

11. An electronic device, characterized in that, include: The device includes a processor, a storage medium, and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the steps of the virtual resource processing method as described in any one of claims 1-9.

12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, performs the steps of the virtual resource processing method as described in any one of claims 1-9.

Citation Information

Patent Citations

  • Method, device and equipment for recommending virtual ornament in game and medium

    CN116173512A

  • Online ecosystem-based resource recommendations

    US20180157981A1