Method, device and system for processing information

文档序号:172561 发布日期:2021-10-29 浏览:16次 中文

阅读说明:本技术 一种处理信息的方法、装置和系统 (Method, device and system for processing information ) 是由 孙婷婷 于 2021-07-26 设计创作,主要内容包括:本发明公开了一种处理信息的方法、装置和系统,涉及计算机技术领域。该方法的一具体实施方式包括:通过服务端提供关联于实体农场的虚拟农场给第一客户端,并接收第一客户端针对虚拟农场的操作信息,将操作信息发送给对应的第二客户端,以使第二客户端的管理方基于操作信息处理实体农场;将处理结果发送给第一客户端以展示;通过结合实体农场和虚拟农场,使用户通过获得农场对象的不同变更阶段的当前状态从而收获乐趣,同时通过确定操作指令参与实体农场的农场对象的变更过程(例如动植物的生长过程),从而提升了用户体验。(The invention discloses a method, a device and a system for processing information, and relates to the technical field of computers. One embodiment of the method comprises: providing a virtual farm related to an entity farm to a first client through a server, receiving operation information of the first client aiming at the virtual farm, and sending the operation information to a corresponding second client so that a manager of the second client processes the entity farm based on the operation information; sending the processing result to a first client for displaying; by combining the physical farm and the virtual farm, the user can enjoy the current state of different change stages of the farm object, and meanwhile, the user experience is improved by determining the operation instructions to participate in the change process (such as the growth process of animals and plants) of the farm object of the physical farm.)

1. A method of processing information, comprising:

providing a virtual farm to a first client, wherein the virtual farm is associated with farm information of a physical farm;

receiving operation information of the first client aiming at the virtual farm, wherein the operation information indicates a user identifier and an operation instruction bound by the first client;

sending the operation instruction to a second client indicated by the farm information so as to enable a manager of the second client to process the entity farm based on the operation instruction;

and receiving a processing result of the entity farm sent by the second client, and sending the processing result to the first client corresponding to the user identification.

2. The method of claim 1, further comprising:

receiving a farm application request sent by the first client, and generating a user identifier and a virtual farm bound with the user identifier for the farm application request;

associating an entity farm with the virtual farm.

3. The method of claim 2, further comprising:

generating a virtual object according to the farm information of the entity farm, and binding the virtual object to the virtual farm so as to display the virtual farm and the virtual object through the first client.

4. The method of claim 2,

after the generating the user identifier for the farm application request, further comprising: providing farm information for a plurality of selectable entity farms to the first client;

the associating entity farm for the virtual farm includes:

receiving at least one entity farm selected by the first client from farm information of a plurality of selectable entity farms;

and establishing the association between the virtual farm and the selected at least one physical farm.

5. The method of claim 1, further comprising:

receiving prompt information sent by the second client aiming at the entity farm;

sending the prompt message to the first client;

and receiving an operation instruction aiming at the prompt message and sent by the first client, and executing the step of sending the operation instruction to a second client indicated by the farm information.

6. The method of claim 3,

the virtual farm includes a plurality of alteration stages of the virtual object, a current state, and an operation instruction corresponding to each alteration stage.

7. The method of claim 6, further comprising:

acquiring monitoring data of the entity farm;

and sending the monitoring data to the first client so that the first client displays the current state of the entity farm indicated by the monitoring data through a page.

8. A method of processing information, comprising:

receiving and displaying the virtual farm sent by the server;

receiving a trigger operation aiming at the virtual farm, generating corresponding operation information for the trigger operation, and sending the operation information to the server;

and receiving a processing result corresponding to the operation information and sent by the server, and displaying the processing result on a page.

9. The method of claim 8, further comprising:

sending a farm application request to a server;

receiving a user identification fed back by the server aiming at the farm application request and a virtual farm bound with the user identification;

displaying farm information of the virtual farm, wherein the virtual farm is associated with an entity farm.

10. The method of claim 8,

further comprising: determining a plurality of operable trigger components according to the current change stage and the current state of a virtual object contained in the virtual farm;

receiving a trigger operation for the virtual farm, comprising: receiving a trigger operation on any trigger component operable.

11. The method of claim 8,

receiving a processing result corresponding to the operation information sent by the server, further comprising:

determining the current change stage and the current state of the virtual objects contained in the virtual farm according to the processing result, and executing the step of determining a plurality of operable trigger components for the virtual farm.

12. The method of claim 8, wherein receiving a trigger operation for the virtual farm comprises:

displaying the received monitoring data of the entity farm;

a step of executing a trigger operation for the virtual farm upon receiving a trigger operation generated for the monitoring data.

13. A server, comprising: the system comprises a first interaction module, a processing module and a second interaction module; wherein the content of the first and second substances,

the first interaction module is used for providing a virtual farm to the first client, wherein the virtual farm is associated with farm information of an entity farm; receiving operation information of the first client aiming at the virtual farm, wherein the operation information indicates a user identifier and an operation instruction bound by the first client;

the processing module is configured to send the operation instruction to a second client indicated by the farm information, so that a manager of the second client processes the entity farm based on the operation instruction;

the second interaction module is configured to receive a processing result of the entity farm sent by the second client;

the first interaction module is further configured to send the processing result to the first client corresponding to the user identifier.

14. A client, comprising: a sending operation module and a display module; wherein the content of the first and second substances,

the sending module is used for receiving and displaying the virtual farm sent by the server; receiving a trigger operation aiming at the virtual farm, generating corresponding operation information for the trigger operation, and sending the operation information to the server;

the display module is used for receiving a processing result corresponding to the operation information and sent by the server side and displaying the processing result on a page.

15. A system for processing information, comprising: a first client, a server and a second client, wherein,

providing a virtual farm to the first client by using the server, wherein the virtual farm is associated with farm information of an entity farm;

the first client receives a trigger operation aiming at the virtual farm, generates corresponding operation information for the trigger operation, and sends the operation information to the server;

receiving, by the server, operation information of the first client for the virtual farm, where the operation information indicates a user identifier and an operation instruction bound to the first client;

sending the operation instruction to the second client indicated by the farm information through the server, so that a manager of the second client processes the entity farm based on the operation instruction; receiving a processing result of the entity farm sent by the second client, and sending the processing result to the first client corresponding to the user identifier;

and the first client receives a processing result which is sent by the server and corresponds to the operation information, and displays the processing result on a page.

16. An electronic device, comprising:

one or more processors;

a storage device for storing one or more programs,

when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-12.

17. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-12.

Technical Field

The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, and a system for processing information.

Background

At present, the game of the simulation operation type with the farm as the background in the game category is more and more concerned by people, and the game of the farm type enables people to experience the state of the virtual object in each change stage in the virtual world through the growth process of the simulation object and the interaction.

However, when people use farm games, sending instructions to the virtual objects is usually completed by clicking on a page, for example, the virtual objects are plants, and a user can send operation instructions such as seeding, watering, picking and the like to the virtual plants to realize various change stages of the plants; since the operation command sent by the user is directed to the virtual object, the change process of the real farm object in the real farm cannot be understood, and especially the user who has not engaged in farm work lacks intuitive knowledge of the farm object.

Disclosure of Invention

In view of this, embodiments of the present invention provide a method, an apparatus, and a system for processing information, which can combine a virtual farm with an entity farm, provide, through a server, the virtual farm associated with the entity farm to a first client, receive operation information of the first client for the virtual farm, and send the operation information to a corresponding second client, so that a manager of the second client processes the entity farm based on the operation information; sending the processing result to a first client for displaying; by combining the physical farm and the virtual farm, the user can enjoy the current state of different change stages of the farm object, and meanwhile, the user experience is improved by determining the operation instructions to participate in the change process (such as the growth process of animals and plants) of the farm object of the physical farm.

To achieve the above object, according to an aspect of the embodiments of the present invention, there is provided a method for processing information, applied to a server, including providing a virtual farm to a first client, where the virtual farm is associated with farm information of a physical farm; receiving operation information of the first client aiming at the virtual farm, wherein the operation information indicates a user identifier and an operation instruction bound by the first client; sending the operation instruction to a second client indicated by the farm information so as to enable a manager of the second client to process the entity farm based on the operation instruction; and receiving a processing result of the entity farm sent by the second client, and sending the processing result to the first client corresponding to the user identification.

Optionally, the method for processing information is further characterized by:

receiving a farm application request sent by the first client, and generating a user identifier and a virtual farm bound with the user identifier for the farm application request; associating an entity farm with the virtual farm.

Optionally, the method for processing information is further characterized by:

generating a virtual object according to the farm information of the entity farm, and binding the virtual object to the virtual farm so as to display the virtual farm and the virtual object through the first client.

Optionally, the method for processing information, after generating the user identifier for the farm application request, further includes: providing farm information for a plurality of selectable entity farms to the first client; the associating entity farm for the virtual farm includes: receiving at least one entity farm selected by the first client from farm information of a plurality of selectable entity farms; and establishing the association between the virtual farm and the selected at least one physical farm.

Optionally, the method for processing information is further characterized by:

receiving prompt information sent by the second client aiming at the entity farm; sending the prompt message to the first client; and receiving an operation instruction aiming at the prompt message and sent by the first client, and executing the step of sending the operation instruction to a second client indicated by the farm information.

Optionally, the method of processing information, characterized in that,

the virtual farm includes a plurality of alteration stages of the virtual object, a current state, and an operation instruction corresponding to each alteration stage.

Optionally, the method for processing information is further characterized by:

acquiring monitoring data of the entity farm; and sending the monitoring data to the first client so that the first client displays the current state of the entity farm indicated by the monitoring data through a page.

In order to achieve the above object, according to a second aspect of the embodiments of the present invention, there is provided a method for processing information, applied to a client, the method including: receiving and displaying the virtual farm sent by the server; receiving a trigger operation aiming at the virtual farm, generating corresponding operation information for the trigger operation, and sending the operation information to the server; and receiving a processing result corresponding to the operation information and sent by the server, and displaying the processing result on a page.

Optionally, the method for processing information is further characterized by:

sending a farm application request to a server; receiving a user identification fed back by the server aiming at the farm application request and a virtual farm bound with the user identification; displaying farm information of the virtual farm, wherein the virtual farm is associated with an entity farm.

Optionally, the method for processing information is further characterized by: determining a plurality of operable trigger components according to the current change stage and the current state of a virtual object contained in the virtual farm; receiving a trigger operation for the virtual farm, comprising: receiving a trigger operation on any trigger component operable.

Optionally, the method for processing information is characterized by receiving a processing result corresponding to the operation information sent by the server, and further comprising: determining the current change stage and the current state of the virtual objects contained in the virtual farm according to the processing result, and executing the step of determining a plurality of operable trigger components for the virtual farm.

Optionally, the method of processing information, wherein receiving a trigger action for the virtual farm comprises: displaying the received monitoring data of the entity farm; a step of executing a trigger operation for the virtual farm upon receiving a trigger operation generated for the monitoring data.

To achieve the above object, according to a third aspect of the embodiments of the present invention, there is provided a server, including: the system comprises a first interaction module, a processing module and a second interaction module; wherein the content of the first and second substances,

the first interaction module is used for providing a virtual farm to the first client, wherein the virtual farm is associated with farm information of an entity farm; receiving operation information of the first client aiming at the virtual farm, wherein the operation information indicates a user identifier and an operation instruction bound by the first client;

the processing module is configured to send the operation instruction to a second client indicated by the farm information, so that a manager of the second client processes the entity farm based on the operation instruction;

the second interaction module is configured to receive a processing result of the entity farm sent by the second client;

the first interaction module is further configured to send the processing result to the first client corresponding to the user identifier.

In order to achieve the above object, according to a fourth aspect of the embodiments of the present invention, there is provided a client, including: a sending operation module and a display module; wherein the content of the first and second substances,

the sending module is used for receiving and displaying the virtual farm sent by the server; receiving a trigger operation aiming at the virtual farm, generating corresponding operation information for the trigger operation, and sending the operation information to the server;

the display module is used for receiving a processing result corresponding to the operation information and sent by the server side and displaying the processing result on a page.

To achieve the above object, according to a fifth aspect of an embodiment of the present invention, there is provided a system for processing information, including: a first client, a server and a second client, wherein,

providing a virtual farm to the first client by using the server, wherein the virtual farm is associated with farm information of an entity farm;

the first client receives a trigger operation aiming at the virtual farm, generates corresponding operation information for the trigger operation, and sends the operation information to the server;

receiving, by the server, operation information of the first client for the virtual farm, where the operation information indicates a user identifier and an operation instruction bound to the first client;

sending the operation instruction to the second client indicated by the farm information through the server, so that a manager of the second client processes the entity farm based on the operation instruction; receiving a processing result of the entity farm sent by the second client, and sending the processing result to the first client corresponding to the user identifier;

and the first client receives a processing result which is sent by the server and corresponds to the operation information, and displays the processing result on a page.

To achieve the above object, according to a sixth aspect of an embodiment of the present invention, there is provided an electronic device that processes information, including: one or more processors; storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to carry out a method as claimed in any one of the above methods of processing information.

To achieve the above object, according to a seventh aspect of embodiments of the present invention, there is provided a computer-readable medium having a computer program stored thereon, characterized in that the program, when executed by a processor, implements the method as set forth in any one of the above methods of processing information.

One embodiment of the above invention has the following advantages or benefits: the virtual farm and the entity farm can be combined, the virtual farm related to the entity farm is provided to the first client through the server, the operation information of the first client aiming at the virtual farm is received, and the operation information is sent to the corresponding second client, so that the management party of the second client processes the entity farm based on the operation information; sending the processing result to a first client for displaying; by combining the physical farm and the virtual farm, the user can enjoy the current state of different change stages of the farm object, and meanwhile, the user experience is improved by determining the operation instructions to participate in the change process (such as the growth process of animals and plants) of the farm object of the physical farm.

Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.

Drawings

The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:

fig. 1 is a flowchart illustrating a method for a server to process information according to an embodiment of the present invention;

fig. 2 is a flowchart illustrating a method for processing information by a client according to an embodiment of the present invention;

FIG. 3 is a schematic diagram of an interaction flow for processing information according to an embodiment of the present invention;

fig. 4 is a schematic structural diagram of an apparatus of a server for processing information according to an embodiment of the present invention;

fig. 5 is a schematic structural diagram of an apparatus for processing an information client according to an embodiment of the present invention;

FIG. 6 is a block diagram of a system for processing information according to an embodiment of the present invention;

FIG. 7 is an exemplary system architecture diagram in which embodiments of the present invention may be employed;

fig. 8 is a schematic structural diagram of a computer system suitable for implementing a terminal device or a server according to an embodiment of the present invention.

Detailed Description

Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

As shown in fig. 1, an embodiment of the present invention provides a method for processing information, which is applied to a server, and the method may include the following steps:

step S101: providing a virtual farm to a first client, wherein the virtual farm is associated with farm information of a physical farm;

specifically, the server generates a virtual farm for the first client and provides the virtual farm to the first client, wherein the virtual farm is associated with farm information of the entity farm; the first client is a user belonging to a farm application (e.g., a farm game); further, the server generates a virtual farm according to a farm application request sent by the first client, wherein the virtual farm includes a user identifier (for example, a user number, a user nickname, etc.) bound to the first client; namely, a farm application request sent by the first client is received, and a user identifier and a virtual farm bound with the user identifier are generated for the farm application request; associating an entity farm with the virtual farm.

Wherein the farm information of the entity farm may include: farm identification (number, nickname, etc.), farm location, farm area, farm attributes, etc., where farm locations may be in different regions, for example: is positioned at any position of city A, province B and the like; farm area is set according to farm use; the farm attributes include information on farm usage, farm income, farm management, etc., and the farm usage may be: planting crops, feeding poultry and livestock, feeding aquatic products and the like; the present invention does not limit specific farm information (farm location, farm area, farm attributes). Preferably, a two-dimensional code may be created for the entity farm to indicate the farm information and the associated virtual farm information (e.g., user identification), and the two-dimensional code may be displayed (placed) on the entity farm, so that a manager of the entity farm obtains the user identification and the farm information by scanning the two-dimensional code, and executes an operation instruction corresponding to the user identification and sends a processing result (including prompt information) according to the user identification, the farm information, and the like.

Further, after the generating the user identifier for the farm application request, the method further includes: providing farm information for a plurality of selectable entity farms to the first client; the associating entity farm for the virtual farm includes: receiving at least one entity farm selected by the first client from farm information of a plurality of selectable entity farms; and establishing the association between the virtual farm and the selected at least one physical farm. Specifically, the server may obtain a plurality of selectable entity farms for the first client to select, for example, the entity farms include: a farm of 123abc of province a, a farm of 234bcd of province B, a farm of 345cde of city C, a farm of raising chickens and ducks and the like for planting flowers, the user can select one or more entity farms through the page of the first client, and after the user selects, the server establishes a virtual farm according to the received entity farm selected by the user so as to be related to the entity farm; each virtual farm contains data such as virtual objects, and the data can be HTML pages or a plurality of files to provide various data required by the virtual farm; preferably, different components may be constructed to display different image data according to farm information (e.g., farm attributes) of the physical farm when the virtual farm is established, so as to display the virtual object through the image data, for example: the wheat-growing associated virtual farm displays image data (still image, dynamic image, etc.) of a virtual wheat (being a virtual object), i.e. binds the virtual object to the virtual farm, to display the virtual farm and the virtual object through the first client; displaying image data of a virtual chicken and duck (which is a virtual object) on a virtual farm associated with feeding the chicken and duck; namely, establishing the association between the virtual farm and the selected at least one physical farm; the relevance of the virtual farm and the entity farm is improved, so that the user experience of the user is improved. That is, a virtual object is generated according to the farm information of the entity farm, and the virtual object is bound to the virtual farm so as to display the virtual farm and the virtual object through the first client.

Further, the virtual farm includes a plurality of modification stages of the virtual object, a current state, and an operation instruction corresponding to each modification stage. It is understood that the plants and animals planted on the farm are all corresponding to a plurality of modification stages, the virtual objects are animals and plants as an example, the modification stages correspond to different growth cycles of the animals and plants, and further comprise current states of the animals and plants, and instruction information (different modification stages may correspond to different operation instructions), and the virtual farm is described below as a plant comprising a plurality of modification stages, current states, and operation instructions corresponding to the modification stages of the virtual objects, for example: the various alteration stages of the plant include: preparation period, seeding period, seedling emergence period, seedling period, rooting period, maturation period, resting period, etc.; the operation instructions for the preparation period may include: selecting seeds, loosening the soil, fertilizing, starting planting and the like; the operation instructions for the seeding date may include: sowing, loosening the soil, fertilizing and weeding; the operational instructions for the stage of emergence may include: fertilizing, watering, weeding, disinsection and thinning; the operation instructions for the seedling stage may include: fertilizing, watering, weeding, disinsection and thinning; the operation instructions for the birth date may include: fertilizing, watering, weeding and deinsectizing; the operation instructions for the maturity period may include: fertilizing, watering, weeding, deinsectizing, picking and the like. For example, if the current state is a maturity period, the user can select an operation instruction according to operation information corresponding to the maturity period, and send the operation instruction to the server by using the first client; the plurality of change stages of the virtual object, the current state, and data corresponding to the operation instruction corresponding to each change stage may be stored in a database, a file, or the like of the server.

Step S102: receiving operation information of the first client aiming at the virtual farm, wherein the operation information indicates a user identifier and an operation instruction bound by the first client.

Specifically, a server receives operation information of a first client for the virtual farm, wherein the operation information indicates a user identifier and an operation instruction bound by the first client; the virtual farm includes a plurality of change stages of the virtual object, a current state, and operation instructions corresponding to the change stages, and a detailed description of the operation instruction sent from the first client is consistent with the description of step S101, which is not repeated herein.

Step S103: and sending the operation instruction to a second client indicated by the farm information so as to enable a manager of the second client to process the entity farm based on the operation instruction.

Specifically, the server sends the received operation instruction sent from the first client to the second client indicated by the farm information (for example, the farm manager included in the farm information), so that the manager to which the second client belongs processes the entity farm based on the operation instruction of the first client; for example: the physical farm is a farm for growing plants, the operation instruction sent by the first client is 'watering', and then the manager of the second client performs an operation of 'watering' on the physical farm for farm objects (plants) (i.e. processing the physical farm), wherein the identification of the second client is bound with the farm information; processing a physical farm includes various operations on physical objects (e.g., animals, plants, etc.) of the physical farm, as well as various operations on physical items (e.g., tools, buildings, etc.) of the physical farm itself in the physical farm.

Step S104: and receiving a processing result of the entity farm sent by the second client, and sending the processing result to the first client corresponding to the user identification.

Specifically, after processing the entity farm, the manager bound by the second client sends the processing result to the server, that is, receives the processing result of the entity farm sent by the second client. Wherein the processing result corresponds to an operation instruction of the first client user, for example: the entity farm is a plant-growing farm, if the operation instruction is 'watering', the management party executes 'watering' operation after receiving the operation instruction, and returns a character string corresponding to the 'watering completed' processing result; and if the operation instruction is seeding, the management side executes the seeding operation after receiving the operation instruction, and returns a processing result of a character string corresponding to seeding success. The invention does not limit the specific format and content of the processing result.

It can be understood that, since the user using the first client has a case where there is a production cycle of the physical object that is not familiar with the physical farm, that is, there is a case where an unreasonable operation instruction is issued because the reasonable order of the operation instructions is not clear, for example: the entity farm is a farm for planting plants, before seeding in the preparation period, the operation instruction sequence can be selected as 'loosening soil' and then 'fertilizing', and if the operation instruction sent by the user is that 'loosening soil' is preceded by 'fertilizing', the management party can return the processing result of 'please select loosening soil' through the second client.

