WO2019174144A1 - 游戏中的虚拟人物生成方法、装置、存储介质、计算机设备 - Google Patents

游戏中的虚拟人物生成方法、装置、存储介质、计算机设备 Download PDF

Info

Publication number
WO2019174144A1
WO2019174144A1 PCT/CN2018/091366 CN2018091366W WO2019174144A1 WO 2019174144 A1 WO2019174144 A1 WO 2019174144A1 CN 2018091366 W CN2018091366 W CN 2018091366W WO 2019174144 A1 WO2019174144 A1 WO 2019174144A1
Authority
WO
WIPO (PCT)
Prior art keywords
dna
attribute
game
game player
virtual character
Prior art date
Application number
PCT/CN2018/091366
Other languages
English (en)
French (fr)
Inventor
孙亚洲
陈杰
袁永吉
肖贡
郭雨舜
陈斌
Original Assignee
深圳市达仁基因科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市达仁基因科技有限公司 filed Critical 深圳市达仁基因科技有限公司
Publication of WO2019174144A1 publication Critical patent/WO2019174144A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16BBIOINFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR GENETIC OR PROTEIN-RELATED DATA PROCESSING IN COMPUTATIONAL MOLECULAR BIOLOGY
    • G16B20/00ICT specially adapted for functional genomics or proteomics, e.g. genotype-phenotype associations
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/60Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor
    • A63F13/65Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor automatically by game devices or servers from real world data, e.g. measurement in live racing competition
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/70Game security or game management aspects
    • A63F13/79Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/50Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
    • A63F2300/55Details of game data or player data management
    • A63F2300/5546Details of game data or player data management using player registration data, e.g. identification, account, preferences, game history
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/60Methods for processing data by generating or executing the game program

