A tracking method and device for plant growth care
By using mixed reality technology to simulate the virtual plant growth process on real plants, the problem of lack of long-term tracking in virtual plant care interactions is solved, and a more experiential combination of virtual and real plant growth care is achieved.
Patent Information
- Application Number
- CN202411200725.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-29
- Publication Date
- 2025-09-12
- Estimated Expiration
- 2044-08-29
AI Technical Summary
Existing virtual plant care interactions lack long-term tracking of real plant growth, resulting in insufficient user planting experience.
Using mixed reality (MR) technology, the real plants are identified and initialized with their corresponding virtual plant models. Detection results are generated based on user care instructions, planting operations are executed, and operation numbers are updated to achieve virtual-real plant growth care tracking.
It improves the user's planting experience and provides a more virtual-real combination presentation method through precise control and long-term tracking of plant growth process.
Smart Images

Figure CN119229062B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of virtual reality, and in particular relates to a tracking method and device for plant growth care. Background Art
[0002] With the development of recognition and positioning technologies and 3D technology, the types of objects that can be displayed through the combination of virtual and real are increasing, and the degree of integration between the virtual and real is also increasing. Simulating the growth process of plants and conducting long-term virtual care interactions can more intuitively display the details of plant growth and development. At the same time, long-term care is more similar to the actual planting process, which can enhance the realism of the experience. It has promising applications in gaming, agriculture, science and education, and other fields.
[0003] In current virtual plant care interactions, virtual plant models are mainly presented in a completely virtual way, without combining them with real plant growth, and lack long-term tracking of the care process.
[0004] To this end, there is an urgent need to provide a tracking method for plant growth care, so as to achieve long-term tracking of the plant growth care process, thereby improving the user's planting experience. Summary of the Invention
[0005] In response to the above-mentioned problems existing in the prior art, an embodiment of the present invention provides a tracking method and device for plant growth care; this method can realize plant growth care that combines virtual and real in an MR manner, can simulate the plant growth process on real plants, and track plant growth care over a long period of time, providing a presentation method with a more virtual and real effect, and realizing a long-term plant growth care experience.
[0006] According to a first aspect of an embodiment of the present invention, a tracking method for plant growth care is provided, which is applied to an MR device; the MR device establishes a communication connection with a server; the method includes: when a real plant is identified, displaying a current virtual plant corresponding to the real plant; based on the triggering of a user care instruction, detecting the planting interaction of the current virtual plant and generating a detection result; if the detection result indicates that the planting interaction of the current virtual plant meets a preset condition, executing the planting operation corresponding to the user care instruction to generate care data; and updating the current remaining number of operations.
[0007] Optionally, when a real plant is identified, a current virtual plant corresponding to the real plant is displayed; including: when a real plant corresponding to a virtual plant model is identified, an initialization instruction for the virtual plant model is generated; and the initialization instruction is sent to the server so that the server queries the current care data corresponding to the virtual plant model; in response to the initialization instruction, the virtual plant model is initialized based on the identified real plant and the current care data, and a current virtual plant corresponding to the real plant is generated; and the current virtual plant is visually displayed.
[0008] Optionally, in response to the initialization instruction, the virtual plant model is initialized based on the identified real plant and the current care data to generate a current virtual plant corresponding to the real plant; including: in response to the initialization instruction, obtaining the position information of the real plant and the current care data corresponding to the virtual plant model; initializing the position of the virtual plant model based on the position information of the real plant; initializing the current growth status of the virtual plant model based on the current care data; generating the current virtual plant corresponding to the real plant based on the position information and current growth status of the initialized virtual plant model.
[0009] Optionally, based on the triggering of the user care instruction, the planting interaction of the current virtual plant is detected to generate a detection result; including: based on the triggering of the user care instruction, obtaining the planting interaction mode of the current virtual plant and the current remaining operation number corresponding to the planting interaction mode; if the current remaining operation number does not reach the preset threshold, determining that the planting interaction of the current virtual plant meets the preset conditions; if the current remaining operation number reaches the preset threshold, determining that the planting interaction of the current virtual plant does not meet the preset conditions.
[0010] Optionally, before the planting interaction of the current virtual plant is detected and the detection result is generated based on the triggering of the user care instruction; it also includes: obtaining the last planting operation time before the current time from the database; determining the difference between the current time and the last planting operation time; if the difference is greater than a preset threshold, determining that the current virtual plant enters the next planting stage; and for any planting interaction mode in the next planting stage: updating the current remaining operation number based on the preset operation number corresponding to the planting interaction mode; wherein the planting stage includes at least one planting interaction mode.
[0011] Optionally, the method further includes: if the detection result indicates that the planting interaction of the current virtual plant does not meet a preset condition, sending a prompt message to the user.
[0012] Optionally, the method further includes: sending the care data to a server; wherein the care data includes at least: user ID, planting operation time, planting stage and stage care operation number, planting interaction mode and preset operation number corresponding to the planting interaction mode.
[0013] According to the second aspect of an embodiment of the present invention, a tracking method for plant growth care is also provided, which is applied to the server; the method includes: receiving care data sent by the MR device and storing the care data; receiving the initialization instruction, querying the current care data corresponding to the virtual plant model, and sending the current care data to the MR device.
[0014] According to the third aspect of an embodiment of the present invention, a tracking device for plant growth care is also provided, which is applied to an MR device; the MR device establishes a communication connection with a server; and includes: an identification and positioning module, which is used to display a current virtual plant corresponding to the real plant when a real plant is identified; a detection module, which is used to detect the planting interaction of the current virtual plant based on the triggering of a user care instruction; and generate a detection result; a growth control module, which is used to execute the planting operation corresponding to the user care instruction if the detection result indicates that the planting interaction of the current virtual plant meets a preset condition, generate care data; and update the preset operation number.
[0015] According to a fourth aspect of an embodiment of the present invention, a tracking system for plant growth care is also provided, including: an MR device and a server; the MR device establishes a communication connection with the server; when the MR device recognizes a real plant, it displays a current virtual plant corresponding to the real plant; based on the triggering of a user care instruction, the MR device detects the planting interaction of the current virtual plant and generates a detection result; if the detection result indicates that the planting interaction of the current virtual plant meets a preset condition, the MR device executes the planting operation corresponding to the user care instruction and generates care data; and updates the preset operation number; the MR device sends the care data to the server; the server receives the care data sent by the MR device and stores the care data.
[0016] According to a fifth aspect of an embodiment of the present invention, there is further provided a computer-readable medium having a computer program stored thereon, wherein when the program is executed by a processor, the method according to the first aspect or the method according to the second aspect is implemented.
[0017] The present invention provides a tracking method for plant growth and care, which is applied to an MR device; the MR device establishes a communication connection with a server; a specific implementation of the method includes: first, when a real plant is identified, the current virtual plant corresponding to the real plant is displayed; second, based on the triggering of a user care instruction, the planting interaction of the current virtual plant is detected to generate a detection result; thereafter, if the detection result indicates that the planting interaction of the current virtual plant meets a preset condition, the planting operation corresponding to the user care instruction is executed to generate care data; and the preset operation number is updated. This embodiment implements virtual-real combined plant growth and care in an MR manner, can simulate and present the plant growth process on a real plant, and track the plant care process over a long period of time; thereby, it can provide a presentation method with a more virtual-real combined effect, achieve a long-term experience of the entire plant growth and care process, and thus improve user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Hereinafter, some specific embodiments of the present invention will be described in detail in an exemplary and non-limiting manner with reference to the accompanying drawings. The same reference numerals in the accompanying drawings indicate the same or similar components or parts. It should be understood by those skilled in the art that these drawings are not necessarily drawn to scale. In the accompanying drawings:
[0019] Figure 1 A schematic flow chart of a method for tracking plant growth and care provided by an embodiment of the present invention;
[0020] Figure 2 A schematic flow chart of a method for tracking plant growth and care provided in another embodiment of the present invention;
[0021] Figure 3 A schematic diagram of the structure of a tracking system for plant growth care provided by one embodiment of the present invention;
[0022] Figure 4 A schematic structural diagram of a tracking device for plant growth care provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0023] In order to make the purposes, features, and advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts shall fall within the scope of protection of the present invention.
[0024] like Figure 1 FIG. 1 is a flow chart of a method for tracking plant growth and care provided by an embodiment of the present invention.
[0025] A tracking method for plant growth care is applied to an MR device; the MR device establishes a communication connection with a server; and the method includes at least the following steps:
[0026] S101, when a real plant is identified, displaying a current virtual plant corresponding to the real plant;
[0027] S102, based on the triggering of the user care instruction, detecting the planting interaction of the current virtual plant and generating a detection result;
[0028] S103: If the detection result indicates that the planting interaction of the current virtual plant meets a preset condition, a planting operation corresponding to the user care instruction is executed to generate care data; and the current number of remaining operations is updated.
[0029] In S101, exemplarily, when a real plant corresponding to a virtual plant model is identified, an initialization instruction for the virtual plant model is generated; and the initialization instruction is sent to the server so that the server queries the current care data corresponding to the virtual plant model; in response to the initialization instruction, the virtual plant model is initialized based on the identified real plant and the current care data, and a current virtual plant corresponding to the real plant is generated; and the current virtual plant is visually displayed.
[0030] More specifically, in response to the initialization instruction, the virtual plant model is initialized based on the identified real plant and the current care data to generate a current virtual plant corresponding to the real plant; including: in response to the initialization instruction, obtaining the position information of the real plant and the current care data corresponding to the virtual plant model; initializing the position of the virtual plant model based on the position information of the real plant; initializing the current growth state of the virtual plant model based on the current care data; generating the current virtual plant corresponding to the real plant based on the position information and current growth state of the initialized virtual plant model.
[0031] In S102 and S103, based on the triggering of the user care instruction, the planting interaction mode of the current virtual plant and the current remaining operation number corresponding to the planting interaction mode are obtained; if the current remaining operation number does not reach the preset threshold, it is determined that the planting interaction of the current virtual plant meets the preset conditions; if the current remaining operation number reaches the preset threshold, it is determined that the planting interaction of the current virtual plant does not meet the preset conditions.
[0032] After identifying real plants, this embodiment presents the process of plant growth in a combination of real and virtual ways, which not only realizes the planting interaction process of combining real and virtual and improves the visual presentation effect; but also can improve the accuracy and efficiency of plant growth control through planting interaction, thereby improving the user experience.
[0033] In a preferred implementation of this embodiment, before the planting interaction of the current virtual plant is detected based on the triggering of the user care instruction and the generation of the detection result; the method also includes: obtaining the last planting operation time before the current time from the database; determining the difference between the current time and the last planting operation time; if the difference is greater than a preset threshold, determining that the current virtual plant enters the next planting stage; and for any planting interaction mode in the next planting stage: updating the current remaining operation number based on the preset operation number corresponding to the planting interaction mode; wherein the planting stage includes at least one planting interaction mode.
[0034] This embodiment can accurately update the preset operation numbers corresponding to each planting interaction mode in the planting stage by determining the planting stage of the current virtual plant before the planting interaction; thereby, it is beneficial to accurately control the growth of the plant during the planting interaction process and improve the user experience.
[0035] In a preferred implementation of this embodiment, the care data is sent to a server; wherein the care data at least includes: user ID, planting operation time, planting stage, planting interaction mode and a preset operation number corresponding to the planting interaction mode.
[0036] Specifically, the user ID is used to uniquely identify the user to whom each plant belongs; the planting operation time is used to indicate the last time that the planting operation was performed on the virtual plant before the current time; the planting stage is used to indicate the current growth status of the plant; the planting interaction mode is used to indicate various care activities, such as watering, fertilizing, or pruning; the total number of preset operable planting interaction modes is used to indicate the total number of planting interaction modes required to complete a growth stage of the virtual plant.
[0037] The server can effectively differentiate care data based on user ID, improving the accuracy and security of data transmission. The MR device can effectively determine the current planting stage of the virtual plant based on the planting operation time, thereby facilitating the updating of preset operation numbers corresponding to each planting interaction method and improving the accuracy of planting interaction control. By determining the planting interaction method, the MR device can execute the planting operation corresponding to the user's care instructions.
[0038] In this embodiment, the MR device sends the generated care data to the server, which can solve the problem in the existing technology that the MR device cannot store a large amount of data and the storage of data leads to a reduction in operating speed, thereby providing a guarantee for long-term tracking of planting interactions and improving the user's long-term plant growth care experience.
[0039] like Figure 2 FIG. 1 is a flow chart of a method for tracking plant growth and care provided by another embodiment of the present invention.
[0040] A method for tracking plant growth and care, applied to a server, includes at least the following steps:
[0041] S201, receiving care data sent by an MR device and storing the care data;
[0042] S202: Receive the initialization instruction, query current care data corresponding to the virtual plant model, and send the current care data to the MR device.
[0043] Specifically, the server-side storage module of this embodiment is responsible for collecting and storing the aforementioned care data, ensuring its integrity and traceability. Before each planting interaction, the server establishes a communication connection with the MR device. Through the server-side data transmission module, the care data is securely and efficiently transmitted to the MR device's growth control module. During the care process, the growth control module modifies the current remaining operation count based on the planting operation. After the planting interaction is completed, the care data is transmitted back, and the updated care data is sent back to the storage module via the transmission module for storage.
[0044] like Figure 3 FIG. 1 is a schematic diagram of the structure of a tracking system for plant growth care provided by an embodiment of the present invention.
[0045] A tracking system for plant growth care includes at least the following steps: an MR device and a server; the MR device establishes a communication connection with the server;
[0046] S301, when the MR device recognizes a real plant, it displays a current virtual plant corresponding to the real plant;
[0047] S302, the MR device detects the planting interaction of the current virtual plant based on the triggering of the user care instruction and generates a detection result;
[0048] S303, if the detection result indicates that the planting interaction of the current virtual plant meets the preset condition, the MR device performs the planting operation corresponding to the user care instruction, generates care data, and updates the preset operation number;
[0049] S304, the MR device sends the care data to the server;
[0050] S305: The server receives the care data sent by the MR device and stores the care data.
[0051] It should be understood that in various embodiments of the present invention, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0052] The following describes in detail a tracking method for plant growth care provided by this embodiment in conjunction with specific application scenarios.
[0053] A tracking method for plant growth care includes: an MR device and a server; the MR device and the server establish a communication connection; the method is applied to the MR device and includes at least the following steps:
[0054] S1, when a real plant corresponding to a virtual plant model is identified, generating an initialization instruction for the virtual plant model; and sending the initialization instruction to the server, so that the server queries current care data corresponding to the virtual plant model;
[0055] S2, in response to the initialization instruction, obtaining the position information of the real plant and the current care data corresponding to the virtual plant model;
[0056] S3, initializing the position of the virtual plant model based on the position information of the real plant;
[0057] S4, initializing the current growth state of the virtual plant model based on the current care data;
[0058] S5, generating a current virtual plant corresponding to the real plant based on the position information and current growth status of the initialized virtual plant model;
[0059] S6, visually displaying the current virtual plant;
[0060] S7, obtaining the last planting operation time before the current time from the database;
[0061] S8, determining the difference between the current time and the time of the last planting operation; if the difference is greater than a preset threshold, executing step S9; if the difference is not greater than the preset threshold, executing step S10;
[0062] S9, obtaining the last planting operation time before the current time from a database; determining the difference between the current time and the last planting operation time; if the difference is greater than a preset threshold, determining that the current virtual plant enters a next planting stage; and for any planting interaction mode in the next planting stage: updating the current remaining operation number based on the preset operation number corresponding to the planting interaction mode; wherein the planting stage includes at least one planting interaction mode;
[0063] S10, based on the triggering of the user care instruction, obtaining the planting interaction mode of the current virtual plant and the current remaining number of operations corresponding to the planting interaction mode;
[0064] S11, if the current number of remaining operations does not reach the preset threshold, execute step S12; if the current number of remaining operations reaches the preset threshold, execute step S13;
[0065] S12, determining whether the planting interaction of the current virtual plant meets a preset condition, and executing a planting operation corresponding to the user care instruction to generate care data; and updating the preset operand;
[0066] S13, determining that the planting interaction of the current virtual plant does not meet a preset condition, and sending a prompt message to the user indicating that the planting interaction mode has reached an upper limit of operations;
[0067] S14, sending the care data to the server; wherein the care data at least includes: user ID, planting operation time, planting stage, planting interaction mode and preset operation number corresponding to the planting interaction mode.
[0068] Specifically:
[0069] (1) Positioning by combining virtuality and reality
[0070] The recognition and positioning module mainly realizes the display of a model that combines virtual and real by identifying and positioning real plants. The recognition and positioning module first needs to model and import the three-dimensional plant model that needs to be identified in advance through three-dimensional scanning and other methods. The required virtual plant model is placed at the growth point corresponding to the imported three-dimensional plant model, and the surrounding objects are identified through the visual acquisition function of the MR device. When an object with the same shape and texture as the imported three-dimensional object is identified, the virtual plant model is displayed at the corresponding position of the object; in addition, the position data will be continuously calibrated and adjusted in real time to update the growth position of the virtual plant model to ensure the consistency of the virtual plant model and the real plant display.
[0071] (2) Data transmission and storage
[0072] The storage module is responsible for collecting and storing this care data, ensuring its integrity and traceability. Before each care session, the storage module establishes a connection with the growth control module. Through the transmission module, the care data is securely and efficiently transmitted to the plant growth control module. During the care process, the growth control module modifies the data based on the user's actions. After the planting interaction is complete, the care data is transmitted back to the storage module via the transmission module for storage.
[0073] (3) Long-term interactive control of plant growth
[0074] The growth control module is primarily responsible for interactive planting feedback and long-term interactive plant care control. Upon receiving care data, the growth control module initializes the plant's current growth status based on the care data, including but not limited to growth stage and health status. The growth animation is scaled to a certain ratio of the plant's normal growth cycle and then played. After interactive care, the plant's growth animation accelerates to a certain degree. Each planting operation decreases the corresponding current remaining. Each planting stage has a preset number of operations. When the current remaining operation reaches zero, further care is discontinued until the next growth stage, when the current remaining operation is updated. Furthermore, the current remaining operation for each planting interaction method across all planting stages is limited. Each operation decreases until it reaches zero, at which point the current remaining operation is no longer updated. After the planting interaction ends, the care data is updated based on the interactions performed during the interaction. The growth control module outputs the updated care data, which is then transferred to the storage module for storage.
[0075] Through the mutual cooperation of several modules, the system realizes the complete process from data collection, storage, transmission to plant status initialization, care execution, status update, and real-time monitoring and calibration of plant position, ensuring the accuracy and efficiency of plant growth control.
[0076] The tracking system structure is mainly divided into an identification and positioning module, a detection module, a growth control module, a storage module, and a transmission module. The identification and positioning module recognizes the position of real plants and determines the growth position of virtual plant parts. The detection module detects planting interactions. The growth control module controls plant growth animation, initializes the growth status of virtual plants based on care data, and provides feedback on planting interactions. The storage and transmission modules store long-term care data and control data transmission between the MR device and the server.
[0077] This method uses MR to achieve a combination of virtual and real plant growth and care. It can simulate the growth process of virtual plants on real plants and track the care process over a long period of time. This provides a more virtual and real presentation method and realizes a long-term plant growth and care experience.
[0078] like Figure 4 , which is a schematic structural diagram of a tracking device for plant growth care provided by an embodiment of the present invention.
[0079] A tracking device for plant growth and care, the device 400 being applied to an MR device; the MR device establishing a communication connection with a server; comprising: an identification and positioning module 401 for displaying a current virtual plant corresponding to a real plant when a real plant is identified; a detection module 402 for detecting planting interactions of the current virtual plant based on triggering of a user care instruction and generating a detection result; a growth control module 403 for executing a planting operation corresponding to the user care instruction, generating care data, and updating the current number of remaining operations if the detection result indicates that the planting interaction of the current virtual plant meets a preset condition;
[0080] In a preferred implementation of this embodiment, the identification and positioning module includes: a first generation unit, which is used to generate an initialization instruction for the virtual plant model when a real plant corresponding to the virtual plant model is identified; and send the initialization instruction to the server so that the server can query the current care data corresponding to the virtual plant model; a second generation unit, which is used to respond to the initialization instruction, initialize the virtual plant model based on the identified real plant and the current care data, and generate a current virtual plant corresponding to the real plant; and a display unit, which is used to visually display the current virtual plant.
[0081] In a preferred implementation of this embodiment, the second generation unit includes: an acquisition subunit, used to obtain the position information of the real plant and the current care data corresponding to the virtual plant model in response to the initialization instruction; a position initialization subunit, used to initialize the position of the virtual plant model based on the position information of the real plant; a state initialization subunit, used to initialize the current growth state of the virtual plant model based on the current care data; a generation subunit, used to generate a current virtual plant corresponding to the real plant based on the position information and current growth state of the initialized virtual plant model.
[0082] In a preferred implementation of this embodiment, the detection module includes: an acquisition unit, which is used to acquire the planting interaction mode of the current virtual plant and the current remaining operation number corresponding to the planting interaction mode based on the triggering of the user care instruction; a first determination unit, which is used to determine that the planting interaction of the current virtual plant meets the preset conditions if the current remaining operation number does not reach the preset threshold; and a second determination unit, which is used to determine that the planting interaction of the current virtual plant does not meet the preset conditions if the current remaining operation number reaches the preset threshold.
[0083] In a preferred implementation of this embodiment, the device also includes: an acquisition module for acquiring the last planting operation time before the current time from a database; a first determination module for determining the difference between the current time and the last planting operation time; a second determination module for determining that the current virtual plant enters the next planting stage if the difference is greater than a preset threshold; and for any planting interaction mode in the next planting stage: updating the current remaining operation number based on the preset operation number corresponding to the planting interaction mode; wherein the planting stage includes at least one planting interaction mode.
[0084] In a preferred implementation manner of this embodiment, the second determination module includes: a first determination unit, which is used to determine the preset operation number corresponding to the planting interaction mode in the next planting stage as the current remaining operation number corresponding to the planting interaction mode if the current remaining operation number of the planting interaction mode in the previous planting stage adjacent to the next planting stage is zero; a second determination unit, which is used to determine the preset operation number corresponding to the planting interaction mode in the next planting stage and the current remaining operation number corresponding to the planting interaction mode in the previous planting stage as the current remaining operation number corresponding to the planting interaction mode in the next stage if the current remaining operation number of the planting interaction mode in the previous planting stage adjacent to the next planting stage is not zero.
[0085] The device further includes: a delivery module for sending the care data to a server; wherein the care data includes at least: a user ID, a planting operation time, a planting stage, a planting interaction mode, and a preset operation number corresponding to the planting interaction mode.
[0086] A tracking device for plant growth care, which is applied to a server, comprises: a storage module for receiving care data sent by an MR device and storing the care data; a transmission module for receiving the initialization instruction, querying the current care data corresponding to the virtual plant model, and sending the current care data to the MR device.
[0087] The above-described device can implement a method for tracking plant growth and care provided in one embodiment of the present invention, and possesses the functional modules and beneficial effects corresponding to executing the method. For technical details not fully described in this embodiment, please refer to the "Method for Tracking Plant Growth and Care Provided in One Embodiment of the Present Invention."
[0088] The present invention also provides an electronic device, comprising: a processor; a memory for storing executable instructions of the processor; the processor is configured to read the executable instructions from the memory and execute the instructions to implement a tracking method for plant growth care described in the present invention.
[0089] In addition to the above-mentioned methods and devices, an embodiment of the present application may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the method according to various embodiments of the present application described in the above-mentioned "Exemplary Method" section of this specification.
[0090] The computer program product may be written in any combination of one or more programming languages to implement the program code for performing the operations of the embodiments of the present application, including object-oriented programming languages such as Java, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computing device, partially on the user's computing device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0091] In addition, an embodiment of the present application may also be a computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, enable the processor to execute the steps of the method according to the following embodiments of the present application described in the above "Exemplary Method" section of this specification.
[0092] The computer-readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can, for example, include but is not limited to a system, device or component of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.
[0093] The basic principles of the present application have been described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, and effects mentioned in this application are merely illustrative and not restrictive, and it should not be assumed that these advantages, strengths, and effects are required of each embodiment of this application. In addition, the specific details disclosed above are merely illustrative and facilitating understanding, and are not restrictive. The above details do not limit this application to necessarily being implemented using the above specific details.
[0094] The block diagrams of the devices, devices, equipment, and systems involved in this application are merely illustrative examples and are not intended to require or imply that they must be connected, arranged, or configured in the manner shown in the block diagrams. As will be appreciated by those skilled in the art, these devices, devices, equipment, and systems can be connected, arranged, or configured in any manner. Words such as "include," "comprise," "have," and the like are open-ended words, meaning "including but not limited to," and can be used interchangeably therewith. The words "or" and "and" used herein refer to the words "and / or" and can be used interchangeably therewith, unless the context clearly indicates otherwise. The word "such as" used herein refers to the phrase "such as but not limited to," and can be used interchangeably therewith.
[0095] It should also be noted that in the apparatus, device, and method of the present application, each component or each step can be decomposed and / or recombined, and such decomposition and / or recombination should be regarded as equivalent solutions of the present application.
[0096] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present application. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of the present application. Therefore, the present application is not intended to be limited to the aspects shown herein, but rather to be accorded the widest scope consistent with the principles and novel features disclosed herein.
[0097] The above description has been provided for the purpose of illustration and description. Furthermore, this description is not intended to limit the embodiments of the present application to the forms disclosed herein. Although a number of example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, alterations, additions, and sub-combinations thereof.
[0098] In the description of this specification, reference to the terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. Moreover, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. In addition, those skilled in the art may combine and integrate different embodiments or examples described in this specification, as well as features of different embodiments or examples, unless otherwise inconsistent.
[0099] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of the technical features being referred to. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of such features. In the description of the present invention, "plurality" means two or more, unless otherwise specifically defined.
[0100] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any modifications or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present invention should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.
Claims
1. A tracking method for plant growth care, characterized in that: Applied to MR equipment; the MR equipment establishes a communication connection with a server; including: When a real plant is identified, displaying a current virtual plant corresponding to the real plant; Based on the triggering of the user care instruction, the planting interaction of the current virtual plant is detected to generate a detection result; If the detection result indicates that the planting interaction of the current virtual plant meets the preset condition, the planting operation corresponding to the user care instruction is executed to generate care data; and the current remaining operation number is updated; When a real plant is identified, displaying a current virtual plant corresponding to the real plant comprises: When a real plant corresponding to a virtual plant model is identified, an initialization instruction for the virtual plant model is generated; and the initialization instruction is sent to the server so that the server queries current care data corresponding to the virtual plant model; In response to the initialization instruction, the virtual plant model is initialized based on the identified real plant and the current care data to generate a current virtual plant corresponding to the real plant; Performing a visual display of the current virtual plant; The step of initializing the virtual plant model in response to the initialization instruction based on the identified real plant and the current care data to generate a current virtual plant corresponding to the real plant comprises: In response to the initialization instruction, acquiring the position information of the real plant and the current care data corresponding to the virtual plant model; Initializing the position of the virtual plant model based on the position information of the real plant; Initializing a current growth state of the virtual plant model based on the current care data; generating a current virtual plant corresponding to the real plant based on the position information and current growth state of the initialized virtual plant model; The method of detecting the planting interaction of the current virtual plant based on the triggering of the user care instruction and generating a detection result includes: Based on the triggering of the user care instruction, obtaining the planting interaction mode of the current virtual plant and the current remaining number of operations corresponding to the planting interaction mode; If the current number of remaining operations does not reach a preset threshold, determining that the current planting interaction of the virtual plant meets a preset condition; If the current remaining number of operations reaches a preset threshold, it is determined that the current planting interaction of the virtual plant does not meet a preset condition.
2. The method according to claim 1, characterized in that Before detecting the planting interaction of the current virtual plant based on the triggering of the user care instruction and generating the detection result, the method further includes: Get the last planting operation time before the current time from the database; determining a difference between the current time and the last planting operation time; If the difference is greater than a preset threshold, it is determined that the current virtual plant enters the next planting stage; and for any planting interaction mode in the next planting stage: the current remaining operation number is updated based on the preset operation number corresponding to the planting interaction mode; wherein, the planting stage includes at least one planting interaction mode.
3. The method according to claim 2, characterized in that The updating of the current remaining number of operations based on the preset number of operations corresponding to the planting interaction mode includes: If the current remaining number of operations of the planting interaction mode in the previous planting stage adjacent to the next planting stage is zero, the preset number of operations corresponding to the planting interaction mode in the next planting stage is determined as the current remaining number of operations corresponding to the planting interaction mode; If the current remaining number of operations of the planting interaction mode in the previous planting stage adjacent to the next planting stage is not zero, the preset number of operations corresponding to the planting interaction mode in the next planting stage and the current remaining number of operations corresponding to the planting interaction mode in the previous planting stage are jointly counted into the current remaining number of operations corresponding to the planting interaction mode in the next stage.
4. The method according to claim 1, wherein Also includes: The care data is sent to the server; wherein the care data at least includes: user ID, planting operation time, planting stage, planting interaction mode and preset operation number corresponding to the planting interaction mode.
5. A tracking method for plant growth care, characterized in that: Applied to the server; including: receiving care data sent by an MR device and storing the care data; wherein the MR device is used to perform the method according to any one of claims 1 to 4; The initialization instruction is received, current care data corresponding to the virtual plant model is searched, and the current care data is sent to the MR device.
6. A tracking system for plant growth care, characterized in that: include: MR device and server; the MR device establishes a communication connection with the server; The MR device is used to perform the method according to any one of claims 1 to 4; The server is used to execute the method according to claim 5.
7. A tracking device for plant growth care, characterized in that: Applied to MR equipment; the MR equipment establishes a communication connection with a server; including: an identification and positioning module, configured to display a current virtual plant corresponding to the real plant when a real plant is identified; a detection module, configured to detect the planting interaction of the current virtual plant based on the triggering of the user care instruction and generate a detection result; a growth control module, configured to execute a planting operation corresponding to the user care instruction, generate care data, and update the current number of remaining operations if the detection result indicates that the planting interaction of the current virtual plant meets a preset condition; The identification and positioning module includes: a first generation unit, configured to generate an initialization instruction for the virtual plant model when a real plant corresponding to the virtual plant model is identified; and send the initialization instruction to the server so that the server can query the current care data corresponding to the virtual plant model; a second generation unit, configured to initialize the virtual plant model in response to the initialization instruction based on the identified real plant and the current care data, and generate a current virtual plant corresponding to the real plant; and a display unit, configured to visually display the current virtual plant; The second generating unit includes: an acquiring subunit for acquiring, in response to the initialization instruction, the position information of the real plant and the current care data corresponding to the virtual plant model; a position initialization subunit for initializing the position of the virtual plant model based on the position information of the real plant; a state initialization subunit for initializing the current growth state of the virtual plant model based on the current care data; and a generating subunit for generating a current virtual plant corresponding to the real plant based on the position information and the current growth state of the initialized virtual plant model; The detection module includes: an acquisition unit, which is used to acquire the planting interaction mode of the current virtual plant and the current remaining operation number corresponding to the planting interaction mode based on the triggering of the user care instruction; a first determination unit, which is used to determine whether the planting interaction of the current virtual plant meets the preset conditions if the current remaining operation number does not reach the preset threshold; and a second determination unit, which is used to determine whether the planting interaction of the current virtual plant does not meet the preset conditions if the current remaining operation number reaches the preset threshold.
8. A computer-readable medium having a computer program stored thereon, wherein when the program is executed by a processor, the method according to any one of claims 1 to 4 or the method according to claim 5 is implemented.
Citation Information
Patent Citations
Method, device and system for processing information
CN113572772A