CN112698726A - Virtual plant growing method and apparatus - Google Patents

Virtual plant growing method and apparatus Download PDF

Info

Publication number
CN112698726A
CN112698726A CN202011635591.1A CN202011635591A CN112698726A CN 112698726 A CN112698726 A CN 112698726A CN 202011635591 A CN202011635591 A CN 202011635591A CN 112698726 A CN112698726 A CN 112698726A
Authority
CN
China
Prior art keywords
target
event information
virtual plant
user
target virtual
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN202011635591.1A
Other languages
Chinese (zh)
Other versions
CN112698726B (en
Inventor
嵇坤
党雪杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Zhangmen Science and Technology Co Ltd
Original Assignee
Shanghai Zhangmen Science and Technology Co Ltd
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 Shanghai Zhangmen Science and Technology Co Ltd filed Critical Shanghai Zhangmen Science and Technology Co Ltd
Priority to CN202011635591.1A priority Critical patent/CN112698726B/en
Publication of CN112698726A publication Critical patent/CN112698726A/en
Application granted granted Critical
Publication of CN112698726B publication Critical patent/CN112698726B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A40/00Adaptation technologies in agriculture, forestry, livestock or agroalimentary production
    • Y02A40/10Adaptation technologies in agriculture, forestry, livestock or agroalimentary production in agriculture
    • Y02A40/25Greenhouse technology, e.g. cooling systems therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Cultivation Of Plants (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the application discloses a virtual plant planting method and equipment. One embodiment of the method comprises: responding to a target generation selected by a user, and sending an acquisition request of a virtual plant set corresponding to the target generation to a server; receiving a virtual plant set corresponding to a target generation sent by a server; responding to a target virtual plant selected by a user from the virtual plant set, and sending a planting task request of the target virtual plant to a server; acquiring a planting task of a target virtual plant, and determining growth state information of the target virtual plant corresponding to the planting task; and updating the growth state information of the target virtual plant based on the at least one event information corresponding to the target era. This embodiment increases the user's perception of plants suitable for planting in different generations. Furthermore, the growth state information of the virtual plant is associated with the event information corresponding to the era, so that the user can intuitively acquire the influence degree of the event information corresponding to the era.

Description

Virtual plant growing method and apparatus
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a virtual plant planting method and equipment.
Background
With the rapid development of the internet, the application functions are more and more abundant. Among them, the virtual plant growing function has become a main function or an additional function of more and more applications. The existing virtual plant planting method is that a user selects a virtual plant first, and the planting period is limited to be under the preset condition of a system or according to the real weather condition by default.
Disclosure of Invention
The embodiment of the application provides a virtual plant planting method and equipment.
In a first aspect, an embodiment of the present application provides a virtual plant growing method, which is applied to a user equipment, and includes: responding to a target generation selected by a user, and sending an acquisition request of a virtual plant set corresponding to the target generation to a server; receiving a virtual plant set corresponding to a target generation sent by a server; responding to a target virtual plant selected by a user from the virtual plant set, and sending a planting task request of the target virtual plant to a server; acquiring a planting task of a target virtual plant, and determining growth state information of the target virtual plant corresponding to the planting task; and updating the growth state information of the target virtual plant based on the at least one event information corresponding to the target era.
In some embodiments, the method further comprises: receiving at least one event message corresponding to a target era and a corresponding influence energy value sent by a server; and updating the growth state information of the target virtual plant based on at least one event information corresponding to the target dynasty, wherein the method comprises the following steps: presenting at least one event information in a user device; and updating the growth state information of the target virtual plant based on the influence energy value corresponding to the at least one event information.
In some embodiments, the method further comprises: the method comprises the steps of obtaining at least one piece of event information corresponding to a target generation, wherein the at least one piece of event information corresponding to the target generation is determined according to historical event information of the target generation, each piece of event information comprises time tag information, and the time tag information of the event information is determined based on the time information of the corresponding historical event information.
In some embodiments, presenting at least one event information in a user device includes: presenting at least one event message in user equipment, wherein the at least one event message is presented in sequence according to the sequence of the time tag messages contained in the event message; and updating the growth state information of the target virtual plant based on the influence energy value corresponding to the at least one event information, wherein the method comprises the following steps: and updating the growth state information of the target virtual plant in sequence according to the influence energy value corresponding to each of the at least one event information presented in sequence.
In some embodiments, the method further comprises: responding to target event information selected by a user from at least one piece of event information, and sending a detail acquisition request of the target event information to a server; and receiving the detail information of the target event information sent by the server, and displaying the detail information of the target event information.
In some embodiments, before obtaining the planting task of the target virtual plant, the method further comprises: and sending the resources matched with the value of the planting task in the resource account of the user to the server.
In some embodiments, the method further comprises: responding to the target virtual plant reaching a preset growth state, and sending a harvesting task request of the target virtual plant to a server; acquiring a harvesting task of a target virtual plant, and determining the value of the harvesting task; responding to the exchange of the user based on the harvesting task, and sending an exchange request of the harvesting task to the server; receiving resources which are sent by a server and matched with the value of the harvesting task; adding resources in the user's resource account that match the value of the harvest task.
In some embodiments, the method further comprises: responding to the exchange of the target virtual article selected by the user, and sending an exchange request of the target virtual article to the server; sending the resources matched with the value of the target virtual article in the resource account of the user to a server; and acquiring the target virtual article from the server.
In a second aspect, an embodiment of the present application provides a virtual plant growing method, which is applied to a server and includes: receiving an acquisition request of a virtual plant set corresponding to a target era selected by a user, which is sent by user equipment; inquiring a virtual plant set corresponding to the target dynasty and sending the virtual plant set to user equipment; receiving a planting task request of a target virtual plant selected from a virtual plant set by a user, which is sent by user equipment; and sending the planting task of the target virtual plant, the corresponding growth state information and at least one event information corresponding to the target era to user equipment.
In some embodiments, the method further comprises: and inquiring at least one piece of event information corresponding to the target era and the corresponding influence energy value, and sending the event information and the corresponding influence energy value to the user equipment.
In some embodiments, querying the target era for the corresponding at least one event information and the corresponding impact energy value includes: inquiring historical event information of the target dynasty and corresponding influence energy values; determining at least one piece of event information corresponding to the target era according to the historical event information, and sending the at least one piece of event information and the corresponding influence energy value to the user equipment, wherein each piece of event information comprises time tag information, and the time tag information of the event information is determined based on the time information corresponding to the historical event information.
In some embodiments, the method further comprises: receiving a detail acquisition request of target event information selected by a user from at least one event information, which is sent by user equipment; and sending the detail information of the target event information to the user equipment.
In some embodiments, before sending the planting task of the target virtual plant, the corresponding growth state information, and the at least one event information corresponding to the target era to the user equipment, the method further includes: and receiving the resource which is sent by the user equipment and is matched with the value of the planting task.
In some embodiments, the method further comprises: receiving a harvesting task request of a target virtual plant sent by user equipment; sending a harvesting task of the target virtual plant to user equipment; receiving an exchange request of a user based on a harvesting task, which is sent by user equipment; and sending the resource matched with the harvest task to the user equipment.
In some embodiments, the method further comprises: receiving an exchange request of a target virtual article selected by a user and a resource matched with the value of the target virtual article, wherein the exchange request is sent by user equipment; and sending the target virtual article to the user equipment.
In some embodiments, the method further comprises: and determining at least one piece of event information corresponding to the target generation according to the historical event information of the target generation, wherein each piece of event information comprises time tag information, and the time tag information of the event information is determined based on the time information of the corresponding historical event information.
In a third aspect, an embodiment of the present application provides a virtual plant growing apparatus, provided in a user equipment, including: the first sending unit is configured to respond to the target generation selected by the user and send an acquisition request of a virtual plant set corresponding to the target generation to the server; the first receiving unit is configured to receive a virtual plant set corresponding to a target generation sent by a server; the second sending unit is configured to respond to the fact that a user selects a target virtual plant from the virtual plant set, and send a planting task request of the target virtual plant to the server; the device comprises a first acquisition unit, a second acquisition unit and a control unit, wherein the first acquisition unit is configured to acquire a planting task of a target virtual plant and determine growth state information of the target virtual plant corresponding to the planting task; and the updating unit is configured to update the growth state information of the target virtual plant based on the at least one event information corresponding to the target generation.
In some embodiments, the apparatus further comprises: the second receiving unit is configured to receive at least one piece of event information corresponding to the target era and the corresponding influence energy value sent by the server; and the update unit includes: a presentation subunit configured to present at least one event information in a user device; and the updating subunit is configured to update the growth state information of the target virtual plant based on the influence energy value corresponding to the at least one event information.
In some embodiments, the apparatus further comprises: and a second obtaining unit configured to obtain at least one piece of event information corresponding to the target generation, wherein the at least one piece of event information corresponding to the target generation is determined according to the historical event information of the target generation, each piece of event information contains time tag information, and the time tag information of the event information is determined based on the time information of the corresponding historical event information.
In some embodiments, the presentation subunit is further configured to: presenting at least one event message in user equipment, wherein the at least one event message is presented in sequence according to the sequence of the time tag messages contained in the event message; and the update subunit is further configured to: and updating the growth state information of the target virtual plant in sequence according to the influence energy value corresponding to each of the at least one event information presented in sequence.
In some embodiments, the apparatus further comprises: a third sending unit, configured to respond to the target event information selected from the at least one event information by the user, and send a detail obtaining request of the target event information to the server; and the third receiving unit is configured to receive the detail information of the target event information sent by the server and display the detail information of the target event information.
In some embodiments, the apparatus further comprises: and the fourth sending unit is configured to send the resource matched with the value of the planting task in the resource account of the user to the server.
In some embodiments, the apparatus further comprises: the fifth sending unit is configured to respond to the target virtual plant reaching the preset growth state and send a harvesting task request of the target virtual plant to the server; a third acquisition unit configured to acquire a harvest task of the target virtual plant and determine a value of the harvest task; a sixth sending unit configured to send an exchange request of the harvesting task to the server in response to the user exchanging based on the harvesting task; the fourth receiving unit is configured to receive the resource which is sent by the server and matched with the value of the harvesting task; an adding unit configured to add a resource matching the value of the harvest task in the resource account of the user.
In some embodiments, the apparatus further comprises: a seventh sending unit, configured to respond to the user selecting the target virtual article for exchange, send an exchange request of the target virtual article to the server; an eighth sending unit, configured to send the resource matching the value of the target virtual item in the resource account of the user to the server; and the fourth acquisition unit is configured to acquire the target virtual article from the server.
In a fourth aspect, an embodiment of the present application provides a virtual plant planting device, which is disposed at a server and includes: the first receiving unit is configured to receive an acquisition request of a virtual plant set corresponding to a target era selected by a user, which is sent by user equipment; the first query unit is configured to query a virtual plant set corresponding to the target era and send the virtual plant set to the user equipment; the second receiving unit is configured to receive a planting task request of a target virtual plant selected from the virtual plant set by a user, and the planting task request is sent by the user equipment; the first sending unit is configured to send the planting task of the target virtual plant, the corresponding growth state information and at least one event information corresponding to the target era to the user equipment.
In some embodiments, the apparatus further comprises: and the second query unit is configured to query at least one event message corresponding to the target era and the corresponding influence energy value, and send the event message to the user equipment.
In some embodiments, the second lookup unit: inquiring historical event information of the target dynasty and corresponding influence energy values; determining at least one piece of event information corresponding to the target era according to the historical event information, and sending the at least one piece of event information and the corresponding influence energy value to the user equipment, wherein each piece of event information comprises time tag information, and the time tag information of the event information is determined based on the time information corresponding to the historical event information.
In some embodiments, the apparatus further comprises: a third receiving unit configured to receive a detail obtaining request of target event information selected from at least one event information by a user, which is sent by a user device; a second transmitting unit configured to transmit the detail information of the target event information to the user equipment.
In some embodiments, the apparatus further comprises: and the fourth receiving unit is configured to receive the resource which is sent by the user equipment and is matched with the value of the planting task.
In some embodiments, the apparatus further comprises: a fifth receiving unit configured to receive a harvest task request of a target virtual plant sent by a user equipment; a third transmitting unit configured to transmit a harvesting task of the target virtual plant to the user device; a sixth receiving unit configured to receive a user exchange request based on a harvesting task sent by a user device; and a fourth transmitting unit configured to transmit the resource matched with the harvesting task to the user equipment.
In some embodiments, the apparatus further comprises: a seventh receiving unit configured to receive an exchange request of a target virtual item selected by a user and a resource matched with the value of the target virtual item, which are sent by a user device; a fifth transmitting unit configured to transmit the target virtual item to the user device.
In some embodiments, the apparatus further comprises: the determining unit is configured to determine at least one piece of event information corresponding to the target generation according to the historical event information of the target generation, wherein each piece of event information contains time tag information, and the time tag information of the event information is determined based on the time information of the corresponding historical event information.
In a fifth aspect, an embodiment of the present application provides a computer device, including: one or more processors; a storage device having one or more programs stored thereon; when executed by one or more processors, cause the one or more processors to implement a method as described in any of the implementations of the first aspect or to implement a method as described in any of the implementations of the second aspect.
In a sixth aspect, the present application provides a computer-readable medium, on which a computer program is stored, which when executed by a processor implements the method described in any of the implementation manners in the first aspect or implements the method described in any of the implementation manners in the second aspect.
According to the virtual plant planting method and the equipment provided by the embodiment of the application, under the condition that a user selects a target generation, an acquisition request of a virtual plant set corresponding to the target generation is sent to a server so as to receive the virtual plant set corresponding to the target generation sent by the server; under the condition that a user selects a target virtual plant from the virtual plant set, sending a planting task request of the target virtual plant to a server side to obtain a planting task of the target virtual plant and determining growth state information of the target virtual plant corresponding to the planting task; and finally updating the growth state information of the target virtual plant based on at least one event information corresponding to the target dynasty. The user is allowed to select the dynasty by himself and then recommend the virtual plants corresponding to the dynasty, so that the planting method of the virtual plants is enriched, and the cognition of the user on the plants suitable for being planted in different dynasties is increased. Furthermore, the growth state information of the virtual plant is associated with the event information corresponding to the generation, so that the user can intuitively acquire the influence degree of the historical events of the generation.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture to which the present application may be applied;
FIG. 2 is a flow chart of a first embodiment of a virtual plant growing method according to the present application;
FIG. 3 is a flow chart of a second embodiment of a virtual plant growing method according to the present application;
FIG. 4 is a flow chart of a third embodiment of a virtual plant growing method according to the present application;
FIG. 5 is a flow chart of a fourth embodiment of a virtual plant growing method according to the present application;
FIG. 6 is a flow chart of a fifth embodiment of a virtual plant growing method according to the present application;
FIG. 7 is a flow chart of a sixth embodiment of a virtual plant growing method according to the present application;
FIG. 8 is a schematic block diagram of a computer system suitable for use in implementing the computer device of an embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 illustrates an exemplary system architecture 100 to which embodiments of the virtual plant growing method of the present application may be applied.
As shown in fig. 1, devices 101, 102 and network 103 may be included in system architecture 100. Network 103 is the medium used to provide communication links between devices 101, 102. Network 103 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The devices 101, 102 may be hardware devices or software that support network connectivity to provide various network services. When the device is hardware, it can be a variety of electronic devices including, but not limited to, smart phones, tablets, laptop portable computers, desktop computers, servers, and the like. In this case, the hardware device may be implemented as a distributed device group including a plurality of devices, or may be implemented as a single device. When the device is software, the software can be installed in the electronic devices listed above. At this time, as software, it may be implemented as a plurality of software or software modules for providing a distributed service, for example, or as a single software or software module. And is not particularly limited herein.
In practice, a device may provide a respective network service by installing a respective client application or server application. After the device has installed the client application, it may be embodied as a user device in network communications. Accordingly, after the server application is installed, it may be embodied as a server in network communications.
As an example, in fig. 1, the device 101 is embodied as a user equipment, and the device 102 is embodied as a server. For example, device 101 may be a user device of a virtual plant growing application and device 102 may be a server of the virtual plant growing application.
It should be noted that the virtual plant growing method provided in the embodiments of the present application may be executed by the devices 101 and 102.
It should be understood that the number of networks and devices in fig. 1 is merely illustrative. There may be any number of networks and devices, as desired for implementation.
With continued reference to fig. 2, a flow 200 of a first embodiment of a virtual plant growing method according to the present application is shown. The virtual plant planting method is applied to user equipment and comprises the following steps:
step 201, responding to the target generation selected by the user, sending an acquisition request of a virtual plant set corresponding to the target generation to the server.
In this embodiment, the user equipment may have a target application installed thereon. In the case where the user opens the virtual plant growing interface of the target application, multiple generations may be displayed for selection by the user. When the user selects one of the dynasties, the user equipment may send an acquisition request of a virtual plant set corresponding to the target dynasties to a server of the target application.
The target application may be any application that provides a virtual plant growing function, among others. The virtual plant growing function may be a primary function of a target application, which may be, for example, a virtual plant growing application. Furthermore, the virtual plant growing function may also be an additional function of the target application, which may be, for example, a weather-like application, a payment-like application, or other tool-type application, etc., that provides the virtual plant growing function.
Generally, in the case where a user turns on a virtual plant growing function of a target application, a virtual plant growing interface may be presented. A plurality of dynasties including, but not limited to, down, song, yuan, ming, qing, etc. may be displayed on the virtual plant growing interface. The user can randomly select one dynasty on the virtual plant growing interface. And the dynasty selected by the user is the target dynasty. When detecting that the target generation is selected by the user, the user equipment may send an acquisition request of a virtual plant set corresponding to the target generation to the server. Wherein the acquisition request may include the target era. The plants suitable for planting in different dynasties are different, for example, the song dynasties are suitable for planting rice, wheat, cotton and the like. And the set of plants suitable for planting in the same generation is the set of plants corresponding to the generation. The virtual plant planting method provided by the embodiment of the application is to plant virtual plants on the internet, and the plants are not really plants, so the plant set is also called as a virtual plant set. The number or the type of the virtual plants in the virtual plant set may be one or more, and is not limited herein.
Step 202, receiving a virtual plant set corresponding to a target generation sent by a server.
In this embodiment, the server may store each generation and the corresponding set of virtual plants in advance. And under the condition of receiving the acquisition request, the server side can inquire based on the target generation to obtain a virtual plant set corresponding to the target generation and send the virtual plant set to the user equipment. In the event that a set of virtual plants corresponding to the target era is received, the user device may display it on the virtual plant growing interface.
Step 203, responding to the target virtual plant selected by the user from the virtual plant set, and sending a planting task request of the target virtual plant to the server.
In this embodiment, the set of virtual plants displayed on the virtual plant growing interface may be selected by the user. Under the condition that the user selects any one of the virtual plants, the user equipment can send a planting task request of the target virtual plant to the server. The virtual plant selected by the user is the target virtual plant. The planting task request may include a target virtual plant to request the server to plant the target virtual plant.
And 204, acquiring a planting task of the target virtual plant, and determining growth state information of the target virtual plant corresponding to the planting task.
In this embodiment, after receiving the planting task request, the server may send the planting task of the target virtual plant to the user equipment.
The planting task of the target virtual plant can be used for completing the planting work of the target virtual plant. The planting task of the target virtual plant will typically include a virtual seed of the target virtual plant, and the user device may plant the virtual seed of the target virtual plant on the virtual land of the virtual plant planting interface. Thus, the target virtual plants can grow on the virtual land. Subsequently, the target virtual plants can gradually grow on the virtual land, and the growth state of the target virtual plants can gradually change. Generally, a user can accelerate the growth of the target virtual plant by performing maintenance operations such as virtual watering, virtual fertilizing, virtual turning and the like on the target virtual plant. In addition, the event information presented during the growth process of the target virtual plant also influences the growth state of the target virtual plant. Wherein, the growth of the target virtual plant is accelerated by presenting the positive event information, and the growth of the target virtual plant is hindered by presenting the negative event information. The growth state information of the target virtual plant can be used for recording the growth state of the target virtual plant, and the growth state information comprises one or more types of energy value information of the target virtual plant.
And step 205, updating the growth state information of the target virtual plant based on the at least one event information corresponding to the target generation.
In this embodiment, the user equipment may obtain at least one piece of event information corresponding to the target generation, and update the growth state information of the target virtual plant based on the at least one piece of event information corresponding to the target generation. The at least one piece of event information corresponding to the target era may include both positive event information and negative event information. The positive event information can accelerate the growth of the target virtual plant, and the negative event information can block the growth of the target virtual plant. The user equipment can update the growth state information of the target virtual plant by combining the influence degree of the event information on the growth of the target virtual plant.
According to the virtual plant planting method provided by the embodiment of the application, under the condition that a user selects a target generation, an acquisition request of a virtual plant set corresponding to the target generation is sent to a server so as to receive the virtual plant set corresponding to the target generation sent by the server; under the condition that a user selects a target virtual plant from the virtual plant set, sending a planting task request of the target virtual plant to a server side to obtain a planting task of the target virtual plant and determining growth state information of the target virtual plant corresponding to the planting task; and finally updating the growth state information of the target virtual plant based on at least one event information corresponding to the target dynasty. The user is allowed to select the dynasty by himself and then recommend the virtual plants corresponding to the dynasty, so that the planting method of the virtual plants is enriched, and the cognition of the user on the plants suitable for being planted in different dynasties is increased. Furthermore, the growth state information of the virtual plant is associated with the event information corresponding to the generation, so that the user can intuitively acquire the influence degree of the historical events of the generation.
With further reference to fig. 3, there is shown a flow chart 300 that is a second embodiment of a virtual plant growing method according to the present application. The virtual plant planting method is applied to user equipment and comprises the following steps:
step 301, responding to the target generation selected by the user, sending an acquisition request of a virtual plant set corresponding to the target generation to the server.
Step 302, receiving a virtual plant set corresponding to a target generation sent by a server.
Step 303, responding to the target virtual plant selected from the virtual plant set by the user, and sending a planting task request of the target virtual plant to the server.
And 304, acquiring a planting task of the target virtual plant, and determining growth state information of the target virtual plant corresponding to the planting task.
In the present embodiment, the specific operations of steps 301-304 have been described in detail in step 201-204 in the embodiment shown in fig. 2, and are not described herein again.
Step 305, receiving at least one event message and a corresponding impact energy value corresponding to the target era sent by the server.
In this embodiment, in the growth process of the target virtual plant, the server may first obtain at least one event information corresponding to the target generation, and then quantize an influence energy value corresponding to each event information; and finally, sending at least one piece of event information corresponding to the target era and the corresponding influence energy value to the user equipment.
In some embodiments, the server stores historical event information and corresponding impact energy values for each generation in addition to each generation and corresponding set of virtual plants. In the growth process of the target virtual plant, the server side can determine at least one event information corresponding to the target generation and the corresponding influence energy value according to the historical event information of the target generation. Wherein each event information may contain time tag information, and the time tag information of the event information may be determined based on the time information of the corresponding historical event information.
Wherein the historical event information of the era may include information of historical events that appear in chronological order in the era. The effect of the historical event on the growth of the plant may be a positive or negative effect. The influence energy value corresponding to the history event with positive influence is a positive number, the influence energy value corresponding to the history event with negative influence is a negative number, and the numerical value of the influence energy value is positively correlated with the influence degree of the history event on the plant growth. For example, the Qingzai Xinsheng appeared in the Song dynasty, which accelerates the growth of plants, and the influence energy value is positive, and the magnitude of the influence energy value is quantified according to the degree of influence, for example, the influence energy value corresponding to the Qingzai Xinsheng is 10 g. The Wang 'an stone modification appears after Song dynasty, the plant growth is slowed down due to the failure of the modification, the influence energy value is negative, and the numerical value is quantified according to the influence degree, for example, the Wang' an stone modification corresponds to the influence energy value of-10 g.
At step 306, at least one event information is presented in the user device.
In this embodiment, during the growth process of the target virtual plant, at least one event information corresponding to the target era may be presented on the virtual plant growing interface. At least one piece of event information corresponding to the target dynasty is usually presented in sequence according to the sequence of the time tag information contained in the event information. And the event information is sequentially presented on the virtual plant planting interface according to the time sequence, so that the cognition of the user on the occurrence time of different event information of the same era can be increased.
And 307, updating the growth state information of the target virtual plant based on the influence energy value corresponding to the at least one event information.
In this embodiment, in the growing process of the target virtual plant, the user equipment may update the growth state information of the target virtual plant according to the impact energy value corresponding to the at least one event information.
Specifically, if the influence energy value corresponding to the event information is a positive number, increasing the energy value of the target virtual plant; and if the influence energy value corresponding to the event information is a negative number, reducing the energy value of the target virtual plant. The at least one event information can be presented on the virtual plant growing interface at the same time or sequentially. When the event information is presented, the energy value of the target virtual plant may be increased or decreased correspondingly to the influence energy value corresponding to the event information.
In some embodiments, the at least one piece of event information corresponding to the target era may be sequentially presented according to a sequence of the time tag information included in each piece of event information, and the user equipment may sequentially update the growth state information of the target virtual plant according to an influence energy value corresponding to each piece of event information presented in sequence. The event information is sequentially presented on the virtual plant planting interface according to the time sequence, so that the cognition of the user on the occurrence time of different event information of the same era can be increased.
And 308, responding to the target event information selected from the at least one event information by the user, and sending a detail acquisition request of the target event information to the server.
In this embodiment, at least one event information presented on the virtual plant growing interface may be available for selection by the user. When the user selects any one of the event information, the user equipment may send a detail acquisition request of the target event information to the server. The event information selected by the user is the target event information. The detail retrieval request may include target event information.
And 309, receiving the detail information of the target event information sent by the server, and displaying the detail information of the target event information.
In this embodiment, after receiving the detail acquiring request, the server may search for the detail information of the target event information and send the detail information to the user equipment. The user equipment can display the detail information of the target event information.
As can be seen from fig. 3, compared with the embodiment corresponding to fig. 2, the flow 300 of the virtual plant growing method in the present embodiment highlights the growth state information updating step of the target virtual plant, and adds the detail information acquiring step of the event information. Therefore, the scheme described in the embodiment presents at least one event information corresponding to the target generation in the growth process of the target virtual plant. And, the degree of influence of the event information on the plant growth is quantified to update the growth state information of the target virtual plant. Further, it is also possible to push the detail information of the event information to the user. The event information is associated with the growth of the virtual plants, so that the cognition of the user on the event information corresponding to different dynasties is increased. Not only the detailed information of the event information can be obtained, but also the influence degree of the event information can be obtained. And the story and the interest of the virtual plant planting method are further increased, and the virtual plant planting method is beneficial to attracting more users to open the virtual plant planting function of the target application.
With further reference to fig. 4, there is shown a flow chart 400 that is a third embodiment of a virtual plant growing method according to the present application. The virtual plant planting method is applied to user equipment and comprises the following steps:
step 401, in response to the user selecting the target generation, sending an acquisition request of a virtual plant set corresponding to the target generation to the server.
Step 402, receiving a virtual plant set corresponding to a target generation sent by a server.
And step 403, responding to the target virtual plant selected from the virtual plant set by the user, and sending a planting task request of the target virtual plant to the server.
In the present embodiment, the specific operations of steps 401 and 403 have been described in detail in step 201 and 203 in the embodiment shown in fig. 2, and are not described herein again.
And step 404, sending the resources matched with the value of the planting task of the target virtual plant in the resource account of the user to the server.
In this embodiment, in the process of sending the planting task request of the target virtual plant to the server, the user equipment further needs to send a resource, which is matched with the value of the planting task of the target virtual plant, in the resource account of the user to the server.
Wherein the user has a resource account in the target application. The resources in the resource account can be exchanged for the virtual item through the internet. Resources may include, but are not limited to, electronic currency, virtual currency, coupons, and the like. The virtual goods may be provided by the target application, including but not limited to services in the target application, planting tasks for virtual plants, virtual land for planting virtual plants, maintenance props for virtual plants, and so forth.
Generally, different virtual plant growing tasks may have different values, and thus, different values of virtual plant growing tasks correspond to different amounts of resources. Under the condition that the user selects the target virtual plant, the user equipment can deduct resources matched with the value of the planting task of the target virtual plant from the resource account of the user and send the resources to the server so as to replace the planting task of the target virtual plant.
Step 405, acquiring a planting task of the target virtual plant, and determining growth state information of the target virtual plant corresponding to the planting task.
In this embodiment, the server may send the planting task of the target virtual plant to the user equipment when receiving the planting task request of the target virtual plant and the resource matching the value of the planting task of the target virtual plant.
The planting task of the target virtual plant can be used for completing the planting work of the target virtual plant. The planting task of the target virtual plant will typically include a virtual seed of the target virtual plant, and the user device may plant the virtual seed of the target virtual plant on the virtual land of the virtual plant planting interface. Thus, the target virtual plants can grow on the virtual land. Subsequently, the target virtual plants can gradually grow on the virtual land, and the growth state of the target virtual plants can gradually change. Generally, a user can accelerate the growth of the target virtual plant by performing maintenance operations such as virtual watering, virtual fertilizing, virtual turning and the like on the target virtual plant. In addition, the event information presented during the growth process of the target virtual plant also influences the growth state of the target virtual plant. Wherein, the growth of the target virtual plant is accelerated by presenting the positive event information, and the growth of the target virtual plant is hindered by presenting the negative event information. The growth state information of the target virtual plant can be used for recording the growth state of the target virtual plant, and the growth state information comprises one or more types of energy value information of the target virtual plant.
And step 406, updating the growth state information of the target virtual plant based on the at least one event information corresponding to the target generation.
In this embodiment, the specific operation of step 406 has been described in detail in step 205 in the embodiment shown in fig. 2, and is not described herein again.
Step 407, in response to the target virtual plant reaching the preset growth state, sending a harvest task request of the target virtual plant to the server.
In this embodiment, the user equipment may send a harvest task request of the target virtual plant to the server when the target virtual plant reaches the preset growth state.
Generally, the energy value of the target virtual plant is continuously increased during the growth process. If the energy value of the target virtual plant reaches a preset value, the target virtual plant can be considered to reach a preset growth state. At this time, the target virtual plant may produce a virtual fruit. And if the user clicks the virtual fruit, the user equipment sends a harvest task request of the target virtual plant to the server.
Step 408, a harvest task of the target virtual plant is obtained, and a value of the harvest task is determined.
In this embodiment, after receiving the harvest task of the target virtual plant, the server may send the harvest task of the target virtual plant to the user equipment.
The harvesting task of the target virtual plant can be used for completing the harvesting work of the target virtual plant. The task of harvesting the target virtual plant will typically include the virtual fruit of the target virtual plant. In general, the harvest tasks for different target virtual plants may have different values. And finishing the harvesting task of the target virtual plant to reduce the energy value of the target virtual plant by a preset value. Wherein the preset value matches the value of the harvest task of the target virtual plant.
Step 409, responding to the exchange of the user based on the harvesting task, and sending an exchange request of the harvesting task to the server.
In this embodiment, the user may trade resources for harvesting tasks based on the target virtual plant. When the user performs the exchange based on the harvesting task, the user equipment may send an exchange request of the harvesting task to the server. Wherein the exchange request may include a harvest task.
And step 410, receiving the resource which is sent by the server and matched with the value of the harvest task.
In this embodiment, the harvesting tasks of different target virtual plants may have different values, and thus the harvesting tasks of different values correspond to different amounts of resources. Upon receiving the exchange request, the server may send a resource matching the value of the harvest task to the user device.
In step 411, resources matching the value of the harvest task are added to the user's resource account.
In this embodiment, upon receiving a resource that matches the value of the harvest task, the user device may add the resource that matches the value of the harvest task to the user's resource account.
Step 412, in response to the user selecting the target virtual article for exchange, sending an exchange request of the target virtual article to the server.
In this embodiment, when the user opens the virtual item exchange interface of the target application, a large number of virtual items may be displayed for the user to select. When the user selects one or more virtual articles, the user equipment can send an exchange request of the target virtual article to the server. Wherein. The one or more virtual items selected by the user are the target virtual items.
And 413, sending the resource matched with the value of the target virtual article in the resource account of the user to the server.
In this embodiment, in the process of sending the exchange request to the server, the user equipment further needs to send a resource, which is matched with the value of the target virtual item, in the resource account of the user to the server. Different virtual articles can have different values, so that the virtual articles with different values correspond to resources with different amounts. When the user selects the target virtual article, the user equipment can deduct the resource matched with the value of the target virtual article from the resource account of the user and send the resource to the server to exchange the target virtual article.
And step 414, acquiring the target virtual article from the server.
In this embodiment, the server may send the target virtual item to the user equipment when receiving the exchange request of the target virtual item and the resource matching the value of the target virtual item. After obtaining the target virtual article, the user may grow new virtual plants or maintain existing virtual plants.
As can be seen from fig. 4, the flow 400 of the virtual plant growing method in this embodiment increases the steps of resource exchange compared to the embodiment corresponding to fig. 2. Therefore, in the growing process of the virtual plants, the harvesting task for maintaining the virtual plants can be replaced by resources, the resources can be replaced by virtual articles, and the virtual articles can be used for planting new virtual plants or maintaining existing virtual plants, so that a virtuous circle is formed, and the willingness of a user for planting the virtual plants is enhanced.
With continued reference to fig. 5, a flow 500 of a fourth embodiment of a virtual plant growing method according to the present application is shown. The virtual plant planting method is applied to a server and comprises the following steps:
step 501, receiving an acquisition request of a virtual plant set corresponding to a target era selected by a user, which is sent by user equipment.
In this embodiment, the user equipment may have a target application installed thereon. In the case where the user opens the virtual plant growing interface of the target application, multiple generations may be displayed for selection by the user. When the user selects one of the dynasties, the user equipment may send an acquisition request of a virtual plant set corresponding to the target dynasties to a server of the target application.
The target application may be any application that provides a virtual plant growing function, among others. The virtual plant growing function may be a primary function of a target application, which may be, for example, a virtual plant growing application. Furthermore, the virtual plant growing function may also be an additional function of the target application, which may be, for example, a weather-like application, a payment-like application, or other tool-type application, etc., that provides the virtual plant growing function.
Generally, in the case where a user turns on a virtual plant growing function of a target application, a virtual plant growing interface may be presented. A plurality of dynasties including, but not limited to, down, song, yuan, ming, qing, etc. may be displayed on the virtual plant growing interface. The user can randomly select one dynasty on the virtual plant growing interface. And the dynasty selected by the user is the target dynasty. When detecting that the target generation is selected by the user, the user equipment may send an acquisition request of a virtual plant set corresponding to the target generation to the server. Wherein the acquisition request may include the target era. The plants suitable for planting in different dynasties are different, for example, the song dynasties are suitable for planting rice, wheat, cotton and the like. And the set of plants suitable for planting in the same generation is the set of plants corresponding to the generation. The virtual plant planting method provided by the embodiment of the application is to plant virtual plants on the internet, and the plants are not really plants, so the plant set is also called as a virtual plant set. The number or the type of the virtual plants in the virtual plant set may be one or more, and is not limited herein.
And 502, inquiring a virtual plant set corresponding to the target era, and sending the virtual plant set to user equipment.
In this embodiment, the server may store each generation and the corresponding set of virtual plants in advance. And under the condition of receiving the acquisition request, the server side can inquire based on the target generation to obtain a virtual plant set corresponding to the target generation and send the virtual plant set to the user equipment. In the event that a set of virtual plants corresponding to the target era is received, the user device may display it on the virtual plant growing interface.
Step 503, receiving a planting task request of a target virtual plant selected from the virtual plant set by the user, which is sent by the user equipment.
In this embodiment, the set of virtual plants displayed on the virtual plant growing interface may be selected by the user. Under the condition that the user selects any one of the virtual plants, the user equipment can send a planting task request of the target virtual plant to the server. The virtual plant selected by the user is the target virtual plant. The planting task request may include a target virtual plant to request the server to plant the target virtual plant.
And step 504, sending the planting task of the target virtual plant, the corresponding growth state information and at least one event information corresponding to the target era to the user equipment.
In this embodiment, after receiving the planting task request, the server may send the planting task of the target virtual plant, the corresponding growth state information, and at least one event information corresponding to the target era to the user equipment.
The planting task of the target virtual plant can be used for completing the planting work of the target virtual plant. The planting task of the target virtual plant will typically include a virtual seed of the target virtual plant, and the user device may plant the virtual seed of the target virtual plant on the virtual land of the virtual plant planting interface. Thus, the target virtual plants can grow on the virtual land. Subsequently, the target virtual plants can gradually grow on the virtual land, and the growth state of the target virtual plants can gradually change. Generally, a user can accelerate the growth of the target virtual plant by performing maintenance operations such as virtual watering, virtual fertilizing, virtual turning and the like on the target virtual plant. In addition, the event information presented during the growth process of the target virtual plant also influences the growth state of the target virtual plant. Wherein, the growth of the target virtual plant is accelerated by presenting the positive event information, and the growth of the target virtual plant is hindered by presenting the negative event information. The growth state information of the target virtual plant can be used for recording the growth state of the target virtual plant, and the growth state information comprises one or more types of energy value information of the target virtual plant.
The at least one piece of event information corresponding to the target era may include both positive event information and negative event information. The positive event information can accelerate the growth of the target virtual plant, and the negative event information can block the growth of the target virtual plant. The user equipment can update the growth state information of the target virtual plant by combining the influence degree of the event information on the growth of the target virtual plant.
In the virtual plant planting method provided by the embodiment of the application, under the condition that an acquisition request of a virtual plant set corresponding to a target generation selected by a user is received, the virtual plant set corresponding to the target generation is inquired and sent to user equipment; and under the condition of receiving a planting task request of a target virtual plant selected from the virtual plant set by a user, which is sent by user equipment, the planting task of the target virtual plant, corresponding growth state information and at least one event information corresponding to the target era are sent to the user equipment. The user is allowed to select the dynasty by himself and then recommend the virtual plants corresponding to the dynasty, so that the planting method of the virtual plants is enriched, and the cognition of the user on the plants suitable for being planted in different dynasties is increased. Furthermore, the growth state information of the virtual plant is associated with the event information corresponding to the generation, so that the user can intuitively acquire the influence degree of the historical events of the generation.
With further reference to fig. 6, there is shown a flow chart 600 that is a fifth embodiment of a virtual plant growing method according to the present application. The virtual plant planting method is applied to a server and comprises the following steps:
step 601, receiving an acquisition request of a virtual plant set corresponding to a target era selected by a user, which is sent by user equipment.
Step 602, querying a virtual plant set corresponding to the target era, and sending the virtual plant set to the user equipment.
Step 603, receiving a planting task request of a target virtual plant selected from the virtual plant set by the user, which is sent by the user equipment.
And step 604, sending the planting task of the target virtual plant, the corresponding growth state information and at least one event information corresponding to the target era to the user equipment.
In the present embodiment, the specific operations of steps 601-604 have been described in detail in steps 501-504 in the embodiment shown in fig. 5, and are not described herein again.
Step 605, querying at least one event information corresponding to the target era and the corresponding impact energy value, and sending the event information and the corresponding impact energy value to the user equipment.
In this embodiment, in the growth process of the target virtual plant, the server may first obtain at least one event information corresponding to the target generation, and then quantize an influence energy value corresponding to each event information; and finally, sending at least one piece of event information corresponding to the target era and the corresponding influence energy value to the user equipment.
In some embodiments, the server stores historical event information and corresponding impact energy values for each generation in addition to each generation and corresponding set of virtual plants. In the growth process of the target virtual plant, the server side can determine at least one event information corresponding to the target generation and the corresponding influence energy value according to the historical event information of the target generation. Wherein each event information may contain time tag information, and the time tag information of the event information may be determined based on the time information of the corresponding historical event information.
In some embodiments, the server may determine at least one piece of event information corresponding to the target generation according to the historical event information of the target generation. Wherein each event information may contain time tag information. The time tag information of the event information may be determined based on time information of the corresponding historical event information.
Wherein the historical event information of the era may include information of historical events that appear in chronological order in the era. The effect of the historical event on the growth of the plant may be a positive or negative effect. The influence energy value corresponding to the history event with positive influence is a positive number, the influence energy value corresponding to the history event with negative influence is a negative number, and the numerical value of the influence energy value is positively correlated with the influence degree of the history event on the plant growth. For example, the Qingzai Xinsheng appeared in the Song dynasty, which accelerates the growth of plants, and the influence energy value is positive, and the magnitude of the influence energy value is quantified according to the degree of influence, for example, the influence energy value corresponding to the Qingzai Xinsheng is 10 g. The Wang 'an stone modification appears after Song dynasty, the plant growth is slowed down due to the failure of the modification, the influence energy value is negative, and the numerical value is quantified according to the influence degree, for example, the Wang' an stone modification corresponds to the influence energy value of-10 g.
And step 606, receiving a detail acquisition request of target event information selected from at least one event information by a user, which is sent by the user equipment.
In this embodiment, at least one event information presented on the virtual plant growing interface may be available for selection by the user. When the user selects any one of the event information, the user equipment may send a detail acquisition request of the target event information to the server. The event information selected by the user is the target event information. The detail retrieval request may include target event information.
Step 607, the detail information of the target event information is sent to the user equipment.
In this embodiment, after receiving the detail acquiring request, the server may search for the detail information of the target event information and send the detail information to the user equipment. The user equipment can display the detail information of the target event information.
As can be seen from fig. 6, compared with the embodiment corresponding to fig. 5, the flow 600 of the virtual plant growing method in this embodiment highlights the growth state information updating step of the target virtual plant, and adds the detail information acquiring step of the event information. Therefore, the scheme described in the embodiment presents at least one event information corresponding to the target generation in the growth process of the target virtual plant. And, the degree of influence of the event information on the plant growth is quantified to update the growth state information of the target virtual plant. Further, it is also possible to push the detail information of the event information to the user. The event information is associated with the growth of the virtual plants, so that the cognition of the user on the event information corresponding to different dynasties is increased. Not only the detailed information of the event information can be obtained, but also the influence degree of the event information can be obtained. And the story and the interest of the virtual plant planting method are further increased, and the virtual plant planting method is beneficial to attracting more users to open the virtual plant planting function of the target application.
With further reference to fig. 7, shown is a flow chart 700 that is a sixth embodiment of a virtual plant growing method according to the present application. The virtual plant planting method is applied to a server and comprises the following steps:
step 701, receiving an acquisition request of a virtual plant set corresponding to a target era selected by a user, which is sent by user equipment.
Step 702, querying a virtual plant set corresponding to the target era, and sending the virtual plant set to the user equipment.
Step 703, receiving a planting task request of a target virtual plant selected from the virtual plant set by a user, which is sent by the user equipment.
In the present embodiment, the specific operations of steps 701-703 have been described in detail in steps 501-503 in the embodiment shown in fig. 5, and are not described herein again.
Step 704, receiving the resource which is sent by the user equipment and is matched with the value of the planting task of the target virtual plant.
In this embodiment, in the process of sending the planting task request of the target virtual plant to the server, the user equipment further needs to send a resource, which is matched with the value of the planting task of the target virtual plant, in the resource account of the user to the server.
Wherein the user has a resource account in the target application. The resources in the resource account can be exchanged for the virtual item through the internet. Resources may include, but are not limited to, electronic currency, virtual currency, coupons, and the like. The virtual goods may be provided by the target application, including but not limited to services in the target application, planting tasks for virtual plants, virtual land for planting virtual plants, maintenance props for virtual plants, and so forth.
Generally, different virtual plant growing tasks may have different values, and thus, different values of virtual plant growing tasks correspond to different amounts of resources. Under the condition that the user selects the target virtual plant, the user equipment can deduct resources matched with the value of the planting task of the target virtual plant from the resource account of the user and send the resources to the server so as to replace the planting task of the target virtual plant.
Step 705, sending the planting task of the target virtual plant, the corresponding growth state information and at least one event information corresponding to the target era to the user equipment.
In this embodiment, the specific operation of step 705 has been described in detail in step 504 in the embodiment shown in fig. 5, and is not described herein again.
Step 706, receiving a harvest task request of the target virtual plant sent by the user equipment.
In this embodiment, the user equipment may send a harvest task request of the target virtual plant to the server when the target virtual plant reaches the preset growth state.
Generally, the energy value of the target virtual plant is continuously increased during the growth process. If the energy value of the target virtual plant reaches a preset value, the target virtual plant can be considered to reach a preset growth state. At this time, the target virtual plant may produce a virtual fruit. And if the user clicks the virtual fruit, the user equipment sends a harvest task request of the target virtual plant to the server.
Step 707, sending the harvest task of the target virtual plant to the user device.
In this embodiment, after receiving the harvest task of the target virtual plant, the server may send the harvest task of the target virtual plant to the user equipment.
The harvesting task of the target virtual plant can be used for completing the harvesting work of the target virtual plant. The task of harvesting the target virtual plant will typically include the virtual fruit of the target virtual plant. In general, the harvest tasks for different target virtual plants may have different values. And finishing the harvesting task of the target virtual plant to reduce the energy value of the target virtual plant by a preset value. Wherein the preset value matches the value of the harvest task of the target virtual plant.
Step 708, receiving an exchange request sent by the user device for the harvesting task based on the target virtual plant.
In this embodiment, the user may trade resources for harvesting tasks based on the target virtual plant. When the user performs the exchange based on the harvesting task, the user equipment may send an exchange request of the harvesting task to the server. Wherein the exchange request may include a harvest task.
And step 709, sending the resource matched with the harvest task to the user equipment.
In this embodiment, the harvesting tasks of different target virtual plants may have different values, and thus the harvesting tasks of different values correspond to different amounts of resources. Upon receiving the exchange request, the server may send a resource matching the value of the harvest task to the user device. In the event that a resource matching the value of the harvest task is received, the user device may add the resource matching the value of the harvest task to the user's resource account.
Step 710, receiving an exchange request of a target virtual article selected by a user and a resource matched with the value of the target virtual article, which are sent by user equipment.
In this embodiment, when the user opens the virtual item exchange interface of the target application, a large number of virtual items may be displayed for the user to select. When the user selects one or more virtual articles, the user equipment can send an exchange request of the target virtual article to the server. Wherein. The one or more virtual items selected by the user are the target virtual items.
In this embodiment, in the process of sending the exchange request to the server, the user equipment further needs to send a resource, which is matched with the value of the target virtual item, in the resource account of the user to the server. Different virtual articles can have different values, so that the virtual articles with different values correspond to resources with different amounts. When the user selects the target virtual article, the user equipment can deduct the resource matched with the value of the target virtual article from the resource account of the user and send the resource to the server to exchange the target virtual article.
Step 711, the target virtual item is sent to the user device.
In this embodiment, the server may send the target virtual item to the user equipment when receiving the exchange request of the target virtual item and the resource matching the value of the target virtual item. After obtaining the target virtual article, the user may grow new virtual plants or maintain existing virtual plants.
As can be seen from fig. 7, the flow 500 of the virtual plant growing method in this embodiment increases the steps of resource exchange compared to the embodiment corresponding to fig. 5. Therefore, in the growing process of the virtual plants, the harvesting task for maintaining the virtual plants can be replaced by resources, the resources can be replaced by virtual articles, and the virtual articles can be used for planting new virtual plants or maintaining existing virtual plants, so that a virtuous circle is formed, and the willingness of a user for planting the virtual plants is enhanced. Referring now to FIG. 8, a block diagram of a computer system 800 suitable for use in implementing a computing device (e.g., devices 101, 102 shown in FIG. 1) of an embodiment of the present application is shown. The computer device shown in fig. 8 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 8, the computer system 800 includes a Central Processing Unit (CPU)801 that can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)802 or a program loaded from a storage section 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data necessary for the operation of the system 800 are also stored. The CPU 801, ROM 802, and RAM 803 are connected to each other via a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
The following components are connected to the I/O interface 805: an input portion 806 including a keyboard, a mouse, and the like; an output section 807 including a signal such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 808 including a hard disk and the like; and a communication section 809 including a network interface card such as a LAN card, a modem, or the like. The communication section 809 performs communication processing via a network such as the internet. A drive 810 is also connected to the I/O interface 805 as necessary. A removable medium 811 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 810 as necessary, so that a computer program read out therefrom is mounted on the storage section 808 as necessary.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 809 and/or installed from the removable medium 811. The computer program performs the above-described functions defined in the method of the present application when executed by the Central Processing Unit (CPU) 801.
It should be noted that the computer readable medium of the present application can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or electronic device. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor includes a first transmitting unit, a first receiving unit, a second transmitting unit, a first obtaining unit, and an updating unit. The names of the units do not form a limitation on the units themselves in this case, for example, the first sending unit may also be described as a "unit sending an acquisition request of a virtual plant set corresponding to a target generation to the server in response to a user selecting the target generation". As another example, it can be described as: a processor includes a first receiving unit, a first querying unit, a second receiving unit, and a first sending unit. The names of these units do not form a limitation to the unit itself in this case, for example, the first receiving unit may also be described as a "unit that receives an acquisition request of a set of virtual plants corresponding to a target era selected by a user, sent by a user device".
As another aspect, the present application also provides a computer-readable medium, which may be contained in the computer device described in the above embodiments; or may exist separately and not be incorporated into the computer device. The computer readable medium carries one or more programs which, when executed by the computing device, cause the computing device to: responding to a target generation selected by a user, and sending an acquisition request of a virtual plant set corresponding to the target generation to a server; receiving a virtual plant set corresponding to a target generation sent by a server; responding to a target virtual plant selected by a user from the virtual plant set, and sending a planting task request of the target virtual plant to a server; acquiring a planting task of a target virtual plant, and determining growth state information of the target virtual plant corresponding to the planting task; and updating the growth state information of the target virtual plant based on the at least one event information corresponding to the target era. Or cause the computer device to: receiving an acquisition request of a virtual plant set corresponding to a target era selected by a user, which is sent by user equipment; inquiring a virtual plant set corresponding to the target dynasty and sending the virtual plant set to user equipment; receiving a planting task request of a target virtual plant selected from a virtual plant set by a user, which is sent by user equipment; and sending the planting task of the target virtual plant, the corresponding growth state information and at least one event information corresponding to the target era to user equipment. The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention herein disclosed is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the invention. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (18)

1. A virtual plant growing method is applied to user equipment and comprises the following steps:
responding to a target generation selected by a user, and sending an acquisition request of a virtual plant set corresponding to the target generation to a server;
receiving a virtual plant set corresponding to the target generation sent by the server;
responding to a target virtual plant selected by the user from the virtual plant set, and sending a planting task request of the target virtual plant to the server;
acquiring a planting task of the target virtual plant, and determining growth state information of the target virtual plant corresponding to the planting task;
and updating the growth state information of the target virtual plant based on at least one event information corresponding to the target era.
2. The method of claim 1, wherein the method further comprises:
receiving at least one event message and a corresponding influence energy value corresponding to the target generation sent by the server; and
the updating the growth state information of the target virtual plant based on the at least one event information corresponding to the target era comprises:
presenting the at least one event information in a user device;
and updating the growth state information of the target virtual plant based on the influence energy value corresponding to the at least one event information.
3. The method of claim 2, wherein the method further comprises:
and acquiring at least one piece of event information corresponding to the target generation, wherein the at least one piece of event information corresponding to the target generation is determined according to the historical event information of the target generation, each piece of event information comprises time tag information, and the time tag information of the event information is determined based on the time information of the corresponding historical event information.
4. The method of claim 3, wherein said presenting the at least one event information in a user device comprises:
presenting the at least one piece of event information in the user equipment, wherein the at least one piece of event information is presented in sequence according to the sequence of the time tag information contained in the at least one piece of event information; and
the updating the growth state information of the target virtual plant based on the influence energy value corresponding to the at least one event information comprises:
and sequentially updating the growth state information of the target virtual plant according to the influence energy values corresponding to the at least one event information which are sequentially presented.
5. The method of claim 4, wherein the method further comprises:
responding to target event information selected by the user from the at least one event information, and sending a detail acquisition request of the target event information to the server;
and receiving the detail information of the target event information sent by the server, and displaying the detail information of the target event information.
6. The method according to any one of claims 1-5, wherein prior to said obtaining a planting task for said target virtual plant, further comprising:
and sending the resources matched with the value of the planting task in the resource account of the user to the server.
7. The method of claim 6, wherein the method further comprises:
responding to the target virtual plant reaching a preset growth state, and sending a harvesting task request of the target virtual plant to the server;
acquiring a harvesting task of the target virtual plant, and determining the value of the harvesting task;
responding to the exchange of the user based on the harvesting task, and sending an exchange request of the harvesting task to the server;
receiving resources which are sent by the server and matched with the value of the harvesting task;
adding resources in the user's resource account that match the value of the harvest task.
8. The method of claim 7, wherein the method further comprises:
responding to the exchange of the target virtual article selected by the user, and sending an exchange request of the target virtual article to the server;
sending the resources matched with the value of the target virtual article in the resource account of the user to the server;
and acquiring the target virtual article from the server.
9. A virtual plant planting method is applied to a server and comprises the following steps:
receiving an acquisition request of a virtual plant set corresponding to a target era selected by a user, which is sent by user equipment;
querying a virtual plant set corresponding to the target dynasty and sending the virtual plant set to the user equipment;
receiving a planting task request of a target virtual plant selected from the virtual plant set by the user, wherein the planting task request is sent by the user equipment;
and sending the planting task of the target virtual plant, the corresponding growth state information and at least one event information corresponding to the target era to the user equipment.
10. The method of claim 9, wherein the method further comprises:
and inquiring at least one piece of event information corresponding to the target era and the corresponding influence energy value, and sending the event information and the corresponding influence energy value to the user equipment.
11. The method of claim 10, wherein said querying at least one event information and corresponding impact energy value corresponding to the target era comprises:
inquiring the historical event information of the target dynasty and the corresponding influence energy value;
and determining at least one piece of event information corresponding to the target era according to the historical event information, and sending the at least one piece of event information and the corresponding influence energy value to the user equipment, wherein each piece of event information comprises time tag information, and the time tag information of the event information is determined based on the time information corresponding to the historical event information.
12. The method of claim 11, wherein the method further comprises:
receiving a detail obtaining request of target event information selected by the user from the at least one event information, wherein the request is sent by the user equipment;
and sending the detail information of the target event information to the user equipment.
13. The method according to one of claims 9 to 12, wherein prior to said transmitting the planting task of the target virtual plant, the corresponding growth status information and the corresponding at least one event information of the target era to the user device, further comprising:
and receiving the resource which is sent by the user equipment and matched with the value of the planting task.
14. The method of claim 13, wherein the method further comprises:
receiving a harvest task request of the target virtual plant sent by the user equipment;
sending a harvest task of the target virtual plant to the user equipment;
receiving an exchange request which is sent by the user equipment and is based on the harvesting task by the user;
and sending the resource matched with the harvesting task to the user equipment.
15. The method of claim 14, wherein the method further comprises:
receiving an exchange request of a target virtual article selected by the user and a resource matched with the value of the target virtual article, wherein the exchange request is sent by the user equipment;
and sending the target virtual article to the user equipment.
16. The method of claim 9, wherein the method further comprises:
and determining at least one piece of event information corresponding to the target generation according to the historical event information of the target generation, wherein each piece of event information comprises time tag information, and the time tag information of the event information is determined based on the time information of the corresponding historical event information.
17. A computer device, comprising:
one or more processors;
a storage device on which one or more programs are stored;
when executed by one or more processors, cause the one or more processors to implement a method as in any one of claims 1-8 or to implement a method as in any one of claims 9-16.
18. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method of any one of claims 1 to 8 or carries out the method of any one of claims 9 to 16.
CN202011635591.1A 2020-12-31 2020-12-31 Virtual plant growing method and apparatus Active CN112698726B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011635591.1A CN112698726B (en) 2020-12-31 2020-12-31 Virtual plant growing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011635591.1A CN112698726B (en) 2020-12-31 2020-12-31 Virtual plant growing method and apparatus

Publications (2)

Publication Number Publication Date
CN112698726A true CN112698726A (en) 2021-04-23
CN112698726B CN112698726B (en) 2022-09-06

Family

ID=75513796

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011635591.1A Active CN112698726B (en) 2020-12-31 2020-12-31 Virtual plant growing method and apparatus

Country Status (1)

Country Link
CN (1) CN112698726B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113572772A (en) * 2021-07-26 2021-10-29 北京沃东天骏信息技术有限公司 Method, device and system for processing information

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106210676A (en) * 2016-09-30 2016-12-07 深圳前海弘稼科技有限公司 Plant monitoring method and device based on planting equipment
CN107578312A (en) * 2017-08-31 2018-01-12 深圳前海弘稼科技有限公司 Virtual implantation methods, virtual implant system
CN109597451A (en) * 2017-09-30 2019-04-09 深圳春沐源控股有限公司 Vegetable cultivation interactive approach
CN111080389A (en) * 2019-11-05 2020-04-28 郝铭伟 Virtual farm and real life combined internet platform
US20200398167A1 (en) * 2018-08-30 2020-12-24 Tencent Technology (Shenzhen) Company Limited Information display method and apparatus for virtual pet, terminal, server, storage medium, and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106210676A (en) * 2016-09-30 2016-12-07 深圳前海弘稼科技有限公司 Plant monitoring method and device based on planting equipment
CN107578312A (en) * 2017-08-31 2018-01-12 深圳前海弘稼科技有限公司 Virtual implantation methods, virtual implant system
CN109597451A (en) * 2017-09-30 2019-04-09 深圳春沐源控股有限公司 Vegetable cultivation interactive approach
US20200398167A1 (en) * 2018-08-30 2020-12-24 Tencent Technology (Shenzhen) Company Limited Information display method and apparatus for virtual pet, terminal, server, storage medium, and system
CN111080389A (en) * 2019-11-05 2020-04-28 郝铭伟 Virtual farm and real life combined internet platform

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113572772A (en) * 2021-07-26 2021-10-29 北京沃东天骏信息技术有限公司 Method, device and system for processing information

Also Published As

Publication number Publication date
CN112698726B (en) 2022-09-06

Similar Documents

Publication Publication Date Title
CN112559007B (en) Parameter updating method and device of multitask model and electronic equipment
US20210201251A1 (en) Information output method and apparatus
CN111324786B (en) Method and device for processing consultation problem information
CN111177541B (en) Data analysis method and device based on user tag generation time
WO2023134189A1 (en) Restocking information generation method and apparatus, electronic device, and computer readable medium
CN114816393A (en) Information generation method, device, equipment and storage medium
WO2023040612A1 (en) Order processing method and apparatus
CN109754199B (en) Information output method and device
CN113760488A (en) Method, device, equipment and computer readable medium for scheduling task
CN112698726B (en) Virtual plant growing method and apparatus
CN115082247A (en) System production method, device, equipment, medium and product based on label library
CN109885564B (en) Method and apparatus for transmitting information
CN114428907A (en) Information searching method and device, electronic equipment and storage medium
CN111552715B (en) User query method and device
CN111125503A (en) Method and apparatus for generating information
US11789959B2 (en) Data visualization method
CN111555894A (en) Data processing method, device, equipment and storage medium
CN111324470A (en) Method and device for generating information
CA3240851A1 (en) Mapping entities to accounts for de-anonymization of online activity
CN111626802A (en) Method and apparatus for processing information
US20230053859A1 (en) Method and apparatus for outputting information
CN114429273A (en) Method, device, equipment and computer readable medium for generating warehouse storage position adjustment task information
CN111784376B (en) Method and device for processing information
CN113112202A (en) Item information sending method, item information sending device, electronic equipment and computer readable medium
CN109978644B (en) Information processing method, device and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant