Cultivation Plan Inspection Method, Device, Electronic Device and Storage Medium
By constructing breeding models and virtual pets, the effect of the culture program is simulated, and the problem that ordinary breeders cannot test the credibility of the culture program is solved, and the credibility test and breeding effect prediction of the culture program before formal feeding is achieved.
Patent Information
- Application Number
- CN202210463793.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-28
- Publication Date
- 2025-07-01
- Estimated Expiration
- 2042-04-28
AI Technical Summary
Ordinary breeders are unable to effectively test and confirm the credibility of the culture program in the breeding case, resulting in the failure of the breeding effect to meet expectations.
By obtaining the breeder's personal information, pet information and environmental information, building a breeding model and initial virtual pets, simulating the impact of the training program on virtual pets, obtaining differential information, and then testing the credibility of the training program.
The credibility of the culture program is tested before formal feeding, ensuring that the breeder chooses a culture program that meets the expectations and can predict the feeding effect in advance.
Smart Images

Figure CN114912778B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of artificial intelligence technology, and particularly relates to a method, device, electronic device and storage medium for testing a cultivation plan. Background Art
[0002] With the abundance of life, people also have certain requirements for the appearance of the pets they raise, and hope to raise pets with appearances that meet their own preferences. In addition to the coat color determined by genes at birth, the appearance of pets is also affected to a certain extent by postnatal cultivation, such as diet, daily routine, and daily activities.
[0003] However, ordinary breeders do not have professional breeding knowledge. These breeders can only search for breeding cases related to their own pets and cultivate their own pets by imitating the cultivation plans in the cases. This method cannot test the cultivation plan in advance and cannot ensure that there is a correlation between the cultivation plan in the case and the result of the case. That is, the credibility of the cultivation plan in the case cannot be confirmed in advance. Moreover, the actual situation of each pet is different, and the cultivation plan determined by the above method may also have different effects on different pets, resulting in the final breeding result not meeting the original expectations of the breeder. Summary of the Invention
[0004] In order to solve the above problems existing in the prior art, the embodiments of the present application provide a method, device, electronic device and storage medium for testing a cultivation plan, which can test the credibility of the cultivation plan before formal breeding to ensure that the breeder selects a cultivation plan that meets their own expectations.
[0005] In a first aspect, an embodiment of the present application provides a method for testing a cultivation plan, and the method includes:
[0006] Obtain the personal information of the breeder, the pet information of the pet raised by the breeder, and the environmental information of the breeding space for raising the pet;
[0007] Construct a breeding model according to the personal information and environmental information, where the breeding model is used to simulate the living environment of the breeding space;
[0008] Construct an initial virtual pet according to the pet information to simulate the growth of the pet;
[0009] Input the cultivation plan to be tested and the initial virtual pet into the breeding model, perform cultivation simulation on the initial virtual pet, and obtain a target virtual pet;
[0010] Obtain the difference between the target virtual pet and the initial virtual pet to obtain difference information;
[0011] The culture plan to be tested is tested and processed according to the difference information to determine the credibility of the culture plan to be tested.
[0012] In a second aspect, an embodiment of the present application provides a culture plan testing device, including:
[0013] An acquisition module, configured to acquire personal information of the breeder, pet information of the pet raised by the breeder, and environmental information of the breeding space for raising the pet;
[0014] A construction module, configured to construct a breeding model according to the personal information and environmental information, where the breeding model is used to simulate the living environment of the breeding space, and construct an initial virtual pet according to the pet information, so as to simulate the growth of the pet;
[0015] A simulation module, configured to input the culture plan to be tested and the initial virtual pet into the breeding model, perform culture simulation on the initial virtual pet, and obtain a target virtual pet;
[0016] A testing module, configured to obtain the difference between the target virtual pet and the initial virtual pet, obtain difference information, and perform testing and processing on the culture plan to be tested according to the difference information to determine the credibility of the culture plan to be tested.
[0017] In a third aspect, an embodiment of the present application provides an electronic device, including: a processor, the processor is connected to a memory, the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the electronic device executes the method as in the first aspect.
[0018] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and the computer program enables the computer to execute the method as in the first aspect.
[0019] In a fifth aspect, an embodiment of the present application provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer is operable to cause the computer to execute the method as in the first aspect.
[0020] Implementing the embodiments of the present application has the following beneficial effects:
[0021] In the embodiments of the present application, by obtaining the personal information of the breeder and the environmental information of the breeding space for the pet, a breeding model is constructed to simulate the living environment, environmental climate change, and interaction events in the breeding space. At the same time, the pet information of the pet raised by the breeder is obtained, and a virtual pet identical to the pet raised by the breeder is constructed to simulate the growth of the pet. Then, the cultivation plan to be tested and the initial virtual pet are input into the breeding model, and combined with the cultivation plan, the breeding habits of the breeder, and the breeding environment, the initial virtual pet is cultivated and simulated to obtain the target virtual pet. Finally, the differences between the target virtual pet and the initial virtual pet are obtained to get the difference information, and then the cultivation plan to be tested is tested and processed according to the difference information to determine the credibility of the cultivation plan to be tested. Thus, the credibility of the cultivation plan is tested before formal breeding, and at the same time, the breeding effect can be predicted in advance, enabling the breeder to intuitively observe the breeding effect of their own pet when choosing a breeding plan and select a cultivation plan that meets their own expectations. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0023] Figure 1 Schematic diagram of the hardware structure of a cultivation plan inspection device provided by an embodiment of the present application;
[0024] Figure 2 Schematic diagram of the system framework of a cultivation plan inspection method in a scenario of inspecting a cultivation plan for a pet provided by an embodiment of the present application;
[0025] Figure 3 Schematic diagram of the process flow of a cultivation plan inspection method provided by an embodiment of the present application;
[0026] Figure 4 Schematic diagram of the process flow of a method for adjusting a point cloud model according to climate change information, interaction time, and interaction rules to obtain a breeding model provided by an embodiment of the present application;
[0027] Figure 5 Schematic diagram of an interaction timeline provided by an embodiment of the present application;
[0028] Figure 6 Schematic diagram of a climate timeline provided by an embodiment of the present application;
[0029] Figure 7Another schematic diagram of the climate timeline provided by the embodiment of the present application;
[0030] Figure 8 A functional module composition block diagram of a training program inspection device provided by the embodiment of the present application;
[0031] Figure 9 A schematic structural diagram of an electronic device provided by the embodiment of the present application. Specific embodiments
[0032] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the protection scope of the present application.
[0033] The terms "first", "second", "third", "fourth", etc. in the specification, claims and drawings of the present application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally further includes steps or units not listed, or optionally further includes other steps or units inherent to these processes, methods, products or devices.
[0034] Referring to "embodiment" herein means that the specific features, results or characteristics described in connection with the embodiment may be included in at least one embodiment of the present application. The phrase appears in various places in the specification and does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art will explicitly and implicitly understand that the embodiments described herein may be combined with other embodiments.
[0035] First, refer to Figure 1 , Figure 1 A schematic hardware structure diagram of a training program inspection device provided by the embodiment of the present application. The training program inspection device 100 includes at least one processor 101, a communication line 102, a memory 103, and at least one communication interface 104.
[0036] In this embodiment, the processor 101 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the solution of the present application.
[0037] The communication line 102 may include a path for transmitting information between the above components.
[0038] The communication interface 104 may be any transceiver-like device (such as an antenna, etc.) for communicating with other devices or communication networks, such as Ethernet, RAN, wireless local area networks (WLAN), etc.
[0039] The memory 103 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, or may also be an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.
[0040] In this embodiment, the memory 103 may exist independently and be connected to the processor 101 through the communication line 102. The memory 103 may also be integrated with the processor 101. The memory 103 provided by the embodiment of the present application generally may have non-volatility. Among them, the memory 103 is used to store computer execution instructions for executing the solution of the present application and is controlled by the processor 101 to execute. The processor 101 is used to execute the computer execution instructions stored in the memory 103, thereby implementing the method provided in the following embodiments of the present application.
[0041] In an alternative embodiment, the computer execution instructions may also be referred to as application code, and the present application does not make specific limitations thereon.
[0042] In an alternative embodiment, the processor 101 may include one or more CPUs, such as Figure 1 CPU0 and CPU1 in
[0043] In an alternative embodiment, the training program verification device 100 may include multiple processors, such as Figure 1 processor 101 and processor 107 in
[0044] Each of these processors may be a single-CPU processor or a multi-CPU processor. The processor here may refer to one or more devices, circuits, and / or processing cores for processing data (such as computer program instructions). In an alternative embodiment, if the training program verification device 100 is a server, for example, it may be an independent server or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, Content Delivery Network (CDN), and big data and artificial intelligence platforms. Then, the training program verification device 100 may further include an output device 105 and an input device 106. The output device 105 communicates with the processor 101 and can display information in various ways. For example, the output device 105 may be a liquid crystal display (LCD), a light-emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector, etc. The input device 106 communicates with the processor 101 and can receive user input in various ways. For example, the input device 106 may be a mouse, a keyboard, a touch screen device, or a sensing device, etc.
[0045] The above-mentioned training program verification device 100 may be a general-purpose device or a special-purpose device. The embodiments of the present application do not limit the type of the training program verification device 100.
[0046] Secondly, it should be noted that a training program verification method provided in the present application can be applied to scenarios for verifying various training programs, such as training programs for pets, training programs for plants, and training programs for poultry. In this embodiment, the scenario of verifying the training program for pets will be used as an example to illustrate the training program verification method provided in the present application. The methods for verifying training programs in other scenarios are similar to the training program verification method in the scenario of verifying the training program for pets and will not be elaborated here.
[0047] Finally,Figure 2 It is a system framework diagram of a cultivation plan inspection method in a scenario of inspecting a cultivation plan for pets provided by an embodiment of the present application. Specifically, the system may include: a data acquisition device 201, a simulation cultivation device 202, and a model database 203. Among them, the data acquisition device 201 may be a smart phone (such as an Android phone, an iOS phone, a Windows Phone), a tablet computer, a personal digital assistant, a notebook computer, a mobile Internet device MID (Mobile Internet Devices, abbreviated as: MID), etc., and is used to receive personal information input by the breeder, pet information of the pet it raises, environmental information of the breeding space for raising the pet, and the cultivation plan to be inspected, and display the final simulation result and inspection result. The simulation cultivation device 202 may be a server, which is used to receive the personal information of the breeder, the pet information of the pet it raises, the environmental information of the breeding space for raising the pet, and the cultivation plan to be inspected sent by the data acquisition device 201, obtain model data from the model database 203 for model construction and simulation cultivation, and send the simulation result and inspection result to the data acquisition device 201. At the same time, the simulation cultivation device 202 will also update and maintain the model database 203.
[0048] In this embodiment, the breeder can log in to the simulation system through the data acquisition device 201, fill in and upload relevant materials, such as: multiple pictures of the room from different perspectives, floor plans of the house, and positioning information as the environmental information of the breeding space, multiple full-body images of the pet from different perspectives and medical record information as the pet information of the pet, the breeder's historical breeding information as personal information, and the text or video of the cultivation plan to be tested. After the data acquisition device 201 obtains the relevant information, it sends this information to the simulation cultivation device 202, so that the simulation cultivation device 202 can analyze this information, and at the same time call the model data in the model database 203 according to the analysis results to construct a breeding model and simulate the pet for simulation cultivation. Then, the effect of the cultivation plan to be tested is tested according to the simulation results, and the test results and simulation results are returned to the data acquisition device 201. Specifically, the simulation cultivation device 202 constructs a point cloud model of the room according to multiple pictures of the room from different perspectives and the floor plan of the house. At the same time, according to the positioning information, the climate characteristics of the location where the room is located are determined, and a climate timeline simulating the climate change at the location where the room is located during the cultivation period is generated. According to the breeder's historical breeding information, the interaction rules and interaction times of the breeder are determined, and then an interaction timeline simulating the interaction events between the breeder and the pet during the cultivation period is generated. Then, the climate timeline and the interaction timeline are superimposed on the point cloud model to control the climate change and the occurrence of events in the point cloud model through these two timelines, forming a breeding model. At the same time, the body size of the pet is determined based on multiple full-body images of the pet from different perspectives, and then combined with the breed and age of the pet in the pet information, the corresponding standard body model is matched and adjusted in the model database 203 to generate an initial body model. The initial body model is further adjusted through the medical record information to make it more in line with the actual state of the pet. Then, the hair color characteristics of the pet are determined through multiple full-body images of the pet from different perspectives, and then the corresponding texture map is matched in the model database 203 and covered on the adjusted body model to generate the model pet.
[0049] After the simulation cultivation device 202 constructs the breeding model and the virtual pet, it inputs the virtual pet and the cultivation plan to be tested into the breeding model, and then adjusts the interaction events in the interaction timeline through the cultivation plan to be tested to simulate the cultivation of the virtual pet. After obtaining the simulation results, the simulation cultivation device 202 can compare the simulation results with the input virtual pet, record the differences between the two, and then compare these differences with the cultivation effects in the cultivation plan to be tested to determine the credibility of the cultivation plan to be tested. And the obtained simulation results and credibility are sent to the data acquisition device 201, so that after the breeder views them, they can decide whether to adopt the cultivation plan to be tested to cultivate their own pet.
[0050] In this embodiment, the credibility of the cultivation plan is verified before the formal breeding. At the same time, the breeding effect can be predicted in advance, enabling the breeder to intuitively observe the breeding effect of their own pet when choosing a breeding plan and select a cultivation plan that meets their expectations.
[0051] Hereinafter, taking the scenario of verifying the cultivation plan for pets as an example, the cultivation plan verification method disclosed in this application will be described:
[0052] Refer to Figure 3 , Figure 3 which is a schematic flowchart of a cultivation plan verification method provided by an embodiment of this application. The cultivation plan verification method includes the following steps:
[0053] 301: Obtain the personal information of the breeder, the pet information of the pet raised by the breeder, and the environmental information of the breeding space for raising the pet.
[0054] In this embodiment, the personal information of the breeder may include: work and rest information, feeding habit information, and historical interaction information with the pet. Among them, the work and rest information may be the breeder's daily wake-up time, bedtime, going-out time, etc.; the feeding habit information is used to record the time and frequency of the breeder feeding the pet. For example, putting the amount for a whole day directly in the morning or feeding in portions at different times; the historical interaction information is used to record the interaction time and interaction content between the breeder and the pet every day. The pet information may include: full-body images, medical record information, and historical behavior information. Among them, the full-body images may be multiple full-body images or partial images from different perspectives, which can be taken by the breeder themselves and then uploaded; the medical record information can be obtained by associating the pet hospital system where the pet sees a doctor; the historical behavior information may be the historical monitoring data of the surveillance cameras installed in the breeder's home. After being exported by the breeder, it is uploaded by themselves; or it can also be relevant text descriptions filled in manually by the breeder when inputting information. The environmental information may include: house information, house location information, and indoor furnishings information. Among them, the house information may be multiple house pictures from different perspectives and the floor plan of the house, which can also be taken by the breeder themselves and then uploaded; the house location information may be GPS positioning information; the indoor furnishings information can be obtained by feature recognition of the above-mentioned multiple house pictures from different perspectives.
[0055] Specifically, in this embodiment, since the data acquisition device 201 can be a personal device such as a smart phone, a tablet computer, a personal digital assistant, or a laptop computer, a breeder can install an application program associated with the cultivation plan inspection in the data acquisition device 201, and then submit personal information, pet information, and environmental information by registering and logging in; or can submit personal information, pet information, and environmental information by accessing a WeChat mini-program associated with the cultivation plan inspection and then logging in with real-name authenticated WeChat; or can submit personal information, pet information, and environmental information by accessing the website of the cultivation plan inspection and then registering and logging in.
[0056] Specifically, taking the information filling interface of the application program as an example, among them, work and rest information, feeding habit information, historical interaction information with the pet, and historical behavior information in text form can be input and filled in through text boxes; full-body images, house information, indoor furnishings information, and historical behavior information in video form can be uploaded by clicking the file selection button to select the corresponding file; medical record information and house location information can be selected by clicking the secondary menu button after the text box to open the secondary menu. After the breeder fills in the information, the filled information can be submitted to the simulation cultivation device 202 by clicking the OK button. After receiving the information, the simulation cultivation device 202 can start analyzing this information to construct a corresponding model for subsequent simulation cultivation.
[0057] 302: Construct a breeding model according to personal information and environmental information.
[0058] In this embodiment, the breeding model is used to simulate the living environment of the breeding space. Specifically, in addition to simulating the space of the pet's living environment, this model can also simulate the climate of the space and the interaction events occurring therein.
[0059] In this embodiment, first, a point cloud model of the breeding space is constructed based on the house information and the indoor furnishings information. Specifically, by extracting features from each of multiple house pictures, special positions such as windows, doors, wall corners, and wall decorations are identified as feature points in each house picture. Then, the feature points at the same positions in each house picture are merged to construct a rough point cloud space as the initial point cloud model. Next, based on the size information of the house, windows, doors, etc. recorded in the floor plan of the house, the initial point cloud model is adjusted so that the sizes of the doors, windows, walls, etc. in the initial point cloud model are the same as those recorded in the floor plan. Then, multiple house pictures are analyzed to determine the positions of the furniture and furnishings included therein as the indoor furnishings information. And based on the size information of the house, windows, doors, etc. recorded in the floor plan, the size information of the furniture in each house picture is determined, and then the corresponding furniture point cloud models are generated. These furniture point cloud models are placed at the corresponding positions in the adjusted initial point cloud model according to the indoor furnishings information to obtain the point cloud model of the breeding space.
[0060] Then, the climate change information of the breeding space can be determined according to the house location information. Specifically, the location information of the house can be GPS positioning information. Through this GPS positioning information, the area where the house is located can be quickly determined, and then the historical weather information and weather forecast information of this area can be obtained as the climate change information.
[0061] Then, the interaction time and interaction pattern between the breeder and the pet can be determined according to the work and rest information, feeding habit information, and historical interaction information. In this embodiment, according to the above description, the work and rest information can be the breeder's daily wake-up time, bedtime, going-out time, etc.; the feeding habit information is used to record the time and frequency of the breeder feeding the pet. For example: putting out the amount for a whole day directly in the morning, or feeding in portions at different times; the historical interaction information is used to record the daily interaction time and interaction content between the breeder and the pet. Thus, by analyzing the work and rest information, feeding habit information, and historical interaction information, the time when the breeder appears in the breeding space every day, the interaction events with the pet, feeding habits, etc. can be determined as the interaction time and interaction pattern between this breeder and the pet. For example: On weekdays, the breeder goes out at 7:30 every morning, and when going out, prepares a day's worth of dry pet food and drinking water. The breeder arrives home at 7 pm and interacts with the pet and feeds a small amount of canned food between 8 pm and 9 pm; On rest days, the breeder is at home all day, prepares different types of food on time every day, and accompanies the pet to play.
[0062] Finally, according to the climate change information, interaction time, and interaction pattern, the point cloud model can be adjusted to obtain the breeding model. In this embodiment, by establishing a timeline and adding corresponding events to the timeline to form an event timeline, the impacts of breeders and weather on pet growth are added to the point cloud model. Specifically, as Figure 4 shown, the adjustment method includes:
[0063] 401: Establish a timeline, determine at least one interaction interval in the timeline according to the interaction time, and generate at least one interaction event according to the interaction pattern.
[0064] In this embodiment, the at least one interaction event corresponds one-to-one with the at least one interaction interval. Specifically, first, the timeline can be divided into different intervals by days, and based on the current time and the occupational information of the breeder, it is determined whether each divided interval is a working day or a rest day, and the determined type is used as the interval type of each interval. Then, based on the interaction time and interaction pattern determined in step 302, and in combination with the interval type of each interval, the interaction intervals of each interval are divided. For example: For interval 1, its interval type is a working day, then according to the interaction time and interaction pattern exemplified in step 302, interval 1 can be divided into four interaction intervals: [Interaction interval 1: 7:30 - 19:00; The breeder goes out to work, the pet is alone at home, no interaction]; [Interaction interval 2: 19:00 - 20:00; The breeder comes home from work, has dinner and washes up, weak interaction]; [Interaction interval 3: 20:00 - 21:00; The breeder plays games with the pet and feeds it, strong interaction]; [Interaction interval 4: 21:00 - (the next day) 7:30; The breeder falls asleep, weak interaction].
[0065] In this embodiment, after determining the interaction interval, according to the time period corresponding to the interaction interval and the analyzed interaction pattern between the breeder and the pet during this time period, interaction events corresponding to the interaction pattern are randomly generated.
[0066] 402: Fill each interaction content in the at least one interaction content into the corresponding interaction interval to generate an interaction timeline.
[0067] In this embodiment, according to the time period corresponding to the interaction interval, the interaction interval can be placed at the corresponding position on the timeline, and the specific interaction event corresponding to this interaction interval is filled into this interaction interval to obtain an interaction timeline as Figure 5 shown.
[0068] 403: Determine the climate characteristics in the first time period according to the climate change information, the current time, and the preset simulated cultivation duration.
[0069] In this embodiment, the starting moment of the first time period is the current time, and the duration of the first time period is the simulated cultivation duration. Briefly speaking, the simulated cultivation duration can be determined by the cultivation plan to be tested, or can be set by the breeder himself. After determining the simulated cultivation duration, the first time period can be determined in combination with the current time. For example, if the simulated cultivation duration is 3 months and the current time is March 31, 2022, then the first time period is from April 1, 2022 to June 30, 2022.
[0070] Meanwhile, in this embodiment, the climate change information can be historical weather information and weather forecast information. Specifically, the historical weather information is the weather information in the historical time period in this area, such as the weather information in the past 5 years; while the weather forecast information is the weather information for a period of time in the future released by the meteorological station. Among them, the weather forecast information is relatively accurate, but usually the predicted duration is short. Based on this, when the first time period is short, that is, when the first time period is less than or equal to the accurate prediction duration, the weather forecast information can be directly used as the climate characteristics within the first time period. And when the first time period is long, that is, when the first time period is greater than the accurate prediction duration, the first time period can be split into one segment equal to the accurate prediction duration and the other segment exceeding the accurate prediction duration. Among them, the segment equal to the accurate prediction duration uses the weather forecast information as the climate characteristics, and for the other segment exceeding the accurate prediction duration, the historical weather information with the same date can be found through the date of this period to determine the historical weather information as the climate characteristics corresponding to this period. For example: the weather forecast information is the weather conditions for the next week, and the first time period is 2 weeks, then the first time period can be split into the first week and the second week. Among them, the first week uses the weather forecast information as the climate characteristics. For the second week, first determine its date, for example: from March 31, 2022 to April 6, 2022, then the historical weather information in the same time period from March 31 to April 6 can be found as the weather characteristics of the second week.
[0071] 404: Randomly generate at least one climate event according to the climate characteristics, and randomly fill at least one climate event into the time axis to generate a climate time axis.
[0072] In this embodiment, when the climate characteristics are weather forecast information, climate events corresponding to the corresponding order can be generated according to the weather forecast information, and the generated climate events are filled into the time axis in the generation order. For example: the weather forecast information is the weather forecast for the next week, specifically [March 31, sunny], [April 1, sunny], [April 2, cloudy], [April 3, light rain], [April 4, heavy rain], [April 5, cloudy], and [April 6, sunny], then the generated climate time axis is as Figure 6 shown.
[0073] Similarly, in this embodiment, when the climate feature is historical weather information, the weather feature and change feature within the first time period can be determined based on the historical weather information, and then corresponding weather events can be randomly generated. For example: If it is determined from the historical weather information that the weather feature for a certain time period is cold and rainy, and the change feature is rapid change, it indicates that the weather in this time period is mainly cloudy and rainy, and the weather changes frequently. Then, the following weather sequence can be generated based on this feature: [March 31st, light rain], [April 1st, overcast], [April 2nd, light rain], [April 3rd, heavy rain], [April 4th, heavy rain], [April 5th, overcast], and [April 6th, heavy rain]. At the same time, generate a climate timeline as shown in Figure 7 the climate timeline shown.
[0074] 405: Superimpose the climate timeline and the interaction timeline onto the point cloud model to obtain the breeding model.
[0075] In this embodiment, interaction events corresponding to the interaction timeline can be generated in the breeding model through the interaction timeline, and climate events corresponding to the climate timeline can be generated in the breeding model through the climate timeline.
[0076] 303: Construct an initial virtual pet according to the pet information.
[0077] In this embodiment, the virtual pet can cooperate with the breeding model to simulate the growth process of the pet. Specifically, the pet information can include: full-body images, medical record information, and historical behavior information. Among them, the full-body images can be multiple full-body images from multiple perspectives. Thus, by extracting features from the full-body images, the body shape feature and at least one appearance feature of the pet can be obtained. The medical record information can be obtained by connecting to the pet hospital where the pet seeks medical treatment with the authorization of the breeder. The medical record information records the age information, breed information, and health information of the pet. The historical behavior information can be the monitoring video of raising the pet uploaded by the breeder, or the common behaviors of the pet filled in by the breeder. Thus, the personality feature of the pet can be determined through the analysis of the historical behavior information.
[0078] Based on this, in the process of constructing the initial virtual pet, first, the corresponding body database can be obtained according to the breed information recorded in the medical record information. Among them, the body database is used to store the standard body models of pets of the corresponding breed at different age stages and different health states. Then, further according to the age information and health information, the corresponding initial body model is matched in the body database, and the initial body model is adjusted according to the body shape feature extracted from the actual photos to obtain the body model.
[0079] Then, match according to at least one appearance feature in the texture library to obtain at least one appearance texture corresponding one-to-one to the at least one appearance feature. Specifically, before extracting the appearance features, the pet can be divided into body parts, and its body can be divided into a head, a torso (back and abdomen), limbs (left front limb, right front limb, left hind limb, and right hind limb), and a tail (if any). Then, separate appearance feature extraction is performed on the divided regions to obtain appearance features corresponding to each region. At the same time, the name of the part corresponding to each appearance feature is used as a part label and added to the appearance feature.
[0080] Based on this, in this embodiment, a corresponding part texture library can be obtained according to the part label of each appearance feature in the at least one appearance feature, where the part label is used to identify the part of the pet's body corresponding to each appearance feature, and the part texture library is used to store the texture materials of the corresponding part. Then, match according to each appearance feature in the corresponding part texture library to obtain a corresponding group of texture materials. Finally, perform texture generation processing on the group of texture materials corresponding to each appearance feature according to each appearance feature to obtain at least one appearance texture.
[0081] Finally, a first virtual pet can be constructed according to at least one appearance texture and the body model, and the first virtual pet can be adjusted according to the health information and personality characteristics to obtain an initial virtual pet. Specifically, according to the part label of the appearance feature corresponding to each appearance texture, the appearance texture is covered on the position of the body model corresponding to the part label, and then the first virtual pet is constructed. At the same time, according to the health information and the breed information of the pet, the bones, muscles, and internal organs of the first virtual pet are adjusted. For example, if the health information shows that a certain pet is obese, accompanied by visceral fat, and there is a certain degree of bone hyperplasia in the left front limb. Then, the bone part of the left front limb of the first virtual pet can be adjusted for bone hyperplasia, and a certain amount of fat can be filled in the internal organ part and the muscle part. Finally, a behavior strategy for the pet is generated according to the personality characteristics and added to the first virtual pet to control the first virtual pet to take corresponding actions when a climate event or an interaction event occurs. Thus, a comprehensive and highly accurate simulation of the appearance, health status, and personality of real pets is realized, making the simulation more in line with the real development and improving the authenticity of the simulation results.
[0082] 304: Input the to-be-tested cultivation plan and the initial virtual pet into the breeding model, perform cultivation simulation on the initial virtual pet, and obtain the target virtual pet.
[0083] Specifically, in this embodiment, the parameters of the interaction events in the interaction timeline of the breeding model can be adjusted according to the culture plan to be tested. For example, the food fed in the interaction event is replaced with the food fed in the culture plan to be tested; the play event in the interaction event is replaced with the culture event in the culture plan to be tested.
[0084] Based on this, after the virtual pet is input, the adjusted interaction timeline and climate timeline can be started, so that the breeding model generates corresponding interaction events and climate events as time progresses, interacts with the virtual pet therein, and simulates the breeding process in reality. Specifically, a settlement can be made every 24 hours, and the parameters of the virtual pet can be adjusted according to the interaction events and climate events that occur in the breeding model within 24 hours. For example: within 24 hours, feeding is carried out 3 times, at 8 am, 12 noon, and 6 pm respectively; the food fed in the morning is dry rations, the food fed at noon is a self-prepared nutritious meal consisting of chicken breast, tofu, carrots, lettuce, Chinese cabbage, etc., and the food fed in the evening is wet canned rations. At the same time, due to the sunny weather, the pet is taken out for a walk from 2 pm to 4 pm. Based on this, after the 24 hours end, calculate the impact of each meal and the afternoon walk on the pet's body, and then adjust the parameters of the virtual pet according to this impact, such as: muscle, hair glossiness, fat, etc., so as to visualize the impact of the interaction events and climate events that occurred within the 24 hours on the pet. In addition, it is also necessary to combine the growth law of the pet and calculate the growth of the pet, so as to synchronously adjust the parameters of the virtual pet and realize the simulation of the cultivation of real pets.
[0085] 305: Obtain the difference between the target virtual pet and the initial virtual pet to obtain difference information.
[0086] In this embodiment, the difference information may include: body shape difference, hair glossiness difference, health degree difference, etc., and the corresponding difference information can be obtained by extracting and comparing the relevant characteristics of the initial virtual pet and the target virtual pet.
[0087] 306: Perform an inspection process on the culture plan to be tested according to the difference information to determine the credibility of the culture plan to be tested.
[0088] In this embodiment, keyword extraction can be performed on the culture protocol to be tested to obtain at least one piece of effect information corresponding to the culture protocol to be tested. Then, the difference information is split according to the at least one piece of effect information to obtain at least one piece of sub-difference information corresponding one-to-one to the at least one piece of effect information. Subsequently, according to each piece of sub-difference information in the at least one piece of sub-difference information, the compliance degree of the effect information corresponding to each piece of sub-difference information is determined to obtain at least one compliance rate. Then, according to the preset threshold and the at least one compliance rate, the at least one piece of effect information is split into at least one compliant effect and at least one non-compliant effect. Finally, according to the at least one compliant effect and the at least one non-compliant effect, the credibility of the culture protocol to be tested is generated.
[0089] Specifically, as described in step 305, the difference information may include: body shape difference, hair gloss difference, health degree difference, etc. However, the culture protocol to be tested may only affect a part of these differences. Therefore, the corresponding sub-difference information can be extracted from the difference information according to the culture effects recorded in the culture protocol to be tested for correspondence. For example, if the culture protocol to be tested mentions the effects of enhancing the pet's physical fitness and improving the pet's hair gloss, the health difference in the difference information can be extracted as the sub-difference information corresponding to the effect of enhancing the pet's physical fitness, and the hair gloss difference in the difference information can be extracted as the sub-difference information corresponding to the effect of improving the pet's hair gloss.
[0090] Furthermore, in this embodiment, the features corresponding to the recorded effects can also be extracted according to the description of the culture effects in the culture protocol to be tested for comparison, so as to obtain the corresponding sub-difference information, thereby improving the comparison efficiency and reducing the complexity of the system.
[0091] Then, the difference degree of the difference information corresponding to each effect is compared with the improvement degree recorded for each effect to determine the compliance rate of each effect. Specifically, the compliance rate can be expressed by formula ①:
[0092]
[0093] Among them, p represents the compliance rate of each effect, a represents the difference degree of the difference information corresponding to each effect, and b represents the improvement degree recorded for each effect.
[0094] After determining the compliance rate of each effect, these effects can be divided into compliant effects and non-compliant effects according to the preset threshold. For example, if it is preset that the actual effect reaches 60% of the recorded effect, it can be considered that this effect can be achieved and is not false propaganda, then the corresponding threshold is 0.6. Based on this, the effects with a compliance rate greater than or equal to 0.6 are divided into compliant effects, and the effects with a compliance rate less than 0.6 are divided into non-compliant effects.
[0095] In this embodiment, the ratio of the number of qualified effects to the total number of effects can be directly used as the credibility of the culture plan to be tested and fed back to the breeder.
[0096] In an alternative embodiment, the effects of the culture plan to be tested can also be first presented to the breeder in the form of a list, and the breeder decides the importance of each effect. For example, three options of high, medium, and low can be provided after each effect, and then, according to the breeder's selection, the importance of each effect is determined. Then, based on the importance of each effect, the weight of each effect is determined. For example, the weight corresponding to high importance is 3, the weight corresponding to medium importance is 2, and the weight corresponding to low importance is 1. Thus, the ratio of the sum of the weights of the qualified effects to the sum of the weights of all effects is used as the credibility of the culture plan to be tested. Specifically, the credibility of the culture plan to be tested can be expressed by formula ②:
[0097]
[0098] Among them, c represents the credibility of the culture plan to be tested, d i represents the weight corresponding to the i-th qualified effect among at least one qualified effect of the culture plan to be tested, n represents the number of at least one qualified effect, e j represents the weight corresponding to the j-th effect among all effects of the culture plan to be tested, m represents the number of all effects, and i and j are integers greater than or equal to 1.
[0099] Thus, the focus of the breeder's attention is combined into the credibility, so that the obtained credibility can more clearly show the qualified degree of the culture plan to be tested in the aspects concerned by the breeder.
[0100] In summary, in the culture plan inspection method provided by the present invention, by obtaining the personal information of the breeder and the environmental information of the breeding space for the pet being bred, a breeding model is constructed to simulate the living environment, environmental climate change, and interaction events of the breeding space. At the same time, the pet information of the pet being bred by the breeder is obtained, and a virtual pet identical to the pet being bred by the breeder is constructed to simulate the growth of the pet. Then, the culture plan to be tested and the initial virtual pet are input into the breeding model, and the initial virtual pet is cultured and simulated in combination with the culture plan, the breeding habits of the breeder, and the breeding environment to obtain a target virtual pet. Finally, the difference between the target virtual pet and the initial virtual pet is obtained to obtain difference information, and then the culture plan to be tested is inspected and processed according to the difference information to determine the credibility of the culture plan to be tested. Thus, the credibility of the culture plan is inspected before formal breeding, and at the same time, the breeding effect can be predicted in advance, so that when the breeder selects a breeding plan, the breeding effect of his own pet can be intuitively observed, and a culture plan that meets his own expectations can be selected.
[0101] Refer to Figure 8 , Figure 8 , which is a block diagram of the functional modules of a cultivation plan inspection device provided by an embodiment of the present application. As Figure 8 shown, the cultivation plan inspection device 800 includes:
[0102] An acquisition module 801, configured to acquire the personal information of the breeder, the pet information of the pets raised by the breeder, and the environmental information of the breeding space for raising the pets;
[0103] A construction module 802, configured to construct a breeding model according to the personal information and the environmental information, wherein the breeding model is used to simulate the living environment of the breeding space, and construct an initial virtual pet according to the pet information, so as to simulate the growth of the pet;
[0104] A simulation module 803, configured to input the cultivation plan to be inspected and the initial virtual pet into the breeding model, perform cultivation simulation on the initial virtual pet, and obtain a target virtual pet;
[0105] An inspection module 804, configured to obtain the difference between the target virtual pet and the initial virtual pet, obtain difference information, and perform inspection processing on the cultivation plan to be inspected according to the difference information, so as to determine the credibility of the cultivation plan to be inspected.
[0106] In an embodiment of the present invention, the personal information may include: work and rest information, feeding habit information, and historical interaction information with the pet, wherein the feeding habit information is used to record the time and frequency of the breeder feeding the pet; the environmental information may include: house information, house location information, and indoor furnishings information. Based on this, in terms of constructing a breeding model according to the personal information and the environmental information, the construction module 802 is specifically configured to:
[0107] Construct a point cloud model of the breeding space according to the house information and the indoor furnishings information;
[0108] Determine the climate change information of the breeding space according to the house location information;
[0109] Determine the interaction time and interaction rules between the breeder and the pet according to the work and rest information, the feeding habit information, and the historical interaction information;
[0110] Adjust the point cloud model according to the climate change information, the interaction time, and the interaction rules to obtain a breeding model.
[0111] In an embodiment of the present invention, in terms of adjusting the point cloud model according to the climate change information, the interaction time, and the interaction rules to obtain a breeding model, the construction module 802 is specifically configured to:
[0112] Establish a timeline, determine at least one interaction interval in the timeline according to the interaction time, and generate at least one interaction event according to the interaction rule, where at least one interaction event corresponds one-to-one with at least one interaction interval;
[0113] Fill each interaction content in at least one interaction content into the corresponding interaction interval to generate an interaction timeline;
[0114] Determine the climate characteristics in the first time period according to the climate change information, the current time and the preset simulated cultivation duration, where the starting moment of the first time period is the current time and the duration of the first time period is the simulated cultivation duration;
[0115] Randomly generate at least one climate event according to the climate characteristics and randomly fill at least one climate event into the timeline to generate a climate timeline;
[0116] Overlay the climate timeline and the interaction timeline onto the point cloud model to obtain a breeding model, so as to generate an interaction event corresponding to the interaction timeline in the breeding model through the interaction timeline, and generate a climate event corresponding to the climate timeline in the breeding model through the climate timeline.
[0117] In the embodiments of the present invention, the pet information may include: a full-body image, medical record information, and historical behavior information. Based on this, in terms of constructing an initial virtual pet according to the pet information, the construction module 802 is specifically used for:
[0118] Extract features from the full-body image to obtain the body shape features and at least one appearance feature of the pet;
[0119] Determine the personality characteristics of the pet according to the historical behavior information;
[0120] Construct a body model of the pet according to the body shape features and the medical record information;
[0121] Match in the texture library according to at least one appearance feature to obtain at least one appearance texture, where at least one appearance texture corresponds one-to-one with at least one appearance feature;
[0122] Construct a first virtual pet according to at least one appearance texture and the body model, and adjust the first virtual pet according to the health information and the personality characteristics to obtain an initial virtual pet.
[0123] In the embodiments of the present invention, in terms of constructing a body model of the pet according to the body shape features and the medical record information, the construction module 802 is specifically used for:
[0124] Determine the age information, breed information, and health information of the pet according to the medical record information;
[0125] Obtain the corresponding body database according to the breed information, where the body database is used to store the standard body models of pets of the corresponding breed at different age stages and different health states;
[0126] Match the corresponding initial body model in the body database according to the age information and health information;
[0127] Adjust the initial body model according to the body shape characteristics to obtain the body model.
[0128] In the embodiment of the present invention, in terms of matching at least one appearance feature in the texture library to obtain at least one appearance texture, the construction module 802 is specifically used for:
[0129] Obtain the corresponding part texture library according to the part label of each appearance feature in at least one appearance feature, where the part label is used to identify the part of the pet body corresponding to each appearance feature, and the part texture library is used to store the texture materials of the corresponding part;
[0130] Match each appearance feature in the corresponding part texture library to obtain the corresponding texture material group;
[0131] Perform texture generation processing on the texture material group corresponding to each appearance feature according to each appearance feature to obtain at least one appearance texture.
[0132] In the embodiment of the present invention, in terms of inspecting the to-be-inspected culture plan according to the difference information to determine the credibility of the to-be-inspected culture plan, the inspection module 804 is specifically used for:
[0133] Extract keywords from the to-be-inspected culture plan to obtain at least one effect information corresponding to the to-be-inspected culture plan;
[0134] Split the difference information according to at least one effect information to obtain at least one sub-difference information, where at least one sub-difference information corresponds to at least one effect information one by one;
[0135] Determine the compliance degree of the effect information corresponding to each sub-difference information in at least one sub-difference information to obtain at least one compliance rate;
[0136] Split at least one effect information into at least one compliant effect and at least one non-compliant effect according to the preset threshold and at least one compliance rate;
[0137] Generate the credibility of the to-be-inspected culture plan according to at least one compliant effect and at least one non-compliant effect.
[0138] Refer to Figure 9 , Figure 9The structural schematic diagram of an electronic device provided by an embodiment of this application. As Figure 9 shown, the electronic device 900 includes a transceiver 901, a processor 902, and a memory 903. They are connected through a bus 904. The memory 903 is used to store computer programs and data, and can transmit the data stored in the memory 903 to the processor 902.
[0139] The processor 902 is used to read the computer program in the memory 903 and perform the following operations:
[0140] Obtain the personal information of the breeder, the pet information of the pets raised by the breeder, and the environmental information of the breeding space for raising pets;
[0141] Construct a breeding model according to the personal information and environmental information, where the breeding model is used to simulate the living environment of the breeding space;
[0142] Construct an initial virtual pet according to the pet information to simulate the growth of the pet;
[0143] Input the to-be-tested cultivation plan and the initial virtual pet into the breeding model, perform cultivation simulation on the initial virtual pet to obtain a target virtual pet;
[0144] Obtain the difference between the target virtual pet and the initial virtual pet to obtain difference information;
[0145] Perform inspection processing on the to-be-tested cultivation plan according to the difference information to determine the credibility of the to-be-tested cultivation plan.
[0146] In the embodiment of the present invention, the personal information may include: work and rest information, feeding habit information, and historical interaction information with the pet, where the feeding habit information is used to record the time and frequency of the breeder feeding the pet; the environmental information may include: house information, house location information, and indoor furnishings information. Based on this, in constructing the breeding model according to the personal information and environmental information, the processor 902 is specifically used to perform the following operations:
[0147] Construct a point cloud model of the breeding space according to the house information and indoor furnishings information;
[0148] Determine the climate change information of the breeding space according to the house location information;
[0149] Determine the interaction time and interaction rules between the breeder and the pet according to the work and rest information, feeding habit information, and historical interaction information;
[0150] Adjust the point cloud model according to the climate change information, interaction time, and interaction rules to obtain the breeding model.
[0151] In an embodiment of the present invention, in terms of adjusting the point cloud model according to climate change information, interaction time, and interaction rules to obtain a breeding model, the processor 902 is specifically configured to perform the following operations:
[0152] Establish a timeline, determine at least one interaction interval in the timeline according to the interaction time, and generate at least one interaction event according to the interaction rules, where at least one interaction event corresponds one-to-one to at least one interaction interval;
[0153] Fill each interaction content in at least one interaction content into the corresponding interaction interval to generate an interaction timeline;
[0154] Determine the climate characteristics in the first time period according to the climate change information, the current time, and the preset simulated cultivation duration, where the starting moment of the first time period is the current time, and the duration of the first time period is the simulated cultivation duration;
[0155] Randomly generate at least one climate event according to the climate characteristics and randomly fill at least one climate event into the timeline to generate a climate timeline;
[0156] Overlay the climate timeline and the interaction timeline onto the point cloud model to obtain a breeding model, so as to generate an interaction event corresponding to the interaction timeline in the breeding model through the interaction timeline, and generate a climate event corresponding to the climate timeline in the breeding model through the climate timeline.
[0157] In an embodiment of the present invention, the pet information may include: a full-body image, medical record information, and historical behavior information. Based on this, in terms of constructing an initial virtual pet according to the pet information, the processor 902 is specifically configured to perform the following operations:
[0158] Extract features from the full-body image to obtain the body shape characteristics and at least one appearance feature of the pet;
[0159] Determine the personality characteristics of the pet according to the historical behavior information;
[0160] Construct a body model of the pet according to the body shape characteristics and medical record information;
[0161] Match in the texture library according to at least one appearance feature to obtain at least one appearance texture, where at least one appearance texture corresponds one-to-one to at least one appearance feature;
[0162] Construct a first virtual pet according to at least one appearance texture and the body model, and adjust the first virtual pet according to the health information and personality characteristics to obtain an initial virtual pet.
[0163] In an embodiment of the present invention, in constructing a body model of a pet based on body type characteristics and medical record information, the processor 902 is specifically configured to perform the following operations:
[0164] Determine the age information, breed information, and health information of the pet according to the medical record information;
[0165] Obtain the corresponding body database according to the breed information, where the body database is used to store the standard body models of pets of the corresponding breed at different age stages and different health states;
[0166] Match the corresponding initial body model in the body database according to the age information and health information;
[0167] Adjust the initial body model according to the body type characteristics to obtain the body model.
[0168] In an embodiment of the present invention, in matching in the texture library according to at least one appearance feature to obtain at least one appearance texture, the processor 902 is specifically configured to perform the following operations:
[0169] Obtain the corresponding part texture library according to the part label of each appearance feature in at least one appearance feature, where the part label is used to identify the part of the pet body corresponding to each appearance feature, and the part texture library is used to store the texture materials of the corresponding part;
[0170] Match each appearance feature in the corresponding part texture library to obtain the corresponding texture material group;
[0171] Perform texture generation processing on the texture material group corresponding to each appearance feature according to each appearance feature to obtain at least one appearance texture.
[0172] In an embodiment of the present invention, in inspecting the to-be-inspected culture plan according to the difference information to determine the credibility of the to-be-inspected culture plan, the processor 902 is specifically configured to perform the following operations:
[0173] Extract keywords from the to-be-inspected culture plan to obtain at least one effect information corresponding to the to-be-inspected culture plan;
[0174] Perform splitting processing on the difference information according to at least one effect information to obtain at least one sub-difference information, where at least one sub-difference information corresponds to at least one effect information one by one;
[0175] Determine the compliance degree of the effect information corresponding to each sub-difference information according to each sub-difference information in at least one sub-difference information to obtain at least one compliance rate;
[0176] Split at least one piece of effectiveness information into at least one qualified effectiveness and at least one unqualified effectiveness according to a preset threshold and at least one pass rate;
[0177] Generate the credibility of the to-be-tested cultivation plan according to at least one qualified effectiveness and at least one unqualified effectiveness.
[0178] It should be understood that the cultivation plan inspection device in this application may include smartphones (such as Android phones, iOS phones, Windows Phone phones, etc.), tablet computers, palmtop computers, laptop computers, mobile Internet devices MID (Mobile Internet Devices, abbreviated as MID), robots, or wearable devices, etc. The above cultivation plan inspection devices are only examples, not an exhaustive list, including but not limited to the above cultivation plan inspection devices. In practical applications, the above cultivation plan inspection device may also include: intelligent vehicle terminals, computer devices, and so on.
[0179] Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented by means of software combined with a hardware platform. Based on such an understanding, all or part of the technical solution of the present invention that contributes to the background technology can be embodied in the form of a software product. The computer software product can be stored in a storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in various embodiments or some parts of the embodiments of the present invention.
[0180] Therefore, the embodiments of this application also provide a computer-readable storage medium. The computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement some or all of the steps of any one of the cultivation plan inspection methods described in the above method embodiments. For example, the storage medium may include a hard disk, a floppy disk, an optical disk, a magnetic tape, a magnetic disk, a USB flash drive, a flash memory, etc.
[0181] The embodiments of this application also provide a computer program product. The computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps of any one of the cultivation plan inspection methods described in the above method embodiments.
[0182] It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations. However, those skilled in the art should know that this application is not limited by the described action sequence, because according to this application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily essential to this application.
[0183] In the above embodiments, the descriptions of the respective embodiments have their own emphases. For the parts not detailed in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0184] In several embodiments provided by this application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there can be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection to each other can be through some interfaces. The indirect coupling or communication connection of the device or unit can be in an electrical or other form.
[0185] The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they can be located in one place, or they can be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0186] In addition, in each embodiment of this application, the functional units can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above integrated units can be implemented in the form of hardware or in the form of software program modules.
[0187] When the integrated unit is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of this application. The aforementioned memory includes various media that can store program codes, such as USB flash drives, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), mobile hard disks, magnetic disks, or optical discs.
[0188] Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing relevant hardware through a program. This program can be stored in a computer-readable memory, and the memory can include: flash drives, read-only memories (abbreviation: ROM, English: Read-Only Memory), random access memories (abbreviation: RAM, English: Random Access Memory), magnetic disks, or optical discs, etc.
[0189] The above has introduced the embodiments of this application in detail. Specific examples are used in this article to elaborate on the principles and embodiments of this application. The description of the above embodiments is only used to help understand the method and its core idea of this application; at the same time, for those of ordinary skill in the art, according to the idea of this application, there will be changes in the specific embodiments and application scopes. In summary, the content of this specification should not be construed as a limitation to this application.
Claims
1. A method for verifying a training plan, characterized in that The method includes: Obtaining personal information of the breeder, pet information of the pet raised by the breeder, and environmental information of the breeding space where the pet is raised; Constructing a breeding model according to the personal information and the environmental information, wherein the breeding model is used to simulate the living environment, climate, and interaction events of the breeding space; Constructing an initial virtual pet according to the pet information to simulate the growth of the pet, wherein the pet information includes: a full-body image, medical record information, and historical behavior information; Inputting the to-be-tested cultivation plan and the initial virtual pet into the breeding model, performing cultivation simulation on the initial virtual pet, and obtaining a target virtual pet; Obtaining the difference between the target virtual pet and the initial virtual pet to obtain difference information; Performing inspection processing on the to-be-tested cultivation plan according to the difference information to determine the credibility of the to-be-tested cultivation plan; Wherein, the step of inputting the to-be-tested cultivation plan and the initial virtual pet into the breeding model, performing cultivation simulation on the initial virtual pet, and obtaining a target virtual pet includes: According to the to-be-tested cultivation plan, adjusting the parameters of the interaction events in the interaction timeline of the breeding model, so that the breeding model generates corresponding interaction events and climate events as time progresses, interacts with the initial virtual pet in the breeding model, and simulates the real breeding process; Adjusting the parameters of the initial virtual pet according to the interaction events, the climate events, and the interaction results of the initial virtual pet to obtain a target virtual pet.
2. The method according to claim 1, wherein The personal information includes: work and rest information, feeding habit information, and historical interaction information with the pet, wherein the feeding habit information is used to record the time and frequency of the breeder feeding the pet; The environmental information includes: house information, house location information, and indoor furnishings information; The step of constructing a breeding model according to the personal information and the environmental information includes: Constructing a point cloud model of the breeding space according to the house information and the indoor furnishings information; Determining the climate change information of the breeding space according to the house location information; Determining the interaction time and interaction rules between the breeder and the pet according to the work and rest information, the feeding habit information, and the historical interaction information; Adjusting the point cloud model according to the climate change information, the interaction time, and the interaction rules to obtain the breeding model.
3. The method according to claim 2, characterized in that, The step of adjusting the point cloud model according to the climate change information, the interaction time, and the interaction rules to obtain the breeding model includes: Establishing a timeline, determining at least one interaction interval in the timeline according to the interaction time, and generating at least one interaction event according to the interaction rules, wherein the at least one interaction event corresponds to the at least one interaction interval one by one; Filling each interaction content in the at least one interaction content into the corresponding interaction interval to generate the interaction timeline; Determine the climate characteristics within the first time period according to the climate change information, the current time, and a preset simulated cultivation duration, where the start time of the first time period is the current time, and the duration of the first time period is the simulated cultivation duration; Randomly generate at least one climate event according to the climate characteristics, and randomly fill the at least one climate event into the time axis to generate a climate time axis; Overlay the climate time axis and the interaction time axis onto the point cloud model to obtain the breeding model, so as to generate an interaction event corresponding to the interaction time axis in the breeding model through the interaction time axis, and generate a climate event corresponding to the climate time axis in the breeding model through the climate time axis.
4. The method according to claim 1, wherein The constructing an initial virtual pet according to the pet information includes: Extract features from the full-body image to obtain the body shape feature and at least one appearance feature of the pet; Determine the personality feature of the pet according to the historical behavior information; Construct the body model of the pet according to the body shape feature and the medical record information; Match in the texture library according to the at least one appearance feature to obtain at least one appearance texture, where the at least one appearance texture corresponds one-to-one to the at least one appearance feature; Construct a first virtual pet according to the at least one appearance texture and the body model, and adjust the first virtual pet according to the health information and the personality feature to obtain the initial virtual pet.
5. The method according to claim 4, wherein The constructing the body model of the pet according to the body shape feature and the medical record information includes: Determine the age information, breed information, and health information of the pet according to the medical record information; Obtain a corresponding body database according to the breed information, where the body database is used to store the standard body models of pets of the corresponding breed at different age stages and different health states; Match a corresponding initial body model in the body database according to the age information and the health information; Adjust the initial body model according to the body shape feature to obtain the body model.
6. The method according to claim 4, wherein The matching in the texture library according to the at least one appearance feature to obtain at least one appearance texture includes: Obtain a corresponding part texture library according to the part label of each appearance feature in the at least one appearance feature, where the part label is used to identify the part of the pet body corresponding to each appearance feature, and the part texture library is used to store the texture materials of the corresponding part; Match according to each appearance feature in the corresponding part texture library to obtain a corresponding texture material group; Perform texture generation processing on the texture material group corresponding to each appearance feature according to each appearance feature to obtain the at least one appearance texture.
7. The method according to any one of claims 1 to 6, characterized in that The checking and processing the to-be-checked cultivation plan according to the difference information to determine the credibility of the to-be-checked cultivation plan includes: Extract keywords from the to-be-checked cultivation plan to obtain at least one effect information corresponding to the to-be-checked cultivation plan; Perform splitting processing on the difference information according to the at least one piece of effect information to obtain at least one piece of sub-difference information, where the at least one piece of sub-difference information corresponds one-to-one with the at least one piece of effect information; According to each piece of sub-difference information in the at least one piece of sub-difference information, determine the compliance degree of the effect information corresponding to each piece of sub-difference information to obtain at least one compliance rate; According to a preset threshold and the at least one compliance rate, split the at least one piece of effect information into at least one compliant effect and at least one non-compliant effect; Generate the credibility of the to-be-tested cultivation plan according to the at least one compliant effect and the at least one non-compliant effect.
8. A culture plan inspection device, characterized in that, The device includes: An acquisition module, configured to acquire the personal information of the breeder, the pet information of the pet raised by the breeder, and the environmental information of the breeding space for raising the pet; A construction module, configured to construct a breeding model according to the personal information and the environmental information, where the breeding model is used to simulate the living environment, climate, and interaction events in the breeding space, and construct an initial virtual pet according to the pet information, so as to simulate the growth of the pet, where the pet information includes: a full-body image, medical record information, and historical behavior information; A simulation module, configured to input the to-be-tested cultivation plan and the initial virtual pet into the breeding model, perform cultivation simulation on the initial virtual pet to obtain a target virtual pet; An inspection module, configured to obtain the difference between the target virtual pet and the initial virtual pet to obtain difference information, and perform inspection processing on the to-be-tested cultivation plan according to the difference information to determine the credibility of the to-be-tested cultivation plan; Wherein, in the aspect of inputting the to-be-tested cultivation plan and the initial virtual pet into the breeding model, performing cultivation simulation on the initial virtual pet to obtain a target virtual pet, the simulation module is specifically configured to: According to the to-be-tested cultivation plan, adjust the parameters of the interaction events in the interaction timeline in the breeding model, so that the breeding model generates corresponding interaction events and climate events as time progresses, interact with the initial virtual pet in the breeding model, and simulate the breeding process in reality; According to the interaction events, the climate events, and the interaction results of the initial virtual pet, adjust the parameters of the initial virtual pet to obtain a target virtual pet.
9. An electronic device, characterized in that, Includes a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and are configured to be executed by the processor, and the one or more programs include instructions for executing the steps in the method according to any one of claims 1-7.
10. A readable computer storage medium, characterized in that, The computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the method according to any one of claims 1-7.
Citation Information
Patent Citations
System and method for optimizing animal production based on environmental nutrient inputs
CN101023442A
Pet dog interaction system based on technology of augmented reality, and analysis method
CN105957140A