Feeding method of electronic equipment and related device

By matching the types of food that have been fed with the food badge database, the system outputs feeding prompts and target data for the types of food that have not been fed, thus solving the problem of limited food types in the feeding mechanism of smart pet toys and achieving a richer growth path and a higher level of intelligence.

CN121858006APending Publication Date: 2026-04-14SHENZHEN LUKA DR TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-17
Publication Date
2026-04-14

AI Technical Summary

Technical Problem

The feeding mechanisms of existing smart pet toys have a limited range of real food types, resulting in a single growth path, simple interactive operations, and a low level of intelligence.

Method used

By matching the types of food that have been fed with the preset food badge database, the system outputs feeding prompts for food types that have not been fed before. After detecting the target food to be fed, the system outputs relevant target data, including badge information and skill unlocks, thus enriching the growth path and interactive operations of electronic devices.

Benefits of technology

It improves the comprehensiveness and diversity of food that can be fed to electronic devices, enhances the comprehensiveness and intelligence of interactive operations, encourages users to feed new types of food, and increases their understanding of new types of food.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121858006A_ABST
    Figure CN121858006A_ABST
Patent Text Reader

Abstract

The invention provides a feeding method of electronic equipment and a related device. The method comprises the following steps: acquiring a first food type of a plurality of foods fed to the electronic equipment; matching each first food type with a preset food medal database to obtain a plurality of second food types which are not fed; taking one of the second food types as a target food type, and controlling the electronic equipment to output feeding prompt information corresponding to the target food type; if it is detected that the electronic device is fed with the food of the target food type, the electronic device is controlled to output target data content, and the target data content is related to the target medal information corresponding to the target food type. According to the invention, the comprehensiveness and diversity of the fed food of the electronic equipment can be improved, so that the comprehensiveness of the interactive operation of the electronic equipment after feeding is improved, and the intelligent degree of the electronic equipment is higher.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of artificial intelligence technology, and in particular to a feeding method and related apparatus for an electronic device. Background Technology

[0002] The feeding mechanism of toy pet devices is currently mostly a purely virtual electronic information interaction feeding mechanism. That is, the device displays some virtual food information on the screen for users to operate and select, and feed it to the electronic pet. The electronic pet eats the virtual food and grows in level.

[0003] While some smart pet toys can identify real food placed within the viewfinder by the user based on visual methods and "feed" the pet toy with matching food based on image recognition, the limited variety of real food in actual physical scenarios greatly restricts the types of food that can actually be fed to smart pet toys.

[0004] The growth and emotional state of smart pet toys are related to the type of food they are fed. If the types of food fed to them are limited over a long period, the growth path of the smart pet toy will be monotonous. Since the richness of the growth path is related to the number of interactive operations that can be performed, a monotonous growth path leads to a monotonous number of interactive operations, resulting in fewer ways for the smart pet toy to interact with the user and thus a lower level of intelligence. Summary of the Invention

[0005] In view of this, this application provides a feeding method for an electronic device. After determining a second food type that has not been fed before, the method controls the electronic device to output corresponding feeding prompt information so that the user can feed the electronic device the food that has not been fed before according to the feeding prompt information. After detecting that the electronic device has been fed food of the target food type, the method controls the electronic device to output target data content related to the target badge information of the target food type. This can improve the comprehensiveness and diversity of the food fed to the electronic device, meet the comprehensive food feeding needs of the electronic device, enrich the growth path of the electronic device, and improve the comprehensiveness of the interactive operation of the electronic device after feeding, making the electronic device more intelligent after feeding.

[0006] In a first aspect, this application provides a method for feeding an electronic device, the method comprising the following steps:

[0007] The first food type is obtained from the various foods that have been fed to the electronic device;

[0008] Each of the first food types is matched with a preset food badge database to obtain several second food types that have not been fed. The food badge database contains the correspondence between several types of food that can be fed and several badge information.

[0009] One of the second food types is selected as the target food type, and the electronic device is controlled to output feeding prompt information corresponding to the target food type. The feeding prompt information is used to instruct the user to feed the electronic device food belonging to the target food type.

[0010] If the electronic device is detected to have been fed food of the target food type, the electronic device is controlled to output target data content, which is related to the target medal information corresponding to the target food type.

[0011] Optionally, the target data content includes the target badge icon and the target badge introduction audio in the target badge information. The electronic device includes two eyes, one of which is equipped with a first touch screen. Controlling the electronic device to output the target data content includes:

[0012] Adjust the status of the target medal information from the locked state to the unlocked state;

[0013] Adjust the display identifier of the target badge icon to the target display identifier corresponding to the unlocked state;

[0014] The electronic device is controlled to display the target medal icon on the first touch screen according to the target display identifier, and the speaker of the electronic device is controlled to output the target medal introduction audio.

[0015] Optionally, the method further includes:

[0016] Confirm whether a swipe operation on the first touch screen is detected;

[0017] If the swipe operation is detected, determine the medal icon to be displayed corresponding to the swipe operation from the medal icon display list;

[0018] The electronic device is controlled to display the medal icon to be displayed on the first touch screen according to the display identifier of the medal icon to be displayed;