Further, the management party can push prompt information to the server by using the second client according to the current state of the entity object in the entity farm, so that the server forwards the prompt information to the first client. And receiving an operation instruction aiming at the prompt message and sent by the first client, and executing the step of sending the operation instruction to the second client indicated by the farm information. For example: the entity farm is a farm for planting plants, after determining that the plants fail to emerge, the management party sends the fail to emerge as prompt information to the server to be sent to the first client through the server, after receiving the prompt information of whether to continue cultivation or not, a user bound by the first client can determine an operation instruction based on the prompt information, and if the user selects to continue cultivation, the user reenters the preparation period of the plants; if "abandon cultivation" is selected, the physical farm enters a period of rest. Another example is: the management party judges that the deinsectization operation needs to be executed according to experience and scenes, and then the deinsectization suggestion can be sent to the server as prompt information to be forwarded to the first client through the server, and a user corresponding to the first client can send a deinsectization operation instruction; another example is: the management party may send a prompt message of the change stage to the server, for example, after the plant emergence is set for a time (for example, 5 days), the management party sends a prompt message of "enter seedling stage" through the second client, and the server sends a corresponding prompt message to the first client, so that the first client displays the current change stage displayed on the page as "seedling stage" according to the received prompt message; further, receiving operation information corresponding to an operation instruction generated by the first client for the prompt information, and sending the operation information (operation instruction) to the corresponding second client to complete interaction; namely, receiving prompt information which is sent by the second client and aims at the entity farm; sending the prompt message to the first client; and receiving an operation instruction aiming at the prompt message and sent by the first client, and executing the step of sending the operation instruction to a second client indicated by the farm information. By receiving the prompt message of the second client, the real-time performance of the first client for acquiring the farm information of the entity farm is improved, the interactivity between the first client and the second client is improved, and the user experience is improved.

Further, the entity farm may be provided with a monitoring device to obtain real-time monitoring data of the entity farm, that is, obtain monitoring data of the entity farm; and sending the monitoring data to the first client so that the first client displays the current state of the entity farm indicated by the monitoring data through a page. The server side can send the monitoring data acquired at regular time to the first client side, and the user acquires the current state of the entity farm in real time through the monitoring data displayed by the first client side, so that the instantaneity of acquiring farm information of the entity farm is improved, and the user experience is improved.

As shown in fig. 2, an embodiment of the present invention provides a method for processing information, which is applied to a first client, and the method may include the following steps:

step S201: and receiving and displaying the virtual farm sent by the server.

Specifically, the description about the server generating the virtual farm and providing the virtual farm is the same as the description of step S101, and is not repeated here.

Further, before receiving and displaying the virtual farm sent by the server, sending a farm application request to the server, so that the server determines a user identifier and the virtual farm bound with the user identifier according to the farm application request; namely, sending a farm application request to a server; and receiving a user identification fed back by the server aiming at the farm application request and a virtual farm bound with the user identification. The virtual farm can be an HTML page or a plurality of files to show that the virtual farm contains a plurality of change stages of the virtual object, a current state, and operation instructions corresponding to the change stages. It can be understood that the first client may display a corresponding image according to the current change stage to which the virtual object belongs and the current state, and display an operation instruction corresponding to the current change stage.

Further, farm information of the virtual farm is displayed, wherein the virtual farm is associated with a physical farm. The first client provides a component for displaying the farm information of the plurality of selectable entity farms on a page according to the farm information of the plurality of selectable entity farms provided by the server, so that a user selects at least one entity farm from the farm information of the plurality of selectable entity farms through the page; and establishing the association between the virtual farm and the selected at least one physical farm. The description of the different types of physical farms and the description of the virtual farm display are the same as those in step S101, and are not repeated here.

Step S202: receiving a trigger operation aiming at the virtual farm, generating corresponding operation information for the trigger operation, and sending the operation information to the server.

Specifically, receiving a trigger operation for the virtual farm, that is, receiving a trigger operation of a user on a virtual farm page, generating corresponding operation information for the trigger operation, and sending the operation information to the server, for example: if the received trigger operation of the user is 'watering', corresponding operation information such as 'watering' is generated and sent to the server, and the method for sending the operation information can be through HTTP messages or messages of other protocols.

Further comprising: determining a plurality of operable trigger components according to the current change stage and the current state of a virtual object contained in the virtual farm and displaying the trigger components on a page; further, receiving a trigger operation for the virtual farm, comprising: receiving a trigger operation on any trigger component operable. For example, the trigger component may be a button component on a page, for example, a physical farm is a farm for growing plants, the current state displayed is "preparation period", the corresponding trigger component may include components such as "seed selection", "soil loosening", "fertilizing", "start planting", and the like, and in the case that the user enters the page for the first time to be "preparation period", the "seed selection" is determined as an operable trigger component; i.e. the current change phase, the current state of the virtual objects comprised by said virtual farm, determines a number of trigger components that are operable.

Step S203: and receiving a processing result corresponding to the operation information and sent by the server, and displaying the processing result on a page.

Specifically, a processing result corresponding to the operation information is received, where the processing result is sent to the server by the second client, the server forwards the processing result to the first client, and the first client displays the processing result on a page, for example: the operation instruction contained in the operation information is "seeding", the corresponding processing result can indicate "seeding completion", the first client can display "seeding completion" on the page, and the displaying method can be displaying a prompt text, setting a "seeding" button to be non-selectable (graying out), setting an image of a virtual object corresponding to the virtual farm to be an image corresponding to "seeding completion", and the like; the invention does not limit the form and content of the specific display processing result.

