WO2020038121A1 - 虚拟宠物的繁育方法、装置、设备及存储介质 - Google Patents

虚拟宠物的繁育方法、装置、设备及存储介质 Download PDF

Info

Publication number
WO2020038121A1
WO2020038121A1 PCT/CN2019/094158 CN2019094158W WO2020038121A1 WO 2020038121 A1 WO2020038121 A1 WO 2020038121A1 CN 2019094158 W CN2019094158 W CN 2019094158W WO 2020038121 A1 WO2020038121 A1 WO 2020038121A1
Authority
WO
WIPO (PCT)
Prior art keywords
pet
virtual
virtual pet
image
father
Prior art date
Application number
PCT/CN2019/094158
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 腾讯科技(深圳)有限公司
Priority to KR1020207033230A priority Critical patent/KR102557266B1/ko
Priority to SG11202010949QA priority patent/SG11202010949QA/en
Priority to JP2020568985A priority patent/JP7245853B2/ja
Publication of WO2020038121A1 publication Critical patent/WO2020038121A1/zh
Priority to US17/018,364 priority patent/US11541318B2/en

Links

Images

Classifications

    • 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/55Controlling game characters or game objects based on the game progress
    • 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/30Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
    • A63F13/35Details of game servers
    • 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/55Controlling game characters or game objects based on the game progress
    • A63F13/58Controlling game characters or game objects based on the game progress by computing conditions of game characters, e.g. stamina, strength, motivation or energy level
    • 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
    • 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/80Special adaptations for executing a specific game genre or game mode
    • A63F13/825Fostering virtual characters
    • 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/90Constructional details or arrangements of video game devices not provided for in groups A63F13/20 or A63F13/25, e.g. housing, wiring, connections or cabinets
    • A63F13/92Video game devices specially adapted to be hand-held while playing
    • 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
    • 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
    • A63F2300/65Methods for processing data by generating or executing the game program for computing the condition of a game character
    • 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/80Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game specially adapted for executing a specific type of game
    • A63F2300/8058Virtual breeding, e.g. tamagotchi