[0019] If a click operation on the badge icon to be displayed is detected and the display identifier of the badge icon to be displayed is the display identifier corresponding to the unlocked state, the electronic device is controlled to output badge unlock prompt information. The badge unlock prompt information is used to indicate the type of food that needs to be fed to the user to unlock the badge icon to be displayed.

[0020] Optionally, the target data content also includes the skill icon of the target skill in an unlocked state and the skill description audio. The other eye of the electronic device is equipped with a second touchscreen display. Controlling the electronic device to output the target data content includes:

[0021] Combine the information of each badge that is in the unlocked state to obtain the badge information combination;

[0022] The preset medal information combination corresponding to the medal information combination in the preset medal level skill database is used as the target combination;

[0023] The skill corresponding to the target combination in the medal level skill database is taken as the target skill, and the status of the target skill is adjusted to the unlocked state;

[0024] The electronic device is controlled to display the skill icon of the target skill on the second touch screen, and the speaker of the electronic device is controlled to output the skill introduction audio of the target skill.

[0025] Optionally, after controlling the electronic device to display the skill icon of the target skill on the second touch screen, the method further includes:

[0026] The intent of the user's input dialogue data is identified to obtain the target interaction intent;

[0027] The skill corresponding to the target interaction intent was detected to be in an unlocked state;

[0028] Control the electronic device to demonstrate the skill.

[0029] Optionally, before selecting one of the second food types as the target food type and controlling the electronic device to output feeding prompt information corresponding to the target food type, the method further includes:

[0030] Based on the number of times the food belonging to the same first food type in the feeding record is fed, the types of first food types that have been fed within a preset time period, and / or random triggering conditions, determine whether the electronic device meets the feeding prompt conditions;

[0031] If it is determined that the electronic device meets the feeding prompt conditions, the step of selecting one of the second food types as the target food type and controlling the electronic device to output the feeding prompt information corresponding to the target food type is confirmed to be executed.

[0032] Optionally, before controlling the electronic device to output feeding prompt information corresponding to the target food type, the method further includes:

[0033] Obtain the correspondence between several food types and several prompting methods;

[0034] The target prompt method corresponding to the target food type is determined from the correspondence;

[0035] Based on the target prompting method, feed prompting information corresponding to the target food type is generated.

[0036] Secondly, this application provides a feeding device for an electronic device, the feeding device for the electronic device comprising:

[0037] The feeding data acquisition module is used to acquire the first food type of several foods that have been fed to the electronic device;

[0038] The data matching module is used to match each of the first food types with a preset food badge database to obtain several second food types that have not been fed. The food badge database contains the correspondence between several types of food that can be fed and several badge information.

[0039] The feeding prompt module is used to select one of the second food types as the target food type and control the electronic device to output feeding prompt information corresponding to the target food type. The feeding prompt information is used to instruct the user to feed the electronic device food belonging to the target food type.

[0040] The data output module is used to control the electronic device to output target data content if it is detected that the electronic device has been fed food of the target food type. The target data content is related to the target medal information corresponding to the target food type.

[0041] Thirdly, this application provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps in the feeding method of the electronic device provided in the embodiments of the present invention.

[0042] Fourthly, this application provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps in the feeding method for an electronic device provided in the embodiments of the present invention.

[0043] In this embodiment, after matching the first food type that has been fed with food with the food badge database, it is possible to determine which food types the user has not yet fed to the electronic device. Therefore, one of the unfed food types can be selected as the target food type, and the electronic device can be controlled to output corresponding feeding prompts to guide the user to feed the electronic device food belonging to the target food type. Furthermore, after detecting that the electronic device has been fed food belonging to the target food type, the electronic device can be controlled to output target data content related to the target badge information corresponding to the target food type. This improves the comprehensiveness and diversity of the food fed to the electronic device, meeting its comprehensive food feeding needs, thereby enriching the electronic device's growth path and improving the comprehensiveness of its interactive operations after feeding. The electronic device becomes more flexible during interaction, resulting in a higher level of intelligence after feeding. Moreover, it can also incentivize users to actively feed new types of food while increasing their understanding of these new food types. Attached Figure Description

[0044] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0045] Figure 1 This is a flowchart of a feeding method for an electronic device provided in an embodiment of this application;

[0046] Figure 2 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Figure 1 ;

[0047] Figure 3 This is a schematic diagram of the first touch screen in the electronic device provided in the embodiments of this application;

[0048] Figure 4 This is a schematic diagram of the second touch screen in the electronic device provided in the embodiments of this application;

[0049] Figure 5 This is a schematic diagram of the structure of a feeding device for an electronic device provided in an embodiment of this application;

[0050] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 2 . Detailed Implementation

[0051] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0052] The terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or apparatuses.

[0053] In this document, references to "embodiment" or "implementation" mean that a particular feature, structure, or characteristic described in connection with an embodiment or implementation may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0054] See also Figure 1 , Figure 1 This is a flowchart of a feeding method for an electronic device provided in an embodiment of this application. The feeding method for the electronic device includes the following steps:

[0055] 101. Obtain the first food type of several foods that have been fed to the electronic device.

[0056] In this embodiment of the invention, the aforementioned electronic device is an electronic device equipped with electronic components such as a processor and capable of sensing and interactive response through data interaction. For example, the electronic device may include a smart pet toy, wherein the smart pet toy has multiple degrees of freedom, is capable of simulating the form and behavior of a real pet, and can also perform interactive operations in response to user commands such as actions, voice, and touch. The electronic device can be applied to scenarios such as learning assistance and fun interaction.

[0057] The aforementioned feeding method for electronic devices can be applied to servers, establishing communication connections between servers and electronic devices. In another application scenario, the feeding method for electronic devices can also be applied to electronic devices themselves.

[0058] One method for obtaining the first food type of the fed food is as follows: During each feeding process, image data of the fed food is collected, the image data is categorized by food type to obtain the first food type, and this first food type is saved to a preset storage location. Subsequently, the first food types contained in the preset storage location can be directly queried to obtain the first food types of several foods that have been fed to the electronic device. It is important to note that the term "first food type" is used to distinguish all fed foods from the "second food type" (foods that have not been fed), and does not imply that all fed foods are of the same type and are all "first food types."

[0059] Feeding electronic devices can be simulated. For example, if food or an image containing food is detected within the visible area of ​​an electronic device, and dialogue data prompting the device to consume the food is collected, a feeding operation is determined to have been completed. The collected dialogue data and image are used as feeding data gathered during the feeding process, and the food is confirmed to have been fed to the electronic device. For instance, a user can place a real broccoli, a self-made image or model containing broccoli, within the visible area of ​​an electronic device to achieve the effect of feeding the device. This image includes, but is not limited to, hand-drawn pictures, printed cartoons, or electronic images within the smart terminal. For example, a user can play an image containing food on a smart terminal and place the smart terminal's display interface within the visible area of ​​the electronic device to effectively feed the device.

[0060] 102. Match each first food type with the preset food badge database to obtain several second food types that have not been fed.

[0061] The food badge database contains a mapping between several types of feedable food and various badge information. Badge information may include, but is not limited to, badge icons and badge description audio.

[0062] The types of feedable food contained in the food badge databases of different electronic devices may vary. The types of feedable food contained in the food badge databases of each electronic device are related to the types of food that can be fed to the real pet simulated by that electronic device.

[0063] For example, the food badge database contains feedable food types including potatoes and broccoli. The badge information for the potato type includes a potato badge icon and a potato badge introduction audio, and the badge information for the broccoli type includes a broccoli badge icon and a broccoli badge introduction audio.

[0064] If step 101 determines that the first food type of food that has been fed to the electronic device includes potatoes, then each first food type is matched with the food types in the food badge database to obtain the second food type that has not been fed, which includes broccoli.

[0065] 103. Select one of the second food types as the target food type and control the electronic device to output the feeding prompt information corresponding to the target food type.

[0066] Feeding prompts instruct the user to feed the electronic device food of the target food type. These prompts can take the form of voice or gesture prompts. The methods for outputting feeding prompts corresponding to the target food type may include, but are not limited to, controlling the electronic device's speaker to play a voice prompt or controlling the electronic device to perform a gesture prompt.

[0067] Among them, you can assign a unique feeding prompt message to each type of food that can be fed in the food badge database. For example, if the target food type is broccoli, the feeding prompt message could be "Little master, can you feed me broccoli?".

[0068] One of the second food types can be randomly selected as the target food type, or one of the second food types can be selected as the target food type from the perspective of nutritional balance based on the feeding situation of the electronic device within a preset time period.

[0069] 104. If the electronic device is detected to have been fed food of the target food type, control the electronic device to output the target data content.

[0070] The target data content is related to the target badge information corresponding to the target food type. The target badge information refers to the badge information in the food badge database that corresponds to the target food type.

[0071] For example, the target data content includes, but is not limited to, the badge icon, badge audio information, and / or information related to newly unlocked skills or functions of the electronic device determined based on the target badge information. For instance, after being fed food of the target food type, the electronic device can unlock a science education function, allowing the user to input how a tadpole becomes a frog, and then outputting science education data about this process based on the newly unlocked function. Skills can be sequences of actions that the electronic device can perform, such as somersaults or handstands.

[0072] One method for detecting whether an electronic device has been fed food of the target food type is to collect image data of the food being fed during the feeding process of the electronic device. If food of the target food type is detected, it is determined that the electronic device has been fed food of the target food type.

[0073] In this embodiment of the invention, after matching the first food type that has already been fed with the food badge database, it is possible to determine which food types the user has not yet fed to the electronic device. Therefore, one of the unfed food types can be selected as the target food type, and the electronic device can be controlled to output corresponding feeding prompts to guide the user to feed the electronic device food belonging to the target food type. Furthermore, after detecting that the electronic device has been fed food belonging to the target food type, the electronic device can be controlled to output target data content related to the target badge information corresponding to the target food type. This improves the comprehensiveness and diversity of the food fed to the electronic device, meeting its comprehensive food feeding needs, thereby enriching the electronic device's growth path and improving the comprehensiveness of the electronic device's interactive operations after feeding. The electronic device becomes more flexible during interaction, resulting in a higher level of intelligence after feeding. Moreover, it can also incentivize users to actively feed new types of food while increasing their understanding of these new food types.

[0074] It is understood that in the specific implementation of this application, data such as dialogue data, icon data, historical feeding data, and audio are involved. When the embodiments in this application are applied to specific products or technologies, user permission or consent is required. Furthermore, the collection, use, and processing of related data, as well as the training, deployment, and invocation of algorithm models, must comply with the relevant laws, regulations, and standards of the relevant countries and regions.

[0075] Optionally, the target data content includes the target badge icon and the target badge introduction audio in the target badge information. The electronic device includes two eyes, one of which is equipped with a first touch screen. The electronic device is controlled to output the target data content, including: adjusting the status of the target badge information from an unlocked state to an unlocked state; adjusting the display identifier of the target badge icon to the target display identifier corresponding to the unlocked state; controlling the electronic device to display the target badge icon on the first touch screen according to the target display identifier; and controlling the speaker of the electronic device to output the target badge introduction audio.

[0076] Each badge in the food badge database can contain a badge icon and a badge description audio. To distinguish the target badge information from other badge information in the food badge database, the badge icon in the target badge information is called the target badge icon, and the badge description audio in the target badge information is called the target badge description audio.

[0077] The badge icon carries a visual representation of the target food type. For example, the badge icon for broccoli could feature a cartoon image of broccoli. Taking the audio description for the broccoli badge as an example, the audio could say, "Congratulations on obtaining the Broccoli Badge."

[0078] The status of the medal information can be either locked or unlocked. The locked status indicates that the food type corresponding to the medal information has not been fed, while the unlocked status indicates that the food type corresponding to the medal information has been fed.

[0079] The display identifier may include, but is not limited to, the display color and / or display effects of the badge information. For example, the display color of a badge icon in an unlocked state is non-gray, while the display color of a badge icon in a locked state is gray; or, a badge icon in an unlocked state has display effects, while a badge icon in a locked state does not. Based on this, controlling the electronic device to display the target badge icon on the first touchscreen display according to the target display identifier may specifically include: controlling the color of the target badge icon to be non-gray or displaying corresponding effects during the display of the target badge icon.

[0080] For example, such as Figure 2 As shown, the electronic device 10 includes a left eye 11 and a right eye 12, with the left eye 11 equipped with a first touch display screen 111 as an example. Figure 3 As shown, the broccoli badge icon can be displayed in green on the first touch display screen 111.

[0081] In the above scheme, by outputting feeding prompts to guide users to feed the corresponding food, and by awarding users corresponding badges, users can be encouraged to feed the electronic device new food, thereby enriching the growth path of the electronic device and making the electronic device more intelligent after feeding.

[0082] Optionally, the method further includes: confirming whether a swipe operation on the first touch screen is detected; if a swipe operation is detected, determining the badge icon to be displayed corresponding to the swipe operation from the badge icon display list; controlling the electronic device to display the badge icon to be displayed on the first touch screen according to the display identifier of the badge icon to be displayed; if a click operation on the badge icon to be displayed is detected and the display identifier of the badge icon to be displayed is the display identifier corresponding to the unlocked state, controlling the electronic device to output a badge unlock prompt message, the badge unlock prompt message being used to instruct the user on the type of food required to unlock the badge icon to be displayed.

[0083] The swipe operation can be a swipe in any direction, such as swiping towards the bottom, top, left, or right of the first touch screen.

[0084] Each medal icon in the medal icon set corresponds one-to-one with the medal icon in each medal information in the food medal database.

[0085] One way to determine the badge icon to be displayed corresponding to the swipe operation from the badge icon display list is to select the badge icon to be displayed based on the positional relationship between each badge icon in the badge icon display list and the target badge icon, and according to this positional relationship and the swipe direction. For example, if the badge icons in the badge icon display list are badge icon A, badge icon B, the target badge icon, and badge icon C in that order, and the swipe direction is downward, then badge icon B will be selected as the badge icon to be displayed.

[0086] The badge unlock message could be something like, "Little master, you can unlock the beef badge after feeding me beef!"

[0087] If the electronic device is detected to be fed the type of food corresponding to the badge unlock prompt, the device can be controlled to output corresponding data content. This data content is related to the badge information of the food type corresponding to the badge unlock prompt. The data content includes, but is not limited to, the badge icon, badge audio information, and / or information related to the newly unlocked skill or function of the electronic device determined based on the badge information.

[0088] In the above scheme, users can slide the medal icon displayed on the first touch screen to display other medal icons in the medal icon display list. This makes it easy for users to know which medals have not yet been unlocked and the conditions required to unlock each medal. This guides users to feed different types of food to the electronic device, improving the comprehensiveness and diversity of the food fed to the electronic device, and actively guiding users to come into contact with more food.

[0089] Optionally, the target data content also includes the skill icon and skill description audio of the target skill in the unlocked state. The other eye of the electronic device is equipped with a second touch screen to control the electronic device to output the target data content, including: combining the information of each medal in the unlocked state to obtain a medal information combination; taking the preset medal information combination corresponding to the medal information combination in the preset medal level skill database as the target combination; taking the skill corresponding to the target combination in the medal level skill database as the target skill and adjusting the state of the target skill to the unlocked state; controlling the electronic device to display the skill icon of the target skill on the second touch screen, and controlling the speaker of the electronic device to output the skill description audio of the target skill.

[0090] The medal level skill database contains several preset medal information combinations and their corresponding skills. For example, the medal information in the unlocked state includes broccoli medal information and beef medal information. The medal information combination is broccoli medal information and beef medal information, and the skill corresponding to this medal information combination is the item pickup skill. Specifically, the item pickup skill can be picking up items by opening and closing the mouth of an electronic device.

[0091] The medal information in the unlocked state can be combined to obtain medal information combinations. This can be done by: obtaining all possible combinations of medal information in the unlocked state, resulting in multiple medal information combinations, each containing at least one medal information combination. For each medal information group, the steps described above are performed to use the preset medal information combinations corresponding to the medal information combinations in the preset medal level skill database as the target combination.

[0092] After the target skill is set to the unlocked state, if the electronic device receives dialogue data from the user indicating that they want the user to display the target skill, the electronic device can display the skill.

[0093] The skill icon of a target skill can carry a pattern to indicate that the target skill, and the skill introduction audio can be used to indicate to the user that the target skill has been unlocked. For example, the skill introduction audio could be "Little master, I have unlocked the item pickup skill".

[0094] like Figure 2 As shown, a second touch display screen 121 can be provided on the right eye 12 of the electronic device 10. For example... Figure 4 As shown, the skill icon of the target skill can be displayed in color on the second touch screen 121.

[0095] In one possible embodiment, the user can slide the skill icon displayed on the second touch screen to display other skill icons in the skill icon display list, making it easier for the user to understand which skills have not yet been unlocked and the conditions required to unlock each skill. This guides the user to feed different types of food to the electronic device, improving the comprehensiveness and diversity of the food fed to the electronic device, while actively guiding the user to access more food.

[0096] In the above scheme, by setting a hidden skill unlocking mechanism, users can be further guided and encouraged to feed electronic devices more types of food, which improves the comprehensiveness and diversity of the food fed to electronic devices, thereby enriching the growth path of electronic devices and making the electronic devices more intelligent after being fed.

[0097] Optionally, after the electronic device displays the skill icon of the target skill on the second touch screen, the method further includes: performing intent recognition on the dialogue data input by the user to obtain the target interaction intent; detecting that the skill corresponding to the target interaction intent is in an unlocked state; and controlling the electronic device to display the skill.

[0098] The way to obtain the target interaction intent by performing intent recognition on the dialogue data input by the user can be: matching the dialogue data with the instructions corresponding to several interaction intents to obtain the target interaction intent; or, the dialogue data can be input into a pre-trained interaction intent recognition model to obtain the target interaction intent.

[0099] A target interaction intent can be considered as the interactive action that a user expects an electronic device to perform. For example, a target interaction intent could be expecting the electronic device to pick up a pen from the ground. The skill corresponding to this target interaction intent is the item pickup skill. If the item pickup skill is detected to be unlocked, the electronic device will demonstrate the item pickup skill, specifically by opening and closing its mouth to pick up the pen from the ground.

[0100] In the above scheme, different skills are first hidden and then unlocked by detecting the feeding status of the electronic device. This can increase the user's enthusiasm for discovering more skills of the electronic device, thereby improving the comprehensiveness and diversity of the food fed to the electronic device. This enriches the growth path of the electronic device and makes the electronic device more intelligent after being fed.

[0101] Optionally, before selecting one of the second food types as the target food type and controlling the electronic device to output the feeding prompt information corresponding to the target food type, the method further includes: determining whether the electronic device meets the feeding prompt conditions based on the number of times food belonging to the same first food type in the feeding record, the types of first food types that have been fed within a preset time period, and / or random triggering conditions; if it is determined that the electronic device meets the feeding prompt conditions, confirming the execution of the step of selecting one of the second food types as the target food type and controlling the electronic device to output the feeding prompt information corresponding to the target food type.

[0102] A feeding log can be a record of feeding activities from the start of feeding via electronic device to the present time. The feeding log may include images of food captured during the feeding process, or it may also include feeding data such as conversation data during the feeding process.

[0103] Specifically, if the number of times food belonging to the same first food type is fed is greater than or equal to the preset number, the number of types of first food that have been fed within the preset time period is less than or equal to the preset number of types, and / or the random triggering conditions are met, the electronic device is determined to meet the feeding prompt conditions.

[0104] In other words, the way to determine that the electronic device meets the feeding prompt conditions can be at least one of the following: 1. random triggering; 2. detecting that the number of times the same type of food has been fed is greater than or equal to a preset number; 3. detecting that the type of food fed is less than a preset quantity within a preset time period, or it can also be detecting that the type of food fed is less than a preset quantity within multiple consecutive preset time periods.