Further, receiving a processing result corresponding to the operation information sent by the server, further comprising: determining the current change stage and the current state of the virtual objects contained in the virtual farm according to the processing result, and executing the step of determining a plurality of operable trigger components for the virtual farm. Specifically, the first client receives the processing result, and determines the current change stage and the current state of the virtual object included in the virtual farm according to the processing result, for example: the physical farm is a farm for planting plants, for example, if the received processing result is "start planting", the current changing stage of the virtual object (for example, the plant) is judged to be "seeding time" according to the "start planting", if the current state is "seeding", the "seeding" can be set as an operable trigger component, and other trigger components are not operable; after receiving the processing result indicating "seeding success", other components "loosening soil, fertilizing, weeding" associated with "seeding date" are set as operable trigger components, that is, the step of determining operable trigger components for the virtual farm is performed.

Further, the first client may receive monitoring data sent by the server, or periodically obtain the monitoring data from the server, and display the monitoring data (e.g., monitoring video, monitoring image, etc.) on a page, so that a user obtains a current state of the entity farm in real time according to the monitoring data, and the user may perform a triggering operation generated for the monitoring data by using the first client according to the current state displayed by the monitoring data, for example: if the user obtains the conclusion of 'plant drought' through the monitoring data, the first client can be used for clicking a trigger component for indicating 'watering' to perform triggering operation of 'watering', the first client executes the step of receiving the triggering operation to generate operation information, and the operation information is sent to a management party to which the second client belongs through the server, so that the management party of the entity farm executes 'watering' operation (namely, the entity farm is processed). By monitoring the data, the interactivity of the first client, the server and the second client is improved, and the user experience of using the first client is improved.

As shown in fig. 3, an embodiment of the present invention provides an interactive method for processing information, which may include the following steps;

step S301: the first client sends a farm application request to the server.

Step S302: and the server generates a user identifier and a virtual farm bound with the user identifier for the farm application request.

Step S303: the first client receives a trigger operation aiming at the virtual farm, generates corresponding operation information for the trigger operation, and sends the operation information to the server.

Step S304: and the server receives the operation information of the first client aiming at the virtual farm and sends the operation instruction to a second client indicated by the farm information.

Step S305: and the second client sends the processing result of the entity farm to the server.

Step S306: and the server sends the processing result of the entity farm to the first client.

Step S307: and receiving a processing result corresponding to the operation information and sent by the server, and displaying the processing result on a page.

The description of the steps S301 to S302 is to receive a farm application request sent by the first client, and generate a user identifier and a virtual farm bound to the user identifier for the farm application request; associating an entity farm with the virtual farm.

Step S303 to step S307 are described as receiving operation information of the first client for the virtual farm, where the operation information indicates a user identifier and an operation instruction bound to the first client; sending the operation instruction to a second client indicated by the farm information so as to enable a manager of the second client to process the entity farm based on the operation instruction; and receiving a processing result of the entity farm sent by the second client, and sending the processing result to the first client corresponding to the user identification.

It is understood that the sequence of steps described in this embodiment is an example, wherein steps S303 to S307 may be cycled through various modification phases of the farm object (virtual object) for multiple times to process the entity farm through the interaction of the first client, the server, and the second client.

As shown in fig. 4, an embodiment of the present invention provides a server 400, including: a first interaction module 401, a processing module 402 and a second interaction module 403; wherein the content of the first and second substances,

the first interaction module 401 is configured to provide a virtual farm to a first client, where the virtual farm is associated with farm information of an entity farm; receiving operation information of the first client aiming at the virtual farm, wherein the operation information indicates a user identifier and an operation instruction bound by the first client;

the processing module 402 is configured to send the operation instruction to the second client indicated by the farm information, so that a manager of the second client processes the entity farm based on the operation instruction;

the second interaction module 403 is configured to receive a processing result of the entity farm sent by the second client;

the first interaction module 401 is further configured to send the processing result to the first client corresponding to the user identifier.

As shown in fig. 5, an embodiment of the present invention provides a client 500, including: a sending operation module 501 and a display module 502; wherein the content of the first and second substances,

the sending module 501 is configured to receive and display a virtual farm sent by a server; receiving a trigger operation aiming at the virtual farm, generating corresponding operation information for the trigger operation, and sending the operation information to the server;

the display module 502 is configured to receive a processing result corresponding to the operation information sent by the server, and display the processing result on a page.

As shown in fig. 6, an embodiment of the present invention provides a system 600 for processing information, including: comprising a first client 601, a server 602, and a second client 603, wherein,