Definitions

  • the embodiments of the present application relate to the field of computer graphics, and in particular, to a breeding method, device, device, and storage medium for a virtual pet.
  • a virtual pet is provided in some clients, and the virtual pet can be various animal images or anime images.
  • the father virtual pet and the mother virtual pet have respective numerical attribute parameters, and the numerical attribute parameters include at least one of a health value, a combat power, a defense value, a life value, a pet level, and a happiness value.
  • the father's virtual pet and the mother's virtual pet are paired and bred, adjustments are made based on the numerical attribute parameters of the parents to obtain the numerical attribute parameters of the child's virtual pet, thereby generating the child's virtual pet.
  • the child's virtual pet can be a Phoenix C, with a combat power of 10,000 and a defense value of 10,000.
  • the breeding method of adjusting numerical attribute parameters can only be applied to game clients with a combat system and not to other types of game clients, and the scope of application is limited.
  • a method for breeding a virtual pet is executed by a second terminal.
  • the second terminal is provided with a virtual pet and the pet image of at least one of the virtual pets is generated based on genetic rules.
  • the method includes:
  • a pet breeding interface is displayed.
  • the pet breeding interface includes a father pet field and a mother pet field.
  • the father pet field displays the father virtual pet.
  • the father virtual pet is operated by a first user in a matching market.
  • a virtual pet provided by an account, the father virtual pet has a first pet image;
  • the mother virtual pet is a virtual pet already owned by a second user account registered in the terminal, and the mother virtual pet has a second pet image;
  • a breeding result interface is displayed when breeding is successful, the breeding result interface displays a child virtual pet, the child virtual pet has a third pet image, and the third pet image is based on the first pet image and the second pet image
  • the pet image is generated according to the genetic rules of the gene.
  • a method for breeding a virtual pet is executed by a first terminal.
  • the first terminal is provided with a virtual pet and a pet image in which at least one of the virtual pets is generated is based on genetic rules.
  • the method includes:
  • the pairing setting interface being a setting interface for putting the father's virtual pet on the matching market
  • the matching market interface including the father virtual pet in a pairing state, the father virtual pet being used to breed a child virtual pet with a mother virtual pet already owned by the second user account;
  • the virtual pet of the father has a first pet image
  • the virtual pet of the mother has a second pet image
  • the third pet image of the child virtual pet is based on the first pet image and the second pet image.
  • the genes are generated by genetic rules.
  • a method for breeding a virtual pet, executed by a server, the method includes:
  • the breeding request carrying information of a father's virtual pet and information of a mother's virtual pet
  • the father's virtual pet is a virtual pet provided by a first user account in a matching market
  • the mother's virtual pet Is a virtual pet owned by a second user account logged in to the terminal
  • the father virtual pet has a first pet image
  • the mother virtual pet has a second pet image
  • the terminal sending information of the child's virtual pet to the terminal, the terminal being configured to display a breeding result interface according to the information of the child virtual pet, and the breeding result interface displays a third pet image of the child virtual pet.
  • a breeding device for a virtual pet is provided with a virtual pet and a pet image in which at least one of the virtual pets is generated is based on genetic rules.
  • the device includes:
  • a first display module configured to display a matching market interface, where the matching market interface includes a virtual pet in a matching state
  • a first interaction module configured to select a father virtual pet in the matching market interface according to a first operation
  • the first display module is used to display a pet breeding interface.
  • the pet breeding interface includes a father pet field and a mother pet field.
  • the father pet field displays the father virtual pet and the father virtual pet. Is a virtual pet provided by a first user account in a matching market, and the father virtual pet has a first pet image;
  • the first interaction module is configured to add a mother virtual pet to the mother pet field according to a second operation, the mother virtual pet is a virtual pet already owned by a second user account registered in the terminal, and The mother's virtual pet has a second pet image; and
  • the first display module is configured to display a breeding result interface when the breeding is successful, the breeding result interface displays a child virtual pet, the child virtual pet has a third pet image, and the third pet image is based on the The first pet image and the second pet image are generated according to the genetic rule.
  • a breeding device for a virtual pet is provided with a virtual pet and a pet image in which at least one of the virtual pets is generated is based on genetic rules.
  • the device includes:
  • a second display module for displaying a pairing setting interface of the father's virtual pet, wherein the pairing setting interface is a setting interface for placing the father's virtual pet on a pairing market;
  • a second interaction module configured to obtain the number of pairing resources of the father virtual pet in the pairing setting interface
  • the second display module is configured to display a matching market interface, where the matching market interface includes the father virtual pet in a pairing state, and the father virtual pet is used for breeding with a mother virtual pet already owned by the second user account. A child's virtual pet; and
  • the virtual pet of the father has a first pet image
  • the virtual pet of the mother has a second pet image
  • the third pet image of the child virtual pet is based on the first pet image and the second pet image.
  • the genes are generated by genetic rules.
  • a breeding device for a virtual pet includes:
  • the third receiving module is configured to receive a breeding request sent by the terminal, where the breeding request carries information of the father's virtual pet and information of the mother's virtual pet, and the father's virtual pet is a virtual provided by the first user account in the matching market A pet, the mother virtual pet is a virtual pet owned by a second user account registered in the terminal, the father virtual pet has a first pet image, and the mother virtual pet has a second pet image;
  • a generating module for generating a third pet image of a child virtual pet according to a genetic rule according to a first pet image of the father virtual pet and a second pet image of the mother virtual pet;
  • a third sending module configured to send information about the child's virtual pet to the terminal, where the terminal is configured to display a breeding result interface according to the child's virtual pet information, and the breeding result interface displays the child virtual pet Third pet image.
  • a terminal including a memory and a processor; the terminal is provided with a virtual pet and a pet image in which at least one of the virtual pets is generated is based on a genetic genetic rule;
  • At least one computer-readable instruction is stored in the memory, and the at least one computer-readable instruction is loaded by the processor and executes the following steps:
  • a pet breeding interface is displayed.
  • the pet breeding interface includes a father pet field and a mother pet field.
  • the father pet field displays the father virtual pet.
  • the father virtual pet is operated by a first user in a matching market.
  • a virtual pet provided by an account, the father virtual pet has a first pet image;
  • the mother virtual pet is a virtual pet already owned by a second user account registered in the terminal, and the mother virtual pet has a second pet image;
  • a breeding result interface is displayed when breeding is successful, the breeding result interface displays a child virtual pet, the child virtual pet has a third pet image, and the third pet image is based on the first pet image and the second pet image
  • the pet image is generated according to the genetic rules of the gene.
  • a terminal including a memory and a processor; the terminal is provided with a virtual pet and a pet image in which at least one of the virtual pets is generated is generated based on genetic rules;
  • At least one computer-readable instruction is stored in the memory, and the at least one computer-readable instruction is loaded by the processor and executes the following steps:
  • the pairing setting interface being a setting interface for putting the father's virtual pet on the matching market
  • the matching market interface including the father virtual pet in a pairing state, the father virtual pet being used to breed a child virtual pet with a mother virtual pet already owned by the second user account;
  • the virtual pet of the father has a first pet image
  • the virtual pet of the mother has a second pet image
  • the third pet image of the child virtual pet is based on the first pet image and the second pet image.
  • the genes are generated by genetic rules.
  • a server the terminal includes a memory and a processor; the memory stores at least one computer-readable instruction, and the at least one computer-readable instruction is loaded by the processor and executes the following steps:
  • the breeding request carrying information of a father's virtual pet and information of a mother's virtual pet
  • the father's virtual pet is a virtual pet provided by a first user account in a matching market
  • the mother's virtual pet Is a virtual pet owned by a second user account logged in to the terminal
  • the father virtual pet has a first pet image
  • the mother virtual pet has a second pet image
  • the terminal sending information of the child's virtual pet to the terminal, the terminal being configured to display a breeding result interface according to the information of the child virtual pet, and the breeding result interface displays a third pet image of the child virtual pet.
  • a computer-readable storage medium stores at least one computer-readable instruction in the computer-readable storage medium, and the at least one computer-readable instruction is loaded by a processor and executes the following steps:
  • a pet breeding interface is displayed.
  • the pet breeding interface includes a father pet field and a mother pet field.
  • the father pet field displays the father virtual pet.
  • the father virtual pet is operated by a first user in a matching market.
  • a virtual pet provided by an account, the father virtual pet has a first pet image;
  • the mother virtual pet is a virtual pet already owned by a second user account registered in the terminal, and the mother virtual pet has a second pet image;
  • a breeding result interface is displayed when breeding is successful, the breeding result interface displays a child virtual pet, the child virtual pet has a third pet image, and the third pet image is based on the first pet image and the second pet image Pet images are generated according to genetic rules.
  • a computer-readable storage medium stores at least one computer-readable instruction in the computer-readable storage medium, and the at least one computer-readable instruction is loaded by a processor and executes the following steps:
  • the pairing setting interface being a setting interface for putting the father's virtual pet on the matching market
  • the matching market interface including the father virtual pet in a pairing state, the father virtual pet being used to breed a child virtual pet with a mother virtual pet already owned by the second user account;
  • the virtual pet of the father has a first pet image
  • the virtual pet of the mother has a second pet image
  • the third pet image of the child virtual pet is based on the first pet image and the second pet image.
  • the genes are generated by genetic rules.
  • a computer-readable storage medium stores at least one computer-readable instruction in the computer-readable storage medium, and the at least one computer-readable instruction is loaded by a processor and executes the following steps:
  • the breeding request carrying information of a father's virtual pet and information of a mother's virtual pet
  • the father's virtual pet is a virtual pet provided by a first user account in a matching market
  • the mother's virtual pet Is a virtual pet owned by a second user account logged in to the terminal
  • the father virtual pet has a first pet image
  • the mother virtual pet has a second pet image
  • the terminal sending information of the child's virtual pet to the terminal, the terminal being configured to display a breeding result interface according to the information of the child virtual pet, and the breeding result interface displays a third pet image of the child virtual pet.
  • FIG. 1 is a structural block diagram of a computer system provided by an exemplary embodiment of the present application.
  • FIG. 2 is a structural block diagram of a server cluster according to an exemplary embodiment of the present application.
  • FIG. 3 is a flowchart of a breeding method of a virtual pet according to an exemplary embodiment of the present application
  • FIG. 4 is a schematic interface diagram of a paired cat market provided by an exemplary embodiment of the present application.
  • FIG. 5 is a schematic interface diagram of a pet breeding interface provided by an exemplary embodiment of the present application.
  • FIG. 6 is a schematic diagram of an interface for adding a mother virtual pet according to an exemplary embodiment of the present application.
  • FIG. 7 is a schematic diagram of an interface for receiving a child's virtual pet according to another exemplary embodiment of the present application.
  • FIG. 8 is a schematic diagram of a breeding method of a virtual pet according to an exemplary embodiment of the present application.
  • FIG. 9 is a flowchart of a breeding method of a virtual pet according to another exemplary embodiment of the present application.
  • FIG. 10 is a schematic flowchart of displaying a market matching interface according to another exemplary embodiment of the present application.
  • FIG. 11 is a schematic diagram of an interface for adding a father virtual pet according to another exemplary embodiment of the present application.
  • FIG. 12 is a flowchart of a method for breeding a virtual pet provided by another exemplary embodiment of the present application.
  • FIG. 13 is a flowchart of pairing of a breeding method of a virtual pet according to another exemplary embodiment of the present application.
  • FIG. 14 is a de-listing flowchart of a method for breeding a virtual pet according to another exemplary embodiment of the present application.
  • FIG. 15 is a block diagram of a breeding device for a virtual pet according to an exemplary embodiment of the present application.
  • 16 is a block diagram of a breeding apparatus for a virtual pet according to another exemplary embodiment of the present application.
  • 17 is a block diagram of a breeding device for a virtual pet according to another exemplary embodiment of the present application.
  • FIG. 18 is a block diagram of a breeding device for a virtual pet according to an exemplary embodiment of the present application.
  • FIG. 19 is a block diagram of a breeding device for a virtual pet according to an exemplary embodiment of the present application.
  • FIG. 20 is a structural block diagram of a terminal provided by another exemplary embodiment of the present application.
  • FIG. 21 is a structural block diagram of a server provided by another exemplary embodiment of the present application.
  • Virtual pet A digital pet presented in a pet image in at least one of a cartoon form and an animal form.
  • the virtual pet is a two-dimensional digital pet or a three-dimensional digital pet.
  • the virtual pet is a three-dimensional virtual pet that is presented as a pet image in the form of a cartoon cat.
  • a part of the pet image of the virtual pet is generated randomly, for example, the pet image of the 0th generation virtual pet is generated randomly; the pet image of the part of the virtual pet is generated based on the parent virtual pet and / or other ancestor virtual pets
  • the pet image is generated according to genetic genetic rules.
  • the pet image of offspring virtual pets other than the 0th generation virtual pet is generated according to genetic genetic rules.
  • each virtual pet has a unique gene sequence, and the gene sequence includes generation parameters for determining a pet image of the virtual pet, and the gene sequence is also called an image parameter.
  • the pet information of each virtual pet is stored on the blockchain system, and stored and authenticated through the consensus mechanism of multiple nodes on the blockchain system.
  • the pet information includes at least: the unique genetic sequence of the virtual pet, and optionally includes the identification of the virtual pet, parental information of the virtual pet, intergenerational information of the virtual pet, genealogy information of the virtual pet, and historical transaction information of the virtual pet. , At least one of the historical career event information of the virtual pet and other information of the virtual pet. Because the genetic sequence of each virtual pet is unique, and the information stored on the blockchain system is real and unique, the virtual pet has a collection property.
  • the pet information of the virtual pet is stored on the blockchain system, even if the virtual pet is a digital pet designed to be used in the first client, it can be easily migrated to the second client for use.
  • the first client and the second client are different clients.
  • the virtual pet is a digital pet displayed by a client (or application) running in the terminal.
  • the client includes at least one of the following functions: capture virtual pets, generate virtual pets, breed virtual pets, trade virtual pets, use virtual pets to fight, use virtual pets for augmented reality (AR) interaction, use Virtual pets for socializing and AR education using virtual pets.
  • the client is a client that acquires, breeds, and / or trades a virtual pet based on a blockchain system.
  • the client is a social game program based on a geographic location, and the social game program is provided with at least one function of using a virtual pet to collect, grow, and / or fight.
  • the client has the capability to fight using a virtual pet.
  • the genetic sequence determines the characteristics of the virtual pet.
  • the above characteristics may include: external characteristics and / or internal characteristics.
  • External characteristics refer to the characteristics of the pet image that reflects the virtual pet.
  • the virtual pet includes different body parts such as skin, markings, ears, beards, patterns, eyes, and mouth, and each body part may have a variety of different external features.
  • the external features may include visible features such as color, shape, and texture.
  • the external characteristics of the skin may include different colors such as white skin, red skin, orange skin, yellow skin, green skin, cyan skin, blue skin, and purple skin.
  • the external features of the ear may include different shapes such as long ears, short ears, rolled ears, folded ears, normal ears, and the like.
  • Intrinsic characteristics refer to characteristics that reflect the intrinsic attributes of the virtual pet.
  • the intrinsic attributes may include a variety of different attributes such as intelligence value, attack value, defense value, spiritual value, magic value, strength value, endurance value, agility value, potential value, speed value, life value, and the like.
  • Gene sequence of a virtual pet It includes a set of parameter values used to generate a pet image of a virtual pet, which is also called an image parameter.
  • each virtual pet's pet image includes multiple types of 3D image materials, each type of 3D image material corresponds to different character parts and / or texture levels, and each 3D image material corresponds to A material identifier, and each type of 3D material identifier can be regarded as a parameter value in the gene sequence.
  • the pet image of the 3D virtual pet includes at least 8 3D image materials (also called local features): 3D body model, ear model, skin material, and eye material , Nose material, mouth material, beard material, body marking material, chest and abdomen pattern material.
  • the pet image of the 3D virtual pet may further include: tail material, external pendant material, and global features.
  • the tail material is used to determine the characteristics of the tail model of the virtual pet. For example, when the pet image is an animal type, the tail material is a slender or short thick tail.
  • the external pendant material is used to determine the characteristics of the accessory of the virtual pet.
  • Accessories include but Not limited to at least one of backpack, glasses, handheld props, belt, clothes, hat, shoes, and head accessories;
  • global features are the overall image features used to cover the body model of the virtual pet, and have the highest display priority level.
  • the target image parameters include global features
  • the global features will cover the local features for complete display, that is, the local features will be hidden and not displayed.
  • a pet cat has the global characteristics of Superman, it will not display its own cat image, but instead display a pet image with the appearance of Superman or a pet image with the appearance of a robot.
  • the gene sequence includes global feature parameters, skin texture feature parameters, skin color feature parameters, belly texture feature parameters, belly color feature parameters, eye texture feature parameters, eye color feature parameters, mouth texture feature parameters, and mouth color feature parameters.
  • a gene sequence can be represented by a plurality of key-value pairs arranged in order, and the key-value pairs can be in the form of (gene name, parameter value).
  • Genetic genetic rules Also known as genetic rules, genetic algorithms, or genetic algorithms, the pet images of parents 'virtual pets and / or other ancestors' virtual pets are transferred to imitate the genetic laws of real creatures to generate pet images of children's virtual pets. rule.
  • each virtual pet has a unique genetic sequence.
  • the genetic rule is a rule of generating and reconstructing a pet image of a parent virtual pet and / or other ancestor virtual pet according to a genetic rule to generate a pet image of a child virtual pet with unique characteristics.
  • Deduplication refers to a mechanism that when the same genetic sequence as an existing virtual pet appears in the genetic process, the gene sequence of the virtual pet is regenerated, thereby ensuring the uniqueness of the gene of the virtual pet.
  • the genetic rules of the genes are genetic rules that mimic real organisms, there are also restrictions such as the length of pregnancy and the inability of close relatives to breed during the breeding process.
  • a genetic gene exists between two virtual pets having a genetic relationship.
  • a genetic gene is a gene that is inherited from one of two virtual pets that have a genetic relationship to the other.
  • the characteristics determined by genetic genes can be called genetic characteristics.
  • the two genetic pets have the same genetic characteristics, that is, the same image material characteristics. For example, two virtual pets with a genetic relationship have yellow skin. As another example, two virtual pets with a genetic relationship have red skin and folded ears.
  • the number of genetic features may be one or multiple, which is not limited in the embodiments of the present application. Under normal circumstances, the closer the ancestry between two virtual pets with genetic relationship, the more genetic characteristics; conversely, the farther the generation between two virtual pets with genetic relationship, the less genetic characteristics.
  • Intergenerational information of the virtual pet refers to the generation information of the virtual pet in the entire virtual pet worldview, and is determined by the generation of the virtual pet's father virtual pet and mother's virtual pet.
  • the generation of the child's virtual pet is obtained by adding one to the maximum generation number of the father's virtual pet and the mother's virtual pet.
  • the father's virtual pet is a 0th generation virtual pet and the mother's virtual pet is a 4th generation virtual pet.
  • kids virtual pets are 5th generation virtual pets.
  • the first generation virtual pet has the lowest intergenerational generation, for example, the first generation virtual pet has an intergenerational generation of zero.
  • the generation of non-first generation virtual pets is determined by the generations of their parents' virtual pets.
  • the generation of children's virtual pets generated by parental virtual pet breeding is higher than that of their parents' virtual pets.
  • the generation of the child virtual pet is equal to the generation of the parent virtual pet plus one. For example, if the parental generation of the virtual pet is 1, the generation of the child's virtual pet is 2; for another example, if the generation of the parent's virtual pet is 0, the generation of the child's virtual pet is 1.
  • the parent virtual pet breeding of the same generation is allowed to generate a child virtual pet (that is, the next generation of virtual pets), and the parent virtual pet breeding of different generations is allowed to generate a child virtual pet, the child virtual The pet's generation is equal to the parent's virtual pet, the generation of the higher generation is increased by 1.
  • the generation age of the father's virtual pet is 0, the generation age of the mother's virtual pet is 2, and the generation age of the child's virtual pet is 3.
  • the first generation of virtual pets was not produced by father virtual pets and mother virtual pets, but was automatically produced by the virtual pet system. Therefore, there are no father virtual pets and mother virtual pets in the first generation of virtual pets, nor will there be other virtual pets that are higher in generation and have a genetic relationship with the first generation virtual pets.
  • FIG. 1 shows a structural block diagram of a computer system 100 provided by an exemplary embodiment of the present application.
  • the computer system 100 includes a first terminal 120, a server cluster 140, and a second terminal 160.
  • the first terminal 120 is connected to the server cluster 140 through a wireless network or a wired network.
  • the first terminal 120 may be at least one of a smart phone, a game console, a desktop computer, a tablet computer, an e-book reader, an MP3 player, an MP4 player, and a laptop portable computer.
  • the first terminal 120 is installed and operated with a client supporting a virtual pet.
  • the client may be any one of a pet breeding game program, an AR game program, and an AR education program.
  • the first terminal 120 is a terminal used by a first user, and a client in the first terminal 120 logs in a first user account.
  • the first terminal 120 is connected to the server cluster 140 through a wireless network or a wired network.
  • the server cluster 140 includes at least one of a server, multiple servers, a cloud computing platform, and a virtualization center.
  • the server cluster 140 is configured to provide a background service for a client supporting a virtual pet.
  • the server cluster 140 undertakes the main calculation work, and the first terminal 120 and the second terminal 160 undertake the secondary calculation work; or, the server cluster 140 undertakes the secondary calculation work, and the first terminal 120 and the second terminal 160 undertake the main calculation Work; or, the server cluster 140, the first terminal 120, and the second terminal 160 adopt a distributed computing architecture for collaborative computing.
  • the server cluster 140 includes: an access server 141 and a game server 142.
  • the access server 141 is configured to provide an access service and an information transmitting / receiving service of the first terminal 120 and the second terminal 160, and forward useful information between the terminal and the game server 142.
  • the game server 142 is used to provide a client-side background service, such as at least one of a game logic service, a material providing service, a virtual pet generation service, a virtual pet transaction service, and a virtual pet breeding service.
  • the game server 142 may be one or more. When there are multiple game servers 142, there are at least two game servers 142 for providing different services, and / or, there are at least two game servers 142 for providing the same services, which is not limited in this embodiment of the present application. .
  • the second terminal 160 is installed and operated with a client supporting a virtual pet.
  • the client may be any one of a pet breeding game program, an AR game program, and an AR education program.
  • the second terminal 160 is a terminal used by a second user.
  • a second user account is registered in the client of the second terminal 120.
  • the first user account and the second user account are in the same virtual social network.
  • the first user account and the second user account may belong to the same team, the same organization, have a friend relationship, or have temporary communication rights.
  • the first user account and the second user account may also belong to different teams, different organizations, or two hostile groups.
  • the clients installed on the first terminal 120 and the second terminal 160 are the same, or the clients installed on the two terminals are the same type of clients of different control system platforms.
  • the client includes at least one of the following functions: grab virtual pets, generate virtual pets, breed virtual pets, trade virtual pets, use virtual pets to fight, use virtual pets to interact with AR, use virtual pets to socialize, use virtual AR education for pets.
  • the client is a client that acquires, breeds, and / or trades a virtual pet based on a blockchain system.
  • the client is a social game program based on a geographic location, and the social game program is provided with at least one function of using a virtual pet to collect, grow, and / or fight.
  • the first terminal 120 may refer to one of a plurality of terminals
  • the second terminal 160 may refer to one of a plurality of terminals. This embodiment only uses the first terminal 120 and the second terminal 160 as examples.
  • the terminal types of the first terminal 120 and the second terminal 160 are the same or different, and the terminal types include: smartphone, game console, desktop computer, tablet computer, e-book reader, MP3 player, MP4 player, and laptop portable At least one of the computers.
  • the following embodiments are described by using the first terminal 120 and / or the second terminal 160 as a smart phone as an example.
  • the number of the foregoing terminals may be larger or smaller.
  • the foregoing terminal may be only one, or the foregoing terminal may be dozens or hundreds, or a larger number.
  • the embodiment of the present application does not limit the number of terminals and the types of equipment.
  • the server cluster 140 is configured to store role information and transaction records of each virtual pet.
  • the character information includes at least one of a character identifier for uniquely identifying the virtual pet, an image parameter for characterizing the pet image of the virtual pet, and a preview image for characterizing the virtual pet.
  • the server cluster 140 is also connected to the blockchain system 180, and the server cluster 140 stores role information and / or transaction records of each virtual pet in the blockchain system 180.
  • the server cluster 140 itself may also operate and store data as a node in the district chain system 180.
  • FIG. 3 shows a flowchart of a breeding method of a virtual pet according to an exemplary embodiment of the present application. This embodiment is described by using the method applied to the second terminal 160 shown in FIG. 1 as an example.
  • the terminal runs a client, and the client is provided with a virtual pet, and the pet image in which at least one virtual pet exists is generated based on genetic rules.
  • the method includes:
  • Step 301 Display a matching market interface, where the matching market interface includes a virtual pet in a matching state;
  • a client is running in the terminal.
  • the client logs in with the current user account.
  • the client provides functions related to virtual pets.
  • the user launches the client in the terminal and opens the paired market interface in the client.
  • the matching market interface is used to display the virtual pets in a matching state.
  • different user accounts can list the virtual pets owned by the user to the matching market interface for other user accounts to choose.
  • m card areas are displayed on the matching market interface, and each card area is used to display a virtual pet in a pairing state.
  • the card area displays at least one of a nickname, a logo, a two-dimensional pet image (or a three-dimensional pet image), a genetic feature, and a matching price.
  • the virtual pets displayed on the matching market interface are all candidate cats for the father's virtual pet.
  • a matching market interface 40 is displayed on the terminal.
  • the matching market interface 40 displays 9 card areas, and each card area displays a virtual pet in a pairing state.
  • the card area displays a two-dimensional preview of the virtual pet and the matching price.
  • Step 302 Select a father virtual pet in the matching market interface according to the first operation.
  • the first operation is an operation of clicking a certain virtual pet on the matching market interface.
  • the user selects a virtual pet as the father virtual pet in the matching market interface.
  • the user can select a virtual pet with certain genetic characteristics as a father virtual pet according to personal preference. For example, the user selects a virtual pet with scarce global characteristics as the father virtual pet.
  • Step 303 The pet breeding interface is displayed.
  • the pet breeding interface includes a father pet field and a mother pet field.
  • the father pet field displays a father virtual pet.
  • the father virtual pet is a virtual pet provided by the first user account in the matching market. ,
  • the father's virtual pet has the first pet image;
  • the terminal displays a pet breeding interface.
  • the pet breeding interface is a user interface for selecting a father virtual pet and a mother virtual pet to breed a child virtual pet.
  • a father pet field and a mother pet field are displayed on the pet breeding interface.
  • the father pet field is a control field for selecting a virtual pet as a father role in the breeding process.
  • the mother pet field is a control field for selecting a virtual pet as a mother role in the breeding process.
  • the father virtual pet is a virtual pet provided by a first user account in a matching market, and the father virtual pet has a first pet image.
  • the first pet image is an external image displayed by the father virtual pet to the user in the client.
  • the first pet image may be a three-dimensional pet image, and the three-dimensional pet image includes a plurality of three-dimensional image materials.
  • the three-dimensional pet image includes at least one image material of a 3D body model, skin, markings, patterns, ears, nose, eyes, beard, tail, global features, and external pendants.
  • the external pendant includes at least one of a school bag, glasses, jewelry, hand-held props, and head accessories. Among them, the skin, markings, patterns, ears, nose, eyes, beard, and tail can be called local features.
  • the terminal displays a pet breeding interface 50.
  • the pet breeding interface 50 includes a mother pet field 52 and a father pet field 54.
  • the father's pet field 54 displays a father's virtual pet "Gentleman Mi 000002" selected from the matching market.
  • the father's virtual pet "Gentleman Mi 000002" is provided by the first user account.
  • the father's virtual pet has a unique three-dimensional pet image.
  • Step 304 Add the mother virtual pet to the mother pet field according to the second operation.
  • the mother virtual pet is a virtual pet already owned by the second user account registered in the terminal, and the mother virtual pet has a second pet image;
  • the terminal determines the mother virtual pet in the breeding process among the multiple virtual pets already owned by the second user account according to the second operation.
  • the second user account is a user account currently logged in to the terminal.
  • the mother virtual pet has a second pet image.
  • the second pet image is an external image displayed by the mother virtual pet to the user in the client.
  • the second pet image may be a three-dimensional pet image, and the three-dimensional pet image includes a plurality of three-dimensional image materials.
  • the three-dimensional pet image includes at least one image material of a 3D body model, skin, markings, patterns, ears, nose, eyes, beard, tail, global features, and external pendants.
  • the external pendant includes at least one of a school bag, glasses, jewelry, hand-held props, and head accessories. Among them, the skin, markings, patterns, ears, nose, eyes, beard, and tail can be called local features.
  • the terminal displays a pet breeding interface 50.
  • the user can use a trigger operation to click on the mother pet field 52, and then the terminal switches to display the pet selection interface 51 according to the trigger operation.
  • the pet selection interface 51 displays Each virtual pet owned by the current user account.
  • the user can click on the selected mother virtual character 53 using a selection operation, and the terminal adds the mother virtual character 53 to the mother pet field 52 according to the selection operation.
  • a “determine breeding” button 56 is also displayed on the pet breeding interface 50.
  • the user can click the determined breeding button 56 to trigger a breeding signal.
  • the terminal After receiving the breeding confirmation signal, the terminal sends a request to the server.
  • the breeding request includes information of the father's virtual pet and information of the mother's virtual pet. Then, the terminal receives a breeding response from the server, and the breeding response includes information of the child's virtual pet.
  • step 305 the breeding result interface is displayed when the breeding is successful.
  • the breeding result interface displays a child virtual pet, and the child virtual pet has a third pet image.
  • the third pet image is generated according to the genetic rules of the first pet image and the second pet image of.
  • the terminal displays the breeding result interface when the breeding is successful this time.
  • a child virtual pet 58 is displayed on the breeding result interface, as shown in FIG. 7.
  • the genetic genetic rule includes a rule algorithm for generating a third pet image of the child's virtual pet according to the genetic genetic rule according to the first pet image of the father's virtual pet and the second pet image of the mother's virtual pet.
  • the genetic rule includes at least one of an inheritance rule, a mutation rule, and a loss rule.
  • the inheritance rule means that all or part of the image material of the third pet image of the child's virtual pet is copied from the first pet image and / or the second pet image, and may even be the pet image copied from the ancestor virtual pet.
  • the mutation rule means that all or part of the image material of the third pet image of the child's virtual pet is obtained by mutating the pet image of the father's virtual pet and the mother's virtual pet. Image material that does not have.
  • the loss rule means that when the first pet image and / or the second pet image have global features, there is a chance that the third pet image of the child's virtual pet will not have the global feature.
  • the method provided in this embodiment selects a mother virtual pet from a virtual pet owned by a second user account of a current user by selecting a father virtual pet provided by a first user account in a matching market, and according to the father,
  • the first pet image of the virtual pet and the second pet image of the mother virtual pet are used to generate the third pet image of the child's virtual pet according to the genetic and genetic rules;
  • the breeding method based on adjusting the numerical attribute parameters in the related technology can only be applied to systems with combat systems Client, so the range of use is limited; when the new virtual pet is obtained through breeding between virtual pets owned by different user accounts, the transfer of the external characteristics of the pet image is the main genetic target, which is applicable and It is compatible with breeding scenarios of various types of virtual pets, and also enriches the social forms between different user accounts.
  • FIG. 8 and 9 are flowcharts of a breeding method of a virtual pet according to another embodiment of the present application. This embodiment is exemplified by applying the method to the computer system 100 shown in FIG. 1.
  • a client is run in the first terminal 120 and the second terminal 160, and the client is provided with a virtual pet, and the pet image in which at least one virtual pet exists is generated based on genetic rules.
  • the method includes:
  • Step 401 The first terminal displays a pairing setting interface of the father's virtual pet.
  • the pairing setting interface is a setting interface for putting the father's virtual pet on the matching market.
  • the pairing setting interface is used to set the number of pairing resources of the father's virtual pet when it is put on the shelf.
  • the number of matching resources is also called the matching price.
  • the first terminal first displays a pet selection interface 41, and the pet selection interface 41 displays various virtual pets already owned by the first user account “Player A”.
  • the first user account has 9 virtual pets.
  • the pet selection interface 41 uses nine card areas arranged in a nine-square grid to display virtual pets, and each card area is used to display a summary of pet information of a virtual pet.
  • the summary includes at least one of a two-dimensional preview image of the virtual pet, a name of the virtual pet, an identification of the virtual pet, intergenerational information of the virtual pet, and a breeding recovery time of the virtual pet.
  • the first terminal displays a pet display interface 43 of the virtual pet 42, and the pet display interface 42 is an interface for pet information of the virtual pet.
  • the pet information includes: the nickname of the owner of the virtual pet "Player A", a 3D pet image of the virtual pet, a pairing button 44, a sale button, a life button, a block information button, intergenerational information, nickname information, identification information, At least one of genetic feature information, parent information, child information, and genealogy information.
  • the first terminal receives a second operation triggered on the pairing button 44, and the second operation may be a trigger operation.
  • the first terminal displays a breeding mode display interface according to the second operation.
  • the breeding mode display interface includes a local breeding selection control 45 and a market breeding selection control 46.
  • the local breeding selection control 45 may be a "pair with own cat" button, and the market breeding selection control 46 may be a "go to market pairing" button.
  • the local breeding selection control 45 is used to trigger the first user account to pair the two virtual pets that it owns, and the market breeding selection control 46 is used to list the virtual pets that it owns to the matching market in order to pair with the virtual pets of other players as Parent virtual pet.
  • the local breeding method is not discussed in this embodiment.
  • the first terminal displays a pairing setting interface 47 according to the selection operation.
  • the pairing setting interface 47 is used to set a pairing price when the virtual pet is paired with the father's virtual pet.
  • Step 402 The first terminal acquires the number of pairing resources of the father's virtual pet in the pairing setting interface.
  • a price input control 48 and a confirmation button 49 are displayed on the pairing setting interface 47.
  • the first user inputs the pairing price of the father's virtual pet pairing on the price input control 48, and then clicks the confirmation button 49.
  • Step 403 The first terminal sends a shelf request to the game server.
  • the first terminal sends a racking request to the game server, where the racking request carries a first user account and an identifier of the father's virtual pet.
  • the game server detects whether the listing parameters of the current listing are valid according to the listing request.
  • the listed parameters are at least one of the owner account of the male cat, the pairing price of the male cat, the current status of the male cat, and the mailbox status of the first user account.
  • the game server extracts the cat's cat ID from the listing request, and queries the owner's account of the male cat in the database based on the male cat's cat ID to detect whether the first user account is related to The owner account is the same; when the first user account is the owner account of the male cat, it is determined that the listing parameter is legal; otherwise, it is illegal.
  • the game server extracts the pairing price of the male cat from the listing request, and detects whether the pairing price belongs to a preset price range; when the pairing price belongs to a preset price range, determines the The parameters on the shelf are legal; otherwise they are illegal.
  • the game server extracts the cat ID of the male cat from the listing request, and queries the current status of the male cat in the database according to the cat ID of the male cat.
  • the current status includes selling, recovering, At least one of matching, breeding, transforming, and idle. When the current status is idle or transformed, it is determined that the listed parameter is legal; otherwise, it is illegal.
  • the game server extracts the first user account from the listing request, and then queries the mailbox status of the first user account in the database; when the mailbox status of the first user account is available , It is determined that the listing parameter is valid; when the mailbox status of the first user account is unavailable (for example, the mailbox capacity is full), the listing parameter is determined to be invalid.
  • step 404 when at least one parameter of each of the listed parameters of the current listing is illegal, the current listing process is terminated.
  • Step 404 The game server adds the father's virtual pet to the matching market according to the request for listing;
  • the game server stores the father's virtual pet in a pairing list
  • the pairing list is a list for storing information of the virtual pet in a pairing state in the pairing market.
  • the game server changes the state of the father's virtual pet in its own database from the original state to the pairing.
  • the game server and the blockchain system perform information interaction to put the father's virtual pet on the matching market.
  • step 405 the game server sends a reply to the request for listing to the first terminal
  • the game server After the father's virtual pet is successfully listed on the matching market, the game server sends a response to the request for listing to the first terminal.
  • the listing request response is used to indicate the listing result of the father's virtual pet.
  • Step 406 The first terminal displays a matching market interface, and the matching market interface includes a father virtual pet in a pairing state;
  • the first user opens a pairing market interface in the first terminal, and the pairing market interface includes a father virtual pet in a pairing state.
  • the matching market interface is used to display each father's virtual pet in a matching state on the entire matching market at the current time. These father virtual pets can be provided separately by different user accounts.
  • the matching market interface includes a plurality of card areas, and each card area is used to display a summary of pet information of a virtual pet.
  • the summary includes at least one of a two-dimensional preview of the virtual pet, the name of the virtual pet, the identification of the virtual pet, the intergenerational information of the virtual pet, the current status of the virtual pet (in pairing), and the breeding recovery time of the virtual pet. information.
  • a matching control is also provided on the matching market interface, and the filtering control can perform at least one of the filtering conditions of the display time, genetic characteristics, generations, and prices to perform the father virtual display. Pets are filtered or sorted.
  • the matching market interface can only display a limited number of virtual pets on a single page, such as 9 virtual pets.
  • a page turning button of "previous page” and / or "next page” is also provided on the matching market interface. When the first user clicks the "previous page” button and the "next page” button, Virtual pets sorted in different positions in the matching market.
  • the first user can view his or her virtual pet on the matching market interface.
  • the above process is the process of listing the father's virtual pet. After the father's virtual pet is put on the shelf, it can be viewed by various terminals.
  • Step 407 The second terminal obtains a pairing list from the game server.
  • the second terminal is a terminal used by the second user, and a second user account is registered in the second terminal.
  • the second terminal obtains a pairing list from the game server, and the pairing list is a list for storing information of a virtual pet in a pairing state in a pairing market.
  • the second terminal may obtain the pairing list from the game server in batches according to the display progress. For example, this time, 9 virtual pets in the pairing state are obtained from the pairing list, and then when the user's page turning operation is received, another 9 virtual pets in the pairing list are obtained from the game server.
  • Step 408 The second terminal displays a matching market interface.
  • the matching market is a market platform that is open to all terminals in the entire platform.
  • the second terminal displays a matching market interface according to the obtained matching list.
  • the second terminal displays a matching market interface 51
  • the matching market interface 51 displays a plurality of virtual pets that can be used as father virtual pets.
  • the second user selects the favorite father virtual pet 53 on the matching market 51.
  • Step 409 The second terminal receives the first operation on the paired market interface.
  • the first operation may be a trigger operation of clicking the father virtual pet 52 on the matching market interface 51.
  • Step 410 The second terminal determines a candidate virtual pet among the paired virtual pets according to the first operation.
  • the pairing market interface 51 displays a plurality of virtual pets in a pairing state, and the second terminal determines the virtual pet clicked by the first operation as a candidate virtual pet.
  • the second terminal determines the virtual pet "Gentleman Mi 000002" clicked by the second user as a candidate virtual pet.
  • Step 411 The second terminal displays a pet display interface of the candidate virtual pet
  • the pet display interface 53 of the candidate virtual pet is an interface for pet information of the virtual pet.
  • the pet information includes: the nickname of the owner of the virtual pet "Player A", a 3D pet image of the virtual pet, a pairing button 55, a sale button, a meow life button, a block information button, intergenerational information, nickname information, identification information, At least one of genetic feature information, parent information, child information, and genealogy information.
  • the 3D pet image is a pet image capable of actively displaying 3D actions and rotating display from left to right.
  • the second user can view various pet information of the virtual pet on the pet display interface 53 of the candidate virtual pet, so as to decide whether to be the father virtual pet of this breeding.
  • Step 412 The second terminal receives a trigger operation of clicking a pairing button.
  • the second user decides to use the candidate virtual pet as the father virtual pet for this breeding, click the pairing button on the pet display interface of the candidate virtual pet.
  • the trigger operation is used to indicate that the candidate virtual pet is selected as the father virtual pet of this breeding.
  • the second user clicks the pairing button 55 on the pet display interface of the candidate virtual pet “Gentleman Mice 000002”.
  • Step 413 The second terminal determines the candidate virtual pet as the father virtual pet according to the trigger operation.
  • the second terminal determines the candidate virtual pet "Gentleman Mice 000002" as the father virtual pet according to the trigger operation.
  • Step 414 The second terminal displays a pet breeding interface
  • the second terminal After determining that the candidate virtual pet "Gentleman Mi 000002" is determined as the father's virtual pet, the second terminal displays a pet breeding interface 50.
  • the pet breeding interface 50 is used to select the father's virtual pet and the mother to find pets for breeding according to the genetic inheritance rule. kids virtual pet interface.
  • the pet breeding interface includes a father pet field 52 and a mother pet field 54. Since the second user account has selected the father pet pet 52 to display the father virtual pet, the father virtual pet is a virtual pet provided by the first user account in the matching market, and the father virtual pet has a first pet image.
  • the first pet image is the external image displayed by the father's virtual pet to the user in the application.
  • the first pet image includes at least one image material of a body model, skin, markings, patterns, ears, nose, eyes, beard, tail, clothes, and an external pendant.
  • the external pendant includes at least one of a school bag, glasses, jewelry, a handheld prop, and a halo above the head.
  • the first pet image is characterized by a first image parameter (or a gene sequence), and the first image parameter includes an identifier corresponding to each image material of the father's virtual pet.
  • Step 415 The second terminal receives a second operation of clicking on the mother pet field.
  • the second terminal receives the second operation, and determines the mother virtual pet in the breeding process among the plurality of virtual pets already owned by the second user account according to the second operation.
  • the second operation is an operation of clicking a mother pet field.
  • Step 416 The second terminal displays a pet selection interface.
  • the second terminal displays a pet selection interface according to the second operation, and the pet selection interface displays at least one virtual pet that the second user account has.
  • the pet selection interface displays a virtual pet owned by the second user account.
  • the pet selection interface displays a plurality of virtual pets owned by the second user account and corresponding to the mother virtual pet.
  • the terminal displays a pet breeding interface 50.
  • the second user may click on the mother pet field 52 using a selection operation, and then the terminal switches to display the pet selection interface 51 according to the selection operation.
  • Step 418 The second terminal receives a selection operation on the pet selection interface.
  • the selection operation is to select a certain virtual pet as the click signal of the mother virtual pet in the pet selection interface.
  • Step 419 The second terminal determines the mother virtual pet among the at least one virtual pet according to the selection operation.
  • the pet selection interface 51 displays various virtual pets already owned by the second user account.
  • the second user can click on the selected mother virtual pet 53, and the second terminal adds the mother virtual pet “cute meow 000001” 53 to the mother pet field 52 in the pet breeding interface 50 according to the selection operation.
  • the mother virtual pet has a second character image.
  • the second character image is the external image that the mother virtual pet displays to the user in the application.
  • the second character image includes at least one of a body model, skin, markings, patterns, ears, nose, eyes, beard, tail, clothes, and external pendant.
  • the external pendant includes at least one of a school bag, glasses, jewelry, a handheld prop, and a halo above the head.
  • the second character image is characterized by a second image parameter, and the second image parameter includes an identifier corresponding to each image material of the mother virtual pet.
  • Step 420 The second terminal adds the mother virtual pet to the mother pet field.
  • the second terminal adds the mother virtual pet 53 to the mother pet field 52 according to the selection operation.
  • Step 421 The second terminal sends a breeding request to the game server.
  • a "determine breeding” button 56 is also displayed on the pet breeding interface 50.
  • the user can click the determined breeding button 56 to trigger a breeding signal.
  • the terminal After receiving the breeding confirmation signal, the terminal sends a request to the server.
  • the breeding request includes information about the father's virtual pet and information about the mother's virtual pet.
  • the information of the parent virtual pet includes: an identification of the parent virtual pet.
  • the identification of the parent virtual pet the identification of the parent virtual pet, the first image parameter (gene sequence) and the second image parameter (gene sequence).
  • the breeding request also carries a second user account in the second terminal.
  • Step 422 The game server detects whether the breeding process meets the breeding conditions according to the breeding request.
  • the game server extracts information about the breeding process from the breeding request, and detects whether the breeding process meets the breeding conditions based on the information in the breeding request.
  • the breeding conditions include, but are not limited to, at least one of the following three conditions:
  • the second user account owns the breeding house props that are available.
  • Breeding house props are props used to provide breeding places for father virtual pets and mother virtual pets.
  • the status of the breeding house props includes at least one of available status, breeding, and breeding completion.
  • the close relative relationship means that the father virtual pet and the mother virtual pet do not have a direct blood relationship within three generations.
  • a parent / mother virtual pet cannot reproduce with a child / female virtual pet, and a child / female virtual pet with the same father and mother cannot reproduce.
  • the breeding time reaches the pregnancy time corresponding to the mother's virtual pet.
  • the breeding time is the breeding time after the child's virtual pet starts breeding, and the breeding time is the length of time that is measured according to the start of the breeding house props.
  • Each mother's virtual pet corresponds to its own pregnancy duration.
  • the pregnancy duration of different mother's virtual pets is the same or different.
  • the pregnancy duration of the mother's virtual pet can be set by the server.
  • the pregnancy duration of the same mother virtual pet is variable, for example, the pregnancy duration of the same mother virtual pet after each breeding is increasing. Increasing pregnancy duration can reduce (or control) the total number of children's virtual pets bred by the same mother's virtual pet.
  • This embodiment is exemplified by including the above-mentioned three breeding conditions.
  • detection is performed in the order of condition 1, condition 2, and condition 3.
  • detection may also be performed in the order of condition 2, condition 1, and condition 3; or detection may be performed in the order of condition 3, condition 2, and condition 1.
  • the sequence in which the game server detects the three breeding conditions is not limited.
  • the game server sends prompt purchase information to the terminal, and proceeds to step 423, where the second terminal displays a user interface for purchasing breeding house props according to the prompt purchase information. To guide the second user to purchase the breeding house props.
  • step 426 is entered.
  • Step 423 When the second user account does not own the breeding house props, the second terminal displays a purchase interface for purchasing the breeding house props;
  • the purchase interface includes introduction information, prices and entry points for breeding house props.
  • the purchase portal can be a purchase button or a purchase link.
  • Step 424 The second terminal receives a purchase signal triggered on the purchase interface.
  • the second user may click and purchase the breeding house props on the purchase interface. That is, the second terminal receives a purchase signal triggered by the second user on the purchase interface.
  • Step 425 The second terminal purchases the breeding house props from the game server according to the purchase signal.
  • the game server transfers the virtual resources corresponding to the breeding house props from the second user account to the intermediate account of the game server according to the operation of the second user. Then, the ownership of the breeding house props is transferred from the intermediate account of the game server to the second user account.
  • Step 426 The game server generates a third pet image of the child's virtual pet according to the genetic genetic rule according to the first pet image of the father's virtual pet and the second pet image of the mother's virtual pet.
  • Genetic rules include at least one of inheritance rules, mutation rules and loss rules
  • the inheritance rule means that all or part of the image material of the third pet image of the child's virtual pet is copied from the first pet image and / or the second pet image.
  • the inheritance rule further includes:
  • the mutation rule means that the third pet image of the child's virtual pet includes the image material obtained by the mutation, and the image material obtained by the mutation is an image material that neither the first pet image nor the second pet image has;
  • the loss rule means that when the first pet image and / or the second pet image have global characteristics, the third pet image does not have global characteristics, and the global characteristic image materials cover the body model of the virtual pet. Integrate image material and have the highest display priority.
  • the game server obtains the first pet image of the father's virtual pet and the second pet image of the mother's virtual pet according to the identification of the parent's virtual pet.
  • the first pet image may be characterized by a first image parameter
  • the second pet image may be identified by a second image parameter.
  • the game server generates a third pet image of the child's virtual pet according to the genetic rules.
  • the game server further obtains other ancestor virtual pets according to the identity of the parent virtual pet, and determines all or part of the child's virtual pet's image material according to the pet images of the other ancestor virtual pets.
  • the game server obtains the first pet image and the second pet image from the breeding request.
  • the first pet image may be characterized by a first image parameter
  • the second pet image may be identified by a second image parameter.
  • the game server generates a third pet image of the child's virtual pet according to the genetic rules.
  • the game server further obtains other ancestor virtual pets according to the identity of the parent virtual pet, and determines all or part of the child's virtual pet's image material according to the pet images of the other ancestor virtual pets.
  • the third pet image of the child's virtual pet is characterized by a third image parameter.
  • the third pet image includes at least one image material of a body model, skin, markings, patterns, ears, nose, eyes, beard, tail, clothes, global features, and external pendants.
  • the external pendant includes at least one of a school bag, glasses, jewelry, a handheld prop, and a headgear prop.
  • the third image parameter includes an identifier corresponding to each image material of the child's virtual pet.
  • the game server After the game server generates the third image parameter (or third gene sequence) of the child's virtual pet, it stores the third image parameter of the child's virtual pet. Optionally, the game server may also submit the child's virtual pet information to the blockchain system.
  • the game server further stores information of the child's virtual pet in a database.
  • the child's virtual pet information includes, but is not limited to: the child's virtual pet's identity, the child's virtual pet's image parameters, the child's virtual pet's birth time (generation time), the child's virtual pet's parental information, and the child's first virtual pet's first owner At least one of the user accounts.
  • the default owner account of the child's virtual pet is a second user account, that is, the user account corresponding to the mother's virtual pet.
  • the game server also submits the information of the child's virtual pet to the blockchain system.
  • the information of the child's virtual pet is stored to the virtual pet.
  • the corresponding blockchain The corresponding blockchain.
  • the game server deducts the breeding house props from the second user account. For example, the game server reduces the breeding house props used by the second user account by one.
  • the game server uses the resources obtained by deducting the breeding house props to pay the transaction fee to the blockchain system. Because every time information is stored on the blockchain system, certain resources need to be paid to the blockchain system.
  • the game server also uses the resources obtained by deducting the breeding house props to pay the blockchain system a transaction fee for storing information about the child's virtual pet.
  • Step 427 The game server sends a breeding response to the second terminal.
  • the breeding response carries an identification of the child's virtual pet and a third image parameter of the child's virtual pet.
  • the identification of the child virtual pet and the third image of the child virtual pet may be sent by the game server to the second terminal after the terminal sends a collection request to the game server according to the collection signal.
  • Step 428 The game server sends a pairing resource to the first terminal.
  • the game server Since the child's virtual pet that is successfully bred is owned by the mother, the game server will send pairing resources to the first terminal of the father.
  • the matching resource is a reward for the father's virtual pet during the breeding process.
  • the game server sends a pairing resource to the email address of the first user account in the form of an email.
  • Step 429 The first terminal receives pairing resources provided by the second user account according to the number of pairing resources, and the pairing resources are sent when the child's virtual pet is successfully bred;
  • the game server receives the pairing resource by mail.
  • Step 430 The second terminal displays a child virtual pet receiving interface when the breeding time exceeds the pregnancy time of the mother virtual pet.
  • the second terminal displays a child virtual pet receiving interface when breeding is successful.
  • the user can click the breeding house prop 57 that has been created to enter the breeding house interface.
  • the terminal determines information of the mother pet cat corresponding to the selected breeding house props 57 according to the user's click signal.
  • the second terminal will switch to the child's virtual pet receiving interface, which includes a "collect baby" button.
  • Step 431 The second terminal receives a collection signal triggered on the collection interface.
  • the collection signal is a click signal corresponding to a collection button in the collection interface.
  • the pick-up button may also be called other names such as a baby pick-up button, a kid pick-up button, a pet pick-up button, and the like.
  • Step 432 The second terminal displays a breeding result interface according to the receiving signal, and the breeding result interface displays a third pet image with the child's virtual pet.
  • the breeding result interface is an interface for displaying a child's virtual pet.
  • the third character image of the child's virtual pet is displayed on the breeding result interface.
  • the breeding result interface further displays: the identification of the child's virtual pet, the name of the child's virtual pet, the pairing information of the child's virtual pet, the sales information of the child's virtual pet, the career information of the child's virtual pet, and the area of the child's virtual pet. At least one of block information, an icon or logo or name of each image material of the child's virtual pet, and parental information of the child's virtual pet.
  • the father's virtual pet can be manually removed from the matching market.
  • the first terminal displays a pet display interface of the father's virtual pet, and the pet display interface displays a delisting button; receives a delisting operation triggered on the delisting button; and sends a delisting request to the game server, and the delisting request is used for Yu requested to delete his father's virtual pet in the matching market.
  • the game server detects whether the delisting meets the legality according to the delisting request, and the detection method is similar to the delisting process. When the delisting process meets the legality, the game server delists the father's virtual pet in the matching market.
  • the method provided in this embodiment selects a mother virtual pet from a virtual pet owned by a second user account of a current user by selecting a father virtual pet provided by a first user account in a matching market, and according to the father,
  • the first pet image of the virtual pet and the second pet image of the mother virtual pet are used to generate the third pet image of the child's virtual pet according to the genetic and genetic rules;
  • the breeding method by adjusting the numerical attribute parameters in the related technology can only be applied to systems with combat systems Client, so the range of use is limited; when the new virtual pet is obtained through breeding between virtual pets owned by different user accounts, the transfer of the external characteristics of the pet image is the main genetic target, which is applicable and It is compatible with breeding scenarios of various types of virtual pets, and also enriches the social forms between different user accounts.
  • a user account can use a virtual pet with scarce gene characteristics not owned by itself but owned by other accounts as a father virtual pet, and then Obtaining a child's virtual pet with scarce gene characteristics through breeding means, in addition to the purchase method, other ways to obtain virtual pets with scarce gene characteristics are added, and the sociality between different user accounts is increased.
  • the resources corresponding to the breeding house props are used to pay the transaction fee to the blockchain system. This enables the information of the child's virtual pet in this embodiment to be stored in the blockchain system and is compatible with the logic flow of the blockchain system.
  • the virtual pet is a pet cat as an example, the father virtual pet is referred to as a male cat, and the mother virtual pet is referred to as a female cat.
  • the process of pairing and breeding pet cats between different user accounts typically includes:
  • the process of putting the male cat on the shelf by the first user may include the following steps:
  • Step 11 The first game client sends a shelf request to the game server;
  • a first user account is registered in the first game client, and the first user account has at least one pet cat. All or part of the pet cats owned by the first user account have the conditions for being a male cat, for example, the gender of the pet cat is male; for example, the pet cat does not have a default gender, and the gender can be arbitrarily specified during the breeding process.
  • the first game client When the first user selects a pet cat as a male cat in the first game client, the first game client sends a racking request to the server, and the racking request carries a cat identifier of the male cat.
  • the listing request also carries a first user account number and a pairing price.
  • the pairing price is the amount of resources that other user accounts need to pay when the male cat is paired.
  • the pairing price can be arbitrarily specified by the user.
  • the pairing price may naturally decrease over time.
  • the game server receives a request for listing of the first game client.
  • Step 12 The game server detects whether the parameters are valid.
  • the game server obtains the listing parameters of the current listing according to the listing request, and detects whether the listing parameters are valid.
  • the listed parameters are at least one of the owner account of the male cat, the pairing price of the male cat, the current status of the male cat, and the mailbox status of the first user account.
  • the game server extracts the cat's cat ID from the listing request, and queries the owner's account of the male cat in the database based on the male cat's cat ID to detect whether the first user account is related to The owner account is the same; when the first user account is the owner account of the male cat, it is determined that the listing parameter is legal; otherwise, it is illegal.
  • the game server extracts the pairing price of the male cat from the listing request, and detects whether the pairing price belongs to a preset price range; when the pairing price belongs to a preset price range, determines the The parameters on the shelf are legal; otherwise they are illegal.
  • the game server extracts the cat ID of the male cat from the listing request, and queries the current status of the male cat in the database according to the cat ID of the male cat.
  • the current status includes selling, recovering, At least one of matching, breeding, transforming, and idle. When the current status is idle or transformed, it is determined that the listed parameter is legal; otherwise, it is illegal.
  • the game server extracts the first user account from the listing request, and then queries the mailbox status of the first user account in the database; when the mailbox status of the first user account is available , It is determined that the listing parameter is valid; when the mailbox status of the first user account is unavailable (for example, the mailbox capacity is full), the listing parameter is determined to be invalid.
  • step 13 When all the parameters of the current shelves are legal, proceed to step 13; when at least one of the parameters of the current shelves is invalid, the process of terminating the shelves is terminated.
  • Step 13 the game server locks the pairing
  • the game server determines that each of the listed parameters is valid, it sends a lock request to the blockchain system.
  • the lock request is used to request the blockchain system to set the male cat to enter the matching market to a locked state to prevent this. Male cats were sold or transferred during the shelves.
  • the lock request carries a cat identification of a male cat. That is, the male cat is the target of the lock this time.
  • the lock request also carries a first user account and a pairing price.
  • the blockchain system receives the lock request.
  • Step 14 The blockchain system checks the validity and locks the target
  • the blockchain system detects whether each of the listed parameters is valid according to the lock request.
  • the method of detecting each listed parameter by the blockchain system can be the same as that of the game server in step 12, or the game in step 12.
  • a subset of the detection methods of the server, for example, the blockchain system may not detect the mailbox status of the first user account.
  • the game server and the blockchain system need to be checked for legality separately.
  • the state of the male cat in the blockchain is set to the locked state.
  • the current listing process is terminated.
  • Step 15 The blockchain system sends a lock reply to the game server
  • the blockchain system sends a lock response to the game server after the male cat is set to the locked state.
  • This lock reply is used to indicate that the male cat has been set to lock successfully.
  • the lock response sent by the blockchain system to the game server carries a reason for the current listing failure.
  • Step 16 the game server deducts fees
  • Virtual resources which may be virtual currency or game currency or the like.
  • Step 17 The game server requests the blockchain system to add the male cat to the matching market.
  • the game server sends a listing request to the blockchain system, and the listing request is used to request the blockchain system to add the male cat to the matching market.
  • the listing request carries: the first user account, the cat ID of the male cat, and the pairing price.
  • the blockchain system receives a shelf request sent by a game server.
  • Step 18 The blockchain system puts the male cat on the matching market
  • the blockchain system sets the status of the male cat to pairing according to the listing request, and adds the pet's pet information and pairing price to the pairing list.
  • the pairing list is used to store the information of each pet cat listed on the pairing market.
  • Step 19 The blockchain system sends a reply to the game server to join the matching market
  • the blockchain system After the blockchain system successfully or fails to add the male cat to the matching market, the blockchain system sends a reply message to the game server, which is used to indicate the result of adding the male cat to the matching market.
  • the game server receives the reply sent by the blockchain system.
  • Step 20 The game server executes the shelves logic
  • the game server After the game server receives the result that the male cat is successfully put on the shelf, it sets the state of the male cat in the game server to pairing, and saves the pairing price of the male cat.
  • Step 21 The game server responds to the first game client with a request for listing
  • the game server After the male cat is successfully listed, the game server also responds to the first game client with a request for listing, so that the first game client can obtain or display the result of the listing.
  • a process of pairing a male cat and a female cat by a second user may include the following steps:
  • Step 22 The second game client performs pairing with the game server.
  • a second user account is logged into the second game client, and the second user account has at least one pet cat. All or part of the pet cats owned by the second user account have the conditions for being a female cat, for example, the gender of the pet cat is female; for example, the pet cat does not have a default gender, and the gender can be arbitrarily specified during the breeding process.
  • the second user When the second user wishes to obtain excellent genes of other male cats through breeding, such as scarce local feature genes or limited global features, the second user looks for male cats provided by other user accounts on the matching market. At the same time, the second user selects a pet cat as a female cat among the pet cats owned by the second user.
  • the second user searches for the male cat provided by the first user account for breeding as an example.
  • the second game client sends a pairing request to the game server, and the pairing request carries the cat identifier of the male cat and the cat identifier of the female cat.
  • the pairing request also carries a second user account.
  • Step 23 The game server checks whether the parameters are valid.
  • the game server checks whether each pairing parameter in the pairing request is valid.
  • the game server obtains each pairing parameter according to the cat identification of the male cat, the cat identification of the female cat, and the second user account, and detects the validity of each pairing parameter.
  • the pairing parameters include at least one of the following parameters: the owner account of the female cat, the pairing price of the male cat, the current status of the male cat and the female cat, whether the male cat and the female cat have a close relationship, and whether the second user account has sufficient Available breeding house props.
  • the game server extracts the female cat's cat ID from the pairing request, queries the female cat's owner account in the database based on the female cat's cat ID, and checks whether the second user account is associated with The owner account is the same; when the second user account is the owner's account of the female cat, it is determined that the pairing parameter is legal; otherwise, it is illegal.
  • the game server extracts the pairing price of the male cat from the pairing request to detect whether the pairing price belongs to a preset price range; when the pairing price belongs to a preset price range, determine the The pairing parameters are legal; otherwise they are illegal.
  • the game server extracts the cat IDs of the male cat and the female cat from the pairing request, and queries the current status of the two cats in the database according to the cat IDs of the male cat and the female cat.
  • the current status includes at least one of being sold, restored, matched, breeding, transformed, and idle.
  • the game server extracts the cat IDs of the male cat and the female cat from the pairing request, and queries the genealogy information of the two cats in the database according to the cat IDs of the male cat and the female cat. Based on the genealogical information, determine whether the two cats are close relatives.
  • the close relationship refers to the fact that the father's virtual pet and the mother's virtual pet do not have a direct blood relationship within three generations. Illustratively, no reproduction can be performed between the virtual pet of the parent / mother and the virtual pet of the child / female, and no reproduction can be performed between the virtual pet of the same parent and child / female.
  • the game server extracts the second user account from the pairing request, queries the database for the item information owned by the second user account in the database according to the second user account, and according to the props The information determines whether the second user account has a breeding house in the available state and the number of the breeding house reaches a predetermined number. When a sufficient number of breeding house props are available, the pairing parameter is determined to be legal; otherwise it is illegal.
  • step 24 when at least one parameter of each pairing parameter of this pairing is illegal, the pairing process is terminated.
  • Step 24 the game server locks the target to the blockchain system
  • the game server determines that each pairing parameter of this pairing is legal, it sends a lock request to the blockchain system.
  • the lock request is used to request the blockchain system to set the male and female cats to be paired to the locked state. Prevent the male and female cats from being sold or transferred during the pairing process, or the male cats have been locked by other users.
  • the lock request carries a cat identifier of a male cat and a cat identifier of a female cat.
  • the male cat and the female cat are the target of the lock.
  • the lock request also carries a first user account and a pairing price.
  • Step 25 The blockchain system checks the validity and locks the target
  • the blockchain system detects whether each pairing parameter of this pairing is valid according to the lock request.
  • the detection method of each pairing parameter by the blockchain system may be the same as that of the game server in step 23, or it may be the one in step 23. A subset of the detection methods of the game server.
  • the game server and the blockchain system are required to perform legality checks separately.
  • the state of the male cat and the female cat in the blockchain is set to a locked state.
  • the pairing process is terminated.
  • Step 26 The blockchain system returns a lock target to the game server
  • the blockchain system sends the lock response to the game server after the male and female cats are set to the locked state.
  • This lock reply is used to indicate that the male and female cats have been set to successfully lock.
  • the lock response sent by the blockchain system to the game server carries the reason for the pairing failure.
  • Step 27 The game server deducts fees
  • Virtual resources which may be resources such as virtual currency or game currency.
  • the game server also deducts the breeding house props required for this breeding from the props corresponding to the second user account. All or part of the resources corresponding to the breeding house props are used to pay transaction fees.
  • the game server deducts the resource corresponding to the pairing price from the account corresponding to the second user account, and the resource corresponding to the pairing price is used to pay the first user who provides the male cat when the new kitten breeds successfully. account number.
  • Step 28 the game server performs pairing to the blockchain system
  • the pairing request When the game server sends a pairing request to the blockchain system, the pairing request carries the cat identification of the male cat and the female cat. Optionally, the pairing request also carries a second user account.
  • Step 29 The blockchain system removes the male cat from the matching market, and the female cat changes the status
  • the blockchain system changes the state of the male cat in the blockchain from pairing to other states, such as idle.
  • the blockchain system also changes the status of the female cat in the blockchain from other states to breeding.
  • the blockchain system then deletes the male cat from the pairing list, which is used to store information about pet cats that are in a pairing state on the pairing market.
  • Step 30 The blockchain system responds to the game server to perform pairing
  • the blockchain system responds to the game server with the results of performing the pairing.
  • the blockchain system sends information to the game server that pairing has been successfully performed.
  • Step 31 The game server issues resources to the male cat side, and the female cat side changes state;
  • the game server After the blockchain system successfully performs pairing, the game server changes the state of the male cat in the database from pairing to other states, such as idle. The game server also changes the status of the female cat in the database from other states to breeding, and starts counting the breeding time.
  • the game server generates a third virtual image of the kitten according to the genetic inheritance rule according to the first pet image of the male cat and the second pet image of the female cat.
  • the pet image may be a 3D pet including multiple 3D image materials. Image.
  • the game server sends a pairing resource to the first game client corresponding to the male cat.
  • the pairing resource is a virtual resource provided by the second user account, and the pairing resource is used to give the first user account when the kitten is successfully bred. Offered rewards.
  • the game server will set the owner of the new kitten as the second user account.
  • the game server sends a pairing resource to the first game client corresponding to the male cat in the form of an email, and the first user obtains the rewarded pairing resource by receiving the email.
  • Step 32 The game server replies to the second game client to perform pairing.
  • the game server sends the cat's cat identification and gene sequence to the second game client, and the second game client sends the kitten's cat identification and gene sequence to The second user displays the third pet image of the kitten.
  • the process of removing the male cat from the first user may include the following steps:
  • Step 33 The first game client sends a delisting request to the game server;
  • Delisting refers to the operation of removing male cats from the matching market to prevent the male cats from being paired on the matching market. After the first user puts the male cat on the matching market, in addition to the normal pairing that will result in the removal, there are two other ways to remove the cat:
  • the game server After the male cat is put on the matching market, the game server will time the male cat on the shelf. When the timing reaches a preset time (such as 2 hours), the game server will actively remove the male cat from the matching market. .
  • a preset time such as 2 hours
  • the first game client sends a delisting request to the game server, and the delisting request carries a cat identifier of a male cat.
  • the delisting request also carries a first user account.
  • Step 34 The game server detects whether the parameters are valid.
  • the game server obtains the delisting parameters of the delisting according to the delisting request, and detects whether the delisting parameters are legal.
  • the delisting parameter at least one of the owner account of the male cat and the current status of the male cat.
  • the game server extracts the cat ID of the male cat from the delisting request, queries the owner account of the male cat in the database according to the cat ID of the male cat, and checks whether the first user account Same as the owner account; when the first user account is the owner account of the male cat, it is determined that the delisting parameter is legal; otherwise, it is illegal.
  • the game server extracts the cat ID of the male cat from the delisting request, and queries the current status of the male cat in the database according to the cat ID of the male cat. , At least one of matching, breeding, transforming, and idle.
  • the current status is idle or transformed, it is determined that the delisting parameter is legal; otherwise, it is illegal.
  • step 35 When all the delisting parameters of this delisting process are legal, proceed to step 35; when at least one parameter of each of the delisting parameters of this delisting process is illegal, the delisting process is terminated.
  • Step 35 The game server requests the blockchain system to revoke the male cat from the matching market;
  • the game server determines that each of the delisting parameters is valid, it sends a delisting request to the blockchain system.
  • the delisting request carries the cat identifier of the male cat and the first user account.
  • the blockchain system detects whether each of the delisting parameters is valid according to the lock request.
  • the blockchain system can detect each delisting parameter in the same way as the game server in step 34, or it can be step 34. A subset of the detection methods of the game server.
  • Step 36 The blockchain system deletes the male cat from the matching market
  • the pairing list is a list for storing each paired pet cat on the pairing market.
  • the blockchain system changes the state of the male cat on the blockchain from pairing to other states, such as idle.
  • Step 37 The blockchain system responds to the game server withdrawing
  • the blockchain system After the blockchain system successfully removes the male cat from the matching market, the blockchain system sends a reply to the game server to the game server, which is used to indicate the result of removing the male cat from the matching market.
  • Step 38 The game server executes conventional logic
  • the game server When the game server receives the response message sent by the blockchain system, the game server changes the state of the male cat in the database from pairing to other states, such as idle.
  • Step 39 The game server responds to the first game client withdrawing the request.
  • the game server also responds to the first game client withdrawing request, so that the first game client knows the result of removing the male cat, and displays the result of removing the male cat to the first user.
  • the device embodiments correspond to the above method embodiments one by one.
  • FIG. 15 shows a block diagram of a breeding device for a virtual pet according to an exemplary embodiment of the present application.
  • the breeding device can be implemented as part of the first client (or the first terminal) through software, hardware, or a combination of both.
  • the breeding device is provided with a virtual pet and a pet image in which at least one virtual pet exists is generated based on genetic rules
  • the device includes a first display module 920 and a first interaction module 940.
  • the first display module 920 is configured to display a matching market interface, where the matching market interface includes a virtual pet in a pairing state.
  • a first interaction module 940 is configured to select a father virtual pet in the matching market interface according to a first operation.
  • the first display module 920 is configured to display a pet breeding interface.
  • the pet breeding interface includes a father pet field and a mother pet field.
  • the father pet field displays the father virtual pet, and the father virtual field.
  • a pet is a virtual pet provided by a first user account in a matching market, and the father virtual pet has a first pet image.
  • the first interaction module 940 is configured to add a mother virtual pet to the mother pet field according to a second operation.
  • the mother virtual pet is a virtual pet owned by a second user account registered in the terminal.
  • the mother virtual pet has a second pet image.
  • the first display module 920 is configured to display a breeding result interface when the breeding is successful, the breeding result interface displays a child virtual pet, the child virtual pet has a third pet image, and the third pet image is based on The first pet image and the second pet image are generated according to the genetic rule.
  • the first interaction module 940 is further configured to receive a first operation on the pairing market interface; and according to the first operation, in the paired virtual pet, A candidate virtual pet is determined; the first display module 920 is further configured to display a pet display interface of the candidate virtual pet, the pet display interface includes a pairing button; and the first interaction module 940 is configured to receive a candidate virtual pet.
  • the trigger operation of clicking on the pairing button is described; the candidate virtual pet is determined as the father virtual pet according to the trigger operation.
  • the first interaction module 940 is further configured to receive a second operation of clicking on the mother pet field; the first display module 920 is further configured to display a pet selection interface The pet selection interface displays at least one virtual pet already owned by the second user account; the first interaction module 940 is further configured to receive a selection operation on the pet selection interface; and according to the selection operation In the at least one virtual pet, the mother virtual pet is determined; and the mother virtual pet is added to the mother pet field.
  • the first display module 920 is configured to display the child virtual pet receiving interface when the breeding time exceeds the pregnancy time of the mother virtual pet; the first interaction module 940 Is further configured to receive a pick-up signal triggered on the pick-up interface; the first display module 920 is further configured to display the breeding result interface according to the pick-up signal, and the child is displayed on the breeding result interface The third pet image of the virtual pet.
  • the first display module 920 is configured to display a purchase interface for purchasing the breeding house props when the second user account does not own the breeding house props; the breeding house The prop is a prop for providing a breeding place to the father virtual pet and the mother virtual pet; the first interaction module 940 is configured to receive a purchase signal triggered on the purchase interface; The server purchases the breeding house props.
  • the genetic rule includes at least one of an inheritance rule, a mutation rule, and a loss rule;
  • the inheritance rule means that all or part of the image material of the third pet image of the child virtual pet is copied from the first pet image and / or the second pet image;
  • the mutation rule means that the third pet image of the child's virtual pet includes image material obtained by mutation, and the image material obtained by the mutation is an image material that neither the first pet image nor the second pet image has. ;
  • the loss rule refers to an image material that does not have the global feature in the third pet image when the first pet image and / or the second pet image has the global characteristic image material, and the global
  • the characteristic image material is an integrated image material covering the body model of the virtual pet and has the highest display priority.
  • the apparatus further includes: a first sending module 960 and a first receiving module 980, as shown in FIG. 16;
  • the first sending module 960 is configured to send a breeding request to a server, where the breeding request includes information about the father's virtual pet and information about the mother's virtual pet;
  • the first receiving module 980 is configured to receive a breeding response from the server, where the breeding response includes information about the child's virtual pet.
  • FIG. 17 shows a block diagram of a breeding device for a virtual pet according to an exemplary embodiment of the present application.
  • the breeding device can be implemented as a part of the second client (or second terminal) through software, hardware, or a combination of the two.
  • the breeding device is provided with a virtual pet and a pet image in which at least one virtual pet exists is generated based on genetic rules.
  • the device includes a second display module 1120 and a second interaction module 1140.
  • the second display module 1120 is configured to display a pairing setting interface of the father's virtual pet, and the pairing setting interface is a setting interface for placing the father's virtual pet on a matching market;
  • the second interaction module 1140 is configured to obtain the number of pairing resources of the father virtual pet in the pairing setting interface
  • the second display module 1120 is further configured to display a matching market interface, where the matching market interface includes the father virtual pet in a pairing state, and the virtual pet is used for breeding with a mother virtual pet already owned by the second user account Get your child's virtual pet;
  • the virtual pet of the father has a first pet image
  • the virtual pet of the mother has a second pet image
  • the third pet image of the child virtual pet is based on the first pet image and the second pet image.
  • the genes are generated by genetic rules.
  • the device further includes: a second sending module 1160 and a second receiving module 1180, as shown in FIG. 18;
  • the second sending module 1160 is configured to send a racking request to a server, where the racking request is used to request to add the father virtual pet to the matching market;
  • the second receiving module 1180 is configured to receive a response to a request for listing sent by the server, where the request for listing includes a listing result of the father's virtual pet.
  • the apparatus further includes:
  • the second receiving module 1180 is configured to receive pairing resources provided by the second user account according to the number of pairing resources, and the pairing resources are sent when the child virtual pet is successfully bred.
  • the apparatus further includes:
  • the second display module 1120 is configured to display a pet display interface of the father's virtual pet, and the pet display interface displays a remove button;
  • the second interaction module 1140 is configured to receive a withdrawal operation triggered on the withdrawal button
  • the second sending module 1160 is configured to send a delisting request to the server, and the delisting request is used to request that the father virtual pet be deleted in the matching market.
  • FIG. 19 shows a block diagram of a breeding device for a virtual pet according to an exemplary embodiment of the present application.
  • the breeding device can be realized as all or part of a game server through software, hardware, or a combination of both.
  • the breeding device is provided with a virtual pet and a pet image in which at least one virtual pet exists is generated based on genetic rules. :
  • the third receiving module 1920 is configured to receive a breeding request sent by a terminal, where the breeding request carries information of a father's virtual pet and information of a mother's virtual pet, and the father's virtual pet is a first user account in a matching market
  • the provided virtual pet, the mother virtual pet is a virtual pet owned by a second user account logged in to the terminal, the father virtual pet has a first pet image, and the mother virtual pet has a second pet image;
  • the generating module 1940 is configured to generate a third pet image of a child virtual pet according to a genetic rule according to a first pet image of the father virtual pet and a second pet image of the mother virtual pet;
  • the third sending module 1960 is configured to send the child virtual pet information to the terminal, and the terminal is configured to display a breeding result interface according to the child virtual pet information, and the breeding result interface displays the breeding result interface.
  • the genetic rule includes at least one of an inheritance rule, a mutation rule, and a loss rule;
  • the inheritance rule includes that all or part of the image material of the third pet image is from the first pet image and / or the second pet image;
  • the mutation rule includes that all or part of the image material of the third pet image is an image material obtained by mutation, and the image material obtained by the mutation is an image that neither the first pet image nor the second pet image has. material;
  • the loss rule includes that when the first pet image and / or the second pet image has an image material with global characteristics, the third pet image does not have the image material with the global characteristics.
  • the display priority of image materials is higher than other image materials.
  • the apparatus further includes:
  • the generating module 1940 is configured to generate a child's virtual pet's first pet image according to the genetic rules according to the first pet image of the father's virtual pet and the second pet image of the mother's virtual pet when the breeding process meets the breeding conditions. Three pet images.
  • the breeding conditions include at least one of the following conditions:
  • the current user account corresponding to the terminal has a breeding house prop in an available state, and the breeding house prop is a prop for providing a breeding place to the father virtual pet and the mother virtual pet;
  • the father virtual pet and the mother virtual pet do not have a close relationship
  • the breeding time is longer than the pregnancy time corresponding to the mother's virtual pet, and the breeding time is the breeding time after the child's virtual pet starts breeding.
  • the apparatus further includes: a deduction module 1980, as shown in FIG. 19;
  • the deduction module 1980 is configured to deduct the breeding house prop from the current user account after generating the third character image.
  • FIG. 20 shows a structural block diagram of a terminal 2000 provided by an exemplary embodiment of the present application.
  • the terminal 2000 can be: smartphone, tablet, MP3 player (Moving Picture Experts Group Audio Layer III, moving image expert compression standard audio level 3), MP4 (Moving Picture Expert Experts Group Audio Audio Layer IV, moving image expert compression standard audio Level 4) Player, laptop or desktop computer.
  • the terminal 2000 may also be called other names such as user equipment, portable terminal, laptop terminal, desktop terminal, and the like.
  • the terminal 2000 may be the first terminal 120 or the second terminal 160 in FIG. 1 described above.
  • the terminal 2000 includes a processor 2001 and a memory 2002.
  • the processor 2001 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like.
  • the processor 2001 may use at least one hardware form among DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). achieve.
  • the processor 2001 may also include a main processor and a coprocessor.
  • the main processor is a processor for processing data in the wake state, also called a CPU (Central Processing Unit).
  • the coprocessor is Low-power processor for processing data in standby.
  • the processor 2001 may be integrated with a GPU (Graphics Processing Unit), and the GPU is responsible for rendering and drawing content required to be displayed on the display screen.
  • the processor 2001 may further include an AI (Artificial Intelligence) processor, and the AI processor is configured to process computing operations related to machine learning.
  • AI Artificial Intelligence
  • the memory 2002 may include one or more computer-readable storage media, which may be non-transitory.
  • the memory 2002 may also include high-speed random access memory, and non-volatile memory, such as one or more disk storage devices, flash storage devices.
  • the non-transitory computer-readable storage medium in the memory 2002 is used to store at least one instruction, and the at least one instruction is used to be executed by the processor 2001 to implement the virtual pet provided by the method embodiment in this application. Build method.
  • the terminal 2000 may optionally include a peripheral device interface 2003 and at least one peripheral device.
  • the processor 2001, the memory 2002, and the peripheral device interface 2003 may be connected through a bus or a signal line.
  • Each peripheral device can be connected to the peripheral device interface 2003 through a bus, a signal line, or a circuit board.
  • the peripheral device includes at least one of a radio frequency circuit 2004, a touch display screen 2005, a camera 2006, an audio circuit 2007, a positioning component 2008, and a power supply 2009.
  • the peripheral device interface 2003 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 2001 and the memory 2002.
  • the processor 2001, the memory 2002, and the peripheral device interface 2003 are integrated on the same chip or circuit board; in some other embodiments, any one of the processor 2001, the memory 2002, and the peripheral device interface 2003 or Two can be implemented on separate chips or circuit boards, which is not limited in this embodiment.
  • the radio frequency circuit 2004 is used to receive and transmit an RF (Radio Frequency) signal, also called an electromagnetic signal.
  • the radio frequency circuit 2004 communicates with a communication network and other communication equipment through electromagnetic signals.
  • the radio frequency circuit 2004 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals.
  • the radio frequency circuit 2004 includes an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and the like.
  • the radio frequency circuit 2004 can communicate with other terminals through at least one wireless communication protocol.
  • the wireless communication protocols include, but are not limited to, the World Wide Web, metropolitan area networks, intranets, mobile communication networks (2G, 3G, 4G, and 5G) of various generations, wireless local area networks, and / or WiFi (Wireless Fidelity) networks.
  • the radio frequency circuit 2004 may further include circuits related to NFC (Near Field Communication), which is not limited in this application.
  • the display screen 2005 is used to display a UI (User Interface).
  • the UI can include graphics, text, icons, videos, and any combination thereof.
  • the display screen 2005 also has the ability to collect touch signals on or above the surface of the display screen 2005.
  • the touch signal can be input to the processor 2001 as a control signal for processing.
  • the display screen 2005 may also be used to provide a virtual button and / or a virtual keyboard, which is also called a soft button and / or a soft keyboard.
  • the display screen 2005 may be one, and the front panel of the terminal 2000 is provided; in other embodiments, the display screen 2005 may be at least two, respectively disposed on different surfaces of the terminal 2000 or in a folded design; In still other embodiments, the display screen 2005 may be a flexible display screen disposed on a curved surface or a folded surface of the terminal 2000. Moreover, the display screen 2005 can also be set as a non-rectangular irregular figure, that is, a special-shaped screen.
  • the display screen 2005 can be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode, organic light emitting diode) and other materials.
  • the camera component 2006 is used to capture images or videos.
  • the camera assembly 2006 includes a front camera and a rear camera.
  • the front camera is set on the front panel of the terminal, and the rear camera is set on the back of the terminal.
  • the camera assembly 2006 may further include a flash.
  • the flash can be a monochrome temperature flash or a dual color temperature flash.
  • a dual color temperature flash is a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.
  • the audio circuit 2007 may include a microphone and a speaker.
  • the microphone is used to collect sound waves of the user and the environment, and convert the sound waves into electrical signals and input them to the processor 2001 for processing, or input them to the radio frequency circuit 2004 to implement voice communication.
  • the microphone can also be an array microphone or an omnidirectional acquisition microphone.
  • the speaker is used to convert electrical signals from the processor 2001 or the radio frequency circuit 2004 into sound waves.
  • the speaker can be a traditional film speaker or a piezoelectric ceramic speaker.
  • the speaker When the speaker is a piezoelectric ceramic speaker, it can not only convert electrical signals into sound waves audible to humans, but also convert electrical signals into sound waves inaudible to humans for ranging purposes.
  • the audio circuit 2007 may further include a headphone jack.
  • the positioning component 2008 is used to locate the current geographic position of the terminal 2000 to implement navigation or LBS (Location Based Service).
  • the positioning component 2008 may be a positioning component based on the US GPS (Global Positioning System), the Beidou system in China, or the Galileo system in Russia.
  • the power source 2009 is used to power various components in the terminal 2000.
  • the power source 2009 may be an alternating current, a direct current, a disposable battery, or a rechargeable battery.
  • the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery.
  • the wired rechargeable battery is a battery charged through a wired line
  • the wireless rechargeable battery is a battery charged through a wireless coil.
  • the rechargeable battery can also be used to support fast charging technology.
  • the terminal 2000 further includes one or more sensors 2010.
  • the one or more sensors 2010 include, but are not limited to, an acceleration sensor 2011, a gyroscope sensor 2012, a pressure sensor 2013, a fingerprint sensor 2014, an optical sensor 2015, and a proximity sensor 2016.
  • the acceleration sensor 2011 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal 2000.
  • the acceleration sensor 2011 can be used to detect the components of the acceleration of gravity on three coordinate axes.
  • the processor 2001 may control the touch display screen 2005 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 2011.
  • the acceleration sensor 2011 can also be used for collecting motion data of a game or a user.
  • the gyro sensor 2012 can detect the body direction and rotation angle of the terminal 2000, and the gyro sensor 2012 can cooperate with the acceleration sensor 2011 to collect the 3D motion of the user on the terminal 2000. Based on the data collected by the gyro sensor 2012, the processor 2001 can implement the following functions: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
  • motion sensing such as changing the UI according to the user's tilt operation
  • image stabilization during shooting game control
  • game control and inertial navigation.
  • the pressure sensor 2013 may be disposed on a side frame of the terminal 2000 and / or a lower layer of the touch display screen 2005.
  • a user's holding signal to the terminal 2000 can be detected, and the processor 2001 performs left-right hand recognition or quick operation according to the holding signal collected by the pressure sensor 2013.
  • the processor 2001 controls the operability controls on the UI interface according to the user's pressure operation on the touch display screen 2005.
  • the operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
  • the fingerprint sensor 2014 is used to collect a user's fingerprint, and the processor 2001 recognizes the identity of the user based on the fingerprint collected by the fingerprint sensor 2014, or the fingerprint sensor 2014 recognizes the identity of the user based on the collected fingerprint. When identifying the user's identity as a trusted identity, the processor 2001 authorizes the user to perform related sensitive operations, which include unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings.
  • the fingerprint sensor 2014 may be provided on the front, back, or side of the terminal 2000. When a physical button or a manufacturer's logo is set on the terminal 2000, the fingerprint sensor 2014 can be integrated with the physical button or the manufacturer's logo.
  • the optical sensor 2015 is used to collect ambient light intensity.
  • the processor 2001 may control the display brightness of the touch display screen 2005 according to the ambient light intensity collected by the optical sensor 2015. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 2005 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 2005 is decreased.
  • the processor 2001 may also dynamically adjust the shooting parameters of the camera assembly 2006 according to the ambient light intensity collected by the optical sensor 2015.
  • the proximity sensor 2016, also called a distance sensor, is usually provided on the front panel of the terminal 2000.
  • the proximity sensor 2016 is used to collect the distance between the user and the front side of the terminal 2000.
  • the processor 2001 controls the touch display screen 2005 to switch from the bright screen state to the closed screen state; when the proximity sensor 2016 detects When the distance between the user and the front side of the terminal 2000 gradually becomes larger, the touch display screen 2005 is controlled by the processor 2001 to switch from the rest screen state to the bright screen state.
  • FIG. 20 does not constitute a limitation on the terminal 2000, and may include more or fewer components than shown in the figure, or combine certain components, or adopt different component arrangements.
  • the present application also provides a computer-readable storage medium.
  • the computer-readable storage medium stores at least one instruction, at least one program, code set, or instruction set, the at least one instruction, the at least one program, or the instruction set.
  • the code set or instruction set is loaded and executed by the processor to implement the breeding method of the virtual pet provided by the foregoing method embodiment.
  • FIG. 21 is a schematic structural diagram of a server according to an embodiment of the present application.
  • the server 2100 includes a central processing unit (English: Central Processing Unit, referred to as CPU) 2101, including a random access memory (English: random access memory, referred to as RAM) 2102 and a read-only memory (English: read-only memory (abbreviation: ROM) 2103 is a system memory 2104, and a system bus 2105 is connected between the system memory 2104 and the central processing unit 2101.
  • the server 2100 also includes a basic input / output system (I / O system) 2106 that helps transfer information between various devices in the computer, and a large-capacity storage for storing the operating system 2113, the client 2114, and other program modules 2115.
  • the basic input / output system 2106 includes a display 2108 for displaying information and an input device 2109 such as a mouse, a keyboard, or the like for a user to input information.
  • the display 2108 and the input device 2109 are both connected to the central processing unit 2101 through an input / output controller 2110 connected to a system bus 2105.
  • the basic input / output system 2106 may further include an input / output controller 2110 for receiving and processing input from a plurality of other devices such as a keyboard, a mouse, or an electronic stylus.
  • the input / output controller 2110 also provides output to a display screen, printer, or other type of output device.
  • the mass storage device 2107 is connected to the central processing unit 2101 through a mass storage controller (not shown) connected to the system bus 2105.
  • the mass storage device 2107 and its associated computer-readable medium provide non-volatile storage for the server 2100. That is, the mass storage device 2107 may include a computer-readable medium (not shown) such as a hard disk or a Read-Only Memory (CD-ROM) drive.
  • a computer-readable medium such as a hard disk or a Read-Only Memory (CD-ROM) drive.
  • Computer-readable media may include computer storage media and communication media.
  • Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules or other data.
  • Computer storage media include RAM, ROM, erasable programmable read-only memory (English: erasable, programmable, read-only memory, abbreviation: EPROM), electrically erasable programmable read-only memory (English: electrically, erasable, programmable, read-only memory) , Referred to as: EEPROM), flash memory or other solid-state storage technologies, CD-ROM, Digital Versatile Disc (English: DVD) or other optical storage, tape cartridges, magnetic tapes, disk storage or other magnetic storage devices. Of course, those skilled in the art may know that the computer storage medium is not limited to the foregoing.
  • the above-mentioned system memory 2104 and mass storage device 2107 may be collectively referred to as a memory.
  • the server 2100 may also be operated by a remote computer connected to a network through a network such as the Internet. That is, the server 2100 can be connected to the network 2112 through the network interface unit 2111 connected to the system bus 2105, or the network interface unit 2111 can also be used to connect to other types of networks or remote computer systems (not shown). .
  • the present application also provides a computer program product that, when running on an electronic device, causes the electronic device to execute the method for breeding a virtual pet described in each of the above method embodiments.
  • the computer-readable instructions may be stored in a computer In the read storage medium, the aforementioned storage medium may be a read-only memory, a magnetic disk, or an optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • General Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Processing Or Creating Images (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

一种虚拟宠物的繁育方法,包括:显示配对市场界面,配对市场界面包括处于配对状态的虚拟宠物;根据第一操作在配对市场界面中选择父亲虚拟宠物;显示宠物繁育界面,宠物繁育界面包括父亲宠物栏位和母亲宠物栏位,父亲宠物栏位中显示有具有第一宠物形象的父亲虚拟宠物;根据第二操作在母亲宠物栏位中添加具有第二宠物形象的母亲虚拟宠物;在繁育成功时显示繁育结果界面,繁育结果界面显示有孩子虚拟宠物,孩子虚拟宠物的第三宠物形象是根据第一宠物形象和第二宠物形象按照基因遗传规则生成的。

Description

虚拟宠物的繁育方法、装置、设备及存储介质
本申请要求于2018年08月24日提交中国专利局,申请号为201810973797.1,申请名称为“虚拟宠物的繁育方法、装置、设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及计算机图形学领域,特别涉及一种虚拟宠物的繁育方法、装置、设备及存储介质。
背景技术
某些客户端中提供有虚拟宠物,虚拟宠物可以是各种动物形象或动漫形象。
玩家可以通过繁育方式来获取新的虚拟宠物。相关技术中,父亲虚拟宠物和母亲虚拟宠物拥有各自的数值属性参数,该数值属性参数包括生命值、战斗力、防御值、寿命值、宠物等级、快乐值中的至少一种。当父亲虚拟宠物和母亲虚拟宠物进行配对和繁育时,基于父母亲的数值属性参数进行调整,得到孩子虚拟宠物的数值属性参数,从而生成孩子虚拟宠物。比如,父亲虚拟宠物是凤凰A,具有战斗力10000和防御值8000;母亲虚拟宠物是凤凰B,具有战斗力8000和防御值10000,则孩子虚拟宠物可以是凤凰C,具有战斗力10000和防御值10000。
通过调整数值属性参数的繁育方式,只能适用于具有战斗系统的游戏客户端中而不适用于其它类型的游戏客户端,适用范围有限。
发明内容
一种虚拟宠物的繁育方法,由第二终端执行,所述第二终端提供有虚拟宠物且存在至少一个所述虚拟宠物的宠物形象是基于基因遗传规则生成的,所述方法包括:
显示配对市场界面,所述配对市场界面包括处于配对状态的虚拟宠物;
根据第一操作在所述配对市场界面中选择父亲虚拟宠物;
显示宠物繁育界面,所述宠物繁育界面包括父亲宠物栏位和母亲宠物栏位,所述父亲宠物栏位中显示有所述父亲虚拟宠物,所述父亲虚拟宠物是在配对市场上由第一用户帐号提供的虚拟宠物,所述父亲虚拟宠物具有第一宠物形象;
根据第二操作在所述母亲宠物栏位中添加母亲虚拟宠物,所述母亲虚拟宠物是所述终端中登录的第二用户帐号已拥有的虚拟宠物,所述母亲虚拟宠物具有第二宠物形象;及
在繁育成功时显示繁育结果界面,所述繁育结果界面显示有孩子虚拟宠物,所述孩子虚拟宠物具有第三宠物形象,所述第三宠物形象是根据所述第一宠物形象和所述第二宠物形象按照所述基因遗传规则生成的。
一种虚拟宠物的繁育方法,由第一终端执行,所述第一终端提供有虚拟宠物且存在至少一个所述虚拟宠物的宠物形象是基于基因遗传规则生成的,所述方法包括:
显示父亲虚拟宠物的配对设置界面,所述配对设置界面是用于将所述父亲虚拟宠物上架至配对市场的设置界面;
在所述配对设置界面中获取所述父亲虚拟宠物的配对资源数量;
显示配对市场界面,所述配对市场界面包括处于配对状态的所述父亲虚拟宠物,所述父亲虚拟宠物用于与第二用户帐号已拥有的母亲虚拟宠物繁育得到孩子虚拟宠物;及
其中,所述父亲虚拟宠物具有第一宠物形象,所述母亲虚拟宠物具有第二宠物形象,所述孩子虚拟宠物的第三宠物形象是根据所述第一宠物形象和所述第二宠物形象按照所述基因遗传规则生成的。
一种虚拟宠物的繁育方法,由服务器执行,所述方法包括:
接收终端发送的繁育请求,所述繁育请求携带有父亲虚拟宠物的信息和母亲虚拟宠物的信息,所述父亲虚拟宠物是在配对市场上由第一用户帐号提供的虚拟宠物,所述母亲虚拟宠物是所述终端中登录的第二用户帐号拥有的虚拟宠物,所述父亲虚拟宠物具有第一宠物形象,所述母亲虚拟宠物具有第二宠物形象;
根据所述父亲虚拟宠物的第一宠物形象和所述母亲虚拟宠物的第二宠物形象,按照遗传规则生成孩子虚拟宠物的第三宠物形象;
向所述终端发送所述孩子虚拟宠物的信息,所述终端用于根据所述孩子虚拟宠物的信息显示繁育结果界面,所述繁育结果界面显示有所述孩子虚拟宠物的第三宠物形象。
一种虚拟宠物的繁育装置,所述装置提供有虚拟宠物且存在至少一个所述虚拟宠物的宠物形象是基于基因遗传规则生成的,所述装置包括:
第一显示模块,用于显示配对市场界面,所述配对市场界面包括处于配对状态的虚拟宠物;
第一交互模块,用于根据第一操作在所述配对市场界面中选择父亲虚拟宠物;
所述第一显示模块,用于显示宠物繁育界面,所述宠物繁育界面包括父亲宠物栏位和母亲宠物栏位,所述父亲宠物栏位中显示有所述父亲虚拟宠物,所述父亲虚拟宠物是在配对市场上由第一用户帐号提供的虚拟宠物,所述父亲虚拟宠物具有第一宠物形象;
所述第一交互模块,用于根据第二操作在所述母亲宠物栏位中添加母亲虚拟宠物,所述母亲虚拟宠物是所述终端中登录的第二用户帐号已拥有的虚拟宠物,所述母亲虚拟宠物具有第二宠物形象;及
所述第一显示模块,用于在繁育成功时显示繁育结果界面,所述繁育结果界面显示有孩子虚拟宠物,所述孩子虚拟宠物具有第三宠物形象,所述第三宠物形象是根据所述第一宠物形象和所述第二宠物形象按照所述基因遗传规则生成的。
一种虚拟宠物的繁育装置,所述装置提供有虚拟宠物且存在至少一个所述虚拟宠物的宠物形象是基于基因遗传规则生成的,所述装置包括:
第二显示模块,用于显示父亲虚拟宠物的配对设置界面,所述配对设置界面是用于将所述父亲虚拟宠物上架至配对市场的设置界面;
第二交互模块,用于在所述配对设置界面中获取所述父亲虚拟宠物的配对资源数量;
所述第二显示模块,用于显示配对市场界面,所述配对市场界面包括处于配对状态的所述父亲虚拟宠物,所述父亲虚拟宠物用于与第二用户帐号已拥有的母亲虚拟宠物繁育得到孩子虚拟宠物;及
其中,所述父亲虚拟宠物具有第一宠物形象,所述母亲虚拟宠物具有第 二宠物形象,所述孩子虚拟宠物的第三宠物形象是根据所述第一宠物形象和所述第二宠物形象按照所述基因遗传规则生成的。
一种虚拟宠物的繁育装置,所述装置包括:
第三接收模块,用于接收终端发送的繁育请求,所述繁育请求携带有父亲虚拟宠物的信息和母亲虚拟宠物的信息,所述父亲虚拟宠物是在配对市场上由第一用户帐号提供的虚拟宠物,所述母亲虚拟宠物是所述终端中登录的第二用户帐号拥有的虚拟宠物,所述父亲虚拟宠物具有第一宠物形象,所述母亲虚拟宠物具有第二宠物形象;
生成模块,用于根据所述父亲虚拟宠物的第一宠物形象和所述母亲虚拟宠物的第二宠物形象,按照遗传规则生成孩子虚拟宠物的第三宠物形象;及
第三发送模块,用于向所述终端发送所述孩子虚拟宠物的信息,所述终端用于根据所述孩子虚拟宠物的信息显示繁育结果界面,所述繁育结果界面显示有所述孩子虚拟宠物的第三宠物形象。
一种终端,所述终端包括存储器和处理器;所述终端提供有虚拟宠物且存在至少一个所述虚拟宠物的宠物形象是基于基因遗传规则生成的;
所述存储器中存储有至少一条计算机可读指令,所述至少一条计算机可读指令由所述处理器加载并执行以下步骤:
显示配对市场界面,所述配对市场界面包括处于配对状态的虚拟宠物;
根据第一操作在所述配对市场界面中选择父亲虚拟宠物;
显示宠物繁育界面,所述宠物繁育界面包括父亲宠物栏位和母亲宠物栏位,所述父亲宠物栏位中显示有所述父亲虚拟宠物,所述父亲虚拟宠物是在配对市场上由第一用户帐号提供的虚拟宠物,所述父亲虚拟宠物具有第一宠物形象;
根据第二操作在所述母亲宠物栏位中添加母亲虚拟宠物,所述母亲虚拟宠物是所述终端中登录的第二用户帐号已拥有的虚拟宠物,所述母亲虚拟宠物具有第二宠物形象;及
在繁育成功时显示繁育结果界面,所述繁育结果界面显示有孩子虚拟宠物,所述孩子虚拟宠物具有第三宠物形象,所述第三宠物形象是根据所述第一宠物形象和所述第二宠物形象按照所述基因遗传规则生成的。
一种终端,所述终端包括存储器和处理器;所述终端提供有虚拟宠物且 存在至少一个所述虚拟宠物的宠物形象是基于基因遗传规则生成的;
所述存储器中存储有至少一条计算机可读指令,所述至少一条计算机可读指令由所述处理器加载并执行以下步骤:
显示父亲虚拟宠物的配对设置界面,所述配对设置界面是用于将所述父亲虚拟宠物上架至配对市场的设置界面;
在所述配对设置界面中获取所述父亲虚拟宠物的配对资源数量;
显示配对市场界面,所述配对市场界面包括处于配对状态的所述父亲虚拟宠物,所述父亲虚拟宠物用于与第二用户帐号已拥有的母亲虚拟宠物繁育得到孩子虚拟宠物;及
其中,所述父亲虚拟宠物具有第一宠物形象,所述母亲虚拟宠物具有第二宠物形象,所述孩子虚拟宠物的第三宠物形象是根据所述第一宠物形象和所述第二宠物形象按照所述基因遗传规则生成的。
一种服务器,所述终端包括存储器和处理器;所述存储器中存储有至少一条计算机可读指令,所述至少一条计算机可读指令由所述处理器加载并执行以下步骤:
接收终端发送的繁育请求,所述繁育请求携带有父亲虚拟宠物的信息和母亲虚拟宠物的信息,所述父亲虚拟宠物是在配对市场上由第一用户帐号提供的虚拟宠物,所述母亲虚拟宠物是所述终端中登录的第二用户帐号拥有的虚拟宠物,所述父亲虚拟宠物具有第一宠物形象,所述母亲虚拟宠物具有第二宠物形象;
根据所述父亲虚拟宠物的第一宠物形象和所述母亲虚拟宠物的第二宠物形象,按照遗传规则生成孩子虚拟宠物的第三宠物形象;及
向所述终端发送所述孩子虚拟宠物的信息,所述终端用于根据所述孩子虚拟宠物的信息显示繁育结果界面,所述繁育结果界面显示有所述孩子虚拟宠物的第三宠物形象。
一种计算机可读存储介质,所述计算机可读存储介质中存储有至少一条计算机可读指令,所述至少一条计算机可读指令由处理器加载并执行以下步骤:
显示配对市场界面,所述配对市场界面包括处于配对状态的虚拟宠物;
根据第一操作在所述配对市场界面中选择父亲虚拟宠物;
显示宠物繁育界面,所述宠物繁育界面包括父亲宠物栏位和母亲宠物栏位,所述父亲宠物栏位中显示有所述父亲虚拟宠物,所述父亲虚拟宠物是在配对市场上由第一用户帐号提供的虚拟宠物,所述父亲虚拟宠物具有第一宠物形象;
根据第二操作在所述母亲宠物栏位中添加母亲虚拟宠物,所述母亲虚拟宠物是所述终端中登录的第二用户帐号已拥有的虚拟宠物,所述母亲虚拟宠物具有第二宠物形象;及
在繁育成功时显示繁育结果界面,所述繁育结果界面显示有孩子虚拟宠物,所述孩子虚拟宠物具有第三宠物形象,所述第三宠物形象是根据所述第一宠物形象和所述第二宠物形象按照基因遗传规则生成的。
一种计算机可读存储介质,所述计算机可读存储介质中存储有至少一条计算机可读指令,所述至少一条计算机可读指令由处理器加载并执行以下步骤:
显示父亲虚拟宠物的配对设置界面,所述配对设置界面是用于将所述父亲虚拟宠物上架至配对市场的设置界面;
在所述配对设置界面中获取所述父亲虚拟宠物的配对资源数量;
显示配对市场界面,所述配对市场界面包括处于配对状态的所述父亲虚拟宠物,所述父亲虚拟宠物用于与第二用户帐号已拥有的母亲虚拟宠物繁育得到孩子虚拟宠物;及
其中,所述父亲虚拟宠物具有第一宠物形象,所述母亲虚拟宠物具有第二宠物形象,所述孩子虚拟宠物的第三宠物形象是根据所述第一宠物形象和所述第二宠物形象按照所述基因遗传规则生成的。
一种计算机可读存储介质,所述计算机可读存储介质中存储有至少一条计算机可读指令,所述至少一条计算机可读指令由处理器加载并执行以下步骤:
接收终端发送的繁育请求,所述繁育请求携带有父亲虚拟宠物的信息和母亲虚拟宠物的信息,所述父亲虚拟宠物是在配对市场上由第一用户帐号提供的虚拟宠物,所述母亲虚拟宠物是所述终端中登录的第二用户帐号拥有的虚拟宠物,所述父亲虚拟宠物具有第一宠物形象,所述母亲虚拟宠物具有第二宠物形象;
根据所述父亲虚拟宠物的第一宠物形象和所述母亲虚拟宠物的第二宠物形象,按照遗传规则生成孩子虚拟宠物的第三宠物形象;及
向所述终端发送所述孩子虚拟宠物的信息,所述终端用于根据所述孩子虚拟宠物的信息显示繁育结果界面,所述繁育结果界面显示有所述孩子虚拟宠物的第三宠物形象。
附图说明
下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请一个示例性实施例提供的计算机系统的结构框图;
图2是本申请一个示例性实施例提供的服务器集群的结构框图;
图3是本申请一个示例性实施例提供的虚拟宠物的繁育方法的流程图;
图4是本申请一个示例性实施例提供的配对猫市场的界面示意图;
图5是本申请一个示例性实施例提供的宠物繁育界面的界面示意图;
图6是本申请一个示例性实施例提供的添加母亲虚拟宠物的界面示意图;
图7是本申请另一个示例性实施例提供的领取孩子虚拟宠物的界面示意图;
图8是本申请一个示例性实施例所提供的虚拟宠物的繁育方法的示意图;
图9是本申请另一个示例性实施例提供的虚拟宠物的繁育方法的流程图;
图10是本申请另一个示例性实施例提供的显示市场配对界面的流程示意图;
图11是本申请另一个示例性实施例提供的添加父亲虚拟宠物的界面示意图;
图12是本申请另一个示例性实施例提供的虚拟宠物的繁育方法的上架流程图;
图13是本申请另一个示例性实施例提供的虚拟宠物的繁育方法的配对 流程图;
图14是本申请另一个示例性实施例提供的虚拟宠物的繁育方法的下架流程图;
图15是本申请一个示例性实施例提供的虚拟宠物的繁育装置的框图;
图16是本申请另一个示例性实施例提供的虚拟宠物的繁育装置的框图;
图17是本申请另一个示例性实施例提供的虚拟宠物的繁育装置的框图;
图18是本申请一个示例性实施例提供的虚拟宠物的繁育装置的框图;
图19是本申请一个示例性实施例提供的虚拟宠物的繁育装置的框图;
图20是本申请另一个示例性实施例提供的终端的结构框图;
图21是本申请另一个示例性实施例提供的服务器的结构框图。
具体实施方式
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。
虚拟宠物:是以卡通形式和动物形式中的至少一种的宠物形象进行呈现的数字宠物。该虚拟宠物是二维数字宠物或三维数字宠物,比如,虚拟宠物是以卡通猫形式的宠物形象进行呈现的三维虚拟宠物。可选地,存在一部分虚拟宠物的宠物形象是随机生成的,比如0代虚拟宠物的宠物形象是随机生成的;存在一部分虚拟宠物的宠物形象是根据父母亲虚拟宠物和/或其他祖辈虚拟宠物的宠物形象按照基因遗传规则生成的,比如除0代虚拟宠物之外的后代虚拟宠物的宠物形象是按照基因遗传规则生成的。可选地,每只虚拟宠物都有独一无二的基因序列,该基因序列包括用于确定虚拟宠物的宠物形象的生成参数,基因序列也称形象参数。
在一些实施例中,每只虚拟宠物的宠物信息存储在区块链系统上,经过区块链系统上的多个节点的共识机制进行存储和认证。宠物信息至少包括:虚拟宠物的独一无二的基因序列,还可选包括:虚拟宠物的标识、虚拟宠物的父母亲信息、虚拟宠物的代际信息、虚拟宠物的族谱信息、虚拟宠物的历史交易流水信息、虚拟宠物的历史生涯事件信息和虚拟宠物的其它信息中的至少一种。由于每只虚拟宠物的基因序列是独一无二的,而且在区块链系统 上存储的信息是真实和唯一的,因此虚拟宠物具有收藏属性。同时,由于虚拟宠物的宠物信息是存储在区块链系统上的,即便虚拟宠物是设计在第一客户端中使用的数字宠物,也可以方便地迁移到第二客户端中进行使用。第一客户端和第二客户端是不同的客户端。
在一些实施例中,虚拟宠物是终端中运行的客户端(或称应用程序)所展示的数字宠物。该客户端包括如下功能中的至少一项:抓取虚拟宠物、生成虚拟宠物、繁育虚拟宠物、交易虚拟宠物、使用虚拟宠物进行战斗、使用虚拟宠物进行增强现实(Augmented Reality,AR)互动、使用虚拟宠物进行社交、使用虚拟宠物进行AR教育。在另一些实施例中,该客户端是基于区块链系统进行虚拟宠物的获取、繁育和/或交易的客户端。在另一些实施例中,该客户端是基于地理位置的社交游戏程序,该社交游戏程序提供有利用虚拟宠物进行收藏、成长和/或战斗中的至少一种功能。
在一些实施例中,客户端具有使用虚拟宠物进行战斗的功能。此时,基因序列会决定虚拟宠物所具有的特征。上述特征可以包括:外在特征和/或内在特征。
外在特征是指体现虚拟宠物的宠物形象的特征。可选地,虚拟宠物包括皮肤、斑纹、耳朵、胡须、花纹、眼睛和嘴巴等不同身体部位,每一个身体部位均可以有多种不同的外在特征。上述外在特征可以包括颜色、形状、纹理等可见特征。例如,皮肤的外在特征可以包括白色皮肤、红色皮肤、橙色皮肤、黄色皮肤、绿色皮肤、青色皮肤、蓝色皮肤和紫色皮肤等不同颜色。又例如,耳朵的外在特征可以包括长耳、短耳、卷耳、折耳、正常耳等不同形状。
内在特征是指体现虚拟宠物的内在属性的特征。例如,内在属性可以包括智力值、攻击力值、防御力值、灵力值、魔力值、力量值、耐力值、敏捷度值、潜力值、速度值、寿命值等多种不同的属性。
虚拟宠物的基因序列:包括用于生成虚拟宠物的宠物形象的一组参数值,也称形象参数。以虚拟宠物是3D虚拟宠物为例,每个虚拟宠物的宠物形象包括多个类型的3D形象素材,每个类型的3D形象素材对应不同的角色部位和/或纹理层次,每个3D形象素材对应一个素材标识,每一类型的3D素材标识可视为基因序列中的一个参数值。示意性的,若一个3D虚拟宠物的3D 身体模型是相同的,则3D虚拟宠物的宠物形象至少包括8种3D形象素材(也称局部特征):3D身体模型、耳朵模型、皮肤素材、眼睛素材、鼻子素材、嘴巴素材、胡须素材、身体斑纹素材、胸腹部花纹素材。可选地,3D虚拟宠物的宠物形象还可选包括:尾巴素材、外部挂件素材和全局特征。尾巴素材是用于确定虚拟宠物的尾巴模型的特征,比如当宠物形象是动物类型时,尾巴素材是细长尾巴或短粗尾巴;外部挂件素材是用于确定虚拟宠物的配饰的特征,配饰包括但不限于背包、眼镜、手持道具、腰带、衣服、帽子、鞋子和头部饰品中的至少一种;全局特征是用于覆盖在虚拟宠物的身体模型的整体化形象特征,且具有最高的显示优先级。当目标形象参数中包括全局特征时,全局特征会覆盖局部特征进行完整的显示,也即局部特征会隐藏不显示。比如当某一个宠物猫具有超人全局特征时,不会显示本身的猫形象,而是显示一个具有超人外表的宠物形象或者一个具有机器人外表的宠物形象。
对应地,基因序列包括:全局特征参数、皮肤纹理特征参数、皮肤颜色特征参数、肚皮纹理特征参数、肚皮颜色特征参数、眼睛纹理特征参数、眼睛颜色特征参数、嘴巴纹理特征参数、嘴巴颜色特征参数、胡须纹理特征参数、胡须颜色特征参数、耳朵特征参数、尾巴特征参数、挂件特征参数中的至少一种。基因序列可采用多个按序排列的键值对进行表示,该键值对可采用(基因名,参数值)的形式。在一个示意性的例子中,基因序列被表示为Gene=[(3D身体模型特征,默认),(皮肤特征,光滑),(肚皮特征,花纹1),(嘴巴纹理特征,小虎牙1),(嘴巴颜色特征,红色),(尾巴特征,粗短形状)]。
基因遗传规则:又称遗传规则、基因算法或基因遗传算法,是将父母亲虚拟宠物和/或其他祖辈虚拟宠物的宠物形象模仿真实生物的遗传规律进行传递,以生成孩子虚拟宠物的宠物形象的规则。在一些实施例中,为保证每个虚拟宠物都是独一无二的个性化虚拟宠物,每个虚拟宠物具有独一无二的基因序列。在一些实施例中,该基因遗传规则是将父母亲虚拟宠物和/或其他祖辈虚拟宠物的宠物形象按照遗传规律进行重组和去重后,生成孩子虚拟宠物具有唯一特性的宠物形象的规则。去重是指当遗传过程中出现与已有虚拟宠物相同的基因序列时,会重新生成该虚拟宠物的基因序列,从而保证该虚拟宠物的基因唯一性的机制。可选地,由于基因遗传规则是模仿真实生物的遗传规则,因此还存在繁育过程中存在怀孕时长、近亲不能繁育之类的限制 条件。
在本申请实施例中,两个具有遗传关系的虚拟宠物之间,存在遗传基因。遗传基因是指由两个具有遗传关系的虚拟宠物中的一方遗传给另一方的基因。遗传基因所决定的特征即可称为遗传特征。两个具有遗传关系的虚拟宠物之间存在相同的遗传特征,也即存在相同的形象素材特征。例如,两个具有遗传关系的虚拟宠物,都具有黄色皮肤。又例如,两个具有遗传关系的虚拟宠物,都具有红色皮肤和折耳。遗传特征的数量可以是一个,也可以是多个,本申请实施例对此不作限定。在通常情况下,两个具有遗传关系的虚拟宠物之间的辈分越近,则遗传特征越多;反之,两个具有遗传关系的虚拟宠物之间的辈分越远,则遗传特征越少。
虚拟宠物的代际信息:是指虚拟宠物在整个虚拟宠物世界观中辈份信息,由虚拟宠物的父亲虚拟宠物和母亲虚拟宠物中的代际确定。在一些实施例中,孩子虚拟宠物的代际由父亲虚拟宠物和母亲虚拟宠物中的最大代际数加一得到,比如父亲虚拟宠物是0代虚拟宠物,母亲虚拟宠物是4代虚拟宠物,则孩子虚拟宠物是5代虚拟宠物。在一些实施例中,初代虚拟宠物的代际最低,例如初代虚拟宠物的代际为0。非初代虚拟宠物的代际由其父母亲虚拟宠物的代际决定。由父母亲虚拟宠物繁育生成的孩子虚拟宠物的代际,高于其父母亲虚拟宠物的代际。在一个示例中,如果仅允许相同代际的父母亲虚拟宠物繁育生成孩子虚拟宠物(也即下一代虚拟宠物),则孩子虚拟宠物的代际等于父母亲虚拟宠物的代际加1。例如,父母亲虚拟宠物的代际均为1,则孩子虚拟宠物的代际为2;又例如,父母亲虚拟宠物的代际均为0,则孩子虚拟宠物的代际为1。在另一个示例中,如果既允许相同代际的父母亲虚拟宠物繁育生成孩子虚拟宠物(也即下一代虚拟宠物),还允许不同代际的父母亲虚拟宠物繁育生成孩子虚拟宠物,则孩子虚拟宠物的代际等于父母亲虚拟宠物中,代际更高的一方的代际加1。例如,父亲虚拟宠物的代际为0,母亲虚拟宠物的代际为2,则孩子虚拟宠物的代际为3。此外,初代虚拟宠物并非是由父亲虚拟宠物和母亲虚拟宠物繁育产生,而是由虚拟宠物系统自动产出。因此,初代虚拟宠物并不存在父亲虚拟宠物和母亲虚拟宠物,更不会存在辈分高于初代虚拟宠物且与其具有遗传关系的其它虚拟宠物。
图1示出了本申请一个示例性实施例提供的计算机系统100的结构框图。该计算机系统100包括:第一终端120、服务器集群140和第二终端160。
第一终端120通过无线网络或有线网络与服务器集群140相连。第一终端120可以是智能手机、游戏主机、台式计算机、平板电脑、电子书阅读器、MP3播放器、MP4播放器和膝上型便携计算机中的至少一种。第一终端120安装和运行有支持虚拟宠物的客户端。该客户端可以是宠物养成类游戏程序、AR游戏程序、AR教育程序中的任意一种。第一终端120是第一用户使用的终端,第一终端120内的客户端登录有第一用户帐号。
第一终端120通过无线网络或有线网络与服务器集群140相连。
服务器集群140包括一台服务器、多台服务器、云计算平台和虚拟化中心中的至少一种。服务器集群140用于为支持虚拟宠物的客户端提供后台服务。可选地,服务器集群140承担主要计算工作,第一终端120和第二终端160承担次要计算工作;或者,服务器集群140承担次要计算工作,第一终端120和第二终端160承担主要计算工作;或者,服务器集群140、第一终端120和第二终端160三者之间采用分布式计算架构进行协同计算。
可选地,服务器集群140包括:接入服务器141和游戏服务器142。接入服务器141用于提供第一终端120以及第二终端160的接入服务和信息收发服务,并将有用信息在终端和游戏服务器142之间转发。游戏服务器142用于提供客户端的后台服务,比如:游戏逻辑服务、素材提供服务、虚拟宠物的生成服务、虚拟宠物的交易服务、虚拟宠物的繁育服务中的至少一种。游戏服务器142可以是一台或多台。当游戏服务器142是多台时,存在至少两台游戏服务器142用于提供不同的服务,和/或,存在至少两台游戏服务器142用于提供相同的服务,本申请实施例对此不加以限定。
第二终端160安装和运行有支持虚拟宠物的客户端。该客户端可以是宠物养成类游戏程序、AR游戏程序、AR教育程序中的任意一种。第二终端160是第二用户使用的终端。第二终端120的客户端内登录有第二用户帐号。
可选地,第一用户帐号和第二用户帐号处于同一虚拟社交网络中。可选地,第一用户帐号和第二用户帐号可以属于同一个队伍、同一个组织、具有好友关系或具有临时性的通讯权限。可选地,第一用户帐号和第二用户帐号也可以属于不同队伍、不同组织、或具有敌对性的两个团体。
可选地,第一终端120和第二终端160上安装的客户端是相同的,或两个终端上安装的客户端是不同控制系统平台的同一类型客户端。该客户端包括如下功能中的至少一项:抓取虚拟宠物、生成虚拟宠物、繁育虚拟宠物、交易虚拟宠物、使用虚拟宠物进行战斗、使用虚拟宠物进行AR互动、使用虚拟宠物进行社交、使用虚拟宠物进行AR教育。在另一些实施例中,该客户端是基于区块链系统进行虚拟宠物的获取、繁育和/或交易的客户端。在另一些实施例中,该客户端是基于地理位置的社交游戏程序,该社交游戏程序提供有利用虚拟宠物进行收藏、成长和/或战斗中的至少一种功能。
第一终端120可以泛指多个终端中的一个,第二终端160可以泛指多个终端中的一个,本实施例仅以第一终端120和第二终端160来举例说明。第一终端120和第二终端160的终端类型相同或不同,该终端类型包括:智能手机、游戏主机、台式计算机、平板电脑、电子书阅读器、MP3播放器、MP4播放器和膝上型便携计算机中的至少一种。以下实施例以第一终端120和/或第二终端160是智能手机来举例说明。
本领域技术人员可以知晓,上述终端的数量可以更多或更少。比如上述终端可以仅为一个,或者上述终端为几十个或几百个,或者更多数量。本申请实施例对终端的数量和设备类型不加以限定。
在一些可选的实施例中,服务器集群140用于存储各个虚拟宠物的角色信息和交易记录。角色信息包括:用于唯一标识虚拟宠物的角色标识,用于表征虚拟宠物的宠物形象的形象参数,用于表征虚拟宠物的预览图中的至少一种。在一个如图2所示的可选实施例中,服务器集群140还与区块链系统180相连,服务器集群140将各个虚拟宠物的角色信息和/或交易记录存储在区块链系统180中。在一些可选的实施例中,服务器集群140本身也可以作为区款链系统180中的一个节点运行和存储数据。
图3示出了本申请一个示例性实施例提供的虚拟宠物的繁育方法的流程图。本实施例以该方法应用于图1所示的第二终端160中来举例说明。该终端运行有客户端,该客户端提供有虚拟宠物,且存在至少一个虚拟宠物的宠物形象是基于基因遗传规则生成的。该方法包括:
步骤301,显示配对市场界面,配对市场界面包括处于配对状态的虚拟 宠物;
终端中运行有客户端。该客户端登录有当前用户帐号。该客户端提供有虚拟宠物相关的功能。
用户在终端中启动该客户端,并打开该客户端中的配对市场界面。该配对市场界面用于显示处于配对状态的虚拟宠物。可选地,不同用户帐号将自身所拥有的虚拟宠物上架至配对市场界面,供其他用户帐号进行选择。
可选地,配对市场界面上显示有m个卡片区域,每个卡片区域用于显示一只处于配对状态的虚拟宠物。该卡片区域上显示有虚拟宠物的昵称、标识、二维宠物形象(或三维宠物形象)、基因特征、配对价格中的至少一种信息。可选地,配对市场界面上显示的虚拟宠物均为父亲虚拟宠物的候选猫。
示意性的参考图4,终端上显示有配对市场界面40,该配对市场界面40上显示有9个卡片区域,每个卡片区域上显示有一只处于配对状态的虚拟宠物。该卡片区域上显示有虚拟宠物的二维预览图和配对价格。
步骤302,根据第一操作在配对市场界面中选择父亲虚拟宠物;
可选地,第一操作是在配对市场界面上对某一虚拟宠物进行点击的操作。
用户在配对市场界面中挑选某一只虚拟宠物作为父亲虚拟宠物。在挑选时,用户可以根据个人喜好挑选具有某些基因特征的虚拟宠物作为父亲虚拟宠物。比如,用户挑选具有稀缺的全局特征的虚拟宠物作为父亲虚拟宠物。
步骤303,显示宠物繁育界面,宠物繁育界面包括父亲宠物栏位和母亲宠物栏位,父亲宠物栏位中显示有父亲虚拟宠物,父亲虚拟宠物是在配对市场上由第一用户帐号提供的虚拟宠物,父亲虚拟宠物具有第一宠物形象;
在用户从配对市场界面上挑选父亲虚拟宠物后,终端显示宠物繁育界面。该宠物繁育界面是用于选择父亲虚拟宠物和母亲虚拟宠物来繁育孩子虚拟宠物的用户界面。该宠物繁育界面上显示有父亲宠物栏位和母亲宠物栏位,父亲宠物栏位是用于选择本次繁育过程中作为父亲角色的虚拟宠物的控件栏位。母亲宠物栏位是用于选择本次繁育过程中作为母亲角色的虚拟宠物的控件栏位。
由于用户已经在配对市场上挑选了父亲虚拟宠物,所以宠物繁育界面的父亲宠物栏位上显示有父亲虚拟宠物。该父亲虚拟宠物是配对市场上由第一用户帐号提供的虚拟宠物,该父亲虚拟宠物具有第一宠物形象。该第一宠物 形象是父亲虚拟宠物在客户端中展示给用户的外在形象。第一宠物形象可以是三维宠物形象,且该三维宠物形象包括多个三维形象素材。示意性的,三维宠物形象包括:3D身体模型、皮肤、斑纹、花纹、耳朵、鼻子、眼睛、胡须、尾巴、全局特征、外部挂件中的至少一种形象素材。外部挂件包括:书包、眼镜、首饰、手持道具、头部饰品配件中的至少一种。其中,皮肤、斑纹、花纹、耳朵、鼻子、眼睛、胡须和尾巴可称为局部特征。
示意性的参考图5,终端显示有宠物繁育界面50,该宠物繁育界面50包括母亲宠物栏位52和父亲宠物栏位54。父亲宠物栏位54上显示有从配对市场上挑选的父亲虚拟宠物“绅士咪000002”。该父亲虚拟宠物“绅士咪000002”是由第一用户帐号提供的,该父亲虚拟宠物具有独一无二的三维宠物形象。
步骤304,根据第二操作在母亲宠物栏位中添加母亲虚拟宠物,母亲虚拟宠物是终端中登录的第二用户帐号已拥有的虚拟宠物,母亲虚拟宠物具有第二宠物形象;
示意性的,终端根据第二操作在第二用户帐号已拥有的多个虚拟宠物中,确定出本次繁育过程中的母亲虚拟宠物。第二用户帐号是终端中当前登录的用户帐号。
可选地,母亲虚拟宠物具有第二宠物形象。第二宠物形象是母亲虚拟宠物在客户端中展示给用户的外在形象。第二宠物形象可以是三维宠物形象,且该三维宠物形象包括多个三维形象素材。示意性的,三维宠物形象包括:3D身体模型、皮肤、斑纹、花纹、耳朵、鼻子、眼睛、胡须、尾巴、全局特征、外部挂件中的至少一种形象素材。外部挂件包括:书包、眼镜、首饰、手持道具、头部饰品配件中的至少一种。其中,皮肤、斑纹、花纹、耳朵、鼻子、眼睛、胡须和尾巴可称为局部特征。
示意性的参考图6,终端显示有宠物繁育界面50,用户可以采用触发操作对母亲宠物栏位52进行点击,然后终端根据该触发操作切换显示宠物选择界面51,该宠物选择界面51上显示有当前用户帐号已拥有的各个虚拟宠物。用户可以采用选择操作对被选择的母亲虚拟角色53进行点击,终端根据选择操作将母亲虚拟角色53添加至母亲宠物栏位52。
可选地,宠物繁育界面50上还显示有“确定繁育”按钮56。当父亲虚拟角色和母亲虚拟角色被选择后,用户可以点击该确定繁育按钮56以触发繁 育信号。终端接收到确认繁育信号后向服务器发送请求,繁育请求包括父亲虚拟宠物的信息和母亲虚拟宠物的信息;然后,终端接收服务器的繁育响应,繁育响应包括孩子虚拟宠物的信息。
步骤305,在繁育成功时显示繁育结果界面,繁育结果界面显示有孩子虚拟宠物,孩子虚拟宠物具有第三宠物形象,第三宠物形象是根据第一宠物形象和第二宠物形象按照基因遗传规则生成的。
终端在本次繁育成功时显示繁育结果界面。可选地,该繁育结果界面显示有孩子虚拟宠物58,如图7所示。
可选地,基因遗传规则包括根据父亲虚拟宠物的第一宠物形象和母亲虚拟宠物的第二宠物形象,按照基因遗传规律来生成孩子虚拟宠物的第三宠物形象的规则算法。
可选地,基因遗传规则包括:继承规则、变异规则和丢失规则中的至少一种。
继承规则是指孩子虚拟宠物的第三宠物形象的全部或部分形象素材是复制自第一宠物形象和/或第二宠物形象的,甚至还可以是复制自祖辈虚拟宠物的宠物形象。
变异规则是指孩子虚拟宠物的第三宠物形象的全部或部分形象素材是从父亲虚拟宠物和母亲虚拟宠物的宠物形象变异得到的,变异得到的形象素材是第一宠物形象和第二宠物形象均不具有的形象素材。
丢失规则是指当第一宠物形象和/或第二宠物形象具有全局特征的形象素材时,孩子虚拟宠物的第三宠物形象中存在一定几率会不具有该全局特征。
综上所述,本实施例提供的方法,通过在配对市场中选择第一用户帐号提供的父亲虚拟宠物,在当前用户的第二用户帐号所拥有的虚拟宠物中选择出母亲虚拟宠物,根据父亲虚拟宠物的第一宠物形象和母亲虚拟宠物的第二宠物形象按照基因遗传规则生成孩子虚拟宠物的第三宠物形象;能够解决相关技术中基于调整数值属性参数的繁育方式只能适用于具有战斗系统的客户端,因此使用范围有限的问题;达到了通过不同用户帐号所拥有的虚拟宠物之间,采用繁育方式获取新的虚拟宠物时,将宠物形象的外在特征传递作为主要遗传目标,适用且兼容各种类型的虚拟宠物的繁育场景,还丰富了不同用户帐号之间的社交形式。
图8和图9示出了本申请另一个实施例提供的虚拟宠物的繁育方法的流程图。本实施例以该方法应用于图1所示的计算机系统100中来举例说明。第一终端120和第二终端160中运行有客户端,该客户端提供有虚拟宠物,且存在至少一个虚拟宠物的宠物形象是基于基因遗传规则生成的。该方法包括:
步骤401,第一终端显示父亲虚拟宠物的配对设置界面;
配对设置界面是用于将父亲虚拟宠物上架至配对市场的设置界面。可选地,配对设置界面用于设置父亲虚拟宠物在上架时的配对资源数量。配对资源数量又称配对价格。
示意性的如图10所示,第一终端首先显示宠物选择界面41,该宠物选择界面41显示有第一用户帐号“玩家A”已经拥有的各个虚拟宠物。比如第一用户帐号拥有9只虚拟宠物。宠物选择界面41上采用九宫格排布的九个卡牌区域来显示虚拟宠物,每一个卡牌区域用于显示一只虚拟宠物的宠物信息的摘要。该摘要包括:虚拟宠物的二维预览图、虚拟宠物的名称、虚拟宠物的标识、虚拟宠物的代际信息、虚拟宠物的繁育恢复时间中的至少一种信息。
当第一用户希望将某一只虚拟宠物上架时,点击该虚拟宠物42。第一终端显示该虚拟宠物42的宠物展示界面43,宠物展示界面42是用于虚拟宠物的宠物信息的界面。该宠物信息包括:虚拟宠物的拥有者昵称“玩家A”,虚拟宠物的3D宠物形象、配对按钮44、售卖按钮、喵的一生按钮、区块信息按钮、代际信息、昵称信息、标识信息、基因特征信息、父母信息、孩子信息、族谱信息中的至少一种。
第一用户在虚拟宠物42的宠物展示界面上点击配对按钮44。第一终端接收在配对按钮44上触发的第二操作,该第二操作可以是触发操作。第一终端根据第二操作显示繁育方式显示界面,繁育方式显示界面包括:本地繁育选择控件45和市场繁育选择控件46。本地繁育选择控件45可以是“与自己的猫配对”按钮,市场繁育选择控件46可以是“去市场配对”按钮。本地繁育选择控件45用于触发第一用户帐号将自己拥有的两只虚拟宠物进行配对,市场繁育选择控件46用于将自己拥有的虚拟宠物上架至配对市场,以便与其它玩家的虚拟宠物配对为父母虚拟宠物。对于本地繁育方式,本实施例暂不 做讨论。
第一用户在市场繁育选择控件46上点击,第一终端接收在市场繁育选择控件46上触发的选择操作,该选择操作可以是触发操作。第一终端根据选择操作显示配对设置界面47。该配对设置界面47用于设置虚拟宠物作为父亲虚拟宠物配对时的配对价格。
步骤402,第一终端在配对设置界面中获取父亲虚拟宠物的配对资源数量;
可选地,配对设置界面47上显示有价格输入控件48和确认按钮49,当第一用户在价格输入控件48上输入父亲虚拟宠物配对时的配对价格,然后点击确认按钮49。
步骤403,第一终端向游戏服务器发送上架请求;
第一终端向游戏服务器发送上架请求,该上架请求中携带有第一用户帐号和父亲虚拟宠物的标识。
游戏服务器根据上架请求检测本次上架的上架参数是否具有合法性。可选地,上架参数:公猫的拥有者帐号、公猫的配对价格、公猫的当前状态、第一用户帐号的邮箱状态中的至少一种。
当上架参数包括公猫的拥有者帐号时,游戏服务器从上架请求中提取公猫的猫标识,根据公猫的猫标识在数据库中查询该公猫的拥有者帐号,检测第一用户帐号是否与该拥有者帐号相同;当第一用户帐号是公猫的拥有者帐号时,确定该条上架参数合法;否则不合法。
当上架参数包括公猫的配对价格时,游戏服务器从上架请求中提取公猫的配对价格,检测该配对价格是否属于预设的价格区间;当该配对价格属于预设的价格区间时,确定该条上架参数合法;否则不合法。
当上架参数包括公猫的当前状态时,游戏服务器从上架请求中提取公猫的猫标识,根据公猫的猫标识在数据库中查询该公猫的当前状态,当前状态包括出售中、恢复中、配对中、繁育中、变身中、空闲中的至少一种。当当前状态为空闲中或变身中时,确定该条上架参数合法;否则不合法。
当上架参数包括第一用户帐号的邮箱状态时,游戏服务器从上架请求中提取第一用户帐号,然后在数据库中查询第一用户帐号的邮箱状态;当第一用户帐号的邮箱状态为可用状态时,确定该条上架参数合法;当第一用户帐 号的邮箱状态为不可用状态(比如邮箱容量满)时,确定该条上架参数不合法。
当本次上架的各个上架参数均合法时,进入步骤404;当本次上架的各个上架参数存在至少一个参数不合法时,终止本次上架流程。
步骤404,游戏服务器根据上架请求将父亲虚拟宠物上架至配对市场;
可选地,游戏服务器将父亲虚拟宠物存储至配对列表中,配对列表是用于存储在配对市场中处于配对状态的虚拟宠物的信息的列表。
游戏服务器将父亲虚拟宠物在自身数据库中的状态,从原状态修改为配对中。
可选地,当配对市场建设在区块链系统上时,游戏服务器与区块链系统进行信息交互,以将父亲虚拟宠物上架至配对市场。
步骤405,游戏服务器向第一终端发送上架请求回复;
在成功将父亲虚拟宠物上架至配对市场后,游戏服务器向第一终端发送上架请求回复。该上架请求回复用于指示父亲虚拟宠物的上架结果。
步骤406,第一终端显示配对市场界面,配对市场界面包括处于配对状态的父亲虚拟宠物;
可选地,第一用户在第一终端中打开配对市场界面,该配对市场界面上包括处于配对状态的父亲虚拟宠物。
配对市场界面是用于显示在当前时间下,整个配对市场上处于配对状态的各个父亲虚拟宠物。这些父亲虚拟宠物可以由不同的用户帐号分别提供。
可选地,配对市场界面上包括多个卡牌区域,每个卡牌区域用于显示一只虚拟宠物的宠物信息的摘要。该摘要包括:虚拟宠物的二维预览图、虚拟宠物的名称、虚拟宠物的标识、虚拟宠物的代际信息、虚拟宠物的当前状态(配对中)、虚拟宠物的繁育恢复时间中的至少一种信息。
由于需要显示的父亲虚拟宠物会非常多,因此配对市场界面上还提供有筛选控件,该筛选控件可以按照上架时间、基因特征、代际、价格中的至少一种筛选条件进行待显示的父亲虚拟宠物进行筛选或者排序显示。
由于配对市场界面在单个页面上只能显示有限的虚拟宠物,比如9个虚拟宠物。可选地,配对市场界面上还提供有“上一页”和/或“下一页”的翻页按钮,当第一用户点击“上一页”按钮和“下一页”按钮可以展示出配对 市场中排序在不同位置的虚拟宠物。
显然,第一用户可以在配对市场界面上查看自己上架的虚拟宠物。
上述过程为父亲虚拟宠物的上架过程。该父亲虚拟宠物上架后,可以被各个终端进行查看。
步骤407,第二终端从游戏服务器获取配对列表;
第二终端是第二用户所使用的终端,第二终端中登录有第二用户帐号。
可选地,第二终端从游戏服务器获取配对列表,该配对列表是用于存储在配对市场中处于配对状态的虚拟宠物的信息的列表。
由于配对列表中的信息可能会很多,第二终端可以根据显示进度分批从游戏服务器获取配对列表。比如,本次获取配对列表中9个处于配对状态的虚拟宠物,然后在接收到用户的翻页操作时,再向游戏服务器获取配对列表中的另外9个处于配对状态的虚拟宠物。
步骤408,第二终端显示配对市场界面;
配对市场是向整个平台中的各个终端均开放的市场平台。第二终端根据获取到的配对列表显示配对市场界面。
示意性的参考图11,第二终端显示配对市场界面51,配对市场界面51中显示有多个可作为父亲虚拟宠物的虚拟宠物。第二用户在配对市场51上挑选喜欢的父亲虚拟宠物53。
步骤409,第二终端接收在配对市场界面上的第一操作;
第一操作可以是在配对市场界面51上点击父亲虚拟宠物52的触发操作。
步骤410,第二终端根据第一操作在处于配对状态的虚拟宠物中,确定出候选虚拟宠物;
配对市场界面51上显示有多个处于配对状态的虚拟宠物,第二终端将第一操作所点击的虚拟宠物,确定为候选虚拟宠物。
比如,第二终端将第二用户点击的虚拟宠物“绅士咪000002”确定为候选虚拟宠物。
步骤411,第二终端显示候选虚拟宠物的宠物展示界面;
示意性的参考图11,候选虚拟宠物的宠物展示界面53是用于虚拟宠物的宠物信息的界面。该宠物信息包括:虚拟宠物的拥有者昵称“玩家A”,虚拟宠物的3D宠物形象、配对按钮55、售卖按钮、喵的一生按钮、区块信息 按钮、代际信息、昵称信息、标识信息、基因特征信息、父母信息、孩子信息、族谱信息中的至少一种。
可选地,该3D宠物形象是能够主动展示3D动作,以及左右旋转显示的宠物形象。第二用户可以在候选虚拟宠物的宠物展示界面53上查看该虚拟宠物的各项宠物信息,以便决定是否作为本次繁育的父亲虚拟宠物。
步骤412,第二终端接收对配对按钮进行点击的触发操作;
当第二用户决定将候选虚拟宠物作为本次繁育的父亲虚拟宠物时,点击该候选虚拟宠物的宠物展示界面上的配对按钮。触发操作用于表示将该候选虚拟宠物选择为本次繁育的父亲虚拟宠物。
示意性的参考图11,第二用户点击候选虚拟宠物“绅士咪000002”的宠物展示界面上的配对按钮55。
步骤413,第二终端根据触发操作将候选虚拟宠物确定为父亲虚拟宠物;
当第二用户点击候选虚拟宠物“绅士咪000002”的配对按钮55后,第二终端根据该触发操作将候选虚拟宠物“绅士咪000002”确定为父亲虚拟宠物。
步骤414,第二终端显示宠物繁育界面;
在确定该候选虚拟宠物“绅士咪000002”确定为父亲虚拟宠物后,第二终端显示宠物繁育界面50,该宠物繁育界面50是用于选择父亲虚拟宠物和母亲寻宠物以按照基因遗传规律繁育得到孩子虚拟宠物的界面。
可选地,宠物繁育界面包括父亲宠物栏位52和母亲宠物栏位54。由于第二用户帐号已经选择了父亲宠物栏位52中显示有父亲虚拟宠物,父亲虚拟宠物是在配对市场上由第一用户帐号提供的虚拟宠物,父亲虚拟宠物具有第一宠物形象。第一宠物形象是父亲虚拟宠物在应用程序中展示给用户的外在形象。第一宠物形象包括:身体模型、皮肤、斑纹、花纹、耳朵、鼻子、眼睛、胡须、尾巴、衣服、外部挂件中的至少一种形象素材。外部挂件包括:书包、眼镜、首饰、手持道具、头顶光环中的至少一种。可选地,第一宠物形象采用第一形象参数(或者基因序列)来表征,第一形象参数包括父亲虚拟宠物的各个形象素材对应的标识。
步骤415,第二终端接收对母亲宠物栏位进行点击的第二操作;
示意性的,第二终端接收第二操作,根据第二操作在第二用户帐号已拥 有的多个虚拟宠物中,确定出本次繁育过程中的母亲虚拟宠物。可选地,第二操作是点击母亲宠物栏位的操作。
步骤416,第二终端显示宠物选择界面;
第二终端根据第二操作显示宠物选择界面,该宠物选择界面显示有第二用户帐号已拥有的至少一个虚拟宠物。
宠物选择界面显示有第二用户帐号所拥有的虚拟宠物。可选地,宠物选择界面显示有第二用户帐号所拥有的且符合作为母亲虚拟宠物的多个虚拟宠物。
示意性的参考图6,终端显示有宠物繁育界面50,第二用户可以采用选择操作对母亲宠物栏位52进行点击,然后终端根据该选择操作切换显示宠物选择界面51。
步骤418,第二终端接收在宠物选择界面上的选择操作;
选择操作是在宠物选择界面中选择某一个虚拟宠物作为母亲虚拟宠物的点击信号。
步骤419,第二终端根据选择操作在至少一个虚拟宠物中,确定出母亲虚拟宠物;
示意性的参考图6,该宠物选择界面51上显示有第二用户帐号已拥有的各个虚拟宠物。第二用户可以对被选择的母亲虚拟宠物53进行点击,第二终端根据选择操作将母亲虚拟宠物“可爱喵000001”53添加至宠物繁育界面50中的母亲宠物栏位52。
母亲虚拟宠物具有第二角色形象。第二角色形象是母亲虚拟宠物在应用程序中展示给用户的外在形象。第二角色形象包括:身体模型、皮肤、斑纹、花纹、耳朵、鼻子、眼睛、胡须、尾巴、衣服、外部挂件中的至少一种。外部挂件包括:书包、眼镜、首饰、手持道具、头顶光环中的至少一种。可选地,第二角色形象采用第二形象参数来表征,第二形象参数包括母亲虚拟宠物的各个形象素材对应的标识。
步骤420,第二终端将母亲虚拟宠物添加至母亲宠物栏位中;
第二终端根据选择操作将母亲虚拟宠物53添加至母亲宠物栏位52。
步骤421,第二终端向游戏服务器发送繁育请求;
示意性的,宠物繁育界面50上还显示有“确定繁育”按钮56。当父亲 虚拟宠物和母亲虚拟宠物被选择后,用户可以点击该确定繁育按钮56以触发繁育信号。终端接收到确认繁育信号后向服务器发送请求,繁育请求包括父亲虚拟宠物的信息和母亲虚拟宠物的信息。
可选地,父母亲虚拟宠物的信息包括:父母亲虚拟宠物的标识。或者,父母亲虚拟宠物的标识、第一形象参数(基因序列)和第二形象参数(基因序列)。可选地,繁育请求中还携带有第二终端中的第二用户帐号。
步骤422,游戏服务器根据繁育请求检测本次繁育过程是否符合繁育条件。
游戏服务器从繁育请求中提取本次繁育过程的信息,根据繁育请求中的信息检测本次繁育过程是否符合繁育条件。
可选地,繁育条件包括但不限于如下三种条件中的至少一种:
1、第二用户帐号拥有处于可用状态的繁育屋道具。
繁育屋道具是用于向父亲虚拟宠物和母亲虚拟宠物提供繁育场所的道具。繁育屋道具的状态包括:可用状态、繁育中、繁育完成中的至少一种。
2、父亲虚拟宠物和母亲虚拟宠物不具有近亲关系。
可选地,近亲关系是指父亲虚拟宠物和母亲虚拟宠物不具有三代之内的直系血亲关系。示意性的,父/母亲虚拟宠物与子/女虚拟宠物之间不能繁殖,同父同母的子/女虚拟宠物之间不能繁殖。
3、繁育时长达到了母亲虚拟宠物对应的怀孕时长。
繁育时长是孩子虚拟宠物开始繁育后的已繁育时间,繁育时长是按照繁育屋道具的开始使用时刻计时的时长。
每个母亲虚拟宠物对应各自的怀孕时长,不同的母亲虚拟宠物的怀孕时长是相同或不同的。母亲虚拟宠物的怀孕时长可以由服务器设定。在一些实施例中,同一个母亲虚拟宠物的怀孕时长是可变的,比如同一个母亲虚拟宠物在每次繁育后的怀孕时长是递增的。递增的怀孕时长能够减少(或者说控制)同一个母亲虚拟宠物所繁育的孩子虚拟宠物的总个数。
本实施例以同时包括上述三种繁育条件来举例说明。在本实施例中按照条件1、条件2和条件3的顺序进行检测。在其他实施例中,也可以按照条件2、条件1、条件3的顺序进行检测;或者按照条件3、条件2和条件1的顺序进行检测。可选地,本实施例对游戏服务器检测上述三种繁育条件的先 后顺序不加以限定。
可选地,当第二用户帐号未拥有处于可用状态的繁育屋道具时,游戏服务器向终端发送提示购买信息,进入步骤423,第二终端根据提示购买信息显示用于购买繁育屋道具的用户界面,引导第二用户购买繁育屋道具。
可选地,当本次繁育过程同时满足上述三种繁育条件时,进入步骤426。
步骤423,当第二用户帐号未拥有繁育屋道具时,第二终端显示用于购买繁育屋道具的购买界面;
该购买界面包括繁育屋道具的介绍信息、价格和购买入口。该购买入口可以是购买按钮或购买链接。
步骤424,第二终端接收在购买界面上触发的购买信号;
可选地,第二用户可以在该购买界面上点击和购买繁育屋道具。也即第二终端接收第二用户在购买界面上触发的购买信号。
步骤425,第二终端根据购买信号向游戏服务器购买繁育屋道具;
游戏服务器根据第二用户的操作,将繁育屋道具对应的虚拟资源从第二用户帐号转移至游戏服务器的中间帐号。然后,将繁育屋道具的拥有权从游戏服务器的中间帐号转移至第二用户帐号。
步骤426,游戏服务器根据父亲虚拟宠物的第一宠物形象和母亲虚拟宠物的第二宠物形象,按照基因遗传规则生成孩子虚拟宠物的第三宠物形象;
基因遗传规则包括:继承规则、变异规则和丢失规则中的至少一种;
继承规则是指孩子虚拟宠物的第三宠物形象的全部或部分形象素材是复制自第一宠物形象和/或第二宠物形象的。可选地,继承规则还包括:孩子虚拟宠物的
变异规则是指孩子虚拟宠物的第三宠物形象包括变异得到的形象素材,变异得到的形象素材是第一宠物形象和第二宠物形象均不具有的形象素材;
丢失规则是指当第一宠物形象和/或第二宠物形象具有全局特征的形象素材时,第三宠物形象中不具有全局特征的形象素材,全局特征的形象素材是覆盖虚拟宠物的身体模型的整体化形象素材且具有最高显示优先级。
需要说明的是,本申请实施例对基因遗传规则的具体形式不加以限定。
当繁育请求中携带有父母亲虚拟宠物的标识时,游戏服务器根据父母亲虚拟宠物的标识,获取父亲虚拟宠物的第一宠物形象和母亲虚拟宠物的第二 宠物形象。第一宠物形象可采用第一形象参数表征,第二宠物形象可采用第二形象参数标识。然后,游戏服务器基于第一宠物形象和第二宠物形象,按照遗传规则生成孩子虚拟宠物的第三宠物形象。在一些可选的实施例中,游戏服务器还根据父母亲虚拟宠物的标识获取其它祖辈虚拟宠物,并根据其它祖辈虚拟宠物的宠物形象来确定孩子虚拟宠物的全部或部分形象素材。
当繁育请求中携带有父母亲虚拟宠物的形象参数时,游戏服务器从繁育请求中获取第一宠物形象和第二宠物形象。第一宠物形象可采用第一形象参数表征,第二宠物形象可采用第二形象参数标识。然后,游戏服务器基于第一宠物形象和第二宠物形象,按照遗传规则生成孩子虚拟宠物的第三宠物形象。在一些可选的实施例中,游戏服务器还根据父母亲虚拟宠物的标识获取其它祖辈虚拟宠物,并根据其它祖辈虚拟宠物的宠物形象来确定孩子虚拟宠物的全部或部分形象素材。
可选地,孩子虚拟宠物的第三宠物形象采用第三形象参数来表征。第三宠物形象包括:身体模型、皮肤、斑纹、花纹、耳朵、鼻子、眼睛、胡须、尾巴、衣服、全局特征、外部挂件中的至少一种形象素材。外部挂件包括:书包、眼镜、首饰、手持道具、头饰道具中的至少一种。可选地,第三形象参数包括孩子虚拟宠物的各个形象素材对应的标识。
游戏服务器在生成孩子虚拟宠物的第三形象参数(或称第三基因序列)后,存储该孩子虚拟宠物的第三形象参数。可选地,游戏服务器还可以向区块链系统提交孩子虚拟宠物的信息。
可选地,游戏服务器还在数据库中存储孩子虚拟宠物的信息。孩子虚拟宠物的信息包括但不限于:孩子虚拟宠物的标识、孩子虚拟宠物的形象参数、孩子虚拟宠物的出生时间(生成时间)、孩子虚拟宠物的父母亲信息、孩子虚拟宠物的第一任主人的用户帐号中的至少一种。可选地,孩子虚拟宠物的默认拥有者帐号是第二用户帐号,也即母亲虚拟宠物所对应的用户帐号。
可选地,游戏服务器还向区块链系统提交孩子虚拟宠物的信息,当区块链系统上的多个节点共识通过该孩子虚拟宠物的信息时,将孩子虚拟宠物的信息存储至与虚拟宠物对应的区块链中。
可选地,游戏服务器在生成第三角色形象后,从第二用户帐号扣除繁育屋道具。比如,游戏服务器对第二用户帐号本次所使用的繁育屋道具减一。
可选地,游戏服务器使用扣除繁育屋道具所得到的资源,向区块链系统支付交易费。由于每次在区块链系统上存储信息时,都需要向区块链系统支付一定的资源。游戏服务器还使用扣除繁育屋道具所得到的资源,向区块链系统支付存储孩子虚拟宠物的信息的交易费。
步骤427,游戏服务器向第二终端发送繁育响应;
可选地,该繁育响应中携带有孩子虚拟宠物的标识和孩子虚拟宠物的第三形象参数。
在不同的实施例中,孩子虚拟宠物的标识和孩子虚拟宠物的第三形象可以在终端根据领取信号向游戏服务器发送领取请求后,由游戏服务器向第二终端发送。
步骤428,游戏服务器向第一终端发送配对资源;
由于成功繁育的孩子虚拟宠物是归母亲方所有,所以游戏服务器会向父亲方的第一终端发送配对资源。该配对资源是对本次繁育过程中的父亲虚拟宠物的奖励。
可选地,游戏服务器采用邮件形式向第一用户帐号的邮箱地址发送配对资源。
步骤429,第一终端接收第二用户帐号按照配对资源数量提供的配对资源,配对资源是孩子虚拟宠物被成功繁育时发送的;
可选地,游戏服务器采用邮件形式接收配对资源。
步骤430,第二终端在繁育时长超过母亲虚拟宠物的怀孕时长时,显示孩子虚拟宠物的领取界面;
可选地,第二终端在繁育成功时显示孩子虚拟宠物的领取界面。
结合参考图7,用户可以点击已经创建的繁育屋道具57,进入繁育屋界面。当存在多个繁育屋道具57时,终端根据用户的点击信号确定被选择的繁育屋道具57所对应的母亲宠物猫的信息。同时,第二终端会切换至孩子虚拟宠物的领取界面,该领取界面包括“领取宝宝”按钮。
步骤431,第二终端接收在领取界面上触发的领取信号;
可选地,领取信号是领取界面中的领取按钮对应的点击信号。该领取按钮还可称为领取宝宝按钮、领取孩子按钮、领取宠物按钮等其他名称。
步骤432,第二终端根据领取信号显示繁育结果界面,繁育结果界面上 显示有孩子虚拟宠物的第三宠物形象。
繁育结果界面是用于展示孩子虚拟宠物的界面。繁育结果界面上显示有孩子虚拟宠物的第三角色形象。
可选地,繁育结果界面上还显示有:孩子虚拟宠物的标识、孩子虚拟宠物的名称、孩子虚拟宠物的配对信息、孩子虚拟宠物的售卖信息、孩子虚拟宠物的生涯信息、孩子虚拟宠物的区块信息、孩子虚拟宠物的各个形象素材的图标或标识或名称、孩子虚拟宠物的父母亲信息中的至少一种。
在其他实施例中,若第一终端将父亲虚拟宠物上架至配对市场后,可以手动将父亲虚拟宠物从配对市场下架。可选地,第一终端显示父亲虚拟宠物的宠物展示界面,宠物展示界面上显示有下架按钮;接收在下架按钮上触发的下架操作;向游戏服务器发送下架请求,该下架请求用于请求将父亲虚拟宠物在配对市场删除。游戏服务器根据下架请求检测本次下架是否符合合法性,检测方法类似于上架过程;当本次下架过程符合合法性时,游戏服务器将父亲虚拟宠物在配对市场上进行下架。
综上所述,本实施例提供的方法,通过在配对市场中选择第一用户帐号提供的父亲虚拟宠物,在当前用户的第二用户帐号所拥有的虚拟宠物中选择出母亲虚拟宠物,根据父亲虚拟宠物的第一宠物形象和母亲虚拟宠物的第二宠物形象按照基因遗传规则生成孩子虚拟宠物的第三宠物形象;能够解决相关技术中通过调整数值属性参数的繁育方式只能适用于具有战斗系统的客户端,因此使用范围有限的问题;达到了通过不同用户帐号所拥有的虚拟宠物之间,采用繁育方式获取新的虚拟宠物时,将宠物形象的外在特征传递作为主要遗传目标,适用且兼容各种类型的虚拟宠物的繁育场景,还丰富了不同用户帐号之间的社交形式。
本实施例提供的方法,通过选择不同用户帐号的两只虚拟宠物作为父母亲虚拟宠物,实现了用户帐号可以将自身不拥有但其他帐号拥有的具有稀缺基因特征的虚拟宠物作为父亲虚拟宠物,然后通过繁育方式获得具有稀缺基因特征的孩子虚拟宠物,使得除了购买方式之外,增加了其它获得具有稀缺基因特征的虚拟宠物的方式,且增加了不同用户帐号之间的社交性。
本实施例提供的方法,通过在繁育过程中扣除繁育屋道具,当虚拟宠物的宠物信息存储在区块链系统上时,该繁育屋道具所对应的资源用于向区块 链系统支付交易费,使得本实施例中的孩子虚拟宠物的信息能够存储在区块链系统中,兼容区块链系统的逻辑流程。
在一个示意性的例子中,以虚拟宠物为宠物猫为例,父亲虚拟宠物简称公猫,母亲虚拟宠物简称母猫。不同用户帐号之间的宠物猫进行配对繁育的过程,典型的包括:
第一,公猫上架过程,如图12所示;
第二,公猫和母猫配对过程,如图13所示;
第三,公猫下架过程,如图14所示。
参考图12,第一用户将公猫上架的过程可以包括如下步骤:
步骤11,第一游戏客户端向游戏服务器发送上架请求;
第一游戏客户端中登录有第一用户帐号,该第一用户帐号拥有至少一只宠物猫。第一用户帐号拥有的全部或部分宠物猫具有作为公猫的条件,比如宠物猫的性别为雄性;又比如,宠物猫不具有默认性别,可以在繁育过程中任意指定性别。
当第一用户在第一游戏客户端中选择某一只宠物猫作为公猫时,第一游戏客户端向服务器发送上架请求,该上架请求中携带有公猫的猫标识。可选地,该上架请求中还携带有第一用户帐号和配对价格。配对价格是其它用户帐号请求该公猫进行配对时所需要支付的资源数量。该配对价格可以由用户任意指定。
在一些可能的实施例中,该配对价格可以随着时间流逝而自然减少。
对应地,游戏服务器接收第一游戏客户端的上架请求。
步骤12,游戏服务器检测参数是否合法;
游戏服务器根据上架请求获取本次上架的上架参数,检测该上架参数是否合法。可选地,上架参数:公猫的拥有者帐号、公猫的配对价格、公猫的当前状态、第一用户帐号的邮箱状态中的至少一种。
当上架参数包括公猫的拥有者帐号时,游戏服务器从上架请求中提取公猫的猫标识,根据公猫的猫标识在数据库中查询该公猫的拥有者帐号,检测第一用户帐号是否与该拥有者帐号相同;当第一用户帐号是公猫的拥有者帐号时,确定该条上架参数合法;否则不合法。
当上架参数包括公猫的配对价格时,游戏服务器从上架请求中提取公猫的配对价格,检测该配对价格是否属于预设的价格区间;当该配对价格属于预设的价格区间时,确定该条上架参数合法;否则不合法。
当上架参数包括公猫的当前状态时,游戏服务器从上架请求中提取公猫的猫标识,根据公猫的猫标识在数据库中查询该公猫的当前状态,当前状态包括出售中、恢复中、配对中、繁育中、变身中、空闲中的至少一种。当当前状态为空闲中或变身中时,确定该条上架参数合法;否则不合法。
当上架参数包括第一用户帐号的邮箱状态时,游戏服务器从上架请求中提取第一用户帐号,然后在数据库中查询第一用户帐号的邮箱状态;当第一用户帐号的邮箱状态为可用状态时,确定该条上架参数合法;当第一用户帐号的邮箱状态为不可用状态(比如邮箱容量满)时,确定该条上架参数不合法。
当本次上架的各个上架参数均合法时,进入步骤13;当本次上架的各个上架参数存在至少一个参数不合法时,终止本次上架流程。
步骤13,游戏服务器锁定配对;
游戏服务器在确定本次上架的各个上架参数均合法时,向区块链系统发送锁定请求,该锁定请求用于请求区块链系统将待进入配对市场的公猫设置为锁定状态,以防止该公猫在上架过程中被出售或转让。
可选地,该锁定请求携带有公猫的猫标识。也即该公猫是本次锁定时的锁定目标。可选地,该锁定请求中还携带有第一用户帐号和配对价格。
对应的,区块链系统接收该锁定请求。
步骤14,区块链系统检查合法性,锁定目标;
区块链系统根据该锁定请求检测本次上架的各个上架参数是否合法,区块链系统对各个上架参数的检测方式可以与步骤12中的游戏服务器检测方式相同,也可以是步骤12中的游戏服务器的检测方式的子集,比如区块链系统可以不检测第一用户帐号的邮箱状态。
由于游戏服务器中的数据可能与区块链系统中保存的数据不同,比如黑客攻击或同步失败等,因此需要游戏服务器和区块链系统分别进行合法性检测。
当区块链系统的检测结果为本次上架的各个上架参数均合法时,将公猫 在区块链中的状态,设置为锁定状态。当本次上架的各个上架参数中存在至少一个参数不合法时,终止本次上架流程。
步骤15,区块链系统向游戏服务器发送锁定回复;
区块链系统在将公猫设置为锁定状态后,向游戏服务器发送锁定回复。该锁定回复用于表示公猫已经被设置为成功锁定。
可选地,当本次上架的各个上架参数中存在至少一个参数不合法时,区块链系统向游戏服务器发送的锁定回复中,携带有本次上架失败的理由。
步骤16,游戏服务器扣费;
由于区块链系统中的每次交易都需要缴纳一定的交易费(或称手续费、矿工费),因此当游戏服务器接收到正确的锁定回复时,从第一用户帐号对应的账户中扣除一定的虚拟资源,该虚拟资源可以是虚拟货币或游戏货币之类的。
步骤17,游戏服务器请求区块链系统将公猫加入配对市场;
在扣费成功时,游戏服务器向区块链系统发送上架请求,该上架请求用于请求区块链系统将公猫加入配对市场。上架请求中携带有:第一用户帐号、公猫的猫标识和配对价格。
对应地,区块链系统接收游戏服务器发送的上架请求。
步骤18,区块链系统将公猫在配对市场上架;
区块链系统根据上架请求将公猫的状态设置为配对中,并将公猫的宠物信息和配对价格添加在配对列表中,该配对列表用于存储在配对市场上架的各个宠物猫的信息。
步骤19,区块链系统向游戏服务器发送加入配对市场的回复;
当区块链系统将公猫成功或失败加入配对市场后,区块链系统向游戏服务器发送回复消息,该回复消息用于指示将公猫加入配对市场的结果。
对应地,游戏服务器接收区块链系统发送的回复。
步骤20,游戏服务器执行上架逻辑;
游戏服务器在接收到公猫成功上架的结果后,将公猫在游戏服务器中的状态设置为配对中,同时保存公猫的配对价格。
步骤21,游戏服务器向第一游戏客户端回复上架请求;
在公猫成功上架后,游戏服务器还向第一游戏客户端回复上架请求,以 便第一游戏客户端获知或显示上架结果。
参考图13,第二用户将公猫和母猫配对的过程可以包括如下步骤:
步骤22,第二游戏客户端向游戏服务器执行配对;
第二游戏客户端中登录有第二用户帐号,该第二用户帐号拥有至少一只宠物猫。第二用户帐号拥有的全部或部分宠物猫具有作为母猫的条件,比如宠物猫的性别为雌性;又比如,宠物猫不具有默认性别,可以在繁育过程中任意指定性别。
当第二用户希望通过繁育方式获取其它公猫的优秀基因,比如稀缺的局部特征基因或者限量发售的全局特征时,第二用户在配对市场上寻找其它用户帐号提供的公猫。同时,第二用户在自身拥有的宠物猫中挑选一只宠物猫作为母猫。
在本实施例中,以第二用户寻找第一用户帐号提供的公猫进行繁育来举例说明。此时,第二游戏客户端向游戏服务器发送配对请求,该配对请求携带有公猫的猫标识和母猫的猫标识。可选地,该配对请求中还携带有第二用户帐号。
步骤23,游戏服务器检查参数是否合法;
游戏服务器检查配对请求中的各个配对参数是否合法。游戏服务器根据公猫的猫标识、母猫的猫标识和第二用户帐号获取各个配对参数,检测各个配对参数的合法性。配对参数包括如下参数中的至少一种:母猫的拥有者帐号、公猫的配对价格、公猫和母猫的当前状态、公猫和母猫是否具有近亲关系、第二用户帐号是否拥有足够可用的繁育屋道具。
当配对参数包括母猫的拥有者帐号时,游戏服务器从配对请求中提取母猫的猫标识,根据母猫的猫标识在数据库中查询该母猫的拥有者帐号,检测第二用户帐号是否与该拥有者帐号相同;当第二用户帐号是母猫的拥有者帐号时,确定该条配对参数合法;否则不合法。
当配对参数包括公猫的配对价格时,游戏服务器从配对请求中提取公猫的配对价格,检测该配对价格是否属于预设的价格区间;当该配对价格属于预设的价格区间时,确定该条配对参数合法;否则不合法。
当配对参数包括公猫和母猫的当前状态时,游戏服务器从配对请求中提 取公猫和母猫的猫标识,根据公猫和母猫的猫标识在数据库中查询两只猫的当前状态,当前状态包括出售中、恢复中、配对中、繁育中、变身中、空闲中的至少一种。当公猫的当前状态为配对中且母猫的当前状态为空闲中或变身中时,确定该条配对参数合法;否则不合法。
当配对参数包括公猫和母猫是否具有近亲关系时,游戏服务器从配对请求中提取公猫和母猫的猫标识,根据公猫和母猫的猫标识在数据库中查询两只猫的族谱信息,根据族谱信息确定两只猫是否为近亲关系。近亲关系是指父亲虚拟宠物和母亲虚拟宠物不具有三代之内的直系血亲关系。示意性的,父/母亲虚拟宠物与子/女虚拟宠物之间不能再进行繁殖,同父同母的子/女虚拟宠物之间不能再进行繁殖。当两只猫不属于近亲关系时,确定该条配对参数合法;否则不合法。
当配对参数包括第二用户帐号是否拥有足够可用的繁育屋道具时,游戏服务器从配对请求中提取第二用户帐号,根据第二用户帐号在数据库中查询第二用户帐号拥有的道具信息,根据道具信息确定第二用户帐号是否拥有处于可用状态的繁育屋且该繁育屋的数量达到预定数量,当拥有足够数量且处于可用状态的繁育屋道具时,确定该条配对参数合法;否则不合法。
当本次配对的各个配对参数均合法时,进入步骤24;当本次配对的各个配对参数存在至少一个参数不合法时,终止本次配对流程。
步骤24,游戏服务器向区块链系统锁定目标;
游戏服务器在确定本次配对的各个配对参数均合法时,向区块链系统发送锁定请求,该锁定请求用于请求区块链系统将待进行配对的公猫和母猫设置为锁定状态,以防止该公猫和母猫在配对过程中被出售或转让,或者公猫已经被其它用户锁定。
可选地,该锁定请求携带有公猫的猫标识和母猫的猫标识。也即该公猫和母猫是本次锁定时的锁定目标。可选地,该锁定请求中还携带有第一用户帐号和配对价格。
步骤25,区块链系统检查合法性,锁定目标;
区块链系统根据该锁定请求检测本次配对的各个配对参数是否合法,区块链系统对各个配对参数的检测方式可以与步骤23中的游戏服务器的检测方式相同,也可以是步骤23中的游戏服务器的检测方式的子集。
由于游戏服务器中的数据可能与区块链系统中保存的数据不同,比如黑客攻击或同步失败等,因此需要游戏服务器和区块链系统分别进行合法性检测。
当区块链系统的检测结果为本次配对的各个配对参数均合法时,将公猫和母猫在区块链中的状态,设置为锁定状态。当本次配对的各个配对参数中存在至少一个参数不合法时,终止本次配对流程。
步骤26,区块链系统向游戏服务器回复锁定目标;
区块链系统在将公猫和母猫设置为锁定状态后,向游戏服务器发送锁定回复。该锁定回复用于表示公猫和母猫已经被设置为成功锁定。
可选地,当本次配对的各个配对参数中存在至少一个参数不合法时,区块链系统向游戏服务器发送的锁定回复中,携带有本次配对失败的理由。
步骤27,游戏服务器进行扣费;
由于区块链系统中的每次交易都需要缴纳一定的交易费(或称手续费、矿工费),因此当游戏服务器接收到正确的锁定回复时,从第二用户帐号对应的账户中扣除一定的虚拟资源,该虚拟资源可以是虚拟货币或游戏货币之类的资源。
示意性的,游戏服务器还从第二用户帐号对应的道具中扣除本次繁育所需要的繁育屋道具。该繁育屋道具对应的全部或部分资源被用于缴纳交易费。
示意性的,游戏服务器从第二用户帐号对应的账户中扣除与配对价格对应的资源,该与配对价格对应的资源用于在新的小猫繁育成功时,支付给提供公猫的第一用户帐号。
步骤28,游戏服务器向区块链系统执行配对;
当游戏服务器向区块链系统发送配对请求,该配对请求中携带有公猫和母猫的猫标识。可选地,该配对请求中还携带有第二用户帐号。
步骤29,区块链系统将公猫在配对市场下架,母猫改变状态;
区块链系统将公猫在区块链中的状态从配对中修改为其它状态,比如空闲中。区块链系统还将母猫在区块链中的状态从其它状态修改为繁育中。
然后,区块链系统将公猫从配对列表中删除,该配对列表用于存储在配对市场上处于配对状态的宠物猫的信息。
步骤30,区块链系统向游戏服务器回复执行配对;
区块链系统向游戏服务器回复执行配对的结果。示意性的,区块链系统向游戏服务器发送已成功执行配对的信息。
步骤31,游戏服务器向公猫方发放资源,母猫方改变状态;
在区块链系统成功执行配对后,游戏服务器将公猫在数据库中的状态从配对中修改为其它状态,比如空闲中。游戏服务器还将母猫在数据库中的状态从其它状态修改为繁育中,并对繁育时长开始计时。
示意性的,游戏服务器根据公猫的第一宠物形象和母猫的第二宠物形象,按照基因遗传规律生成小猫的第三虚拟形象,该宠物形象可以是包括多个3D形象素材的3D宠物形象。
示意性的,游戏服务器向公猫对应的第一游戏客户端发送配对资源,该配对资源是由第二用户帐号提供的虚拟资源,该配对资源用于作为小猫成功繁育时给第一用户帐号提供的奖励。同时,游戏服务器还会将新的小猫的拥有者设置为第二用户帐号。在一个示意性的例子中,游戏服务器以邮件形式向公猫对应的第一游戏客户端发送配对资源,第一用户通过接收邮件的形式来获得奖励的配对资源。
步骤32,游戏服务器向第二游戏客户端回复执行配对。
可选地,游戏服务器在第二游戏客户端请求领取小猫时,向第二游戏客户端发送小猫的猫标识和基因序列,第二游戏客户端根据小猫的猫标识和基因序列,向第二用户展示小猫的第三宠物形象。
参考图14,第一用户将公猫下架的过程可以包括如下步骤:
步骤33,第一游戏客户端向游戏服务器发送下架请求;
下架是指将公猫从配对市场移除的操作,避免公猫一直在配对市场上处于配对状态。当第一用户将公猫上架至配对市场后,除了正常配对会导致下架之外,还存在两种其它的下架方式:
1、自动下架方式;
当公猫上架至配对市场后,游戏服务器会对公猫的上架时间进行计时,当计时的时长达到预设时长(比如2个小时)后,游戏服务器会主动将公猫从配对市场进行下架。
2、手动下架方式;
第一用户在将公猫上架至配对市场后,若不希望再将公猫上架,则可以在公猫的宠物展示界面上点击下架按钮,触发将公猫从配对市场下架。
对应地,第一游戏客户端向游戏服务器发送下架请求,该下架请求中携带有公猫的猫标识。可选地,该下架请求中还携带有第一用户帐号。
步骤34,游戏服务器检测参数是否合法性;
游戏服务器根据下架请求获取本次下架的下架参数,检测该下架参数是否合法。可选地,下架参数:公猫的拥有者帐号、公猫的当前状态中的至少一种。
当下架参数包括公猫的拥有者帐号时,游戏服务器从下架请求中提取公猫的猫标识,根据公猫的猫标识在数据库中查询该公猫的拥有者帐号,检测第一用户帐号是否与该拥有者帐号相同;当第一用户帐号是公猫的拥有者帐号时,确定该条下架参数合法;否则不合法。
当下架参数包括公猫的当前状态时,游戏服务器从下架请求中提取公猫的猫标识,根据公猫的猫标识在数据库中查询该公猫的当前状态,当前状态包括出售中、恢复中、配对中、繁育中、变身中、空闲中的至少一种。当当前状态为空闲中或变身中时,确定该条下架参数合法;否则不合法。
当本次下架流程的各个下架参数均合法时,进入步骤35;当本次下架流程的各个下架参数存在至少一个参数不合法时,终止本次下架流程。
步骤35,游戏服务器请求区块链系统将公猫从配对市场撤销;
游戏服务器在确定本次下架的各个下架参数均合法时,向区块链系统发送下架请求,可选地,该下架请求中携带有公猫的猫标识和第一用户帐号。
区块链系统根据该锁定请求检测本次下架的各个下架参数是否合法,区块链系统对各个下架参数的检测方式可以与步骤34中的游戏服务器检测方式相同,也可以是步骤34中的游戏服务器的检测方式的子集。
步骤36,区块链系统将公猫从配对市场删除;
当本次下架的各个下架参数均合法时,区块链系统将公猫从配对列表上删除。该配对列表是用于存储配对市场上的各个处于配对状态的宠物猫的列表。
同时,区块链系统将公猫在区块链上的状态从配对中改为其它状态,比如空闲中。
步骤37,区块链系统向游戏服务器回复撤销;
当区块链系统将公猫成功移出配对市场后,区块链系统向游戏服务器发送回复下架消息,该回复下架消息用于指示将公猫从配对市场进行下架的下架结果。
步骤38,游戏服务器执行常规逻辑;
当游戏服务器接收到区块链系统发送的回复下架消息后,游戏服务器将公猫在数据库中的状态从配对中改为其它状态,比如空闲中。
步骤39,游戏服务器向第一游戏客户端回复下架请求。
游戏服务器还向第一游戏客户端回复下架请求,以便第一游戏客户端获知公猫的下架结果,并将公猫的下架结果显示给第一用户。
以下为本申请实施例的装置实施例,装置实施例与上述方法实施例一一对应,对于装置实施例中未详细描述的细节,可以参考上述对应的方法实施例。
图15示出了本申请一个示例性实施例提供的虚拟宠物的繁育装置的框图。该繁育装置可以通过软件、硬件或者两者的结合实现成为第一客户端(或第一终端)的一部分,该繁育装置提供有虚拟宠物且存在至少一个虚拟宠物的宠物形象是基于基因遗传规则生成的,所述装置包括:第一显示模块920和第一交互模块940。
第一显示模块920,用于显示配对市场界面,所述配对市场界面包括处于配对状态的虚拟宠物。
第一交互模块940,用于根据第一操作在所述配对市场界面中选择父亲虚拟宠物。
所述第一显示模块920,用于显示宠物繁育界面,所述宠物繁育界面包括父亲宠物栏位和母亲宠物栏位,所述父亲宠物栏位中显示有所述父亲虚拟宠物,所述父亲虚拟宠物是在配对市场上由第一用户帐号提供的虚拟宠物,所述父亲虚拟宠物具有第一宠物形象。
所述第一交互模块940,用于根据第二操作在所述母亲宠物栏位中添加母亲虚拟宠物,所述母亲虚拟宠物是所述终端中登录的第二用户帐号已拥有的虚拟宠物,所述母亲虚拟宠物具有第二宠物形象。
所述第一显示模块920,用于在繁育成功时显示繁育结果界面,所述繁育结果界面显示有孩子虚拟宠物,所述孩子虚拟宠物具有第三宠物形象,所述第三宠物形象是根据所述第一宠物形象和所述第二宠物形象按照所述基因遗传规则生成的。
在一个可选的实施例中,所述第一交互模块940,还用于接收在所述配对市场界面上的第一操作;根据所述第一操作在所述处于配对状态的虚拟宠物中,确定出候选虚拟宠物;所述第一显示模块920,还用于显示所述候选虚拟宠物的宠物展示界面,所述宠物展示界面包括配对按钮;所述第一交互模块940,用于接收对所述配对按钮进行点击的触发操作;根据所述触发操作将所述候选虚拟宠物确定为所述父亲虚拟宠物。
在一个可选的实施例中,所述第一交互模块940,还用于接收对所述母亲宠物栏位进行点击的第二操作;所述第一显示模块920,还用于显示宠物选择界面,所述宠物选择界面显示有所述第二用户帐号已拥有的至少一个虚拟宠物;所述第一交互模块940,还用于接收在所述宠物选择界面上的选择操作;根据所述选择操作在所述至少一个虚拟宠物中,确定出所述母亲虚拟宠物;将所述母亲虚拟宠物添加至所述母亲宠物栏位中。
在一个可选的实施例中,所述第一显示模块920,用于在繁育时长超过所述母亲虚拟宠物的怀孕时长时,显示所述孩子虚拟宠物的领取界面;所述第一交互模块940,还用于接收在所述领取界面上触发的领取信号;所述第一显示模块920,还用于根据所述领取信号显示所述繁育结果界面,所述繁育结果界面上显示有所述孩子虚拟宠物的第三宠物形象。
在一个可选的实施例中,所述第一显示模块920,用于当所述第二用户帐号未拥有繁育屋道具时,显示用于购买所述繁育屋道具的购买界面;所述繁育屋道具是用于向所述父亲虚拟宠物和所述母亲虚拟宠物提供繁育场所的道具;所述第一交互模块940,用于接收在所述购买界面上触发的购买信号;根据所述购买信号向服务器购买所述繁育屋道具。
在一个可选的实施例中,所述遗传规则包括:继承规则、变异规则和丢失规则中的至少一种;
所述继承规则是指所述孩子虚拟宠物的第三宠物形象的全部或部分形象素材是复制自所述第一宠物形象和/或所述第二宠物形象的;
所述变异规则是指所述孩子虚拟宠物的第三宠物形象包括变异得到的形象素材,所述变异得到的形象素材是所述第一宠物形象和所述第二宠物形象均不具有的形象素材;
所述丢失规则是指当所述第一宠物形象和/或所述第二宠物形象具有全局特征的形象素材时,所述第三宠物形象中不具有所述全局特征的形象素材,所述全局特征的形象素材是覆盖虚拟宠物的身体模型的整体化形象素材且具有最高显示优先级。
在一个可选的实施例中,所述装置还包括:第一发送模块960和第一接收模块980,如图16所示;
所述第一发送模块960,用于向服务器发送繁育请求,所述繁育请求包括所述父亲虚拟宠物的信息和所述母亲虚拟宠物的信息;
所述第一接收模块980,用于接收所述服务器的繁育响应,所述繁育响应包括所述孩子虚拟宠物的信息。
图17示出了本申请一个示例性实施例提供的虚拟宠物的繁育装置的框图。该繁育装置可以通过软件、硬件或者两者的结合实现成为第二客户端(或第二终端)的一部分,该繁育装置提供有虚拟宠物且存在至少一个虚拟宠物的宠物形象是基于基因遗传规则生成的,所述装置包括:第二显示模块1120和第二交互模块1140。
所述第二显示模块1120,用于显示父亲虚拟宠物的配对设置界面,所述配对设置界面是用于将所述父亲虚拟宠物上架至配对市场的设置界面;
所述第二交互模块1140,用于在所述配对设置界面中获取所述父亲虚拟宠物的配对资源数量;
所述第二显示模块1120,还用于显示配对市场界面,所述配对市场界面包括处于配对状态的所述父亲虚拟宠物,所述虚拟宠物用于与第二用户帐号已拥有的母亲虚拟宠物繁育得到孩子虚拟宠物;
其中,所述父亲虚拟宠物具有第一宠物形象,所述母亲虚拟宠物具有第二宠物形象,所述孩子虚拟宠物的第三宠物形象是根据所述第一宠物形象和所述第二宠物形象按照所述基因遗传规则生成的。
在一个可选的实施例中,所述装置还包括:第二发送模块1160和第二接 收模块1180,如图18所示;
所述第二发送模块1160,用于向服务器发送上架请求,所述上架请求用于请求将所述父亲虚拟宠物添加至所述配对市场;
所述第二接收模块1180,用于接收所述服务器发送的上架请求回复,所述上架请求包括所述父亲虚拟宠物的上架结果。
在一个可选的实施例中,所述装置还包括:
所述第二接收模块1180,用于接收所述第二用户帐号按照所述配对资源数量提供的配对资源,所述配对资源是所述孩子虚拟宠物被成功繁育时发送的。
在一个可选的实施例中,所述装置还包括:
所述第二显示模块1120,用于显示所述父亲虚拟宠物的宠物展示界面,所述宠物展示界面上显示有下架按钮;
所述第二交互模块1140,用于接收在所述下架按钮上触发的下架操作;
所述第二发送模块1160,用于向服务器发送下架请求,所述下架请求用于请求将所述父亲虚拟宠物在所述配对市场删除。
图19示出了本申请一个示例性实施例提供的虚拟宠物的繁育装置的框图。该繁育装置可以通过软件、硬件或者两者的结合实现成为游戏服务器的全部或一部分,该繁育装置提供有虚拟宠物且存在至少一个虚拟宠物的宠物形象是基于基因遗传规则生成的,所述装置包括:第三接收模块1920、生成模块1940和第三发送模块1960。
所述第三接收模块1920,用于接收终端发送的繁育请求,所述繁育请求携带有父亲虚拟宠物的信息和母亲虚拟宠物的信息,所述父亲虚拟宠物是在配对市场上由第一用户帐号提供的虚拟宠物,所述母亲虚拟宠物是所述终端中登录的第二用户帐号拥有的虚拟宠物,所述父亲虚拟宠物具有第一宠物形象,所述母亲虚拟宠物具有第二宠物形象;
所述生成模块1940,用于根据所述父亲虚拟宠物的第一宠物形象和所述母亲虚拟宠物的第二宠物形象,按照遗传规则生成孩子虚拟宠物的第三宠物形象;
所述第三发送模块1960,用于向所述终端发送所述孩子虚拟宠物的信息, 所述终端用于根据所述孩子虚拟宠物的信息显示繁育结果界面,所述繁育结果界面显示有所述孩子虚拟宠物的第三宠物形象。
在一个可选的实施例中,所述遗传规则包括:继承规则、变异规则和丢失规则中的至少一种;
所述继承规则包括所述第三宠物形象的全部或部分形象素材是来自所述第一宠物形象和/或所述第二宠物形象;
所述变异规则包括所述第三宠物形象的全部或部分形象素材是变异得到的形象素材,所述变异得到的形象素材是所述第一宠物形象和所述第二宠物形象均不具有的形象素材;
所述丢失规则包括当所述第一宠物形象和/或所述第二宠物形象具有全局特征的形象素材时,所述第三宠物形象不具有所述全局特征的形象素材,所述全局特征的形象素材的显示优先级高于其它形象素材。
在一个可选的实施例中,所述装置还包括:
所述生成模块1940,用于当本次繁育过程满足繁育条件时,根据所述父亲虚拟宠物的第一宠物形象和所述母亲虚拟宠物的第二宠物形象,按照遗传规则生成孩子虚拟宠物的第三宠物形象。
在一个可选的实施例中,所述繁育条件包括如下条件中的至少一种:
所述终端对应的当前用户帐号拥有处于可用状态的繁育屋道具,所述繁育屋道具是用于向所述父亲虚拟宠物和所述母亲虚拟宠物提供繁育场所的道具;
所述父亲虚拟宠物和所述母亲虚拟宠物不具有近亲关系;
繁育时长大于所述母亲虚拟宠物对应的怀孕时长,所述繁育时长是所述孩子虚拟宠物开始繁育后的已繁育时间。
在一个可选的实施例中,所述装置还包括:扣除模块1980,如图19所示;
所述扣除模块1980,用于在生成所述第三角色形象后,从所述当前用户帐号扣除所述繁育屋道具。
图20示出了本申请一个示例性实施例提供的终端2000的结构框图。该终端2000可以是:智能手机、平板电脑、MP3播放器(Moving Picture Experts  Group Audio Layer III,动态影像专家压缩标准音频层面3)、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器、笔记本电脑或台式电脑。终端2000还可能被称为用户设备、便携式终端、膝上型终端、台式终端等其他名称。该终端2000可以是上述图1中的第一终端120或第二终端160。
通常,终端2000包括有:处理器2001和存储器2002。
处理器2001可以包括一个或多个处理核心,比如4核心处理器、8核心处理器等。处理器2001可以采用DSP(Digital Signal Processing,数字信号处理)、FPGA(Field-Programmable Gate Array,现场可编程门阵列)、PLA(Programmable Logic Array,可编程逻辑阵列)中的至少一种硬件形式来实现。处理器2001也可以包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称CPU(Central Processing Unit,中央处理器);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器2001可以在集成有GPU(Graphics Processing Unit,图像处理器),GPU用于负责显示屏所需要显示的内容的渲染和绘制。一些实施例中,处理器2001还可以包括AI(Artificial Intelligence,人工智能)处理器,该AI处理器用于处理有关机器学习的计算操作。
存储器2002可以包括一个或多个计算机可读存储介质,该计算机可读存储介质可以是非暂态的。存储器2002还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。在一些实施例中,存储器2002中的非暂态的计算机可读存储介质用于存储至少一个指令,该至少一个指令用于被处理器2001所执行以实现本申请中方法实施例提供的虚拟宠物生成方法。
在一些实施例中,终端2000还可选包括有:外围设备接口2003和至少一个外围设备。处理器2001、存储器2002和外围设备接口2003之间可以通过总线或信号线相连。各个外围设备可以通过总线、信号线或电路板与外围设备接口2003相连。具体地,外围设备包括:射频电路2004、触摸显示屏2005、摄像头2006、音频电路2007、定位组件2008和电源2009中的至少一种。
外围设备接口2003可被用于将I/O(Input/Output,输入/输出)相关的 至少一个外围设备连接到处理器2001和存储器2002。在一些实施例中,处理器2001、存储器2002和外围设备接口2003被集成在同一芯片或电路板上;在一些其他实施例中,处理器2001、存储器2002和外围设备接口2003中的任意一个或两个可以在单独的芯片或电路板上实现,本实施例对此不加以限定。
射频电路2004用于接收和发射RF(Radio Frequency,射频)信号,也称电磁信号。射频电路2004通过电磁信号与通信网络以及其他通信设备进行通信。射频电路2004将电信号转换为电磁信号进行发送,或者,将接收到的电磁信号转换为电信号。可选地,射频电路2004包括:天线系统、RF收发器、一个或多个放大器、调谐器、振荡器、数字信号处理器、编解码芯片组、用户身份模块卡等等。射频电路2004可以通过至少一种无线通信协议来与其它终端进行通信。该无线通信协议包括但不限于:万维网、城域网、内联网、各代移动通信网络(2G、3G、4G及5G)、无线局域网和/或WiFi(Wireless Fidelity,无线保真)网络。在一些实施例中,射频电路2004还可以包括NFC(Near Field Communication,近距离无线通信)有关的电路,本申请对此不加以限定。
显示屏2005用于显示UI(User Interface,用户界面)。该UI可以包括图形、文本、图标、视频及其它们的任意组合。当显示屏2005是触摸显示屏时,显示屏2005还具有采集在显示屏2005的表面或表面上方的触摸信号的能力。该触摸信号可以作为控制信号输入至处理器2001进行处理。此时,显示屏2005还可以用于提供虚拟按钮和/或虚拟键盘,也称软按钮和/或软键盘。在一些实施例中,显示屏2005可以为一个,设置终端2000的前面板;在另一些实施例中,显示屏2005可以为至少两个,分别设置在终端2000的不同表面或呈折叠设计;在再一些实施例中,显示屏2005可以是柔性显示屏,设置在终端2000的弯曲表面上或折叠面上。甚至,显示屏2005还可以设置成非矩形的不规则图形,也即异形屏。显示屏2005可以采用LCD(Liquid Crystal Display,液晶显示屏)、OLED(Organic Light-Emitting Diode,有机发光二极管)等材质制备。
摄像头组件2006用于采集图像或视频。可选地,摄像头组件2006包括前置摄像头和后置摄像头。通常,前置摄像头设置在终端的前面板,后置摄 像头设置在终端的背面。在一些实施例中,后置摄像头为至少两个,分别为主摄像头、景深摄像头、广角摄像头、长焦摄像头中的任意一种,以实现主摄像头和景深摄像头融合实现背景虚化功能、主摄像头和广角摄像头融合实现全景拍摄以及VR(Virtual Reality,虚拟现实)拍摄功能或者其它融合拍摄功能。在一些实施例中,摄像头组件2006还可以包括闪光灯。闪光灯可以是单色温闪光灯,也可以是双色温闪光灯。双色温闪光灯是指暖光闪光灯和冷光闪光灯的组合,可以用于不同色温下的光线补偿。
音频电路2007可以包括麦克风和扬声器。麦克风用于采集用户及环境的声波,并将声波转换为电信号输入至处理器2001进行处理,或者输入至射频电路2004以实现语音通信。出于立体声采集或降噪的目的,麦克风可以为多个,分别设置在终端2000的不同部位。麦克风还可以是阵列麦克风或全向采集型麦克风。扬声器则用于将来自处理器2001或射频电路2004的电信号转换为声波。扬声器可以是传统的薄膜扬声器,也可以是压电陶瓷扬声器。当扬声器是压电陶瓷扬声器时,不仅可以将电信号转换为人类可听见的声波,也可以将电信号转换为人类听不见的声波以进行测距等用途。在一些实施例中,音频电路2007还可以包括耳机插孔。
定位组件2008用于定位终端2000的当前地理位置,以实现导航或LBS(Location Based Service,基于位置的服务)。定位组件2008可以是基于美国的GPS(Global Positioning System,全球定位系统)、中国的北斗系统或俄罗斯的伽利略系统的定位组件。
电源2009用于为终端2000中的各个组件进行供电。电源2009可以是交流电、直流电、一次性电池或可充电电池。当电源2009包括可充电电池时,该可充电电池可以是有线充电电池或无线充电电池。有线充电电池是通过有线线路充电的电池,无线充电电池是通过无线线圈充电的电池。该可充电电池还可以用于支持快充技术。
在一些实施例中,终端2000还包括有一个或多个传感器2010。该一个或多个传感器2010包括但不限于:加速度传感器2011、陀螺仪传感器2012、压力传感器2013、指纹传感器2014、光学传感器2015以及接近传感器2016。
加速度传感器2011可以检测以终端2000建立的坐标系的三个坐标轴上的加速度大小。比如,加速度传感器2011可以用于检测重力加速度在三个坐 标轴上的分量。处理器2001可以根据加速度传感器2011采集的重力加速度信号,控制触摸显示屏2005以横向视图或纵向视图进行用户界面的显示。加速度传感器2011还可以用于游戏或者用户的运动数据的采集。
陀螺仪传感器2012可以检测终端2000的机体方向及转动角度,陀螺仪传感器2012可以与加速度传感器2011协同采集用户对终端2000的3D动作。处理器2001根据陀螺仪传感器2012采集的数据,可以实现如下功能:动作感应(比如根据用户的倾斜操作来改变UI)、拍摄时的图像稳定、游戏控制以及惯性导航。
压力传感器2013可以设置在终端2000的侧边框和/或触摸显示屏2005的下层。当压力传感器2013设置在终端2000的侧边框时,可以检测用户对终端2000的握持信号,由处理器2001根据压力传感器2013采集的握持信号进行左右手识别或快捷操作。当压力传感器2013设置在触摸显示屏2005的下层时,由处理器2001根据用户对触摸显示屏2005的压力操作,实现对UI界面上的可操作性控件进行控制。可操作性控件包括按钮控件、滚动条控件、图标控件、菜单控件中的至少一种。
指纹传感器2014用于采集用户的指纹,由处理器2001根据指纹传感器2014采集到的指纹识别用户的身份,或者,由指纹传感器2014根据采集到的指纹识别用户的身份。在识别出用户的身份为可信身份时,由处理器2001授权该用户执行相关的敏感操作,该敏感操作包括解锁屏幕、查看加密信息、下载软件、支付及更改设置等。指纹传感器2014可以被设置终端2000的正面、背面或侧面。当终端2000上设置有物理按键或厂商Logo时,指纹传感器2014可以与物理按键或厂商Logo集成在一起。
光学传感器2015用于采集环境光强度。在一个实施例中,处理器2001可以根据光学传感器2015采集的环境光强度,控制触摸显示屏2005的显示亮度。具体地,当环境光强度较高时,调高触摸显示屏2005的显示亮度;当环境光强度较低时,调低触摸显示屏2005的显示亮度。在另一个实施例中,处理器2001还可以根据光学传感器2015采集的环境光强度,动态调整摄像头组件2006的拍摄参数。
接近传感器2016,也称距离传感器,通常设置在终端2000的前面板。接近传感器2016用于采集用户与终端2000的正面之间的距离。在一个实施 例中,当接近传感器2016检测到用户与终端2000的正面之间的距离逐渐变小时,由处理器2001控制触摸显示屏2005从亮屏状态切换为息屏状态;当接近传感器2016检测到用户与终端2000的正面之间的距离逐渐变大时,由处理器2001控制触摸显示屏2005从息屏状态切换为亮屏状态。
本领域技术人员可以理解,图20中示出的结构并不构成对终端2000的限定,可以包括比图示更多或更少的组件,或者组合某些组件,或者采用不同的组件布置。
本申请还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由所述处理器加载并执行以实现上述方法实施例提供的虚拟宠物的繁育方法。
图21是本申请一个实施例提供的服务器的结构示意图。具体来讲:服务器2100包括中央处理单元(英文:Central Processing Unit,简称:CPU)2101、包括随机存取存储器(英文:random access memory,简称:RAM)2102和只读存储器(英文:read-only memory,简称:ROM)2103的系统存储器2104,以及连接系统存储器2104和中央处理单元2101的系统总线2105。所述服务器2100还包括帮助计算机内的各个器件之间传输信息的基本输入/输出系统(I/O系统)2106,和用于存储操作系统2113、客户端2114和其他程序模块2115的大容量存储设备2107。
所述基本输入/输出系统2106包括有用于显示信息的显示器2108和用于用户输入信息的诸如鼠标、键盘之类的输入设备2109。其中所述显示器2108和输入设备2109都通过连接到系统总线2105的输入/输出控制器2110连接到中央处理单元2101。所述基本输入/输出系统2106还可以包括输入/输出控制器2110以用于接收和处理来自键盘、鼠标、或电子触控笔等多个其他设备的输入。类似地,输入/输出控制器2110还提供输出到显示屏、打印机或其他类型的输出设备。
所述大容量存储设备2107通过连接到系统总线2105的大容量存储控制器(未示出)连接到中央处理单元2101。所述大容量存储设备2107及其相关联的计算机可读介质为服务器2100提供非易失性存储。也就是说,所述大 容量存储设备2107可以包括诸如硬盘或者只读光盘(英文:Compact Disc Read-Only Memory,简称:CD-ROM)驱动器之类的计算机可读介质(未示出)。
不失一般性,所述计算机可读介质可以包括计算机存储介质和通信介质。计算机存储介质包括以用于存储诸如计算机可读指令、数据结构、程序模块或其他数据等信息的任何方法或技术实现的易失性和非易失性、可移动和不可移动介质。计算机存储介质包括RAM、ROM、可擦除可编程只读存储器(英文:erasable programmable read-only memory,简称:EPROM)、电可擦除可编程只读存储器(英文:electrically erasable programmable read-only memory,简称:EEPROM)、闪存或其他固态存储其技术,CD-ROM、数字通用光盘(英文:Digital Versatile Disc,简称:DVD)或其他光学存储、磁带盒、磁带、磁盘存储或其他磁性存储设备。当然,本领域技术人员可知所述计算机存储介质不局限于上述几种。上述的系统存储器2104和大容量存储设备2107可以统称为存储器。
根据本申请的各种实施例,所述服务器2100还可以通过诸如因特网等网络连接到网络上的远程计算机运行。也即服务器2100可以通过连接在所述系统总线2105上的网络接口单元2111连接到网络2112,或者说,也可以使用网络接口单元2111来连接到其他类型的网络或远程计算机系统(未示出)。
本申请还提供了一种计算机程序产品,当其在电子设备上运行时,使得电子设备执行上述各个方法实施例所述的虚拟宠物的繁育方法。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过计算机可读指令来指令相关的硬件完成,所述的计算机可读指令可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。
以上所述仅为本申请的较佳实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。

Claims (20)

  1. 一种虚拟宠物的繁育方法,由第二终端执行,所述第二终端提供有虚拟宠物且存在至少一个所述虚拟宠物的宠物形象是基于基因遗传规则生成的,所述方法包括:
    显示配对市场界面,所述配对市场界面包括处于配对状态的虚拟宠物;
    根据第一操作在所述配对市场界面中选择父亲虚拟宠物;
    显示宠物繁育界面,所述宠物繁育界面包括父亲宠物栏位和母亲宠物栏位,所述父亲宠物栏位中显示有所述父亲虚拟宠物,所述父亲虚拟宠物是在配对市场上由第一用户帐号提供的虚拟宠物,所述父亲虚拟宠物具有第一宠物形象;
    根据第二操作在所述母亲宠物栏位中添加母亲虚拟宠物,所述母亲虚拟宠物是所述终端中登录的第二用户帐号已拥有的虚拟宠物,所述母亲虚拟宠物具有第二宠物形象;及
    在繁育成功时显示繁育结果界面,所述繁育结果界面显示有孩子虚拟宠物,所述孩子虚拟宠物具有第三宠物形象,所述第三宠物形象是根据所述第一宠物形象和所述第二宠物形象按照所述基因遗传规则生成的。
  2. 根据权利要求1所述的方法,其特征在于,所述根据第一操作在所述配对市场界面中选择父亲虚拟宠物,包括:
    接收在所述配对市场界面上的第一操作;
    根据所述第一操作在所述处于配对状态的虚拟宠物中,确定出候选虚拟宠物;
    显示所述候选虚拟宠物的宠物展示界面,所述宠物展示界面包括配对按钮;
    接收对所述配对按钮进行点击的触发操作;及
    根据所述触发操作将所述候选虚拟宠物确定为所述父亲虚拟宠物。
  3. 根据权利要求1所述的方法,其特征在于,所述根据第二操作在所述母亲宠物栏位中添加母亲虚拟宠物,包括:
    接收对所述母亲宠物栏位进行点击的第二操作;
    显示宠物选择界面,所述宠物选择界面显示有所述第二用户帐号已拥有的至少一个虚拟宠物;
    接收在所述宠物选择界面上的选择操作;
    根据所述选择操作在所述至少一个虚拟宠物中,确定出所述母亲虚拟宠物;及
    将所述母亲虚拟宠物添加至所述母亲宠物栏位中。
  4. 根据权利要求1所述的方法,其特征在于,所述在繁育成功时显示繁育结果界面,包括:
    在繁育时长超过所述母亲虚拟宠物的怀孕时长时,显示所述孩子虚拟宠物的领取界面;
    接收在所述领取界面上触发的领取信号;
    根据所述领取信号显示所述繁育结果界面,所述繁育结果界面上显示有所述孩子虚拟宠物的第三宠物形象。
  5. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    当所述第二用户帐号未拥有繁育屋道具时,显示用于购买所述繁育屋道具的购买界面;所述繁育屋道具是用于向所述父亲虚拟宠物和所述母亲虚拟宠物提供繁育场所的道具;
    接收在所述购买界面上触发的购买信号;及
    根据所述购买信号向服务器购买所述繁育屋道具。
  6. 根据权利要求1至5任一所述的方法,其特征在于,所述基因遗传规则包括:继承规则、变异规则和丢失规则中的至少一种;
    所述继承规则是指所述孩子虚拟宠物的第三宠物形象的全部或部分形象素材是复制自所述第一宠物形象和/或所述第二宠物形象的;
    所述变异规则是指所述孩子虚拟宠物的第三宠物形象包括变异得到的形象素材,所述变异得到的形象素材是所述第一宠物形象和所述第二宠物形象均不具有的形象素材;及
    所述丢失规则是指当所述第一宠物形象和/或所述第二宠物形象具有全 局特征的形象素材时,所述第三宠物形象中不具有所述全局特征的形象素材,所述全局特征的形象素材是覆盖虚拟宠物的身体模型的整体化形象素材且具有最高显示优先级。
  7. 根据权利要求1至5任一所述的方法,其特征在于,所述方法还包括:
    向服务器发送繁育请求,所述繁育请求包括所述父亲虚拟宠物的信息和所述母亲虚拟宠物的信息;及
    接收所述服务器的繁育响应,所述繁育响应包括所述孩子虚拟宠物的信息。
  8. 一种虚拟宠物的繁育方法,由第一终端执行,所述第一终端提供有虚拟宠物且存在至少一个所述虚拟宠物的宠物形象是基于基因遗传规则生成的,所述方法包括:
    显示父亲虚拟宠物的配对设置界面,所述配对设置界面是用于将所述父亲虚拟宠物上架至配对市场的设置界面;
    在所述配对设置界面中获取所述父亲虚拟宠物的配对资源数量;
    显示配对市场界面,所述配对市场界面包括处于配对状态的所述父亲虚拟宠物,所述父亲虚拟宠物用于与第二用户帐号已拥有的母亲虚拟宠物繁育得到孩子虚拟宠物;及
    其中,所述父亲虚拟宠物具有第一宠物形象,所述母亲虚拟宠物具有第二宠物形象,所述孩子虚拟宠物的第三宠物形象是根据所述第一宠物形象和所述第二宠物形象按照所述基因遗传规则生成的。
  9. 根据权利要求8所述的方法,其特征在于,所述方法还包括:
    向服务器发送上架请求,所述上架请求用于请求将所述父亲虚拟宠物添加至所述配对市场;及
    接收所述服务器发送的上架请求回复,所述上架请求包括所述父亲虚拟宠物的上架结果。
  10. 根据权利要求8所述的方法,其特征在于,所述方法还包括:
    接收所述第二用户帐号按照所述配对资源数量提供的配对资源,所述配对资源是所述孩子虚拟宠物被成功繁育时发送的。
  11. 根据权利要求8所述的方法,其特征在于,所述方法还包括:
    显示所述父亲虚拟宠物的宠物展示界面,所述宠物展示界面上显示有下架按钮;
    接收在所述下架按钮上触发的下架操作;及
    向服务器发送下架请求,所述下架请求用于请求将所述父亲虚拟宠物在所述配对市场删除。
  12. 一种虚拟宠物的繁育方法,由服务器执行,所述方法包括:
    接收终端发送的繁育请求,所述繁育请求携带有父亲虚拟宠物的信息和母亲虚拟宠物的信息,所述父亲虚拟宠物是在配对市场上由第一用户帐号提供的虚拟宠物,所述母亲虚拟宠物是所述终端中登录的第二用户帐号拥有的虚拟宠物,所述父亲虚拟宠物具有第一宠物形象,所述母亲虚拟宠物具有第二宠物形象;
    根据所述父亲虚拟宠物的第一宠物形象和所述母亲虚拟宠物的第二宠物形象,按照遗传规则生成孩子虚拟宠物的第三宠物形象;及
    向所述终端发送所述孩子虚拟宠物的信息,所述终端用于根据所述孩子虚拟宠物的信息显示繁育结果界面,所述繁育结果界面显示有所述孩子虚拟宠物的第三宠物形象。
  13. 根据权利要求12所述的方法,其特征在于,所述遗传规则包括:继承规则、变异规则和丢失规则中的至少一种;
    所述继承规则包括所述第三宠物形象的全部或部分形象素材是来自所述第一宠物形象和/或所述第二宠物形象;
    所述变异规则包括所述第三宠物形象的全部或部分形象素材是变异得到的形象素材,所述变异得到的形象素材是所述第一宠物形象和所述第二宠物形象均不具有的形象素材;
    所述丢失规则包括当所述第一宠物形象和/或所述第二宠物形象具有全 局特征的形象素材时,所述第三宠物形象不具有所述全局特征的形象素材,所述全局特征的形象素材的显示优先级高于其它形象素材。
  14. 一种虚拟宠物的繁育装置,所述装置提供有虚拟宠物且存在至少一个所述虚拟宠物的宠物形象是基于基因遗传规则生成的,所述装置包括:
    第一显示模块,用于显示配对市场界面,所述配对市场界面包括处于配对状态的虚拟宠物;
    第一交互模块,用于根据第一操作在所述配对市场界面中选择父亲虚拟宠物;
    所述第一显示模块,用于显示宠物繁育界面,所述宠物繁育界面包括父亲宠物栏位和母亲宠物栏位,所述父亲宠物栏位中显示有所述父亲虚拟宠物,所述父亲虚拟宠物是在配对市场上由第一用户帐号提供的虚拟宠物,所述父亲虚拟宠物具有第一宠物形象;
    所述第一交互模块,用于根据第二操作在所述母亲宠物栏位中添加母亲虚拟宠物,所述母亲虚拟宠物是所述终端中登录的第二用户帐号已拥有的虚拟宠物,所述母亲虚拟宠物具有第二宠物形象;
    所述第一显示模块,用于在繁育成功时显示繁育结果界面,所述繁育结果界面显示有孩子虚拟宠物,所述孩子虚拟宠物具有第三宠物形象,所述第三宠物形象是根据所述第一宠物形象和所述第二宠物形象按照所述基因遗传规则生成的。
  15. 一种虚拟宠物的繁育装置,所述装置提供有虚拟宠物且存在至少一个所述虚拟宠物的宠物形象是基于基因遗传规则生成的,所述装置包括:
    第二显示模块,用于显示父亲虚拟宠物的配对设置界面,所述配对设置界面是用于将所述父亲虚拟宠物上架至配对市场的设置界面;
    第二交互模块,用于在所述配对设置界面中获取所述父亲虚拟宠物的配对资源数量;
    所述第二显示模块,用于显示配对市场界面,所述配对市场界面包括处于配对状态的所述父亲虚拟宠物,所述父亲虚拟宠物用于与第二用户帐号已拥有的母亲虚拟宠物繁育得到孩子虚拟宠物;
    其中,所述父亲虚拟宠物具有第一宠物形象,所述母亲虚拟宠物具有第二宠物形象,所述孩子虚拟宠物的第三宠物形象是根据所述第一宠物形象和所述第二宠物形象按照所述基因遗传规则生成的。
  16. 一种虚拟宠物的繁育装置,其特征在于,所述装置包括:
    第三接收模块,用于接收终端发送的繁育请求,所述繁育请求携带有父亲虚拟宠物的信息和母亲虚拟宠物的信息,所述父亲虚拟宠物是在配对市场上由第一用户帐号提供的虚拟宠物,所述母亲虚拟宠物是所述终端中登录的第二用户帐号拥有的虚拟宠物,所述父亲虚拟宠物具有第一宠物形象,所述母亲虚拟宠物具有第二宠物形象;
    生成模块,用于根据所述父亲虚拟宠物的第一宠物形象和所述母亲虚拟宠物的第二宠物形象,按照遗传规则生成孩子虚拟宠物的第三宠物形象;
    第三发送模块,用于向所述终端发送所述孩子虚拟宠物的信息,所述终端用于根据所述孩子虚拟宠物的信息显示繁育结果界面,所述繁育结果界面显示有所述孩子虚拟宠物的第三宠物形象。
  17. 一种终端,所述终端包括存储器和处理器;所述终端提供有虚拟宠物且存在至少一个所述虚拟宠物的宠物形象是基于基因遗传规则生成的;
    所述存储器中存储有至少一条计算机可读指令,所述至少一条计算机可读指令由所述处理器加载并执行以下步骤:
    显示配对市场界面,所述配对市场界面包括处于配对状态的虚拟宠物;
    根据第一操作在所述配对市场界面中选择父亲虚拟宠物;
    显示宠物繁育界面,所述宠物繁育界面包括父亲宠物栏位和母亲宠物栏位,所述父亲宠物栏位中显示有所述父亲虚拟宠物,所述父亲虚拟宠物是在配对市场上由第一用户帐号提供的虚拟宠物,所述父亲虚拟宠物具有第一宠物形象;
    根据第二操作在所述母亲宠物栏位中添加母亲虚拟宠物,所述母亲虚拟宠物是所述终端中登录的第二用户帐号已拥有的虚拟宠物,所述母亲虚拟宠物具有第二宠物形象;及
    在繁育成功时显示繁育结果界面,所述繁育结果界面显示有孩子虚拟宠 物,所述孩子虚拟宠物具有第三宠物形象,所述第三宠物形象是根据所述第一宠物形象和所述第二宠物形象按照所述基因遗传规则生成的。
  18. 一种终端,所述终端包括存储器和处理器;所述终端提供有虚拟宠物且存在至少一个所述虚拟宠物的宠物形象是基于基因遗传规则生成的;
    所述存储器中存储有至少一条计算机可读指令,所述至少一条计算机可读指令由所述处理器加载并执行以下步骤:
    显示父亲虚拟宠物的配对设置界面,所述配对设置界面是用于将所述父亲虚拟宠物上架至配对市场的设置界面;
    在所述配对设置界面中获取所述父亲虚拟宠物的配对资源数量;
    显示配对市场界面,所述配对市场界面包括处于配对状态的所述父亲虚拟宠物,所述父亲虚拟宠物用于与第二用户帐号已拥有的母亲虚拟宠物繁育得到孩子虚拟宠物;及
    其中,所述父亲虚拟宠物具有第一宠物形象,所述母亲虚拟宠物具有第二宠物形象,所述孩子虚拟宠物的第三宠物形象是根据所述第一宠物形象和所述第二宠物形象按照所述基因遗传规则生成的。
  19. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有至少一条计算机可读指令,所述至少一条计算机可读指令由处理器加载并执行以下步骤:
    显示配对市场界面,所述配对市场界面包括处于配对状态的虚拟宠物;
    根据第一操作在所述配对市场界面中选择父亲虚拟宠物;
    显示宠物繁育界面,所述宠物繁育界面包括父亲宠物栏位和母亲宠物栏位,所述父亲宠物栏位中显示有所述父亲虚拟宠物,所述父亲虚拟宠物是在配对市场上由第一用户帐号提供的虚拟宠物,所述父亲虚拟宠物具有第一宠物形象;
    根据第二操作在所述母亲宠物栏位中添加母亲虚拟宠物,所述母亲虚拟宠物是所述终端中登录的第二用户帐号已拥有的虚拟宠物,所述母亲虚拟宠物具有第二宠物形象;及
    在繁育成功时显示繁育结果界面,所述繁育结果界面显示有孩子虚拟宠 物,所述孩子虚拟宠物具有第三宠物形象,所述第三宠物形象是根据所述第一宠物形象和所述第二宠物形象按照基因遗传规则生成的。
  20. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有至少一条计算机可读指令,所述至少一条计算机可读指令由处理器加载并执行以下步骤:
    显示父亲虚拟宠物的配对设置界面,所述配对设置界面是用于将所述父亲虚拟宠物上架至配对市场的设置界面;
    在所述配对设置界面中获取所述父亲虚拟宠物的配对资源数量;
    显示配对市场界面,所述配对市场界面包括处于配对状态的所述父亲虚拟宠物,所述父亲虚拟宠物用于与第二用户帐号已拥有的母亲虚拟宠物繁育得到孩子虚拟宠物;及
    其中,所述父亲虚拟宠物具有第一宠物形象,所述母亲虚拟宠物具有第二宠物形象,所述孩子虚拟宠物的第三宠物形象是根据所述第一宠物形象和所述第二宠物形象按照所述基因遗传规则生成的。
PCT/CN2019/094158 2018-08-24 2019-07-01 虚拟宠物的繁育方法、装置、设备及存储介质 WO2020038121A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
KR1020207033230A KR102557266B1 (ko) 2018-08-24 2019-07-01 가상펫의 번식 방법, 장치, 기기 및 기억매체
SG11202010949QA SG11202010949QA (en) 2018-08-24 2019-07-01 Virtual pet breeding method and apparatus, device, and storage medium
JP2020568985A JP7245853B2 (ja) 2018-08-24 2019-07-01 バーチャルペットの繁殖方法、装置、機器及びコンピュータプログラム
US17/018,364 US11541318B2 (en) 2018-08-24 2020-09-11 Method and apparatus for breeding virtual pet

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810973797.1 2018-08-24
CN201810973797.1A CN109107166B (zh) 2018-08-24 2018-08-24 虚拟宠物的繁育方法、装置、设备及存储介质

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/018,364 Continuation US11541318B2 (en) 2018-08-24 2020-09-11 Method and apparatus for breeding virtual pet

Publications (1)

Publication Number Publication Date
WO2020038121A1 true WO2020038121A1 (zh) 2020-02-27

Family

ID=64860926

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/094158 WO2020038121A1 (zh) 2018-08-24 2019-07-01 虚拟宠物的繁育方法、装置、设备及存储介质

Country Status (6)

Country Link
US (1) US11541318B2 (zh)
JP (1) JP7245853B2 (zh)
KR (1) KR102557266B1 (zh)
CN (2) CN109107166B (zh)
SG (1) SG11202010949QA (zh)
WO (1) WO2020038121A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7436890B2 (ja) 2020-03-23 2024-02-22 株式会社カプコン コンピュータシステム

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109107166B (zh) * 2018-08-24 2023-03-17 腾讯科技(深圳)有限公司 虚拟宠物的繁育方法、装置、设备及存储介质
CN110047004B (zh) * 2019-04-23 2023-04-18 重庆金窝窝网络科技有限公司 区块链记账节点选择方法和装置
CN110430553B (zh) * 2019-07-31 2022-08-16 广州小鹏汽车科技有限公司 车辆间的互动方法、装置、存储介质及控制终端
WO2021102991A1 (en) * 2019-11-29 2021-06-03 SideChef Group Limited Crowd-sourced data collection and labelling using gaming mechanics for machine learning model training
CN111931227A (zh) * 2020-06-28 2020-11-13 山东浪潮质量链科技有限公司 一种基于区块链技术的宠物繁育信息证明方法
KR102695017B1 (ko) * 2021-08-30 2024-08-16 박정훈 반려동물 이미지에서 학습한 표정을 이용한 커뮤니케이션 서비스 시스템 및 방법
CN114887333B (zh) * 2022-04-26 2024-08-27 新瑞鹏宠物医疗集团有限公司 一种虚拟宠物配对的推荐方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1462939A (zh) * 2002-05-31 2003-12-24 明日工作室股份有限公司 虚拟宠物的养成方法与系统
CN102043613A (zh) * 2009-10-14 2011-05-04 英业达股份有限公司 虚拟宠物养成系统及其方法
CN103077230A (zh) * 2013-01-06 2013-05-01 中兴通讯股份有限公司 一种浏览器系统
US20180126284A1 (en) * 2016-11-08 2018-05-10 Origin Media Co. Ltd. Amusement Park Game System and Gaming Method Thereof
CN109107166A (zh) * 2018-08-24 2019-01-01 腾讯科技(深圳)有限公司 虚拟宠物的繁育方法、装置、设备及存储介质

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10222051A (ja) * 1997-02-06 1998-08-21 Jaleco:Kk 携帯用シミュレーション装置
JPH11126017A (ja) * 1997-08-22 1999-05-11 Sony Corp 記憶媒体、ロボット、情報処理装置、並びに電子ペットシステム
KR20010045273A (ko) * 1999-11-04 2001-06-05 박화자 가상 애완동물 생성 장치 및 생성된 가상 애완동물 이용방법
KR20010057829A (ko) * 1999-12-23 2001-07-05 이민화 네트워크상에서 가상 애완동물을 분양하고 기르도록 하는방법 및 그 방법을 기록한 컴퓨터로 읽을 수 있는 기록매체
JP3315678B2 (ja) * 2000-01-31 2002-08-19 コナミ株式会社 ゲームシステムおよびコンピュータ読み取り可能な記憶媒体
JP2002139987A (ja) * 2000-10-31 2002-05-17 Atr Media Integration & Communications Res Lab 仮想生物飼育システム
JP4302110B2 (ja) * 2006-02-16 2009-07-22 株式会社ソニー・コンピュータエンタテインメント ゲーム管理サーバ、ゲームシステム、ゲーム制御方法
CN101179406B (zh) * 2006-11-30 2011-01-12 腾讯科技(深圳)有限公司 一种电子宠物旅游方法、旅游服务器与系统
US20080268930A1 (en) * 2007-04-26 2008-10-30 Miller Mark E System and method for generating and displaying a horse racing form for use with a virtual horse race
JP2012090928A (ja) * 2010-10-22 2012-05-17 Kazuyuki Fukushima 仮想ペットの育成ゲーム装置
US20140114630A1 (en) * 2012-03-21 2014-04-24 Scott Brenner Brave Generating Artifacts based on Genetic and Breeding Simulation
JP5735936B2 (ja) * 2012-06-29 2015-06-17 株式会社コナミデジタルエンタテインメント ゲームシステム、それに用いられる制御方法、及びコンピュータプログラム
US8920243B1 (en) * 2013-01-02 2014-12-30 Kabam, Inc. System and method for providing in-game timed offers
JP5985564B2 (ja) * 2014-09-24 2016-09-06 グリー株式会社 ゲームプログラム、ゲーム制御方法、およびコンピュータ
CN106407711A (zh) * 2016-10-10 2017-02-15 重庆科技学院 基于云数据的宠物喂养推荐方法及系统
US11308184B2 (en) * 2018-12-07 2022-04-19 Nike, Inc. Video game integration of cryptographically secured digital assets

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1462939A (zh) * 2002-05-31 2003-12-24 明日工作室股份有限公司 虚拟宠物的养成方法与系统
CN102043613A (zh) * 2009-10-14 2011-05-04 英业达股份有限公司 虚拟宠物养成系统及其方法
CN103077230A (zh) * 2013-01-06 2013-05-01 中兴通讯股份有限公司 一种浏览器系统
US20180126284A1 (en) * 2016-11-08 2018-05-10 Origin Media Co. Ltd. Amusement Park Game System and Gaming Method Thereof
CN109107166A (zh) * 2018-08-24 2019-01-01 腾讯科技(深圳)有限公司 虚拟宠物的繁育方法、装置、设备及存储介质

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
WANG JING SHE: "nventory Check: Ten Cases of "Blockchain+Games", 19 April 2018 (2018-04-19) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7436890B2 (ja) 2020-03-23 2024-02-22 株式会社カプコン コンピュータシステム

Also Published As

Publication number Publication date
SG11202010949QA (en) 2020-12-30
CN109107166A (zh) 2019-01-01
JP2021528131A (ja) 2021-10-21
US20200406149A1 (en) 2020-12-31
CN109107166B (zh) 2023-03-17
KR20210005094A (ko) 2021-01-13
CN110420465A (zh) 2019-11-08
US11541318B2 (en) 2023-01-03
JP7245853B2 (ja) 2023-03-24
KR102557266B1 (ko) 2023-07-20

Similar Documents

Publication Publication Date Title
US11083966B2 (en) Method and apparatus for displaying virtual pet, terminal, and storage medium
WO2020038121A1 (zh) 虚拟宠物的繁育方法、装置、设备及存储介质
KR102510194B1 (ko) 가상 애완동물의 정보 디스플레이 방법, 장치, 단말기, 서버, 기록 매체, 및 시스템
WO2020043018A1 (zh) 虚拟宠物商品的交易方法和装置
JP7090837B2 (ja) 仮想ペットの情報表示方法および装置、端末、サーバ並びにそのコンピュータプログラム
WO2020119447A1 (zh) 虚拟角色的皮肤显示方法、装置及设备
CN110585726A (zh) 用户召回方法、装置、服务器及计算机可读存储介质
CN110136228B (zh) 虚拟角色的面部替换方法、装置、终端及存储介质
CN109126136B (zh) 三维虚拟宠物的生成方法、装置、设备及存储介质
CN110420464B (zh) 虚拟宠物形象参数的确定方法、装置及可读存储介质
CN110399183B (zh) 虚拟宠物的繁育方法、装置、设备及存储介质
CN109045690B (zh) 虚拟宠物获取方法、装置、电子装置及存储介质

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: 19852124

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 20207033230

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2020568985

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19852124

Country of ref document: EP

Kind code of ref document: A1