[0105] In the above solution, considering that real pets may suffer from malnutrition if they eat a single type of food for a long time, the solution outputs feeding prompts when the electronic device meets the feeding prompt conditions. This can make the electronic device's growth process smoother and reduce the risk of the electronic device becoming sick.

[0106] Optionally, before controlling the electronic device to output feeding prompt information corresponding to the target food type, the method further includes: obtaining the correspondence between several food types and several prompting methods; determining the target prompting method corresponding to the target food type from the correspondence; and generating feeding prompt information corresponding to the target food type based on the target prompting method.

[0107] The prompting methods include, but are not limited to, speaker playback or action prompts.

[0108] The above method of generating feeding prompts for a target food type based on the target prompt method can be as follows: obtain the prompt content corresponding to the target food type, and generate feeding prompts based on the target prompt method and the prompt content.

[0109] For example, if the prompt method includes speaker playback, the generated feeding prompt will be voice. If the prompt method is action-based, the generated feeding prompt may be an action to be performed by the electronic device, such as the electronic device moving on the ground, allowing the user to guess the type of food based on the movement trajectory.

[0110] In the above solution, by creating a unique prompt for each type of target food, the interactivity of electronic devices can be improved.

[0111] Please see Figure 5 , Figure 5 This is a schematic diagram of the structure of a feeding device for an electronic device provided in an embodiment of this application. The feeding device for the electronic device includes:

[0112] Feeding data acquisition module 201 is used to acquire the first food type of several foods that have been fed to the electronic device;

[0113] The data matching module 202 is used to match each of the first food types with a preset food badge database to obtain several second food types that have not been fed. The food badge database contains the correspondence between several types of food that can be fed and several badge information.

[0114] The feeding prompt module 203 is used to select one of the second food types as the target food type and control the electronic device to output feeding prompt information corresponding to the target food type. The feeding prompt information is used to instruct the user to feed the electronic device food belonging to the target food type.

[0115] The data output module 204 is used to control the electronic device to output target data content if it is detected that the electronic device has been fed food of the target food type. The target data content is related to the target medal information corresponding to the target food type.

[0116] Optionally, the target data content includes the target badge icon and the target badge introduction audio in the target badge information. The electronic device includes two eyes, one of which is equipped with a first touch screen. In terms of controlling the electronic device to output the target data content, the data output module 204 is specifically used for:

[0117] Adjust the status of the target medal information from the locked state to the unlocked state;

[0118] Adjust the display identifier of the target badge icon to the target display identifier corresponding to the unlocked state;

[0119] The electronic device is controlled to display the target medal icon on the first touch screen according to the target display identifier, and the speaker of the electronic device is controlled to output the target medal introduction audio.

[0120] Optionally, the data output module 204 is further configured to:

[0121] Confirm whether a swipe operation on the first touch screen is detected;

[0122] If the swipe operation is detected, determine the medal icon to be displayed corresponding to the swipe operation from the medal icon display list;

[0123] The electronic device is controlled to display the medal icon to be displayed on the first touch screen according to the display identifier of the medal icon to be displayed;

[0124] If a click operation on the badge icon to be displayed is detected and the display identifier of the badge icon to be displayed is the display identifier corresponding to the unlocked state, the electronic device is controlled to output badge unlock prompt information. The badge unlock prompt information is used to indicate the type of food that needs to be fed to the user to unlock the badge icon to be displayed.

[0125] Optionally, the target data content also includes the skill icon of the target skill in an unlocked state and the skill description audio. The other eye of the electronic device is equipped with a second touchscreen display. Regarding the operation of controlling the electronic device to output the target data content, the data output module 204 is specifically used for:

[0126] Combine the information of each badge that is in the unlocked state to obtain the badge information combination;

[0127] The preset medal information combination corresponding to the medal information combination in the preset medal level skill database is used as the target combination;

[0128] The skill corresponding to the target combination in the medal level skill database is taken as the target skill, and the status of the target skill is adjusted to the unlocked state;

[0129] The electronic device is controlled to display the skill icon of the target skill on the second touch screen, and the speaker of the electronic device is controlled to output the skill introduction audio of the target skill.

[0130] Optionally, after the electronic device is controlled to display the skill icon of the target skill on the second touch screen, the data output module 204 is specifically used for:

[0131] The intent of the user's input dialogue data is identified to obtain the target interaction intent;

[0132] The skill corresponding to the target interaction intent was detected to be in an unlocked state;

[0133] Control the electronic device to demonstrate the skill.

[0134] Optionally, before selecting one of the second food types as the target food type and controlling the electronic device to output feeding prompt information corresponding to the target food type, the feeding prompt module 203 is further configured to:

[0135] Based on the number of times the food belonging to the same first food type in the feeding record is fed, the types of first food types that have been fed within a preset time period, and / or random triggering conditions, determine whether the electronic device meets the feeding prompt conditions;

[0136] If it is determined that the electronic device meets the feeding prompt conditions, the step of selecting one of the second food types as the target food type and controlling the electronic device to output the feeding prompt information corresponding to the target food type is confirmed to be executed.

[0137] Optionally, before the electronic device outputs the feeding prompt information corresponding to the target food type, the feeding prompt module 203 is specifically used for:

[0138] Obtain the correspondence between several food types and several prompting methods;

[0139] The target prompt method corresponding to the target food type is determined from the correspondence;

[0140] Based on the target prompting method, feed prompting information corresponding to the target food type is generated.

[0141] Please see Figure 6 , Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. This application also provides an electronic device, including: a memory 302, a processor 301, and a computer program stored in the memory 302 and executable on the processor 301. When the processor 301 executes the computer program, it implements the steps in the feeding method of the electronic device provided in the embodiment of this application.

[0142] When processor 301 runs the computer program for the feeding method of the electronic device stored in memory 302, it specifically performs the following steps:

[0143] The first food type is obtained from the various foods that have been fed to the electronic device;

[0144] Each of the first food types is matched with a preset food badge database to obtain several second food types that have not been fed. The food badge database contains the correspondence between several types of food that can be fed and several badge information.

[0145] One of the second food types is selected as the target food type, and the electronic device is controlled to output feeding prompt information corresponding to the target food type. The feeding prompt information is used to instruct the user to feed the electronic device food belonging to the target food type.

[0146] If the electronic device is detected to have been fed food of the target food type, the electronic device is controlled to output target data content, which is related to the target medal information corresponding to the target food type.

[0147] Optionally, the target data content includes the target badge icon and the target badge introduction audio in the target badge information. The electronic device includes two eyes, one of which is equipped with a first touch screen. The processor 301 executes the control of the electronic device to output the target data content, including:

[0148] Adjust the status of the target medal information from the locked state to the unlocked state;

[0149] Adjust the display identifier of the target badge icon to the target display identifier corresponding to the unlocked state;

[0150] The electronic device is controlled to display the target medal icon on the first touch screen according to the target display identifier, and the speaker of the electronic device is controlled to output the target medal introduction audio.

[0151] Optionally, the method executed by processor 301 further includes:

[0152] Confirm whether a swipe operation on the first touch screen is detected;

[0153] If the swipe operation is detected, determine the medal icon to be displayed corresponding to the swipe operation from the medal icon display list;

[0154] The electronic device is controlled to display the medal icon to be displayed on the first touch screen according to the display identifier of the medal icon to be displayed;

[0155] If a click operation on the badge icon to be displayed is detected and the display identifier of the badge icon to be displayed is the display identifier corresponding to the unlocked state, the electronic device is controlled to output badge unlock prompt information. The badge unlock prompt information is used to indicate the type of food that needs to be fed to the user to unlock the badge icon to be displayed.

[0156] Optionally, the target data content also includes the skill icon of the target skill in an unlocked state and the skill description audio. The other eye of the electronic device is equipped with a second touch screen. The processor 301 executes the control of the electronic device to output the target data content, including:

[0157] Combine the information of each badge that is in the unlocked state to obtain the badge information combination;

[0158] The preset medal information combination corresponding to the medal information combination in the preset medal level skill database is used as the target combination;

[0159] The skill corresponding to the target combination in the medal level skill database is taken as the target skill, and the status of the target skill is adjusted to the unlocked state;

[0160] The electronic device is controlled to display the skill icon of the target skill on the second touch screen, and the speaker of the electronic device is controlled to output the skill introduction audio of the target skill.

[0161] Optionally, after the electronic device displays the skill icon of the target skill on the second touch screen, the method executed by the processor 301 further includes:

[0162] The intent of the user's input dialogue data is identified to obtain the target interaction intent;

[0163] The skill corresponding to the target interaction intent was detected to be in an unlocked state;

[0164] Control the electronic device to demonstrate the skill.

[0165] Optionally, before selecting one of the second food types as the target food type and controlling the electronic device to output feeding prompt information corresponding to the target food type, the method executed by the processor 301 further includes:

[0166] Based on the number of times the food belonging to the same first food type in the feeding record is fed, the types of first food types that have been fed within a preset time period, and / or random triggering conditions, determine whether the electronic device meets the feeding prompt conditions;

[0167] If it is determined that the electronic device meets the feeding prompt conditions, the step of selecting one of the second food types as the target food type and controlling the electronic device to output the feeding prompt information corresponding to the target food type is confirmed to be executed.

[0168] Optionally, before the electronic device outputs feeding prompt information corresponding to the target food type, the method executed by the processor 301 further includes:

[0169] Obtain the correspondence between several food types and several prompting methods;

[0170] The target prompt method corresponding to the target food type is determined from the correspondence;

[0171] Based on the target prompting method, feed prompting information corresponding to the target food type is generated.

[0172] In addition, this embodiment of the invention provides a computer-readable storage medium storing a computer program. When the computer program is executed by the processor 301, it implements the various processes of the feeding method for the electronic device provided in this embodiment of the invention and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0173] Those skilled in the art will understand that implementing all or part of the processes in the above embodiments can be accomplished by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. The storage medium can be a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM), etc.