Definitions

  • the present application relates to the field of computer technology, and in particular, to a method, an apparatus, a storage medium, and a computer device for generating a virtual character in a game.
  • a virtual character refers to a character that does not exist in reality. It can exist in creative works such as TV dramas, comics, and games. It is a fictional character in creative works such as TV dramas, comics, and games.
  • the game player can create and set a personalized virtual character by directly adjusting the parameters of the virtual character in the game, using the human face image or the whole body image, or data collected by the 3D scanner.
  • current technologies make the appearance, capabilities, background and other attributes of virtual characters in games (including applications such as online games, social games, social applications, and virtual reality applications) less relevant to game players and cannot be well reflected. The real individual differences of the game players, so they can't really resonate with the gamers.
  • a method for generating a virtual character in a game comprising:
  • DNA DNA attribute of the game player being a genetic property obtained according to DNA data of the game player
  • a virtual character corresponding to the game player is generated in the game scene based on the attribute of the virtual character corresponding to the game player.
  • the method further includes:
  • mapping relationship between the DNA attribute and the virtual character attribute in the game is generated, including:
  • the obtaining a game player's DNA attributes includes:
  • the DNA attribute of the game player corresponding to the DNA sample is obtained based on the mutation information of the genomic data of the DNA sample.
  • the method includes:
  • the DNA attribute of the game player corresponding to the DNA sample is obtained based on the mutation information of the genomic data after the mutation.
  • the random or directional mutation of the genomic data of the DNA sample comprises:
  • the genomic data of the DNA sample is subjected to a random mutation or a directed mutation, which includes a game player upgrade or a performance improvement of the game player.
  • a virtual character generating device in a game comprising:
  • a game player's DNA attribute acquisition module for acquiring a DNA DNA attribute of the game player, the DNA attribute being a genetic attribute obtained according to the game player's DNA data;
  • An attribute configuration module of the virtual character configured to configure a property of the virtual character corresponding to the game player according to a mapping relationship between the DNA attribute of the game player and a virtual character attribute in the game according to a pre-established DNA attribute, and obtain the The attribute of the virtual character corresponding to the game player
  • the virtual character generating module is configured to generate a virtual character corresponding to the game player in the game scene according to an attribute of the virtual character corresponding to the game player.
  • the apparatus further includes:
  • a mapping relationship between the DNA attribute and the virtual character attribute is used to establish a mapping relationship between the DNA attribute and the virtual character attribute in the game.
  • a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements the following steps:
  • DNA DNA attribute of the game player being a genetic property obtained according to DNA data of the game player
  • a virtual character corresponding to the game player is generated in the game scene based on the attribute of the virtual character corresponding to the game player.
  • a computer device comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, the processor performing the following steps when executing the computer program:
  • DNA DNA attribute of the game player being a genetic property obtained according to DNA data of the game player
  • a virtual character corresponding to the game player is generated in the game scene based on the attribute of the virtual character corresponding to the game player.
  • the avatar generation method, apparatus, storage medium, and computer device in the above game acquire the DNA attribute of the game player, and the DNA attribute is a genetic attribute obtained based on the DNA data of the game player.
  • the game player's DNA attribute is configured according to the mapping relationship between the pre-established DNA attribute and the virtual character attribute in the game, and the attribute of the virtual character corresponding to the game player is configured to obtain the attribute of the virtual character corresponding to the game player.
  • This associates the game player's DNA attributes with the attributes of the virtual characters in the game, so that the attributes of the virtual characters reflect the DNA attributes of the game player.
  • a virtual character corresponding to the game player is generated in the game.
  • the avatar thus generated can reflect the individual differences of the game players and truly resonate with the game players.
  • FIG. 1 is an application environment diagram of a method for generating a virtual character in a game in an embodiment
  • Figure 2 is a diagram showing the internal structure of a server in an embodiment
  • FIG. 3 is a flow chart of a method for generating a virtual character in a game in an embodiment
  • FIG. 4 is a flow chart of a method for generating a virtual character in a game in another embodiment
  • FIG. 5 is a flow chart showing a manner of generating a mapping relationship between a DNA attribute and a virtual character attribute in a game in an embodiment
  • FIG. 6 is a flow chart of the method for obtaining a DNA attribute of a game player in FIG. 3;
  • FIG. 7 is a flowchart of a method for generating a virtual character in a game in still another embodiment
  • FIG. 8 is a schematic structural diagram of a virtual character generating device in a game in an embodiment
  • FIG. 9 is a schematic structural diagram of a virtual character generating device in a game in still another embodiment.
  • FIG. 10 is a schematic structural diagram of a DNA attribute acquisition module of the game player in FIG. 8.
  • the virtual character generation method in the game provided by the embodiment of the present application can be applied to the environment as shown in FIG. 1.
  • terminal 102 is connected to server 104 via a network.
  • a computer device which may be a server, and its internal structure diagram may be as shown in FIG. 2.
  • the computer device includes a processor, memory, network interface, and database connected by a system bus.
  • the processor of the computer device is used to provide computing and control capabilities.
  • the memory of the computer device includes a non-volatile storage medium, an internal memory.
  • the non-volatile storage medium stores an operating system, a computer program, and a database.
  • the internal memory provides an environment for operation of an operating system and computer programs in a non-volatile storage medium.
  • the database of the computer device is used to store reference genome data, a mapping relationship between pre-established DNA attributes and virtual character attributes in the game.
  • the network interface of the computer device is used to communicate with an external terminal via a network connection.
  • the computer program is executed by the processor to implement a virtual character generation method in the game.
  • a method for generating a virtual character in a game is provided.
  • the method is applied to the server in FIG. 1 as an example, and includes:
  • step 320 the DNA DNA attribute of the game player is obtained, and the DNA attribute is a genetic attribute obtained according to the DNA data of the game player.
  • DNA deoxyribonucleic acid
  • DNA also known as DNA
  • the main function is information storage, which can be compared to a "blueprint” or "recipe".
  • the instructions contained therein are required to construct other compounds in the cell, such as proteins and ribonucleic acids.
  • a DNA fragment with a protein encoding is called a gene.
  • the gene consists of DNA (deoxyribonucleic acid) in the nucleus of the human body, and the unpredictable sequence of genes determines the genetic variation of humans.
  • the DNA sample of the game player is acquired, and the DNA sample of the game player is detected to obtain the genomic data of the DNA sample.
  • the genomic data of the DNA sample is aligned with the reference genomic data in the reference database to obtain mutation information of the genomic data of the DNA sample.
  • the DNA attribute of the game player corresponding to the DNA sample is obtained based on the mutation information of the genomic data of the DNA sample.
  • the DNA attribute is a genetic attribute obtained from the DNA data of the game player, such as gender information, ethnic information, age information, height information, weight information, skin color information, and the like.
  • Step 340 the game player's DNA attribute is configured according to the mapping relationship between the pre-established DNA attribute and the virtual character attribute in the game, and the attribute of the virtual character corresponding to the game player is configured to obtain the attribute of the virtual character corresponding to the game player.
  • a mapping relationship between the DNA attribute and the virtual character attribute in the game is established in advance, and the mapping relationship is stored in the database. For example, if the gender information in the DNA attribute of the obtained game player is male, the gender attribute of the virtual character in the game is preset to be a male; the height information in the DNA attribute of the obtained game player is 160 cm to Between 175 cm, the height of the virtual character in the game is preset from 230 cm to 270 cm. A mapping relationship with the attributes of the virtual characters in the game is established for each acquired DNA attribute.
  • the game player's DNA attribute is configured according to the mapping relationship between the pre-established DNA attribute and the virtual character attribute in the game, and the attribute of the virtual character corresponding to the game player is configured, for example, the virtual character corresponding to the game player is configured according to the gender information in the DNA attribute.
  • the gender attribute; the ethnic attribute of the virtual character corresponding to the game player is configured according to the ethnic information in the DNA attribute; the height attribute of the virtual character corresponding to the game player is correspondingly configured according to the height information in the DNA attribute;
  • the multiple genetic properties of the virtual characters are configured. After the configuration is completed, all genetic attributes of the avatar corresponding to the game player are obtained.
  • Step 360 Generate a virtual character corresponding to the game player in the game scene according to the attribute of the virtual character corresponding to the game player.
  • all genetic attributes of the virtual character corresponding to the game player are obtained.
  • virtual characters can be generated from all the genetic attributes of the virtual character. For example, according to various genetic attributes such as gender, ethnicity, age, height, weight, and skin color of the virtual character, a virtual character having the above genetic property is generated in the game scene, and the virtual character is displayed in the game as a game. The virtual character corresponding to the player.
  • the DNA attribute of the game player is obtained, and the DNA attribute is a genetic attribute obtained according to the DNA data of the game player.
  • the game player's DNA attribute is configured according to the mapping relationship between the pre-established DNA attribute and the virtual character attribute in the game, and the attribute of the virtual character corresponding to the game player is configured to obtain the attribute of the virtual character corresponding to the game player.
  • This associates the game player's DNA attributes with the attributes of the virtual characters in the game, so that the attributes of the virtual characters reflect the DNA attributes of the game player.
  • a virtual character corresponding to the game player is generated in the game. The avatar thus generated can reflect the individual differences of the game players and truly resonate with the game players.
  • the method for generating a virtual character in a game further includes:
  • Step 330 establishing a mapping relationship between the DNA attribute and the virtual character attribute in the game.
  • the virtual character attribute in the game is searched for the corresponding DNA attribute according to a preset rule, and then the mapping relationship between the DNA attribute and the virtual character attribute in the game is established, and the mapping relationship specifically includes a mapping function.
  • the virtual character attribute refers to some adjustable parameters corresponding to the design rules of the virtual characters in the game, such as character height, gender, skin color, weight, body fat content, eye color, attack power, defense power, virtual race, special skills. Wait.
  • determining various parameters that can be adjusted such as the character height, gender, skin color, weight, Body fat content, eye color, attack power, defense, virtual race, special skills, etc.
  • the corresponding parameters can be adjusted, and the corresponding closest DNA attributes are found according to the preset rules.
  • the mapping relationship between these DNA attributes and the virtual character attributes in the game is established directly according to the preset rules.
  • some parameters of the virtual character in the game do not necessarily have a real DNA attribute corresponding to it.
  • the “attack power” and “defense power” of a avatar do not have a DNA attribute of “attack force” or “defense power”.
  • the mapping relationship between the DNA attribute and the virtual character attribute in the game is established in advance, that is, the mapping rule corresponding to setting the DNA attribute and the virtual character attribute in the game. Therefore, as long as the DNA attribute of the game player is obtained, the attribute of the virtual character in the game can be obtained according to this mapping rule.
  • the virtual characters can be generated according to the acquired attributes of the virtual characters in the game.
  • the generated virtual character has some attribute information corresponding to the game player, so that since the generated virtual character reflects the individual difference of the game player, it can truly resonate with the game player.
  • mapping relationship between the DNA attribute and the virtual character attribute in the game is generated, including:
  • Step 510 Search for the corresponding DNA attribute according to a preset rule for the virtual character attribute in the game.
  • the mapping relationship between these DNA attributes and the virtual character attributes in the game is directly established.
  • some parameters of the virtual character in the game do not necessarily have a real DNA attribute corresponding to it.
  • the “attack power” and “defense power” of a avatar do not have a DNA attribute of “attack force” or “defense power”.
  • the design parameters such as “attack force” and “defense power” of the avatar can be matched with the real DNA attributes of the game player such as “endurance”. Or correspond to "metabolism rate” and the like. Determine the correspondence between each DNA attribute and the avatar attribute and form a corresponding rule.
  • the corresponding virtual attribute of the game is searched for the corresponding DNA attribute according to a preset rule.
  • Step 520 establishing a mapping relationship between the DNA attribute and the virtual character attribute in the game.
  • a mapping relationship between the DNA attribute and the virtual character attribute in the game is established, and the mapping relationship specifically includes a mapping function.
  • the mapping function may be a simple discrete data association mapping, for example, a class-to-class correspondence. For example, if the DNA attribute detected by the game player DNA is male, then the gender in the virtual character attribute is set to be male. Or the DNA attribute detected by the game player DNA is Han Chinese in northern China, then the racial characteristics of the virtual character can also be set to a certain race in the game (such as Han or a other virtual race). This virtual race can be a race that does not exist in real life.
  • the mapping function can also be a mathematically related mapping (such as a formula), such as DNA detection for the game player that the player's height is between 160 cm and 175 cm, and the corresponding virtual character is 230 cm tall. Up to 270 cm, the game player's true height and the height of the avatar are converted by a formula.
  • the mapping function may also be a probability relation map (probability distribution function), for example, performing DNA detection on the game player to detect that the game player has strong cardiopulmonary function, and accordingly the game player obtains physical fitness in the battle scene of the game. The probability of special items will increase.
  • the mapping function can also be a complex mapping relationship, for example, DNA detection can predict the possible appearance of a certain age group of the game player, the appearance can be mapped to the appearance of the characters in the game, and then the game obtained by the DNA detection data The actual appearance of the player establishes the appearance of the corresponding game character.
  • mapping relationship between the DNA attribute and the virtual character attribute in the game when establishing a mapping relationship between the DNA attribute and the virtual character attribute in the game, first, all the DNA attributes obtained by performing DNA detection on the game player must be generated with the virtual character corresponding to the game player to be generated. The attributes correspond. After the correspondence is formed, the corresponding DNA attribute is searched according to the preset rule for the virtual character attribute in the game according to the corresponding rule. Then, a mapping relationship between the DNA attribute and the virtual character attribute in the game is established, and the mapping relationship specifically includes a mapping function. The correspondence between the DNA attribute and the virtual character attribute in the game is quantized, that is, the attribute of the virtual character can be obtained through the mapping function. In this way, it is possible to restore the game player with higher accuracy on the virtual character according to the DNA attribute of the game player, so that the virtual character can truly resonate with the game player.
  • step 320 obtains the DNA attributes of the game player, including:
  • step 322 a DNA sample of the game player is obtained.
  • the DNA sample can be blood, saliva, skin, nails, hair, body fluids, oral mucosal cells, epithelial cells, etc. Any sample containing DNA or nucleic acid that belongs to the game player.
  • the collection container can be a collection tube containing a DNA stabilizer, a capture card or other DNA collector. The collection container protects the DNA in the sample, and the collection container has an identifier that can be used to clarify the correlation between the sample and the user of the player. After the collection container has collected the game player's DNA sample, the collection container containing the game player's DNA sample is submitted or delivered to the system-designated DNA testing laboratory.
  • step 324 the DNA sample of the game player is detected to obtain the genomic data of the DNA sample.
  • step 326 the genomic data of the DNA sample is aligned with the reference genomic data in the reference database to obtain mutation information of the genomic data of the DNA sample.
  • DNA sequencing DNA sequencing, or translation of DNA sequencing
  • A adenine
  • T thymine
  • C cytosine
  • G guanine
  • the gene chip is a micro-processing technology that regularly arranges tens of thousands or even millions of specific DNA fragments (gene probes) in a small volume (for example, 2 cm 2 ).
  • a gene chip On a support such as a slide, a two-dimensional array of DNA probes, which is very similar to an electronic chip on an electronic computer, is called a gene chip.
  • the system obtains the genomic data of the sample provided by the player by comparing the game player's DNA raw data with a reference database or a data set, wherein the DNA raw data includes the DNA sequencing or the DNA chip obtained by the above-mentioned DNA sequencing or DNA chip respectively. Chip data. Because raw DNA sequencing or chip data is often incomplete or contains errors, it is often necessary to obtain more complete and more reliable processed genomic data by means of genome assembly or alignment.
  • the specific method may be: if the original DNA data is sequencing data, the original sequencing data may be sequenced. There are two specific sequence stitching methods:
  • no reference sequence splicing that is, according to the original DNA sequencing data, analyze each sequencing sequence segment (ie read) in the data set, and then pass the method such as Overlap-Layout-Consensus (OLC), String Graph method, or De Bruijn Graph method.
  • OLC Overlap-Layout-Consensus
  • SAC Overlap-Layout-Consensus
  • String Graph method String Graph method
  • De Bruijn Graph method De Bruijn Graph method.
  • each sequencing sequence fragment (ie, read) in the original DNA sequencing data is located in the reference sequence, and the positioning method is based on the sequence fragment and the reference.
  • the similarity of a certain region of the sequence is greater than a certain threshold value, and the genomic information of the sample is determined by the positioning information of the sequenced fragments.
  • the uniqueness of the DNA sample is found by comparing the genomic information of the sample with the reference genome in the reference database or the data set, and further obtaining its uniqueness.
  • the positional information of the mutation and the nature of the mutation for example, the base of the 3,500th reference genome of chromosome 1 is A, and the base of the sample DNA is G). If the raw data of the DNA is chip data, the positional information and the mutation property of the unique mutation can be obtained by comparing with the probe information of the chip.
  • Step 328 obtaining the DNA attribute of the game player corresponding to the DNA sample based on the mutation information of the genomic data of the DNA sample.
  • the professional reference database or data set stores the positional information of the unique mutation of DNA, the correspondence between the mutation property and the true genetic property.
  • the DNA sample of the game player is collected by the collection container, and the DNA sample is sent to the DNA testing laboratory.
  • the DNA sequence or chip data of the game player is obtained by DNA sequencing or DNA chip.
  • the gamer's DNA raw sequencing or chip data is obtained by comparing it with a reference database or data set to obtain the location information and mutation properties of its unique mutation.
  • the location information and mutation properties of the unique mutations of the game player's DNA samples are compared to a professional reference database or data set to obtain the DNA properties of the samples provided by the game player. Thereby, the process of accurately obtaining the game player DNA attribute based on the game player's DNA sample is realized.
  • the method includes:
  • step 720 the genomic data of the DNA sample is mutated.
  • the genomic data of the acquired DNA sample of the game player may also be subjected to probabilistic mutation or directed mutation.
  • the probabilistic mutation is a random mutation of the genomic data according to the finite parameter probability model.
  • the directional mutation can be based on the preset mutation mode (such as directed point mutation, insertion deletion mutation, or structural mutation). Mutation of one or more positions or regions, or according to a pre-defined parameter, a narrow probability distribution, a greatly reduced randomness, a more probabilistic probability model for one or more locations of the genomic data Or the region is mutated.
  • the trigger condition refers to some special trigger conditions inside the game, including game player upgrades or game player performance enhancements, for example, game players pick up special treasures, experience special events or game players purchase special upgrade packages.
  • the system sets the mutational mutation period T and the mutation rate R according to the needs of a specific game. Where R can be a matrix representing the probability of mutation of one base in the DNA data to another base. For example, the mutation rate R matrix can be:
  • a in the above table refers to adenine; T: refers to thymine; C: refers to cytosine; G: refers to guanine.
  • r C ⁇ A 0.001 means that the mutation rate of cytosine C mutation to adenine A (i.e., the probability of mutation in one cycle) is 0.001, and so on.
  • the genomic data of the acquired DNA sample of the game player may also be subjected to a probabilistic mutation or a directional mutation, wherein the probabilistic mutation or the directional mutation may be mutated according to the DNA mutation matrix-R matrix.
  • the parameter setting of the R matrix will determine whether it is a probabilistic mutation or a directed mutation, as well as the directionality of the mutation.
  • the R matrix can be set to a real DNA mutation matrix that matches the actual situation, or it can be an arbitrary mutation matrix that is preset according to the game requirements. When a single mutation rate R is used, R represents the probability of mutation from any base to another different base.
  • the R matrix may also include an insertion mutation or a deletion mutation, wherein the insertion mutation rate or the deletion mutation rate may be a real DNA insertion mutation rate or a deletion mutation rate, or may be an arbitrarily set DNA insertion mutation rate or deletion. Mutation rate.
  • the insertion mutation refers to the insertion of one or more bases when the DNA is mutated, that is, one or more bases.
  • a deletion mutation refers to the deletion of one or more bases when the DNA is mutated, that is, one or more bases are missing.
  • step 740 the genomic data after the mutation is obtained.
  • the system mutates the genomic data of the game player according to the preset mutation period T and the mutation rate R described above.
  • T the game player's genomic data will be changed by a random probabilistic simulation according to the rate matrix R. The actual changes made in each round will be retained until the next round.
  • a total of T (mutation cycle) rounds will be performed. After the T (mutation cycle) round was performed, the genomic data after the mutation was obtained.
  • Step 760 Perform sequence alignment on the genomic data after the mutation and the reference genomic data in the reference database to obtain mutation information of the genomic data after the mutation.
  • the mutated genomic data can be used as sample genomic information to be aligned (ie, for example, the spliced sample genomic information in step 326), so that the genomic data after the mutation can be compared with the reference genome in the reference database or data set.
  • the uniqueness of the DNA sample after the mutation is found, and the positional information and mutational properties of the unique mutation are further obtained (for example, the base of the 3,500th reference genome of chromosome 1 is A, and the base of the sample DNA is G) .
  • the genomic data after the mutation is chip data
  • the positional information and the mutation property of the unique mutation can be obtained by comparing with the probe information of the chip.
  • step 780 the DNA attribute of the game player corresponding to the DNA sample is obtained based on the mutation information of the genomic data after the mutation.
  • the positional information and the mutation property of the unique mutation of the genomic data after the mutation are compared with a professional reference database or data set to obtain the genetic property of the genomic data after the mutation, and the genetic property is the DNA of the game player. Attributes such as gender, population or ethnicity, the likelihood of height and weight, and the likelihood of various other signs. Among them, the professional reference database or data set stores the positional information of the unique mutation of DNA, the correspondence between the mutation property and the true genetic property.
  • the genomic data of the game player DNA sample is acquired, the genomic data is randomly simulated and mutated according to the probabilistic model of the tunable parameter, so that the genomic data of the game player can be randomly changed, which can be realized.
  • the difference between the virtual characters and the game players in the game ensures that the virtual characters are different from the game players to a certain extent to increase the playability and unpredictability of the game.
  • the user or the game system can not only select probabilistically, but also directionally mutate the genomic data to change one or several DNA attributes currently used by the user. Make the game's playability and unpredictability further increase.
  • an in-game virtual character generating device 800 is also provided, the device comprising:
  • a game player's DNA attribute acquisition module 802 configured to acquire a DNA DNA attribute of the game player, and the DNA attribute is a genetic attribute obtained according to the game player's DNA data;
  • the attribute configuration module 804 of the virtual character is configured to configure the attribute of the virtual character corresponding to the game player according to the mapping relationship between the pre-established DNA attribute and the virtual character attribute in the game, and obtain the virtual corresponding to the game player.
  • Character attribute
  • the virtual character generation module 806 is configured to generate a virtual character corresponding to the game player in the game scene according to the attribute of the virtual character corresponding to the game player.
  • the in-game virtual character generating apparatus 800 further includes:
  • the mapping relationship between the DNA attribute and the virtual character attribute building module 803 is used to establish a mapping relationship between the DNA attribute and the virtual character attribute in the game.
  • the mapping relationship between the DNA attribute and the virtual character attribute in the game includes: searching for the corresponding DNA attribute according to a preset rule for the virtual character attribute in the game; establishing a mapping between the DNA attribute and the virtual character attribute in the game relationship.
  • the game player's DNA attribute acquisition module 802 includes
  • a DNA sample acquisition module 802a for acquiring a DNA sample of a game player
  • the genomic data obtaining module 802b is configured to detect a DNA sample of the game player and obtain genomic data of the DNA sample;
  • the mutation information obtaining module 802c of the genomic data is configured to sequence the genomic data of the DNA sample and the reference genomic data in the reference database to obtain mutation information of the genomic data of the DNA sample;
  • the DNA attribute acquisition module 802d is configured to obtain a DNA attribute of the game player corresponding to the DNA sample based on the mutation information of the genomic data of the DNA sample.
  • an in-game virtual character generating apparatus further includes: a genomic data mutation module for mutating genomic data of a DNA sample; obtaining mutated genomic data; and mutating the genome
  • the data is sequence-aligned with the reference genomic data in the reference database to obtain mutation information of the genomic data after the mutation; and the DNA attribute of the game player corresponding to the DNA sample is obtained according to the mutation information of the genomic data after the mutation.
  • the genomic data mutation module is further configured to mutate the genomic data of the DNA sample when the trigger condition is met, the trigger condition including a game player upgrade or a performance improvement of the game player.
  • a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements the steps of: obtaining a DNA DNA property of a game player, the DNA attribute being a game according to the game
  • the genetic property obtained by the player's DNA data; the game player's DNA attribute is configured according to the mapping relationship between the pre-established DNA attribute and the virtual character attribute in the game, and the attribute of the virtual character corresponding to the game player is configured to obtain the corresponding game player.
  • the attribute of the virtual character; the virtual character corresponding to the game player is generated in the game scene according to the attribute of the virtual character corresponding to the game player.
  • the following steps are further implemented: establishing a mapping relationship between the DNA attribute and the virtual character attribute in the game.
  • the following steps are further implemented: searching for the corresponding DNA attribute according to a preset rule for the virtual character attribute in the game; and establishing a mapping relationship between the DNA attribute and the virtual character attribute in the game.
  • the following steps are further performed: acquiring a DNA sample of the game player; detecting a DNA sample of the game player, obtaining genomic data of the DNA sample; and genomic data of the DNA sample and reference
  • the reference genomic data in the database is subjected to sequence alignment to obtain mutation information of the genomic data of the DNA sample; and the DNA information of the game player corresponding to the DNA sample is obtained based on the mutation information of the genomic data of the DNA sample.
  • the computer program described above is further executed by the processor to: mutate the genomic data of the DNA sample; obtain the genomic data after the mutation; and convert the genomic data after the mutation with the reference genome in the reference database
  • the data is subjected to sequence alignment to obtain mutation information of the genomic data after the mutation; and the DNA attribute of the game player corresponding to the DNA sample is obtained based on the mutation information of the genomic data after the mutation.
  • the computer program described above when executed by the processor, further implements the step of mutating the genomic data of the DNA sample when the trigger condition is met, the triggering conditions including game player upgrades or performance improvement of the game player.
  • a computer device comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, the processor executing the computer program to: obtain the deoxygenation of the game player
  • the ribonucleic acid DNA attribute is a genetic attribute obtained according to the DNA data of the game player
  • the virtual attribute of the game player is configured according to the mapping relationship between the pre-established DNA attribute and the virtual character attribute in the game, and the virtual corresponding to the game player is configured.
  • the attribute of the character obtains the attribute of the virtual character corresponding to the game player; and the virtual character corresponding to the game player is generated in the game scene according to the attribute of the virtual character corresponding to the game player.
  • the processor when executing the computer program, further implements the steps of establishing a mapping relationship between the DNA attributes and the virtual character attributes in the game.
  • the processor executes the computer program, the following steps are further performed: searching for the corresponding DNA attribute according to a preset rule for the virtual character attribute in the game; and establishing a mapping relationship between the DNA attribute and the virtual character attribute in the game.
  • the processor executes the computer program, the following steps are further performed: acquiring a DNA sample of the game player; detecting the DNA sample of the game player, obtaining genomic data of the DNA sample; and genomic data of the DNA sample and the reference database
  • the reference genomic data in the sequence is subjected to sequence alignment to obtain mutation information of the genomic data of the DNA sample; and the DNA information of the game player corresponding to the DNA sample is obtained based on the mutation information of the genomic data of the DNA sample.
  • the processor executes the computer program to perform the following steps: mutating the genomic data of the DNA sample; obtaining the genomic data after the mutation; and using the genomic data after the mutation and the reference genomic data in the reference database
  • the sequence alignment is performed to obtain mutation information of the genomic data after the mutation; and the DNA attribute of the game player corresponding to the DNA sample is obtained based on the mutation information of the genomic data after the mutation.
  • the processor when executing the computer program, further implements the step of mutating the genomic data of the DNA sample when the trigger condition is met, the triggering conditions including game player upgrades or performance improvement of the game player.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Genetics & Genomics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Computer Security & Cryptography (AREA)
  • Biophysics (AREA)
  • Business, Economics & Management (AREA)
  • Molecular Biology (AREA)
  • Proteomics, Peptides & Aminoacids (AREA)
  • General Business, Economics & Management (AREA)
  • Biotechnology (AREA)
  • Evolutionary Biology (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Processing Or Creating Images (AREA)

Abstract

一种游戏中的虚拟人物生成方法、装置、存储介质和计算机设备。其中的方法包括:获取游戏玩家的DNA属性,DNA属性为根据游戏玩家的DNA数据所获得的遗传学属性;按照预先建立的DNA属性与游戏中虚拟人物属性的映射关系,配置与游戏玩家对应的虚拟人物的属性。通过将游戏玩家的DNA属性与游戏中虚拟人物的属性进行关联,使得虚拟人物的属性能够反映游戏玩家的DNA属性,从而使得虚拟人物可以反映玩家的个体差异。

Description

游戏中的虚拟人物生成方法、装置、存储介质、计算机设备
相关申请的交叉引用
本申请要求于2018年03月13日提交中国专利局,申请号为201810205058.8,发明名称为“游戏中的虚拟人物生成方法、装置、存储介质、计算机设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及计算机技术领域,特别是涉及一种游戏中的虚拟人物生成方法、装置、存储介质、计算机设备。
背景技术
虚拟人物指在现实中不存在的人物,它可以存在于电视剧、漫画、游戏等创作性作品中,是在电视剧、漫画、游戏等创作性作品中虚构的人物。在游戏玩家玩游戏的过程中,游戏玩家可以通过直接调节游戏中的虚拟人物的参数、使用人物脸部图像或全身图像、或3D扫描仪所采集的数据来创建和设置个性化的虚拟人物。但是当前的技术让游戏(包括例如网络游戏、社交游戏、社交应用、以及虚拟现实应用等应用)中虚拟人物的外观、能力、背景等属性与游戏玩家的相关性较低,无法很好地反映游戏玩家的真实个体差异,因此无法与游戏玩家真正地引起共鸣。
发明内容
基于此,有必要针对上述技术问题,提供一种能够生成与游戏玩家相关性较高、能够引起游戏玩家共鸣的游戏中的虚拟人物生成方法、装置、存储介质、计算机设备。
一种游戏中的虚拟人物生成方法,所述方法包括:
获取游戏玩家的脱氧核糖核酸DNA属性,所述DNA属性为根据所述游戏玩家的DNA数据所获得的遗传学属性;
将所述游戏玩家的DNA属性按照预先建立的DNA属性与游戏中虚拟人物属性的映射关系,配置与所述游戏玩家对应的虚拟人物的属性,获得与所述游戏玩家对应的虚拟人物的属性;
根据与所述游戏玩家对应的虚拟人物的属性,在游戏场景中生成与所述游戏玩家对应的虚拟人物。
在其中一个实施例中,所述方法还包括:
建立DNA属性与游戏中虚拟人物属性的映射关系。
在其中一个实施例中,所述DNA属性与游戏中虚拟人物属性的映射关系的生成方式,包括:
对游戏中虚拟人物属性按照预设规则查找对应的DNA属性;
建立所述DNA属性与游戏中虚拟人物属性的映射关系。
在其中一个实施例中,所述获取游戏玩家的DNA属性,包括:
获取游戏玩家的DNA样本;
对所述游戏玩家的DNA样本进行检测,获取所述DNA样本的基因组数据;
将所述DNA样本的基因组数据与参考数据库中的参考基因组数据进行序列比对,获取所述DNA样本的基因组数据的突变信息;
根据所述DNA样本的基因组数据的突变信息得到与所述DNA样本对应的游戏玩家的DNA属性。
在其中一个实施例中,在所述对所述游戏玩家的DNA样本进行检测,获取所述DNA样本的基因组数据之后,包括:
对所述DNA样本的基因组数据进行突变;
获取经过突变之后的基因组数据;
将所述经过突变之后的基因组数据与参考数据库中的参考基因组数据进行序列比对,获取所述经过突变之后的基因组数据的突变信息;
根据所述经过突变之后的基因组数据的突变信息得到与所述DNA样本对应的游戏玩家的DNA属性。
在其中一个实施例中,所述对所述DNA样本的基因组数据进行随机突变或定向突变,包括:
当满足触发条件时,对所述DNA样本的基因组数据进行随机突变或定向突变,所述触发条件包括游戏玩家升级或游戏玩家的性能提升。
一种游戏中的虚拟人物生成装置,所述装置包括:
游戏玩家的DNA属性获取模块,用于获取游戏玩家的脱氧核糖核酸DNA属性,所述DNA属性为根据所述游戏玩家的DNA数据所获得的遗传学属性;
虚拟人物的属性配置模块,用于将所述游戏玩家的DNA属性按照预先建立的DNA属性与游戏中虚拟人物属性的映射关系,配置与所述游戏玩家对应的虚拟人物的属性,获得与所述游戏玩家对应的虚拟人物的属性
虚拟人物生成模块,用于根据与所述游戏玩家对应的虚拟人物的属性,在游戏场景中生成与所述游戏玩家对应的虚拟人物。
在其中一个实施例中,所述装置还包括:
DNA属性与虚拟人物属性的映射关系建立模块,用于建立DNA属性与游戏中虚拟人物属性的映射关系。
一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现以下步骤:
获取游戏玩家的脱氧核糖核酸DNA属性,所述DNA属性为根据所述游戏玩家的DNA数据所获得的遗传学属性;
将所述游戏玩家的DNA属性按照预先建立的DNA属性与游戏中虚拟人物属性的映射关系,配置与所述游戏玩家对应的虚拟人物的属性,获得与所述游戏玩家对应的虚拟人物的属性;
根据与所述游戏玩家对应的虚拟人物的属性,在游戏场景中生成与所述游戏玩家对应的虚拟人物。
一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行计算机程序时实现以下步骤:
获取游戏玩家的脱氧核糖核酸DNA属性,所述DNA属性为根据所述游戏玩家的DNA数据所获得的遗传学属性;
将所述游戏玩家的DNA属性按照预先建立的DNA属性与游戏中虚拟人物属性的映射关系,配置与所述游戏玩家对应的虚拟人物的属性,获得与所述游戏玩家对应的虚拟人物的属性;
根据与所述游戏玩家对应的虚拟人物的属性,在游戏场景中生成与所述游戏玩家对应的虚拟人物。
上述游戏中的虚拟人物生成方法、装置、存储介质、计算机设备,获取游戏玩家的DNA属性,DNA属性为根据游戏玩家的DNA数据所获得的遗传学属性。将游戏玩家的DNA属性按照预先建立的DNA属性与游戏中虚拟人物属性的映射关系,配置与游戏玩家对应的虚拟人物的属性,获得与游戏玩家对应的虚拟人物的属性。这样就将游戏玩家的DNA属性与游戏中虚拟人物的属性进行了关联,使得虚拟人物的属性能够反映游戏玩家的DNA属性。再进一步根据与游戏玩家对应的虚拟人物的属性,在游戏中生成与游戏玩家对应的虚拟人物。这样所生成的虚拟人物就可以反映游戏玩家的个体差异,与游戏玩家真正地引起共鸣。
附图说明
图1为一个实施例中游戏中的虚拟人物生成方法的应用环境图;
图2为一个实施例中服务器的内部结构图;
图3为一个实施例中游戏中的虚拟人物生成方法的流程图;
图4为另一个实施例中游戏中的虚拟人物生成方法的流程图;
图5为一个实施例中DNA属性与游戏中虚拟人物属性的映射关系的生成方式的流程图;
图6为图3中获取游戏玩家的DNA属性方法的流程图;
图7为再一个实施例中游戏中的虚拟人物生成方法的流程图;
图8为一个实施例中游戏中的虚拟人物生成装置的结构示意图;
图9为又一个实施例中游戏中的虚拟人物生成装置的结构示意图;
图10为图8中游戏玩家的DNA属性获取模块的结构示意图。
具体实施方式
为使本申请的上述目的、特征和优点能够更加明显易懂,下面结合附图对本申请的具体实施方式做详细的说明。在下面的描述中阐述了很多具体细节以便于充分理解本申请。但是本申请能够以很多不同于在此描述的其它方式来实施,本领域技术人员可以在不违背本申请内涵的情况下做类似改进,因此本申请不受下面公开的具体实施的限制。
除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本文中在本申请的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本申请。以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。
本申请实施例提供的游戏中的虚拟人物生成方法可应用于如图1所示的环境中。参考图1所示,终端102通过网络与服务器104连接。
在一个实施例中,提供了一种计算机设备,该计算机设备可以是服务器,其内部结构图可以如图2所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口和数据库。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统、计算机程序和数据库。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的数据库用于存储参考基因组数据、预先建立的DNA属性与游戏中虚拟人物属性的映射关系。该计算机设备的网络接口用于与外部的终端通过网络连 接通信。该计算机程序被处理器执行时以实现一种游戏中的虚拟人物生成方法。
在一个实施例中,如图3所示,提供了一种游戏中的虚拟人物生成方法,以该方法应用于图1中的服务器为例进行说明,包括:
步骤320,获取游戏玩家的脱氧核糖核酸DNA属性,DNA属性为根据游戏玩家的DNA数据所获得的遗传学属性。
获取游戏玩家的真实DNA属性,其中DNA(deoxyribonucleic acid)是指脱氧核糖核酸又称去氧核糖核酸,是一种生物大分子,可组成遗传指令,引导生物发育与生命机能运作。主要功能是信息储存,可比喻为“蓝图”或“食谱”。其中包含的指令,是建构细胞内其他的化合物,如蛋白质与核糖核酸所需。带有蛋白质编码的DNA片段称为基因。基因由人体细胞核内的DNA(脱氧核糖核酸)组成,变幻莫测的基因排序决定了人类的遗传变异特性。
具体地,获取游戏玩家的DNA样本,对游戏玩家的DNA样本进行检测,获取DNA样本的基因组数据。将DNA样本的基因组数据与参考数据库中的参考基因组数据进行序列比对,获取DNA样本的基因组数据的突变信息。根据DNA样本的基因组数据的突变信息得到与DNA样本对应的游戏玩家的DNA属性。DNA属性为根据游戏玩家的DNA数据所获得的遗传学属性,例如性别信息、民族信息、年龄信息、身高信息、体重信息、肤色信息等多种遗传学属性。
步骤340,将游戏玩家的DNA属性按照预先建立的DNA属性与游戏中虚拟人物属性的映射关系,配置与游戏玩家对应的虚拟人物的属性,获得与游戏玩家对应的虚拟人物的属性。
预先建立了DNA属性与游戏中虚拟人物属性的映射关系,并将该映射关系存储在数据库中。例如,上述获取到的游戏玩家的DNA属性中的性别信息为男性,则预先设定游戏中虚拟人物的性别属性就为男性;上述获取到的游戏玩家的DNA属性中的身高信息为160厘米至175厘米之间,则预先设定游戏中虚拟人物的身高为230厘米到270厘米。对每一个获取的DNA属性都建 立这样的与游戏中虚拟人物属性的映射关系。
将游戏玩家的DNA属性按照预先建立的DNA属性与游戏中虚拟人物属性的映射关系,配置与游戏玩家对应的虚拟人物的属性,例如根据DNA属性中的性别信息相应配置与游戏玩家对应的虚拟人物的性别属性;根据DNA属性中的民族信息相应配置与游戏玩家对应的虚拟人物的民族属性;根据DNA属性中的身高信息相应配置与游戏玩家对应的虚拟人物的身高属性;以此类推完成对游戏中虚拟人物的多种遗传学属性进行配置。在配置完成之后,获得与游戏玩家对应的虚拟人物的所有遗传学属性。
步骤360,根据与游戏玩家对应的虚拟人物的属性,在游戏场景中生成与游戏玩家对应的虚拟人物。
具体地,在配置完成之后,获得与游戏玩家对应的虚拟人物的所有遗传学属性。然后就可以在游戏场景中根据虚拟人物的所有遗传学属性生成虚拟人物。例如,根据虚拟人物的性别、民族、年龄、身高、体重、肤色等多种遗传学属性,综合起来在游戏场景中生成具有上述遗传学属性的虚拟人物,将虚拟人物展示在游戏中作为与游戏玩家对应的虚拟人物。
本实施例中,获取游戏玩家的DNA属性,DNA属性为根据游戏玩家的DNA数据所获得的遗传学属性。将游戏玩家的DNA属性按照预先建立的DNA属性与游戏中虚拟人物属性的映射关系,配置与游戏玩家对应的虚拟人物的属性,获得与游戏玩家对应的虚拟人物的属性。这样就将游戏玩家的DNA属性与游戏中虚拟人物的属性进行了关联,使得虚拟人物的属性能够反映游戏玩家的DNA属性。再进一步根据与游戏玩家对应的虚拟人物的属性,在游戏中生成与游戏玩家对应的虚拟人物。这样所生成的虚拟人物就可以反映游戏玩家的个体差异,与游戏玩家真正地引起共鸣。
在一个实施例中,如图4所示,提供了一种游戏中的虚拟人物生成方法还包括:
步骤330,建立DNA属性与游戏中虚拟人物属性的映射关系。
对游戏中虚拟人物属性按照预设规则查找对应的DNA属性,再建立 DNA属性与游戏中虚拟人物属性的映射关系,该映射关系具体包括映射函数。虚拟人物属性指的是游戏中的虚拟人物的设计规则对应的一些可以调节的参数,例如人物身高、性别、肤色、体重、体脂含量、眼睛颜色、攻击力、防御力、虚拟种族、特殊技能等。在建立DNA属性与游戏中虚拟人物属性的映射函数时,具体地,根据一款游戏中的虚拟人物的设计规则,确定其各个可以调节设定的参数,例如人物身高、性别、肤色、体重、体脂含量、眼睛颜色、攻击力、防御力、虚拟种族、特殊技能等。然后根据该游戏中虚拟人物的各个可以调节设定的参数,按照预设规则找到相对应的最接近的DNA属性。具体地,对于虚拟人物的设计参数“身高”、“性别”等与游戏玩家的DNA属性有直接对应的关系,就直接按照预设规则建立这些DNA属性与游戏中虚拟人物属性的映射关系。但是游戏中虚拟人物部分参数不一定会有一个真实的DNA属性与之相对应。例如一个虚拟人物的“攻击力”和“防御力”,就没有一个“攻击力”或“防御力”的DNA属性。因此,对于虚拟人物的“攻击力”和“防御力”这样的设计参数,就可以按照预设规则与游戏玩家真实的DNA属性如“耐力”或“新陈代谢速率”等进行对应。按照上述的DNA属性与游戏中虚拟人物属性之间的对应关系,对于每一个DNA属性,建立该DNA属性数值对该虚拟人物参数的映射函数。
在本申请实施例中,预先建立了DNA属性与游戏中虚拟人物属性的映射关系,即相当于设置DNA属性与游戏中虚拟人物属性的映射规则。从而只要获取了游戏玩家的DNA属性,那么就可以根据这个映射规则得到游戏中虚拟人物的属性。在获取了游戏中虚拟人物的属性之后,就可以按照所获取的游戏中虚拟人物的属性进行生成虚拟人物。该生成的虚拟人物即具有与游戏玩家相对应的一些属性信息,这样因为所生成的虚拟人物反映了游戏玩家的个体差异,所以就可以与游戏玩家真正地引起共鸣。
在一个实施例中,如图5所示,DNA属性与游戏中虚拟人物属性的映射关系的生成方式,包括:
步骤510,对游戏中虚拟人物属性按照预设规则查找对应的DNA属性。
对游戏中虚拟人物属性按照预设规则找到相对应的最接近的DNA属性。具体地,对于虚拟人物的设计参数“身高”、“性别”等与游戏玩家的DNA属性有直接对应的关系,就直接建立这些DNA属性与游戏中虚拟人物属性的映射关系。但是游戏中虚拟人物部分参数不一定会有一个真实的DNA属性与之相对应。例如一个虚拟人物的“攻击力”和“防御力”,就没有一个“攻击力”或“防御力”的DNA属性。因此,对于虚拟人物的“攻击力”和“防御力”这样的设计参数,就可以将虚拟人物的“攻击力”和“防御力”这样的设计参数与游戏玩家真实的DNA属性如“耐力”或“新陈代谢速率”等进行对应。确定每一个DNA属性与虚拟人物属性之间的对应关系,并形成对应规则。
然后按照预设规则,对游戏中虚拟人物属性按照预设规则查找对应的DNA属性。
步骤520,建立DNA属性与游戏中虚拟人物属性的映射关系。
按照预设规则,对游戏中虚拟人物属性按照预设规则查找对应的DNA属性之后,建立DNA属性与游戏中虚拟人物属性的映射关系,该映射关系具体包括映射函数。该映射函数可以是简单的离散数据关联映射,例如是类对类的对应关系,例如对游戏玩家进行DNA检测出的DNA属性为男性,那么虚拟人物属性中的性别就会被设定为男性,或对游戏玩家进行DNA检测出的DNA属性为中国北方汉族,那么虚拟人物的种族特性也可以被相应地设定成游戏中的某一个种族(例如汉族或一个其他虚拟的种族)。该虚拟的种族可以是现实生活中并不存在的种族。
当然,该映射函数也可以是数学相关映射(例如一个公式),比如对游戏玩家进行DNA检测出该游戏玩家的身高在160厘米至175厘米之间,与之相对应的虚拟人物身高为230厘米到270厘米,游戏玩家的真实身高和虚拟人物的身高之间经过一个公式进行转换。该映射函数也可以是一个概率关系映射(概率分布函数),例如对游戏玩家进行DNA检测,检测出该游戏玩家具有强大的心肺功能,那么相应地游戏玩家在游戏的战斗场景中获得体能相关的特殊物品的概率就会增加。该映射函数也可以是一个复杂的映射关系,例 如通过DNA检测可以预测游戏玩家某一年龄段的可能相貌,该相貌可以与游戏中人物的相貌有一个映射关系,进而通过DNA检测数据得到的游戏玩家的实际相貌建立其相应的游戏人物相貌。
在本申请实施例中,建立DNA属性与游戏中虚拟人物属性的映射关系时,首先必须将对游戏玩家进行DNA检测所获得的所有DNA属性,与所要生成的与该游戏玩家对应的虚拟人物的属性进行对应。在对应之后形成了规则,就按照该对应规则对游戏中虚拟人物属性按照预设规则查找对应的DNA属性。然后再建立DNA属性与游戏中虚拟人物属性的映射关系,该映射关系具体包括映射函数。就将DNA属性与游戏中虚拟人物属性之间的对应关系进行量化,即通过映射函数就可以获取到虚拟人物的属性。如此,便可以实现根据游戏玩家的DNA属性能够在虚拟人物身上准确度较高的还原游戏玩家,从而虚拟人物就可以与游戏玩家真正地引起共鸣。
在一个实施例中,如图6所示,步骤320获取游戏玩家的DNA属性,包括:
步骤322,获取游戏玩家的DNA样本。
DNA样本可以是血液、唾液、皮肤、指甲、头发、体液、口腔黏膜细胞、上皮细胞等任何含有DNA或核酸的,属于游戏玩家的样本。采集容器可以是含有DNA稳定剂的采集管、采集卡或其他DNA采集器。采集容器能够保护样本中的DNA,同时采集容器上有标识,能够用以明确该样本与所属玩家用户的相关关系。在采集容器采集了游戏玩家的DNA样本之后,将包含游戏玩家的DNA样本的采集容器提交或投递到系统指定的DNA检测实验室。
步骤324,对游戏玩家的DNA样本进行检测,获取DNA样本的基因组数据。
步骤326,将DNA样本的基因组数据与参考数据库中的参考基因组数据进行序列比对,获取DNA样本的基因组数据的突变信息。
在DNA检测实验室中,通过DNA测序或DNA芯片的方式,获得该游戏玩家的DNA原始测序或芯片数据。其中,DNA测序(DNA sequencing, 或译DNA定序)是指分析特定DNA片段的碱基序列,也就是腺嘌呤(A)、胸腺嘧啶(T)、胞嘧啶(C)与鸟嘌呤的(G)排列方式。其中,基因芯片是通过微加工技术,将数以万计、乃至百万计的特定序列的DNA片段(基因探针)有规律地排列固定于一个较小体积(例如2平方厘米)的硅片、玻片等支持物上,构成一个二维的DNA探针阵列,与电子计算机上的电子芯片十分相似所以被称为基因芯片。
系统通过将游戏玩家的DNA原始数据与参考数据库或数据集进行比较,获得玩家所提供的样本的基因组数据,其中DNA原始数据包括上述DNA测序或DNA芯片两种方式所分别获得的DNA原始测序或芯片数据。因为DNA原始测序或芯片数据往往是不完整的或含有错误的,因此通常需要通过基因组组装或比对等方法来获得较为完整和较为可信的处理过的基因组数据。
具体的方法可以为:如果DNA原始数据为测序数据,那么可以对原始测序数据进行序列拼接。具体的序列拼接方法可以有两种:
1,无参考序列拼接:即依据DNA原始测序数据,分析该数据集中的各个测序序列片段(即read),然后通过诸如Overlap-Layout-Consensus(OLC)方法,String Graph方法,或De Bruijn Graph方法,将这些序列片段组装成较长的contig(组装群),最终通过测序序列间的其他信息关系(例如成对关系,即paired-end序列中的成对信息)形成Scaffolds,即推断出各个Contigs的前后和DNA正负链的关系。这些Contig和Scaffold信息最终形成拼接后的该样本的基因组信息。
2,有参考序列拼接:即使用一个参考序列(例如人类参考基因组序列),将DNA原始测序数据中的各个测序序列片段(即read)定位到这个参考序列中,定位的方式以序列片段与参考序列的某一个区域的相似性大于某一个阈值为准,通过这些测序序列片段的定位信息,确定出样本的基因组信息。
在通过序列拼接这一步骤,确定了样本的基因组信息之后,再通过将样本的基因组信息与参考数据库或数据集中的参考基因组比对的方式,发现该DNA样本的独特性,并进一步获得其特有突变的位置信息和突变性质(例如 染色体1第3500位参考基因组的碱基为A,样本DNA的碱基为G)。如果DNA原始数据为芯片数据,那么可以通过与芯片的探针信息比对的方式,获得其特有突变的位置信息和突变性质。
步骤328,根据DNA样本的基因组数据的突变信息得到与DNA样本对应的游戏玩家的DNA属性。
将游戏玩家的DNA样本的特有突变的位置信息和突变性质与专业的参考数据库或数据集进行比较,以获得游戏玩家所提供的样本的遗传学属性,遗传学属性即为游戏玩家的DNA属性,例如性别、种群或民族关系、身高及体重的可能性、以及其他各种体征的可能性。其中,专业的参考数据库或数据集中存储了DNA的特有突变的位置信息、突变性质与真实遗传学属性之间的对应关系。
在本申请实施例中,通过采集容器采集游戏玩家的DNA样本,将DNA样本发送至DNA检测实验室。在DNA检测实验室中,对DNA样本通过DNA测序或DNA芯片的方式,获得该游戏玩家的DNA原始测序或芯片数据。将游戏玩家的DNA原始测序或芯片数据通过与参考数据库或数据集进行比对的方式,获得其特有突变的位置信息和突变性质。最后,将游戏玩家的DNA样本的特有突变的位置信息和突变性质与专业的参考数据库或数据集进行比较,以获得游戏玩家所提供的样本的DNA属性。从而,实现了根据游戏玩家的DNA样本准确获得游戏玩家DNA属性的过程。
在一个实施例中,如图7所示,在对游戏玩家的DNA样本进行检测,获取DNA样本的基因组数据之后,包括:
步骤720,对DNA样本的基因组数据进行突变。
当满足触发条件时,也可以对所获取的游戏玩家的DNA样本的基因组数据进行概率性突变或定向性突变。概率性突变即为按照可调参数的概率模型对基因组数据进行随机突变,定向性突变则可以按照预设的突变方式(例如定向的点突变、插入删除突变、或结构突变等),对基因组数据的某一个或几个位置或区域进行突变,或按照一个预先限定好参数的,概率分布较窄的, 随机性大大降低的,突变方向较为明确的概率模型对基因组数据的某一个或几个位置或区域进行突变。触发条件指游戏内部的一些特殊触发条件,包括游戏玩家升级或游戏玩家的性能提升,例如,游戏玩家捡到特殊宝物、经历特殊事件或游戏玩家购买了特殊的升级包。系统根据某一个具体游戏的需求,设置突变的突变周期T和突变速率R。其中,R可以为一个矩阵,代表着DNA数据中某一个碱基突变到另一个碱基的突变概率。例如,突变速率R矩阵可以是:
  A C G T
A r A→A=0.99 r A→C=0.001 r A→G=0.008 r A→T=0.001
C r C→A=0.001 r C→C=0.99 r C→G=0.001 r C→T=0.008
G r G→A=0.008 r G→C=0.001 r G→G=0.99 r G→T=0.001
T r T→A=0.001 r T→C=0.003 r T→G=0.001 r T→T=0.995
其中,上表中的A:指的是腺嘌呤;T:指的是胸腺嘧啶;C:指的是胞嘧啶;G:指的是鸟嘌呤。r C→A=0.001指的是胞嘧啶C突变至腺嘌呤A的突变速率(即一个周期内的突变概率)为0.001,以此类推。
当满足触发条件时,也可以对所获取的游戏玩家的DNA样本的基因组数据进行概率性突变或定向性突变,其中概率性突变或定向性突变可以按照DNA突变矩阵-R矩阵来进行突变,该R矩阵的参数设置将决定是概率性突变或定向性突变,以及突变的方向性。R矩阵的设置可以是符合实际情况的真实DNA突变矩阵,也可以是根据游戏需求任意预先设置的突变矩阵。当使用单一的突变速率R时,R代表着任意一个碱基到另一个不同碱基的突变概率。该R矩阵也可以包括插入突变或删除突变,其中插入突变速率或删除突变速率可以是符合实际情况的真实DNA插入突变速率或删除突变速率,当然也可以是一个任意设置的DNA插入突变速率或删除突变速率。其中,插入突变指的是DNA突变时插入了一个或多个碱基,即为多了一个或多个碱基。删除突变指的是DNA突变时删除了一个或多个碱基,即为少了一个或多个碱基。
步骤740,获取经过突变之后的基因组数据。
系统按照上述预先设置的突变周期T和突变速率R,对游戏玩家的基因组数据进行突变。每一个突变周期T内,游戏玩家的基因组数据将按照速率矩阵R,通过随机地概率性模拟进行更改。每一轮实际发生的更改会保留到下一轮。一共会进行T(突变周期)轮。在进行了T(突变周期)轮之后,即获得了经过突变之后的基因组数据。
步骤760,将经过突变之后的基因组数据与参考数据库中的参考基因组数据进行序列比对,获取经过突变之后的基因组数据的突变信息。
可以把经过突变之后的基因组数据作为待比对的样本基因组信息(即例如步骤326中的拼接后的样本基因组信息),因此可以把突变之后的基因组数据通过与参考数据库或数据集中的参考基因组比对的方式,发现该突变之后的DNA样本的独特性,并进一步获得其特有突变的位置信息和突变性质(例如染色体1第3500位参考基因组的碱基为A,样本DNA的碱基为G)。如果经过突变之后的基因组数据为芯片数据,那么可以通过与芯片的探针信息比对的方式,获得其特有突变的位置信息和突变性质。
步骤780,根据经过突变之后的基因组数据的突变信息得到与DNA样本对应的游戏玩家的DNA属性。
将经过突变之后的基因组数据的特有突变的位置信息和突变性质,与专业的参考数据库或数据集进行比较,以获得经过突变之后的基因组数据的遗传学属性,遗传学属性即为游戏玩家的DNA属性,例如性别、种群或民族关系、身高及体重的可能性、以及其他各种体征的可能性。其中,专业的参考数据库或数据集中存储了DNA的特有突变的位置信息、突变性质与真实遗传学属性之间的对应关系。
在本申请实施例中,在获取了游戏玩家DNA样本的基因组数据之后,通过按可调参数的概率模型对基因组数据进行随机模拟突变,因此,可以对游戏玩家的基因组数据进行随机改变,可以实现一定程度上的游戏中虚拟人物与游戏玩家的差别,确保虚拟人物与游戏玩家一定程度的不同,以增加游戏 的可玩性和不可预测性。同时,在游戏玩家升级或特定触发条件满足时,用户或游戏系统不仅可以选择概率性地,还可以定向性的对基因组数据进行突变,改变用户当前使用的某一种或某几种DNA属性,使游戏的可玩性和不可预测性进一步增加。
在一个实施例中,如图8所示,还提供了一种游戏中的虚拟人物生成装置800,该装置包括:
游戏玩家的DNA属性获取模块802,用于获取游戏玩家的脱氧核糖核酸DNA属性,DNA属性为根据游戏玩家的DNA数据所获得的遗传学属性;
虚拟人物的属性配置模块804,用于将游戏玩家的DNA属性按照预先建立的DNA属性与游戏中虚拟人物属性的映射关系,配置与游戏玩家对应的虚拟人物的属性,获得与游戏玩家对应的虚拟人物的属性
虚拟人物生成模块806,用于根据与游戏玩家对应的虚拟人物的属性,在游戏场景中生成与游戏玩家对应的虚拟人物。
在一个实施例中,如图9所示,提供了一种游戏中的虚拟人物生成装置800还包括:
DNA属性与虚拟人物属性的映射关系建立模块803,用于建立DNA属性与游戏中虚拟人物属性的映射关系。
在一个实施例中,DNA属性与游戏中虚拟人物属性的映射关系的生成方式,包括:对游戏中虚拟人物属性按照预设规则查找对应的DNA属性;建立DNA属性与游戏中虚拟人物属性的映射关系。
在一个实施例中,如图10所示,游戏玩家的DNA属性获取模块802,包括
DNA样本获取模块802a,用于获取游戏玩家的DNA样本;
基因组数据获取模块802b,用于对游戏玩家的DNA样本进行检测,获取DNA样本的基因组数据;
基因组数据的突变信息获取模块802c,用于将DNA样本的基因组数据与参考数据库中的参考基因组数据进行序列比对,获取DNA样本的基因组数 据的突变信息;
DNA属性获取模块802d,用于根据DNA样本的基因组数据的突变信息得到与DNA样本对应的游戏玩家的DNA属性。
在一个实施例中,提供了一种游戏中的虚拟人物生成装置还包括:基因组数据突变模块,用于对DNA样本的基因组数据进行突变;获取经过突变之后的基因组数据;将经过突变之后的基因组数据与参考数据库中的参考基因组数据进行序列比对,获取经过突变之后的基因组数据的突变信息;根据经过突变之后的基因组数据的突变信息得到与DNA样本对应的游戏玩家的DNA属性。
在一个实施例中,基因组数据突变模块,还用于当满足触发条件时,对DNA样本的基因组数据进行突变,触发条件包括游戏玩家升级或游戏玩家的性能提升。
在一个实施例中,还提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现以下步骤:获取游戏玩家的脱氧核糖核酸DNA属性,DNA属性为根据游戏玩家的DNA数据所获得的遗传学属性;将游戏玩家的DNA属性按照预先建立的DNA属性与游戏中虚拟人物属性的映射关系,配置与游戏玩家对应的虚拟人物的属性,获得与游戏玩家对应的虚拟人物的属性;根据与游戏玩家对应的虚拟人物的属性,在游戏场景中生成与游戏玩家对应的虚拟人物。
在一个实施例中,上述计算机程序被处理器执行时还实现以下步骤:建立DNA属性与游戏中虚拟人物属性的映射关系。
在一个实施例中,上述计算机程序被处理器执行时还实现以下步骤:对游戏中虚拟人物属性按照预设规则查找对应的DNA属性;建立DNA属性与游戏中虚拟人物属性的映射关系。
在一个实施例中,上述计算机程序被处理器执行时还实现以下步骤:获取游戏玩家的DNA样本;对游戏玩家的DNA样本进行检测,获取DNA样本的基因组数据;将DNA样本的基因组数据与参考数据库中的参考基因组数 据进行序列比对,获取DNA样本的基因组数据的突变信息;根据DNA样本的基因组数据的突变信息得到与DNA样本对应的游戏玩家的DNA属性。
在一个实施例中,上述计算机程序被处理器执行时还实现以下步骤:对DNA样本的基因组数据进行突变;获取经过突变之后的基因组数据;将经过突变之后的基因组数据与参考数据库中的参考基因组数据进行序列比对,获取经过突变之后的基因组数据的突变信息;根据经过突变之后的基因组数据的突变信息得到与DNA样本对应的游戏玩家的DNA属性。
在一个实施例中,上述计算机程序被处理器执行时还实现以下步骤:当满足触发条件时,对DNA样本的基因组数据进行突变,触发条件包括游戏玩家升级或游戏玩家的性能提升。
在一个实施例中,还提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行计算机程序时实现以下步骤:获取游戏玩家的脱氧核糖核酸DNA属性,DNA属性为根据游戏玩家的DNA数据所获得的遗传学属性;将游戏玩家的DNA属性按照预先建立的DNA属性与游戏中虚拟人物属性的映射关系,配置与游戏玩家对应的虚拟人物的属性,获得与游戏玩家对应的虚拟人物的属性;根据与游戏玩家对应的虚拟人物的属性,在游戏场景中生成与游戏玩家对应的虚拟人物。
在一个实施例中,上述处理器执行计算机程序时还实现以下步骤:建立DNA属性与游戏中虚拟人物属性的映射关系。
在一个实施例中,上述处理器执行计算机程序时还实现以下步骤:对游戏中虚拟人物属性按照预设规则查找对应的DNA属性;建立DNA属性与游戏中虚拟人物属性的映射关系。
在一个实施例中,上述处理器执行计算机程序时还实现以下步骤:获取游戏玩家的DNA样本;对游戏玩家的DNA样本进行检测,获取DNA样本的基因组数据;将DNA样本的基因组数据与参考数据库中的参考基因组数据进行序列比对,获取DNA样本的基因组数据的突变信息;根据DNA样本的基因组数据的突变信息得到与DNA样本对应的游戏玩家的DNA属性。
在一个实施例中,上述处理器执行计算机程序时还实现以下步骤:对DNA样本的基因组数据进行突变;获取经过突变之后的基因组数据;将经过突变之后的基因组数据与参考数据库中的参考基因组数据进行序列比对,获取经过突变之后的基因组数据的突变信息;根据经过突变之后的基因组数据的突变信息得到与DNA样本对应的游戏玩家的DNA属性。
在一个实施例中,上述处理器执行计算机程序时还实现以下步骤:当满足触发条件时,对DNA样本的基因组数据进行突变,触发条件包括游戏玩家升级或游戏玩家的性能提升。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,计算机程序可存储于一非易失性的计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。

Claims (19)

  1. 一种游戏中的虚拟人物生成方法,所述方法包括:
    获取游戏玩家的脱氧核糖核酸DNA属性,所述DNA属性为根据所述游戏玩家的DNA数据所获得的遗传学属性;
    将所述游戏玩家的DNA属性按照预先建立的DNA属性与游戏中虚拟人物属性的映射关系,配置与所述游戏玩家对应的虚拟人物的属性,获得与所述游戏玩家对应的虚拟人物的属性;
    根据与所述游戏玩家对应的虚拟人物的属性,在游戏场景中生成与所述游戏玩家对应的虚拟人物。
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    建立DNA属性与游戏中虚拟人物属性的映射关系。
  3. 根据权利要求2所述的方法,其特征在于,所述DNA属性与游戏中虚拟人物属性的映射关系的生成方式,包括:
    对游戏中虚拟人物属性按照预设规则查找对应的DNA属性;
    建立所述DNA属性与游戏中虚拟人物属性的映射关系。
  4. 根据权利要求1所述的方法,其特征在于,所述获取游戏玩家的DNA属性,包括:
    获取游戏玩家的DNA样本;
    对所述游戏玩家的DNA样本进行检测,获取所述DNA样本的基因组数据;
    将所述DNA样本的基因组数据与参考数据库中的参考基因组数据进行序列比对,获取所述DNA样本的基因组数据的突变信息;
    根据所述DNA样本的基因组数据的突变信息得到与所述DNA样本对应的游戏玩家的DNA属性。
  5. 根据权利要求4所述的方法,其特征在于,在所述对所述游戏玩家的DNA样本进行检测,获取所述DNA样本的基因组数据之后,包括:
    对所述DNA样本的基因组数据进行突变;
    获取经过突变之后的基因组数据;
    将所述经过突变之后的基因组数据与参考数据库中的参考基因组数据进行序列比对,获取所述经过突变之后的基因组数据的突变信息;
    根据所述经过突变之后的基因组数据的突变信息得到与所述DNA样本对应的游戏玩家的DNA属性。
  6. 根据权利要求5所述的方法,其特征在于,所述根据所述经过突变之后的基因组数据的突变信息得到与所述DNA样本对应的游戏玩家的DNA属性,包括:
    将经过突变之后的基因组数据的特有突变的位置信息和突变性质,与专业的参考数据库或数据集进行比较,以获得经过突变之后的基因组数据的遗传学属性。
  7. 根据权利要求5所述的方法,其特征在于,所述对所述DNA样本的基因组数据进行突变,包括:
    当满足触发条件时,对所述DNA样本的基因组数据进行突变,所述触发条件包括游戏玩家升级或游戏玩家的性能提升。
  8. 根据权利要求7所述的方法,其特征在于,所述突变包括概率性突变和定向性突变。
  9. 一种游戏中的虚拟人物生成装置,其特征在于,所述装置包括:
    游戏玩家的DNA属性获取模块,用于获取游戏玩家的脱氧核糖核酸DNA属性,所述DNA属性为根据所述游戏玩家的DNA数据所获得的遗传学属性;
    虚拟人物的属性配置模块,用于将所述游戏玩家的DNA属性按照预先建立的DNA属性与游戏中虚拟人物属性的映射关系,配置与所述游戏玩家对应的虚拟人物的属性,获得与所述游戏玩家对应的虚拟人物的属性;
    虚拟人物生成模块,用于根据与所述游戏玩家对应的虚拟人物的属性,在游戏场景中生成与所述游戏玩家对应的虚拟人物。
  10. 根据权利要求9所述的装置,其特征在于,所述装置还包括:
    DNA属性与虚拟人物属性的映射关系建立模块,用于建立DNA属性与游戏中虚拟人物属性的映射关系。
  11. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至8中任一项所述的游戏中的虚拟人物生成方法的步骤。
  12. 一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现权利要求1中所述的游戏中的虚拟人物生成方法的步骤。
  13. 一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现以下步骤:
    获取游戏玩家的脱氧核糖核酸DNA属性,所述DNA属性为根据所述游戏玩家的DNA数据所获得的遗传学属性;
    将所述游戏玩家的DNA属性按照预先建立的DNA属性与游戏中虚拟人物属性的映射关系,配置与所述游戏玩家对应的虚拟人物的属性,获得与所述游戏玩家对应的虚拟人物的属性;
    根据与所述游戏玩家对应的虚拟人物的属性,在游戏场景中生成与所述游戏玩家对应的虚拟人物。
  14. 一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器还用于实现:
    建立DNA属性与游戏中虚拟人物属性的映射关系。
  15. 一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器还用于实现:
    对游戏中虚拟人物属性按照预设规则查找对应的DNA属性;
    建立所述DNA属性与游戏中虚拟人物属性的映射关系。
  16. 一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器还用于实现:
    获取游戏玩家的DNA样本;
    对所述游戏玩家的DNA样本进行检测,获取所述DNA样本的基因组数据;
    将所述DNA样本的基因组数据与参考数据库中的参考基因组数据进行序列比对,获取所述DNA样本的基因组数据的突变信息;
    根据所述DNA样本的基因组数据的突变信息得到与所述DNA样本对应的游戏玩家的DNA属性。
  17. 一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器还用于实现:
    对所述DNA样本的基因组数据进行突变;
    获取经过突变之后的基因组数据;
    将所述经过突变之后的基因组数据与参考数据库中的参考基因组数据进行序列比对,获取所述经过突变之后的基因组数据的突变信息;
    根据所述经过突变之后的基因组数据的突变信息得到与所述DNA样本对应的游戏玩家的DNA属性。
  18. 一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器还用于实现:
    将经过突变之后的基因组数据的特有突变的位置信息和突变性质,与专业的参考数据库或数据集进行比较,以获得经过突变之后的基因组数据的遗传学属性。
  19. 一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器还用于实现:
    当满足触发条件时,对所述DNA样本的基因组数据进行突变,所述触发条件包括游戏玩家升级或游戏玩家的性能提升。
PCT/CN2018/091366 2018-03-13 2018-06-14 游戏中的虚拟人物生成方法、装置、存储介质、计算机设备 WO2019174144A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810205058.8 2018-03-13
CN201810205058.8A CN108499110B (zh) 2018-03-13 2018-03-13 游戏中的虚拟人物生成方法、装置、存储介质、计算机设备

Publications (1)

Publication Number Publication Date
WO2019174144A1 true WO2019174144A1 (zh) 2019-09-19

Family

ID=63377679

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/091366 WO2019174144A1 (zh) 2018-03-13 2018-06-14 游戏中的虚拟人物生成方法、装置、存储介质、计算机设备

Country Status (2)

Country Link
CN (1) CN108499110B (zh)
WO (1) WO2019174144A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2712418C1 (ru) * 2019-11-08 2020-01-28 Илья Юрьевич Емельянов Вычислительное устройство

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109908587B (zh) * 2019-03-20 2022-07-15 北京小米移动软件有限公司 可繁殖的虚拟角色的形象参数生成方法、装置及存储介质
CN110917612A (zh) * 2019-11-13 2020-03-27 芯海科技(深圳)股份有限公司 游戏交互方法、装置、电子设备及存储介质
CN112121436B (zh) * 2020-09-18 2024-02-09 网易(杭州)网络有限公司 游戏数据处理方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008293401A (ja) * 2007-05-28 2008-12-04 Nomura Research Institute Ltd 仮想空間提供装置、仮想空間管理方法及びコンピュータプログラム
CN101676922A (zh) * 2008-09-19 2010-03-24 英业达股份有限公司 依据实体生物状态调整虚拟生物参数的系统及其方法
CN102457496A (zh) * 2010-10-20 2012-05-16 英雄部落股份有限公司 多身份识别系统
US20150298006A1 (en) * 2014-04-22 2015-10-22 Dna Diagnostics Center, Inc. Helix profile system and methods
CN105431813A (zh) * 2013-05-20 2016-03-23 微软技术许可有限责任公司 基于生物计量身份归属用户动作

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008293401A (ja) * 2007-05-28 2008-12-04 Nomura Research Institute Ltd 仮想空間提供装置、仮想空間管理方法及びコンピュータプログラム
CN101676922A (zh) * 2008-09-19 2010-03-24 英业达股份有限公司 依据实体生物状态调整虚拟生物参数的系统及其方法
CN102457496A (zh) * 2010-10-20 2012-05-16 英雄部落股份有限公司 多身份识别系统
CN105431813A (zh) * 2013-05-20 2016-03-23 微软技术许可有限责任公司 基于生物计量身份归属用户动作
US20150298006A1 (en) * 2014-04-22 2015-10-22 Dna Diagnostics Center, Inc. Helix profile system and methods

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2712418C1 (ru) * 2019-11-08 2020-01-28 Илья Юрьевич Емельянов Вычислительное устройство

Also Published As

Publication number Publication date
CN108499110B (zh) 2019-11-01
CN108499110A (zh) 2018-09-07

Similar Documents

Publication Publication Date Title
WO2019174144A1 (zh) 游戏中的虚拟人物生成方法、装置、存储介质、计算机设备
Baele et al. Genealogical working distributions for Bayesian model testing with phylogenetic uncertainty
Sahlin et al. De novo clustering of long-read transcriptome data using a greedy, quality value-based algorithm
Huelsenbeck et al. Stochastic mapping of morphological characters
US7831392B2 (en) System and process for validating, aligning and reordering one or more genetic sequence maps using at least one ordered restriction map
Agrawal et al. Scalable probabilistic PCA for large-scale genetic variation data
CN109011580B (zh) 残局牌面获取方法、装置、计算机设备及存储介质
Lewis Maximum likelihood as an alternative to parsimony for inferring phylogeny using nucleotide sequence data
Steinberg et al. Building and improving reference genome assemblies
CN107798216A (zh) 采用分治法进行高相似性序列的比对方法
Zhang et al. A survey on the algorithm and development of multiple sequence alignment
Gong et al. Global biological network alignment by using efficient memetic algorithm
Sleator A beginner’s guide to phylogenetics
Ralph et al. Using B cell receptor lineage structures to predict affinity
KR20190136765A (ko) 유전자 분석 장치 및 이를 이용한 유전자 분석 방법
CN106570350B (zh) 单核苷酸多态位点分型算法
Tavakoli et al. Haplotype-aware variant selection for genome graphs
Dewey Whole-genome alignments and polytopes for comparative genomics
Lalwani Design and implementation of bi-level artificial bee colony algorithm to train hidden Markov models for performing multiple sequence alignment of proteins
Qiu et al. Infer metagenomic abundance and reveal homologous genomes based on the structure of taxonomy tree
Ali et al. Evolutionary analysis reveals low coverage as the major challenge for protein interaction network alignment
Khaledian et al. A study of pclust settings: obtaining accurate cluster results
Korak et al. Multiple sequence alignment quality comparison in T-Coffee, MUSCLE and M-Coffee based on different benchmarks
He et al. A new hidden Markov model for protein quality assessment using compatibility between protein sequence and structure
Dhawan Bayesian inference of phylogeny using Variable Number of Tandem Repeats and Markov Chain Monte Carlo

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18909685

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 22/01/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18909685

Country of ref document: EP

Kind code of ref document: A1