providing a virtual farm to the first client 601 by using the server 602, wherein the virtual farm is associated with farm information of a physical farm;

the first client 601 receives a trigger operation for the virtual farm, generates corresponding operation information for the trigger operation, and sends the operation information to the server 602;

receiving, by the server 602, operation information of the first client 601 for the virtual farm, where the operation information indicates a user identifier and an operation instruction bound to the first client 601;

sending the operation instruction to the second client 603 indicated by the farm information through the server 602, so that a manager of the second client 603 processes the entity farm based on the operation instruction; receiving the processing result of the entity farm sent by the second client 603, and sending the processing result to the first client 601 corresponding to the user identifier;

the first client 601 receives the processing result corresponding to the operation information sent by the server, and displays the processing result on a page.

The first client can be one or more first clients; the second client may be one or more second clients.

An embodiment of the present invention further provides an electronic device for processing information, including: one or more processors; the storage device is used for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors are enabled to realize the method provided by any one of the above embodiments.

Embodiments of the present invention further provide a computer-readable medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method provided in any of the above embodiments.

Fig. 7 illustrates an exemplary system architecture 700 to which the method of processing information or the apparatus for processing information of embodiments of the present invention may be applied.

As shown in fig. 7, the system architecture 700 may include terminal devices 701, 702, 703, a network 704, and a server 705. The network 704 serves to provide a medium for communication links between the terminal devices 701, 702, 703 and the server 705. Network 704 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.

A user may use the terminal devices 701, 702, 703 to interact with a server 705 over a network 704, to receive or send messages or the like. Various client applications, such as an e-mall client application, a web browser application, a search-type application, an instant messaging tool, a mailbox client, and the like, may be installed on the terminal devices 701, 702, and 703.

The terminal devices 701, 702, 703 may be various electronic devices having display screens and supporting various client applications, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.

The server 705 may be a server providing various services, such as a background management server providing support for client applications used by users with the terminal devices 701, 702, 703. The background management server can process the received operation information and feed back the processing result to the terminal equipment.

It should be noted that the method for processing information applied to the client provided by the embodiment of the present invention is generally executed by the terminal devices 701, 702, and 703, the method for processing information applied to the server provided by the embodiment of the present invention is generally executed by the server 705, and accordingly, the client for processing information is generally disposed in the terminal devices 701, 702, and 703; the server side for processing information is typically located in the server 705.

It should be understood that the number of terminal devices, networks, and servers in fig. 7 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.

Referring now to FIG. 8, shown is a block diagram of a computer system 800 suitable for use with a terminal device implementing an embodiment of the present invention. The terminal 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 invention.

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 the embodiments 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 executes the above-described functions defined in the system of the present invention when executed by the Central Processing Unit (CPU) 801.

It should be noted that the computer readable medium shown in the present invention 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 invention, 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 the present invention, 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.

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 invention. 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 or flowchart illustration, and combinations of blocks in the block diagrams 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 modules and/or units described in the embodiments of the present invention may be implemented by software, and may also be implemented by hardware. The described modules and/or units may also be provided in a processor, and may be described as: a processor includes a first interaction module, a processing module, and a second interaction module. The names of these modules do not constitute a limitation to the module itself in some cases, for example, the second interactive module may also be described as a "module that receives the processing result of the entity farm sent by the second client".

As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise: the server provides a virtual farm to the first client, wherein the virtual farm is associated with farm information of an entity farm; receiving operation information of the first client aiming at the virtual farm, wherein the operation information indicates a user identifier and an operation instruction bound by the first client; sending the operation instruction to a second client indicated by the farm information so as to enable a manager of the second client to process the entity farm based on the operation instruction; and receiving a processing result of the entity farm sent by the second client, and sending the processing result to the first client corresponding to the user identification.

The client receives and displays the virtual farm sent by the server; receiving a trigger operation aiming at the virtual farm, generating corresponding operation information for the trigger operation, and sending the operation information to the server; and receiving a processing result corresponding to the operation information and sent by the server, and displaying the processing result on a page.

According to the embodiment of the invention, the virtual farm and the entity farm can be combined, the virtual farm related to the entity farm is provided to the first client through the server, the operation information of the first client aiming at the virtual farm is received, and the operation information is sent to the corresponding second client, so that the manager of the second client processes the entity farm based on the operation information; sending the processing result to a first client for displaying; by combining the physical farm and the virtual farm, the user can enjoy the current state of different change stages of the farm object, and meanwhile, the user experience is improved by determining the operation instructions to participate in the change process (such as the growth process of animals and plants) of the farm object of the physical farm.

The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

22页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种接入设备及终端接入控制方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类