[0174] In this application, the terms "embodiment" and "implementation" mean that a specific feature, structure, or characteristic described in connection with an embodiment can be included in at least one embodiment of this application. The appearance of these phrases in various locations throughout the specification does not necessarily refer to the same embodiment, nor are they independent or alternative embodiments mutually exclusive with other embodiments. Those skilled in the art will understand, explicitly and implicitly, that the embodiments described in this application can be combined with other embodiments. Furthermore, it should be understood that the features, structures, or characteristics described in the various embodiments of this application can be arbitrarily combined to form another embodiment that does not depart from the spirit and scope of the technical solution of this application, provided there is no contradiction between them.

[0175] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application and are not intended to limit it. Although this application has been described in detail with reference to the above preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions to the technical solutions of this application should not depart from the spirit and scope of the technical solutions of this application.

Claims

1. A method for feeding an electronic device, characterized in that, The method includes the following steps: The first food type is obtained from the various foods that have been fed to the electronic device; Each of the first food types is matched with a preset food badge database to obtain several second food types that have not been fed. The food badge database contains the correspondence between several types of food that can be fed and several badge information. One of the second food types is selected as the target food type, and the electronic device is controlled to output feeding prompt information corresponding to the target food type. The feeding prompt information is used to instruct the user to feed the electronic device food belonging to the target food type. If the electronic device is detected to have been fed food of the target food type, the electronic device is controlled to output target data content, which is related to the target medal information corresponding to the target food type.

2. The method as described in claim 1, characterized in that, The target data content includes the target badge icon and the target badge description audio in the target badge information. The electronic device includes two "eyes," one of which is equipped with a first touch screen. Controlling the electronic device to output the target data content includes: Adjust the status of the target medal information from the locked state to the unlocked state; Adjust the display identifier of the target badge icon to the target display identifier corresponding to the unlocked state; The electronic device is controlled to display the target medal icon on the first touch screen according to the target display identifier, and the speaker of the electronic device is controlled to output the target medal introduction audio.

3. The method as described in claim 2, characterized in that, The method further includes: Confirm whether a swipe operation on the first touch screen is detected; If the swipe operation is detected, determine the medal icon to be displayed corresponding to the swipe operation from the medal icon display list; The electronic device is controlled to display the medal icon to be displayed on the first touch screen according to the display identifier of the medal icon to be displayed; If a click operation on the badge icon to be displayed is detected and the display identifier of the badge icon to be displayed is the display identifier corresponding to the unlocked state, the electronic device is controlled to output badge unlock prompt information. The badge unlock prompt information is used to indicate the type of food that needs to be fed to the user to unlock the badge icon to be displayed.

4. The method as described in claim 2, characterized in that, The target data content also includes skill icons and skill description audio for unlocked target skills. The other eye of the electronic device is equipped with a second touchscreen display. Controlling the output of the target data content by the electronic device includes: Combine the information of each badge that is in the unlocked state to obtain the badge information combination; The preset medal information combination corresponding to the medal information combination in the preset medal level skill database is used as the target combination; The skill corresponding to the target combination in the medal level skill database is taken as the target skill, and the status of the target skill is adjusted to the unlocked state; The electronic device is controlled to display the skill icon of the target skill on the second touch screen, and the speaker of the electronic device is controlled to output the skill introduction audio of the target skill.

5. The method as described in claim 4, characterized in that, After controlling the electronic device to display the skill icon of the target skill on the second touch screen, the method further includes: The intent of the user's input dialogue data is identified to obtain the target interaction intent; The skill corresponding to the target interaction intent was detected to be in an unlocked state; Control the electronic device to demonstrate the skill.

6. The method according to any one of claims 1 to 5, characterized in that, Before selecting one of the second food types as the target food type and controlling the electronic device to output feeding prompt information corresponding to the target food type, the method further includes: Based on the number of times the food belonging to the same first food type in the feeding record is fed, the types of first food types that have been fed within a preset time period, and / or random triggering conditions, determine whether the electronic device meets the feeding prompt conditions; If it is determined that the electronic device meets the feeding prompt conditions, the step of selecting one of the second food types as the target food type and controlling the electronic device to output the feeding prompt information corresponding to the target food type is confirmed to be executed.

7. The method according to any one of claims 1 to 5, characterized in that, Before the electronic device outputs the feeding prompt information corresponding to the target food type, the method further includes: Obtain the correspondence between several food types and several prompting methods; The target prompt method corresponding to the target food type is determined from the correspondence; Based on the target prompting method, feed prompting information corresponding to the target food type is generated.

8. A feeding device for an electronic device, characterized in that, The feeding device for the electronic device includes: The feeding data acquisition module is used to acquire the first food type of several foods that have been fed to the electronic device; The data matching module is used to match each of the first food types with a preset food badge database to obtain several second food types that have not been fed. The food badge database contains the correspondence between several types of food that can be fed and several badge information. The feeding prompt module is used to select one of the second food types as the target food type and control the electronic device to output feeding prompt information corresponding to the target food type. The feeding prompt information is used to instruct the user to feed the electronic device food belonging to the target food type. The data output module is used to control the electronic device to output target data content if it is detected that the electronic device has been fed food of the target food type. The target data content is related to the target medal information corresponding to the target food type.

9. An electronic device, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the steps of the feeding method of the electronic device as claimed in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the feeding method for the electronic device as described in any one of claims 1 to 7.