Game content recommendation method and device, equipment and storage medium
By obtaining user history and current game data, and using pre-trained models to recommend game content, it solves the problem of real-time and personalization of recommended content in large-scale online games and improves user experience.
Patent Information
- Application Number
- CN202410804911.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2024-10-15
AI Technical Summary
In large-scale online games, how to recommend game content that meets real-time needs and personalized preferences for users, so as to not only meet the real-time needs of users when gaming, but also comply with user preferences.
Using the page processing method, by obtaining the user's historical game data and current game data, using the pre-trained game preference prediction model and game content recommendation model, combined with the user's game preferences and current game data, it recommends matching game content. The method includes obtaining the user's historical game data, determining the user's game preference, obtaining current game data, and using the game content recommendation model to recommend game content that matches the user's current network delay and game mode under the prompts of the game preference, and based on the user's current network delay and game mode. Feedback for model fine-tuning.
It realizes that while meeting the real-time needs of users, it also recommends game content that meets user preferences and improves user experience.
Smart Images

Figure CN118767439A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a method, device, equipment and storage medium for recommending game content. Background Art
[0002] With the development of science and technology, various games emerge in an endless stream. In the field of game development, especially in large-scale online games, on the one hand, since large-scale online games focus on the real-time nature of the game, when recommending game content to users, the recommended game content should meet the real-time needs of users when playing games, that is, it is necessary to recommend game content that meets the user's needs at the current moment as the user's game progresses. On the other hand, since different users have different preferences for game content, it is also crucial to recommend game content that meets the user's preferences. Therefore, how to make the game content recommended to users meet the user's real-time needs when playing games while also meeting the user's preferences is an important issue.
[0003] Based on this, this specification provides a method for recommending game content. Summary of the invention
[0004] This specification provides a method, device, equipment and storage medium for game content recommendation to partially solve the above-mentioned problems existing in the prior art.
[0005] This manual adopts the following technical solutions:
[0006] This specification provides a page processing method, wherein the page processing model includes: a preference prediction network and a style prediction network; the method includes:
[0007] Get the user's historical game data;
[0008] Determining the game preference of the user according to the historical game data;
[0009] Obtaining the current game data of the user;
[0010] According to the game preference and the current game data, a game content recommendation model is used to enable the game content recommendation model to determine the game content recommended for the user under the prompt of the game preference; wherein the game content recommendation model is pre-trained based on a game preference sample, a first game data sample and a game content label.
[0011] Optionally, determining the game preference of the user according to the historical game data specifically includes:
[0012] The historical game data is input into a game preference prediction model to obtain the game preference of the user output by the game preference prediction model; wherein the game preference prediction model is pre-trained based on the user's second game data sample and the game preference label corresponding to the second game data sample.
[0013] Optionally, according to the game preference and the current game data, a pre-trained game content recommendation model is used so that the game content recommendation model determines the game content recommended for the user under the prompt of the game preference, specifically including:
[0014] splicing the game preference and the current game data to obtain spliced data;
[0015] The spliced data is input into the game content recommendation model, so that the game content recommendation model outputs game content recommended for the user under the prompt of the game preference.
[0016] Optionally, the current game data includes at least one of: a user's current network delay and a user's current game mode.
[0017] Optionally, determining the game content recommended for the user specifically includes:
[0018] According to the game preference and the current game data, a game content recommendation model is used to enable the game content recommendation model to determine the game content that matches the current network delay of the user under the prompt of the game preference and the current game mode of the user;
[0019] According to the determined game content that matches the current network delay of the user and / or the current gaming device of the user, the game content recommended for the user is obtained.
[0020] Optionally, the user's current game mode includes: a player-versus-player mode;
[0021] The game content includes: one of: actively released skills, passively released skills, skills applied to teammates, and skills applied to enemies;
[0022] Determining the game content that matches the current network delay of the user, specifically including:
[0023] When the current network delay of the user is greater than a preset delay threshold, in the current game mode, the skills released passively and / or the skills applied to teammates are used as game content matching the current network delay of the user;
[0024] When the current network delay of the user is not greater than a preset delay threshold, in the current game mode, the skills actively released and / or the skills applied to the enemy are used as game content matching the current network delay of the user.
[0025] Optionally, the method further comprises:
[0026] Get feedback from users;
[0027] According to the feedback information of the user, adjusting the game content recommended for the user based on the game preferences of the user and the current game data;
[0028] The game content recommendation model is fine-tuned according to the adjusted game content recommended for the user based on the user's game preferences and current game data.
[0029] This specification provides a device for game content recommendation, the device comprising:
[0030] The first acquisition module is used to acquire the user's historical game data;
[0031] A preference determination module, used to determine the game preference of the user based on the historical game data;
[0032] A second acquisition module, used to acquire the current game data of the user;
[0033] A content prediction module is used to determine the game content recommended for the user through a game content recommendation model based on the game preference and the current game data, so that the game content recommendation model determines the game content recommended for the user under the prompt of the game preference; wherein the game content recommendation model is pre-trained based on a game preference sample, a first game data sample and a game content label.
[0034] Optionally, the preference determination module is specifically used to input the historical game data into a game preference prediction model to obtain the user's game preference output by the game preference prediction model; wherein the game preference prediction model is pre-trained based on the user's second game data sample and the game preference label corresponding to the second game data sample.
[0035] Optionally, the content prediction module is specifically used to splice the game preference and the current game data to obtain spliced data; input the spliced data into the game content recommendation model, so that the game content recommendation model outputs game content recommended for the user under the prompt of the game preference.
[0036] Optionally, the current game data includes at least one of: a user's current network delay and a user's current game mode.
[0037] Optionally, the content prediction module is specifically used to, based on the game preference and the current game data, use a game content recommendation model so that the game content recommendation model, under the prompt of the game preference, determines the game content that matches the user's current network delay in the user's current game mode; based on the determined game content that matches the user's current network delay and / or the user's current gaming device, obtains the game content recommended for the user.
[0038] Optionally, the user's current game mode includes: a player-versus-player mode;
[0039] The game content includes: one of: actively released skills, passively released skills, skills applied to teammates, and skills applied to enemies;
[0040] The content prediction module is specifically used to, when the current network delay of the user is greater than a preset delay threshold, in the current game mode, use the passively released skills and / or the skills applied to teammates as the game content that matches the current network delay of the user; when the current network delay of the user is not greater than the preset delay threshold, in the current game mode, use the actively released skills and / or the skills applied to the enemy as the game content that matches the current network delay of the user.
[0041] Optionally, the device further comprises a model fine-tuning module;
[0042] The model fine-tuning module is specifically used to obtain user feedback information; adjust the game content recommended for the user based on the user's game preferences and current game data according to the user's feedback information; and fine-tune the game content recommendation model based on the adjusted game content recommended for the user based on the user's game preferences and current game data.
[0043] This specification provides a computer-readable storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the method for recommending game content is implemented.
[0044] This specification provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned method for recommending game content when executing the program.
[0045] At least one of the above technical solutions adopted in this specification can achieve the following beneficial effects:
[0046] In the method for game content recommendation provided in this specification, the user's historical game data is obtained, and the user's game preferences are determined based on the historical game data. Then, the user's current game data can be obtained, and based on the game preferences and current game data, the game content recommendation model is used to determine the game content recommended for the user under the prompt of the game preference. Among them, the game content recommendation model is pre-trained based on the game preference sample, the first game data sample and the game content label. This method uses the user's game preference as a prompt, and combines it with the user's current game data, so that the game content recommendation model predicts the game content recommended for the user. While ensuring that the real-time requirements of the user when playing the game are met, the recommended game content also meets the user's preferences, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] The drawings described herein are used to provide a further understanding of this specification and constitute a part of this specification. The exemplary embodiments and descriptions of this specification are used to explain this specification and do not constitute an improper limitation on this specification.
[0048] In the figure:
[0049] Figure 1 A flowchart of a method for recommending game content in this manual;
[0050] Figure 2 A schematic diagram of a device for recommending game content provided in this specification;
[0051] Figure 3 The corresponding Figure 1 Schematic diagram of electronic equipment. DETAILED DESCRIPTION
[0052] In order to make the purpose, technical solutions and advantages of this specification more clear, the technical solutions of this specification will be clearly and completely described below in combination with the specific embodiments of this specification and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of this specification, not all of them. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this specification.
[0053] In addition, it should be noted that all actions of acquiring signals, information or data in this manual are performed in compliance with the relevant local data protection laws and policies and with the authorization given by the owner of the corresponding device.
[0054] It should be noted that, in the absence of conflict, the features in the following embodiments and implementations may be combined with each other.
[0055] The technical solutions provided by the embodiments of this specification are described in detail below in conjunction with the accompanying drawings.
[0056] Figure 1 This is a flowchart of a method for recommending game content provided in this specification.
[0057] S100: Obtain the user's historical game data.
[0058] S102: Determine the game preference of the user according to the historical game data.
[0059] A method for recommending game content is provided in an embodiment of this specification. The execution process of this method can be executed by a computing device such as a server or terminal for recommending game content. In addition, in the process of executing this method, the pre-trained game preference prediction model and game content recommendation model involved, the computing device for executing the model training of the aforementioned game preference prediction model and game content recommendation model and the computing device for executing this method can be the same or different, and this specification does not limit this. The following takes the execution subject of the method for recommending game content provided in this specification as an example, and describes the specific technical solution.
[0060] In this specification, first, the server can obtain the user's historical game data. Specifically, the server can collect the user's historical game data through the user behavior log in the game. Among them, the historical game data may include: the user's game time, operation records, game mode, etc. Of course, what else the historical game data may include can be preset, and this specification does not specifically limit this.
[0061] In one or more embodiments of the present specification, the server can collect user behavior logs in real time through Fluentd, and can use Kafka to process the collected behavior logs, and then store the behavior logs after the stream processing, such as in the Hadoop Distributed File System (HDFS). Therefore, when it is necessary to obtain the user's historical game data, the user's historical game data can be obtained from the aforementioned storage space such as the distributed file system.
[0062] Furthermore, the server may determine the user's game preferences based on the acquired historical game data of the user. In one or more embodiments of the present specification, the server may input the user's historical game data into a game preference prediction model to obtain the user's game preferences output by the game preference prediction model.
[0063] Among them, the game preference prediction model is pre-trained based on the user's second game data sample and the game preference label corresponding to the second game data sample. Specifically, the server can obtain the second game data sample and the game preference label corresponding to the second game data sample. Then, the second game data sample can be input into the game preference prediction model to be trained to obtain the game preference prediction result output by the game preference prediction model to be trained. Furthermore, based on the difference between the game preference prediction result and the game preference label, the second loss is determined, and the game preference prediction model to be trained is trained based on the second loss. In this way, the trained game preference prediction model has the function of predicting the user's game preference based on the user's game data.
[0064] Among them, the game preference may be the user's preference for game content, and the game content may include game modes, game skills, etc., as long as it is game-related content, this specification does not make specific restrictions. Different users have different preferences for game content, such as some users prefer game mode A, some users prefer game mode B, some users prefer to use game skill 1 in mode A, some users prefer to use game skill 2 in mode A, etc. Therefore, based on the user's historical game data, the user's preferences can be analyzed, and the user's game preferences can be used as a prompt for recommending game content to the user in subsequent steps, so that the predicted game content can meet the user's preferences to a certain extent, thereby improving the user experience.
[0065] S104: Acquire the current game data of the user.
[0066] S106: Based on the game preference and the current game data, a game content recommendation model is used to enable the game content recommendation model to determine the game content recommended for the user under the prompt of the game preference; wherein the game content recommendation model is pre-trained based on the game preference sample, the first game data sample and the game content label.
[0067] In this specification, in order to recommend game content that meets the real-time needs of users, the server can also obtain the user's current game data, which is also real-time game data. Then, the server can use the game content recommendation model to determine the game content recommended for the user based on the game preferences of the user determined in the aforementioned steps S100-S102 and the current game data of the user obtained in step S104, so that the game content recommendation model determines the game content recommended for the user under the prompt of the game preferences.
[0068] Among them, the game content recommendation model is pre-trained based on the game preference sample, the first game data sample and the game content label. Specifically, the server can obtain the first game data sample, and obtain the game content label corresponding to the first game data sample. Then, the first game data sample and the game preference sample can be input into the game content recommendation model to be trained, and the game content recommendation model to be trained outputs the game content prediction result under the prompt of the game preference sample. Then, according to the difference between the game content prediction result and the game content label, the first loss is determined, and according to the first loss, the game content recommendation model to be trained is trained. In this way, the trained game content recommendation model has the function of predicting the user's game recommendation content based on the user's game data under the prompt of the game preference.
[0069] In this specification, the server may splice the game preference and the current game data to obtain the spliced data. Then, the server may input the spliced data into the game content recommendation model, so that the game content recommendation model predicts the game content recommended for the user under the prompt of the game preference. Obviously, under the prompt of the game preference, the game content recommendation model is used to recommend the game content that meets the user's real-time needs to the user, so that the predicted game content not only meets the user's game preference, but also meets the user's real-time needs.
[0070] Among them, the user's current game data may be the historical game data as described in the above step S100, that is, the current game data may include the user's game time, operation records, game mode, etc., and this manual does not limit this.
[0071] In one or more embodiments of this specification, when obtaining the user's current game data, the server may use real-time data transmission technologies such as Apache Kafka and MQTT to obtain the user's current game data in the game. Specifically, the server may use MQTT and Apache Kafka technologies to obtain the user's current game data such as user device status and network delay in real time. By using MQTT and Apache Kafka technologies, the delay in obtaining data is low, ensuring the real-time requirements of the game.
[0072] Based on the above Figure 1In the method for recommending game content, the server may obtain the user's historical game data and determine the user's game preference based on the historical game data. The server may then obtain the user's current game data and determine the game content recommended for the user based on the game preference and the current game data through a game content recommendation model. The game content recommendation model is pre-trained based on the game preference sample, the first game data sample, and the game content label.
[0073] It can be seen that this method uses the user's game preferences as prompts and combines them with the user's current game data to enable the game content recommendation model to predict the game content recommended for the user. While ensuring that the real-time needs of the user when playing the game are met, the recommended game content also meets the user's preferences, thereby improving the user experience.
[0074] Generally, the game mode may include two types, a player-versus-player mode, also known as a PVP mode, and a player-versus-environment mode, also known as a PVE mode. In different game modes, different configuration requirements for the user's game device and different network delay requirements for the user are required. And because the game includes more game skills, different game skills have different requirements for network delay. Therefore, further, in one or more embodiments of the present specification, the current game data may include at least one of the user's current network delay and the user's current game mode. Then in the above step S106, when determining the game content recommended for the user, the server may, based on the game preferences and the current game data, use a game content recommendation model so that the game content recommendation model determines the game content that matches the user's current network delay under the prompt of the game preferences in the user's current game mode. And then, based on the determined current network delay of the user, based on the determined game content that matches the user's current network delay, the recommended game content for the user can be obtained.
[0075] Moreover, in this specification, when the current game mode of the user is a player-versus-player mode, and the game content includes: one of the skills released actively, the skills released passively, the skills applied to teammates, and the skills applied to the enemy, when the server determines the game content that matches the current network delay of the user, specifically, when the server determines that the current network delay of the user is greater than the preset delay threshold, in the current game mode, the skills released passively and / or the skills applied to teammates are used as the game content that matches the current network delay of the user. When the server determines that the current network delay of the user is not greater than the preset delay threshold, in the current game mode, the skills released actively and / or the skills applied to the enemy are used as the game content that matches the current network delay of the user. That is, in the player-versus-player mode, when the user's network delay is high, the skills, props, etc. that are group gains should be recommended to the user first, and the priority of the skills that the user needs to release, the props used, etc. should be reduced, thereby improving the user's game experience. Moreover, the game recommendation content is obtained under the prompt of the user's game preference, so the game recommendation content meets the user's real-time needs while also meeting the user's game preferences.
[0076] In addition, in one or more embodiments of the present specification, in order to improve the accuracy of the game content recommended for the user, the server may also obtain feedback information from the user, which may be the user's evaluation of the preference for the user's game data obtained based on the user's game data, and the evaluation of the game content recommended for the user based on the user's game data under the user's game preferences. Then, the server may adjust the user's game preferences according to the user's feedback information, and adjust the game content recommended for the user under the user's game preferences and the current game data. Finally, the server may fine-tune the game content recommendation model according to the game content recommended for the user under the user's game preferences and the current game data after the adjustment, and the server may fine-tune the preference prediction model according to the adjusted user's game preferences.
[0077] When obtaining user feedback information, the user feedback information may be obtained through electronic questionnaires, telephone surveys, etc., which are not specifically limited in this specification.
[0078] In the above step S106, in one or more embodiments of the present specification, the server may fuse the game preferences of the user and the current game data of the user through the game content recommendation model according to the game preferences and the current game data, so that the game content recommendation model determines the game content recommended for the user under the prompt of the game preferences. In addition to the above splicing as a prompt, the scikit-learn or TensorFlow algorithm may be used to perform data fusion according to the game preferences and the current game data to obtain the fused data, and then the server may input the fused game data into the game content recommendation model to obtain the game content recommended for the user output by the game content recommendation model.
[0079] The above is a method for recommending game content provided by one or more embodiments of this specification. Based on the same idea, this specification also provides a corresponding device for recommending game content, such as Figure 2 shown.
[0080] Figure 2 This is a schematic diagram of a device for game content recommendation provided in this specification, and the device specifically includes:
[0081] The first acquisition module 200 is used to acquire the user's historical game data;
[0082] A preference determination module 202, configured to determine the user's game preference based on the historical game data;
[0083] The second acquisition module 204 is used to acquire the current game data of the user;
[0084] The content prediction module 206 is used to determine the game content recommended for the user through a game content recommendation model based on the game preference and the current game data, so that the game content recommendation model determines the game content recommended for the user under the prompt of the game preference; wherein the game content recommendation model is pre-trained based on the game preference sample, the first game data sample and the game content label.
[0085] Optionally, the preference determination module 202 is specifically used to input the historical game data into a game preference prediction model to obtain the game preference of the user output by the game preference prediction model; wherein the game preference prediction model is pre-trained based on the user's second game data sample and the game preference label corresponding to the second game data sample.
[0086] Optionally, the content prediction module 206 is specifically used to splice the game preference and the current game data to obtain spliced data; input the spliced data into the game content recommendation model, so that the game content recommendation model outputs game content recommended for the user under the prompt of the game preference.
[0087] Optionally, the current game data includes at least one of: a user's current network delay and a user's current game mode.
[0088] Optionally, the content prediction module 206 is specifically used to, based on the game preference and the current game data, use a game content recommendation model so that the game content recommendation model, under the prompt of the game preference, determines the game content that matches the user's current network delay in the user's current game mode; based on the determined game content that matches the user's current network delay and / or the user's current gaming device, obtains the game content recommended for the user.
[0089] Optionally, the user's current game mode includes: a player-versus-player mode;
[0090] The game content includes: one of: actively released skills, passively released skills, skills applied to teammates, and skills applied to enemies;
[0091] The content prediction module 206 is specifically used to, when the current network delay of the user is greater than a preset delay threshold, in the current game mode, use the passively released skills and / or the skills applied to teammates as the game content that matches the current network delay of the user; when the current network delay of the user is not greater than the preset delay threshold, in the current game mode, use the actively released skills and / or the skills applied to the enemy as the game content that matches the current network delay of the user.
[0092] Optionally, the device further includes a model fine-tuning module 208;
[0093] The model fine-tuning module 208 is specifically used to obtain user feedback information; adjust the game content recommended for the user based on the user's game preferences and current game data according to the user's feedback information; and fine-tune the game content recommendation model based on the adjusted game content recommended for the user based on the user's game preferences and current game data.
[0094] This specification also provides a computer-readable storage medium, which stores a computer program, which can be used to execute the above Figure 1 The recommended method for game content is shown.
[0095] This manual also provides Figure 3 The schematic structure diagram of the electronic device shown in FIG. Figure 3 As mentioned above, at the hardware level, the electronic device includes a processor, an internal bus, a network interface, a memory, and a non-volatile memory, and may also include other hardware required for the business. The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it to achieve the above Figure 1 Of course, in addition to the software implementation, this specification does not exclude other implementations, such as logic devices or a combination of software and hardware, etc., that is, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.
[0096] In the 1990s, improvements to a technology could be clearly distinguished as hardware improvements (for example, improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the method flow). However, with the development of technology, many improvements to the method flow today can be regarded as direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement in a method flow cannot be implemented using a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to ask a chip manufacturer to design and produce a dedicated integrated circuit chip. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.
[0097] The controller can be implemented in any appropriate manner, for example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in a purely computer-readable program code manner, the controller can be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, this controller can be considered as a hardware component, and the devices included therein for implementing various functions can also be regarded as structures within the hardware component. Or even, the devices for implementing various functions can be regarded as both software modules for implementing the method and structures within the hardware component.
[0098] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0099] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0100] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems, or computer program products. Therefore, this specification may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0101] This specification is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0102] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0103] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0104] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0105] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0106] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0107] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0108] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems or computer program products. Therefore, this specification may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0109] This specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. This specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0110] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0111] The above description is only an embodiment of the present specification and is not intended to limit the present specification. For those skilled in the art, the present specification may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present specification shall be included in the scope of the claims of the present specification.
Claims
1. A method for recommending game content, characterized in that: The method comprises: Get the user's historical game data; Determining the game preference of the user according to the historical game data; Obtaining the current game data of the user; According to the game preference and the current game data, a game content recommendation model is used to enable the game content recommendation model to determine the game content recommended for the user under the prompt of the game preference; wherein the game content recommendation model is pre-trained based on a game preference sample, a first game data sample and a game content label.
2. The method according to claim 1, characterized in that Determining the game preference of the user according to the historical game data specifically includes: The historical game data is input into a game preference prediction model to obtain the game preference of the user output by the game preference prediction model; wherein the game preference prediction model is pre-trained based on the user's second game data sample and the game preference label corresponding to the second game data sample.
3. The method according to claim 1, characterized in that According to the game preference and the current game data, a pre-trained game content recommendation model is used so that the game content recommendation model determines the game content recommended for the user under the prompt of the game preference, specifically including: splicing the game preference and the current game data to obtain spliced data; The spliced data is input into the game content recommendation model, so that the game content recommendation model outputs game content recommended for the user under the prompt of the game preference.
4. The method according to claim 1, characterized in that The current game data includes at least one of: a user's current network delay and a user's current game mode.
5. The method according to claim 4, characterized in that Determining the game content recommended for the user, specifically including: According to the game preference and the current game data, a game content recommendation model is used to enable the game content recommendation model to determine the game content that matches the current network delay of the user under the prompt of the game preference and the current game mode of the user; According to the determined game content that matches the current network delay of the user, the game content recommended for the user is obtained.
6. The method according to claim 5, characterized in that The user's current game mode includes: a player-versus-player mode; The game content includes: one of: actively released skills, passively released skills, skills applied to teammates, and skills applied to enemies; Determining the game content that matches the current network delay of the user, specifically including: When the current network delay of the user is greater than a preset delay threshold, in the current game mode, the skills released passively and / or the skills applied to teammates are used as game content matching the current network delay of the user; When the current network delay of the user is not greater than a preset delay threshold, in the current game mode, the skills actively released and / or the skills applied to the enemy are used as game content matching the current network delay of the user.
7. The method according to claim 1, characterized in that The method further comprises: Obtain user feedback; According to the feedback information of the user, adjusting the game content recommended for the user based on the game preferences of the user and the current game data; The game content recommendation model is fine-tuned according to the adjusted game content recommended for the user based on the user's game preferences and current game data.
8. A device for recommending game content, characterized in that: The device comprises: The first acquisition module is used to acquire the user's historical game data; A preference determination module, used to determine the game preference of the user based on the historical game data; A second acquisition module, used to acquire the current game data of the user; A content prediction module is used to determine the game content recommended for the user through a game content recommendation model based on the game preference and the current game data, so that the game content recommendation model determines the game content recommended for the user under the prompt of the game preference; wherein the game content recommendation model is pre-trained based on a game preference sample, a first game data sample and a game content label.
9. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 7 is implemented.
