WO2020043015A1 - 虚拟宠物的展示方法、装置、终端及存储介质 - Google Patents

虚拟宠物的展示方法、装置、终端及存储介质 Download PDF

Info

Publication number
WO2020043015A1
WO2020043015A1 PCT/CN2019/102132 CN2019102132W WO2020043015A1 WO 2020043015 A1 WO2020043015 A1 WO 2020043015A1 CN 2019102132 W CN2019102132 W CN 2019102132W WO 2020043015 A1 WO2020043015 A1 WO 2020043015A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
virtual pet
pet
target virtual
display interface
Prior art date
Application number
PCT/CN2019/102132
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 JP2020569887A priority Critical patent/JP7142113B2/ja
Priority to KR1020207032176A priority patent/KR102451344B1/ko
Priority to SG11202010931YA priority patent/SG11202010931YA/en
Publication of WO2020043015A1 publication Critical patent/WO2020043015A1/zh
Priority to US17/028,376 priority patent/US11083966B2/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/50Controlling the output signals based on the game progress
    • A63F13/53Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
    • A63F13/537Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game using indicators, e.g. showing the condition of a game character on screen
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/70Game security or game management aspects
    • A63F13/73Authorising game programs or game devices, e.g. checking authenticity
    • 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
    • A63F13/352Details of game servers involving special game server arrangements, e.g. regional servers connected to a national server or a plurality of servers managing partitions of the game world
    • 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/50Controlling the output signals based on the game progress
    • A63F13/53Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
    • A63F13/533Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game for prompting the player, e.g. by displaying a game menu
    • 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
    • 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/30Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device
    • A63F2300/308Details of the user interface
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/50Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
    • A63F2300/57Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers details of game services offered to the player
    • A63F2300/575Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers details of game services offered to the player for trading virtual items
    • 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 method, a device, a device, and a storage medium for displaying a virtual pet.
  • a virtual pet is provided in some applications, and the virtual pet can have various animal images or anime images.
  • a virtual pet display user interface When displaying a virtual pet in an application, related technologies provide a virtual pet display user interface.
  • the display user interface displays the external image of the virtual pet and various numerical attribute information.
  • Various numerical attribute information includes, but is not limited to, the nickname of the virtual pet, the level of the virtual pet, the skills of the virtual pet, the health value of the virtual pet, the magic value of the virtual pet, the attack power of the virtual pet, and the defense value of the virtual pet. At least one.
  • the above display user interface is mainly used to display the numerical attribute information of the virtual pet, and the numerical attribute information is easy to be tampered with and copied, so that the information displayed on the display user interface may be tampered with or copied from other virtual pets.
  • a method for displaying a virtual pet is executed by a terminal that provides an application for the virtual pet.
  • the pet image in which at least one virtual pet exists is generated based on genetic rules. The method includes:
  • the first information is information corresponding to the target virtual pet stored on the blockchain system
  • a method for displaying a virtual pet is executed by a server.
  • the method includes:
  • the first information is sent to the terminal, and the first information is used by the terminal to display a first display interface of the target virtual pet.
  • the terminal before the terminal determines the target virtual pet to be displayed in the application, the terminal includes:
  • the terminal before the terminal determines the target virtual pet to be displayed in the application, the terminal further includes:
  • a display device for a virtual pet includes:
  • a determination module configured to determine a target virtual pet to be displayed in an application
  • An obtaining module configured to obtain first information of the target virtual pet from the server, where the first information is information corresponding to the target virtual pet stored on the blockchain system;
  • the display module is configured to display a first display interface of the target virtual pet, and the first display interface includes first information of the target virtual pet.
  • a display device for a virtual pet includes:
  • a receiving module configured to receive a first acquisition request sent by a terminal, where the first acquisition request is sent after the terminal determines a target virtual pet to be displayed in an application program;
  • An extraction module configured to extract the pet identification of the target virtual pet on the blockchain system from the first acquisition request
  • An acquisition module configured to acquire the first information of the target virtual pet from the blockchain system according to the pet identification
  • the sending module is configured to send the first information to the terminal, and the first information is used by the terminal to display a first display interface of the target virtual pet.
  • a 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 performs the following steps:
  • the first information is information corresponding to the target virtual pet stored on the blockchain system
  • a first display interface of the target virtual pet is displayed, and the first display interface includes first information of the target virtual pet.
  • a server 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:
  • a non-volatile 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 the processor and executes the following steps:
  • the first information is information corresponding to the target virtual pet stored on the blockchain system
  • a first display interface of the target virtual pet is displayed, and the first display interface includes first information of the target virtual pet.
  • a non-volatile 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 the processor and executes the following steps:
  • FIG. 1 is a block diagram of an implementation environment of a method for displaying a virtual pet according to an exemplary embodiment of the present application
  • FIG. 2 is a flowchart of a method for displaying a virtual pet according to an exemplary embodiment of the present application
  • FIG. 3 is a flowchart of a method for displaying a virtual pet according to another exemplary embodiment of the present application.
  • FIG. 4 is a schematic diagram of an interface implemented by a method for displaying a virtual pet according to an exemplary embodiment of the present application
  • FIG. 5 is a schematic interface diagram implemented by a method for displaying a virtual pet according to another exemplary embodiment of the present application.
  • FIG. 6 is a flowchart of a method for displaying a virtual pet according to another exemplary embodiment of the present application.
  • FIG. 7 is a schematic diagram of an interface implemented by a method for displaying a virtual pet according to another exemplary embodiment of the present application.
  • FIG. 8 is a flowchart of a method for displaying a virtual pet according to another exemplary embodiment of the present application.
  • FIG. 9 is a schematic diagram of an interface implemented by a method for displaying a virtual pet according to another exemplary embodiment of the present application.
  • FIG. 10 is a flowchart of a method for displaying a virtual pet according to another exemplary embodiment of the present application.
  • FIG. 11 is a schematic diagram of an interface implemented by a method for displaying a virtual pet according to another exemplary embodiment of the present application.
  • FIG. 12 is a schematic diagram of an interface implemented by a method for displaying a virtual pet according to another exemplary embodiment of the present application.
  • FIG. 13 is a flowchart of a method for displaying a virtual pet according to another exemplary embodiment of the present application.
  • FIG. 14 is a schematic diagram of an interface implemented by a method for displaying a virtual pet according to another exemplary embodiment of the present application.
  • 15 is a flowchart of a method for displaying a virtual pet according to another exemplary embodiment of the present application.
  • 16 is a schematic diagram of an interface implemented by a method for displaying a virtual pet according to another exemplary embodiment of the present application.
  • FIG. 17 is a flowchart of a method for displaying a virtual pet according to another exemplary embodiment of the present application.
  • FIG. 18 is a schematic diagram of an interface implemented by a method for displaying a virtual pet according to another exemplary embodiment of the present application.
  • FIG. 19 is a flowchart of a method for displaying a virtual pet according to another exemplary embodiment of the present application.
  • 20 is a schematic diagram of an interface implemented by a method for displaying a virtual pet according to another exemplary embodiment of the present application.
  • 21 is a flowchart of a method for displaying a virtual pet according to another exemplary embodiment of the present application.
  • FIG. 22 is a flowchart of a method for displaying a virtual pet according to another exemplary embodiment of the present application.
  • FIG. 23 is a flowchart of a method for displaying a virtual pet according to another exemplary embodiment of the present application.
  • FIG. 24 is a flowchart of a method for displaying a virtual pet according to another exemplary embodiment of the present application.
  • 25 is a block diagram of a display device for a virtual pet provided by an exemplary embodiment of the present application.
  • 26 is a block diagram of a display device for a virtual pet according to another exemplary embodiment of the present application.
  • FIG. 27 is a block diagram of a display device for a virtual pet according to another exemplary embodiment of the present application.
  • FIG. 28 is a block diagram of a display device for a virtual pet according to another exemplary embodiment of the present application.
  • Blockchain system refers to a system that uses blockchain technology to store data.
  • Blockchain technology also known as distributed ledger technology, is an Internet database technology, which is characterized by decentralization, openness and transparency, allowing everyone to participate in database records.
  • Block chain using the block technique may be used to verify the chain data stored in the data structure, using a distributed consensus algorithm to generate node and update data by way of cryptography to ensure secure data transmission and access to, the use of automated script code consisting of A distributed infrastructure and computing method for smart contracts to program and manipulate data.
  • the data stored in the blockchain system has high stability and reliability.
  • the blockchain system is an immutable and trusted database. Therefore, compared with the traditional background server that directly uses the application to store the event flow information of the virtual pet, the blockchain system is used to store the event flow information of the virtual pet, which helps improve the security and reliability of the event flow information .
  • Block height The number of blocks linked to the main chain, that is, the number of blocks connected to the block chain.
  • Virtual pet A digital pet that is presented as a pet image in cartoon and / or 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 pet
  • 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. At the same time, because the pet information of the virtual pet is stored on the blockchain system, even if the virtual pet is a digital pet designed for use in the first application, it can be easily migrated to the second application for use. The first application and the second application are different applications.
  • the virtual pet is a digital pet displayed by an application running in the terminal.
  • the application 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 for Augmented Reality (AR) interaction, use Virtual pets for socializing and AR education using virtual pets.
  • the application is an application for acquiring, breeding and / or trading virtual pets based on a blockchain system.
  • the application 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 for collection, growth, and / or battle.
  • the application 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, and life value.
  • 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. , At least one of beard texture feature parameters, beard color feature parameters, ear feature parameters, tail feature parameters, and pendant feature parameters.
  • a gene sequence can be represented by a sequence of key-value pairs, which can take 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 rule of the gene is a genetic rule that mimics the real organism, 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 generations of children's virtual pets generated by parental virtual pet breeding are higher than the generations 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 block diagram of an implementation environment of a method for displaying a virtual pet according to an exemplary embodiment of the present application.
  • the implementation environment includes: a terminal 120, a server cluster 140, a blockchain system 160, and a communication network 180.
  • the terminal 120 is connected to the server cluster 140 through a communication network 180.
  • the terminal 120 may be a smartphone, a game console, a desktop computer, a tablet computer, an e-book reader, an MP3 (Moving Picture Experts Group Audio Player III, MP3) player, an MP4 (Moving Picture Experts Group Expert Layer IV (MP4) player, and At least one of laptop portable computers.
  • the terminal 120 installs and runs an application that supports a virtual pet.
  • the application program may be any one of a pet breeding game program, an AR (Augmented Reality, AR) game program, and an AR education program.
  • a user account is registered in an application in the terminal 120.
  • 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 an application supporting a virtual pet.
  • the server cluster 140 undertakes the main calculation work, and the terminal 120 undertakes the secondary calculation work; or, the server cluster 140 undertakes the secondary calculation work, and the terminal 120 undertakes the main calculation work; or, between the server cluster 140 and the terminal 120 Adopt distributed computing architecture for collaborative computing.
  • the server cluster 140 includes: an access server and a background server.
  • the access server is used to provide the access service and information sending and receiving service of the terminal 120, and forward valid information between the terminal 120 and the background server.
  • the background server is used to provide the background service of the application, such as game logic service, material providing service, virtual pet generation service, virtual pet 3D image generation service, virtual pet 2D image conversion and storage service, virtual pet transaction At least one of a service and a display service of a virtual pet.
  • the background server can be one or more. When there are multiple background servers, there are at least two background servers for providing different services, and / or there are at least two background servers for providing the same service, which is not limited in the embodiment of the present application.
  • the blockchain system 160 is connected to the server cluster 140 through a communication network 180.
  • the server cluster 140 stores role information and / or transaction records of each virtual pet in the blockchain system 160; when the terminal 120 obtains role information and / or transaction records of the virtual pet, the server cluster 140 pulls from the blockchain system 160 Take the target information and feed it back to the terminal 120.
  • the server cluster 140 itself may also operate and store data as one or more nodes in the blockchain system 160.
  • the communication network 180 may be a wired network and / or a wireless network
  • the wired network may be a metropolitan area network, a local area network, a fiber optic network, and the like
  • the wireless network may be a mobile communication network or a wireless fidelity network (WIreless Fidelity, WiFi).
  • FIG. 2 shows a flowchart of a method for displaying a virtual pet according to an exemplary embodiment of the present application. This embodiment is exemplified by applying the method to the terminal 120 in the implementation environment shown in FIG. 1. The method includes:
  • Step 201 Determine a target virtual pet to be displayed in the application.
  • the terminal runs an application, and the terminal logs in to the application through a user account.
  • the application is able to provide virtual pets.
  • the application may be any one of a pet breeding game program, an AR game program, and an AR education program.
  • a virtual pet is a digital pet that is owned, bred or collected by a user account.
  • the virtual pet is a character for displaying in an application in the terminal.
  • the virtual pet is any one of a two-dimensional virtual pet, a 2.5-dimensional virtual pet, and a three-dimensional virtual pet.
  • the virtual pet has a character image in an animal form and / or a cartoon form.
  • the terminal determines the target virtual pet to be displayed in the application, including:
  • the terminal obtains pet information of m virtual pets from the server.
  • the pet information of m virtual pets is summary information of m virtual pets owned by the current user account stored on the blockchain system, where m is a positive integer; in the application program
  • the pet preview interface is displayed.
  • the pet preview interface is used to display pet information of m virtual pets owned by the current user account; receive a selection signal triggered on the pet preview interface; and determine a target virtual pet among the m virtual pets according to the selection signal.
  • Step 202 Obtain first information of the target virtual pet from the server.
  • the first information is information corresponding to the target virtual pet stored on the blockchain system.
  • the terminal obtaining the first information of the target virtual pet from the server includes:
  • the terminal sends a first acquisition request to the server.
  • the first acquisition request includes the pet identifier of the target virtual pet on the blockchain system.
  • the first information received by the server is received, and the first information is obtained by the server from the blockchain system according to the pet identifier. Among them, the information corresponding to the target virtual pet is stored on the blockchain system.
  • the first information includes at least one of the following information: the three-dimensional image character of the target virtual pet, the generational information of the target virtual pet, the name of the target virtual pet, the identification of the target virtual pet, the image characteristic information of the target virtual pet, and the virtual Pet breeding recovery time.
  • the first information further includes information about a parent virtual pet of the target virtual pet.
  • step 203 a first display interface of the target virtual pet is displayed, and the first display interface includes first information of the target virtual pet.
  • the terminal renders and generates a first display interface according to the first information of the target virtual pet, and the first display interface includes the first information.
  • the terminal displaying the first display interface of the target virtual pet further includes:
  • the terminal receives a first sliding signal on the first display interface; slides the display content on the first display interface toward the first direction according to the first slide signal; when sliding to the first position of the first display interface, it is in the first position
  • the corresponding display content displays information of the parent virtual pet; wherein the information of the parent virtual pet includes a two-dimensional image character of the parent virtual pet, generational information of the parent virtual pet, and a name of the parent virtual pet.
  • the sliding signal is generated by a sliding gesture on the touch screen;
  • the first direction may be a direction parallel to the vertical and / or horizontal direction of the vertical screen.
  • displaying the information of the parent virtual pet in the display content corresponding to the first position includes:
  • a father character field and a mother character field are displayed in the first position, a father virtual pet corresponding to the target virtual pet is displayed on the father character field, and a mother virtual pet corresponding to the target virtual pet is displayed on the mother character field.
  • the first display interface is also used to display the information of the child's virtual pet of the target virtual pet; wherein the information of the child's virtual pet includes the two-dimensional image character of the child's virtual pet, the generational information of the child's virtual pet, and the child's virtual pet. name.
  • the terminal displays the child virtual pet information of the target virtual pet on the first display interface, including:
  • the terminal receives a second slide signal on the first display interface; slides the display content on the first display interface toward the first direction according to the second slide signal; when sliding to the second position of the first display interface, obtains the target from the server
  • the second information of the virtual pet is information of the child virtual pet corresponding to the target virtual pet stored on the blockchain system; and the information of the child virtual pet is displayed in a display content corresponding to the second position.
  • displaying the information of the child's virtual pet in the display content corresponding to the second position includes:
  • At least one child character field is displayed in the display content corresponding to the second position, and each child character field displays a child virtual pet corresponding to the target virtual pet.
  • obtaining the child virtual pet information of the target virtual pet from the server includes:
  • a second acquisition request is sent to the server, and the second acquisition request includes the pet identifier of the target virtual pet on the blockchain system; receiving the second information fed back by the server, the second information It is obtained by the server from the blockchain system according to the pet identification.
  • the first display interface is further used to display the genealogical information of the target virtual pet;
  • the genealogical information includes the two-dimensional image character of the ancestor virtual pet of the target virtual pet, the intergenerational information of the ancestor virtual pet, and the ancestor virtual Pet name.
  • the terminal displays the genealogical information of the target virtual pet on the first display interface, including:
  • the third information is the family tree information corresponding to the target virtual pet stored on the blockchain system; the family tree information of the target virtual pet is displayed in the display content corresponding to the third position.
  • the third position is used to indicate a character field displaying family tree information.
  • a terminal communicates with a blockchain system through a server to obtain first information corresponding to a target virtual pet stored on the blockchain system, and displays the first information according to the first information
  • the first display interface because the information stored in the blockchain system is confirmed by the consensus algorithm of multiple nodes, it can prevent the information displayed on the user interface in related technologies from being tampered or copied from other virtual pets Problem of corresponding information; thereby ensuring the authenticity and uniqueness of the information of the target virtual pet displayed on the first display interface.
  • the method for displaying a virtual pet includes displaying a first display interface.
  • the exemplary implementations shown in FIG. 3, FIG. 6, FIG. 8, and FIG. The display process of the first display interface in the display method.
  • FIG. 3 shows a flowchart of a method for displaying a virtual pet according to another exemplary embodiment of the present application. This embodiment is exemplified by applying this method to the implementation environment shown in FIG. 1.
  • the method includes:
  • Step 301 The terminal determines the target virtual pet to be displayed in the application.
  • the terminal runs an application, and the terminal logs in to the application through a user account.
  • the application is able to provide virtual pets.
  • the application may be any one of a pet breeding game program, an AR game program, and an AR education program.
  • a virtual pet is a digital pet that is owned, bred or collected by a user account.
  • the virtual pet is a character for displaying in an application in the terminal.
  • the virtual pet is any one of a two-dimensional virtual pet, a 2.5-dimensional virtual pet, and a three-dimensional virtual pet.
  • the virtual pet has a character image in an animal form and / or a cartoon form.
  • the terminal determines the target virtual pet to be displayed in the application, including:
  • the terminal obtains pet information of m virtual pets from the server.
  • the pet information of m virtual pets is summary information of m virtual pets owned by the current user account stored on the blockchain system, where m is a positive integer; in the application program
  • the pet preview interface is displayed.
  • the pet preview interface is used to display pet information of m virtual pets owned by the current user account; receive a selection signal triggered on the pet preview interface; and determine a target virtual pet among the m virtual pets according to the selection signal.
  • Step 302 The terminal sends a first acquisition request to the server.
  • the terminal sends a first acquisition request to the server through a wireless network or a wired network.
  • the first acquisition request includes a pet identification of the target virtual pet, and the first acquisition request is used to request from the server to acquire corresponding information of the target virtual pet on the blockchain system.
  • Step 303 The server receives a first acquisition request sent by the terminal.
  • Step 304 The server extracts the pet identification of the target virtual pet on the blockchain system from the first acquisition request.
  • the server extracts the pet identifier of the target virtual pet on the blockchain system from the first acquisition request, including:
  • the server After receiving the first acquisition request sent by the terminal, the server obtains ID (Identity, ID) information of the target virtual pet from the first acquisition request, and the ID information can be identified and responded by the blockchain system.
  • ID Identity, ID
  • Step 305 The server obtains the first information of the target virtual pet from the blockchain system according to the pet identification.
  • the server sends the ID information of the target virtual pet to the blockchain system; the blockchain system detects the ID information through a consensus algorithm, determines that the target virtual pet corresponding to the ID information exists, and feeds back the first information corresponding to the target virtual pet to the server; the server receives The first information fed back by the blockchain system.
  • the first information of the target virtual pet includes: the three-dimensional image character of the target virtual pet, the generation information of the target virtual pet, the name of the target virtual pet, the identification of the target virtual pet, the image characteristic information of the target virtual pet, and the reproduction and restoration of the virtual pet At least one of time.
  • the first information further includes information about a parent virtual pet of the target virtual pet.
  • Step 306 The server sends the first information to the terminal.
  • the server sends the first information to the terminal through a wired network or a wireless network.
  • Step 307 The terminal receives the first information fed back by the server.
  • Step 308 The terminal displays a first display interface of the target virtual pet, and the first display interface includes first information of the target virtual pet.
  • the terminal renders and generates a first display interface according to the first information of the target virtual pet, and the first display interface includes the first information.
  • the terminal displaying the first display interface of the target virtual pet further includes:
  • the terminal receives a first sliding signal on the first display interface; slides the display content on the first display interface toward the first direction according to the first slide signal; when sliding to the first position of the first display interface, it is in the first position
  • the corresponding display content displays information of the parent virtual pet; wherein the information of the parent virtual pet includes a two-dimensional image character of the parent virtual pet, generational information of the parent virtual pet, and a name of the parent virtual pet.
  • the sliding signal is generated by a sliding gesture on the touch screen;
  • the first direction may be a direction parallel to the vertical and / or horizontal direction of the vertical screen.
  • displaying the information of the parent virtual pet in the display content corresponding to the first position includes:
  • a father character field and a mother character field are displayed in the first position, a father virtual pet corresponding to the target virtual pet is displayed on the father character field, and a mother virtual pet corresponding to the target virtual pet is displayed on the mother character field.
  • the first display interface is also used to display the information of the child's virtual pet of the target virtual pet; wherein the information of the child's virtual pet includes the two-dimensional image character of the child's virtual pet, the generational information of the child's virtual pet, and the child's virtual pet. name.
  • the terminal displays the child virtual pet information of the target virtual pet on the first display interface, including:
  • the terminal receives a second slide signal on the first display interface; slides the display content on the first display interface toward the first direction according to the second slide signal; when sliding to the second position of the first display interface, obtains the target from the server
  • the second information of the virtual pet is information of the child virtual pet corresponding to the target virtual pet stored on the blockchain system; and the information of the child virtual pet is displayed in a display content corresponding to the second position.
  • displaying the information of the child's virtual pet in the display content corresponding to the second position includes:
  • At least one child character field is displayed in the display content corresponding to the second position, and each child character field displays a child virtual pet corresponding to the target virtual pet.
  • obtaining the child virtual pet information of the target virtual pet from the server includes:
  • a second acquisition request is sent to the server, and the second acquisition request includes the pet identifier of the target virtual pet on the blockchain system; receiving the second information fed back by the server, the second information It is obtained by the server from the blockchain system according to the pet identification.
  • the first display interface is further used to display the genealogical information of the target virtual pet;
  • the genealogical information includes the two-dimensional image character of the ancestor virtual pet of the target virtual pet, the intergenerational information of the ancestor virtual pet, and the ancestor virtual Pet name.
  • the terminal displays the genealogical information of the target virtual pet on the first display interface, including:
  • the third information is the family tree information corresponding to the target virtual pet stored on the blockchain system; the family tree information of the target virtual pet is displayed in the display content corresponding to the third position.
  • the third position is used to indicate a character field displaying family tree information.
  • FIG. 4 is a schematic diagram of a first display interface displayed during the implementation of the method for displaying a virtual pet.
  • the terminal determines in the application program that the target virtual pet to be displayed is the pet cat 32, and sends a first acquisition request to the server to request the first information of the pet cat 32; the server receives the first information sent by the terminal.
  • the ID information of the pet cat 32 is obtained from the first acquisition request, and the first information of the pet cat 32 is obtained from the blockchain system according to the ID information of the pet cat 32; the terminal according to the first information of the pet cat 32
  • the first display interface 31 is generated by rendering, and the first display interface 31 is displayed.
  • the three-dimensional image of the pet cat 32 includes the image factors of ears, skin, markings, patterns, eyes, mouth, and beards; you can also click on the three-dimensional image of the pet cat 32 to show some actions, such as waving, sitting, smiling .
  • the generation form of the intergenerational information 33 may be “i generation”, where i is an integer i ⁇ 0, which represents the generation information of the pet 32 in the entire virtual pet worldview, and “1 generation” shown in FIG. 4 indicates that The pet cat 32 in the virtual pet world view is the first generation pet cat.
  • the generational information object of the virtual pet is determined by the generational generation in the virtual pet's father virtual pet and the mother's virtual pet.
  • the child's virtual pet generational generation is determined by the maximum number of generations in the father's virtual pet and the mother's virtual pet.
  • the father's virtual pet is a Generation 0 virtual pet
  • the mother's virtual pet is a Generation 4 virtual pet
  • the child's virtual pet is a Generation 5 virtual pet.
  • the form of the name 34 can be "xxx123456”.
  • the system randomly selects three characters, and marks a 6-digit sequential number for each pet cat. Combine the word with the sequential number to obtain the pet cat. For example, when pet cat 32 was born, the system extracted three characters as "xxx", and the system found all pet cats with the same characters as "xxx” by comparison. Add 1 to the sequence number to get a 6-digit sequence number "000001”. Combine "xxx" and "000001" to get the name of the pet cat 32 as "xxx000001".
  • the display form of the identifier 35 may be "# 123456", the identifier 35 is an identifier stored on the blockchain by the pet cat 32, for example, the identifier of the pet cat 32 is "# 000001".
  • the image feature information 36 includes at least one of spots, hats, belly, ears, eyes, clothes, tail, mouth, beard, and blush; for example, the image feature information in FIG. 4 represents the unique characteristics of the pet cat 32, Including its dress and pendants.
  • the breeding recovery time 37 refers to the length of time for the pet cat 32 to resume breeding after a breeding is completed. For example, the breeding recovery time of the pet cat 32 is 12 hours. After the breeding is completed, the pet cat 32 can breed again at least 12 hours.
  • the first display interface further includes: a back button for returning to the previous display interface; a home button for returning to the main interface; a favorite button for collecting pet cats; a like button for pets The cat likes it; the status bar is used to display the status information of the pet cat; the player information display bar is used to display the player information; the description button is used to display the exclusive cat gameplay.
  • the detailed interface of the pet cat 32 can be exited through the back button on the top left of the interface; the home button on the top right of the interface can directly return to the main interface of the game, such as previewing the pet
  • the interface is defined as the main interface, you can directly return to the pet preview interface by clicking the Home button; the favorite button on the left side of the name 34 can be used to collect the pet cat 32 to the favorite; the like button on the right side of the name 34 can be the pet cat 32
  • the status bar can display the status information of pet cat 32, such as "bred”, “sale”, “recovering", "matching”; player information can be displayed above the breeding recovery time 37, such as the player's The avatar and the player's nickname.
  • the player information display bar does not display any information; by clicking the description button, the play method of the pet cat 32 is displayed.
  • the first display interface further includes a pairing button.
  • the pairing button is used for breeding behavior between virtual pets. Referring to FIG. 5, taking a virtual pet as a pet cat as an example, the first display interface 31 of the pet cat 32 includes a pairing button, as shown in the left image of FIG. 5. Click the pairing button, and the terminal displays a selection pairing interface 21, as shown in FIG. 5. As shown in the figure on the right, the pairing method of the pet cat is displayed on the pairing selection interface 21: pairing with its own cat and pairing with the market. One pairing method is to pair with another pet cat under the same account, and the other pairing method is to select a pet cat to go to the market for pairing.
  • the first display interface further includes a sell button.
  • the sell button is used to sell pet cats to the market for sale.
  • the market is a platform for trading pet cats.
  • the terminal communicates with the blockchain system through the server, obtains the first information corresponding to the target virtual pet stored on the blockchain system, and displays the first display interface according to the first information.
  • the stored information is the information confirmed by the consensus algorithm of multiple nodes, which can avoid the problem that the information displayed on the user interface in the related technology may be tampered with or copied from the corresponding information of other virtual pets; thus ensuring the first display
  • the authenticity and uniqueness of the information of the target virtual pet displayed on the interface The first display interface displays detailed information of the target virtual pet, and by displaying the three-dimensional image character of the target virtual pet, the image vividly displays the appearance characteristics of the target virtual pet.
  • FIG. 6 shows a flowchart of a method for displaying a virtual pet according to another exemplary embodiment of the present application. This embodiment is exemplified by applying this method to the implementation environment shown in FIG. 1. It should be noted that the first display interface of the target virtual pet also includes information about the parent virtual pet of the target virtual pet. Based on steps 301 to 308 shown in FIG. 3, steps 401 to 403 are added to display the target virtual pet's The first display interface, the specific steps are as follows:
  • Step 401 The terminal receives a first sliding signal on a first display interface.
  • the terminal receives a first sliding signal on the first display interface, and the first sliding signal is a trigger signal generated by a sliding gesture occurring on the touch screen.
  • the terminal displays the first display interface, a sliding gesture occurs on the touch screen of the terminal, and the sliding gesture transmits a trigger signal to the terminal through the touch screen, that is, the first trigger signal.
  • Step 402 The terminal slides the display content on the first display interface in the first direction according to the first sliding signal.
  • the terminal slides the display content on the first display interface to the first direction according to the first sliding signal, and hides the display content that slides in the first direction, while displaying content that was not displayed before sliding in the direction opposite to the first direction.
  • the first direction may be a direction parallel to the up-down and / or left-right direction of the vertical screen.
  • the display content includes information of the target virtual pet.
  • Step 403 When sliding to the first position of the first display interface, the terminal displays information of the parent virtual pet in the display content corresponding to the first position.
  • the first information includes information about the parent virtual pet of the target virtual pet.
  • the first display interface slides to the first position, information about the father virtual pet corresponding to the target virtual pet is displayed in the father role field according to the first information.
  • the field displays information of the mother virtual pet corresponding to the target virtual pet.
  • the information of the parent virtual pet includes at least one of a two-dimensional image character of the parent virtual pet, generational information of the parent virtual pet, and a name of the parent virtual pet.
  • the terminal displays the first display interface 31 and slides the display content of the first display interface 31 upward by a sliding gesture.
  • the display content on the first display interface 31 is partially Hidden, when the first display interface 31 slides to display the first position 41, the terminal displays the father pet cat in the father character field 42 (43), and displays the mother pet cat in the mother character field 43 (42), as shown in the right of FIG. 7 As shown.
  • the information of the parent's virtual pet is displayed in the form of a card.
  • the father character field 42 (43) shows the two-dimensional image picture, generation information, and name of the father pet cat.
  • the mother character field 43 (42) shows the mother pet cat. Two-dimensional image picture, intergenerational information, name.
  • the terminal communicates with the blockchain system through the server, obtains the first information corresponding to the target virtual pet stored on the blockchain system, and displays the first display interface according to the first information.
  • the stored information is the information confirmed by the consensus algorithm of multiple nodes, which can avoid the problem that the information displayed on the user interface in the related technology may be tampered with or copied from the corresponding information of other virtual pets; thus ensuring the first display The authenticity and uniqueness of the information of the target virtual pet displayed on the interface.
  • FIG. 8 shows a flowchart of a method for displaying a virtual pet according to another exemplary embodiment of the present application.
  • This embodiment is exemplified by applying this method to the implementation environment shown in FIG. 1.
  • the first display interface is also used to display the information of the child virtual pet of the target virtual pet.
  • step 501 is added after steps 401 to 403 Go to step 510, display the first display interface of the target virtual pet, and the specific steps are as follows:
  • Step 501 The terminal receives a second sliding signal on the first display interface.
  • the terminal receives a second sliding signal on the first display interface, and the second sliding signal is a trigger signal generated by a sliding gesture occurring on the touch screen.
  • a sliding gesture occurs on the touch screen of the terminal, and the sliding gesture will transmit a trigger signal to the terminal through the touch screen, which is the second trigger signal.
  • Step 502 The terminal slides the display content on the first display interface in the first direction according to the second slide signal.
  • the terminal slides the display content on the first display interface to the first direction according to the second slide signal, and hides the display content that slides in the first direction, while displaying content that was not displayed before sliding in the direction opposite to the first direction.
  • the first direction may be a direction parallel to the up-down and / or left-right direction of the vertical screen.
  • the display content includes at least one of a combination of information of the parent virtual pet, information of the target virtual pet, and information of the parent virtual pet.
  • Step 503 Slide to the second position of the first display interface.
  • the first display interface slides to the second position, and the second position displays at least one child character field for displaying information about the child virtual pet corresponding to the target virtual pet.
  • the information about the child's virtual pet includes at least one of the two-dimensional image character of the child's virtual pet, the generational information of the child's virtual pet, and the name of the child's virtual pet.
  • Step 504 The terminal sends a second acquisition request to the server.
  • the terminal sends a second acquisition request to the server through a wireless network or a wired network.
  • the second acquisition request includes the pet identification of the target virtual pet, and the second acquisition request is used to request from the server to acquire information of the child virtual pet corresponding to the target virtual pet on the blockchain system.
  • Step 505 The server receives a second acquisition request sent by the terminal.
  • Step 506 The server extracts the pet identification of the target virtual pet on the blockchain system from the second acquisition request.
  • the server After receiving the second acquisition request sent by the terminal, the server obtains ID information of the target virtual pet from the second acquisition request, and the ID information can be identified and responded by the blockchain system.
  • Step 507 The server obtains the second information of the child's virtual pet from the blockchain system according to the pet identification.
  • the server sends ID information of the target virtual pet to the blockchain system; the blockchain system obtains the second information corresponding to the target virtual pet according to the ID information of the target virtual pet, and feeds back the second information to the server; the server receives the blockchain system Feedback of the second information.
  • the second information of the target virtual pet includes information of the child virtual pet.
  • Step 508 The server sends the second information to the terminal.
  • Step 509 The terminal receives the second information fed back by the server.
  • Step 510 The terminal displays the child's virtual pet information in the display content corresponding to the second position.
  • the first display interface 31 moves to the first position 41 to display information of the parent's virtual pet, and the first display interface continues to move upward to display the second position of the first display interface.
  • 51 as shown in the right figure of FIG. 9, the child character field 52 is displayed at the second position 51, and three child character fields are displayed in the figure.
  • the child character field displays the information of the child pet cat in the form of a card, such as In the child character field 52, a summary information of a child pet cat is displayed: a two-dimensional image picture of the child pet cat, intergenerational information, and a name.
  • the terminal communicates with the blockchain system through the server to obtain the information corresponding to the target virtual pet stored on the blockchain system; because the information stored in the blockchain system is passed through the consensus algorithm of multiple nodes
  • the confirmed information can avoid the problem that the information displayed on the user interface in the related technology may be tampered with or copied from the corresponding information of other virtual pets; thereby ensuring the authenticity of the information of the target virtual pet displayed on the first display interface Sex and uniqueness.
  • the acquisition of the first information and the second information of the target virtual pet is performed in batches to ensure that the terminal can successfully acquire the information.
  • FIG. 10 shows a flowchart of a method for displaying a virtual pet according to another exemplary embodiment of the present application.
  • This embodiment is exemplified by applying this method to the implementation environment shown in FIG. 1.
  • the first display interface is also used to display the genealogy information of the target virtual pet.
  • steps 601 to 610 are added after steps 501 to 510
  • steps 601 to 610 are added after steps 501 to 510
  • steps 601 to 610 are added after steps 501 to 510
  • the specific steps are as follows:
  • Step 601 The terminal receives a third sliding signal on the first display interface.
  • the terminal receives a third sliding signal on the first display interface, and the third sliding signal is a trigger signal generated by a sliding gesture occurring on the touch screen.
  • the third sliding signal is a trigger signal generated by a sliding gesture occurring on the touch screen.
  • Step 602 The terminal slides the display content on the first display interface in the first direction according to the third sliding signal.
  • the terminal slides the display content on the first display interface to the first direction according to the third sliding signal, and hides the display content that slides to the first direction, while displaying content that was not displayed before sliding in the direction opposite to the first direction.
  • the first direction may be a direction parallel to the up-down and / or left-right direction of the vertical screen.
  • the display content includes a combination of the child's virtual pet information, the parent's virtual pet information, and the child's virtual pet information. The target virtual pet information, the parent virtual pet information, and the child virtual pet information are combined. At least one situation.
  • Step 603 Slide to the third position of the first display interface.
  • the first display interface slides to a third position, and an ancestor character field is displayed at the third position for displaying genealogy information corresponding to the target virtual pet.
  • the genealogical information includes at least one of a two-dimensional image character of the ancestor virtual pet, intergenerational information of the ancestor virtual pet, and a name of the ancestor virtual pet.
  • Step 604 The terminal sends a third acquisition request to the server.
  • the terminal sends a third acquisition request to the server through a wireless network or a wired network.
  • the third acquisition request includes the pet identification of the target virtual pet, and the third acquisition request is used to request the server to acquire the genealogical information of the target virtual pet stored on the blockchain system.
  • Step 605 The server receives a third acquisition request sent by the terminal.
  • Step 606 The server extracts the pet identification of the target virtual pet on the blockchain system from the third acquisition request.
  • the server After receiving the third acquisition request sent by the terminal, the server obtains ID (Identity, ID) information of the target virtual pet from the third acquisition request, and the ID information can be identified and responded by the blockchain system.
  • ID Identity, ID
  • Step 607 The server obtains the genealogy information of the target virtual pet from the blockchain system according to the pet identification.
  • the server sends the ID information of the target virtual pet to the blockchain system; the blockchain system detects whether the account corresponding to the target virtual pet has activated the virtual pet system, whether the virtual pet system has been opened, and whether the target virtual pet is a 0th-generation virtual based on the ID information Pet; when the account corresponding to the target virtual pet has activated the virtual pet system, the virtual pet system is open, and the target virtual pet is not a 0th generation virtual pet, the three conditions are met at the same time, the blockchain system obtains the target virtual pet's The third information; the third information is fed back to the server; the server receives the third information fed back by the blockchain system.
  • the third information of the target virtual pet includes family tree information.
  • Step 608 The server sends family tree information to the terminal.
  • Step 609 The terminal receives the family tree information fed back by the server.
  • Step 610 The terminal displays the family tree information corresponding to the target virtual pet in the display content corresponding to the third position.
  • the family tree information corresponding to the target virtual pet is displayed in the ancestor character field according to the third information.
  • the genealogical information is displayed in the form of a card on each ancestor character field, and the genealogical information includes summary information of the ancestors: two-dimensional image pictures of ancestor pet cats, At least one of intergenerational information and name.
  • the display interface cannot be displayed at the same time.
  • the terminal can slide left and right on the second position 51 and the third position 62 to display summary information of multiple virtual pets.
  • FIG. 12 a sliding display of family tree information is taken as an example.
  • the left figure of FIG. 12 shows ancestor character fields 62, 63, and 64, and three different ancestor pets are displayed on each ancestor character field.
  • Cat slide the content to the left at the third position 61 of the first display interface 31, as shown in the left figure of FIG. 12, according to the left gesture, the ancestor character field and the display content on the field are hidden As shown on the right of Fig.
  • the ancestor character field 62 and the ancestor pet cat's summary information are hidden, and the ancestor character fields 63, 64 and the ancestor pet cat's summary on the field are hidden.
  • the information moves to the left, and at the same time, the summary information of the ancestor character field 65 and the fourth ancestor pet cat on the field is displayed.
  • the terminal communicates with the blockchain system through the server to obtain the information corresponding to the target virtual pet stored on the blockchain system; because the information stored in the blockchain system is passed through the consensus algorithm of multiple nodes
  • the confirmed information can avoid the problem that the information displayed on the user interface in the related technology may be tampered with or copied from the corresponding information of other virtual pets; thereby ensuring the authenticity of the information of the target virtual pet displayed on the first display interface Sex and uniqueness.
  • the acquisition of the first information, the second information, and the third information of the target virtual pet in batches acquires logic to ensure that the terminal can successfully acquire the information.
  • the method for displaying a virtual pet provided in this application further includes a second display interface and a third display interface.
  • the exemplary embodiment shown in FIG. The implementation process in the pet display method is described in detail, and the exemplary embodiment shown in FIG. 15 is a detailed description of the implementation process of the third display interface displayed in the virtual pet display method.
  • FIG. 13 shows a flowchart of a method for displaying a virtual pet according to another exemplary embodiment of the present application.
  • This embodiment is exemplified by applying this method to the implementation environment shown in FIG. 1.
  • the first display interface also includes a career information button control.
  • the terminal After the terminal displays the information of the target virtual pet on the first display interface, the terminal can also display the second display interface by triggering the career information button control, based on FIG. 3
  • steps 701 to 708 are added to display a second display interface.
  • the specific steps are as follows:
  • Step 701 The terminal receives a first click signal triggered on the career information button on the first display interface.
  • a click operation occurs in the screen area where the career information button is located. This operation generates a trigger signal, that is, a first click signal, and the terminal receives the first click signal.
  • Step 702 The terminal sends a fourth acquisition request to the server.
  • the terminal sends a fourth acquisition request to the server through a wireless network or a wired network.
  • the fourth obtaining request includes the first identification information of the target virtual pet, and the fourth obtaining request is used to request from the server to obtain the career information of the target virtual pet on the blockchain system.
  • Step 703 The server receives a fourth acquisition request sent by the terminal.
  • Step 704 The server extracts the first identification information from the fourth acquisition request.
  • the server After receiving the fourth acquisition request sent by the terminal, the server obtains ID information of the target virtual pet from the fourth acquisition request, and the ID information can be identified and responded by the blockchain system.
  • Step 705 The server obtains k pieces of historical event flow information of the target virtual pet from the blockchain system according to the first identification information, and obtains the career information of the target virtual pet.
  • the server sends the ID information of the target virtual pet to the blockchain system; the blockchain system determines the existence of the target virtual pet according to the ID information, and obtains k pieces of historical event flow information after the birth of the target virtual pet, where k is a positive integer; The historical event flow information is fed back to the server; the server receives k pieces of historical event flow information fed back by the blockchain system to obtain the career information of the target virtual pet.
  • career information includes: the birth type, time, and place of the target virtual pet; transaction records of the target virtual pet, such as the parties to the transaction, the transaction time, and the place of the transaction; breeding information of the target virtual pet, such as the player information corresponding to the breeding parties, the virtual At least one of pet information, breeding time, breeding place, and breeding result.
  • Step 706 The server sends the career information of the target virtual pet to the terminal.
  • Step 707 The terminal receives the career information of the target virtual pet fed back by the server.
  • Step 708 The terminal displays a second display interface.
  • the terminal renders and generates a second display interface according to the career information of the target virtual pet, and displays the second display interface.
  • the terminal displays k pieces of historical event flow information in the form of a card.
  • a career information button 38 is displayed on the first display interface 31.
  • the career information button 38 is named "Meow's Life", and the button “Meow's Life” is clicked to display the second display interface 71.
  • the second display interface 71 includes six pieces of historical event flow information, which are displayed in the form of a card on the second display interface 71. The cards are arranged in chronological order.
  • the card information includes the pet cat 32.
  • Career information for example, card 72 shows "2018.10.16 12:01:24 cat xxx000022 was born at xxx. Father is player A's cat xxx000001. Mother is player B's cat xxx000010"; card 73 displays "2018.10.15 12.33.24 Player A trades cat xxx000021 to player B for xxx currency. "
  • the terminal communicates with the blockchain system through the server to obtain the information corresponding to the target virtual pet stored on the blockchain system; because the information stored in the blockchain system is passed through the consensus algorithm of multiple nodes
  • the confirmed information can avoid the problem that the information displayed on the user interface in the related technology may be tampered or copied from the corresponding information of other virtual pets; thereby ensuring the authenticity of the information of the target virtual pet displayed on the second display interface Sex and uniqueness.
  • the terminal can display the life information of the virtual pet through the historical event flow information stored by the blockchain system.
  • FIG. 15 shows a flowchart of a method for displaying a virtual pet according to another exemplary embodiment of the present application.
  • This embodiment is exemplified by applying this method to the implementation environment shown in FIG. 1.
  • the first display interface further includes a transaction information button.
  • the terminal After the terminal displays the information of the target virtual pet on the first display interface, the terminal can also display the third display interface by triggering the transaction information button.
  • steps 301 to 308 steps 801 to 808 are added to display a third display interface. The specific steps are as follows:
  • Step 801 The terminal receives a second click signal triggered on the transaction information button on the first display interface.
  • a click operation occurs in the screen area where the transaction information button is located. This operation generates a trigger signal, that is, a second click signal, and the terminal receives the second click signal.
  • Step 802 The terminal sends a fifth acquisition request to the server.
  • the terminal sends a fifth acquisition request to the server through a wireless network or a wired network.
  • the fifth acquisition request includes the second identification information of the target virtual pet, and the fifth acquisition request is used to request from the server to acquire transaction information of the target virtual pet on the blockchain system.
  • Step 803 The server receives a fifth acquisition request sent by the terminal.
  • Step 804 The server extracts the second identification information from the fifth acquisition request.
  • the server After receiving the fifth acquisition request sent by the terminal, the server obtains ID information of the target virtual pet from the fifth acquisition request, and the ID information can be identified and responded by the blockchain system.
  • Step 805 The server obtains the blockchain transaction information of the target virtual pet from the blockchain system according to the second identification information.
  • the server sends ID information of the target virtual pet to the blockchain system; the blockchain system determines the existence of the target virtual pet according to the ID information, obtains the latest transaction flow information of the target virtual pet, and feeds back the latest transaction flow information to the server; the server Receive the latest transaction flow information fed back by the blockchain system to get the transaction information of the target virtual pet.
  • the transaction information includes: transaction hash value, business type, transaction type, transaction initiator, transaction receiver, block height, block creation time, number of transactions, consensus node name, consensus node confirmation time, and consensus confirmation status. At least one of.
  • Step 806 The server sends the transaction information of the target virtual pet to the terminal.
  • Step 807 The terminal receives the transaction information of the target virtual pet fed back by the server.
  • Step 808 The terminal displays a third display interface.
  • the terminal renders a third display interface according to the transaction information of the target virtual pet, and displays the third display interface.
  • the third display interface includes the core information of the latest transaction: the hash value and the block height.
  • a transaction information button 39 is displayed on the first display interface 31.
  • the transaction information button 39 is named "Block Information”, and the button "Block Information” is clicked to display a third display. Interface 84.
  • the third display interface 84 includes a hash value 81 and a block height 82 of the latest transaction.
  • the hash value 81 is represented as a string of characters. xdewrowv0wgw9egew0r023 # scSFVoglb0230t ", the block height 82 is represented as a string of numbers, schematically, the number string is" 5,505,505 ".
  • the third display interface 84 further includes a detail button control 83. Clicking the detail button control 83 can view detailed information of the most recent transaction, and the detailed information includes the most recent transaction information.
  • the terminal communicates with the blockchain system through the server to obtain the information corresponding to the target virtual pet stored on the blockchain system; because the information stored in the blockchain system is passed through the consensus algorithm of multiple nodes
  • the confirmed information can avoid the problem that the information displayed on the user interface in the related technology may be tampered or copied from the corresponding information of other virtual pets; thereby ensuring the authenticity of the information of the target virtual pet displayed on the third display interface Sex and uniqueness.
  • Obtaining block information through transaction information can obtain the hash value and block height of the most recent transaction.
  • FIG. 17 shows a flowchart of a method for displaying a virtual pet according to another exemplary embodiment of the present application. This embodiment is exemplified by applying this method to the implementation environment shown in FIG. 1. It should be noted that based on the embodiment shown in FIG. 3, steps 901 to 910 replace step 301.
  • the terminal displays a pet preview interface, selects the target virtual pet on the pet preview interface, and finally determines the target virtual pet in the application. The specific steps As follows:
  • Step 901 The terminal sends a preview acquisition request to the server.
  • the terminal sends a preview acquisition request to the server, where the preview acquisition request is used to request display of the pet preview interface; the preview acquisition request includes the current user account.
  • Step 902 The server receives a preview acquisition request sent by the terminal.
  • Step 903 The server extracts the current user account from the preview acquisition request.
  • Step 904 The server determines a target account corresponding to the current user account on the blockchain system.
  • a correspondence table is stored in the server, and the correspondence table is used to indicate the correspondence between the user account and the account on the blockchain system.
  • the server queries the target account corresponding to the current user account on the blockchain system according to the correspondence table, and determines the target account.
  • Step 905 The server obtains summary information of m virtual pets from the blockchain system according to the target account, where m is a positive integer.
  • the server sends the target account to the blockchain system; the blockchain system receives the target account and obtains the summary information of the corresponding m virtual pets according to the target account, where m is a positive integer; the blockchain system sends the summary information of the m virtual pets Feedback to the server; the server obtains summary information of m virtual pets.
  • the summary information of the virtual pet includes at least one of generation information of the virtual pet, a two-dimensional image of the virtual pet, a name of the virtual pet, and a breeding recovery time of the virtual pet.
  • Step 906 The server sends summary information of m virtual pets to the terminal.
  • Step 907 The terminal receives the summary information fed back by the server.
  • the terminal receives the summary information fed back by the server, and then repeats steps 905 to 907 to obtain the summary information of the virtual pets in batches.
  • Step 908 Display the pet preview interface in the application.
  • the terminal displays a pet preview interface in the application, and the pet preview interface includes summary information of m virtual pets.
  • the pet preview interface includes summary information of m virtual pets.
  • the blockchain does not complete the confirmation of the virtual pet, the virtual pet information cannot be viewed, and the information includes summary information and detailed information.
  • the pet preview interface 91 shown in the left figure in FIG. 18 displays the pet cat's summary information in a nine-square grid arrangement.
  • the pet cat's summary information is displayed in the form of a card, such as card 92, which displays the pet Cat xxx000003 summary information.
  • the pet cats displayed on the pet preview interface 91 are all pet cats owned by the same game account.
  • the arrangement of the pet preview interface 91 may be based on the order of the birth time of the pet cat, or the identification of the pet cat, or the breeding recovery time, or the collection priority, or the breeding priority, or the pairing priority, or the sales priority.
  • Step 909 The terminal receives a selection signal triggered on the pet preview interface.
  • the terminal displays the pet preview interface in the application, and a selection operation occurs on the touch screen. This operation generates a selection signal in the display area where the selected virtual pet is located, and the terminal receives the selection signal.
  • Step 910 Determine a target virtual pet among m virtual pets according to the selection signal.
  • the selected virtual pet is determined as the target virtual pet according to the selection signal, and the m virtual pets include the target virtual pet.
  • the pet preview interface 91 shown on the left in FIG. 18 is clicked on the pet preview interface 91 to display the card of one of the pet cats, for example, by clicking the card of the first pet cat, the terminal receives the selection triggered on the card Signal, it is determined that the pet cat is a target pet cat, that is, the pet cat 32 and a first display interface 31 is displayed, and detailed information of the pet cat 32 is displayed on the first display interface 31.
  • the terminal communicates with the blockchain system through the server to obtain preview information of the user account corresponding to the target virtual pet stored on the blockchain system; since the information stored in the blockchain system passes through multiple nodes
  • the information confirmed by the consensus algorithm can avoid the problem that the information displayed on the user interface in the related technology may be tampered with or copied from the corresponding information of other virtual pets; thereby ensuring the summary of the virtual pet displayed on the pet preview interface
  • the authenticity and uniqueness of the information The processing logic of batch acquisition of summary information of virtual pets ensures that the terminal can successfully obtain summary information of virtual pets.
  • FIG. 19 shows a flowchart of a method for displaying a virtual pet according to another exemplary embodiment of the present application.
  • This embodiment is exemplified by applying this method to the implementation environment shown in FIG. 1.
  • the pet preview interface further includes a blockchain node control.
  • steps 1001 to 1007 are added to display the fourth display interface through the blockchain node control.
  • the specific steps are as follows: As shown:
  • Step 1001 The terminal receives a third click signal triggered on the blockchain node control on the first display interface.
  • a blockchain node control is displayed on the pet preview interface.
  • a click operation occurs on the screen area where the blockchain node control is located. This operation generates a trigger signal, that is, a third click signal, and the terminal receives the third click signal.
  • a blockchain node control 93 is displayed on the pet preview interface 91 in the left figure. Schematically, clicking the blockchain node control 93, a single click operation generates a trigger signal, that is, a third click signal, the terminal Receive a third click signal.
  • Step 1002 The terminal sends a node information acquisition request to the server.
  • the terminal After receiving the third click signal, the terminal sends a node information acquisition request to the server, and the node information acquisition request includes the current user account.
  • Step 1003 The server receives a node information acquisition request sent by the terminal.
  • Step 1004 The server obtains node status information of n blockchain nodes from the blockchain system, where n is a positive integer.
  • the server obtains the target account corresponding to the current user account on the blockchain from the node information acquisition request, and the server obtains the node status information of n blockchain nodes from the blockchain system according to the target account.
  • Node status information includes recent transaction flow information.
  • Step 1005 The server sends node status information of n blockchain nodes to the terminal.
  • Step 1006 The terminal receives node status information of n blockchain nodes fed back by the server.
  • Step 1007 The terminal displays a fourth display interface.
  • the terminal displays a fourth display interface according to the node status information of n blockchain nodes, and the fourth display interface includes the node status and the most recent transaction of the game on the blockchain.
  • the node status displayed on the fourth display interface includes: data synchronization, data synchronization, data abnormality, not enabled; the game displayed on the fourth display interface is the most recent on the blockchain.
  • the transaction includes: transaction items, transaction time, name of the virtual pet transaction, and transaction amount.
  • the terminal communicates with the blockchain system through the server to obtain the information corresponding to the target virtual pet stored on the blockchain system; because the information stored in the blockchain system is passed through the consensus algorithm of multiple nodes
  • the confirmed information can avoid the problem that the information displayed on the user interface in the related technology may be tampered with or copied from the corresponding information of other virtual pets; thereby ensuring the authenticity of the information of the target virtual pet displayed on the fourth display interface Sex and uniqueness.
  • the terminal displays the current communication status of the major nodes of the blockchain by obtaining the node status of the blockchain nodes, so that users have a clearer understanding of the blockchain system.
  • FIG. 21 shows a flowchart of a method for displaying a virtual pet according to another exemplary embodiment of the present application. This embodiment is exemplified by applying this method to the implementation environment shown in FIG. 1. The method includes:
  • Step 1101 starts.
  • step 1102 the player logs in.
  • the player requests a login to the game client on the terminal, and the request carries a user account; the access server determines the request as a valid request, and requests the game server to log in to the game client; the game server allows the player to log in to the game client according to the user account; Log in to the game client.
  • Step 1103 Go to the blockchain to request the player's cat ID list.
  • the server After the player logs in to the game client, the server sends a request to obtain the cat ID list to the server; the server obtains the player's user account on the blockchain according to the acquisition request; the server pulls the cat ID from the blockchain in batches according to the user account on the blockchain. List.
  • the information of the cat ID list is stored in the blockchain.
  • Step 1104 Pull the list information in batches according to the cat ID.
  • the cat's summary information in batches according to the cat ID. For example, according to time order, the first cat is generated first, the second cat is generated in the second order, and so on. Pull the 1st to 60th cats, the second batch to pull the 61st to 120th cats, and so on, until the cat ID list is completely pulled.
  • step 1105 the batch is delivered to the client.
  • the pulled cat ID list is sent to the client in batches, and the client receives and displays the cat ID list.
  • Step 1106 ends.
  • the terminal communicates with the blockchain system through the server, obtains the summary information of the virtual pet list corresponding to the user account stored on the blockchain system, and displays the pet preview interface based on the summary information; due to the storage in the blockchain system
  • the information is confirmed by the consensus algorithm of multiple nodes, which can avoid the problem that the information displayed on the user interface in the related technology may be tampered with or copied from the corresponding information of other virtual pets; thus ensuring the pet preview interface The authenticity and uniqueness of the summary information of the displayed virtual pet.
  • FIG. 22 shows a flowchart of a method for displaying a virtual pet according to another exemplary embodiment of the present application. This embodiment is exemplified by applying this method to the implementation environment shown in FIG. 1. The method includes:
  • Step 1201 begins.
  • step 1202 the cat details are requested.
  • the player logs in to the game client, and the client displays a list of cat IDs.
  • the terminal sends a cat details request to the server, and the cat details request includes the cat ID.
  • Step 1203 go to the blockchain to request player cat details.
  • the server obtains the player's cat details from the blockchain according to the cat ID.
  • the cat details include the cat ID, intergenerational information, name, image characteristics, identification, breeding recovery time; the cat details also include the parent cat's cat ID, intergenerational information, first name.
  • Step 1204 the client is delivered.
  • the server sends the player's cat details to the client through the communication network.
  • Step 1205 ends.
  • the terminal communicates with the blockchain system through the server to obtain the information corresponding to the target virtual pet stored on the blockchain system; because the information stored in the blockchain system is passed through the consensus algorithm of multiple nodes
  • the confirmed information can avoid the problem that the information displayed on the user interface in the related technology may be tampered with or copied from the corresponding information of other virtual pets; thereby ensuring the authenticity of the information of the target virtual pet displayed on the first display interface Sex and uniqueness.
  • FIG. 23 is a flowchart of a method for displaying a virtual pet according to another exemplary embodiment of the present application. This embodiment is exemplified by applying this method to the implementation environment shown in FIG. 1. The method includes:
  • Step 1301 begins.
  • Step 1302 the cat child is requested.
  • the terminal displays a cat details interface.
  • the interface slides to the cat and child information to trigger a request.
  • the request is a request to issue a cat and child list.
  • the request carries the cat ID and sends the request to the server.
  • Step 1303 Go to the blockchain to request a list of children.
  • the server obtains the cat-child list from the blockchain according to the above request.
  • the cat-child list includes the summary information of the cat child: the cat child's ID, intergenerational information, and name.
  • Step 1304 Deliver to the client.
  • the server sends the cat child list to the client.
  • Step 1305 ends.
  • the terminal communicates with the blockchain system through the server to obtain the child's virtual pet information corresponding to the target virtual pet stored on the blockchain system; because the information stored in the blockchain system passes through multiple nodes
  • the information confirmed by the consensus algorithm can avoid the problem that the information displayed on the user interface in the related technology may be tampered with or copied from the corresponding information of other virtual pets; thereby ensuring the target virtual pet displayed on the first display interface The authenticity and uniqueness of the information.
  • FIG. 24 is a flowchart of a method for displaying a virtual pet according to another exemplary embodiment of the present application. This embodiment is exemplified by applying this method to the implementation environment shown in FIG. 1. The method includes:
  • Step 1401 begins.
  • Step 1402 Pre-check.
  • the terminal displays the cat details interface, slides down to the cat genealogy information, and triggers a request.
  • the request is a request to issue a genealogy list.
  • the request carries the cat ID and sends the request to the server.
  • the server checks whether the player has activated the cat system, whether the cat system is open, and whether the cat is a 0th generation cat.
  • Step 1403 Obtain parent cat information, including family tree.
  • the server obtains the genealogy list from the blockchain according to the cat ID.
  • the genealogy list includes summary information of the genealogy: family tree ID, intergenerational information, first name.
  • step 1404 the first 200 genealogies are merged by generations.
  • the genealogical information includes the genealogical information of the father's pet cat and the genealogical information of the mother's pet cat.
  • the genealogical information of the father's pet cat and the genealogical information of the mother's pet cat are combined.
  • step 1405 it is stored to the newborn cat.
  • the summary information of the first 200 intergenerational pet cats is stored as genealogical information to the newborn cat, and finally the cat genealogical information is obtained.
  • Step 1406 ends.
  • the terminal communicates with the blockchain system through the server to obtain the genealogy information corresponding to the target virtual pet stored on the blockchain system; since the information stored in the blockchain system is a consensus algorithm that passes through multiple nodes The confirmed information can avoid the problem that the information displayed on the user interface in the related technology may be tampered or copied from the corresponding information of other virtual pets; thereby ensuring the genealogical information of the target virtual pet displayed on the first display interface Authenticity and uniqueness.
  • FIG. 25 shows a block diagram of a display device for a virtual pet according to an exemplary embodiment of the present application.
  • the device includes:
  • a determining module 1520 configured to determine a target virtual pet to be displayed in an application program
  • the obtaining module 1540 is configured to obtain first information of the target virtual pet from the server, where the first information is information corresponding to the target virtual pet stored on the blockchain system;
  • the display module 1560 is configured to display a first display interface of the target virtual pet, and the first display interface includes first information of the target virtual pet.
  • the obtaining module 1540 is further configured to:
  • the first information includes at least one of the following information: the three-dimensional character image of the target virtual pet, the generational information of the target virtual pet, the name of the target virtual pet, the identification of the target virtual pet, the image characteristic information of the target virtual pet, Breeding recovery time for virtual pets.
  • the first information further includes information of a parent virtual pet of the target virtual pet
  • the display module 1560 is further configured to:
  • the display module 1560 is further configured to:
  • a father character field and a mother character field are displayed in the first position, a father virtual pet corresponding to the target virtual pet is displayed on the father character field, and a mother virtual pet corresponding to the target virtual pet is displayed on the mother character field.
  • the first display interface is further configured to display information about the child virtual pet of the target virtual pet; the display module 1560 is further configured to:
  • the second information of the target virtual pet is obtained from the server, and the second information is information of the child virtual pet corresponding to the target virtual pet stored on the blockchain system;
  • Information of the child's virtual pet is displayed in a display content corresponding to the second position.
  • the display module 1560 is further configured to:
  • At least one child character field is displayed in the display content corresponding to the second position, and each child character field displays a child virtual pet corresponding to the target virtual pet.
  • the display module 1560 is further configured to:
  • a second acquisition request is sent to the server, and the second acquisition request includes the pet identifier of the target virtual pet on the blockchain system;
  • the second information is obtained by the server from the blockchain system according to the pet identification.
  • the first display interface is further configured to display genealogy information of the target virtual pet
  • the display module 1560 is further configured to:
  • the third information of the target virtual pet is obtained from the server, and the third information is the genealogy information corresponding to the target virtual pet stored on the blockchain system;
  • the genealogy information of the target virtual pet is displayed in the display content corresponding to the third position.
  • the determining module 1520 is further configured to:
  • the pet information of m virtual pets is summary information of m virtual pets owned by the current user account stored on the blockchain system, where m is a positive integer;
  • the pet preview interface is displayed in the application, and the pet preview interface is used to display pet information of m virtual pets owned by the current user account;
  • the target virtual pet is determined among the m virtual pets according to the selection signal.
  • a career information button is further displayed on the first display interface
  • the display module 1560 is further configured to:
  • the career information includes k pieces of historical event flow information stored on the blockchain system after the birth of the target virtual pet.
  • a second display interface is displayed, and the career information of the target virtual pet is displayed on the second display interface.
  • a transaction information button is further displayed on the first display interface
  • the display module 1560 is further configured to:
  • the blockchain transaction information of the target virtual pet from the server according to the second click signal, and the blockchain transaction information includes historical transaction flow information with the target virtual pet stored on the blockchain system;
  • a third display interface is displayed, and the blockchain transaction information of the target virtual pet is displayed on the third display interface.
  • a blockchain node control is also displayed on the pet preview interface
  • the display module 1560 is further configured to:
  • the fourth display interface is displayed, and the node status information of n blockchain nodes is displayed on the fourth display interface.
  • the terminal communicates with the blockchain system through the server, obtains the information corresponding to the target virtual pet stored on the blockchain system, and displays the display interface based on the information; because the information stored in the blockchain system is The information confirmed by the consensus algorithm of each node can avoid the problem that the information displayed on the user interface in the related technology may be tampered or copied from the corresponding information of other virtual pets; thereby ensuring the target virtual pet displayed on the display interface The authenticity and uniqueness of the information.
  • FIG. 26 shows a block diagram of a display device for a virtual pet according to an exemplary embodiment of the present application.
  • the device includes:
  • the receiving module 1620 is configured to receive a first acquisition request sent by the terminal, where the first acquisition request is sent after the terminal determines the target virtual pet to be displayed in the application program;
  • An extraction module 1640 configured to extract the pet identification of the target virtual pet on the blockchain system from the first acquisition request
  • An acquisition module 1660 configured to acquire the first information of the target virtual pet from the blockchain system according to the pet identification
  • the sending module 1680 is configured to send the first information to the terminal, and the first information is used by the terminal to display a first display interface of the target virtual pet.
  • the receiving module 1620 is further configured to:
  • the second information is used by the terminal to display information of the child's virtual pet in the display content corresponding to the second position on the first display interface.
  • the receiving module 1620 is further configured to:
  • the genealogical tree information is used by the terminal to display the family tree information in the display content corresponding to the third position on the first display interface.
  • the receiving module 1620 is further configured to:
  • the career information of the target virtual pet is sent to the terminal, and the career information is used by the terminal to display the second display interface of the target virtual pet.
  • the receiving module 1620 is further configured to:
  • the blockchain transaction information is sent to the terminal, and the blockchain transaction information is used by the terminal to display a third display interface of the target virtual pet.
  • the receiving module 1620 is further configured to:
  • the receiving module 1620 is further configured to receive a node information acquisition request sent by a terminal;
  • n is a positive integer
  • the node status information of n blockchain nodes is sent to the terminal, and the node status information of the n blockchain nodes is used by the terminal to display the fourth display interface.
  • the terminal communicates with the blockchain system through the server, obtains the information corresponding to the target virtual pet stored on the blockchain system, and displays the display interface based on the information; because the information stored in the blockchain system is The information confirmed by the consensus algorithm of each node can avoid the problem that the information displayed on the user interface in the related technology may be tampered with or copied from the corresponding information of other virtual pets; thereby ensuring the target virtual pet displayed on the display interface The authenticity and uniqueness of the information.
  • FIG. 27 shows a structural block diagram of a terminal 1500 provided by an exemplary embodiment of the present application.
  • the terminal 1500 can be: smartphone, tablet, MP3 player (Moving Picture Experts Group Audio Layer III, Moving Picture Expert Compression Standard Audio Level 3), MP4 (Moving Picture Expert Experts Group Audio Audio Layer IV, moving picture expert compressed standard audio Level 4) Player, laptop or desktop computer.
  • the terminal 1500 may also be called other names such as user equipment, portable terminal, laptop terminal, desktop terminal, and the like.
  • the terminal 1500 includes a processor 1501 and a memory 1502.
  • the processor 1501 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like.
  • the processor 1501 may use at least one hardware form among DSP (Digital Signal Processing, Digital Signal Processing), FPGA (Field-Programmable Gate Array, Field Programmable Gate Array), and PLA (Programmable Logic Array). achieve.
  • the processor 1501 may also include a main processor and a co-processor.
  • the main processor is a processor for processing data in the awake state, also referred to as a CPU (Central Processing Unit).
  • the co-processor is Low-power processor for processing data in standby.
  • the processor 1501 may be integrated with a GPU (Graphics Processing Unit), and the GPU is used to be responsible for rendering and drawing content required to be displayed on the display screen.
  • the processor 1501 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 1502 may include one or more computer-readable storage media, which may be non-transitory.
  • the memory 1502 may further include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash storage devices.
  • the non-transitory computer-readable storage medium in the memory 1502 is used to store at least one instruction, and the at least one instruction is executed by the processor 1501 to implement the virtual pet provided by the method embodiment in this application. Display method.
  • the terminal 1500 may further include a peripheral device interface 1503 and at least one peripheral device.
  • the processor 1501, the memory 1502, and the peripheral device interface 1503 may be connected through a bus or a signal line.
  • Each peripheral device can be connected to the peripheral device interface 1503 through a bus, a signal line, or a circuit board.
  • the peripheral device includes at least one of a radio frequency circuit 1504, a touch display screen 1505, a camera 1506, an audio circuit 1507, a positioning component 1508, and a power supply 1509.
  • the peripheral device interface 1503 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 1501 and the memory 1502.
  • the processor 1501, the memory 1502, and the peripheral device interface 1503 are integrated on the same chip or circuit board; in some other embodiments, any one of the processor 1501, the memory 1502, and the peripheral device interface 1503 or Two can be implemented on separate chips or circuit boards, which is not limited in this embodiment.
  • the radio frequency circuit 1504 is used to receive and transmit an RF (Radio Frequency, radio frequency) signal, also called an electromagnetic signal.
  • the radio frequency circuit 1504 communicates with a communication network and other communication devices through electromagnetic signals.
  • the radio frequency circuit 1504 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals.
  • the radio frequency circuit 1504 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 1504 can communicate with other terminals through at least one wireless communication protocol.
  • the wireless communication protocol includes, but is not limited to, the World Wide Web, a metropolitan area network, an intranet, mobile communication networks of all generations (2G, 3G, 4G, and 5G), a wireless local area network, and / or a WiFi ( Wireless Fidelity ) network.
  • the radio frequency circuit 1504 may further include circuits related to NFC (Near Field Communication, Near Field Communication), which is not limited in this application.
  • the display screen 1505 is used to display a UI (User Interface).
  • the UI can include graphics, text, icons, videos, and any combination thereof.
  • the display screen 1505 also has the ability to collect touch signals on or above the surface of the display screen 1505.
  • the touch signal can be input to the processor 1501 as a control signal for processing.
  • the display screen 1505 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.
  • one display screen 1505 may be provided, and the front panel of the terminal 1500 is provided; in other embodiments, at least two display screens 1505 may be provided on different surfaces of the terminal 1500 or may be folded design; In still other embodiments, the display screen 1505 may be a flexible display screen disposed on a curved surface or a folded surface of the terminal 1500. Furthermore, the display screen 1505 can also be set as a non-rectangular irregular figure, that is, a special-shaped screen.
  • the display screen 1505 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
  • the camera component 1506 is used to capture images or videos.
  • the camera component 1506 includes a front camera and a rear camera.
  • the front camera is disposed on the front panel of the terminal, and the rear camera is disposed on the back of the terminal.
  • the camera assembly 1506 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 1507 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 1501 for processing, or input to the radio frequency circuit 1504 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 1501 or the radio frequency circuit 1504 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 1507 may further include a headphone jack.
  • the positioning component 1508 is used to locate the current geographic position of the terminal 1500 to implement navigation or LBS (Location Based Service).
  • the positioning component 1508 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 supply 1509 is used to power various components in the terminal 1500.
  • the power source 1509 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 1500 further includes one or more sensors 1510.
  • the one or more sensors 1510 include, but are not limited to, an acceleration sensor 1511, a gyro sensor 1512, a pressure sensor 1513, a fingerprint sensor 1514, an optical sensor 1515, and a proximity sensor 1516.
  • the acceleration sensor 1511 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal 1500.
  • the acceleration sensor 1511 may be used to detect components of the acceleration of gravity on three coordinate axes.
  • the processor 1501 may control the touch display screen 1505 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 1511.
  • the acceleration sensor 1511 may also be used for collecting motion data of a game or a user.
  • the gyro sensor 1512 can detect the body direction and rotation angle of the terminal 1500, and the gyro sensor 1512 can cooperate with the acceleration sensor 1511 to collect a 3D motion of the user on the terminal 1500. Based on the data collected by the gyro sensor 1512, the processor 1501 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.
  • the pressure sensor 1513 may be disposed on a side frame of the terminal 1500 and / or a lower layer of the touch display screen 1505.
  • a user's holding signal to the terminal 1500 can be detected, and the processor 1501 can perform left-right hand recognition or quick operation according to the holding signal collected by the pressure sensor 1513.
  • the processor 1501 controls the operable controls on the UI interface according to the user's pressure operation on the touch display screen 1505.
  • 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 1514 is used to collect a user's fingerprint, and the processor 1501 recognizes the identity of the user based on the fingerprint collected by the fingerprint sensor 1514, or the fingerprint sensor 1514 recognizes the identity of the user based on the collected fingerprint. When identifying the user's identity as a trusted identity, the processor 1501 authorizes the user to perform related sensitive operations, such as unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings.
  • the fingerprint sensor 1514 may be provided on the front, back, or side of the terminal 1500. When a physical button or a manufacturer's logo is set on the terminal 1500, the fingerprint sensor 1514 can be integrated with the physical button or the manufacturer's logo.
  • the optical sensor 1515 is used to collect ambient light intensity.
  • the processor 1501 may control the display brightness of the touch display screen 1505 according to the ambient light intensity collected by the optical sensor 1515. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 1505 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 1505 is decreased.
  • the processor 1501 may also dynamically adjust the shooting parameters of the camera component 1506 according to the ambient light intensity collected by the optical sensor 1515.
  • the proximity sensor 1516 also called a distance sensor, is usually disposed on the front panel of the terminal 1500.
  • the proximity sensor 1516 is used to collect the distance between the user and the front of the terminal 1500.
  • the processor 1501 controls the touch display screen 1505 to switch from the bright screen state to the inactive screen state; when the proximity sensor 1516 detects When the distance between the user and the front side of the terminal 1500 gradually becomes larger, the processor 1501 controls the touch display screen 1505 to switch from the rest screen state to the bright screen state.
  • FIG. 27 does not constitute a limitation on the terminal 1500, and may include more or fewer components than shown in the figure, or combine certain components, or adopt different component arrangements.
  • the application also provides a computer-readable storage medium, where the storage medium stores at least one computer-readable instruction, at least one program, a code set, or an instruction set, the at least one computer-readable instruction, the at least one program
  • the code set or instruction set is loaded and executed by the processor to implement the method for displaying a virtual pet provided by the foregoing method embodiment.
  • FIG. 28 is a schematic structural diagram of a server according to an embodiment of the present application.
  • the server 1600 includes a central processing unit (English: Central Processing Unit, abbreviated as: CPU) 1601, including random access memory (English: random access memory, abbreviated as: RAM) 1602 and read-only memory (English: read-only memory (referred to as ROM) 1603 system memory 1604, and a system bus 1605 connecting the system memory 1604 and the central processing unit 1601.
  • the server 1600 also includes a basic input / output system (I / O system) 1606 to help transfer information between various devices in the computer, and a large-capacity storage for storing the operating system 1613, application programs 1614, and other program modules 1615 Device 1607.
  • I / O system basic input / output system
  • the basic input / output system 1606 includes a display 1608 for displaying information and an input device 1609 such as a mouse, a keyboard, or the like for a user to input information.
  • the display 1608 and the input device 1609 are both connected to the central processing unit 1601 through an input / output controller 1610 connected to the system bus 1605.
  • the basic input / output system 1606 may further include an input / output controller 1610 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 1610 also provides output to a display screen, printer, or other type of output device.
  • the mass storage device 1607 is connected to the central processing unit 1601 through a mass storage controller (not shown) connected to the system bus 1605.
  • the mass storage device 1607 and its associated computer-readable medium provide non-volatile storage for the server 1600. That is, the mass storage device 1607 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, abbreviated: EPROM), electrically erasable programmable read-only memory (English: electrically, 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 1604 and mass storage device 1607 may be collectively referred to as a memory.
  • the server 1600 may also be operated by a remote computer connected to a network through a network such as the Internet. That is, the server 1600 can be connected to the network 1612 through the network interface unit 1611 connected to the system bus 1605, or the network interface unit 1611 can also be used to connect to other types of networks or remote computer systems (not shown). .
  • the present application further provides a computer-readable instruction that, when run on an electronic device, causes the electronic device to perform the method for displaying 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.

Abstract

一种虚拟宠物的展示方法,所述方法包括:在应用程序中确定待展示的目标虚拟宠物;从服务器获取目标虚拟宠物的第一信息,第一信息是在区块链系统上存储的与目标虚拟宠物对应的信息;显示目标虚拟宠物的第一展示界面,第一展示界面上包括目标虚拟宠物的第一信息。

Description

虚拟宠物的展示方法、装置、终端及存储介质
本申请要求于2018年8月30日提交中国专利局,申请号为201811006228.6,申请名称为“虚拟宠物的展示方法、装置、设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及计算机图形学领域,特别涉及一种虚拟宠物的展示方法、装置、设备及存储介质。
背景技术
某些应用程序中提供有虚拟宠物,虚拟宠物可以具有各种动物形象或动漫形象。
在应用程序中展示虚拟宠物时,相关技术提供了虚拟宠物的展示用户界面。该展示用户界面上显示有虚拟宠物的外在形象和各种数值属性信息。各种数值属性信息包括但不限于:虚拟宠物的昵称、虚拟宠物的等级、虚拟宠物的技能、虚拟宠物的生命值、虚拟宠物的魔法值、虚拟宠物的攻击力、虚拟宠物的防御值中的至少一种。
上述展示用户界面主要用于显示虚拟宠物的数值属性信息,而数值属性信息容易被篡改和复制,使得展示用户界面上所显示的信息可能是被篡改或复制自其它虚拟宠物的。
发明内容
一种虚拟宠物的展示方法,由提供了虚拟宠物的应用程序的终端执行,存在至少一个虚拟宠物的宠物形象是基于基因遗传规则生成的,该方法包括:
在应用程序中确定待展示的目标虚拟宠物;
从服务器获取目标虚拟宠物的第一信息,第一信息是在区块链系统上存储的与目标虚拟宠物对应的信息;
显示目标虚拟宠物的第一展示界面,第一展示界面上包括目标虚拟宠物的第一信息。
一种虚拟宠物的展示方法,由服务器执行,该方法包括:
接收终端发送的第一获取请求,第一获取请求是终端在应用程序中确定出待显示的目标虚拟宠物后发送的;
从第一获取请求中提取目标虚拟宠物在区块链系统上的宠物标识;
根据宠物标识从区块链系统上获取目标虚拟宠物的第一信息;
向终端发送第一信息,第一信息被终端用于显示目标虚拟宠物的第一展示界面。
在一个实施例中,所述终端在应用程序中确定出待显示的目标虚拟宠物之前,包括:
接收所述终端发送的预览获取请求,;
从所述预览获取请求中提取当前用户帐号;
确定所述当前用户帐号在所述区块链系统上对应的目标帐号;
根据所述目标帐号从所述区块链系统上获取所述m个虚拟宠物的摘要信息;
向所述终端发送所述m个虚拟宠物的摘要信息,所述摘要信息被所述终端用于显示所述宠物预览界面。
在一个实施例中,所述终端在应用程序中确定出待显示的目标虚拟宠物之前,还包括:
接收所述终端发送的节点信息获取请求;
从所述区块链系统上获取n个区块链节点的节点状态信息,n为正整数;
向所述终端发送所述n个区块链节点的节点状态信息,所述n个区块链节点的节点状态信息被所述终端用于显示第四展示界面。
一种虚拟宠物的展示装置,该装置包括:
确定模块,用于在应用程序中确定待展示的目标虚拟宠物;
获取模块,用于从服务器获取目标虚拟宠物的第一信息,第一信息是在区块链系统上存储的与目标虚拟宠物对应的信息;
显示模块,用于显示目标虚拟宠物的第一展示界面,第一展示界面上包括目标虚拟宠物的第一信息。
一种虚拟宠物的展示装置,该装置包括:
接收模块,用于接收终端发送的第一获取请求,第一获取请求是终端在 应用程序中确定出待显示的目标虚拟宠物后发送的;
提取模块,用于从第一获取请求中提取目标虚拟宠物在区块链系统上的宠物标识;
获取模块,用于根据宠物标识从区块链系统上获取目标虚拟宠物的第一信息;
发送模块,用于向终端发送第一信息,第一信息被终端用于显示目标虚拟宠物的第一展示界面。
一种终端,所述终端包括存储器和处理器;所述存储器存储有至少一条计算机可读指令,所述至少一条计算机可读指令由所述处理器加载并执行以下步骤:
在应用程序中确定待展示的目标虚拟宠物;
从服务器获取目标虚拟宠物的第一信息,第一信息是在区块链系统上存储的与目标虚拟宠物对应的信息;
显示目标虚拟宠物的第一展示界面,第一展示界面上包括目标虚拟宠物的第一信息。
一种服务器,所述服务器包括存储器和处理器;所述存储器存储有至少一条计算机可读指令,所述至少一条计算机可读指令由所述处理器加载并执行以下步骤:
接收终端发送的第一获取请求,所述第一获取请求是所述终端在应用程序中确定出待显示的目标虚拟宠物后发送的;
从所述第一获取请求中提取所述目标虚拟宠物在区块链系统上的宠物标识;
根据所述宠物标识从所述区块链系统上获取所述目标虚拟宠物的第一信息;
向所述终端发送所述第一信息,所述第一信息被所述终端用于显示所述目标虚拟宠物的第一展示界面。
一种非易失性的计算机可读存储介质,所述计算机可读存储介质中存储有至少一条计算机可读指令,所述至少一条计算机可读指令由所述处理器加载并执行以下步骤:
在应用程序中确定待展示的目标虚拟宠物;
从服务器获取目标虚拟宠物的第一信息,第一信息是在区块链系统上存储的与目标虚拟宠物对应的信息;
显示目标虚拟宠物的第一展示界面,第一展示界面上包括目标虚拟宠物的第一信息。
一种非易失性的计算机可读存储介质,所述计算机可读存储介质中存储有至少一条计算机可读指令,所述至少一条计算机可读指令由所述处理器加载并执行以下步骤:
接收终端发送的第一获取请求,所述第一获取请求是所述终端在应用程序中确定出待显示的目标虚拟宠物后发送的;
从所述第一获取请求中提取所述目标虚拟宠物在区块链系统上的宠物标识;
根据所述宠物标识从所述区块链系统上获取所述目标虚拟宠物的第一信息;
向所述终端发送所述第一信息,所述第一信息被所述终端用于显示所述目标虚拟宠物的第一展示界面。
附图说明
下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请一个示例性实施例提供的虚拟宠物的展示方法的实施环境的框图;
图2是本申请一个示例性实施例提供的虚拟宠物的展示方法的流程图;
图3是本申请另一个示例性实施例提供的虚拟宠物的展示方法的流程图;
图4是本申请一个示例性实施例提供的虚拟宠物的展示方法实现的界面示意图;
图5是本申请另一个示例性实施例提供的虚拟宠物的展示方法实现的界面示意图;
图6是本申请另一个示例性实施例提供的虚拟宠物的展示方法的流程 图;
图7是本申请另一个示例性实施例提供的虚拟宠物的展示方法实现的界面示意图;
图8是本申请另一个示例性实施例提供的虚拟宠物的展示方法的流程图;
图9是本申请另一个示例性实施例提供的虚拟宠物的展示方法实现的界面示意图;
图10是本申请另一个示例性实施例提供的虚拟宠物的展示方法的流程图;
图11是本申请另一个示例性实施例提供的虚拟宠物的展示方法实现的界面示意图;
图12是本申请另一个示例性实施例提供的虚拟宠物的展示方法实现的界面示意图;
图13是本申请另一个示例性实施例提供的虚拟宠物的展示方法的流程图;
图14是本申请另一个示例性实施例提供的虚拟宠物的展示方法实现的界面示意图;
图15是本申请另一个示例性实施例提供的虚拟宠物的展示方法的流程图;
图16是本申请另一个示例性实施例提供的虚拟宠物的展示方法实现的界面示意图;
图17是本申请另一个示例性实施例提供的虚拟宠物的展示方法的流程图;
图18是本申请另一个示例性实施例提供的虚拟宠物的展示方法实现的界面示意图;
图19是本申请另一个示例性实施例提供的虚拟宠物的展示方法的流程图;
图20是本申请另一个示例性实施例提供的虚拟宠物的展示方法实现的界面示意图;
图21是本申请另一个示例性实施例提供的虚拟宠物的展示方法的流程 图;
图22是本申请另一个示例性实施例提供的虚拟宠物的展示方法的流程图;
图23是本申请另一个示例性实施例提供的虚拟宠物的展示方法的流程图;
图24是本申请另一个示例性实施例提供的虚拟宠物的展示方法的流程图;
图25是本申请一个示例性实施例提供的虚拟宠物的展示装置的框图;
图26是本申请另一个示例性实施例提供的虚拟宠物的展示装置的框图;
图27是本申请另一个示例性实施例提供的虚拟宠物的展示装置的框图;
图28是本申请另一个示例性实施例提供的虚拟宠物的展示装置的框图。
具体实施方式
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。
首先对本申请涉及到的几个名词进行解释。
区块链系统:是指采用区块链技术(blockchain technology)存储数据的系统。区块链技术也被称为分布式账本技术,是一种互联网数据库技术,其特点是去中心化、公开透明,让每个人均可参与数据库记录。区块链技术可以是利用块链式数据结构来验证与存储数据、利用分布式节点共识算法来生成和更新数据、利用 密码学的方式保证数据传输和访问的安全、利用由自动化脚本代码组成的智能合约来编程和操作数据的一种分布式基础架构与计算方式。区块链系统中存储的数据具有很高的稳定性和可靠性,区块链系统是一个不可篡改的、可信任的数据库。因此,相较于传统的直接利用应用程序的后台服务器来存储虚拟宠物的事件流水信息,采用区块链系统来存储虚拟宠物的事件流水信息,有助于提高事件流水信息的安全性和可靠性。
区块高度:区块链接在主链的个数,即连接在区块链上的区块数。
虚拟宠物:是以卡通形式和/或动物形式的宠物形象进行呈现的数字宠物。该虚拟宠物是二维数字宠物或三维数字宠物,比如,虚拟宠物是以卡通 猫形式的宠物形象进行呈现的三维虚拟宠物。可选地,存在一部分虚拟宠物的宠物形象是随机生成的,比如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示出了本申请一个示例性实施例提供的虚拟宠物的展示方法的实施环境的框图。该实施环境中包括:终端120、服务器集群140、区块链系统160和通信网络180。
终端120通过通信网络180与服务器集群140相连。终端120可以是智能手机、游戏主机、台式计算机、平板电脑、电子书阅读器、MP3(Moving Picture Experts Group Audio Layer III,MP3)播放器、MP4(Moving Picture Experts Group Layer IV,MP4)播放器和膝上型便携计算机中的至少一种。终端120安装和运行有支持虚拟宠物的应用程序。该应用程序可以是宠物养成类游戏程序、AR(Augmented Reality,AR)游戏程序、AR教育程序中的任意一种。终端120内的应用程序登录有用户帐号。
服务器集群140包括一台服务器、多台服务器、云计算平台和虚拟化中心中的至少一种。服务器集群140用于为支持虚拟宠物的应用程序提供后台服务。可选地,服务器集群140承担主要计算工作,终端120承担次要计算工作;或者,服务器集群140承担次要计算工作,终端120承担主要计算工作;或者,服务器集群140和终端120两者之间采用分布式计算架构进行协同计算。
可选地,服务器集群140包括:接入服务器和后台服务器。接入服务器 用于提供终端120的接入服务和信息收发服务,并将有效信息在终端120和后台服务器之间转发。后台服务器用于提供应用程序的后台服务,比如:游戏逻辑服务、素材提供服务、虚拟宠物的生成服务、虚拟宠物的三维形象生成服务、虚拟宠物的二维图像转化以及存储服务、虚拟宠物的交易服务、虚拟宠物的展示服务中的至少一种。后台服务器可以是一台或多台。当后台服务器是多台时,存在至少两台后台服务器用于提供不同的服务,和/或,存在至少两台后台服务器用于提供相同的服务,本申请实施例对此不加以限定。
区块链系统160通过通信网络180与服务器集群140相连。服务器集群140将各个虚拟宠物的角色信息和/或交易记录存储在区块链系统160中;当终端120获取虚拟宠物的角色信息和/或交易记录时,服务器集群140从区块链系统160拉取目标信息反馈至终端120。
在一些可选的实施例中,服务器集群140本身也可以作为区块链系统160中的一个或多个节点运行和存储数据。
通信网络180可以是有线网络和/或无线网络,有线网络可以是城域网、局域网、光纤网等,无线网络可以是移动通信网络或无线保真网络(WIreless Fidelity,WiFi)。
图2示出了本申请一个示例性实施例提供的虚拟宠物的展示方法的流程图。本实施例以该方法应用于图1所示的实施环境中的终端120来举例说明。该方法包括:
步骤201,在应用程序中确定待展示的目标虚拟宠物。
终端运行有应用程序,终端通过用户账号登陆该应用程序。该应用程序能够提供虚拟宠物。可选的,该应用程序可以是宠物养成类游戏程序、AR游戏程序、AR教育程序中的任意一种。
虚拟宠物是由用户帐号拥有、饲养或收藏的数字宠物。虚拟宠物是用于在终端内的应用程序中显示的角色。虚拟宠物是二维虚拟宠物、2.5维虚拟宠物和三维虚拟宠物中的任意一种。可选地,虚拟宠物具有动物形式和/或卡通形式的角色形象。
终端在应用程序中确定待展示的目标虚拟宠物,包括:
终端从服务器获取m个虚拟宠物的宠物信息,m个虚拟宠物的宠物信息 是在区块链系统上存储的当前用户帐号拥有的m个虚拟宠物的摘要信息,m为正整数;在应用程序中显示宠物预览界面,宠物预览界面用于显示当前用户帐号拥有的m个虚拟宠物的宠物信息;接收在宠物预览界面上触发的选择信号;根据选择信号在m个虚拟宠物中确定出目标虚拟宠物。
步骤202,从服务器获取目标虚拟宠物的第一信息,第一信息是在区块链系统上存储的与目标虚拟宠物对应的信息。
终端从服务器获取目标虚拟宠物的第一信息,包括:
终端向服务器发送第一获取请求,第一获取请求包括目标虚拟宠物在区块链系统上的宠物标识;接收服务器反馈的第一信息,第一信息是服务器根据宠物标识从区块链系统上获取的;其中,区块链系统上存储有目标虚拟宠物对应的信息。
上述第一信息包括如下信息中的至少一种:目标虚拟宠物的三维形象角色、目标虚拟宠物的代际信息、目标虚拟宠物的名字、目标虚拟宠物的标识、目标虚拟宠物的形象特征信息以及虚拟宠物的繁育恢复时间。可选的,上述第一信息还包括目标虚拟宠物的父母虚拟宠物的信息。
步骤203,显示目标虚拟宠物的第一展示界面,第一展示界面上包括目标虚拟宠物的第一信息。
终端根据目标虚拟宠物的第一信息渲染生成第一展示界面,第一展示界面中包括第一信息。
可选的,终端显示目标虚拟宠物的第一展示界面,还包括:
终端接收第一展示界面上的第一滑动信号;根据第一滑动信号将第一展示界面上的显示内容向第一方向滑动;当滑动至第一展示界面的第一位置时,在第一位置对应的显示内容中显示父母虚拟宠物的信息;其中,父母虚拟宠物的信息包括父母虚拟宠物的二维形象角色、父母虚拟宠物的代际信息、父母虚拟宠物的名字。
可选的,滑动信号是在触摸屏上通过滑动手势触发生成的;第一方向可以是平行于竖屏的上下和/或左右的方向。
可选的,在第一位置对应的显示内容中显示父母虚拟宠物的信息,包括:
在第一位置显示父亲角色栏位和母亲角色栏位,父亲角色栏位上显示有目标虚拟宠物对应的父亲虚拟宠物,母亲角色栏位上显示有目标虚拟宠物对 应的母亲虚拟宠物。
可选的,第一展示界面还用于显示目标虚拟宠物的孩子虚拟宠物的信息;其中,孩子虚拟宠物的信息包括孩子虚拟宠物的二维形象角色、孩子虚拟宠物的代际信息、孩子虚拟宠物的名字。终端在第一展示界面上显示目标虚拟宠物的孩子虚拟宠物的信息,包括:
终端接收第一展示界面上的第二滑动信号;根据第二滑动信号将第一展示界面上的显示内容向第一方向滑动;当滑动至第一展示界面的第二位置时,从服务器获取目标虚拟宠物的第二信息,第二信息是在区块链系统上存储的与目标虚拟宠物对应的孩子虚拟宠物的信息;在第二位置对应的显示内容中显示孩子虚拟宠物的信息。
可选的,在第二位置对应的显示内容中显示孩子虚拟宠物的信息,包括:
在第二位置对应的显示内容中显示至少一个孩子角色栏位,每个孩子角色栏位上显示有目标虚拟宠物对应的孩子虚拟宠物。
可选的,当滑动至第一展示界面的第二位置时,从服务器获取所述目标虚拟宠物的孩子虚拟宠物的信息,包括:
当滑动至第一展示界面的第二位置时,向服务器发送第二获取请求,第二获取请求包括目标虚拟宠物在区块链系统上的宠物标识;接收服务器反馈的第二信息,第二信息是服务器根据宠物标识从区块链系统上获取的。
可选的,第一展示界面还用于显示目标虚拟宠物的族谱信息;其中,族谱信息包括目标虚拟宠物的祖代虚拟宠物的二维形象角色、祖代虚拟宠物的代际信息、祖代虚拟宠物的名字。终端在第一展示界面显示目标虚拟宠物的族谱信息,包括:
接收第一展示界面上的第三滑动信号;根据第三滑动信号将第一展示界面上的显示内容向第一方向滑动;当滑动至第一展示界面的第三位置时,从服务器获取目标虚拟宠物的第三信息,第三信息是在区块链系统上存储的与目标虚拟宠物对应的族谱信息;在第三位置对应的显示内容中显示目标虚拟宠物的族谱信息。
可选的,上述第三位置用于指示显示族谱信息的角色栏位。
综上所述,本实施例提供的虚拟宠物的展示方法,终端通过服务器与区块链系统进行通信,获取存储在区块链系统上的目标虚拟宠物对应的第一信 息,根据第一信息显示第一展示界面;由于区块链系统中存储的信息是经过多个节点的共识算法所确认过的信息,能够避免相关技术中展示在用户界面上的信息可能是被篡改或复制自其它虚拟宠物的对应信息的问题;从而保证第一展示界面上所显示的目标虚拟宠物的信息的真实性和唯一性。
基于图2所示的实施例,本申请提供的虚拟宠物的展示方法中包括显示第一展示界面,图3、图6、图8和图10所示的示例性实施详细阐述了在虚拟宠物的展示方法中第一展示界面的显示过程。
图3示出了本申请另一个示例性实施例提供的虚拟宠物的展示方法的流程图。本实施例以该方法应用于图1所示的实施环境中来举例说明。该方法包括:
步骤301,终端在应用程序中确定待展示的目标虚拟宠物。
终端运行有应用程序,终端通过用户账号登陆该应用程序。该应用程序能够提供虚拟宠物。可选的,该应用程序可以是宠物养成类游戏程序、AR游戏程序、AR教育程序中的任意一种。
虚拟宠物是由用户帐号拥有、饲养或收藏的数字宠物。虚拟宠物是用于在终端内的应用程序中显示的角色。虚拟宠物是二维虚拟宠物、2.5维虚拟宠物和三维虚拟宠物中的任意一种。可选地,虚拟宠物具有动物形式和/或卡通形式的角色形象。
终端在应用程序中确定待展示的目标虚拟宠物,包括:
终端从服务器获取m个虚拟宠物的宠物信息,m个虚拟宠物的宠物信息是在区块链系统上存储的当前用户帐号拥有的m个虚拟宠物的摘要信息,m为正整数;在应用程序中显示宠物预览界面,宠物预览界面用于显示当前用户帐号拥有的m个虚拟宠物的宠物信息;接收在宠物预览界面上触发的选择信号;根据选择信号在m个虚拟宠物中确定出目标虚拟宠物。
步骤302,终端向服务器发送第一获取请求。
终端通过无线网络或有线网络向服务器发送第一获取请求。上述第一获取请求包括目标虚拟宠物的宠物标识,第一获取请求用于向服务器请求获取目标虚拟宠物在区块链系统上的对应信息。
步骤303,服务器接收终端发送的第一获取请求。
步骤304,服务器从第一获取请求中提取目标虚拟宠物在区块链系统上的宠物标识。
服务器从第一获取请求中提取目标虚拟宠物在区块链系统上的宠物标识,包括:
服务器接收终端发送的第一获取请求后,从第一获取请求中获得目标虚拟宠物的ID(Identity,ID)信息,上述ID信息能够被区块链系统识别并响应。
步骤305,服务器根据宠物标识从区块链系统上获取目标虚拟宠物的第一信息。
服务器向区块链系统发送目标虚拟宠物的ID信息;区块链系统通过共识算法检测ID信息,确定ID信息对应的目标虚拟宠物存在,将目标虚拟宠物对应的第一信息反馈给服务器;服务器接收区块链系统反馈的第一信息。
目标虚拟宠物的第一信息包括:目标虚拟宠物的三维形象角色、目标虚拟宠物的代际信息、目标虚拟宠物的名字、目标虚拟宠物的标识、目标虚拟宠物的形象特征信息、虚拟宠物的繁育恢复时间中的至少一种。可选的,第一信息还包括目标虚拟宠物的父母虚拟宠物的信息。
步骤306,服务器向终端发送第一信息。
服务器通过有线网络或无线网络向终端发送第一信息。
步骤307,终端接收服务器反馈的第一信息。
步骤308,终端显示目标虚拟宠物的第一展示界面,第一展示界面上包括目标虚拟宠物的第一信息。
终端根据目标虚拟宠物的第一信息渲染生成第一展示界面,第一展示界面中包括第一信息。
可选的,终端显示目标虚拟宠物的第一展示界面,还包括:
终端接收第一展示界面上的第一滑动信号;根据第一滑动信号将第一展示界面上的显示内容向第一方向滑动;当滑动至第一展示界面的第一位置时,在第一位置对应的显示内容中显示父母虚拟宠物的信息;其中,父母虚拟宠物的信息包括父母虚拟宠物的二维形象角色、父母虚拟宠物的代际信息、父母虚拟宠物的名字。
可选的,滑动信号是在触摸屏上通过滑动手势触发生成的;第一方向可以是平行于竖屏的上下和/或左右的方向。
可选的,在第一位置对应的显示内容中显示父母虚拟宠物的信息,包括:
在第一位置显示父亲角色栏位和母亲角色栏位,父亲角色栏位上显示有目标虚拟宠物对应的父亲虚拟宠物,母亲角色栏位上显示有目标虚拟宠物对应的母亲虚拟宠物。
可选的,第一展示界面还用于显示目标虚拟宠物的孩子虚拟宠物的信息;其中,孩子虚拟宠物的信息包括孩子虚拟宠物的二维形象角色、孩子虚拟宠物的代际信息、孩子虚拟宠物的名字。终端在第一展示界面上显示目标虚拟宠物的孩子虚拟宠物的信息,包括:
终端接收第一展示界面上的第二滑动信号;根据第二滑动信号将第一展示界面上的显示内容向第一方向滑动;当滑动至第一展示界面的第二位置时,从服务器获取目标虚拟宠物的第二信息,第二信息是在区块链系统上存储的与目标虚拟宠物对应的孩子虚拟宠物的信息;在第二位置对应的显示内容中显示孩子虚拟宠物的信息。
可选的,在第二位置对应的显示内容中显示孩子虚拟宠物的信息,包括:
在第二位置对应的显示内容中显示至少一个孩子角色栏位,每个孩子角色栏位上显示有目标虚拟宠物对应的孩子虚拟宠物。
可选的,当滑动至第一展示界面的第二位置时,从服务器获取所述目标虚拟宠物的孩子虚拟宠物的信息,包括:
当滑动至第一展示界面的第二位置时,向服务器发送第二获取请求,第二获取请求包括目标虚拟宠物在区块链系统上的宠物标识;接收服务器反馈的第二信息,第二信息是服务器根据宠物标识从区块链系统上获取的。
可选的,第一展示界面还用于显示目标虚拟宠物的族谱信息;其中,族谱信息包括目标虚拟宠物的祖代虚拟宠物的二维形象角色、祖代虚拟宠物的代际信息、祖代虚拟宠物的名字。终端在第一展示界面显示目标虚拟宠物的族谱信息,包括:
接收第一展示界面上的第三滑动信号;根据第三滑动信号将第一展示界面上的显示内容向第一方向滑动;当滑动至第一展示界面的第三位置时,从服务器获取目标虚拟宠物的第三信息,第三信息是在区块链系统上存储的与 目标虚拟宠物对应的族谱信息;在第三位置对应的显示内容中显示目标虚拟宠物的族谱信息。
可选的,上述第三位置用于指示显示族谱信息的角色栏位。
示意性的,图4是虚拟宠物的展示方法在实施过程中显示的第一展示界面示意图。以虚拟宠物为宠物猫为例,终端在应用程序中确定待展示的目标虚拟宠物为宠物猫32,向服务器发送第一获取请求,请求获取宠物猫32的第一信息;服务器接收终端发送的第一获取请求后,从第一获取请求中获得宠物猫32的ID信息,根据宠物猫32的ID信息从区块链系统中获得宠物猫32的第一信息;终端根据宠物猫32的第一信息渲染生成了第一展示界面31,显示第一展示界面31。
在第一展示界面31上,显示了三维形象的宠物猫32、宠物猫32的代际信息33、宠物猫32的名字34、宠物猫32的标识35、宠物猫32的形象特征信息36、宠物猫32的繁育恢复时间37。示意性的,宠物猫32的三维形象包括了耳朵、皮肤、斑纹、花纹、眼睛、嘴巴和胡须的形象因素;还可以通过点击三维形象的宠物猫32展示一些动作,比如挥手、坐下、微笑。代际信息33的展示形式可以是“i代”,i为i≥0的整数,其表示宠物32在整个虚拟宠物世界观中辈份信息,图4中显示为“1代”,则表示在整个虚拟宠物世界观中宠物猫32是第一代宠物猫。虚拟宠物的代际信息物由虚拟宠物的父亲虚拟宠物和母亲虚拟宠物中的代际确定,在一些实施例中,孩子虚拟宠物的代际由父亲虚拟宠物和母亲虚拟宠物中的最大代际数加一得到,比如父亲虚拟宠物是0代虚拟宠物,母亲虚拟宠物是4代虚拟宠物,则孩子虚拟宠物是5代虚拟宠物。名字34的形式可以是“xxx123456”;在生成一只宠物猫时,系统随机抽取的三个字,且为每只宠物猫标记一个6位数的顺序编号,将字与顺序编号结合得到宠物猫的名字;比如,在宠物猫32出生时,系统抽取的三个字为“xxx”,系统通过比对找出与“xxx”三个字相同的所有宠物猫,在上述所有宠物猫中的最大顺序编号的基础上加1得到6位数的顺序编号“000001”,结合“xxx”与“000001”得到宠物猫32的名字为“xxx000001”。标识35是的显示形式可以是“#123456”,标识35是宠物猫32在区块链上存储的标识,比如宠物猫32的标识是“#000001”。形象特征信息36包括:斑点、帽子、肚皮、耳朵、眼睛、衣服、尾巴、嘴巴、胡子、腮红中的至少一种;比如, 图4中的形象特征信息表示宠物猫32的专属的特性,包括它的装扮、挂件。繁育恢复时间37是指宠物猫32在一次繁殖完成后恢复繁殖能力的时长,比如宠物猫32的繁育恢复时间为12小时,宠物猫32在一次繁育完成后,最少12小时后才能再次繁育。
在一些实施例中,第一展示界面还包括:返回按钮,用于返回上一展示界面;Home键,用于返回主界面;收藏按钮,用于收藏宠物猫;点赞按钮,用于为宠物猫点赞;状态栏,用于显示宠物猫的状态信息;玩家信息显示栏,用于显示玩家信息;说明按钮,用于显示专属猫的玩法。示意性的,在第一展示界面31上,通过界面顶部左侧的返回按钮可以退出宠物猫32的详情界面;通过界面顶部右侧的Home键可以直接回到游戏的主界面,比如将宠物预览界面定义为主界面,则可以通过点击Home键直接回到宠物预览界面;通过名字34左侧的收藏按钮可以收藏宠物猫32到收藏夹;通过名字34右侧的点赞按钮可以为宠物猫32点赞;状态栏可以显示宠物猫32的状态信息,比如“繁育中”、“出售中”、“恢复中”、“配对中”;在繁育恢复时间37的上边可以显示玩家信息,比如玩家的头像和玩家的昵称,当宠物猫32是玩家所拥有的情况下,玩家信息显示栏不显示任何信息;通过点击说明按钮显示宠物猫32的玩法。
在一些实施例中,第一展示界面还包括配对按钮。配对按钮用于虚拟宠物之间进行繁育行为。参考图5,以虚拟宠物为宠物猫为例,宠物猫32的第一展示界面31上包括了配对按钮,如图5左图所示,点击配对按钮,终端显示选择配对界面21,如图5右图所示,在选择配对界面21上显示了宠物猫的配对方式:与自己的猫配对和去市场配对。一种配对方式为通过与同一账号下的另一宠物猫进行配对,另一种配对方式为通过去市场选择一宠物猫进行配对。
在一些实施例中,第一展示界面还包括售卖按钮。售卖按钮用于将宠物猫挂到市场进行售卖,市场是用来对宠物猫进行交易的平台。
综上所述,终端通过服务器与区块链系统进行通信,获取存储在区块链系统上的目标虚拟宠物对应的第一信息,根据第一信息显示第一展示界面;由于区块链系统中存储的信息是经过多个节点的共识算法所确认过的信息,能够避免相关技术中展示在用户界面上的信息可能是被篡改或复制自其它虚 拟宠物的对应信息的问题;从而保证第一展示界面上所显示的目标虚拟宠物的信息的真实性和唯一性。第一展示界面显示了目标虚拟宠物的详情信息,并通过展示目标虚拟宠物的三维形象角色,形象生动的展示了目标虚拟宠物的外形特征。
图6示出了本申请另一个示例性实施例提供的虚拟宠物的展示方法的流程图。本实施例以该方法应用于图1所示的实施环境中来举例说明。需要说明的是,目标虚拟宠物的第一展示界面上还包括目标虚拟宠物的父母虚拟宠物的信息,基于图3所示的步骤301至步骤308,增加步骤401至步骤403,显示目标虚拟宠物的第一展示界面,具体步骤如下所示:
步骤401,终端接收第一展示界面上的第一滑动信号。
终端在第一展示界面上接收到第一滑动信号,第一滑动信号是在触摸屏上发生的一个滑动手势产生的一个触发信号。当终端显示第一展示界面时,在终端的触摸屏上发生一个滑动手势,该滑动手势会通过触摸屏向终端传达一个触发信号,即为第一触发信号。
步骤402,终端根据第一滑动信号将第一展示界面上的显示内容向第一方向滑动。
终端根据第一滑动信号将第一展示界面上的显示内容向第一方向滑动,隐藏部分向第一方向滑动的显示内容,同时显示与第一方向相反方向的滑动之前未显示的内容。可选的,第一方向可以是平行于竖屏的上下和/或左右的方向。可选的,显示内容包括目标虚拟宠物的信息。
步骤403,当滑动至第一展示界面的第一位置时,终端在第一位置对应的显示内容中显示父母虚拟宠物的信息。
在第一位置显示有父亲角色栏位和母亲角色栏位。第一信息包括目标虚拟宠物的父母虚拟宠物的信息,当第一展示界面滑动至第一位置时,根据第一信息在父亲角色栏位显示目标虚拟宠物对应的父亲虚拟宠物的信息,在母亲角色栏位显示目标虚拟宠物对应的母亲虚拟宠物的信息。其中,父母虚拟宠物的信息包括父母虚拟宠物的二维形象角色、父母虚拟宠物的代际信息、父母虚拟宠物的名字中的至少一种。
参考图7,终端显示第一展示界面31,通过滑动手势将第一展示界面31 的显示内容向上滑动,如图7左图所示,滑动过程中,第一展示界面31上的显示内容部分被隐藏,当第一展示界面31滑动至显示第一位置41时,终端在父亲角色栏位42(43)显示父亲宠物猫,在母亲角色栏位43(42)显示母亲宠物猫,如图7右图所示。其中,父母虚拟宠物的信息以卡片形式展现,父亲角色栏位42(43)显示了父亲宠物猫的二维形象图片、代际信息、名字,母亲角色栏位43(42)显示了母亲宠物猫的二维形象图片、代际信息、名字。
综上所述,终端通过服务器与区块链系统进行通信,获取存储在区块链系统上的目标虚拟宠物对应的第一信息,根据第一信息显示第一展示界面;由于区块链系统中存储的信息是经过多个节点的共识算法所确认过的信息,能够避免相关技术中展示在用户界面上的信息可能是被篡改或复制自其它虚拟宠物的对应信息的问题;从而保证第一展示界面上所显示的目标虚拟宠物的信息的真实性和唯一性。
图8示出了本申请另一个示例性实施例提供的虚拟宠物的展示方法的流程图。本实施例以该方法应用于图1所示的实施环境中来举例说明。需要说明的是,第一展示界面在显示父母虚拟宠物的信息之后,还用于显示目标虚拟宠物的孩子虚拟宠物的信息,基于图6所示的实施例,在步骤401至403后增加步骤501至步骤510,显示目标虚拟宠物的第一展示界面,具体步骤如下所示:
步骤501,终端接收第一展示界面上的第二滑动信号。
终端在第一展示界面上接收到第二滑动信号,第二滑动信号是在触摸屏上发生的一个滑动手势产生的一个触发信号。在第一展示界面上显示目标虚拟宠物的父母虚拟宠物的信息之后,在终端的触摸屏上发生一个滑动手势,该滑动手势会通过触摸屏向终端传达一个触发信号,即为第二触发信号。
步骤502,终端根据第二滑动信号将第一展示界面上的显示内容向第一方向滑动。
终端根据第二滑动信号将第一展示界面上的显示内容向第一方向滑动,隐藏部分向第一方向滑动的显示内容,同时显示与第一方向相反方向的滑动之前未显示的内容。可选的,第一方向可以是平行于竖屏的上下和/或左右的方向。可选的,显示内容包括:父母虚拟宠物的信息、目标虚拟宠物的信息 和父母虚拟宠物的信息两者结合中至少一种情形。
步骤503,滑动至第一展示界面的第二位置。
第一展示界面滑动至第二位置,第二位置显示有至少一个孩子角色栏位,用于显示目标虚拟宠物对应的孩子虚拟宠物的信息。其中,孩子虚拟宠物的信息包括:孩子虚拟宠物的二维形象角色、孩子虚拟宠物的代际信息、孩子虚拟宠物的名字中的至少一种。
步骤504,终端向服务器发送第二获取请求。
终端通过无线网络或有线网络向服务器发送第二获取请求。上述第二获取请求包括目标虚拟宠物的宠物标识,第二获取请求用于向服务器请求获取目标虚拟宠物对应的孩子虚拟宠物在区块链系统上的信息。
步骤505,服务器接收终端发送的第二获取请求。
步骤506,服务器从第二获取请求中提取目标虚拟宠物在区块链系统上的宠物标识。
服务器接收终端发送的第二获取请求后,从第二获取请求中获得目标虚拟宠物的ID信息,上述ID信息能够被区块链系统识别并响应。
步骤507,服务器根据宠物标识从区块链系统上获取孩子虚拟宠物的第二信息。
服务器向区块链系统发送目标虚拟宠物的ID信息;区块链系统根据目标虚拟宠物的ID信息,获取目标虚拟宠物对应的第二信息,将第二信息反馈给服务器;服务器接收区块链系统反馈的第二信息。目标虚拟宠物的第二信息包括孩子虚拟宠物的信息。
步骤508,服务器向终端发送第二信息。
步骤509,终端接收服务器反馈的第二信息。
步骤510,终端在第二位置对应的显示内容中显示孩子虚拟宠物信息。
当第一展示界面滑动至第二位置时,根据第二信息在至少一个孩子角色栏位显示目标虚拟宠物对应的孩子虚拟宠物的信息。
示意性的,如图9的左图所示,第一展示界面31上移动至第一位置41,显示父母虚拟宠物的信息,第一展示界面继续向上移动,显示第一展示界面的第二位置51,如图9右图所示,在第二位置51显示孩子角色栏位52,图中显示了3个孩子角色栏位,在孩子角色栏位上以卡片形式显示孩子宠物猫 的信息,比如,在孩子角色栏位52上显示一个孩子宠物猫的摘要信息:孩子宠物猫的二维形象图片、代际信息、名字。
综上所述,终端通过服务器与区块链系统进行通信,获取存储在区块链系统上的目标虚拟宠物对应的信息;由于区块链系统中存储的信息是经过多个节点的共识算法所确认过的信息,能够避免相关技术中展示在用户界面上的信息可能是被篡改或复制自其它虚拟宠物的对应信息的问题;从而保证第一展示界面上所显示的目标虚拟宠物的信息的真实性和唯一性。目标虚拟宠物的第一信息、第二信息的获取分批获取逻辑,保证终端能够成功获取信息。
图10示出了本申请另一个示例性实施例提供的虚拟宠物的展示方法的流程图。本实施例以该方法应用于图1所示的实施环境中来举例说明。需要说明的是,第一展示界面在显示孩子虚拟宠物的信息之后,还用于显示目标虚拟宠物的族谱信息,基于图7所示的实施例,在步骤501至510后增加步骤601至步骤610,显示目标虚拟宠物的第一展示界面,具体步骤如下所示:
步骤601,终端接收第一展示界面上的第三滑动信号。
终端在第一展示界面上接收到第三滑动信号,第三滑动信号是在触摸屏上发生的一个滑动手势产生的一个触发信号。在第一展示界面上显示目标虚拟宠物的孩子虚拟宠物的信息之后,终端的触摸屏上发生一个滑动手势,该滑动手势会通过触摸屏向终端传达一个触发信号,即为第三触发信号。
步骤602,终端根据第三滑动信号将第一展示界面上的显示内容向第一方向滑动。
终端根据第三滑动信号将第一展示界面上的显示内容向第一方向滑动,隐藏部分向第一方向滑动的显示内容,同时显示与第一方向相反方向的滑动之前未显示的内容。可选的,第一方向可以是平行于竖屏的上下和/或左右的方向。可选的,显示内容包括:孩子虚拟宠物的信息,父母虚拟宠物的信息和孩子虚拟宠物的信息两者结合,目标虚拟宠物的信息、父母虚拟宠物的信息和孩子虚拟宠物的信息三者结合中至少一种情形。
步骤603,滑动至第一展示界面的第三位置。
第一展示界面滑动至第三位置,第三位置显示有祖代角色栏位,用于显示目标虚拟宠物对应的族谱信息。其中,族谱信息包括:祖代虚拟宠物的二 维形象角色、祖代虚拟宠物的代际信息、祖代虚拟宠物的名字中的至少一种。
步骤604,终端向服务器发送第三获取请求。
终端通过无线网络或有线网络向服务器发送第三获取请求。上述第三获取请求包括目标虚拟宠物的宠物标识,第三获取请求用于向服务器请求获取目标虚拟宠物在区块链系统上存储的族谱信息。
步骤605,服务器接收终端发送的第三获取请求。
步骤606,服务器从第三获取请求中提取目标虚拟宠物在区块链系统上的宠物标识。
服务器接收终端发送的第三获取请求后,从第三获取请求中获得目标虚拟宠物的ID(Identity,ID)信息,上述ID信息能够被区块链系统识别并响应。
步骤607,服务器根据宠物标识从区块链系统上获取目标虚拟宠物的族谱信息。
服务器向区块链系统发送目标虚拟宠物的ID信息;区块链系统根据ID信息检测目标虚拟宠物对应的账号是否激活了虚拟宠物系统、虚拟宠物系统是否已经开放、目标虚拟宠物是否是0代虚拟宠物;当目标虚拟宠物对应的账号已经激活了虚拟宠物系统、虚拟宠物系统已经开放、目标虚拟宠物不是0代虚拟宠物这三个条件同时符合时,区块链系统根据ID信息获取目标虚拟宠物的第三信息;将第三信息反馈给服务器;服务器接收区块链系统反馈的第三信息。目标虚拟宠物的第三信息包括族谱信息。
步骤608,服务器向终端发送族谱信息。
步骤609,终端接收服务器反馈的族谱信息。
步骤610,终端在第三位置对应的显示内容中显示目标虚拟宠物对应的族谱信息。
当第一展示界面滑动至第三位置时,根据第三信息在祖代角色栏位显示目标虚拟宠物对应的族谱信息。
示意性的,在图11中,第一展示界面31滑动至显示第二位置51之后,继续向上滑动,如图11的左图所示,直至滑动至第三位置61,显示祖代角色栏位62、63、64,如图11的右图所示,在每一个祖代角色栏位上以卡片形式显示族谱信息,族谱信息包括祖代的摘要信息:祖代宠物猫的二维形象 图片、代际信息、名字中的至少一种。
示意性的,由于孩子宠物猫和祖代宠物猫可以是多只,展示界面无法同时显示,终端可以在第二位置51和第三位置62上左右滑动,显示多只虚拟宠物的摘要信息。参考图12,以族谱信息的滑动显示为例,图12的左图中,显示祖代角色栏位62、63、64,在每个祖代角色栏位上显示了三只不同的祖代宠物猫,在第一展示界面31的第三位置61上将内容向左滑动,如图12的左图所示,根据向左的滑动手势,祖代角色栏位以及栏位上的显示内容被隐藏,如图12的右图所示,将祖代角色栏位62以及栏位上的祖代宠物猫的摘要信息隐藏,祖代角色栏位63、64以及栏位上的祖代宠物猫的摘要信息向左移动,同时,显示祖代角色栏位65以及栏位上的第四只祖代宠物猫的摘要信息。
综上所述,终端通过服务器与区块链系统进行通信,获取存储在区块链系统上的目标虚拟宠物对应的信息;由于区块链系统中存储的信息是经过多个节点的共识算法所确认过的信息,能够避免相关技术中展示在用户界面上的信息可能是被篡改或复制自其它虚拟宠物的对应信息的问题;从而保证第一展示界面上所显示的目标虚拟宠物的信息的真实性和唯一性。目标虚拟宠物的第一信息、第二信息、第三信息的获取分批获取逻辑,保证终端能够成功获取信息。
基于图3所示的实施例,本申请提供的虚拟宠物的展示方法中还包括第二展示界面和第三展示界面,图13所示的示例性实施例针对上述第二展示界面的显示在虚拟宠物的展示方法中的实施过程进行了详细的说明,图15所示的示例性实施例针对上述第三展示界面的显示在虚拟宠物的展示方法中的实施过程进行了详细的说明。
图13示出了本申请另一个示例性实施例提供的虚拟宠物的展示方法的流程图。本实施例以该方法应用于图1所示的实施环境中来举例说明。需要说明的是,第一展示界面上还包括生涯信息按钮控件,终端在第一展示界面显示目标虚拟宠物的信息后,还可以通过触发生涯信息按钮控件显示第二展示界面,基于图3所示的实施例,在步骤301至步骤308后增加步骤701至 步骤708,显示第二展示界面,具体步骤如下所示:
步骤701,终端接收第一展示界面上对生涯信息按钮触发的第一点击信号。
在生涯信息按钮所在的屏幕区域发生一个点击操作,该操作产生一个触发信号,即第一点击信号,终端接收第一点击信号。
步骤702,终端向服务器发送第四获取请求。
终端通过无线网络或有线网络向服务器发送第四获取请求。上述第四获取请求包括目标虚拟宠物的第一标识信息,第四获取请求用于向服务器请求获取目标虚拟宠物在区块链系统上的生涯信息。
步骤703,服务器接收终端发送的第四获取请求。
步骤704,服务器从第四获取请求中提取第一标识信息。
服务器接收终端发送的第四获取请求后,从第四获取请求中获得目标虚拟宠物的ID信息,上述ID信息能够被区块链系统识别并响应。
步骤705,服务器根据第一标识信息从区块链系统上获取目标虚拟宠物出生后的k条历史事件流水信息,得到目标虚拟宠物的生涯信息。
服务器向区块链系统发送目标虚拟宠物的ID信息;区块链系统根据ID信息确定目标虚拟宠物存在,获取目标虚拟宠物出生后的k条历史事件流水信息,k为正整数;将上述k条历史事件流水信息反馈给服务器;服务器接收区块链系统反馈的k条历史事件流水信息,得到目标虚拟宠物的生涯信息。其中,生涯信息包括:目标虚拟宠物的出生类型、时间、地点;目标虚拟宠物的交易记录,比如交易双方、交易时间、交易地点;目标虚拟宠物的繁育信息,比如繁育双方对应的玩家信息、虚拟宠物信息、繁育时间、繁育地点、繁育结果中的至少一种。
步骤706,服务器向终端发送目标虚拟宠物的生涯信息。
步骤707,终端接收服务器反馈的目标虚拟宠物的生涯信息。
步骤708,终端显示第二展示界面。
终端根据目标虚拟宠物的生涯信息渲染生成第二展示界面,显示第二展示界面。
可选的,终端以卡片形式显示k条历史事件流水信息。
参考图14,第一展示界面31上显示生涯信息按钮38,如图14所示,生 涯信息按钮38被命名为“喵的一生”,点击按钮“喵的一生”,显示第二展示界面71。如图14的右图所示,第二展示界面71上包括6条历史事件流水信息,以卡片的形式显示在第二展示界面上71,卡片按照时间顺序排列,卡片信息包括了宠物猫32的生涯信息,比如,卡片72上显示“2018.10.16 12:01:24猫xxx000022在xxx地点出生。父亲是玩家A的猫xxx000001。母亲是玩家B的猫xxx000010”;卡片73上显示“2018.10.15 12.33.24玩家A以xxx货币将猫xxx000021交易给了玩家B”。
综上所述,终端通过服务器与区块链系统进行通信,获取存储在区块链系统上的目标虚拟宠物对应的信息;由于区块链系统中存储的信息是经过多个节点的共识算法所确认过的信息,能够避免相关技术中展示在用户界面上的信息可能是被篡改或复制自其它虚拟宠物的对应信息的问题;从而保证第二展示界面上所显示的目标虚拟宠物的信息的真实性和唯一性。终端通过区块链系统存储的历史事件流水信息能够显示虚拟宠物的生涯信息。
图15示出了本申请另一个示例性实施例提供的虚拟宠物的展示方法的流程图。本实施例以该方法应用于图1所示的实施环境中来举例说明。需要说明的是,第一展示界面上还包括交易信息按钮,终端在第一展示界面显示目标虚拟宠物的信息后,还可以通过触发交易信息按钮显示第三展示界面,基于图3所示的实施例,在步骤301至步骤308之后增加步骤801至步骤808,显示第三展示界面,具体步骤如下所示:
步骤801,终端接收第一展示界面上对交易信息按钮触发的第二点击信号。
在交易信息按钮所在的屏幕区域发生一个点击操作,该操作产生一个触发信号,即第二点击信号,终端接收第二点击信号。
步骤802,终端向服务器发送第五获取请求。
终端通过无线网络或有线网络向服务器发送第五获取请求。上述第五获取请求包括目标虚拟宠物的第二标识信息,第五获取请求用于向服务器请求获取目标虚拟宠物在区块链系统上的交易信息。
步骤803,服务器接收终端发送的第五获取请求。
步骤804,服务器从第五获取请求中提取第二标识信息。
服务器接收终端发送的第五获取请求后,从第五获取请求中获得目标虚拟宠物的ID信息,上述ID信息能够被区块链系统识别并响应。
步骤805,服务器根据第二标识信息从区块链系统上获取目标虚拟宠物的区块链交易信息。
服务器向区块链系统发送目标虚拟宠物的ID信息;区块链系统根据ID信息确定目标虚拟宠物存在,获取目标虚拟宠物最近一次的交易流水信息;将最近一次的交易流水信息反馈给服务器;服务器接收区块链系统反馈的最近一次的交易流水信息,得到目标虚拟宠物的交易信息。其中,交易信息包括:交易哈希值、业务类型、交易类型、交易发起方、交易接收方、区块高度、区块创建时间、交易笔数、共识节点名称、共识节点确认时间、共识确认状态中的至少一种。
步骤806,服务器向终端发送目标虚拟宠物的交易信息。
步骤807,终端接收服务器反馈的目标虚拟宠物的交易信息。
步骤808,终端显示第三展示界面。
终端根据目标虚拟宠物的交易信息渲染生成第三展示界面,显示第三展示界面,第三展示界面包括最近一次交易的核心信息:哈希值和区块高度。
参考图16,第一展示界面31上显示交易信息按钮39,如图16的左图所示,交易信息按钮39被命名为“区块信息”,点击按钮“区块信息”,显示第三展示界面84。如图16的右图所示,第三展示界面84上包括最近一次交易哈希值81和区块高度82,其中,哈希值81表现为一串字符串,示意性的,字符串为“xdewrowv0wgw9egew0r023#scSFVoglb0230t”,区块高度82表现为一串数字,示意性的,数字串为“5,505,505”。第三展示界面84上还包括详情按钮控件83,点击详情按钮控件83可以查看最近一次交易的详情信息,详情信息包括最近一次交易的交易信息。
综上所述,终端通过服务器与区块链系统进行通信,获取存储在区块链系统上的目标虚拟宠物对应的信息;由于区块链系统中存储的信息是经过多个节点的共识算法所确认过的信息,能够避免相关技术中展示在用户界面上的信息可能是被篡改或复制自其它虚拟宠物的对应信息的问题;从而保证第三展示界面上所显示的目标虚拟宠物的信息的真实性和唯一性。通过交易信息获取区块信息,能够获得最近一次交易的哈希值和区块高度。
在显示第一展示界面之前,终端在应用程序中显示宠物预览界面,基于图3所示的实施例,图17所示的示例性实施例详细阐述了在虚拟宠物的展示方法中宠物预览界面的显示的实现。图17示出了本申请另一个示例性实施例提供的虚拟宠物的展示方法的流程图。本实施例以该方法应用于图1所示的实施环境中来举例说明。需要说明的是,基于图3所示实施例,步骤901至步骤910替换步骤301,终端显示宠物预览界面,在宠物预览界面上选择目标虚拟宠物,最终在应用程序中确定目标虚拟宠物,具体步骤如下所示:
步骤901,终端向服务器发送预览获取请求。
终端向服务器发送预览获取请求,该预览获取请求用于请求显示宠物预览界面;该预览获取请求包括当前用户账号。
步骤902,服务器接收终端发送的预览获取请求。
步骤903,服务器从预览获取请求中提取当前用户账号。
步骤904,服务器确定当前用户账号在区块链系统上对应的目标账号。
服务器中存储有对应关系表,该对应关系表用于指示用户账号与区块链系统上的账号的对应关系。服务器根据对应关系表查询当前用户账号在区块链系统上对应的目标账号,确定目标账号。
步骤905,服务器根据目标账号从区块链系统上获取m个虚拟宠物的摘要信息,m为正整数。
服务器将目标账号发送至区块链系统;区块链系统接收目标账号,根据目标账号获取对应的m个虚拟宠物的摘要信息,m为正整数;区块链系统将m个虚拟宠物的摘要信息反馈给服务器;服务器获得m个虚拟宠物的摘要信息。其中,虚拟宠物的摘要信息包括:虚拟宠物的代际信息、虚拟宠物的二维图像、虚拟宠物的名字、虚拟宠物的繁育恢复时间中的至少一种。
步骤906,服务器向终端发送m个虚拟宠物的摘要信息。
步骤907,终端接收服务器反馈的摘要信息。
终端接收服务器反馈的摘要信息,之后重复步骤905至步骤907,分批获取虚拟宠物的摘要信息。
步骤908,在应用程序中显示宠物预览界面。
终端在应用程序中显示宠物预览界面,宠物预览界面包括m个虚拟宠物 的摘要信息。可选的,当区块链对虚拟宠物未完成确认时,该虚拟宠物信息不能被查看,信息包括摘要信息、详情信息。
示意性的,图18中左图所示的宠物预览界面91,宠物预览界面91以九宫格的形状排列显示宠物猫的摘要信息,宠物猫的摘要信息以卡片形式显示,比如卡片92,显示了宠物猫xxx000003的摘要信息。上述宠物预览界面91上显示的宠物猫皆是同一游戏账号下拥有的宠物猫。可选的,宠物预览界面91的排列可以根据宠物猫的出生时间顺序,或宠物猫的标识,或繁育恢复时间,或收藏优先,或繁育优先,或配对优先,或出售优先。
步骤909,终端接收在宠物预览界面上触发的选择信号。
终端在应用程序中显示宠物预览界面,在触摸屏上发生一个选择操作,该操作会在选中的虚拟宠物所在的显示区域产生一个选择信号,终端接收该选择信号。
步骤910,根据选择信号在m个虚拟宠物中确定目标虚拟宠物。
根据选择信号确定选中的虚拟宠物为目标虚拟宠物,m个虚拟宠物中包括目标虚拟宠物。
示意性的,图18中左图显示的宠物预览界面91,在宠物预览界面91上点击其中一个宠物猫的显示卡片,比如点击第一个宠物猫的卡片,终端接收在上述卡片上触发的选择信号,确定该宠物猫为目标宠物猫,即宠物猫32并显示第一展示界面31,在第一展示界面31上显示宠物猫32的详情信息。
综上所述,终端通过服务器与区块链系统进行通信,获取存储在区块链系统上的目标虚拟宠物对应的用户账号的预览信息;由于区块链系统中存储的信息是经过多个节点的共识算法所确认过的信息,能够避免相关技术中展示在用户界面上的信息可能是被篡改或复制自其它虚拟宠物的对应信息的问题;从而保证宠物预览界面上所显示的虚拟宠物的摘要信息的真实性和唯一性。虚拟宠物的摘要信息的分批获取的处理逻辑,保证了终端能够成功获取虚拟宠物的摘要信息。
图19示出了本申请另一个示例性实施例提供的虚拟宠物的展示方法的流程图。本实施例以该方法应用于图1所示的实施环境中来举例说明。需要说明的是,基于图17所示实施例,宠物预览界面上还包括区块链节点控件, 步骤908之后增加步骤1001至步骤1007,通过区块链节点控件显示第四展示界面,具体步骤如下所示:
步骤1001,终端接收第一展示界面上对区块链节点控件触发的第三点击信号。
在宠物预览界面上显示有区块链节点控件,在区块链节点控件所在的屏幕区域发生一个点击操作,该操作产生一个触发信号,即第三点击信号,终端接收第三点击信号。参考图20,左图中在宠物预览界面91上显示有区块链节点控件93,示意性的,单击区块链节点控件93,单击操作产生一个触发信号,即第三点击信号,终端接收第三点击信号。
步骤1002,终端向服务器发送节点信息获取请求。
终端接收到第三点击信号,向服务器发送节点信息获取请求,节点信息获取请求包括当前用户账号。
步骤1003,服务器接收终端发送的节点信息获取请求。
步骤1004,服务器从区块链系统上获取n个区块链节点的节点状态信息,n为正整数。
服务器从节点信息获取请求中获取当前用户账号在区块链上对应的目标账号,服务器根据目标账号从区块链系统上获取n个区块链节点的节点状态信息,n个区块链节点的节点状态信息包括最近的交易流水信息。
步骤1005,服务器向终端发送n个区块链节点的节点状态信息。
步骤1006,终端接收服务器反馈的n个区块链节点的节点状态信息。
步骤1007,终端显示第四展示界面。
终端根据n个区块链节点的节点状态信息显示第四展示界面,第四展示界面包括节点状态和游戏于区块链上最近的交易。示意性的,参考图20中右图,第四展示界面上显示的节点状态包括:数据同步中、数据已同步、数据异常、未启用;第四展示界面上显示的游戏于区块链上最近的交易包括:交易事项、交易时间、交易的虚拟宠物的名字、交易金额。
综上所述,终端通过服务器与区块链系统进行通信,获取存储在区块链系统上的目标虚拟宠物对应的信息;由于区块链系统中存储的信息是经过多个节点的共识算法所确认过的信息,能够避免相关技术中展示在用户界面上的信息可能是被篡改或复制自其它虚拟宠物的对应信息的问题;从而保证第 四展示界面上所显示的目标虚拟宠物的信息的真实性和唯一性。终端通过获取区块链节点的节点状态展示区块链各大节点当前的通信状况,使用户对区块链系统有更清晰的认识。
图21示出了本申请另一个示例性实施例提供的虚拟宠物的展示方法的流程图。本实施例以该方法应用于图1所示的实施环境中来举例说明。所述方法包括:
步骤1101,开始。
步骤1102,玩家登陆。
玩家在终端上请求登陆游戏客户端,该请求携带有用户账号;接入服务器将该请求确定为有效请求,向游戏服务器请求登陆游戏客户端;游戏服务器根据用户账号允许玩家登陆游戏客户端;玩家登陆游戏客户端。
步骤1103,去区块链请求玩家的猫ID列表。
玩家登陆游戏客户端后,向服务器发送获取猫ID列表的请求;服务器根据获取请求获取玩家在区块链的用户账号;服务器根据区块链的用户账号从区块链中分批拉取猫ID列表,区块链中存储有猫ID列表的信息。
步骤1104,根据猫ID批量拉取列表信息。
根据猫ID分批拉取猫的摘要信息,例如,根据时间排序,最先生成的为第一只猫,第二顺序生成的第二只猫,以此类推,拉取过程中服务器第一批拉取第1至第60只猫,第二批拉取第61至第120只猫,以此类推,直至猫ID列表全部拉取完毕。
步骤1105,批量下发给客户端。
将拉取到的猫ID列表中分批下发至客户端,客户端接收显示猫ID列表。
步骤1106,结束。
综上所述,终端通过服务器与区块链系统进行通信,获取存储在区块链系统上的用户账号对应的虚拟宠物列表摘要信息,根据摘要信息显示宠物预览界面;由于区块链系统中存储的信息是经过多个节点的共识算法所确认过的信息,能够避免相关技术中展示在用户界面上的信息可能是被篡改或复制自其它虚拟宠物的对应信息的问题;从而保证宠物预览界面上所显示的虚拟宠物的摘要信息的真实性和唯一性。
图22示出了本申请另一个示例性实施例提供的虚拟宠物的展示方法的流程图。本实施例以该方法应用于图1所示的实施环境中来举例说明。所述方法包括:
步骤1201,开始。
步骤1202,请求猫详情。
玩家登陆游戏客户端,客户端显示猫ID列表,玩家点击其中的任一猫,终端向服务器发送猫详情请求,猫详情请求包括猫ID。
步骤1203,去区块链请求玩家猫详情。
服务器根据猫ID从区块链中获得玩家的猫详情,猫详情包括猫ID、代际信息、名字、形象特征、标识、繁育恢复时间;猫详情还包括父母猫的猫ID、代际信息、名字。
步骤1204,下发客户端。
服务器将玩家的猫详情通过通信网络下发给客户端。
步骤1205,结束。
综上所述,终端通过服务器与区块链系统进行通信,获取存储在区块链系统上的目标虚拟宠物对应的信息;由于区块链系统中存储的信息是经过多个节点的共识算法所确认过的信息,能够避免相关技术中展示在用户界面上的信息可能是被篡改或复制自其它虚拟宠物的对应信息的问题;从而保证第一展示界面上所显示的目标虚拟宠物的信息的真实性和唯一性。
图23示出了本申请另一个示例性实施例提供的虚拟宠物的展示方法的流程图。本实施例以该方法应用于图1所示的实施环境中来举例说明。所述方法包括:
步骤1301,开始。
步骤1302,请求猫孩子。
终端显示猫详情界面,该界面滑动至猫孩子信息处,触发请求,该请求为请求下发猫孩子列表,该请求携带猫ID,将请求发送至服务器。
步骤1303,去区块链请求孩子列表。
服务器根据上述请求从区块链中获得猫孩子列表,猫孩子列表包括猫孩 子的摘要信息:猫孩子的ID、代际信息、名字。
步骤1304,下发给客户端。
服务器将猫孩子列表下发客户端。
步骤1305,结束。
综上所述,终端通过服务器与区块链系统进行通信,获取存储在区块链系统上的目标虚拟宠物对应的孩子虚拟宠物的信息;由于区块链系统中存储的信息是经过多个节点的共识算法所确认过的信息,能够避免相关技术中展示在用户界面上的信息可能是被篡改或复制自其它虚拟宠物的对应信息的问题;从而保证第一展示界面上所显示的目标虚拟宠物的信息的真实性和唯一性。
图24示出了本申请另一个示例性实施例提供的虚拟宠物的展示方法的流程图。本实施例以该方法应用于图1所示的实施环境中来举例说明。所述方法包括:
步骤1401,开始。
步骤1402,前置校验。
终端显示猫详情界面,下滑到猫族谱信息处,触发请求,该请求为请求下发族谱列表,该请求携带猫ID,将请求发送至服务器。
服务器检验玩家是否已经激活猫系统,猫系统是否已经开放,猫是否0代猫。
步骤1403,取父母猫信息,含族谱。
当判断结果为玩家已经激活猫系统,猫系统已经开放,猫不是0代猫,服务器根据猫ID从区块链中获得族谱列表,族谱列表包括族谱的摘要信息:族谱的ID、代际信息、名字。
步骤1404,按代际合并族谱前200个。
族谱信息包括父亲宠物猫的族谱信息与母亲宠物猫的族谱信息,将父亲宠物猫的族谱信息与母亲宠物猫的族谱信息合并,当族谱信息对应200个以上的宠物猫,将200个宠物猫根据代际从大到小排序,获取前200个代际大的宠物猫的摘要信息。
步骤1405,存储给新生猫。
将前200个代际大的宠物猫的摘要信息作为族谱信息存储给新生猫,最终获得猫族谱信息。
步骤1406,结束。
综上所述,终端通过服务器与区块链系统进行通信,获取存储在区块链系统上的目标虚拟宠物对应的族谱信息;由于区块链系统中存储的信息是经过多个节点的共识算法所确认过的信息,能够避免相关技术中展示在用户界面上的信息可能是被篡改或复制自其它虚拟宠物的对应信息的问题;从而保证第一展示界面上所显示的目标虚拟宠物的族谱信息的真实性和唯一性。
图25示出了本申请一个示例性实施例提供的虚拟宠物的展示装置的框图,所述装置包括:
确定模块1520,用于在应用程序中确定待展示的目标虚拟宠物;
获取模块1540,用于从服务器获取目标虚拟宠物的第一信息,第一信息是在区块链系统上存储的与目标虚拟宠物对应的信息;
显示模块1560,用于显示目标虚拟宠物的第一展示界面,第一展示界面上包括目标虚拟宠物的第一信息。
在一些实施例中,所述获取模块1540还用于:
向服务器发送第一获取请求,第一获取请求包括目标虚拟宠物在区块链系统上的宠物标识;
接收服务器反馈的第一信息,第一信息是服务器根据宠物标识从区块链系统上获取的;
其中,第一信息包括如下信息中的至少一种:目标虚拟宠物的三维角色形象、目标虚拟宠物的代际信息、目标虚拟宠物的名字、目标虚拟宠物的标识、目标虚拟宠物的形象特征信息、虚拟宠物的繁育恢复时间。
在一些实施例中,第一信息还包括目标虚拟宠物的父母虚拟宠物的信息;
所述显示模块1560还用于:
接收第一展示界面上的第一滑动信号;
根据第一滑动信号将第一展示界面上的显示内容向第一方向滑动;
当滑动至第一展示界面的第一位置时,在第一位置对应的显示内容中显示父母虚拟宠物的信息。
在一些实施例中,所述显示模块1560还用于:
在第一位置显示父亲角色栏位和母亲角色栏位,父亲角色栏位上显示有目标虚拟宠物对应的父亲虚拟宠物,母亲角色栏位上显示有目标虚拟宠物对应的母亲虚拟宠物。
在一些实施例中,第一展示界面还用于显示目标虚拟宠物的孩子虚拟宠物的信息;所述显示模块1560还用于:
接收第一展示界面上的第二滑动信号;
根据第二滑动信号将第一展示界面上的显示内容向第一方向滑动;
当滑动至第一展示界面的第二位置时,从服务器获取目标虚拟宠物的第二信息,第二信息是在区块链系统上存储的与目标虚拟宠物对应的孩子虚拟宠物的信息;
在第二位置对应的显示内容中显示孩子虚拟宠物的信息。
在一些实施例中,所述显示模块1560还用于:
在第二位置对应的显示内容中显示至少一个孩子角色栏位,每个孩子角色栏位上显示有目标虚拟宠物对应的孩子虚拟宠物。
在一些实施例中,所述显示模块1560还用于:
当滑动至第一展示界面的第二位置时,向服务器发送第二获取请求,第二获取请求包括目标虚拟宠物在区块链系统上的宠物标识;
接收服务器反馈的第二信息,第二信息是服务器根据宠物标识从区块链系统上获取的。
在一些实施例中,第一展示界面还用于显示目标虚拟宠物的族谱信息;
所述显示模块1560还用于:
接收第一展示界面上的第三滑动信号;
根据第三滑动信号将第一展示界面上的显示内容向第一方向滑动;
当滑动至第一展示界面的第三位置时,从服务器获取目标虚拟宠物的第三信息,第三信息是在区块链系统上存储的与目标虚拟宠物对应的族谱信息;
在第三位置对应的显示内容中显示目标虚拟宠物的族谱信息。
在一些实施例中,所述确定模块1520还用于:
从服务器获取m个虚拟宠物的宠物信息,m个虚拟宠物的宠物信息是在区块链系统上存储的当前用户帐号拥有的m个虚拟宠物的摘要信息,m为正 整数;
在应用程序中显示宠物预览界面,宠物预览界面用于显示当前用户帐号拥有的m个虚拟宠物的宠物信息;
接收在宠物预览界面上触发的选择信号;
根据选择信号在m个虚拟宠物中确定出目标虚拟宠物。
在一些实施例中,第一展示界面上还显示有生涯信息按钮;
所述显示模块1560还用于:
接收第一展示界面上对生涯信息按钮触发的第一点击信号;
根据第一点击信号从服务器获取目标虚拟宠物的生涯信息,生涯信息包括在区块链系统上存储的与目标虚拟宠物出生后的k条历史事件流水信息,k为正整数;
显示第二展示界面,第二展示界面上显示有目标虚拟宠物的生涯信息。
在一些实施例中,第一展示界面上还显示有交易信息按钮;
所述显示模块1560还用于:
接收第一展示界面上对交易信息按钮触发的第二点击信号;
根据第二点击信号从服务器获取目标虚拟宠物的区块链交易信息,区块链交易信息包括在区块链系统上存储的与目标虚拟宠物的历史交易流水信息;
显示第三展示界面,第三展示界面上显示有目标虚拟宠物的区块链交易信息。
在一些实施例中,宠物预览界面上还显示有区块链节点控件;
所述显示模块1560还用于:
接收第一展示界面上对区块链节点控件触发的第三点击信号;
根据第三点击信号从服务器获取n个区块链节点的节点状态信息,n为正整数;
显示第四展示界面,第四展示界面上显示有n个区块链节点的节点状态信息。
综上所述,终端通过服务器与区块链系统进行通信,获取存储在区块链系统上的目标虚拟宠物对应的信息,根据信息显示展示界面;由于区块链系统中存储的信息是经过多个节点的共识算法所确认过的信息,能够避免相关 技术中展示在用户界面上的信息可能是被篡改或复制自其它虚拟宠物的对应信息的问题;从而保证展示界面上所显示的目标虚拟宠物的信息的真实性和唯一性。
图26示出了本申请一个示例性实施例提供的虚拟宠物的展示装置的框图,所述装置包括:
接收模块1620,用于接收终端发送的第一获取请求,第一获取请求是终端在应用程序中确定出待显示的目标虚拟宠物后发送的;
提取模块1640,用于从第一获取请求中提取目标虚拟宠物在区块链系统上的宠物标识;
获取模块1660,用于根据宠物标识从区块链系统上获取目标虚拟宠物的第一信息;
发送模块1680,用于向终端发送第一信息,第一信息被终端用于显示目标虚拟宠物的第一展示界面。
在一些实施例中,所述接收模块1620还用于:
接收终端发送的第二获取请求,第二获取请求是终端在第一展示界面上滑动至第二位置后发送的;
从第二获取请求中提取目标虚拟宠物在区块链系统上的宠物标识;
根据宠物标识从区块链系统上获取孩子虚拟宠物的第二信息;
向终端发送第二信息,第二信息被终端用于在第一展示界面上与第二位置对应的显示内容中显示孩子虚拟宠物的信息。
在一些实施例中,所述接收模块1620还用于:
接收终端发送的第三获取请求,第三获取请求是终端在第一展示界面上滑动至第三位置后发送的;
从第三获取请求中提取目标虚拟宠物在区块链系统上的宠物标识;
根据宠物标识从区块链系统上获取目标虚拟宠物对应的族谱信息;
向终端发送族谱信息,族谱信息被终端用于在第一展示界面上与第三位置对应的显示内容中显示族谱信息。
在一些实施例中,所述接收模块1620还用于:
接收终端发送的第四获取请求,第四获取请求是终端在第一展示界面上 的生涯信息按钮被触发后发送的;
从第四获取请求中提取第一标识信息;
根据第一标识信息从区块链系统上获取目标虚拟宠物出生后的k条历史事件流水信息,得到目标虚拟宠物的生涯信息,k为正整数;
向终端发送目标虚拟宠物的生涯信息,生涯信息被终端用于显示目标虚拟宠物的第二展示界面。
在一些实施例中,所述接收模块1620还用于:
接收终端发送的第五获取请求,第五获取请求是终端在第一展示界面上的交易信息按钮被触发后发送的;
从第五获取请求中提取第二标识信息;
根据第二标识信息从区块链系统上获取目标虚拟宠物的区块链交易信息;
向终端发送区块链交易信息,区块链交易信息被终端用于显示目标虚拟宠物的第三展示界面。
在一些实施例中,所述接收模块1620还用于:
接收终端发送的预览获取请求,;
从预览获取请求中提取当前用户帐号;
确定当前用户帐号在区块链系统上对应的目标帐号;
根据目标帐号从区块链系统上获取m个虚拟宠物的摘要信息;
向终端发送m个虚拟宠物的摘要信息,摘要信息被终端用于显示宠物预览界面。
在一些实施例中,所述接收模块1620还用于接收终端发送的节点信息获取请求;
从区块链系统上获取n个区块链节点的节点状态信息,n为正整数;
向终端发送n个区块链节点的节点状态信息,n个区块链节点的节点状态信息被终端用于显示第四展示界面。
综上所述,终端通过服务器与区块链系统进行通信,获取存储在区块链系统上的目标虚拟宠物对应的信息,根据信息显示展示界面;由于区块链系统中存储的信息是经过多个节点的共识算法所确认过的信息,能够避免相关技术中展示在用户界面上的信息可能是被篡改或复制自其它虚拟宠物的对应 信息的问题;从而保证展示界面上所显示的目标虚拟宠物的信息的真实性和唯一性。
图27示出了本申请一个示例性实施例提供的终端1500的结构框图。该终端1500可以是:智能手机、平板电脑、MP3播放器(Moving Picture Experts Group Audio Layer III,动态影像专家压缩标准音频层面3)、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器、笔记本电脑或台式电脑。终端1500还可能被称为用户设备、便携式终端、膝上型终端、台式终端等其他名称。
通常,终端1500包括有:处理器1501和存储器1502。
处理器1501可以包括一个或多个处理核心,比如4核心处理器、8核心处理器等。处理器1501可以采用DSP(Digital Signal Processing,数字信号处理)、FPGA(Field-Programmable Gate Array,现场可编程门阵列)、PLA(Programmable Logic Array,可编程逻辑阵列)中的至少一种硬件形式来实现。处理器1501也可以包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称CPU(Central Processing Unit,中央处理器);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器1501可以在集成有GPU(Graphics Processing Unit,图像处理器),GPU用于负责显示屏所需要显示的内容的渲染和绘制。一些实施例中,处理器1501还可以包括AI(Artificial Intelligence,人工智能)处理器,该AI处理器用于处理有关机器学习的计算操作。
存储器1502可以包括一个或多个计算机可读存储介质,该计算机可读存储介质可以是非暂态的。存储器1502还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。在一些实施例中,存储器1502中的非暂态的计算机可读存储介质用于存储至少一个指令,该至少一个指令用于被处理器1501所执行以实现本申请中方法实施例提供的虚拟宠物的展示方法。
在一些实施例中,终端1500还可选包括有:外围设备接口1503和至少一个外围设备。处理器1501、存储器1502和外围设备接口1503之间可以通过总线或信号线相连。各个外围设备可以通过总线、信号线或电路板与外围 设备接口1503相连。具体地,外围设备包括:射频电路1504、触摸显示屏1505、摄像头1506、音频电路1507、定位组件1508和电源1509中的至少一种。
外围设备接口1503可被用于将I/O(Input/Output,输入/输出)相关的至少一个外围设备连接到处理器1501和存储器1502。在一些实施例中,处理器1501、存储器1502和外围设备接口1503被集成在同一芯片或电路板上;在一些其他实施例中,处理器1501、存储器1502和外围设备接口1503中的任意一个或两个可以在单独的芯片或电路板上实现,本实施例对此不加以限定。
射频电路1504用于接收和发射RF(Radio Frequency,射频)信号,也称电磁信号。射频电路1504通过电磁信号与通信网络以及其他通信设备进行通信。射频电路1504将电信号转换为电磁信号进行发送,或者,将接收到的电磁信号转换为电信号。可选地,射频电路1504包括:天线系统、RF收发器、一个或多个放大器、调谐器、振荡器、数字信号处理器、编解码芯片组、用户身份模块卡等等。射频电路1504可以通过至少一种无线通信协议来与其它终端进行通信。该无线通信协议包括但不限于:万维网、城域网、内联网、各代移动通信网络(2G、3G、4G及5G)、无线局域网和/或WiFi( Wireless  Fidelity,无线保真)网络。在一些实施例中,射频电路1504还可以包括NFC(Near Field Communication,近距离无线通信)有关的电路,本申请对此不加以限定。
显示屏1505用于显示UI(User Interface,用户界面)。该UI可以包括图形、文本、图标、视频及其它们的任意组合。当显示屏1505是触摸显示屏时,显示屏1505还具有采集在显示屏1505的表面或表面上方的触摸信号的能力。该触摸信号可以作为控制信号输入至处理器1501进行处理。此时,显示屏1505还可以用于提供虚拟按钮和/或虚拟键盘,也称软按钮和/或软键盘。在一些实施例中,显示屏1505可以为一个,设置终端1500的前面板;在另一些实施例中,显示屏1505可以为至少两个,分别设置在终端1500的不同表面或呈折叠设计;在再一些实施例中,显示屏1505可以是柔性显示屏,设置在终端1500的弯曲表面上或折叠面上。甚至,显示屏1505还可以设置成非矩形的不规则图形,也即异形屏。显示屏1505可以采用LCD(Liquid Crystal  Display,液晶显示屏)、OLED(Organic Light-Emitting Diode,有机发光二极管)等材质制备。
摄像头组件1506用于采集图像或视频。可选地,摄像头组件1506包括前置摄像头和后置摄像头。通常,前置摄像头设置在终端的前面板,后置摄像头设置在终端的背面。在一些实施例中,后置摄像头为至少两个,分别为主摄像头、景深摄像头、广角摄像头、长焦摄像头中的任意一种,以实现主摄像头和景深摄像头融合实现背景虚化功能、主摄像头和广角摄像头融合实现全景拍摄以及VR(Virtual Reality,虚拟现实)拍摄功能或者其它融合拍摄功能。在一些实施例中,摄像头组件1506还可以包括闪光灯。闪光灯可以是单色温闪光灯,也可以是双色温闪光灯。双色温闪光灯是指暖光闪光灯和冷光闪光灯的组合,可以用于不同色温下的光线补偿。
音频电路1507可以包括麦克风和扬声器。麦克风用于采集用户及环境的声波,并将声波转换为电信号输入至处理器1501进行处理,或者输入至射频电路1504以实现语音通信。出于立体声采集或降噪的目的,麦克风可以为多个,分别设置在终端1500的不同部位。麦克风还可以是阵列麦克风或全向采集型麦克风。扬声器则用于将来自处理器1501或射频电路1504的电信号转换为声波。扬声器可以是传统的薄膜扬声器,也可以是压电陶瓷扬声器。当扬声器是压电陶瓷扬声器时,不仅可以将电信号转换为人类可听见的声波,也可以将电信号转换为人类听不见的声波以进行测距等用途。在一些实施例中,音频电路1507还可以包括耳机插孔。
定位组件1508用于定位终端1500的当前地理位置,以实现导航或LBS(Location Based Service,基于位置的服务)。定位组件1508可以是基于美国的GPS(Global Positioning System,全球定位系统)、中国的北斗系统或俄罗斯的伽利略系统的定位组件。
电源1509用于为终端1500中的各个组件进行供电。电源1509可以是交流电、直流电、一次性电池或可充电电池。当电源1509包括可充电电池时,该可充电电池可以是有线充电电池或无线充电电池。有线充电电池是通过有线线路充电的电池,无线充电电池是通过无线线圈充电的电池。该可充电电池还可以用于支持快充技术。
在一些实施例中,终端1500还包括有一个或多个传感器1510。该一个 或多个传感器1510包括但不限于:加速度传感器1511、陀螺仪传感器1512、压力传感器1513、指纹传感器1514、光学传感器1515以及接近传感器1516。
加速度传感器1511可以检测以终端1500建立的坐标系的三个坐标轴上的加速度大小。比如,加速度传感器1511可以用于检测重力加速度在三个坐标轴上的分量。处理器1501可以根据加速度传感器1511采集的重力加速度信号,控制触摸显示屏1505以横向视图或纵向视图进行用户界面的显示。加速度传感器1511还可以用于游戏或者用户的运动数据的采集。
陀螺仪传感器1512可以检测终端1500的机体方向及转动角度,陀螺仪传感器1512可以与加速度传感器1511协同采集用户对终端1500的3D动作。处理器1501根据陀螺仪传感器1512采集的数据,可以实现如下功能:动作感应(比如根据用户的倾斜操作来改变UI)、拍摄时的图像稳定、游戏控制以及惯性导航。
压力传感器1513可以设置在终端1500的侧边框和/或触摸显示屏1505的下层。当压力传感器1513设置在终端1500的侧边框时,可以检测用户对终端1500的握持信号,由处理器1501根据压力传感器1513采集的握持信号进行左右手识别或快捷操作。当压力传感器1513设置在触摸显示屏1505的下层时,由处理器1501根据用户对触摸显示屏1505的压力操作,实现对UI界面上的可操作性控件进行控制。可操作性控件包括按钮控件、滚动条控件、图标控件、菜单控件中的至少一种。
指纹传感器1514用于采集用户的指纹,由处理器1501根据指纹传感器1514采集到的指纹识别用户的身份,或者,由指纹传感器1514根据采集到的指纹识别用户的身份。在识别出用户的身份为可信身份时,由处理器1501授权该用户执行相关的敏感操作,该敏感操作包括解锁屏幕、查看加密信息、下载软件、支付及更改设置等。指纹传感器1514可以被设置终端1500的正面、背面或侧面。当终端1500上设置有物理按键或厂商Logo时,指纹传感器1514可以与物理按键或厂商Logo集成在一起。
光学传感器1515用于采集环境光强度。在一个实施例中,处理器1501可以根据光学传感器1515采集的环境光强度,控制触摸显示屏1505的显示亮度。具体地,当环境光强度较高时,调高触摸显示屏1505的显示亮度;当环境光强度较低时,调低触摸显示屏1505的显示亮度。在另一个实施例中, 处理器1501还可以根据光学传感器1515采集的环境光强度,动态调整摄像头组件1506的拍摄参数。
接近传感器1516,也称距离传感器,通常设置在终端1500的前面板。接近传感器1516用于采集用户与终端1500的正面之间的距离。在一个实施例中,当接近传感器1516检测到用户与终端1500的正面之间的距离逐渐变小时,由处理器1501控制触摸显示屏1505从亮屏状态切换为息屏状态;当接近传感器1516检测到用户与终端1500的正面之间的距离逐渐变大时,由处理器1501控制触摸显示屏1505从息屏状态切换为亮屏状态。
本领域技术人员可以理解,图27中示出的结构并不构成对终端1500的限定,可以包括比图示更多或更少的组件,或者组合某些组件,或者采用不同的组件布置。
本申请还提供一种计算机可读存储介质,所述存储介质中存储有至少一条计算机可读指令、至少一段程序、代码集或指令集,所述至少一条计算机可读指令、所述至少一段程序、所述代码集或指令集由所述处理器加载并执行以实现上述方法实施例提供的虚拟宠物的展示方法。
图28是本申请一个实施例提供的服务器的结构示意图。具体来讲:服务器1600包括中央处理单元(英文:Central Processing Unit,简称:CPU)1601、包括随机存取存储器(英文:random access memory,简称:RAM)1602和只读存储器(英文:read-only memory,简称:ROM)1603的系统存储器1604,以及连接系统存储器1604和中央处理单元1601的系统总线1605。所述服务器1600还包括帮助计算机内的各个器件之间传输信息的基本输入/输出系统(I/O系统)1606,和用于存储操作系统1613、应用程序1614和其他程序模块1615的大容量存储设备1607。
所述基本输入/输出系统1606包括有用于显示信息的显示器1608和用于用户输入信息的诸如鼠标、键盘之类的输入设备1609。其中所述显示器1608和输入设备1609都通过连接到系统总线1605的输入/输出控制器1610连接到中央处理单元1601。所述基本输入/输出系统1606还可以包括输入/输出控制器1610以用于接收和处理来自键盘、鼠标、或电子触控笔等多个其他设备的输入。类似地,输入/输出控制器1610还提供输出到显示屏、打印机或其 他类型的输出设备。
所述大容量存储设备1607通过连接到系统总线1605的大容量存储控制器(未示出)连接到中央处理单元1601。所述大容量存储设备1607及其相关联的计算机可读介质为服务器1600提供非易失性存储。也就是说,所述大容量存储设备1607可以包括诸如硬盘或者只读光盘(英文: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)或其他光学存储、磁带盒、磁带、磁盘存储或其他磁性存储设备。当然,本领域技术人员可知所述计算机存储介质不局限于上述几种。上述的系统存储器1604和大容量存储设备1607可以统称为存储器。
根据本申请的各种实施例,所述服务器1600还可以通过诸如因特网等网络连接到网络上的远程计算机运行。也即服务器1600可以通过连接在所述系统总线1605上的网络接口单元1611连接到网络1612,或者说,也可以使用网络接口单元1611来连接到其他类型的网络或远程计算机系统(未示出)。
本申请还提供了一种计算机可读指令,当其在电子设备上运行时,使得电子设备执行上述各个方法实施例所述的虚拟宠物的展示方法。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过计算机可读指令来指令相关的硬件完成,所述的计算机可读指令可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。
以上所述仅为本申请的较佳实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申 请的保护范围之内。

Claims (20)

  1. 一种虚拟宠物的展示方法,由提供了虚拟宠物的应用程序的终端执行,存在至少一个所述虚拟宠物的宠物形象是基于基因遗传规则生成的,所述方法包括:
    在所述应用程序中确定待展示的目标虚拟宠物;
    从服务器获取所述目标虚拟宠物的第一信息,所述第一信息是在区块链系统上存储的与所述目标虚拟宠物对应的信息;
    显示所述目标虚拟宠物的第一展示界面,所述第一展示界面上包括所述目标虚拟宠物的所述第一信息。
  2. 根据权利要求1所述的方法,其特征在于,所述从服务器获取所述目标虚拟宠物的第一信息,包括:
    向所述服务器发送第一获取请求,所述第一获取请求包括所述目标虚拟宠物在所述区块链系统上的宠物标识;
    接收所述服务器反馈的所述第一信息,所述第一信息是所述服务器根据所述宠物标识从所述区块链系统上获取的;
    其中,所述第一信息包括如下信息中的至少一种:所述目标虚拟宠物的三维角色形象、所述目标虚拟宠物的代际信息、所述目标虚拟宠物的名字、所述目标虚拟宠物的标识、所述目标虚拟宠物的形象特征信息、所述虚拟宠物的繁育恢复时间。
  3. 根据权利要求2所述的方法,其特征在于,所述第一信息还包括所述目标虚拟宠物的父母虚拟宠物的信息;
    所述显示所述目标虚拟宠物的第一展示界面,包括:
    接收所述第一展示界面上的第一滑动信号;
    根据所述第一滑动信号将所述第一展示界面上的显示内容向第一方向滑动;
    当滑动至所述第一展示界面的第一位置时,在所述第一位置对应的显示内容中显示所述父母虚拟宠物的信息。
  4. 根据权利要求3所述的方法,其特征在于,在所述第一位置对应的显示内容中显示所述父母虚拟宠物的信息,包括:
    在所述第一位置显示父亲角色栏位和母亲角色栏位,所述父亲角色栏位上显示有所述目标虚拟宠物对应的父亲虚拟宠物,所述母亲角色栏位上显示有所述目标虚拟宠物对应的母亲虚拟宠物。
  5. 根据权利要求2所述的方法,其特征在于,所述第一展示界面还用于显示所述目标虚拟宠物的孩子虚拟宠物的信息;
    所述方法还包括:
    接收所述第一展示界面上的第二滑动信号;
    根据所述第二滑动信号将所述第一展示界面上的显示内容向第一方向滑动;
    当滑动至所述第一展示界面的第二位置时,从所述服务器获取所述目标虚拟宠物的第二信息,所述第二信息是在所述区块链系统上存储的与所述目标虚拟宠物对应的孩子虚拟宠物的信息;
    在所述第二位置对应的显示内容中显示所述孩子虚拟宠物的信息。
  6. 根据权利要求5所述的方法,其特征在于,所述在所述第二位置对应的显示内容中显示所述孩子虚拟宠物的信息,包括:
    在所述第二位置对应的显示内容中显示至少一个孩子角色栏位,每个所述孩子角色栏位上显示有所述目标虚拟宠物对应的所述孩子虚拟宠物。
  7. 根据权利要求5所述的方法,其特征在于,所述当滑动至所述第一展示界面的第二位置时,从所述服务器获取所述目标虚拟宠物的第二信息,包括:
    当滑动至所述第一展示界面的第二位置时,向所述服务器发送第二获取请求,所述第二获取请求包括所述目标虚拟宠物在所述区块链系统上的宠物标识;
    接收所述服务器反馈的所述第二信息,所述第二信息是所述服务器根据所述宠物标识从所述区块链系统上获取的。
  8. 根据权利要求2所述的方法,其特征在于,所述第一展示界面还用于显示所述目标虚拟宠物的族谱信息;
    所述方法还包括:
    接收所述第一展示界面上的第三滑动信号;
    根据所述第三滑动信号将所述第一展示界面上的显示内容向第一方向滑动;
    当滑动至所述第一展示界面的第三位置时,从所述服务器获取所述目标虚拟宠物的第三信息,所述第三信息是在所述区块链系统上存储的与所述目标虚拟宠物对应的族谱信息;
    在所述第三位置对应的显示内容中显示所述目标虚拟宠物的族谱信息。
  9. 根据权利要求2至8任一所述的方法,其特征在于,所述在所述应用程序中确定待展示的目标虚拟宠物,包括:
    从所述服务器获取m个虚拟宠物的宠物信息,所述m个虚拟宠物的宠物信息是在所述区块链系统上存储的所述当前用户帐号拥有的m个虚拟宠物的摘要信息,m为正整数;
    在所述应用程序中显示宠物预览界面,所述宠物预览界面用于显示所述当前用户帐号拥有的所述m个虚拟宠物的宠物信息;
    接收在所述宠物预览界面上触发的选择信号;
    根据所述选择信号在所述m个虚拟宠物中确定出所述目标虚拟宠物。
  10. 根据权利要求2至8任一所述的方法,其特征在于,所述第一展示界面上还显示有生涯信息按钮;
    所述方法还包括:
    接收所述第一展示界面上对所述生涯信息按钮触发的第一点击信号;
    根据所述第一点击信号从所述服务器获取所述目标虚拟宠物的生涯信息,所述生涯信息包括在所述区块链系统上存储的与所述目标虚拟宠物出生后的k条历史事件流水信息,k为正整数;
    显示第二展示界面,所述第二展示界面上显示有所述目标虚拟宠物的所 述生涯信息。
  11. 根据权利要求2至8任一所述的方法,其特征在于,所述第一展示界面上还显示有交易信息按钮;
    所述方法还包括:
    接收所述第一展示界面上对所述交易信息按钮触发的第二点击信号;
    根据所述第二点击信号从所述服务器获取所述目标虚拟宠物的区块链交易信息,所述区块链交易信息包括在所述区块链系统上存储的与所述目标虚拟宠物的历史交易流水信息;
    显示第三展示界面,所述第三展示界面上显示有所述目标虚拟宠物的所述区块链交易信息。
  12. 根据权利要求9所述的方法,其特征在于,所述宠物预览界面上还显示有区块链节点控件;
    所述方法还包括:
    接收所述第一展示界面上对所述区块链节点控件触发的第三点击信号;
    根据所述第三点击信号从所述服务器获取n个区块链节点的节点状态信息,n为正整数;
    显示第四展示界面,所述第四展示界面上显示有所述n个区块链节点的节点状态信息。
  13. 一种虚拟宠物的展示方法,由服务器执行,所述方法包括:
    接收终端发送的第一获取请求,所述第一获取请求是所述终端在应用程序中确定出待显示的目标虚拟宠物后发送的;
    从所述第一获取请求中提取所述目标虚拟宠物在区块链系统上的宠物标识;
    根据所述宠物标识从所述区块链系统上获取所述目标虚拟宠物的第一信息;
    向所述终端发送所述第一信息,所述第一信息被所述终端用于显示所述目标虚拟宠物的第一展示界面。
  14. 根据权利要求13所述的方法,其特征在于,所述向所述终端发送所述第一信息之后,还包括:
    接收所述终端发送的第二获取请求,所述第二获取请求是所述终端在所述第一展示界面上滑动至第二位置后发送的;
    从所述第二获取请求中提取所述目标虚拟宠物在所述区块链系统上的宠物标识;
    根据所述宠物标识从所述区块链系统上获取所述孩子虚拟宠物的第二信息;
    向所述终端发送所述第二信息,所述第二信息被所述终端用于在所述第一展示界面上与所述第二位置对应的显示内容中显示所述孩子虚拟宠物的信息。
  15. 根据权利要求14所述的方法,其特征在于,所述向所述终端发送所述第二信息之后,还包括:
    接收所述终端发送的第三获取请求,所述第三获取请求是所述终端在所述第一展示界面上滑动至第三位置后发送的;
    从所述第三获取请求中提取所述目标虚拟宠物在所述区块链系统上的宠物标识;
    根据所述宠物标识从所述区块链系统上获取所述目标虚拟宠物对应的族谱信息;
    向所述终端发送所述族谱信息,所述族谱信息被所述终端用于在所述第一展示界面上与所述第三位置对应的显示内容中显示所述族谱信息。
  16. 根据权利要求13所述的方法,其特征在于,所述向所述终端发送所述第一信息之后,还包括:
    接收所述终端发送的第四获取请求,所述第四获取请求是所述终端在所述第一展示界面上的生涯信息按钮被触发后发送的;
    从所述第四获取请求中提取第一标识信息;
    根据所述第一标识信息从所述区块链系统上获取所述目标虚拟宠物出生 后的k条历史事件流水信息,得到所述目标虚拟宠物的生涯信息,k为正整数;
    向所述终端发送所述目标虚拟宠物的生涯信息,所述生涯信息被所述终端用于显示所述目标虚拟宠物的第二展示界面。
  17. 根据权利要求13所述的方法,其特征在于,所述向所述终端发送所述第一信息之后,还包括:
    接收所述终端发送的第五获取请求,所述第五获取请求是所述终端在所述第一展示界面上的交易信息按钮被触发后发送的;
    从所述第五获取请求中提取第二标识信息;
    根据所述第二标识信息从所述区块链系统上获取所述目标虚拟宠物的区块链交易信息;
    向所述终端发送所述区块链交易信息,所述区块链交易信息被所述终端用于显示所述目标虚拟宠物的第三展示界面。
  18. 一种虚拟宠物的展示装置,所述装置包括:
    确定模块,用于在应用程序中确定待展示的目标虚拟宠物;
    获取模块,用于从服务器获取所述目标虚拟宠物的第一信息,所述第一信息是在区块链系统上存储的与所述目标虚拟宠物对应的信息;
    显示模块,用于显示所述目标虚拟宠物的第一展示界面,所述第一展示界面上包括所述目标虚拟宠物的所述第一信息。
  19. 一种终端,所述终端包括存储器和处理器;所述存储器中存储有至少一条计算机可读指令,所述至少一条计算机可读指令由所述处理器加载并执行以下步骤:
    在应用程序中确定待展示的目标虚拟宠物;
    从服务器获取目标虚拟宠物的第一信息,第一信息是在区块链系统上存储的与目标虚拟宠物对应的信息;
    显示目标虚拟宠物的第一展示界面,第一展示界面上包括目标虚拟宠物的第一信息。
  20. 一种非易失性的计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有至少一条计算机可读指令,所述至少一条计算机可读指令由处理器加载并执行以下步骤:
    在应用程序中确定待展示的目标虚拟宠物;
    从服务器获取目标虚拟宠物的第一信息,第一信息是在区块链系统上存储的与目标虚拟宠物对应的信息;
    显示目标虚拟宠物的第一展示界面,第一展示界面上包括目标虚拟宠物的第一信息。
PCT/CN2019/102132 2018-08-30 2019-08-23 虚拟宠物的展示方法、装置、终端及存储介质 WO2020043015A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2020569887A JP7142113B2 (ja) 2018-08-30 2019-08-23 仮想ペットの表示方法及び装置、並びに、端末及びプログラム
KR1020207032176A KR102451344B1 (ko) 2018-08-30 2019-08-23 가상 펫의 디스플레이 방법, 장치, 단말기 및 저장 매체
SG11202010931YA SG11202010931YA (en) 2018-08-30 2019-08-23 Method and apparatus for displaying virtual pet, terminal, and storage medium
US17/028,376 US11083966B2 (en) 2018-08-30 2020-09-22 Method and apparatus for displaying virtual pet, terminal, and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811006228.6A CN109260707A (zh) 2018-08-30 2018-08-30 虚拟宠物的展示方法、装置、设备及存储介质
CN201811006228.6 2018-08-30

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/028,376 Continuation US11083966B2 (en) 2018-08-30 2020-09-22 Method and apparatus for displaying virtual pet, terminal, and storage medium

Publications (1)

Publication Number Publication Date
WO2020043015A1 true WO2020043015A1 (zh) 2020-03-05

Family

ID=65154716

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/102132 WO2020043015A1 (zh) 2018-08-30 2019-08-23 虚拟宠物的展示方法、装置、终端及存储介质

Country Status (6)

Country Link
US (1) US11083966B2 (zh)
JP (1) JP7142113B2 (zh)
KR (1) KR102451344B1 (zh)
CN (2) CN109260707A (zh)
SG (1) SG11202010931YA (zh)
WO (1) WO2020043015A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111773736A (zh) * 2020-07-03 2020-10-16 珠海金山网络游戏科技有限公司 一种虚拟角色的行为生成方法及装置
CN111931227A (zh) * 2020-06-28 2020-11-13 山东浪潮质量链科技有限公司 一种基于区块链技术的宠物繁育信息证明方法
JP7436890B2 (ja) 2020-03-23 2024-02-22 株式会社カプコン コンピュータシステム

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11165589B2 (en) * 2017-05-11 2021-11-02 Shapeshift Ag Trusted agent blockchain oracle
CN109260707A (zh) 2018-08-30 2019-01-25 腾讯科技(深圳)有限公司 虚拟宠物的展示方法、装置、设备及存储介质
CN110609884A (zh) * 2019-09-30 2019-12-24 腾讯科技(深圳)有限公司 基于地理位置服务的网络游戏的数据控制方法及装置
CN110782525B (zh) * 2019-11-08 2023-04-25 腾讯科技(深圳)有限公司 对虚拟环境中的虚拟物体进行标识的方法、装置及介质
CN113209634A (zh) * 2021-04-30 2021-08-06 六享亿家电子商务有限公司 一种基于智能设备的宠物养成系统
CN113822973A (zh) * 2021-11-24 2021-12-21 支付宝(杭州)信息技术有限公司 用于操作虚拟形象的方法、装置、电子设备、介质和程序
CN113822974A (zh) * 2021-11-24 2021-12-21 支付宝(杭州)信息技术有限公司 生成虚拟形象的方法、装置、电子设备、介质和程序
CN114429389A (zh) * 2022-01-27 2022-05-03 支付宝(杭州)信息技术有限公司 数字商品的展示方法及装置
CN115550251B (zh) * 2022-12-01 2023-03-10 杭州蚂蚁酷爱科技有限公司 区块链网络、节点集合的维护方法及装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107317725A (zh) * 2017-06-14 2017-11-03 物链(北京)科技有限公司 一种区块链的可视化方法及系统
US20180204416A1 (en) * 2010-09-30 2018-07-19 Jesus Perea-Ochoa Method and System of Operating Multi-Task Interactive Electronic Devices
CN109260707A (zh) * 2018-08-30 2019-01-25 腾讯科技(深圳)有限公司 虚拟宠物的展示方法、装置、设备及存储介质

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11126017A (ja) * 1997-08-22 1999-05-11 Sony Corp 記憶媒体、ロボット、情報処理装置、並びに電子ペットシステム
US7084887B1 (en) * 1999-06-11 2006-08-01 Canon Kabushiki Kaisha Marker layout method, mixed reality apparatus, and mixed reality space image generation method
WO2005020129A2 (en) * 2003-08-19 2005-03-03 Bandalong Entertainment Customizable avatar and differentiated instant messaging environment
US20070111795A1 (en) * 2005-11-15 2007-05-17 Joon-Hyuk Choi Virtual entity on a network
JP2008165406A (ja) * 2006-12-27 2008-07-17 Iida Sangyo:Kk デジタルペットバンクシステム
US20170052676A1 (en) * 2015-08-19 2017-02-23 vAtomic Systems, LLC Virtual object registry and tracking platform
CN106453377B (zh) * 2016-10-28 2021-03-02 中金云金融(北京)大数据科技股份有限公司 基于区块链的分布式网络智能监控系统及方法
CN107317730B (zh) * 2017-08-21 2020-09-04 上海点融信息科技有限责任公司 用于监控区块链节点状态的方法、设备和系统
US10864443B2 (en) * 2017-12-22 2020-12-15 Activision Publishing, Inc. Video game content aggregation, normalization, and publication systems and methods
CN108376337A (zh) * 2018-01-31 2018-08-07 曲桂正 一种多平台虚拟角色管理方法和系统

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180204416A1 (en) * 2010-09-30 2018-07-19 Jesus Perea-Ochoa Method and System of Operating Multi-Task Interactive Electronic Devices
CN107317725A (zh) * 2017-06-14 2017-11-03 物链(北京)科技有限公司 一种区块链的可视化方法及系统
CN109260707A (zh) * 2018-08-30 2019-01-25 腾讯科技(深圳)有限公司 虚拟宠物的展示方法、装置、设备及存储介质

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
"How Baidu Letzie novices have their first pet", BAIDU, 23 May 2018 (2018-05-23), XP055696790, Retrieved from the Internet <URL:https://jingyan.baidu.com/article/cb5d6105d3d04f005c2fe095.html> *
"How the Leitz dog breeds", BAIDU, 31 May 2018 (2018-05-31), Retrieved from the Internet <URL:https://jingyan.baidu.com/article/ed15cb1badf0a91be36981aa.html> *
"Inventory: Top 10 Cases of "Blockchain + Game"", WWW.100EC.CN, 19 April 2018 (2018-04-19), XP055696794, Retrieved from the Internet <URL:http://www.100ec.cn/detail--6445808.html> *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7436890B2 (ja) 2020-03-23 2024-02-22 株式会社カプコン コンピュータシステム
CN111931227A (zh) * 2020-06-28 2020-11-13 山东浪潮质量链科技有限公司 一种基于区块链技术的宠物繁育信息证明方法
CN111773736A (zh) * 2020-07-03 2020-10-16 珠海金山网络游戏科技有限公司 一种虚拟角色的行为生成方法及装置
CN111773736B (zh) * 2020-07-03 2024-02-23 珠海金山数字网络科技有限公司 一种虚拟角色的行为生成方法及装置

Also Published As

Publication number Publication date
KR20200136482A (ko) 2020-12-07
US11083966B2 (en) 2021-08-10
US20210001223A1 (en) 2021-01-07
KR102451344B1 (ko) 2022-10-07
CN110237532A (zh) 2019-09-17
JP7142113B2 (ja) 2022-09-26
CN109260707A (zh) 2019-01-25
SG11202010931YA (en) 2020-12-30
JP2021526430A (ja) 2021-10-07

Similar Documents

Publication Publication Date Title
WO2020043015A1 (zh) 虚拟宠物的展示方法、装置、终端及存储介质
US11331584B2 (en) Information display method and apparatus for virtual pet, terminal, server, storage medium, and system
JP7090837B2 (ja) 仮想ペットの情報表示方法および装置、端末、サーバ並びにそのコンピュータプログラム
WO2020038121A1 (zh) 虚拟宠物的繁育方法、装置、设备及存储介质
US10516870B2 (en) Information processing device, information processing method, and program
US11442610B2 (en) Virtual item adjustment method and apparatus, terminal, and storage medium
CN112704883B (zh) 虚拟环境中虚拟对象的组队方法、装置、终端及存储介质
CN110136228B (zh) 虚拟角色的面部替换方法、装置、终端及存储介质
CN110420464B (zh) 虚拟宠物形象参数的确定方法、装置及可读存储介质
CN109126136B (zh) 三维虚拟宠物的生成方法、装置、设备及存储介质
TWI803224B (zh) 聯絡人信息展示方法、裝置、電子設備、計算機可讀儲存媒體及計算機程式産品
CN110399183B (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: 19854159

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 20207032176

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2020569887

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

Country of ref document: EP

Kind code of ref document: A1